/* Glimpse promo site — tokens mirror docs/DESIGN_SYSTEM.md. */
:root {
  --surface: #fff;
  --muted: #f7f3ea;
  --ink: #1a1815;
  --ink-2: #26231f;
  --border: #e7e1d2;
  --text: #1a1815;
  --text-2: #6b6459;
  --text-3: #9a9184;
  --gold: #8c6a1c;
  --gold-bright: #d9b24c;
  --gold-surface: #f4e8c9;
  --gold-soft: #f9e3b8;
  --on-gold: #fffbf2;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--muted); color: var(--text);
  font: 400 17px/1.55 var(--font); font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-2); }
.dark .eyebrow { color: #a39c92; }
.lede { font-size: clamp(18px, 1.8vw, 22px); color: var(--text-2); max-width: 32em; line-height: 1.5; }

/* progress + nav */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 30; transform-origin: 0 50%; transform: scaleX(0); background: var(--gold); }
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.stuck { background: color-mix(in srgb, var(--muted) 82%, transparent); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--text-2); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .lang { border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 600; color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px; border-radius: 16px; font: 600 16px/1 var(--font); border: 1px solid transparent; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn small { display: block; font-size: 10.5px; font-weight: 500; opacity: .7; letter-spacing: .3px; margin-bottom: 2px; }
.btn > span { line-height: 1.1; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn[aria-disabled="true"] { cursor: default; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* reveal */
[data-r] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-r].in { opacity: 1; transform: none; }
.no-js [data-r] { opacity: 1; transform: none; }

/* hero */
.hero { position: relative; min-height: 100svh; padding: 130px 0 90px; display: flex; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 80vmax; height: 80vmax; right: -30vmax; top: -22vmax; background: radial-gradient(closest-side, var(--gold-soft), transparent 70%); opacity: .85; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; background: var(--gold-surface); color: var(--gold); border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 600; margin-bottom: 28px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(140,106,28,.5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(140,106,28,0); } }
h1 { font-size: clamp(48px, 8.4vw, 124px); font-weight: 700; letter-spacing: -.045em; line-height: .94; }
h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
h1 .ln > span { display: block; transform: translateY(105%); animation: rise 1.25s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .12s); }
@keyframes rise { to { transform: none; } }
h1 em { font-style: normal; color: var(--gold); }
.hero .lede { margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 44px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: 14px; }
.facts li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 9px 2px 0; }

/* phone */
.stage { position: relative; display: grid; place-items: center; perspective: 1400px; }
.phone { position: relative; width: min(320px, 76vw); aspect-ratio: 9 / 18.8; background: var(--ink); border-radius: 50px; padding: 11px; box-shadow: 0 60px 110px -40px rgba(26,24,21,.55), 0 0 0 1.5px #3a3631 inset; transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
.screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--ink); isolation: isolate; }
.screen::after { content: ""; position: absolute; top: 11px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 14px; background: #000; z-index: 9; }
.screen video, .screen .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 28%, transparent 50%, rgba(0,0,0,.6)); z-index: 1; }
.glass { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.5); border-radius: 18px; color: var(--ink); }
.searchbar { position: absolute; z-index: 2; left: 14px; right: 14px; top: 50px; padding: 11px 14px; font-size: 12.5px; color: var(--text-2); display: flex; gap: 8px; align-items: center; border-radius: 14px; }
.searchbar svg { width: 15px; height: 15px; }
.sheet-card { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 14px; padding: 14px; }
.sheet-card .t { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sheet-card b { font-size: 14.5px; letter-spacing: -.01em; }
.sheet-card small { display: block; color: var(--text-2); font-size: 11.5px; margin-top: 2px; }
.badge { font-size: 10.5px; font-weight: 700; color: var(--gold); background: var(--gold-soft); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.float { position: absolute; z-index: 3; padding: 11px 15px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 40px -18px rgba(26,24,21,.4); }
.float i { width: 30px; height: 30px; border-radius: 10px; background: var(--gold-surface); color: var(--gold); display: grid; place-items: center; font-style: normal; flex: none; }
.float i svg { width: 16px; height: 16px; }
.float small { display: block; font-weight: 500; color: var(--text-2); font-size: 11px; }
.float.a { left: -4%; top: 22%; animation: bob 6s ease-in-out infinite; }
.float.b { right: -3%; bottom: 20%; animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }

/* marquee */
.marquee { background: var(--ink); color: #f3eee4; overflow: hidden; padding: 30px 0; white-space: nowrap; }
.marquee .track { display: inline-flex; animation: slide 38s linear infinite; }
.marquee span { font-size: clamp(32px, 5vw, 64px); font-weight: 700; letter-spacing: -.03em; padding-right: 36px; display: inline-flex; align-items: center; gap: 36px; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.4px #f3eee4; }
.marquee span::after { content: "✦"; color: var(--gold-bright); font-size: .5em; -webkit-text-stroke: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

/* manifesto */
.manifesto { padding: clamp(100px, 16vw, 220px) 0; }
.manifesto p { font-size: clamp(32px, 5.4vw, 76px); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; max-width: 15.5em; }
.manifesto em { font-style: normal; }
.manifesto .w { color: #d6cfbe; transition: color .5s; }
.manifesto .w.lit { color: var(--ink); }
.manifesto .w.gold.lit { color: var(--gold); }

/* story */
.story { background: var(--surface); border-block: 1px solid var(--border); }
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.story-phone { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.story-phone .phone { width: min(340px, 40vw); }
.dots { position: absolute; left: 0; top: 50%; translate: 0 -50%; display: grid; gap: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--border); transition: all .4s var(--ease); }
.dots i.on { background: var(--gold); height: 26px; border-radius: 3px; }
.panel { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: 30em; }
.panel h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin: 18px 0 22px; }
.panel .n { font-size: 13px; font-weight: 600; letter-spacing: 1.6px; color: var(--gold); }
.panel p { color: var(--text-2); font-size: 19px; }
.panel ul { list-style: none; padding: 0; margin: 28px 0 0; }
.panel li { padding: 13px 0; border-top: 1px solid var(--border); display: flex; gap: 12px; font-size: 16.5px; }
.panel li::before { content: ""; width: 7px; height: 7px; margin-top: 10px; border-radius: 50%; background: var(--gold); flex: none; }

/* app screens inside the story phone */
.scr { position: absolute; inset: 0; background: var(--muted); opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .8s var(--ease); z-index: 2; padding-top: 52px; }
.scr.on { opacity: 1; transform: none; }
.ui-h { font-size: 11px; letter-spacing: 1.4px; font-weight: 600; color: var(--text-2); text-transform: uppercase; padding: 0 18px; }
.ui-t { font-size: 24px; font-weight: 700; letter-spacing: -.03em; padding: 4px 18px 12px; }
.chips { display: flex; gap: 6px; padding: 0 14px 10px; }
.chip { font-size: 11px; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); }
.chip.on { background: var(--gold-surface); border-color: var(--gold-surface); color: var(--gold); }
.map { position: absolute; inset: 0; top: 0; background:
  linear-gradient(112deg, transparent 44%, #fff 44% 46%, transparent 46%),
  linear-gradient(24deg, transparent 56%, #fff 56% 58%, transparent 58%),
  linear-gradient(78deg, transparent 20%, #e8e0cc 20% 21%, transparent 21%),
  linear-gradient(160deg, transparent 70%, #e8e0cc 70% 71%, transparent 71%),
  radial-gradient(circle at 80% 14%, #dfe8d3 0 15%, transparent 16%),
  radial-gradient(circle at 18% 70%, #dfe8d3 0 11%, transparent 12%), #efe9d9; }
.pin { position: absolute; width: 32px; height: 32px; border-radius: 50% 50% 50% 5px; rotate: -45deg; background: var(--ink); display: grid; place-items: center; scale: 0; }
.pin::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-soft); }
.pin.g { background: var(--gold); } .pin.g::after { background: var(--on-gold); }
.scr.on .pin { animation: pop .7s var(--ease) forwards; animation-delay: calc(.2s + var(--k) * .12s); }
@keyframes pop { 0% { scale: 0; translate: 0 -14px; } 100% { scale: 1; } }
.scr.on .pin.g::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid var(--gold); opacity: 0; animation: ring 2.4s 1.2s infinite; }
@keyframes ring { 0% { scale: .5; opacity: .8; } 100% { scale: 1.6; opacity: 0; } }
.m-top { position: absolute; z-index: 2; left: 0; right: 0; top: 52px; }
.m-top .search { margin: 0 14px 10px; padding: 11px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-3); }
.m-sheet { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; background: var(--surface); border-radius: 24px 24px 0 0; padding: 12px 14px 20px; border-top: 1px solid var(--border); }
.m-sheet .grab { width: 36px; height: 4px; border-radius: 2px; background: var(--border); margin: 0 auto 12px; }
.row { display: flex; gap: 11px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); }
.row:first-of-type { border-top: 0; }
.thumb { width: 44px; height: 44px; border-radius: 12px; background-size: cover; background-position: center; flex: none; }
.row b { display: block; font-size: 13px; line-height: 1.2; }
.row small { color: var(--text-2); font-size: 11px; }
.row .badge { margin-left: auto; }
.days { display: flex; gap: 6px; padding: 0 14px 14px; }
.day { flex: 1; text-align: center; padding: 8px 0; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: 10px; color: var(--text-2); font-weight: 600; }
.day b { display: block; font-size: 16px; color: var(--ink); letter-spacing: -.02em; margin-top: 2px; }
.day.on { background: var(--ink); border-color: var(--ink); color: #a39c92; } .day.on b { color: #fff; }
.ev { margin: 0 14px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.ev .im { height: 92px; background-size: cover; background-position: center; }
.ev .tx { padding: 11px 13px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ev b { font-size: 13px; } .ev small { display: block; color: var(--text-2); font-size: 11px; }
.lock { background: linear-gradient(180deg, #2a2620, #14120f); color: #fff; padding-top: 70px; }
.lock .tm { text-align: center; font-size: 62px; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.lock .dt { text-align: center; font-size: 13px; color: #c9c2b6; margin: 6px 0 36px; }
.notif { margin: 0 12px 10px; padding: 12px 14px; border-radius: 20px; background: rgba(255,255,255,.14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; gap: 11px; font-size: 12px; line-height: 1.35; transform: translateY(24px); opacity: 0; }
.notif img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.notif b { display: block; font-size: 12.5px; }
.notif span { color: #ddd6c9; }
.scr.on .notif { animation: slideIn .9s var(--ease) forwards; animation-delay: calc(.25s + var(--k) * .35s); }
@keyframes slideIn { to { transform: none; opacity: 1; } }

/* reel */
.reel { padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.reel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 52px; }
.reel h2 { font-size: clamp(36px, 5.6vw, 80px); font-weight: 700; letter-spacing: -.04em; line-height: .98; margin-top: 18px; max-width: 11em; }
.rail { display: flex; gap: 20px; padding: 0 max(24px, calc((100vw - 1240px) / 2)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.vcard { position: relative; flex: none; width: clamp(240px, 24vw, 320px); aspect-ratio: 9 / 15; border-radius: 28px; overflow: hidden; background: var(--border); scroll-snap-align: start; }
.vcard:nth-child(even) { margin-top: 48px; }
.vcard video, .vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vcard:hover video { transform: scale(1.05); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.65)); }
.vcard .cap { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; color: #fff; }
.vcard .cap b { display: block; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.vcard .cap small { font-size: 13px; color: #ddd6c9; }
.vcard .num { position: absolute; z-index: 1; top: 18px; left: 20px; color: #fff; font-size: 12px; letter-spacing: 1.6px; font-weight: 600; }

/* dark principles */
.dark { background: var(--ink); color: #f3eee4; }
.principles { padding: clamp(90px, 12vw, 170px) 0; }
.principles h2 { font-size: clamp(36px, 5.6vw, 80px); font-weight: 700; letter-spacing: -.04em; line-height: .98; max-width: 12em; margin: 18px 0 72px; }
.plist { border-top: 1px solid #3a3631; }
.prow { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 32px; padding: 38px 0; border-bottom: 1px solid #3a3631; align-items: baseline; transition: padding .5s var(--ease); }
.prow:hover { padding-left: 14px; }
.prow .k { color: var(--gold-bright); font-size: 13px; letter-spacing: 1.6px; font-weight: 600; }
.prow h3 { font-size: clamp(24px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.05; }
.prow p { color: #b9b2a6; font-size: 17px; }

/* faq */
.faqs { padding: clamp(80px, 11vw, 150px) 0; }
.faqs .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faqs h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-top: 18px; }
details { border-top: 1px solid var(--border); padding: 24px 0; }
details:last-child { border-bottom: 1px solid var(--border); }
summary { font-weight: 600; font-size: 20px; letter-spacing: -.01em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-weight: 300; font-size: 28px; line-height: 1; transition: rotate .4s var(--ease); }
details[open] summary::after { rotate: 45deg; }
details p { color: var(--text-2); margin-top: 14px; max-width: 38em; }

/* final */
.final { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 220px) 0; text-align: center; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 90vmin; height: 90vmin; translate: -50% -50%; background: radial-gradient(closest-side, rgba(217,178,76,.32), transparent 70%); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { scale: 1.25; opacity: .7; } }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(56px, 12.5vw, 200px); font-weight: 700; letter-spacing: -.055em; line-height: .9; margin: 24px 0 28px; }
.final h2 em { font-style: normal; color: var(--gold-bright); }
.final p.lede { color: #b9b2a6; margin-inline: auto; }
.final .cta-row { justify-content: center; }
.final .btn-solid { background: var(--gold-surface); color: var(--ink); }

footer { background: var(--ink); color: #8f877b; font-size: 14px; padding: 0 0 48px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid #3a3631; padding-top: 28px; }
footer a { color: #b9b2a6; }

/* link fallback page */
.open { min-height: 100svh; display: grid; place-items: center; padding: 32px 0; }
.open-card { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 40px 28px; text-align: center; max-width: 440px; margin-inline: auto; }
.open-card img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 22px; }
.open-card h1 { font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.open-card p { color: var(--text-2); margin: 12px 0 26px; }
.open-card .btn { width: 100%; justify-content: center; margin-top: 10px; }

@media (max-width: 900px) {
  .hero { padding: 100px 0 64px; min-height: 0; }
  .hero .wrap, .faqs .wrap { grid-template-columns: 1fr; gap: 56px; }
  .float.a { left: 0; } .float.b { right: 0; }
  .nav-links a:not(.lang) { display: none; }
  .story .wrap { grid-template-columns: 1fr; gap: 0; }
  .story-phone { height: 62svh; top: 64px; z-index: 5; background: linear-gradient(var(--surface) 85%, transparent); }
  .story-phone .phone { width: 320px; scale: .6; margin-block: -14svh; }
  .dots { display: none; }
  .panel { min-height: 70svh; justify-content: flex-start; padding-top: 6vh; }
  .vcard:nth-child(even) { margin-top: 0; }
  .prow { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  h1 .ln > span { transform: none; }
  [data-r] { opacity: 1; transform: none; }
  .marquee .track { animation: none; }
  .pin { scale: 1; } .notif { transform: none; opacity: 1; }
}
