/* ───────────────────────── Clockscape — night-sky cinematic ───────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Hanken+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&family=Silkscreen&display=swap");

:root {
  --ink: #04050c;
  --ink-2: #0a0c1d;
  --ink-3: #12152c;
  --line: rgba(190, 205, 255, 0.12);
  --text: #eef1ff;
  --muted: #9aa3c7;
  --dim: #646d93;
  --aurora: #5ef2d6;
  --aurora-2: #7aa8ff;
  --sun: #ffbf3c;
  --rose: #ff5c8a;
  --neon-c: #29f2ff;
  --neon-m: #ff3bd4;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 28px;
  --max: 1180px;
}
:lang(he) { --body: "Rubik", system-ui, sans-serif; --display: "Frank Ruhl Libre", "Rubik", serif; }
:lang(ar) { --body: "Noto Kufi Arabic", system-ui, sans-serif; --display: "Noto Naskh Arabic", "Noto Kufi Arabic", serif; }
:lang(ja) { --body: "Noto Sans JP", system-ui, sans-serif; --display: "Noto Serif JP", serif; }
:lang(ko) { --body: "Noto Sans KR", system-ui, sans-serif; --display: "Noto Serif KR", serif; }
:lang(zh-Hans) { --body: "Noto Sans SC", system-ui, sans-serif; --display: "Noto Serif SC", serif; }
:lang(zh-Hant) { --body: "Noto Sans TC", system-ui, sans-serif; --display: "Noto Serif TC", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--aurora); color: var(--ink); }

/* grain over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--aurora); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(44px, 7vw, 96px); }
h2 em, h1 em { font-style: italic; color: transparent; background: linear-gradient(100deg, var(--aurora), var(--aurora-2) 45%, var(--rose)); -webkit-background-clip: text; background-clip: text; }
.lede { color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); max-width: 38ch; }

/* ───────── nav ───────── */
.nav {
  position: fixed; inset: 16px 0 auto; z-index: 50; display: flex; justify-content: center; pointer-events: none;
}
.nav-inner {
  pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(8, 10, 24, .55);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px rgba(0,0,0,.35); transition: transform .5s var(--ease);
}
[dir="rtl"] .nav-inner { padding: 6px 14px 6px 6px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; margin-inline-end: 10px; }
.nav-brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav a.link { text-decoration: none; color: var(--muted); font-size: 14px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a.link:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav .cta {
  text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--text);
  padding: 9px 16px; border-radius: 999px; transition: transform .2s, box-shadow .3s;
}
.nav .cta:hover { transform: translateY(-1px); box-shadow: 0 0 24px rgba(94,242,214,.5); }
@media (max-width: 760px) { .nav a.link { display: none; } }

/* language picker */
.lang { position: relative; }
.lang select {
  appearance: none; -webkit-appearance: none; background: rgba(255,255,255,.06); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 30px 8px 12px; font: 500 13px var(--body); cursor: pointer;
}
[dir="rtl"] .lang select { padding: 8px 12px 8px 30px; }
.lang::after { content: "▾"; position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-52%); font-size: 11px; color: var(--muted); pointer-events: none; }
.lang select option { background: var(--ink-2); }

/* ───────── hero ───────── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
#sky { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.aurora {
  position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1; filter: blur(60px); opacity: .55; mix-blend-mode: screen;
  background:
    radial-gradient(40% 50% at 25% 40%, rgba(94,242,214,.55), transparent 70%),
    radial-gradient(35% 45% at 70% 30%, rgba(122,168,255,.45), transparent 70%),
    radial-gradient(30% 40% at 55% 60%, rgba(255,92,138,.25), transparent 70%);
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora { 0% { transform: translate3d(-4%, 0, 0) scale(1) rotate(-2deg); } 50% { transform: translate3d(3%, 4%, 0) scale(1.1) rotate(2deg); } 100% { transform: translate3d(-2%, -3%, 0) scale(1.05) rotate(0); } }
.horizon {
  position: absolute; inset: auto -10% -30% -10%; height: 55%; z-index: -1; border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  background: radial-gradient(60% 40% at 50% 0%, rgba(255,191,60,.28), transparent 70%), linear-gradient(#070915, #04050c 40%);
  box-shadow: 0 -1px 0 rgba(255,214,140,.25), 0 -40px 120px rgba(255,170,60,.18);
}
.hero-inner { text-align: center; padding: 120px 0 80px; position: relative; }
.hero .eyebrow { animation: rise 1s .2s var(--ease) both; }
.hero .eyebrow::before { display: none; }

/* live clock with skins */
.clock-stage { position: relative; margin: 26px auto 6px; height: clamp(140px, 26vw, 330px); display: grid; place-items: center; perspective: 900px; animation: rise 1.2s .35s var(--ease) both; }
.clock { display: flex; align-items: center; justify-content: center; gap: .06em; font-size: clamp(110px, 22vw, 290px); line-height: 1; direction: ltr; unicode-bidi: isolate; transition: filter .6s, opacity .6s, transform .8s var(--ease); }
.clock .d { position: relative; display: inline-block; min-width: .62em; text-align: center; }
.clock .c { display: inline-block; width: .28em; text-align: center; }
.clock.swap { filter: blur(18px) brightness(2); opacity: 0; transform: scale(.94) rotateX(18deg); }

.skin-serif .clock { font-family: var(--display); font-weight: 400; color: #fdf7ea; text-shadow: 0 0 40px rgba(255,214,150,.25); }
.skin-serif .clock::after {
  content: attr(data-time); position: absolute; top: 88%; left: 0; right: 0; text-align: center; transform: scaleY(-1);
  opacity: .25; filter: blur(2px); -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 55%); mask-image: linear-gradient(to top, #000, transparent 55%);
  letter-spacing: .06em; font-family: var(--display);
}
.skin-serif .clock { position: relative; letter-spacing: .06em; }
.skin-serif .clock .d, .skin-serif .clock .c { min-width: 0; width: auto; }

.skin-neon .clock { font-family: var(--body); font-weight: 300; }
.skin-neon .clock .d { color: #e9fdff; text-shadow: 0 0 4px #fff, 0 0 12px var(--neon-c), 0 0 34px var(--neon-c), 0 0 80px var(--neon-c); animation: flicker 4s infinite; }
.skin-neon .clock .d:nth-of-type(n+3) { color: #ffe9fa; text-shadow: 0 0 4px #fff, 0 0 12px var(--neon-m), 0 0 34px var(--neon-m), 0 0 80px var(--neon-m); animation-delay: -1.7s; }
.skin-neon .clock .c { color: #fff3b0; text-shadow: 0 0 12px #ffd400, 0 0 30px #ffb800; }
@keyframes flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .45; } }

.skin-flip .clock { font-family: var(--body); font-weight: 700; gap: .12em; }
.skin-flip .clock .d {
  font-size: .7em; min-width: .78em; padding: .1em .02em; border-radius: .09em; color: #f5f5f7;
  background: linear-gradient(#2c2c33 0 49.4%, #121216 49.6% 50.4%, #26262c 50.6%);
  box-shadow: 0 .06em .14em rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
}
.skin-flip .clock .d.tick { animation: flip .6s var(--ease); }
@keyframes flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(-88deg); } 55% { transform: rotateX(88deg); } 100% { transform: rotateX(0); } }
.skin-flip .clock .c { color: #55555f; font-size: .55em; }

.skin-blocks .clock { font-family: "Silkscreen", var(--mono); font-size: clamp(90px, 18vw, 240px); letter-spacing: .02em; }
.skin-blocks .clock .d { color: #ff6fa3; text-shadow: .03em .03em 0 #7a2050; }
.skin-blocks .clock .d:nth-of-type(n+3) { color: #5ee5e0; text-shadow: .03em .03em 0 #14616a; }
.skin-blocks .clock .c { color: #ffd166; }
.skin-blocks .clock .d.tick { animation: tumble .7s cubic-bezier(.3,1.6,.5,1); }
@keyframes tumble { 0% { transform: translateY(-.6em) rotate(-14deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

.skin-liquid .clock { font-family: var(--body); font-weight: 800; filter: url(#goo) drop-shadow(0 .04em .06em rgba(0,0,0,.6)); gap: 0; }
.skin-liquid .clock .d, .skin-liquid .clock .c { color: transparent; background: linear-gradient(170deg, #ffffff 10%, #b9bfd3 40%, #f4f6ff 55%, #8d94ad 80%); -webkit-background-clip: text; background-clip: text; animation: wobble 3.5s ease-in-out infinite, melt 6s ease-in-out infinite; }
@keyframes melt { 0%, 70%, 100% { letter-spacing: 0; filter: blur(0); } 80% { filter: blur(5px); transform: translateY(.06em) scale(1.08, .9); } 90% { filter: blur(1px); } }
.skin-liquid .clock .d:nth-of-type(2n) { animation-delay: -1.2s; }
@keyframes wobble { 0%,100% { transform: translateY(0) scale(1, 1); } 50% { transform: translateY(.04em) scale(1.04, .95); } }

.skin-holo .clock { font-family: var(--mono); font-weight: 600; color: transparent; -webkit-text-stroke: 2px #4dff9a; text-shadow: 0 0 18px rgba(77,255,154,.6); }
.skin-holo .clock-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(transparent 0 3px, rgba(77,255,154,.12) 3px 4px);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
}
.skin-holo .clock .d { animation: glitch 2.6s steps(1) infinite; }
@keyframes glitch { 0%, 92%, 100% { transform: none; } 93% { transform: translate(.03em, -.01em) skewX(8deg); } 95% { transform: translate(-.02em, .01em); } 97% { transform: translate(.01em, 0) skewX(-6deg); } }

.skin-label { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); height: 20px; animation: rise 1s .5s var(--ease) both; }
.skin-label b { color: var(--text); font-weight: 600; }
.skin-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.skin-dots button { width: 7px; height: 7px; border-radius: 9px; border: 0; padding: 0; background: rgba(255,255,255,.22); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.skin-dots button.on { width: 26px; background: var(--aurora); }

.hero h1 { font-size: clamp(40px, 6vw, 78px); margin-top: 30px; animation: rise 1.2s .55s var(--ease) both; }
.hero .lede { margin: 18px auto 34px; max-width: 46ch; animation: rise 1.2s .7s var(--ease) both; }
.hero .actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; animation: rise 1.2s .85s var(--ease) both; }
.badge { display: inline-block; border-radius: 12px; transition: transform .3s var(--ease), box-shadow .3s; }
.badge img { height: 54px; width: auto; }
.badge:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(94,242,214,.25); }
.ghost { color: var(--text); text-decoration: none; font-weight: 500; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--text); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* ───────── sections ───────── */
section { position: relative; padding: clamp(90px, 14vw, 180px) 0; }
.sec-head { display: grid; gap: 20px; margin-bottom: 60px; }
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* marquee ticker */
.ticker { border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; white-space: nowrap; background: rgba(255,255,255,.015); }
.ticker-track { display: inline-flex; gap: 48px; animation: marquee 40s linear infinite; font-family: var(--display); font-style: italic; font-size: 34px; color: var(--muted); }
.ticker-track span { display: inline-flex; align-items: center; gap: 48px; }
.ticker-track span::after { content: "✦"; font-style: normal; font-size: 16px; color: var(--sun); }
[dir="rtl"] .ticker-track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* phone frame */
.phone {
  position: relative; aspect-ratio: 1206 / 2622; border-radius: 15% / 7%; padding: 3.2%;
  background: linear-gradient(145deg, #3a3d4a, #121318 40%, #2a2c36);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 1px #000;
}
.phone img, .phone .screen { width: 100%; height: 100%; object-fit: cover; border-radius: 12.5% / 5.9%; background: #000; }
.phone::before { content: ""; position: absolute; top: 4.6%; left: 50%; transform: translateX(-50%); width: 28%; height: 3.4%; border-radius: 99px; background: #000; z-index: 2; }

/* carousel of faces */
.faces { overflow: hidden; }
.ring-stage { --pw: clamp(180px, 19vw, 250px); position: relative; height: calc(var(--pw) * 2.174 + 190px); perspective: 1800px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ring-stage:active { cursor: grabbing; }
.ring { position: absolute; left: 50%; top: calc(var(--pw) * 1.087 + 10px); width: 0; height: 0; transform-style: preserve-3d; }
.ring .phone { position: absolute; width: var(--pw); left: 0; top: 0; translate: -50% -50%; transition: filter .4s, opacity .4s; backface-visibility: hidden; -webkit-box-reflect: below 6px linear-gradient(transparent 70%, rgba(255,255,255,.12)); }
.ring .phone img { pointer-events: none; }
.ring .phone.front { filter: none; }
.face-caption { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; }
.face-caption .name { font-family: var(--display); font-size: clamp(36px, 4vw, 56px); line-height: 1; }
.face-caption .desc { color: var(--muted); margin-top: 8px; min-height: 1.6em; }
.face-caption .tag { display: inline-block; margin-top: 10px; font: 600 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.face-caption .tag.free { color: var(--aurora); border-color: rgba(94,242,214,.4); }
.face-caption .tag.pro { color: var(--sun); border-color: rgba(255,191,60,.4); }
.ring-nav { direction: ltr; display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.ring-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text); font-size: 18px; cursor: pointer; transition: background .3s, transform .2s; }
.ring-nav button:hover { background: rgba(255,255,255,.1); transform: scale(1.06); }

/* scrollytelling */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.story-sticky { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.story-sticky .phone { height: min(72vh, 640px); width: auto; }
.story-sticky .screen { position: relative; overflow: hidden; }
.story-sticky .screen img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.story-sticky .screen img.on { opacity: 1; transform: none; }
.story-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(80px); opacity: .5; background: var(--glow, var(--aurora)); transition: background 1s; z-index: -1; }
.story-steps { padding: 10vh 0; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .6s; }
.step.active { opacity: 1; }
.step .num { font-family: var(--mono); color: var(--aurora); font-size: 13px; letter-spacing: .2em; }
.step h3 { font-size: clamp(36px, 4.4vw, 60px); margin: 12px 0 16px; }
.step p { color: var(--muted); max-width: 40ch; margin: 0; font-size: 19px; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story-sticky { top: 70px; height: 52vh; z-index: 1; }
  .story-sticky .phone { height: 48vh; }
  .step { min-height: 60vh; background: linear-gradient(transparent, var(--ink) 25%); padding: 30px 0; }
}

/* fold */
.fold-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.fold-scene { height: 560px; perspective: 1400px; display: grid; place-items: center; }
.fold-device { position: relative; width: 280px; height: 560px; transform-style: preserve-3d; transform: rotateX(18deg) rotateY(-28deg); }
.fold-half { position: absolute; left: 0; width: 100%; height: 50%; border-radius: 26px; background: linear-gradient(145deg, #2b2e3a, #101117); padding: 8px; transform-style: preserve-3d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.fold-half .scr { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; position: relative; background: radial-gradient(120% 100% at 50% 0%, #1a2350, #06081a); }
.fold-top { top: 0; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }
.fold-top .scr { display: grid; place-items: center; }
.fold-top .scr .t { font-family: var(--display); font-size: 74px; color: #fff; text-shadow: 0 0 30px rgba(122,168,255,.6); direction: ltr; }
.fold-top .scr .stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent), radial-gradient(1.5px 1.5px at 45% 70%, #fff, transparent), radial-gradient(1px 1px at 85% 60%, #fff, transparent), radial-gradient(1px 1px at 10% 80%, #fff, transparent); opacity: .7; }
.fold-bottom { top: 50%; transform-origin: 50% 0; border-top-left-radius: 4px; border-top-right-radius: 4px; transform: rotateX(var(--fold, 0deg)); }
.fold-bottom .scr { background: linear-gradient(#0b2a3a, #061018); }
.fold-bottom .scr::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(94,242,214,.08) 18px 19px), repeating-linear-gradient(0deg, transparent 0 18px, rgba(94,242,214,.08) 18px 19px); }
.fold-bottom .scr::after { content: ""; position: absolute; left: 50%; top: 18%; width: 60%; height: 18%; translate: -50% 0; border-radius: 50%; background: radial-gradient(rgba(94,242,214,.5), transparent 70%); filter: blur(6px); }
.fold-hinge { position: absolute; left: 6%; right: 6%; top: calc(50% - 2px); height: 4px; border-radius: 4px; background: linear-gradient(90deg, #555, #aaa, #555); box-shadow: 0 0 20px rgba(94,242,214,.5); }
.fold-copy ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.fold-copy li { display: flex; gap: 14px; color: var(--muted); }
.fold-copy li::before { content: "◐"; color: var(--aurora); }
@media (max-width: 860px) { .fold-wrap { grid-template-columns: 1fr; } .fold-scene { height: 460px; } }

/* standby */
.standby { display: grid; place-items: center; }
.standby-device {
  width: min(900px, 100%); aspect-ratio: 2622 / 1206; border-radius: 7% / 15%; padding: 1.4%;
  background: linear-gradient(145deg, #3a3d4a, #121318 40%, #2a2c36); box-shadow: 0 60px 120px -30px rgba(0,0,0,.9), 0 0 120px -20px rgba(94,242,214,.15);
  transform: perspective(1600px) rotateX(var(--tilt, 14deg)); transition: transform .2s linear;
}
.standby-screen { height: 100%; border-radius: 5.8% / 13%; background: #000; display: grid; grid-template-columns: 1fr 1fr; gap: 3%; padding: 4%; overflow: hidden; }
.widget { border-radius: 18% / 22%; position: relative; overflow: hidden; display: grid; place-items: center; direction: ltr; }
.w-flip { background: #0b0b0e; gap: 4%; grid-template-columns: 1fr 1fr; padding: 8%; }
.w-flip { place-items: stretch; }
.w-flip .card { width: 100%; height: 100%; border-radius: 10%; display: grid; place-items: center; font: 700 clamp(34px, 6.4vw, 88px)/1 var(--body); letter-spacing: -.02em; color: #f2f2f5; background: linear-gradient(#26262c 0 49.4%, #0d0d10 49.6% 50.4%, #202026 50.6%); }
.w-neon { background: radial-gradient(#120d1a, #050308); }
.w-neon .t { font: 300 clamp(48px, 10vw, 128px)/1 var(--body); color: #e9fdff; text-shadow: 0 0 6px #fff, 0 0 18px var(--neon-c), 0 0 50px var(--neon-c); }
.w-neon .t i { font-style: normal; color: #fff3b0; text-shadow: 0 0 12px #ffd400, 0 0 30px #ffb800; margin: 0 .05em; }
.w-neon .t span { color: #ffe9fa; text-shadow: 0 0 6px #fff, 0 0 18px var(--neon-m), 0 0 50px var(--neon-m); }
.standby-note { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: min(900px, 100%); }
.standby-note div { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 15px; }
.standby-note b { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
@media (max-width: 760px) { .standby-note { grid-template-columns: 1fr; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; grid-column: span 2; min-height: 260px; padding: 28px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s;
}
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(94,242,214,.12), transparent 50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover { border-color: rgba(255,255,255,.22); transform: translateY(-4px); }
.tile:hover::before { opacity: 1; }
.tile.wide { grid-column: span 3; }
.tile.xl { grid-column: span 4; }
.tile h3 { font-size: 32px; margin: 14px 0 10px; }
.tile p { color: var(--muted); margin: 0; font-size: 15.5px; max-width: 40ch; }
.tile .ic { font-size: 30px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.tile .art { position: absolute; inset-inline-end: -20px; bottom: -20px; opacity: .9; pointer-events: none; }
.timer-ring { width: 170px; height: 170px; }
.timer-ring circle { fill: none; stroke-width: 8; }
.timer-ring .track { stroke: rgba(255,255,255,.08); }
.timer-ring .prog { stroke: var(--sun); stroke-linecap: round; stroke-dasharray: 440; animation: timer 8s linear infinite; transform: rotate(-90deg); transform-origin: center; filter: drop-shadow(0 0 8px rgba(255,191,60,.6)); }
@keyframes timer { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 440; } }
.bell { animation: bell 3s ease-in-out infinite; transform-origin: 50% 10%; display: inline-block; }
@keyframes bell { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
.palette-row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.palette-row i { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); transition: transform .3s var(--ease); }
.palette-row i:hover { transform: scale(1.25) rotate(20deg); }
.night-demo { position: absolute; inset-inline-end: 24px; bottom: 24px; font: 400 64px/1 var(--display); color: #ff4a3d; text-shadow: 0 0 30px rgba(255,60,40,.5); opacity: .8; direction: ltr; animation: drift 12s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-10px, -6px); } }
@media (max-width: 960px) { .tile, .tile.wide, .tile.xl { grid-column: span 3; } }
@media (max-width: 640px) { .tile, .tile.wide, .tile.xl { grid-column: span 6; } }

/* premium */
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch; }
.plan { border-radius: 32px; padding: 40px; border: 1px solid var(--line); background: rgba(255,255,255,.025); position: relative; overflow: hidden; }
.plan h3 { font-size: 44px; }
.plan .price { font-family: var(--display); font-size: 72px; line-height: 1; margin: 22px 0 6px; }
.plan .price small { font-family: var(--body); font-size: 16px; color: var(--muted); margin-inline-start: 8px; }
.plan .fine { color: var(--dim); font-size: 13px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--aurora); font-weight: 700; }
.plan.pro { border-color: rgba(255,191,60,.45); background: radial-gradient(120% 90% at 100% 0%, rgba(255,191,60,.16), transparent 60%), rgba(255,255,255,.03); }
.plan.pro li::before { color: var(--sun); }
.plan.pro::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--sun) 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; pointer-events: none; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.crown { font-size: 34px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* privacy strip */
.privacy-strip { display: flex; align-items: center; gap: 28px; padding: 36px 40px; border-radius: 32px; border: 1px solid rgba(94,242,214,.3); background: linear-gradient(100deg, rgba(94,242,214,.08), transparent 60%); }
.privacy-strip .shield { font-size: 46px; filter: drop-shadow(0 0 18px rgba(94,242,214,.6)); }
.privacy-strip h3 { font-size: 34px; }
.privacy-strip p { color: var(--muted); margin: 6px 0 0; }
@media (max-width: 640px) { .privacy-strip { flex-direction: column; align-items: flex-start; } }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 20px; padding: 0 26px; background: rgba(255,255,255,.02); transition: background .3s, border-color .3s; }
.faq details[open] { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.2); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--aurora); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* final cta */
.final { text-align: center; overflow: hidden; }
.final .icon { width: 132px; height: 132px; border-radius: 30px; margin: 0 auto 36px; box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 30px 80px -10px rgba(94,242,214,.45), 0 0 140px rgba(122,168,255,.35); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }
.final h2 { font-size: clamp(54px, 9vw, 140px); }
.final .lede { margin: 24px auto 38px; }
.orbit-bg { position: absolute; left: 50%; top: 45%; width: 900px; height: 900px; translate: -50% -50%; z-index: -1; pointer-events: none; }
.orbit-bg span { position: absolute; inset: var(--i); border: 1px solid rgba(255,255,255,.06); border-radius: 50%; animation: spin2 var(--t) linear infinite; }
.orbit-bg span::after { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 20px var(--c); }
@keyframes spin2 { to { transform: rotate(360deg); } }

/* footer */
footer { border-top: 1px solid var(--line); padding: 50px 0 60px; color: var(--dim); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot .brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 600; }
.foot .brand img { width: 30px; height: 30px; border-radius: 8px; }
.foot .small { width: 100%; font-size: 12.5px; margin-top: 10px; }

/* ───────── legal / support pages ───────── */
.doc-hero { padding: 160px 0 50px; position: relative; overflow: hidden; }
.doc-hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; z-index: -1; background: radial-gradient(40% 50% at 30% 40%, rgba(94,242,214,.16), transparent 70%), radial-gradient(35% 45% at 75% 30%, rgba(122,168,255,.14), transparent 70%); filter: blur(40px); }
.doc-hero h1 { font-size: clamp(54px, 8vw, 104px); margin-top: 18px; }
.doc-hero .meta { color: var(--dim); font-family: var(--mono); font-size: 13px; margin-top: 18px; }
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 60px; padding-bottom: 120px; }
.toc { position: sticky; top: 110px; align-self: start; font-size: 14px; display: grid; gap: 4px; }
.toc a { color: var(--dim); text-decoration: none; padding: 6px 12px; border-inline-start: 1px solid var(--line); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.on { color: var(--text); border-color: var(--aurora); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 56px 0 16px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #c4cae6; }
.prose ul { padding-inline-start: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--aurora); text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose .callout { border: 1px solid rgba(94,242,214,.3); background: rgba(94,242,214,.06); border-radius: 20px; padding: 22px 26px; margin: 0 0 40px; }
.prose .callout p { margin: 0; }
.prose .note { color: var(--dim); font-size: 14px; font-style: italic; }
.contact-card { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.03); margin-bottom: 40px; }
.contact-card a.btn { text-decoration: none; background: var(--text); color: var(--ink); font-weight: 600; padding: 12px 22px; border-radius: 999px; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .toc { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* script-specific refinements */
.tile.has-demo { padding-bottom: 96px; }
:lang(he) .eyebrow, :lang(ar) .eyebrow, :lang(ja) .eyebrow, :lang(ko) .eyebrow, :lang(zh-Hans) .eyebrow, :lang(zh-Hant) .eyebrow,
:lang(he) .skin-label, :lang(ar) .skin-label, :lang(ja) .skin-label, :lang(ko) .skin-label, :lang(zh-Hans) .skin-label, :lang(zh-Hant) .skin-label,
:lang(he) .face-caption .tag, :lang(ar) .face-caption .tag, :lang(ja) .face-caption .tag, :lang(ko) .face-caption .tag, :lang(zh-Hans) .face-caption .tag, :lang(zh-Hant) .face-caption .tag {
  letter-spacing: .04em; font-family: var(--body); font-size: 14px;
}
[dir="rtl"] .eyebrow::before { order: 0; }
