/* watchland.ca 2026: the home page and the AI Face Creator page. Mobile first; one dark theme,
   the app's own colours (Watchland orange, gold, pink, violet). */

:root {
  --bg: #07070b;
  --bg-2: #0d0d13;
  --surface: #13131b;
  --surface-2: #1a1a24;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f6f3ee;
  --muted: #b3aea6;
  --faint: #8a857e;
  --orange: #ff9904;
  --gold: #ffd166;
  --pink: #ff4d8d;
  --violet: #8b5cf6;
  --ok: #4ade80;
  --err: #ff8a8a;
  --radius: 18px;
  --wrap: 1180px;
  --display: 'Outfit', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.wl {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.center { text-align: center; display: flex; justify-content: center; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--orange); color: #1c1917; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.grad {
  background: linear-gradient(100deg, var(--gold) 0%, var(--orange) 45%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn-lg { min-height: 60px; padding: 0 26px 0 22px; border-radius: 16px; }
.btn-primary { background: var(--orange); color: #1c1917; box-shadow: 0 8px 28px -8px rgba(255, 153, 4, 0.7); }
.btn-primary:hover { background: #ffab33; box-shadow: 0 10px 34px -8px rgba(255, 153, 4, 0.85); }
.btn-play { background: #fff; color: #111; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.4) inset; }
.btn-play:hover { box-shadow: 0 12px 40px -8px rgba(255, 209, 102, 0.6), 0 0 0 1px #fff inset; }
.btn-play .play-ico { width: 22px; height: 22px; flex: none; }
.btn-lg .play-ico { width: 28px; height: 28px; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.btn-stack small { font: 600 10.5px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.btn-stack strong { font: 700 20px/1 var(--display); letter-spacing: -0.01em; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }
.link-quiet { color: var(--muted); font-weight: 500; text-underline-offset: 4px; }
.link-quiet:hover { color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.25s ease, box-shadow 0.25s ease; }
.nav.scrolled, .nav.open { background: rgba(7, 7, 11, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-row { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: none; }
.nav-cta { margin-left: auto; white-space: nowrap; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 44px; height: 44px; padding: 0 11px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav.open .nav-links {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px;
  padding: 8px 16px 20px; background: rgba(7, 7, 11, 0.96); border-bottom: 1px solid var(--line);
}
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; padding: 12px 4px; }
.nav-links a:hover { color: var(--text); }
.nav-ai em { font-style: normal; font: 700 10px/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: #1c1917; background: var(--gold); border-radius: 6px; padding: 3px 6px; margin-left: 4px; vertical-align: 2px; }
@media (max-width: 340px) { .nav-cta span { display: none; } .nav-cta { padding: 0 10px; } }
@media (min-width: 900px) {
  .nav-row { height: 72px; }
  .nav-links { display: flex; align-items: center; gap: 26px; margin-left: 36px; }
  .nav-links a { padding: 6px 0; font-size: 15px; }
  .nav-toggle { display: none; }
  .nav.open .nav-links { position: static; flex-direction: row; padding: 0; background: none; border: 0; }
}

/* the language picker i18n.js builds */
.nav-lang { position: relative; }
.nav-lang-trigger { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 16px; }
.nav-lang-trigger:hover { background: rgba(255, 255, 255, 0.05); }
.nav-lang-chevron { width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); }
.nav-lang-dropdown { position: absolute; top: 44px; right: 0; z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 180px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.nav.open .nav-lang-dropdown { left: 0; right: auto; }
html[dir="rtl"] .nav-lang-dropdown { right: auto; left: 0; }
.nav-lang-option { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.nav-lang-option:hover, .nav-lang-option:focus-visible { background: rgba(255, 255, 255, 0.07); }
.nav-lang-option-active { color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 18px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 820px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(255, 153, 4, 0.22), transparent 70%),
    radial-gradient(35% 45% at 92% 55%, rgba(139, 92, 246, 0.2), transparent 70%),
    radial-gradient(30% 35% at 10% 10%, rgba(255, 77, 141, 0.12), transparent 70%);
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 7px 12px 7px 10px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 209, 102, 0.08); box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.28) inset;
  color: var(--gold); font-size: 13.5px; font-weight: 600;
}
.pill svg { width: 14px; height: 14px; flex: none; }
.pill:hover { background: rgba(255, 209, 102, 0.14); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.6); animation: ping 2.4s ease-out infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 209, 102, 0); } }
.hero h1 { margin-top: 18px; font-size: clamp(36px, 9.4vw, 60px); font-weight: 800; }
.hero h1 .grad { display: inline; }
.lead { margin-top: 18px; font-size: clamp(16.5px, 2.2vw, 19px); color: var(--muted); max-width: 36em; }
.hero .cta-row { margin-top: 26px; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 14.5px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: rgba(74, 222, 128, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%234ade80' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.hero-visual { position: relative; height: 430px; max-width: 420px; width: 100%; margin: 0 auto; }
.device { position: absolute; }
.phone { left: 8%; top: 0; width: 196px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)); }
.phone-frame { position: relative; z-index: 2; width: 100%; height: auto; pointer-events: none; }
.phone-screen { position: absolute; top: 1.2%; left: 3.8%; width: 92.4%; height: 96.8%; border-radius: 18px; overflow: hidden; background: #000; z-index: 1; }
.phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.watch { right: -2%; bottom: -4%; width: 200px; z-index: 3; filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.6)); }
.watch-frame { position: relative; z-index: 1; width: 100%; height: auto; pointer-events: none; }
/* the screen of watch-ti (store/screenshots/source/watches.json: centre 448.5,598, r 290.5 of 896×1200) */
.watch-screen { position: absolute; left: 17.63%; top: 25.63%; width: 64.84%; height: 48.42%; border-radius: 50%; overflow: hidden; background: #000; z-index: 2; }
.watch-screen img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease; }
.watch-screen img.on { opacity: 1; }
.watch-screen::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), transparent 38%); pointer-events: none; }
.orbit .orb { position: absolute; height: auto; aspect-ratio: 1; border-radius: 50%; opacity: 0.55; filter: saturate(0.9); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.orb.o1 { width: 92px; right: 6%; top: 4%; }
.orb.o2 { width: 70px; left: -2%; top: 52%; }
.orb.o3 { width: 58px; right: 34%; top: -2%; opacity: 0.4; }
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: float 6s ease-in-out infinite; }
  .watch { animation: float 6s ease-in-out -2.2s infinite; }
  .orb { animation: float 8s ease-in-out infinite; }
  .orb.o2 { animation-delay: -3s; }
  .orb.o3 { animation-delay: -5s; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.stats { list-style: none; margin: 40px 0 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; border-top: 1px solid var(--line); }
.stats li { display: flex; flex-direction: column; gap: 2px; }
.stats strong { font: 700 24px/1.1 var(--display); }
.stats span { color: var(--faint); font-size: 13.5px; }

@media (min-width: 900px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 40px; min-height: 560px; }
  .hero-visual { height: 560px; max-width: none; }
  .phone { left: 10%; top: 10px; width: 250px; }
  .watch { right: 0; bottom: -10px; width: 280px; }
  .orb.o1 { width: 112px; right: 8%; top: 4%; }
  .orb.o2 { width: 86px; left: -4%; top: 60%; }
  .orb.o3 { width: 70px; right: 36%; top: -3%; }
  .stats { grid-template-columns: repeat(4, 1fr); margin-top: 48px; padding-top: 26px; }
  .stats strong { font-size: 30px; }
}

/* ---------- sections ---------- */
.sec { padding: 64px 0; }
.sec-tight { padding: 8px 0 24px; }
@media (min-width: 900px) { .sec { padding: 96px 0; } }
.sec-head { margin-bottom: 34px; }
.sec-head > * { max-width: 760px; }
.sec-head h2 { font-size: clamp(28px, 5.4vw, 46px); font-weight: 700; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; margin-bottom: 16px; }
.badge { display: inline-block; white-space: nowrap; font: 800 11px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: #1c1917; background: var(--gold); border-radius: 7px; padding: 5px 8px; }

/* catalogue strip */
.faces { overflow: hidden; }
.marquee { display: grid; gap: 18px; margin-bottom: 36px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; gap: 18px; padding-right: 18px; }
.face-chip { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 128px; text-decoration: none; color: var(--muted); font-size: 13px; }
.face-chip img { width: 128px; height: 128px; border-radius: 50%; background: #000; box-shadow: 0 0 0 4px #1c1c25, 0 0 0 5px rgba(255, 255, 255, 0.08), 0 14px 30px rgba(0, 0, 0, 0.5); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.face-chip:hover img, .face-chip:focus-visible img { transform: translateY(-4px); box-shadow: 0 0 0 4px #1c1c25, 0 0 0 5px rgba(255, 153, 4, 0.6), 0 18px 34px rgba(0, 0, 0, 0.55); }
.face-chip span { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) { .face-chip { width: 160px; } .face-chip img { width: 160px; height: 160px; } }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track.ltr { animation: slide 60s linear infinite; }
  .marquee-track.rtl { animation: slide 66s linear infinite reverse; }
  .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* steps */
.steps { list-style: none; display: grid; gap: 16px; }
.steps li { position: relative; padding: 26px 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 700 16px/1 var(--display); color: #1c1917; background: linear-gradient(135deg, var(--gold), var(--orange)); margin-bottom: 16px; }
.steps h3, .card h3 { font-size: 20px; font-weight: 700; }
.steps p, .card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* AI teaser */
.ai-teaser { position: relative; background: radial-gradient(60% 70% at 75% 50%, rgba(139, 92, 246, 0.16), transparent 70%), radial-gradient(50% 60% at 85% 40%, rgba(255, 153, 4, 0.14), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai-grid { display: grid; gap: 44px; align-items: center; }
.ai-copy h2 { font-size: clamp(32px, 6.4vw, 54px); font-weight: 800; }
.ai-feats { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ai-feats li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ai-feats li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--pink)); box-shadow: 0 0 12px rgba(255, 153, 4, 0.8); }
.ai-show { position: relative; display: flex; flex-direction: column; align-items: center; }
.ai-caption { margin-top: 22px; min-height: 3.2em; max-width: 340px; text-align: center; color: var(--muted); font-style: italic; font-size: 15px; transition: opacity 0.3s ease; }
.ai-caption.swap { opacity: 0; }
.ai-orbit { position: absolute; inset: 0; pointer-events: none; }
.ai-mini { position: absolute; width: 74px; height: 74px; border-radius: 50%; opacity: 0.5; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6); }
.ai-mini.m1 { left: 2%; top: 6%; }
.ai-mini.m2 { right: 2%; top: 0; }
.ai-mini.m3 { left: 6%; bottom: 22%; }
.ai-mini.m4 { right: 4%; bottom: 26%; }
@media (prefers-reduced-motion: no-preference) {
  .ai-mini { animation: float 7s ease-in-out infinite; }
  .ai-mini.m2 { animation-delay: -2s; } .ai-mini.m3 { animation-delay: -4s; } .ai-mini.m4 { animation-delay: -5.5s; }
}
@media (min-width: 900px) {
  .ai-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .ai-mini { width: 96px; height: 96px; }
}

/* the watch case every AI face sits in */
.case {
  position: relative; width: min(78vw, 300px); aspect-ratio: 1; border-radius: 50%; padding: 4.5%;
  background: conic-gradient(from 200deg, #4a4a52, #c9c9d0 12%, #5a5a63 25%, #2a2a31 40%, #9a9aa3 55%, #3a3a42 70%, #d4d4da 82%, #4a4a52);
  box-shadow: 0 30px 70px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 0 60px -10px rgba(255, 153, 4, 0.25);
}
.case::before { content: ''; position: absolute; inset: 2.2%; border-radius: 50%; background: #0b0b10; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) inset; }
.case-lg { width: min(80vw, 380px); }
@media (min-width: 900px) { .case-lg { width: 420px; } }
.slot { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #0b0b10; isolation: isolate; }
.wl-face-img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; user-select: none; }

/* AiFaceWorking */
.wl-work { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 0.45s ease; z-index: 3; }
.wl-work.on { opacity: 1; }
.wl-work.off { opacity: 0; transition-duration: 0.7s; }
.wl-work-veil { position: absolute; inset: 0; background: #000; opacity: 0.25; }
.wl-work-light { position: absolute; left: 2.5%; top: 2.5%; width: 95%; height: 95%; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
.wl-work-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wl-work-star { position: absolute; width: 14px; height: 14px; opacity: 0; will-change: transform, opacity; }
.wl-work-star::before, .wl-work-star::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 1px; background: #fff6e0; box-shadow: 0 0 6px rgba(255, 209, 102, 0.9); }
.wl-work-star::after { transform: rotate(90deg); }
.wl-work-words { position: absolute; left: 0; right: 0; bottom: 17%; padding: 0 14%; text-align: center; font-weight: 700; font-size: clamp(11px, 3.2vw, 14px); color: #fff; text-shadow: 0 0 6px rgba(0, 0, 0, 0.8); }
/* AiFaceStage reveal */
.wl-iris { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; clip-path: circle(0% at 50% 50%); z-index: 2; }
.wl-iris .wl-face-img { will-change: transform; }
.wl-iris-fade { clip-path: none; opacity: 0; transition: opacity 0.3s ease; }
.wl-iris-fade.on { opacity: 1; }
.wl-iris-flash { position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: screen; opacity: 0; z-index: 4; pointer-events: none; background: radial-gradient(circle, rgba(255, 246, 224, 1) 0%, rgba(255, 209, 102, 0.35) 45%, rgba(255, 153, 4, 0) 100%); }
.wl-iris-edge { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(255, 240, 214, 0.95); opacity: 0; z-index: 5; pointer-events: none; }
.wl-iris-edge.soft { border-width: 9px; border-color: rgba(255, 153, 4, 0.28); }

/* features */
.cards { display: grid; gap: 16px; }
.card { padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card-ico { width: 30px; height: 30px; color: var(--orange); margin-bottom: 16px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } .card-wide { grid-column: span 2; } }

.links3 { display: grid; gap: 12px; }
.link-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; text-decoration: none; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent); transition: border-color 0.2s ease, background 0.2s ease; }
.link-card strong { font-family: var(--display); font-size: 17px; }
.link-card strong::after { content: ' →'; color: var(--orange); }
.link-card span { color: var(--muted); font-size: 14.5px; }
.link-card:hover { border-color: rgba(255, 153, 4, 0.45); background: rgba(255, 153, 4, 0.05); }
@media (min-width: 760px) { .links3 { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq > details { max-width: 860px; width: 100%; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font: 600 17px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 24px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* last call */
.final-box { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 48px; padding-bottom: 48px; border-radius: 28px; background: radial-gradient(70% 90% at 50% 0%, rgba(255, 153, 4, 0.2), transparent 70%), var(--surface); border: 1px solid var(--line); }
@media (max-width: 639px) { .final-box { width: calc(100% - 24px); padding-left: 18px; padding-right: 18px; } }
@media (min-width: 640px) { .final-box { max-width: calc(var(--wrap) - 56px); } }
.final-icon { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 20px; box-shadow: 0 14px 36px rgba(255, 153, 4, 0.35); }
.final-box h2 { font-size: clamp(28px, 5vw, 44px); }
.final-box > p { margin-top: 12px; color: var(--muted); max-width: 34em; padding: 0 8px; }
.final-box .cta-row { justify-content: center; }
.fine { margin-top: 18px; font-size: 13px; color: var(--faint); padding: 0 12px; }
.fine a { color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 24px; color: var(--muted); font-size: 14.5px; }
.foot-grid { display: grid; gap: 22px; }
.foot-brand p { margin-top: 10px; max-width: 30em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 12.5px; color: var(--faint); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1fr 1.4fr; align-items: start; } .foot-links { justify-content: flex-end; } }

/* cookie note */
.cookie { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; line-height: 1.4; border-radius: 14px; background: rgba(26, 26, 36, 0.96); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); font-size: 13.5px; color: var(--muted); }
.cookie[hidden] { display: none; }
.cookie a { color: var(--gold); }
@media (min-width: 640px) { .cookie { left: auto; max-width: 440px; } }

/* =================== AI Face Creator page =================== */
.page-ai .hero { padding-bottom: 56px; }
.ai-hero-grid { display: grid; gap: 40px; align-items: center; }
.page-ai .hero h1 { font-size: clamp(36px, 9vw, 66px); }
@media (min-width: 980px) { .ai-hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; min-height: 600px; } }

/* sign-up form */
.join { margin-top: 26px; max-width: 520px; }
.join-row { display: flex; flex-direction: column; gap: 10px; }
.join input[type=email] {
  width: 100%; min-height: 54px; padding: 0 18px; border-radius: 14px; font: 500 16px var(--body); color: var(--text);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.join input[type=email]::placeholder { color: var(--faint); }
.join input[type=email]:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 153, 4, 0.18); }
.join .btn { min-height: 54px; white-space: nowrap; }
@media (min-width: 520px) { .join-row { flex-direction: row; } .join input[type=email] { flex: 1; } }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.consent a { color: var(--gold); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.msg { margin-top: 12px; min-height: 1.4em; font-size: 14.5px; font-weight: 600; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }
.join.done .join-row, .join.done .consent { display: none; }
.join.done .msg { font-size: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.3); }
.join-note { margin-top: 10px; font-size: 13px; color: var(--faint); }

/* the creator, as in the app (step 1) */
.creator {
  position: relative; width: 100%; max-width: 420px; margin: 0 auto; padding: 16px; border-radius: 28px;
  background: linear-gradient(180deg, #16161f, #0f0f15); border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.85), 0 0 80px -20px rgba(139, 92, 246, 0.35);
}
.creator-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.creator-head h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.creator-head .badge { font-size: 10px; padding: 4px 7px; }
.creator-ctl { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.creator-ctl:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.creator-ctl svg { width: 14px; height: 14px; }
.creator-label { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.prompt-box { min-height: 66px; padding: 11px 14px; border-radius: 12px; background: #1b1b25; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: var(--text); }
.prompt-box .caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -2px; margin-left: 1px; background: var(--orange); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.gen { width: 100%; margin-top: 12px; min-height: 46px; border-radius: 12px; background: var(--orange); color: #1c1917; font: 800 15px var(--body); display: grid; place-items: center; transition: transform 0.15s ease, opacity 0.2s ease, filter 0.2s ease; }
.gen.press { transform: scale(0.97); filter: brightness(1.15); }
.gen.busy { opacity: 0.55; }
.status { height: 38px; margin-top: 10px; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.4; transition: opacity 0.35s ease; }
.status.swap { opacity: 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
@media (min-width: 980px) and (max-height: 960px) { .creator { max-width: 380px; } }
.tile { padding: 6px 6px 4px; border-radius: 14px; background: #1b1b25; border: 2px solid transparent; transition: border-color 0.3s ease; }
.tile.lit { border-color: var(--orange); }
.tile .slot { aspect-ratio: 1; height: auto; }
.tile-name { height: 18px; margin-top: 6px; text-align: center; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.35s ease; }
.tile-under { height: 40px; display: flex; flex-direction: column; align-items: center; gap: 3px; transition: opacity 0.35s ease; }
.tile-under.swap, .tile-name.swap { opacity: 0; }
.swatches { display: flex; gap: 4px; margin-top: 3px; }
.swatches i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); }
.notes { font-size: 10.5px; color: var(--faint); text-align: center; line-height: 1.25; }
.edit-hint { margin-top: 4px; font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.edit-hint svg { width: 12px; height: 12px; }

/* feature rows */
.rows { display: grid; gap: 72px; }
.row { display: grid; gap: 32px; align-items: center; }
.row h2 { font-size: clamp(28px, 5vw, 42px); font-weight: 700; }
.row p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 34em; }
.row .eyebrow { margin-bottom: 12px; }
.row-visual { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (min-width: 900px) {
  .rows { gap: 110px; }
  .row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .row.flip .row-text { order: 2; }
}
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 520px; }
.trio figure { margin: 0; text-align: center; }
.trio .case { width: 100%; padding: 5%; }
.trio figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.trio-text { margin-top: 2px; }

/* LCD backlight switch */
.lcd-demo { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lcd-demo .slot img { transition: opacity 0.35s ease; }
.lcd-demo .lit { opacity: 0; }
.lcd-demo.on .lit { opacity: 1; }
.switch { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 600 14px var(--body); cursor: pointer; }
.switch .knob { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #33333d; transition: background 0.2s ease; }
.switch .knob::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.2s ease; }
.switch[aria-checked=true] .knob { background: var(--orange); }
.switch[aria-checked=true] .knob::after { transform: translateX(18px); }

/* the live face (depth + glare) */
.live-demo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.live-face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #000; touch-action: pan-y; }
.live-face img, .live-face .layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.live-face .hand { transform-origin: 50% 50%; will-change: transform; }
.live-face .glyph { position: absolute; width: auto; height: auto; inset: auto; }
.live-face .mv-group { position: absolute; transform-origin: 50% 50%; will-change: transform; }
.live-face .mv-part { position: absolute; inset: auto; transform-origin: 50% 50%; }
.live-face.fade-in { opacity: 0; transition: opacity 0.45s ease; }
.live-face.fade-in.on { opacity: 1; }
.live-hint { font-size: 13.5px; color: var(--faint); text-align: center; }
.live-pick { display: flex; gap: 8px; }
.live-pick button { width: 44px; height: 44px; border-radius: 50%; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; overflow: hidden; }
.live-pick button img { width: 100%; height: 100%; border-radius: 50%; }
.live-pick button[aria-pressed=true] { border-color: var(--orange); }

/* the wall of AI faces */
.wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
.wall figure { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.wall img { width: 100%; max-width: 200px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 4px #1d1d26, 0 0 0 5px rgba(255, 255, 255, 0.1), 0 16px 34px rgba(0, 0, 0, 0.55); }
.wall figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.wall figcaption b { display: block; color: var(--text); font-family: var(--display); font-size: 15px; font-weight: 600; margin-bottom: 3px; }
@media (min-width: 640px) { .wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .wall { grid-template-columns: repeat(4, 1fr); gap: 34px 26px; } }

.join-box { padding: 40px 20px; border-radius: 28px; text-align: center; background: radial-gradient(70% 90% at 50% 0%, rgba(139, 92, 246, 0.22), transparent 70%), radial-gradient(60% 70% at 50% 100%, rgba(255, 153, 4, 0.14), transparent 70%), var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; }
.join-box h2 { font-size: clamp(28px, 5vw, 44px); }
.join-box > p { margin-top: 12px; color: var(--muted); max-width: 34em; }
.join-box .join { width: 100%; text-align: left; }
@media (min-width: 640px) { .join-box { padding: 56px 40px; } }

.sec-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .steps-4 { grid-template-columns: repeat(4, 1fr); } }
.tilt-zone { padding: 18px; border-radius: 50%; touch-action: pan-y; }
.tilt-zone .case { transition: box-shadow 0.3s ease; will-change: transform; }
.tilt-btn { background: none; border: 0; cursor: pointer; font: inherit; text-decoration: underline; }
.creator .tile .slot::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #16161f, #0b0b10 70%); }
@media (prefers-reduced-motion: reduce) { .pill-dot, .prompt-box .caret { animation: none; } }
