/* WhereToWonder — landing + legal pages.
   Design tokens first. Every surface reads its colors from the mode it sits in:
   [data-mode="night"] (deep space) or [data-mode="day"] (atmospheric daylight). The hero
   blends between the two with --day (0..1) as the sun rises. Gold is the brand light. */

:root {
  /* Type */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --step-hero: clamp(3rem, 7.4vw, 6.6rem);
  --step-h2: clamp(2.1rem, 4.6vw, 3.7rem);
  --step-lead: clamp(1.05rem, 1.5vw, 1.24rem);

  /* Shape and motion */
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Brand colors (shared) */
  --gold: #ffcf86; --gold-2: #ff9a4a; --sky: #6bb4ff; --mint: #3fcf98; --coral: #ff6f61; --grape: #8f6cff;

  /* Night tokens are the default (legal pages use them as-is). */
  --bg: #04060d; --bg-2: #0a1020;
  --ink: #eef2fb; --ink-2: #aab4c9; --ink-3: #6c7790;
  --line: rgba(190, 210, 255, .11);
  --glass: rgba(16, 22, 38, .55); --glass-2: rgba(26, 34, 56, .74); --glass-edge: rgba(255, 255, 255, .13);
  --glow-a: rgba(70, 130, 255, .22); --glow-b: rgba(255, 160, 80, .14);
  --accent: var(--gold); --accent-2: var(--gold-2); --accent-ink: #1d1206;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .85);
  --shot-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
}
[data-mode="night"] {
  --bg: #04060d; --bg-2: #0a1020;
  --ink: #eef2fb; --ink-2: #aab4c9; --ink-3: #6c7790;
  --line: rgba(190, 210, 255, .11);
  --glass: rgba(16, 22, 38, .55); --glass-2: rgba(26, 34, 56, .74); --glass-edge: rgba(255, 255, 255, .13);
  --glow-a: rgba(70, 130, 255, .22); --glow-b: rgba(255, 160, 80, .14);
  --accent: var(--gold); --accent-2: var(--gold-2); --accent-ink: #1d1206;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .85);
  --shot-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
  color-scheme: dark;
}
[data-mode="day"] {
  --bg: #eef4fb; --bg-2: #ffffff;
  --ink: #0d1526; --ink-2: #47536b; --ink-3: #7d889c;
  --line: rgba(13, 21, 38, .09);
  --glass: rgba(255, 255, 255, .62); --glass-2: rgba(255, 255, 255, .86); --glass-edge: rgba(255, 255, 255, .95);
  --glow-a: rgba(107, 180, 255, .30); --glow-b: rgba(255, 190, 120, .30);
  --accent: #d9771f; --accent-2: #ef9a3c; --accent-ink: #1d1206;
  --shadow: 0 30px 70px -34px rgba(30, 60, 120, .38);
  --shot-shadow: 0 50px 100px -40px rgba(20, 45, 95, .55);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; margin: 0 0 .4em; letter-spacing: -.025em; font-optical-sizing: auto; color: var(--ink); }
h2 { font-size: var(--step-h2); text-align: center; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 520; }
h3 { font-size: 1.32rem; letter-spacing: -.012em; }
p { color: var(--ink-2); margin: 0 0 1em; }
::selection { background: rgba(255, 190, 110, .35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; }

.shine { background: linear-gradient(100deg, #ffe7b8 0%, var(--gold) 30%, #fff4dc 45%, var(--gold-2) 60%, var(--gold) 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; padding-right: .08em; }
@keyframes shine { to { background-position: -220% 0; } }

.kicker { text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 750; color: var(--accent); margin: 0 0 16px; }
.kicker.center { text-align: center; }
.sub { text-align: center; max-width: 60ch; margin: 0 auto 46px; font-size: var(--step-lead); text-wrap: pretty; }
.sub.left { text-align: left; margin: 0 0 28px; }
.fine { text-align: center; font-size: .82rem; color: var(--ink-3); margin-top: 16px; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--sky), var(--gold), var(--gold-2)); will-change: transform; }

/* Header: follows the mode of whatever is under it. */
header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid var(--line); color: var(--ink); transition: background .4s, border-color .4s, color .4s; }
header.top { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
header.top.scrolled { background: color-mix(in srgb, var(--bg) 62%, transparent); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.bar { display: flex; align-items: center; gap: 14px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.01em; font-size: 1.05rem; color: var(--ink); }
.brand img { border-radius: 9px; box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(255, 160, 70, .25); }
.brand.small { font-weight: 600; font-size: .9rem; }
.brand.small img { border-radius: 6px; }
.mark { width: 34px; height: 34px; border-radius: 9px; background: url(/img/favicon.png) center/cover; box-shadow: 0 0 0 1px var(--line); }
nav.links { display: flex; gap: 4px; margin-left: auto; font-size: .93rem; }
nav.links a { text-decoration: none; color: var(--ink-2); font-weight: 650; padding: 8px 13px; border-radius: var(--r-pill); transition: color .2s, background .2s; }
nav.links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
@media (max-width: 900px) { nav.links { display: none; } .hide-sm { display: none !important; } .bar .btn.blue { margin-left: auto; } }

/* Buttons */
.btn { --mx: 0px; --my: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: var(--r-pill); border: 0; font: 750 .97rem var(--font-body); text-decoration: none; cursor: pointer; min-height: 46px; position: relative; transform: translate3d(var(--mx), var(--my), 0); transition: transform .35s var(--ease), box-shadow .3s, background .3s, opacity .3s; white-space: nowrap; color: var(--ink); }
/* The app-download call to action is blue (owner, 2026-10-13), like the app's own button. */
.btn.blue { color: #fff; background: linear-gradient(135deg, #8cc8ff, #3d8fe8 45%, #1f6fd0); box-shadow: 0 10px 30px rgba(40, 120, 230, .38), inset 0 1px 0 rgba(255, 255, 255, .45); overflow: hidden; }
.btn.blue::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translate3d(-120%, 0, 0); transition: transform .8s var(--ease); }
.btn.blue:hover::after { transform: translate3d(120%, 0, 0); }
.btn.glass { background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px -12px rgba(0, 0, 0, .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn.glass:hover { background: var(--glass-2); }
.btn.store { background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-edge), 0 14px 34px -14px rgba(0, 0, 0, .55); padding: 10px 22px 10px 18px; min-height: 58px; border-radius: 18px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn.store:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px rgba(255, 200, 120, .55), 0 18px 40px -14px rgba(0, 0, 0, .6); }
.btn.store svg { width: 24px; height: 24px; }
.btn.store .lbl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; font-size: 1.08rem; }
.btn.store small { font-size: .68rem; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.btn.off { cursor: default; }
.btn.off small::after { content: ' · soon'; color: var(--accent); font-weight: 750; }
.btn svg { width: 20px; height: 20px; flex: none; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.stores.center { justify-content: center; }
.web-link { display: inline-flex; gap: 8px; font-weight: 700; color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding-bottom: 2px; transition: gap .3s var(--ease), border-color .3s; }
.web-link:hover { gap: 14px; border-color: var(--accent); }

/* ===================================================================== HERO: SUNRISE */
.sunrise { --day: 0; position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate;
  /* Text and glass blend from night to day as the sun comes up. */
  --ink: color-mix(in oklab, #eef2fb, #0d1526 calc(var(--day) * 100%));
  --ink-2: color-mix(in oklab, #b9c3d8, #3c4862 calc(var(--day) * 100%));
  --glass: color-mix(in oklab, rgba(16, 22, 38, .55), rgba(255, 255, 255, .55) calc(var(--day) * 100%));
  --glass-2: color-mix(in oklab, rgba(26, 34, 56, .74), rgba(255, 255, 255, .85) calc(var(--day) * 100%));
  --line: color-mix(in oklab, rgba(190, 210, 255, .11), rgba(13, 21, 38, .1) calc(var(--day) * 100%));
  --accent: color-mix(in oklab, #ffcf86, #c86a14 calc(var(--day) * 100%));
}
.sky { position: absolute; inset: 0; z-index: -4; will-change: opacity; }
.sky-night { background:
  radial-gradient(45% 55% at 76% 48%, rgba(60, 120, 255, .20), transparent 70%),
  radial-gradient(30% 40% at 16% 18%, rgba(143, 108, 255, .13), transparent 70%),
  linear-gradient(180deg, #03050b, #060a17 60%, #0a1024); }
.sky-day { opacity: 0; background:
  radial-gradient(60% 50% at 70% 78%, rgba(255, 196, 130, .55), transparent 70%),
  linear-gradient(180deg, #4d8fe6 0%, #8cbcf2 34%, #cfe2f8 62%, #f6e2cc 88%, #ffd9b0 100%); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; will-change: opacity; }
.sun { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: -2; will-change: transform, opacity; opacity: 0; pointer-events: none; }
.sun i { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate3d(-50%, -50%, 0); }
.sun .core { width: 120px; height: 120px; background: radial-gradient(circle, #fff 0 24%, #fff3d6 34%, rgba(255, 214, 150, .85) 46%, rgba(255, 170, 90, 0) 70%); }
.sun .halo { width: 760px; height: 760px; background: radial-gradient(circle, rgba(255, 196, 120, .55), rgba(255, 150, 70, .18) 35%, transparent 65%); }
.sun .flare { width: 1600px; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 244, 220, .95), rgba(255, 200, 130, .35) 40%, transparent); }
.earth, .earth-fallback { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.4s var(--ease); touch-action: pan-y; cursor: grab; }
.earth.dragging { cursor: grabbing; }
.earth.ready, .earth-fallback.ready { opacity: 1; }
.earth-fallback { width: min(56vw, 760px); height: auto; inset: auto; right: -4vw; top: 50%; transform: translate3d(0, -50%, 0); border-radius: 50%; }
.haze { position: absolute; inset: auto 0 0 0; height: 26%; z-index: 0; pointer-events: none; background: linear-gradient(transparent, #eef4fb); opacity: 0; will-change: opacity; }

.scene { position: relative; height: 100%; z-index: 2; pointer-events: none; }
.act { position: absolute; will-change: transform, opacity; pointer-events: auto; }
.act-a { left: 22px; top: 0; bottom: 0; max-width: 620px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 40px; }
.act-b { left: 0; right: 0; top: 12%; width: min(900px, calc(100% - 44px)); margin: 0 auto; text-align: center; opacity: 0; visibility: hidden; }
.act-b .kicker { color: #b4560a; font-weight: 800; }
.act-b h2 { color: var(--ink); }
.act-b .sub { color: var(--ink-2); margin-bottom: 28px; }
.act-b .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: var(--r-pill); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); font-size: .85rem; font-weight: 650; margin: 0 0 26px; color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 207, 152, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(63, 207, 152, 0); } }
h1 { font-size: var(--step-hero); line-height: .96; letter-spacing: -.035em; margin-bottom: 24px; text-wrap: balance; }
.lead { font-size: var(--step-lead); max-width: 36ch; color: var(--ink-2); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; z-index: 2; transform: translate3d(-50%, 0, 0); display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 650; letter-spacing: .06em; color: var(--ink-3); margin: 0; will-change: opacity; }
.mouse { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); position: relative; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate3d(0, 12px, 0); opacity: 0; } }

/* Markers riding the globe */
.markers { position: absolute; inset: 0; pointer-events: none; z-index: 1; will-change: opacity; }
.marker { position: absolute; left: 0; top: 0; pointer-events: auto; background: none; border: 0; padding: 0; cursor: pointer; color: #eef2fb; font: inherit; will-change: transform, opacity; }
.marker .dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(255, 210, 138, .25), 0 0 16px 4px rgba(255, 170, 80, .7); position: relative; }
.marker .dot::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255, 210, 138, .6); animation: ring 2.6s var(--ease) infinite; animation-delay: var(--delay, 0s); }
@keyframes ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.marker .tag { position: absolute; left: 18px; top: 50%; transform: translate3d(0, -50%, 0); white-space: nowrap; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(16, 22, 38, .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(190, 210, 255, .14), 0 8px 20px rgba(0, 0, 0, .35); font-size: .82rem; font-weight: 700; transition: transform .35s var(--spring), opacity .3s, background .3s; }
.marker .tag small { color: #9aa6bf; font-weight: 600; margin-left: 6px; }
.marker.quiet .tag { opacity: 0; transform: translate3d(0, -50%, 0) scale(.9); pointer-events: none; }
.marker:hover .tag, .marker.open .tag { background: rgba(26, 34, 56, .85); transform: translate3d(0, -50%, 0) scale(1.06); }
.marker .mcard { position: absolute; left: 18px; bottom: 22px; width: 272px; padding: 14px 16px; border-radius: 18px; background: rgba(10, 15, 27, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 210, 138, .22), 0 20px 50px rgba(0, 0, 0, .55); text-align: left; opacity: 0; transform: translate3d(0, 8px, 0) scale(.96); transform-origin: 0 100%; transition: opacity .3s, transform .4s var(--spring); pointer-events: none; }
.marker .mcard .what { display: block; font-size: .9rem; font-weight: 650; margin-bottom: 10px; color: #eef2fb; }
.marker .mcard dl { margin: 0; display: grid; gap: 6px; }
.marker .mcard dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 750; }
.marker .mcard dd { margin: 0 0 4px; font-size: .84rem; color: #c8d0e0; line-height: 1.4; }
.marker.flip .tag { left: auto; right: 18px; }
.marker.flip .mcard { left: auto; right: 18px; transform-origin: 100% 100%; }
.marker:hover .mcard, .marker.open .mcard, .marker:focus-visible .mcard { opacity: 1; transform: none; }
.marker:hover, .marker.open { z-index: 3; }

@media (max-width: 900px) {
  .act-a { left: 0; right: 0; top: auto; bottom: 60px; max-width: none; padding: 0 22px; text-align: center; align-items: center; justify-content: flex-end; }
  .act-a .lead { margin: 0 auto 0; font-size: 1rem; }
  .act-a .stores { justify-content: center; margin: 16px 0 10px; flex-wrap: nowrap; gap: 8px; }
  .act-a .btn.store { padding: 8px 12px; min-height: 50px; gap: 8px; border-radius: 14px; }
  .act-a .btn.store .lbl { font-size: .95rem; }
  .act-a .btn.store svg { width: 20px; height: 20px; }
  .act-a .eyebrow { margin-bottom: 14px; }
  h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); margin-bottom: 14px; }
  .act-b { top: 11%; }
  .marker .mcard { width: 220px; }
  .earth-fallback { width: 86vw; right: 7vw; top: 30%; }
}
@media (max-width: 900px) and (max-height: 760px) { .act-a .lead { display: none; } }
@media (max-width: 900px) { .act-a .lead { font-size: .95rem; max-width: 34ch; } }

/* ===================================================================== DAYLIGHT */
.daylight { position: relative; background:
  radial-gradient(50% 40% at 85% 6%, var(--glow-b), transparent 70%),
  radial-gradient(40% 30% at 8% 30%, var(--glow-a), transparent 70%),
  radial-gradient(45% 30% at 90% 70%, var(--glow-a), transparent 70%),
  linear-gradient(180deg, #eef4fb 0%, #f4f8fd 40%, #f7f3ec 100%); color: var(--ink); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.split.flip .copy { order: 2; }
.split h2 { text-align: left; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip .copy { order: 0; } }

.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.points li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.points li:hover { background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow); transform: translate3d(6px, 0, 0); }
.points .ico { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 14%, white); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 25%, transparent); }
.points b { display: block; font-size: 1.02rem; margin-bottom: 2px; color: var(--ink); }
.points p { margin: 0; font-size: .95rem; }

.visual { position: relative; }
.shot { display: block; border-radius: 26px; box-shadow: var(--shot-shadow), 0 0 0 1px rgba(13, 21, 38, .06); will-change: transform; }
.stack-shots { aspect-ratio: 1 / 1.02; }
.stack-shots .shot-back { position: absolute; left: 0; top: 4%; width: 74%; }
.stack-shots .shot-front { position: absolute; right: 0; top: 0; width: 46%; }
.plan-visual { display: flex; justify-content: center; }
.plan-visual .shot { width: min(100%, 480px); }
.callout { position: absolute; z-index: 2; padding: 9px 14px; border-radius: var(--r-pill); font-size: .84rem; font-weight: 750; color: var(--ink); background: var(--glass-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow); white-space: nowrap; will-change: transform; }
.callout::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); vertical-align: 1px; }
.c1 { right: 30%; top: 46%; } .c2 { right: -2%; top: 62%; }
.c3 { left: -4%; top: 30%; } .c4 { right: -6%; top: 64%; } .c5 { left: -6%; bottom: 10%; }
@media (max-width: 900px) { .c1, .c3 { left: 0; right: auto; } .c2, .c4 { right: 0; } }

/* Venture chat */
.chat { max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r-lg); background: linear-gradient(180deg, #0c1222, #111a2e); box-shadow: var(--shot-shadow), inset 0 0 0 1px rgba(255, 255, 255, .06); color: #eef2fb; min-height: 520px; justify-content: flex-end; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 12px; margin-bottom: auto; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.chat-head b { font-size: .98rem; } .chat-head small { color: #8f9bb2; font-size: .8rem; }
.orb { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9cc8ff, #3d6ce6 55%, #2a3a9e); box-shadow: 0 0 16px rgba(80, 140, 255, .6); }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 18px; font-size: .95rem; opacity: 0; transform: translate3d(0, 10px, 0) scale(.98); transition: opacity .4s, transform .5s var(--spring); }
.msg.show { opacity: 1; transform: none; }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, #3d7bff, #6bb4ff); color: #fff; border-bottom-right-radius: 6px; font-weight: 600; }
.msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); border-bottom-left-radius: 6px; }
.msg.typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg.typing.gone { display: none; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8f9bb2; animation: dots 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { transform: translate3d(0, -5px, 0); opacity: 1; } 0%, 60%, 100% { opacity: .4; } }
.answer p { color: #eef2fb; margin: 0 0 10px; }
.answer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.answer li { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); opacity: 0; transform: translate3d(-8px, 0, 0); transition: opacity .4s, transform .5s var(--spring), background .25s; }
.answer li.show { opacity: 1; transform: none; }
.answer li:hover { background: rgba(255, 210, 138, .1); }
.answer li b { font-size: .92rem; } .answer li span { grid-column: 1; font-size: .8rem; color: #9aa6bf; }
.answer li em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: .76rem; font-weight: 750; color: var(--gold); padding: 5px 10px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px rgba(255, 210, 138, .35); }
.ask { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 10px 10px 16px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: .9rem; color: #6c7790; }
.ask .caret { width: 1.5px; height: 18px; background: var(--gold); animation: blink 1s steps(1) infinite; margin-right: auto; }
@keyframes blink { 50% { opacity: 0; } }
.ask .send { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ffe2a8, var(--gold-2)); color: #1d1206; font-weight: 800; }
.replay { margin-top: 4px; }

/* Bento (on the trip) */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 50px; }
@media (max-width: 980px) { .bento { grid-template-columns: minmax(0, 1fr); } }
.tile { border-radius: var(--r-lg); padding: 26px; overflow: hidden; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow); display: flex; flex-direction: column; gap: 20px; transition: transform .5s var(--ease), box-shadow .4s; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tile:hover { transform: translate3d(0, -4px, 0); }
.tile-head h3 { margin: 0 0 6px; }
.tile-head p { margin: 0; font-size: .95rem; }
.stack { position: relative; height: 220px; display: grid; place-items: center; margin-top: auto; }
.stack figure { position: absolute; margin: 0; width: 52%; max-width: 230px; padding: 8px 8px 30px; background: #fffaf0; border-radius: 6px; box-shadow: 0 18px 40px rgba(20, 40, 80, .28); transform: translate3d(calc(var(--x) * .4), 0, 0) rotate(calc(var(--r) * .5)); transition: transform .6s var(--spring); }
.stack figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.stack figcaption { position: absolute; left: 0; right: 0; bottom: 7px; text-align: center; color: #3a3326; font: italic 600 .8rem var(--font-display); }
.postcards:hover .stack figure { transform: translate3d(calc(var(--x) * 1.8), -6px, 0) rotate(calc(var(--r) * 1.4)); }
.scan { display: grid; place-items: center; margin-top: auto; }
.clip { position: relative; width: 168px; aspect-ratio: 9 / 14; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 6px #0d1526, 0 26px 50px -18px rgba(20, 40, 80, .6); }
.clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip .bar { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(transparent, rgba(107, 180, 255, .55), transparent); animation: scan 2.6s ease-in-out infinite; will-change: transform; }
@keyframes scan { 0% { transform: translate3d(0, -100%, 0); } 100% { transform: translate3d(0, 340%, 0); } }
.clip .tag { position: absolute; left: 8px; right: 8px; bottom: 10px; padding: 7px 8px; border-radius: 11px; font-size: .7rem; font-weight: 750; color: #fff; background: rgba(8, 12, 22, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-align: center; animation: found 2.6s ease-in-out infinite; }
@keyframes found { 0%, 45% { opacity: 0; transform: translate3d(0, 6px, 0); } 60%, 100% { opacity: 1; transform: none; } }
.tilt { width: 100%; border-radius: 18px; display: block; margin-top: auto; transform: perspective(700px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .4s var(--ease); box-shadow: 0 20px 40px -14px rgba(20, 40, 80, .5); }

/* Cursor spotlight on cards */
.spot { position: relative; }
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .4s; background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), color-mix(in srgb, var(--accent-2) 70%, transparent), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::after { opacity: 1; }

/* Looks */
.looks { max-width: 940px; margin: 0 auto; }
.look-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.look-tabs button { display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer; padding: 10px 18px; border-radius: var(--r-pill); font: 700 .92rem var(--font-body); color: var(--ink-2); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); transition: color .25s, background .25s, box-shadow .25s, transform .3s var(--spring); }
.look-tabs button i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.look-tabs button:hover { color: var(--ink); transform: translate3d(0, -2px, 0); }
.look-tabs button[aria-selected="true"] { color: var(--ink); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow); }
.look-frame { --split: 50%; position: relative; aspect-ratio: 960 / 820; border-radius: 30px; overflow: hidden; background: #000; box-shadow: var(--shot-shadow); cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.look-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.look-top { clip-path: inset(0 0 0 var(--split)); }
.look-line { position: absolute; top: -10%; bottom: -10%; left: var(--split); width: 2px; margin-left: -1px; background: linear-gradient(transparent, #fff 15%, #fff 85%, transparent); box-shadow: 0 0 18px 3px rgba(255, 220, 160, .85), 0 0 60px 8px rgba(255, 170, 80, .45); transform: skewX(-6deg); }
.look-line .grip { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(10, 14, 26, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 8px 24px rgba(0, 0, 0, .5); font-weight: 800; transform: skewX(6deg); }
.look-frame.wiping .look-line { transition: left .9s cubic-bezier(.65, 0, .35, 1); }
.look-frame.wiping .look-top { transition: clip-path .9s cubic-bezier(.65, 0, .35, 1); }
.look-name { position: absolute; left: 22px; bottom: 20px; padding: 12px 16px; border-radius: 16px; background: rgba(8, 12, 22, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); display: flex; flex-direction: column; color: #eef2fb; }
.look-name b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.look-name span { font-size: .82rem; color: #aab4c9; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 46px auto 0; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.card { border-radius: var(--r-lg); padding: 30px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--glass-edge), var(--shadow); color: var(--ink); }
.compare .card { display: flex; flex-direction: column; }
.compare .card .btn { align-self: flex-start; margin-top: 22px; }
.compare .app { background: linear-gradient(160deg, #fff6e8, #ffffff 55%); box-shadow: inset 0 0 0 1px rgba(217, 119, 31, .35), 0 40px 90px -40px rgba(217, 119, 31, .45); }
.compare ul { list-style: none; padding: 0; margin: 6px 0 0; flex: 1; }
.compare li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.compare li:last-child { border-bottom: 0; }
.yes::before { content: '✓'; color: var(--mint); font-weight: 800; margin-right: 12px; }
.no { color: var(--ink-3) !important; }
.no::before { content: '—'; margin-right: 12px; }

/* ===================================================================== DUSK FINALE */
.finale { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; text-align: center; background: #03050b; color: var(--ink); padding: clamp(110px, 15vh, 170px) 0 0; }
.horizon { position: absolute; left: 50%; bottom: 0; width: max(100%, 1500px); aspect-ratio: 2400 / 1100; z-index: -1; background: url(/img/horizon.jpg) center bottom / cover no-repeat; transform: translate3d(-50%, 0, 0); will-change: transform; }
.horizon::before { content: ''; position: absolute; inset: 0; background: linear-gradient(#03050b, rgba(3, 5, 11, 0) 34%); }
.finale-copy { position: relative; }
.finale h2 { display: flex; flex-direction: column; align-items: center; line-height: .9; }
.finale h2 .small { font-family: var(--font-body); font-weight: 650; font-size: clamp(1.6rem, 3.5vw, 2.6rem); letter-spacing: -.01em; color: #f4f6ff; }
.finale h2 .big { font-size: clamp(4.4rem, 12vw, 9.4rem); font-style: normal; font-weight: 620; }
.finale .sub { color: #c5cde0; margin-bottom: 0; }

/* Footer */
footer { padding: 44px 0 56px; color: var(--ink-3); font-size: .88rem; border-top: 1px solid var(--line); background: var(--bg); }
footer .row { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }
.credits { flex-basis: 100%; font-size: .78rem; }

/* Cursor glow (desktop) */
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(255, 190, 110, .08), transparent 60%); transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); will-change: transform; }
@media (hover: none) { .cursor-glow { display: none; } }

/* Reveals are driven by GSAP; without it (or with reduced motion) everything just shows. */
.js-motion .reveal:not(.in) { opacity: 0; transform: translate3d(0, 28px, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .msg, .answer li { opacity: 1; transform: none; }
}

/* ===================================================================== LEGAL & HELP PAGES */
.prose { max-width: 760px; margin: 0 auto; padding: 56px 22px 80px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; }
.prose h2 { font-size: 1.5rem; text-align: left; margin: 2em 0 .5em; }
.prose h3 { font-size: 1.12rem; margin: 1.4em 0 .4em; }
.prose p, .prose li { color: #c8d0e0; }
.prose a { color: var(--accent); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose .meta { color: var(--ink-2); font-weight: 700; }
.prose .card { margin: 1.2em 0; padding: 18px 22px; border-radius: 20px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; color: #c8d0e0; }
.prose th { font-weight: 800; color: var(--ink); }
@media (max-width: 600px) { .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; } .prose thead { display: none; } .prose td { border: 0; padding: 4px 0; } .prose tr { border-bottom: 1px solid var(--line); padding: 8px 0; } }
