/* Let’s Book One — placeholder landing page.
   Palette follows docs/16-design-system.md; dark theme via :root[data-theme='dark']. */

:root {
  --canvas: #f2f7fc;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --raised: #ffffff;
  --ink: #0f1d34;
  --slate: #626f82;
  --border: #dfe6ef;
  --border-strong: #c3cedd;
  --cobalt: #2f68e8;
  --cobalt-fill: #2f68e8;
  --cobalt-fill-hover: #2356c7;
  --on-cobalt: #ffffff;
  --brand: #0434d1;
  --verdant: #087e65;
  --verdant-bg: #e6f7f2;
  --verdant-fill: #087e65;
  --amber: #d97706;
  --amber-text: #a85d08;
  --amber-bg: #fffbeb;
  --inverse: #0f1d34;
  --on-inverse: #ffffff;
  --shadow: 15 29 52;

  /* feature palette */
  --sky: #cfe0ff;
  --violet: #e5ddff;
  --mint: #d4f5ea;
  --aurora-1: rgba(47, 104, 232, 0.26);
  --aurora-2: rgba(140, 110, 255, 0.2);
  --aurora-3: rgba(63, 204, 164, 0.16);
  --route: rgba(47, 104, 232, 0.28);
  --plane: #0434d1;
  --dot: rgba(15, 29, 52, 0.09);
  --final-bg: #0434d1;
  --final-bg-2: #0a1f8f;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1240px;
  color-scheme: light;
}

:root[data-theme='dark'] {
  --canvas: #0b1321;
  --surface: #121c2e;
  --surface-2: #172338;
  --raised: #1b2941;
  --ink: #e6ecf5;
  --slate: #9ba8bc;
  --border: #26344b;
  --border-strong: #3a4b68;
  --cobalt: #7fa5ff;
  --cobalt-fill: #2f68e8;
  --cobalt-fill-hover: #285bd4;
  --brand: #8fb0ff;
  --verdant: #3fcca4;
  --verdant-bg: #0f2e2a;
  --verdant-fill: #0b7a62;
  --amber: #f2a541;
  --amber-text: #f5b865;
  --amber-bg: #35270f;
  --inverse: #1b2941;
  --on-inverse: #e6ecf5;
  --shadow: 0 0 0;

  --sky: #1c3260;
  --violet: #2a2350;
  --mint: #123a33;
  --aurora-1: rgba(47, 104, 232, 0.3);
  --aurora-2: rgba(120, 90, 255, 0.2);
  --aurora-3: rgba(63, 204, 164, 0.12);
  --route: rgba(127, 165, 255, 0.24);
  --plane: #a4bfff;
  --dot: rgba(230, 236, 245, 0.07);
  --final-bg: #10275e;
  --final-bg-2: #0b1321;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: none !important; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }

/* brand marks swap with the theme, never recoloured */
.mark-white { display: none; }
:root[data-theme='dark'] .mark-blue { display: none; }
:root[data-theme='dark'] .mark-white { display: block; }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--cobalt-fill), #8c6eff, #3fcca4); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.scrolled {
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; margin-left: -6px; }
.brand-mark img { width: 40px; height: 40px; }
.wordmark { font-size: 19px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--slate); font-weight: 500; font-size: 15px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--cobalt) 9%, transparent); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.nav + .header-actions { margin-left: 8px; }
.chip-btn, .icon-btn {
  height: 38px; min-width: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 80%, transparent); font-weight: 700; font-size: 13px; letter-spacing: .04em;
  display: inline-grid; place-items: center; transition: border-color .2s, transform .2s var(--ease-spring);
}
.icon-btn { padding: 0; }
.chip-btn:hover, .icon-btn:hover { border-color: var(--cobalt); }
.chip-btn:active, .icon-btn:active { transform: scale(.94); }
.theme-toggle .i { grid-area: 1 / 1; transition: transform .5s var(--ease-spring), opacity .3s; }
.theme-toggle .i-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme='dark'] .theme-toggle .i-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
:root[data-theme='dark'] .theme-toggle .i-moon { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; border: 1px solid transparent; position: relative; overflow: hidden;
  transition: transform .25s var(--ease-spring), background-color .2s, border-color .2s, box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--cobalt-fill); color: var(--on-cobalt); box-shadow: 0 10px 30px -10px rgb(47 104 232 / .7); }
.btn-primary:hover { background: var(--cobalt-fill-hover); transform: translateY(-2px); }
.btn-primary .i { transition: transform .3s var(--ease-spring); }
.btn-primary:hover .i { transform: translateX(4px); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .35), transparent);
  animation: sheen 4.5s 2s infinite;
}
@keyframes sheen { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(160%) skewX(-20deg); } }
.btn-ghost { background: color-mix(in srgb, var(--surface) 70%, transparent); border-color: var(--border-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--cobalt); transform: translateY(-2px); }
.btn-ghost:hover .i { animation: spin-back .7s var(--ease-out); }
@keyframes spin-back { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
.btn-light { background: #fff; color: #0434d1; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgb(0 0 0 / .5); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 120px 0 88px; display: flex; align-items: center; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.a1 { width: 620px; height: 620px; background: var(--aurora-1); top: -180px; right: -120px; animation: drift1 18s ease-in-out infinite alternate; }
.a2 { width: 520px; height: 520px; background: var(--aurora-2); bottom: -160px; left: -140px; animation: drift2 22s ease-in-out infinite alternate; }
.a3 { width: 420px; height: 420px; background: var(--aurora-3); top: 34%; left: 38%; animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-120px, 120px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(140px, -80px) scale(1.18); } }
@keyframes drift3 { to { transform: translate(-160px, -60px) scale(.9); } }
.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.3px); background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.route { fill: none; stroke: var(--route); stroke-width: 1.6; stroke-dasharray: 2 9; stroke-linecap: round; animation: march 3s linear infinite; }
@keyframes march { to { stroke-dashoffset: -22; } }
.plane { fill: var(--plane); opacity: .75; }
.city circle { fill: var(--cobalt); }
.city .ring { fill: none; stroke: var(--cobalt); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 3.2s var(--ease-out) infinite; }
.city .r2 { animation-delay: 1.1s; }
.city .r3 { animation-delay: 2.1s; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(6); opacity: 0; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
.hero-title { font-size: clamp(44px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 900; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-in { display: inline-block; }
.js .line-in { transform: translateY(105%); animation: rise 1s var(--ease-out) forwards; animation-delay: calc(var(--d) * 110ms + 150ms); }
@keyframes rise { to { transform: none; } }
.hl {
  font-style: normal; position: relative; white-space: nowrap;
  background: linear-gradient(100deg, var(--cobalt-fill) 0%, #7a5cff 45%, #1fb58f 75%, var(--cobalt-fill) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hue-flow 8s ease-in-out infinite alternate;
}
:root[data-theme='dark'] .hl { background-image: linear-gradient(100deg, #7fa5ff 0%, #b49bff 45%, #3fcca4 75%, #7fa5ff 100%); }
@keyframes hue-flow { to { background-position: 100% 0; } }
.hl-underline { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; pointer-events: none; }
.hl-underline path { fill: none; stroke: var(--cobalt-fill); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; opacity: .55; animation: draw 1.2s 1.05s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { margin-top: 24px; font-size: clamp(17px, 1.45vw, 20px); color: var(--slate); max-width: 560px; line-height: 1.6; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--slate); font-size: 15px; font-weight: 500; }
.hero-tags li { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags .i { width: 16px; height: 16px; color: var(--cobalt); }

.js .reveal-load { opacity: 0; transform: translateY(18px); animation: fade-up .9s var(--ease-out) forwards; animation-delay: calc(var(--d) * 110ms + 200ms); }
@keyframes fade-up { to { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--border-strong); border-radius: 14px; display: grid; justify-items: center; padding-top: 7px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--cobalt); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- chat demo ---------- */
.demo-wrap { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.demo {
  position: relative; height: 640px; display: flex; flex-direction: column; overflow: hidden;
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--border);
  border-radius: 28px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 40px 90px -30px rgb(var(--shadow) / .38), 0 12px 30px -16px rgb(var(--shadow) / .2);
  transform: perspective(1400px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .5s var(--ease-out);
}
:root[data-theme='dark'] .demo { box-shadow: 0 1px 0 rgb(255 255 255 / .05) inset, 0 40px 90px -30px rgb(0 0 0 / .7); }
.demo-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.demo-avatar { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.demo-avatar img { width: 34px; height: 34px; }
.demo-id { display: grid; line-height: 1.2; }
.demo-id strong { font-size: 15px; }
.demo-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--slate); }
.demo-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--verdant); }
.demo.thinking .demo-status i { background: var(--cobalt); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.demo-badge { margin-left: auto; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cobalt); background: color-mix(in srgb, var(--cobalt) 12%, transparent); padding: 5px 10px; border-radius: 999px; }

.demo-thread {
  flex: 1; overflow-y: auto; overflow-x: hidden; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: none; scroll-behavior: smooth; transition: opacity .5s, filter .5s;
  mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 100%);
}
.demo-thread::-webkit-scrollbar { display: none; }
.demo-thread.fading { opacity: 0; filter: blur(6px); }

.msg { max-width: 88%; font-size: 14.5px; line-height: 1.5; animation: pop-in .5s var(--ease-spring) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.msg.user { align-self: flex-end; background: var(--cobalt-fill); color: var(--on-cobalt); padding: 10px 14px; border-radius: 18px 18px 6px 18px; transform-origin: 100% 100%; }
.msg.ai { align-self: flex-start; color: var(--ink); background: var(--surface-2); border: 1px solid var(--border); padding: 10px 14px; border-radius: 18px 18px 18px 6px; transform-origin: 0 100%; }
.msg.ai .w { opacity: 0; animation: word-in .35s ease forwards; }
@keyframes word-in { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
.msg.block { max-width: 100%; width: 100%; }

.thinking-row { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; color: var(--slate); animation: pop-in .4s var(--ease-spring) both; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); animation: bounce 1.1s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.think-text { display: inline-block; min-width: 0; background: linear-gradient(90deg, var(--slate) 0%, var(--ink) 50%, var(--slate) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.6s linear infinite; }
.think-text.swap { animation: shimmer 1.6s linear infinite, swap-in .35s ease; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes swap-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* hotel cards in chat */
.hcards { display: flex; gap: 10px; width: max-content; transition: transform 1.4s var(--ease-out); }
.hcards-wrap { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.hcard { width: 170px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; animation: card-in .6s var(--ease-spring) both; animation-delay: calc(var(--i) * 140ms); }
@keyframes card-in { from { opacity: 0; transform: translateX(30px) scale(.94); } to { opacity: 1; transform: none; } }
.hcard.best { border-color: color-mix(in srgb, var(--cobalt) 60%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cobalt) 16%, transparent); }
.hphoto { height: 84px; position: relative; overflow: hidden; }
.hphoto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%); transform: translateX(-100%); animation: photo-sheen 3.5s 1s infinite; }
@keyframes photo-sheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.p1 { background: radial-gradient(circle at 75% 30%, #ffd59a 0 14%, transparent 15%), linear-gradient(180deg, #ff9f7a 0%, #ffcf9f 48%, #3d78d8 49%, #2c5fb7 100%); }
.p2 { background: repeating-linear-gradient(45deg, transparent 0 9px, rgb(255 255 255 / .22) 9px 11px), repeating-linear-gradient(-45deg, transparent 0 9px, rgb(255 255 255 / .22) 9px 11px), linear-gradient(160deg, #3f7de8, #1f3fa8); }
.p3 { background: linear-gradient(180deg, transparent 55%, #e9d7bd 55%), radial-gradient(ellipse 120% 80% at 50% 100%, #f6b26b 0 30%, transparent 31%), linear-gradient(180deg, #8ec5ff, #d7ebff); }
.p4 { background: linear-gradient(160deg, #7ad3b8, #1f7f6a); }
.hbadge { position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #0f1d34; background: rgb(255 255 255 / .92); padding: 3px 8px; border-radius: 999px; }
.hbadge .i { width: 12px; height: 12px; fill: #f2a541; stroke: #f2a541; }
.hbody { padding: 10px 11px 11px; }
.hname { font-weight: 700; font-size: 13.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hmeta { font-size: 11.5px; color: var(--slate); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrow { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.score { font-family: var(--mono); font-size: 12px; font-weight: 600; color: #fff; background: var(--verdant-fill); padding: 2px 6px; border-radius: 6px; }
.hprice { font-size: 12px; color: var(--slate); }
.hprice b { font-family: var(--mono); color: var(--ink); font-size: 14px; }
.htotal { font-size: 11px; color: var(--slate); margin-top: 2px; }

/* lens card in chat */
.lens { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; animation: card-in .6s var(--ease-spring) both; }
.lens-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.lens-head .i { width: 16px; height: 16px; color: var(--cobalt); }
.lens-head .delta { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--amber-text); background: var(--amber-bg); padding: 2px 8px; border-radius: 999px; }
.lens ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.lens li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; opacity: 0; animation: li-in .4s var(--ease-out) forwards; animation-delay: calc(var(--i) * 260ms + 300ms); }
@keyframes li-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.lens li .i { width: 15px; height: 15px; margin-top: 2px; }
.lens li.pos .i { color: var(--verdant); }
.lens li.neg { color: var(--amber-text); }
.lens li.neg .i { color: var(--amber); }

/* flight card */
.fcard { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; animation: card-in .6s var(--ease-spring) both; }
.fhead { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 600; font-size: 18px; }
.fline { flex: 1; height: 2px; position: relative; background: repeating-linear-gradient(90deg, var(--border-strong) 0 5px, transparent 5px 9px); }
.fline .i { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; color: var(--cobalt); transform: translate(-50%, -50%) rotate(45deg); animation: fly 1.8s .3s var(--ease-out) forwards; }
@keyframes fly { to { left: calc(100% - 10px); } }
.ftimes { display: flex; justify-content: space-between; font-size: 12px; color: var(--slate); margin-top: 6px; }
.ftimes .dur { color: var(--verdant); font-weight: 700; }
.ffoot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--slate); }
.ffoot b { font-family: var(--mono); font-size: 14px; color: var(--ink); }

/* confirm card */
.confirm { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; animation: card-in .6s var(--ease-spring) both; }
.c-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.c-title .i { width: 16px; height: 16px; color: var(--cobalt); }
.c-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--slate); padding: 3px 0; }
.c-row b, .c-total b { font-family: var(--mono); color: var(--ink); font-weight: 600; }
.c-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border); }
.c-total b { font-size: 16px; }
.c-check { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--verdant); font-weight: 500; }
.c-check .i { width: 14px; height: 14px; }
.c-check.spin .i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.c-btn { margin-top: 12px; width: 100%; height: 42px; border-radius: 12px; border: 0; display: grid; place-items: center; background: var(--cobalt-fill); color: var(--on-cobalt); font-weight: 700; font-size: 14px; position: relative; overflow: hidden; transition: background-color .3s, transform .15s; }
.c-btn > * { grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease-spring); }
.c-btn .cb-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .35); border-top-color: #fff; opacity: 0; animation: spin .8s linear infinite; }
.c-btn .cb-done { display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: scale(.6); }
.c-btn .cb-done .i { width: 16px; height: 16px; stroke-width: 3; }
.c-btn.pressed { transform: scale(.96); }
.c-btn.loading .cb-label { opacity: 0; transform: translateY(-8px); }
.c-btn.loading .cb-spin { opacity: 1; }
.c-btn.done { background: var(--verdant-fill); }
.c-btn.done .cb-label, .c-btn.done .cb-spin { opacity: 0; }
.c-btn.done .cb-done { opacity: 1; transform: none; }
.ripple { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: rgb(255 255 255 / .55); animation: ripple .7s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(18); opacity: 0; } }

/* ticket */
.ticket { display: flex; border-radius: 16px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #0434d1, #2f68e8 60%, #6b8dff); animation: ticket-in .8s var(--ease-spring) both; position: relative; }
@keyframes ticket-in { from { opacity: 0; transform: perspective(600px) rotateX(-70deg); transform-origin: top; } to { opacity: 1; transform: none; } }
.t-main { flex: 1; padding: 12px 14px; }
.t-kicker { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.t-route { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 20px; font-weight: 600; margin-top: 4px; }
.t-route .i { width: 16px; height: 16px; transform: rotate(45deg); }
.t-meta { font-size: 11.5px; opacity: .9; margin-top: 4px; }
.t-stub { width: 92px; border-left: 2px dashed rgb(255 255 255 / .45); padding: 12px 10px; display: grid; align-content: center; justify-items: center; gap: 4px; position: relative; }
.t-stub::before, .t-stub::after { content: ''; position: absolute; left: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); }
.t-stub::before { top: -8px; }
.t-stub::after { bottom: -8px; }
.t-ref { font-family: var(--mono); font-size: 11px; font-weight: 600; }
.t-stamp { font-size: 11px; font-weight: 900; letter-spacing: .1em; border: 2px solid #fff; padding: 2px 6px; border-radius: 6px; transform: rotate(-8deg) scale(2.4); opacity: 0; animation: stamp .5s .45s var(--ease-spring) forwards; }
@keyframes stamp { to { transform: rotate(-8deg) scale(1); opacity: 1; } }

/* composer */
.demo-composer { padding: 10px 12px 14px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.modes { display: flex; gap: 6px; margin-bottom: 8px; }
.mode { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; color: var(--slate); border: 1px solid var(--border); transition: all .3s; }
.mode.on { color: var(--on-cobalt); background: var(--cobalt-fill); border-color: var(--cobalt-fill); }
.composer-row { display: flex; align-items: center; gap: 8px; }
.composer-input { flex: 1; min-height: 44px; display: flex; align-items: center; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); font-size: 14px; position: relative; transition: border-color .25s, box-shadow .25s; overflow: hidden; }
.composer-input.active { border-color: var(--cobalt); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cobalt) 15%, transparent); }
.composer-input .ph { color: var(--slate); position: absolute; left: 14px; transition: opacity .2s; }
.composer-input.has-text .ph { opacity: 0; }
.typed { white-space: pre-wrap; word-break: break-word; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--cobalt); margin-left: 1px; vertical-align: middle; animation: caret 1s steps(1) infinite; }
.composer-input:not(.active) .caret { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.c-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--slate); border: 1px solid var(--border); background: var(--surface); transition: all .3s var(--ease-spring); }
.c-icon.send { background: var(--cobalt-fill); color: var(--on-cobalt); border-color: transparent; }
.c-icon.send.ready { transform: scale(1.08); box-shadow: 0 0 0 6px color-mix(in srgb, var(--cobalt) 18%, transparent); }
.c-icon.send.fire .i { animation: fire .5s var(--ease-out); }
@keyframes fire { 50% { transform: translate(10px, -10px); opacity: 0; } 51% { transform: translate(-10px, 10px); opacity: 0; } 100% { transform: none; opacity: 1; } }

.fake-cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; z-index: 5; opacity: 0; pointer-events: none; transition: transform 1s var(--ease-out), opacity .3s; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .3)); }
.fake-cursor svg { width: 100%; height: 100%; fill: #0f1d34; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.fake-cursor.click svg { animation: click .3s ease; }
@keyframes click { 50% { transform: scale(.82); } }

.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.confetti i { position: absolute; width: 7px; height: 11px; border-radius: 2px; opacity: 0; animation: confetti 1.6s var(--ease-out) forwards; }
@keyframes confetti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
}

/* floating chips around the demo */
.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px;
  background: var(--raised); border: 1px solid var(--border); font-size: 13px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgb(var(--shadow) / .35);
  transform: translate(var(--px, 0), var(--py, 0)); transition: transform .6s var(--ease-out);
}
.float-chip > * { animation: bob 5s ease-in-out infinite; }
.float-chip .i { width: 15px; height: 15px; color: var(--verdant); }
.fc1 { top: -18px; right: 118px; }
.fc1 .i { color: var(--cobalt); }
.fc2 { top: 44%; right: -96px; }
.fc2 > * { animation-delay: -1.6s; }
.fc3 { bottom: 150px; left: -104px; }
.fc3 > * { animation-delay: -3.1s; }
.score-mini { font-family: var(--mono); font-size: 12px; color: #fff; background: var(--verdant-fill); padding: 1px 6px; border-radius: 6px; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* ---------- prompt marquee ---------- */
.prompts { padding: 56px 0 24px; overflow: hidden; }
.prompts-label { text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 24px; padding: 0 16px; }
.marquee { display: flex; overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; padding-right: 12px; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.prompt { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 15px; font-weight: 500; white-space: nowrap; transition: border-color .2s, transform .3s var(--ease-spring); }
.prompt:hover { border-color: var(--cobalt); transform: translateY(-2px); }
.prompt .i { width: 16px; height: 16px; color: var(--cobalt); }
.marquee + .marquee { margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding: 112px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 900; }
h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; font-weight: 700; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 120ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps-line { position: absolute; left: 16.6%; right: 16.6%; top: 22px; height: 2px; background: var(--border); border-radius: 2px; z-index: 0; }
.steps-line span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--cobalt-fill), #7a5cff, #1fb58f); border-radius: 2px; }
.step { position: relative; z-index: 1; text-align: center; }
.step-num { width: 46px; height: 46px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 14px; background: var(--surface); border: 2px solid var(--border); color: var(--slate); transition: all .5s var(--ease-spring); }
.step.lit .step-num { border-color: var(--cobalt-fill); background: var(--cobalt-fill); color: var(--on-cobalt); transform: scale(1.08); box-shadow: 0 0 0 8px color-mix(in srgb, var(--cobalt) 14%, transparent); }
.step-vis { height: 220px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); margin-bottom: 24px; padding: 20px; display: grid; place-items: center; overflow: hidden; position: relative; text-align: left; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--slate); font-size: 16px; max-width: 340px; margin: 0 auto; }

.vis-say { align-content: center; gap: 16px; background: radial-gradient(circle at 50% 120%, var(--sky), transparent 65%), var(--surface); }
.say-pill { width: 100%; display: flex; align-items: center; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--cobalt); background: var(--surface); font-size: 14px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cobalt) 12%, transparent); min-height: 48px; }
.say-pill .caret { margin-right: auto; }
.say-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 20px; margin-left: 8px; flex: none; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--cobalt); animation: wave 1s ease-in-out infinite; transform-origin: center; }
.wave i:nth-child(2) { animation-delay: -.2s; } .wave i:nth-child(3) { animation-delay: -.4s; } .wave i:nth-child(4) { animation-delay: -.1s; }
.wave i:nth-child(5) { animation-delay: -.5s; } .wave i:nth-child(6) { animation-delay: -.3s; } .wave i:nth-child(7) { animation-delay: -.7s; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.say-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.say-chips span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--slate); animation: chip-glow 4s infinite; }
.say-chips span:nth-child(2) { animation-delay: 1s; } .say-chips span:nth-child(3) { animation-delay: 2s; } .say-chips span:nth-child(4) { animation-delay: 3s; }
@keyframes chip-glow { 0%, 20% { color: var(--on-cobalt); background: var(--cobalt-fill); border-color: var(--cobalt-fill); } 30%, 100% { color: var(--slate); background: var(--surface-2); border-color: var(--border); } }

.vis-rank { align-content: start; justify-items: stretch; padding: 16px; }
.rank-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 700; text-align: center; margin-bottom: 10px; }
.rt { position: relative; z-index: 1; padding: 5px 4px; color: var(--slate); transition: color .3s; white-space: nowrap; }
.rt.on { color: var(--on-cobalt); }
.rt-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--cobalt-fill); transition: transform .5s var(--ease-spring); }
.vis-rank.by-value .rt-pill { transform: translateX(100%); }
.rank-list { list-style: none; margin: 0; padding: 0; position: relative; height: 148px; }
.rank-list li { position: absolute; left: 0; right: 0; height: 32px; display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 10px; padding: 0 10px; border-radius: 10px; font-size: 12.5px; font-weight: 500; background: var(--surface); border: 1px solid var(--border); transition: transform .8s var(--ease-spring), border-color .4s, background-color .4s; transform: translateY(calc(var(--pos) * 38px)); }
.rank-list li.is-pick { font-weight: 700; }
.vis-rank.by-value .rank-list li.is-pick { border-color: var(--cobalt); background: color-mix(in srgb, var(--cobalt) 8%, var(--surface)); }
.rn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.rb i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: var(--slate); opacity: .45; transition: background-color .4s, opacity .4s; }
.vis-rank.by-value .rb i { background: var(--verdant); opacity: 1; }
.rp { font-size: 12px; color: var(--slate); }

.vis-confirm { background: radial-gradient(circle at 50% 120%, var(--mint), transparent 65%), var(--surface); }
.mini-confirm { width: 100%; max-width: 260px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 18px 40px -22px rgb(var(--shadow) / .4); }
.mc-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--slate); }
.mc-row b { color: var(--ink); font-size: 16px; }
.mc-check { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--verdant); margin-top: 6px; font-weight: 500; }
.mc-check .i { width: 13px; height: 13px; }
.mc-btn { margin-top: 12px; height: 40px; border-radius: 11px; background: var(--cobalt-fill); color: var(--on-cobalt); display: grid; place-items: center; font-weight: 700; font-size: 13.5px; transition: background-color .3s, transform .2s; }
.mc-btn > * { grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease-spring); }
.mc-spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .35); border-top-color: #fff; opacity: 0; animation: spin .8s linear infinite; }
.mc-done { display: inline-flex; align-items: center; gap: 6px; opacity: 0; transform: scale(.6); }
.mc-done .i { width: 15px; height: 15px; stroke-width: 3; }
.mini-confirm.s-press .mc-btn { transform: scale(.95); }
.mini-confirm.s-load .mc-label { opacity: 0; }
.mini-confirm.s-load .mc-spin { opacity: 1; }
.mini-confirm.s-done .mc-btn { background: var(--verdant-fill); }
.mini-confirm.s-done .mc-label, .mini-confirm.s-done .mc-spin { opacity: 0; }
.mini-confirm.s-done .mc-done { opacity: 1; transform: none; }

/* value section */
.value { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--sky) 35%, transparent) 50%, transparent); }
.value-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.value-copy h2 { margin-bottom: 20px; }
.lead-sm { color: var(--slate); font-size: 18px; max-width: 520px; }
.value-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.value-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.value-points .i { width: 22px; height: 22px; color: var(--cobalt); margin-top: 1px; }

.lens-stage { padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 40px 80px -40px rgb(var(--shadow) / .35); }
.lens-cards { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.lc { padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface-2); transition: transform .8s var(--ease-spring), box-shadow .8s, border-color .8s, opacity .8s; }
.lc-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.lc-label.pick { color: var(--cobalt); }
.lc-label .i { width: 14px; height: 14px; fill: currentColor; }
.lc-name { font-weight: 700; margin-top: 8px; font-size: 16px; line-height: 1.25; }
.lc-price { font-size: 28px; font-weight: 600; margin-top: 8px; letter-spacing: -0.02em; }
.lc-sub { font-size: 13px; color: var(--slate); }
.lc-meter { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; font-size: 12.5px; color: var(--slate); font-weight: 500; }
.lc-meter b { color: var(--ink); font-size: 14px; }
.lc-meter i { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--border); position: relative; overflow: hidden; }
.lc-meter i::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: 4px; background: var(--slate); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s .3s var(--ease-out); }
.lc-pick .lc-meter i::after { background: linear-gradient(90deg, var(--verdant-fill), #3fcca4); }
.lens-stage.in .lc-meter i::after { transform: scaleX(1); }
.lens-stage.in .lc-cheap { opacity: .72; transform: scale(.96); }
.lens-stage.in .lc-pick { transform: translateY(-6px); border-color: var(--cobalt); box-shadow: 0 24px 44px -24px rgb(47 104 232 / .55), 0 0 0 4px color-mix(in srgb, var(--cobalt) 14%, transparent); background: var(--surface); }
.lc-vs span { display: inline-block; font-size: 14px; font-weight: 600; color: var(--amber-text); background: var(--amber-bg); padding: 6px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); transform: scale(0); transition: transform .6s .5s var(--ease-spring); }
.lens-stage.in .lc-vs span { transform: scale(1); }
.lens-why { margin-top: 24px; }
.lens-why-title { font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.lens-why ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lens-why li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-size: 15px; font-weight: 500; opacity: 0; transform: translateX(-16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i) * 180ms + 900ms); }
.lens-stage.in .lens-why li { opacity: 1; transform: none; }
.lens-why li .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; flex: none; }
.lens-why li.pos .i { color: var(--verdant); background: var(--verdant-bg); stroke-width: 3; }
.lens-why li.neg { color: var(--amber-text); background: var(--amber-bg); border-color: color-mix(in srgb, var(--amber) 30%, transparent); }
.lens-why li.neg .i { color: var(--amber); padding: 0; }
.src { margin-left: auto; font-style: normal; font-size: 11.5px; font-family: var(--mono); color: var(--slate); background: var(--surface); border: 1px solid var(--border); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile { --mx: 50%; --my: 50%; position: relative; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--cobalt) 12%, transparent), transparent 60%); }
.tile:hover::before { opacity: 1; }
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(300px circle at var(--mx) var(--my), var(--cobalt), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tile:hover::after { opacity: 1; }
.t-stays { grid-column: span 3; grid-row: span 2; }
.t-flights { grid-column: span 3; }
.t-voice { grid-column: span 3; }
.t-plan, .t-watch, .t-near { grid-column: span 2; }
.tile-vis { flex: 1; min-height: 170px; position: relative; display: grid; place-items: center; padding: 24px; }
.tile-copy { padding: 0 28px 28px; }
.tile h3 { margin-bottom: 6px; }
.tile p { color: var(--slate); font-size: 15.5px; }

.vis-stays { gap: 12px; align-content: center; }
.t-stays { background: radial-gradient(circle at 75% 20%, var(--violet), transparent 55%), radial-gradient(circle at 15% 60%, var(--sky), transparent 50%), var(--surface); }
.mini-hotel { width: min(360px, 100%); display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 16px 30px -22px rgb(var(--shadow) / .5); animation: float-y 6s ease-in-out infinite; }
.mini-hotel.h1 { transform: translateX(-18px); border-color: var(--cobalt); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cobalt) 12%, transparent), 0 16px 30px -22px rgb(var(--shadow) / .5); }
.mini-hotel.h2 { transform: translateX(18px); animation-delay: -2s; }
.mini-hotel.h3 { transform: translateX(-6px); animation-delay: -4s; opacity: .8; }
@keyframes float-y { 50% { translate: 0 -6px; } }
.mh-photo { height: 52px; border-radius: 12px; }
.mh-lines { display: grid; gap: 7px; }
.mh-lines i { height: 8px; border-radius: 4px; background: var(--border); }
.mh-lines i:last-child { width: 60%; }
.mh-score { font-family: var(--mono); font-size: 13px; font-weight: 600; color: #fff; background: var(--verdant-fill); padding: 3px 8px; border-radius: 8px; }

.vis-flight { padding: 18px 24px 4px; }
.arc-svg { width: 100%; max-width: 360px; overflow: visible; }
.arc { fill: none; stroke: var(--border-strong); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; }
.arc-draw { fill: none; stroke: var(--cobalt); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: arc-draw 4.5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes arc-draw { 0% { stroke-dashoffset: 320; } 100% { stroke-dashoffset: 0; } }
.arc-end { fill: var(--surface); stroke: var(--cobalt); stroke-width: 2.5; }
.arc-plane { fill: var(--cobalt); }
.arc-code { font-family: var(--mono); font-size: 12px; font-weight: 600; fill: var(--slate); }

.vis-voice { grid-auto-flow: column; justify-content: center; gap: 36px; }
.voice-orb { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt-fill); color: #fff; position: relative; }
.voice-orb .i { width: 26px; height: 26px; }
.voice-orb::before, .voice-orb::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cobalt); animation: orb 2.4s ease-out infinite; }
.voice-orb::after { animation-delay: 1.2s; }
@keyframes orb { from { transform: scale(1); opacity: .7; } to { transform: scale(2); opacity: 0; } }
.voice-bars { display: inline-flex; align-items: center; gap: 4px; height: 56px; }
.voice-bars i { width: 5px; height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--cobalt-fill), #7a5cff); animation: wave 1.1s ease-in-out infinite; }
.voice-bars i:nth-child(odd) { animation-duration: .9s; }
.voice-bars i:nth-child(3n) { animation-duration: 1.3s; }
.voice-bars i:nth-child(2) { animation-delay: -.3s; } .voice-bars i:nth-child(4) { animation-delay: -.6s; } .voice-bars i:nth-child(5) { animation-delay: -.2s; }
.voice-bars i:nth-child(7) { animation-delay: -.8s; } .voice-bars i:nth-child(8) { animation-delay: -.4s; } .voice-bars i:nth-child(10) { animation-delay: -.7s; } .voice-bars i:nth-child(11) { animation-delay: -.1s; }

.vis-plan { place-items: stretch; align-content: center; }
.plan-list { list-style: none; margin: 0; padding: 0 0 0 18px; display: grid; gap: 10px; position: relative; }
.plan-list::before { content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.plan-list li { position: relative; display: grid; font-size: 13.5px; line-height: 1.3; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--n) * 160ms + 200ms); }
.plan-list li:nth-child(1) { --n: 0; } .plan-list li:nth-child(2) { --n: 1; } .plan-list li:nth-child(3) { --n: 2; } .plan-list li:nth-child(4) { --n: 3; }
.plan-list li::before { content: ''; position: absolute; left: -18px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--cobalt); }
.plan-list b { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); }
.plan-list span { color: var(--ink); font-weight: 500; }
.tile.in .plan-list li, .no-js .plan-list li { opacity: 1; transform: none; }

.vis-watch { place-items: end stretch; padding: 24px 0 0; }
.watch-svg { width: 100%; height: 120px; display: block; }
.watch-area { fill: color-mix(in srgb, var(--verdant) 14%, transparent); }
.watch-line { fill: none; stroke: var(--verdant); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2s var(--ease-out); }
.tile.in .watch-line { stroke-dashoffset: 0; }
.watch-dot { fill: var(--surface); stroke: var(--verdant); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: dot-pulse 2s 2s ease-in-out infinite; }
@keyframes dot-pulse { 50% { transform: scale(1.4); } }
.watch-bell { position: absolute; top: 24px; right: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--verdant-bg); color: var(--verdant); font-size: 13px; font-weight: 700; }
.watch-bell .i { width: 15px; height: 15px; transform-origin: 50% 0; animation: ring 3s 2.2s ease-in-out infinite; }
@keyframes ring { 0%, 20%, 100% { transform: rotate(0); } 4% { transform: rotate(18deg); } 8% { transform: rotate(-16deg); } 12% { transform: rotate(10deg); } 16% { transform: rotate(-6deg); } }

.vis-near { padding: 16px; }
.map { position: relative; width: 100%; height: 150px; border-radius: 16px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.road { position: absolute; background: var(--border); }
.road.r1 { left: -10%; right: -10%; top: 40%; height: 8px; transform: rotate(-8deg); }
.road.r2 { top: -10%; bottom: -10%; left: 58%; width: 8px; transform: rotate(12deg); }
.road.r3 { left: -10%; right: -10%; top: 78%; height: 5px; transform: rotate(4deg); }
.radius { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--cobalt) 55%, transparent); background: color-mix(in srgb, var(--cobalt) 7%, transparent); animation: radius 4s ease-in-out infinite; }
@keyframes radius { 50% { transform: scale(1.12); } }
.home { position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 10px; display: grid; place-items: center; background: var(--cobalt-fill); color: #fff; box-shadow: 0 6px 14px -4px rgb(47 104 232 / .6); }
.home .i { width: 16px; height: 16px; }
.mpin { position: absolute; color: #e2557a; opacity: 0; transform: translateY(-20px); transition: opacity .4s, transform .6s var(--ease-spring); }
.mpin .i { width: 22px; height: 22px; fill: color-mix(in srgb, #e2557a 25%, transparent); }
.mpin.m1 { left: 26%; top: 22%; transition-delay: .3s; }
.mpin.m2 { left: 68%; top: 26%; transition-delay: .5s; }
.mpin.m3 { left: 36%; top: 64%; transition-delay: .7s; }
.tile.in .mpin { opacity: 1; transform: none; }
.sun-badge { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 12.5px; }
.sun-badge .i { width: 15px; height: 15px; color: var(--amber); animation: spin 12s linear infinite; }

/* final */
.final { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 140px 0; background: radial-gradient(ellipse 80% 70% at 50% 40%, var(--final-bg), var(--final-bg-2)); isolation: isolate; }
.final-bg { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.final-bg::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .14) 1px, transparent 1.2px); background-size: 28px 28px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%); }
.orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgb(255 255 255 / .16); animation: orbit linear infinite; }
.o1 { width: 420px; height: 420px; margin: -280px 0 0 -210px; animation-duration: 26s; }
.o2 { width: 640px; height: 640px; margin: -390px 0 0 -320px; animation-duration: 38s; animation-direction: reverse; }
.o3 { width: 880px; height: 880px; margin: -510px 0 0 -440px; animation-duration: 52s; }
.sat { opacity: .6; position: absolute; top: -20px; left: 50%; margin-left: -20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .28); backdrop-filter: blur(6px); }
.sat .i { width: 18px; height: 18px; color: #fff; }
.o2 .sat { animation: counter 38s linear infinite reverse; }
.o1 .sat { animation: counter 26s linear infinite; }
.o3 .sat { animation: counter 52s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes counter { to { transform: rotate(-360deg); } }
.final-inner { position: relative; display: grid; justify-items: center; }
.final-mark { width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 12px; animation: breathe 5s ease-in-out infinite; }
.final-mark img { width: 132px; height: 132px; filter: none; }
@keyframes breathe { 50% { transform: scale(1.05); } }
.final h2 { max-width: 760px; color: #fff; }
.final p { margin-top: 18px; font-size: 19px; color: rgb(255 255 255 / .84); max-width: 560px; }
.final-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .45); }
.btn-outline-light:hover { border-color: #fff; background: rgb(255 255 255 / .08); transform: translateY(-2px); }
.btn-outline-light:hover .i { animation: spin-back .7s var(--ease-out); }
.btn-light .i { transition: transform .3s var(--ease-spring); }
.btn-light:hover .i { transform: translateY(-2px) rotate(-8deg); }
.final .final-mail { margin-top: 22px; font-size: 15px; color: rgb(255 255 255 / .72); }
.final-mail a { color: #fff; font-weight: 700; border-bottom: 1px solid rgb(255 255 255 / .4); transition: border-color .2s; }
.final-mail a:hover { border-color: #fff; }
.final-mail a:focus-visible, .final-ctas .btn:focus-visible { outline-color: #fff; }

/* footer */
.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.brand-sm .brand-mark, .brand-sm .brand-mark img { width: 32px; height: 32px; }
.brand-sm .wordmark { font-size: 16px; }
.foot-note { color: var(--slate); font-size: 13.5px; text-align: center; }
.foot-copy { color: var(--slate); font-size: 13.5px; }
.foot-mail { color: var(--brand); font-weight: 500; }
.foot-mail:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-copy { text-align: center; display: grid; justify-items: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-tags { justify-content: center; }
  .value-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .value-copy { text-align: center; display: grid; justify-items: center; }
  .value-points { text-align: left; }
  .scroll-cue { display: none; }
}
@media (max-width: 1240px) {
  .float-chip { display: none; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .header-actions, .nav + .header-actions { margin-left: auto; }
  .steps { grid-template-columns: 1fr; gap: 56px; max-width: 520px; margin: 0 auto; }
  .steps-line { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-stays, .t-flights, .t-voice, .t-plan, .t-watch, .t-near { grid-column: auto; grid-row: auto; }
  .float-chip { display: none; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-inner { height: 64px; }
  .hero { padding: 96px 0 56px; min-height: auto; }
  .hero-title { font-size: clamp(38px, 11vw, 56px); }
  .hl { white-space: normal; }
  .demo { height: 560px; border-radius: 22px; }
  .demo-thread { padding: 14px 12px 6px; }
  .hcard { width: 150px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .lens-stage { padding: 16px; border-radius: 22px; }
  .lens-cards { grid-template-columns: 1fr; gap: 10px; }
  .lc-vs { justify-self: center; }
  .lens-why li { font-size: 14px; flex-wrap: wrap; }
  .src { margin-left: 32px; }
  .final { padding: 104px 0; }
  .final-mark, .final-mark img { width: 104px; height: 104px; }
  .o1 { width: 300px; height: 300px; margin: -230px 0 0 -150px; }
  .o2 { width: 480px; height: 480px; margin: -320px 0 0 -240px; }
  .o3 { width: 680px; height: 680px; margin: -420px 0 0 -340px; }
  .prompt { font-size: 14px; padding: 10px 16px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track [data-dup] { display: none; }
}
