/* Plinth landing page. Brand: Design/brand-guide.md */
:root {
  --ink: #1C1C1A;
  --stone: #F6F1E7;
  --sand: #E3DCCB;
  --sky: #2F5BEA;
  --sky-deep: #1E3FB0;
  --haze: #93AAFF;
  --dawn: #FFC9A3;

  --bg: #FBF8F2;
  --bg-2: #F3EDE1;
  --text: #1C1C1A;
  --muted: #4A4A45;
  --faint: #7A776E;
  --surface: #FFFFFF;
  --line: #E3DCCB;
  --link: #2F5BEA;
  --capsule: #F6F1E7;
  --fade-line: #C9B9A0;
  --shadow: 0 10px 32px rgba(28, 28, 26, .14);
  --shadow-lg: 0 40px 100px -20px rgba(28, 28, 26, .28), 0 12px 30px rgba(28, 28, 26, .08);
  --sky-grad: linear-gradient(180deg, #2F5BEA 0%, #93AAFF 60%, #FFC9A3 100%);
  --page-bg: #FFFFFF;
  --sk: #EFEAE0;

  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1A2E;
    --bg-2: #222038;
    --text: #F4EEE6;
    --muted: #C9C2D3;
    --faint: #9A93AC;
    --surface: #26243D;
    --line: #3A3857;
    --link: #93AAFF;
    --capsule: #322F4E;
    --fade-line: #6E6888;
    --shadow: 0 10px 32px rgba(0, 0, 0, .45);
    --shadow-lg: 0 40px 100px -20px rgba(0, 0, 0, .6), 0 12px 30px rgba(0, 0, 0, .3);
    --sky-grad: linear-gradient(180deg, #3A2A7A 0%, #B0509A 60%, #FF9E7A 100%);
    --page-bg: #201F33;
    --sk: #302D49;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.wordmark { font: 600 22px/1 var(--display); letter-spacing: -0.045em; color: var(--text); }
.eyebrow { font: 500 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.display {
  font: 600 clamp(44px, 8vw, 104px)/0.98 var(--display);
  letter-spacing: -0.045em;
}
.display-sm { font: 600 clamp(36px, 5.5vw, 64px)/1.02 var(--display); letter-spacing: -0.04em; }
.headline { font: 600 clamp(32px, 4.6vw, 56px)/1.04 var(--display); letter-spacing: -0.035em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 14px; font: 600 16px/1 var(--body);
  padding: 0 20px; height: 48px; white-space: nowrap;
  transition: transform .25s var(--spring), background-color .2s, box-shadow .25s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { height: 56px; padding: 0 26px; font-size: 17px; border-radius: 16px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn-primary { background: var(--sky); color: #fff; box-shadow: 0 8px 24px -8px rgba(47, 91, 234, .6); }
.btn-primary:hover { background: var(--sky-deep); box-shadow: 0 14px 30px -8px rgba(47, 91, 234, .7); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--haze); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; margin: 0 auto; z-index: 50;
  width: min(1080px, calc(100% - 32px)); height: 60px;
  display: flex; align-items: center; gap: 24px; padding: 0 12px 0 16px;
  border-radius: 20px; border: 1px solid transparent;
  transition: background-color .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-color: var(--line); box-shadow: var(--shadow);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
}
.lockup { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.lockup:hover { text-decoration: none; }
.lockup img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 140px 16px 80px; overflow: hidden; }
.hero-inner { position: relative; max-width: 980px; text-align: center; }
.hero .lede { max-width: 640px; margin: 28px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.meta { margin-top: 22px; color: var(--faint); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }

.hero-sky { position: absolute; inset: 0; display: grid; place-items: end center; pointer-events: none; }
.arch {
  position: relative; width: min(1100px, 130vw); aspect-ratio: 1 / .78;
  border-radius: 50% 50% 0 0 / 64% 64% 0 0;
  background: var(--sky-grad); opacity: .2; overflow: hidden;
  transform: translateY(32%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
  animation: arch-in 1.6s var(--ease) both;
}
.sun {
  position: absolute; left: 50%; bottom: -16%; width: 52%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #FFF1DA 0%, #FFE2C4 50%, rgba(255, 201, 163, 0) 72%);
  transform: translate(-50%, 40%); animation: sunrise 2.6s .3s var(--ease) both;
}
@media (prefers-color-scheme: dark) { .arch { opacity: .42; } .sun { background: radial-gradient(circle, #FFE0B8 0%, #FFB892 45%, rgba(255, 158, 122, 0) 72%); } }
@keyframes arch-in { from { opacity: 0; transform: translateY(46%); } }
@keyframes sunrise { from { transform: translate(-50%, 90%); opacity: 0; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- story ---------- */
.story { position: relative; height: calc(6 * 85vh + 100vh); }
.story-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: 96px 16px 28px; overflow: hidden;
}
.captions { position: relative; width: min(760px, 100%); height: 170px; flex: none; text-align: center; }
.caption {
  position: absolute; inset: 0; opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .22s ease-out, transform .4s var(--ease);
}
.caption.on { opacity: 1; transform: none; transition: opacity .55s .18s var(--ease), transform .7s .18s var(--ease); }
.caption.past { transform: translateY(-18px); }
.kicker { display: inline-block; font: 600 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: 14px; }
.caption h2 { font: 600 clamp(28px, 4vw, 48px)/1.05 var(--display); letter-spacing: -0.035em; }
.caption p { margin: 12px auto 0; max-width: 560px; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); }

.stage-wrap { position: relative; flex: 1; width: 100%; display: flex; align-items: flex-start; justify-content: center; min-height: 0; }
.stage { --w: 1120px; --h: 660px; width: var(--w); height: var(--h); flex: none; transform-origin: top center; }

.progress { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.progress li { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: height .4s var(--ease), background-color .3s; }
.progress li.on { height: 22px; background: var(--sky); }

/* window */
.win {
  position: relative; width: 100%; height: 100%;
  background: var(--page-bg); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  font-family: var(--body); color: #1C1C1A;
}
.titlebar { position: absolute; z-index: 3; top: 14px; left: 16px; display: flex; gap: 8px; }
.titlebar span { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.titlebar span:nth-child(2) { background: #FEBC2E; }
.titlebar span:nth-child(3) { background: #28C840; }
.viewport { position: absolute; inset: 0; overflow: hidden; }

/* panes (split view) */
.panes { position: absolute; inset: 0; display: flex; gap: 0; transition: gap .7s var(--ease); }
.pane { position: relative; height: 100%; overflow: hidden; background: #fff; transition: flex-basis .8s var(--ease), opacity .6s var(--ease), border-radius .7s var(--ease), transform .8s var(--ease); }
.pane-a { flex: 1 1 100%; }
.pane-b { flex: 0 0 0%; opacity: 0; transform: translateX(60px); }
.split .panes { gap: 6px; background: #E8E2D5; }
.split .pane-a { flex-basis: 58%; border-radius: 0 10px 10px 0; }
.split .pane-b { flex-basis: 42%; opacity: 1; transform: none; border-radius: 10px 0 0 10px; }

.site-head { height: 64px; padding: 34px 32px 0 96px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #F0ECE3; box-sizing: content-box; }
.pane-b .site-head { padding-left: 32px; }
.brand { display: flex; align-items: center; gap: 8px; font: 700 16px/1 var(--display); letter-spacing: -0.02em; }
.logo-dot { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, #2F5BEA, #93AAFF); }
.logo-dot.nb { background: linear-gradient(135deg, #6A4BD0, #B79CFF); }
.steps { display: flex; gap: 22px; font-size: 13px; color: #8A867C; }
.steps .on { color: #1C1C1A; font-weight: 600; box-shadow: 0 2px 0 #2F5BEA; padding-bottom: 6px; margin-bottom: -8px; }

.seat-page { display: flex; gap: 28px; padding: 26px 32px 0 96px; }
.split .seat-page { padding-left: 40px; }
.seat-main { flex: 1; min-width: 0; }
.seat-main h3 { font: 600 26px/1.1 var(--display); letter-spacing: -0.03em; }
.sub { font-size: 13px; color: #6B675E; margin-top: 6px; }
.fuselage {
  margin-top: 20px; position: relative; display: inline-grid; grid-auto-flow: column;
  grid-template-rows: repeat(3, 20px) 14px repeat(3, 20px); gap: 6px;
  padding: 18px 26px 18px 46px; border-radius: 80px 18px 18px 80px; background: #F6F1E7; border: 1px solid #E3DCCB;
}
.s { display: block; width: 20px; height: 20px; border-radius: 6px 6px 4px 4px; background: #fff; border: 1px solid #D9D0BC; transition: background-color .4s, transform .4s var(--spring), box-shadow .4s, border-color .4s; }
.s.taken { background: #E3DCCB; border-color: #E3DCCB; }
.s.leg { border-color: #2F5BEA; border-width: 1.5px; }
.s.row-num { border: 0; background: none; font: 600 9px/20px var(--body); color: #A39E92; text-align: center; height: 14px; line-height: 14px; }
.s.hl { background: #2F5BEA; border-color: #2F5BEA; transform: scale(1.18); box-shadow: 0 0 0 5px rgba(47, 91, 234, .18); }
.legend { display: flex; gap: 18px; margin-top: 16px; font-size: 12px; color: #6B675E; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .s { width: 12px; height: 12px; border-radius: 3px; }
.seat-side { width: 230px; flex: none; transition: width .8s var(--ease), opacity .5s; }
.split .seat-side { width: 0; opacity: 0; }
.fare-card { border: 1px solid #ECE6DA; border-radius: 16px; padding: 18px; display: grid; gap: 12px; background: #FDFBF7; }
.fare-card .row { display: flex; justify-content: space-between; font-size: 14px; color: #4A4A45; }
.fare-card b { color: #1C1C1A; }
.sk { height: 9px; border-radius: 5px; background: #EFEAE0; }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; }
.peek-link { font-size: 14px; color: #2F5BEA; text-decoration: underline; text-underline-offset: 3px; width: max-content; border-radius: 4px; transition: background-color .3s, box-shadow .3s; }
.peek-link.hot { background: rgba(147, 170, 255, .3); box-shadow: 0 0 0 4px rgba(147, 170, 255, .3); }
.pill-btn { height: 40px; border-radius: 12px; background: #1C1C1A; color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; margin-top: 4px; }

.notes { padding: 26px 32px; }
.notes h3 { font: 600 24px/1.1 var(--display); letter-spacing: -0.03em; margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-size: 14px; color: #33332F; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks li::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #CFC6B2; flex: none; }
.checks li.done { color: #9A958A; text-decoration: line-through; }
.checks li.done::before { background: #6A4BD0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: #6A4BD0; }
.notes .sk { margin-bottom: 10px; }

/* peek */
.scrim { position: absolute; inset: 0; background: rgba(28, 28, 26, .18); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.peek {
  position: absolute; left: 50%; top: 70px; width: 480px; margin-left: -240px; z-index: 4;
  background: #fff; border-radius: 18px; border: 1px solid #E3DCCB;
  box-shadow: 0 30px 80px -10px rgba(28, 28, 26, .35);
  opacity: 0; transform: scale(.2); pointer-events: none;
  transition: transform .7s var(--spring), opacity .35s var(--ease);
}
.peeking .scrim { opacity: 1; }
.peeking .peek { opacity: 1; transform: none; }
.peek-top { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 12px; color: #6B675E; border-bottom: 1px solid #F0ECE3; }
.peek-top .logo-dot { width: 14px; height: 14px; border-radius: 4px; }
.peek-x { margin-left: auto; font-size: 16px; color: #A39E92; }
.peek-body { padding: 18px 22px 8px; display: grid; gap: 10px; }
.peek-body h4 { font: 600 22px/1.1 var(--display); letter-spacing: -0.03em; }
.peek-body p { font-size: 14px; color: #4A4A45; line-height: 1.5; }
.bag-row { display: flex; gap: 10px; margin-top: 6px; }
.bag-row div { flex: 1; height: 64px; border-radius: 12px; background: #F6F1E7; }
.bag-row div:nth-child(2) { background: #EDF1FE; }
.peek-foot { display: flex; align-items: center; gap: 8px; padding: 12px 22px 16px; font-size: 12px; color: #6B675E; }
.peek-foot .kbd:nth-of-type(2) { margin-left: 12px; }
.kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid #E3DCCB; background: #FBF8F2; font: 500 11px/1 var(--body); color: #4A4A45; }

/* ask */
.ask {
  position: absolute; right: 22px; bottom: 96px; width: 470px; z-index: 4;
  background: #fff; border: 1px solid #E3DCCB; border-radius: 18px; box-shadow: 0 24px 60px -12px rgba(28, 28, 26, .3);
  opacity: 0; transform: translateY(24px) scale(.97); pointer-events: none;
  transition: transform .6s var(--spring), opacity .4s var(--ease);
}
.asking .ask { opacity: 1; transform: none; }
.ask-answer { padding: 18px 20px 4px; min-height: 92px; font-size: 14.5px; line-height: 1.55; color: #1C1C1A; }
.ask-answer .w { opacity: 0; animation: word .35s var(--ease) forwards; }
.ask-answer mark { background: rgba(47, 91, 234, .12); color: #1E3FB0; border-radius: 4px; padding: 0 3px; font-weight: 600; }
@keyframes word { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
.ask-answer .cur { display: inline-block; width: 7px; height: 15px; border-radius: 2px; background: #2F5BEA; vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
.ask-input { display: flex; align-items: center; gap: 10px; margin: 10px 12px 0; padding: 10px 6px 10px 12px; border-top: 1px solid #F0ECE3; font-size: 14px; color: #1C1C1A; }
.ask-input svg { color: #2F5BEA; flex: none; }
.send { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: #2F5BEA; color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.ask-scope { display: flex; gap: 6px; padding: 0 16px 14px; font-size: 11.5px; }
.ask-scope span { padding: 4px 9px; border-radius: 8px; background: #F6F1E7; color: #4A4A45; }
.ask-scope .on { background: #1C1C1A; color: #fff; }
.ask-scope .private { margin-left: auto; background: none; color: #1F7A5C; font-weight: 600; }
.ask-scope .private::before { content: "● "; font-size: 9px; vertical-align: 1px; }

/* shelf popover */
.shelf-pop {
  position: absolute; right: 20px; bottom: 96px; width: 270px; z-index: 4; padding: 8px;
  background: #fff; border: 1px solid #E3DCCB; border-radius: 16px; box-shadow: 0 20px 50px -12px rgba(28, 28, 26, .3);
  opacity: 0; transform: translateY(14px) scale(.96); transform-origin: 85% 100%; pointer-events: none;
  transition: transform .55s var(--spring), opacity .35s var(--ease);
}
.shelving .shelf-pop { opacity: 1; transform: none; }
.shelf-title { font: 600 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #8A867C; padding: 8px 10px; }
.shelf-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 500; }
.shelf-item small { margin-left: auto; color: #8A867C; font-weight: 400; font-size: 12px; }
.shelf-item:first-of-type { background: #F6F1E7; }
.shelf-item.dim { color: #4A4A45; }
.ic, .r-ic { width: 16px; height: 16px; border-radius: 4px; background: var(--c); color: #fff; font: 700 9px/16px var(--body); text-align: center; flex: none; display: inline-block; }

/* ---------- the bar ---------- */
.bar {
  position: absolute; left: 20px; right: 20px; bottom: 16px; height: 64px; z-index: 5;
  background: #fff; border: 1px solid #E3DCCB; border-radius: 20px; box-shadow: 0 10px 32px rgba(28, 28, 26, .14);
}
.caps, .items { position: absolute; inset: 0; }
.items { display: flex; align-items: center; padding: 0 10px; }
.cap {
  position: absolute; top: 7px; height: 48px; border-radius: 14px; background: #F6F1E7;
  transition: left .7s var(--ease), width .7s var(--ease), opacity .5s var(--ease), background-color .5s, border-color .5s, box-shadow .5s;
  border: 1px solid transparent;
}
.cap.dashed { background: transparent; border: 1px dashed #C9B9A0; }
.cap.split { background: rgba(47, 91, 234, .08); border-color: rgba(47, 91, 234, .35); }
.cap.leaving { opacity: 0; }
.it { flex: none; position: relative; will-change: transform; }
.it.pin { width: 44px; height: 44px; border-radius: 12px; background: #1C1C1A; color: #F6F1E7; display: grid; place-items: center; font: 600 15px/1 var(--body); margin-right: 8px; }
.it.div { width: 1px; height: 28px; background: #E3DCCB; margin: 0 8px 0 0; }
.it.icon { width: 16px; height: 16px; border-radius: 4px; background: var(--c); color: #fff; font: 700 9px/16px var(--body); text-align: center; margin: 0 6px 0 12px; transition: background-color .5s; }
.it.icon.faded { background: #FFC9A3; }
.it.page {
  height: 44px; border-radius: 12px; padding: 0 10px; display: flex; align-items: center;
  font: 500 13px/1 var(--body); color: #4A4A45; white-space: nowrap;
  transition: background-color .5s var(--ease), color .5s, font-weight .3s;
}
.it.page.cur { background: #2F5BEA; color: #fff; font-weight: 600; padding: 0 14px; }
.it.page.faded { font-weight: 400; color: #8A867C; }
.it.page.end { margin-right: 4px; }
.it.join { width: 18px; height: 18px; display: grid; place-items: center; color: #2F5BEA; margin: 0 2px; }
.it.plus { width: 44px; height: 44px; display: grid; place-items: center; color: #4A4A45; margin-left: 4px; }
.it.spacer { flex: 1; }
.it.tray { width: 44px; height: 44px; display: grid; place-items: center; color: #4A4A45; border-radius: 12px; transition: background-color .3s; }
.it.tray.open { background: #F6F1E7; }
.badge { position: absolute; top: 5px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #2F5BEA; color: #fff; font: 700 10px/16px var(--body); text-align: center; transform: scale(0); transition: transform .5s var(--spring); }
.badge.show { transform: scale(1); }
.badge.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.5); } }
.it.search { height: 44px; padding: 0 14px; border: 1px solid #E3DCCB; border-radius: 12px; background: #FBF8F2; display: flex; align-items: center; gap: 14px; font-size: 13px; color: #4A4A45; margin-left: 6px; }
.it.search i { font-style: normal; color: #8A867C; }
.flyer { position: absolute; z-index: 6; margin: 0 !important; pointer-events: none; }

/* dark window chrome: Plinth's bar goes dark over dark pages; here the page stays light so it reads as the app */
@media (prefers-color-scheme: dark) {
  .win { border-color: #3A3857; }
}

/* ---------- features ---------- */
section { scroll-margin-top: 90px; }
.features, .shortcuts { padding: 120px 16px; max-width: 1120px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 56px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px 26px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card.span2 { grid-column: span 2; }
.card h3 { font: 600 21px/1.2 var(--display); letter-spacing: -0.025em; margin-top: 18px; }
.card p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.ill { height: 170px; border-radius: 16px; background: var(--bg-2); position: relative; overflow: hidden; display: grid; place-items: center; }

.mini-bar { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px 8px; box-shadow: var(--shadow); font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.mb-ic { width: 14px; height: 14px; border-radius: 4px; background: var(--c); margin: 0 4px; }
.mb-pg { padding: 6px 8px; border-radius: 8px; background: var(--capsule); }
.resume {
  position: absolute; left: 50%; top: 18px; width: min(380px, 86%); transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow);
  font-size: 13.5px; color: var(--text);
}
.r-top { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--body); color: var(--link); margin-bottom: 6px; }
.r-top .r-ic { --c: var(--sky); }
.resume p { color: var(--muted); }
.in .resume { animation: rise .9s .3s var(--spring) both; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 30px) scale(.95); } }

.ill-meaning { place-items: stretch; padding: 18px; align-content: start; gap: 6px; }
.ill-meaning .q { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 13px; }
.ill-meaning .h { font: 600 10.5px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin: 8px 4px 2px; }
.ill-meaning .res { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 4px; border-radius: 8px; }
.in .ill-meaning .res { animation: slide .6s var(--ease) both; }
.in .ill-meaning .res:nth-of-type(2) { animation-delay: .5s; } .in .ill-meaning .res:nth-of-type(3) { animation-delay: .7s; }
@keyframes slide { from { opacity: 0; transform: translateX(-12px); } }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--sky); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.g-pill { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 10px; font-size: 12.5px; box-shadow: var(--shadow); white-space: nowrap; }
.in .g-pill { animation: pop .8s .3s var(--spring) both; }
@keyframes pop { from { opacity: 0; transform: scale(.7) translateY(20px); } }
.dots { display: inline-flex; }
.dots i { width: 14px; height: 14px; border-radius: 4px; background: var(--c); margin-right: -4px; border: 2px solid var(--surface); box-sizing: content-box; }
.dots i:last-child { margin-right: 4px; }
.g-btn { background: var(--sky); color: #fff; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.g-no { color: var(--faint); padding-right: 6px; }

.ill-pins { display: flex; gap: 10px; justify-content: center; align-items: center; }
.pin { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--stone); display: grid; place-items: center; font: 600 18px/1 var(--body); box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--spring); }
@media (prefers-color-scheme: dark) { .pin { background: #F4EEE6; color: #1B1A2E; } }
.card:hover .pin:nth-child(1) { transform: translateY(-6px) rotate(-4deg); }
.card:hover .pin:nth-child(2) { transform: translateY(-10px); }
.card:hover .pin:nth-child(3) { transform: translateY(-6px) rotate(4deg); }

.ill-mini { display: flex; gap: 18px; justify-content: center; align-items: center; }
.mini-win { width: 130px; height: 96px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 26px 12px 0; display: grid; gap: 8px; align-content: start; position: relative; transition: transform .5s var(--spring); }
.mini-win .sk { background: var(--sk); }
.mw-top { position: absolute; top: 9px; left: 10px; display: flex; gap: 4px; }
.mw-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.card:hover .mini-win { transform: translateX(-6px) scale(1.06); }
.kbd.big { height: 34px; padding: 0 12px; font-size: 15px; border-radius: 9px; background: var(--surface); border-color: var(--line); color: var(--text); }

.ill-block { display: flex; gap: 16px; justify-content: center; align-items: center; }
.shield { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--surface); color: #1F7A5C; border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .shield { color: #7CC8A6; } }
.blocked { display: grid; gap: 6px; font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--faint); }
.blocked span { text-decoration: line-through; text-decoration-color: #C2532D; opacity: .9; }
.in .blocked span { animation: strike .6s var(--ease) both; }
.in .blocked span:nth-child(2) { animation-delay: .15s; } .in .blocked span:nth-child(3) { animation-delay: .3s; }
@keyframes strike { from { opacity: 0; transform: translateX(10px); } }

/* ---------- command bar ---------- */
.cmd-section { max-width: 1120px; margin: 0 auto; padding: 80px 16px 120px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.cmd-copy p:not(.eyebrow) { color: var(--muted); margin-top: 18px; font-size: 18px; }
.cmd { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.cmd-input { display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-size: 19px; border-bottom: 1px solid var(--line); min-height: 64px; }
.cmd-input svg { color: var(--faint); flex: none; }
.cmd-results { padding: 8px; }
.cmd-h { font: 600 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 12px 12px 6px; }
.cmd-r { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 15px; }
.cmd-r small { color: var(--faint); font-size: 13px; }
.cmd-r .kbd { margin-left: auto; background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.cmd-r.sel { background: var(--sky); color: #fff; }
.cmd-r.sel small { color: rgba(255,255,255,.8); }
.cmd-results > * { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cmd-results.show > * { opacity: 1; transform: none; }

/* ---------- privacy ---------- */
.privacy { background: #1B1A2E; color: #F4EEE6; padding: 120px 16px; position: relative; overflow: hidden; }
.privacy::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 90%; background: radial-gradient(ellipse at center, rgba(176, 80, 154, .35), rgba(58, 42, 122, 0) 60%); pointer-events: none; }
.privacy-inner { position: relative; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.privacy .eyebrow { color: #B9B2CC; }
.priv-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.priv-list li { color: #CFC8DA; padding-left: 30px; position: relative; font-size: 16.5px; }
.priv-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(180deg, #93AAFF, #FFC9A3); }
.priv-list b { color: #F4EEE6; font-weight: 600; }
.chip-mac { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.chip { width: 38%; aspect-ratio: 1; border-radius: 22%; background: linear-gradient(145deg, #2E2B4D, #1B1A2E); border: 1px solid #4A4670; display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08); }
.chip span { font: 600 15px/1 var(--display); letter-spacing: -0.01em; background: linear-gradient(180deg, #93AAFF, #FFC9A3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(147, 170, 255, .28); animation: ring 4.5s var(--ease) infinite; }
.r1 { width: 55%; height: 55%; } .r2 { width: 75%; height: 75%; animation-delay: 1.5s; } .r3 { width: 95%; height: 95%; animation-delay: 3s; }
@keyframes ring { 0% { transform: scale(.7); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.05); opacity: 0; } }

/* ---------- shortcuts ---------- */
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.key-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.k-label { color: var(--muted); font-size: 15.5px; }
.k { display: flex; align-items: center; gap: 4px; color: var(--faint); font-size: 14px; white-space: nowrap; }
kbd {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px;
  border-radius: 8px; border: 1px solid var(--line); border-bottom-width: 3px; background: var(--surface);
  font: 500 14px/1 var(--body); color: var(--text); transition: transform .15s, border-bottom-width .15s, background-color .2s;
}
.key-row:hover kbd { transform: translateY(2px); border-bottom-width: 1px; background: var(--capsule); }

/* ---------- final ---------- */
.final { padding: 40px 16px 120px; }
.final-card {
  max-width: 1080px; margin: 0 auto; text-align: center; padding: 88px 24px 72px; border-radius: 36px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, #2F5BEA 16%, var(--bg)) 0%, color-mix(in srgb, #93AAFF 20%, var(--bg)) 55%, color-mix(in srgb, #FFC9A3 40%, var(--bg)) 100%);
  border: 1px solid var(--line);
}
.final-icon { width: 112px; height: 112px; margin: 0 auto 28px; border-radius: 26px; box-shadow: var(--shadow); transition: transform .6s var(--spring); }
.final-card:hover .final-icon { transform: translateY(-6px) rotate(-3deg); }
.final-card > p:not(.meta) { color: var(--muted); margin: 16px auto 36px; max-width: 520px; font-size: 18px; }

/* ---------- footer ---------- */
.foot { max-width: 1120px; margin: 0 auto; padding: 32px 16px 56px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.lockup.small .wordmark { font-size: 18px; }
.lockup.small img { width: 22px; height: 22px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); font-size: 14px; }
.fine { width: 100%; color: var(--faint); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { gap: 12px; } .nav .btn { margin-left: auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .card.span2 { grid-column: span 2; }
  .cmd-section, .privacy-inner { grid-template-columns: 1fr; gap: 48px; }
  .chip-mac { max-width: 300px; }
  .keys { grid-template-columns: 1fr; }
  .progress { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .card.span2 { grid-column: auto; }
  .hero { padding-top: 120px; }
  .btn-lg { height: 52px; padding: 0 20px; font-size: 16px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .captions { height: 200px; }
  .story-sticky { padding-top: 88px; }
  .features, .shortcuts { padding: 88px 16px; }
  .privacy { padding: 88px 16px; }
  .key-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .final-card { padding: 64px 20px 56px; border-radius: 28px; }
  .resume { font-size: 12.5px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .ring { display: none; }
}

/* page names truncate like the app when the bar is crowded */
.it.page { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 44px; }

/* adaptive bar card: one bar slides across a light page and a dark page */
.ill-adapt { display: flex; place-items: stretch; }
.ill-adapt .half { flex: 1; position: relative; overflow: hidden; }
.ill-adapt .light { background: #FFFFFF; }
.ill-adapt .dark { background: #14131F; }
.ill-adapt .mini-bar { bottom: 22px; transform: translateX(-50%); }
.ill-adapt .light .mini-bar { left: 60%; background: #fff; border-color: #E3DCCB; color: #4A4A45; animation: adapt-l 6s ease-in-out infinite alternate; }
.ill-adapt .light .mb-pg { background: #F6F1E7; }
.ill-adapt .dark .mini-bar { left: -40%; background: #26243D; border-color: #3A3857; color: #E6E0EE; animation: adapt-d 6s ease-in-out infinite alternate; }
.ill-adapt .dark .mb-pg { background: #322F4E; }
@keyframes adapt-l { from { left: 50%; } to { left: 150%; } }
@keyframes adapt-d { from { left: -50%; } to { left: 50%; } }
.ill-adapt .half::after { content: ""; position: absolute; left: 22px; top: 26px; height: 10px; width: 60%; border-radius: 5px; background: #EFEAE0; box-shadow: 0 22px 0 #EFEAE0, 0 44px 0 #EFEAE0; }
.ill-adapt .dark::after { background: #2A2840; box-shadow: 0 22px 0 #2A2840, 0 44px 0 #2A2840; }

/* phone: a narrower, taller window so the demo stays legible */
@media (max-width: 600px) {
  .stage { --w: 840px; --h: 640px; }
  .seat-page { padding-left: 32px; gap: 18px; }
  .site-head { padding-left: 32px; padding-top: 40px; }
  .steps { display: none; }
  .seat-side { width: 190px; }
  .fuselage { padding-left: 34px; padding-right: 18px; }
  .ask { width: 430px; }
  .it.pin + .it.pin { display: none; }
  .it.search i { display: none; }
}
@media (max-width: 600px) {
  .story-sticky { justify-content: center; padding-top: 80px; }
  .stage-wrap { flex: 0 0 42vh; }
}
@media (max-width: 600px) { .meta { flex-direction: column; align-items: center; gap: 4px; } .meta .dot { display: none; } }

/* =====================================================================
   Hero scene: an arched window (the Plinth icon) with a live page inside,
   standing on the floating bar and a base step.
   ===================================================================== */
:root { --frame: #1C1C1A; }
@media (prefers-color-scheme: dark) { :root { --frame: #F4EEE6; } }

.hero { display: block; min-height: 0; padding: 150px 16px 40px; text-align: center; }
.hero-inner { margin: 0 auto; }

.hero-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; display: block; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; left: -120px; top: 120px; background: #93AAFF; }
.b2 { width: 560px; height: 560px; right: -160px; top: 380px; background: #FFC9A3; animation-delay: -6s; }
.b3 { width: 700px; height: 420px; left: 50%; top: 760px; margin-left: -350px; background: #2F5BEA; opacity: .16; animation-delay: -12s; }
@media (prefers-color-scheme: dark) { .blob { opacity: .28; } .b2 { background: #B0509A; } .b3 { opacity: .3; background: #3A2A7A; } }
@keyframes drift { to { transform: translate(60px, -40px) scale(1.12); } }

/* headline: words rise in, a sunrise swash draws under "calm" */
.hero-title { position: relative; }
.wd { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(10px); }
.hero-title.go .wd { animation: wd-in .9s var(--ease) forwards; }
.hero-title.go .wd:nth-of-type(2) { animation-delay: .08s; }
.hero-title.go .wd:nth-of-type(3) { animation-delay: .16s; }
.hero-title.go .wd:nth-of-type(4) { animation-delay: .28s; }
.hero-title.go .wd:nth-of-type(5) { animation-delay: .36s; }
@keyframes wd-in { to { opacity: 1; transform: none; filter: none; } }
.calm { position: relative; z-index: 0; }
.swash { position: absolute; left: -3%; bottom: -.06em; width: 106%; height: .3em; z-index: -1; overflow: visible; }
.swash path { stroke-dasharray: 320; stroke-dashoffset: 320; }
.hero-title.go .swash path { animation: draw 1.1s .75s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* scene geometry (desktop design size 1040 x 540, scaled to fit by JS) */
.scene-wrap { position: relative; display: flex; justify-content: center; margin-top: 64px; }
.scene { position: relative; width: 1040px; height: 540px; flex: none; transform-origin: top center; --mx: 0; --my: 0; }

.arch-win {
  position: absolute; left: 250px; top: 0; width: 540px; height: 470px;
  border: 10px solid var(--frame); border-bottom: 0; border-radius: 270px 270px 0 0;
  background: var(--sky-grad); overflow: hidden;
  transform: translate(calc(var(--mx) * -8px), calc(var(--my) * -5px));
  transition: transform .6s var(--ease);
  animation: arch-rise 1.2s .2s var(--ease) both;
}
@keyframes arch-rise { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.arch-sun {
  position: absolute; left: 50%; top: 58px; width: 190px; height: 190px; margin-left: -95px; border-radius: 50%;
  background: radial-gradient(circle, #FFF6E6 0%, #FFF1DA 55%, rgba(255, 241, 218, 0) 72%);
  animation: sun-up 2.4s .5s var(--ease) both;
}
@media (prefers-color-scheme: dark) { .arch-sun { background: radial-gradient(circle, #FFE9CC 0%, #FFE0B8 55%, rgba(255, 224, 184, 0) 72%); } }
@keyframes sun-up { from { transform: translateY(160px); opacity: .4; } }

.mpages { position: absolute; left: 34px; right: 34px; top: 148px; bottom: 0; }
.mpage {
  position: absolute; inset: 0; background: #fff; border-radius: 16px 16px 0 0; padding: 16px 22px; text-align: left; color: #1C1C1A;
  opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .55s var(--ease), transform .7s var(--ease);
  box-shadow: 0 -8px 30px rgba(28, 28, 26, .12);
}
.mpage.on { opacity: 1; transform: none; }
.mp-head { display: flex; align-items: center; gap: 7px; font: 700 12px/1 var(--display); color: #4A4A45; letter-spacing: -0.01em; padding-bottom: 12px; border-bottom: 1px solid #F0ECE3; }
.mp-dot { width: 13px; height: 13px; border-radius: 4px; background: var(--c); }
.mpage h4 { font: 600 20px/1.15 var(--display); letter-spacing: -0.03em; margin: 14px 0 12px; }
.mp-seats { display: grid; grid-template-columns: repeat(14, 1fr); gap: 5px; }
.mp-seats i { aspect-ratio: 1; border-radius: 4px 4px 3px 3px; background: #fff; border: 1px solid #D9D0BC; }
.mp-seats i.t { background: #E3DCCB; border-color: #E3DCCB; }
.mp-seats i.gap { border: 0; background: none; }
.mp-seats i.hl { background: #2F5BEA; border-color: #2F5BEA; transition: transform .5s var(--spring) .4s; }
.mpage.on .mp-seats i.hl { transform: scale(1.2); }
.mp-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mp-cal span { height: 34px; border-radius: 8px; background: #F6F1E7; font: 500 10px/1 var(--body); color: #6B675E; padding: 5px 6px; display: flex; flex-direction: column; justify-content: space-between; }
.mp-cal span b { font-weight: 600; color: #1C1C1A; font-size: 11px; }
.mp-cal span.best { background: #2F5BEA; color: rgba(255,255,255,.8); }
.mp-cal span.best b { color: #fff; }
.mp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.mp-checks li { display: flex; align-items: center; gap: 10px; }
.mp-checks li::before { content: ""; width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid #CFC6B2; }
.mp-checks li.done { color: #9A958A; text-decoration: line-through; }
.mp-checks li.done::before { background: #6A4BD0; border-color: #6A4BD0; }
.mp-bars { display: grid; gap: 12px; }
.mp-bars div { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 10px; font-size: 13px; color: #4A4A45; }
.mp-bars b { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #6A4BD0, #B79CFF); width: 0; transition: width 1s var(--ease) .25s; }
.mpage.on .mp-bars b { width: var(--w); }
.mp-art { display: flex; gap: 16px; }
.mp-img { width: 150px; height: 108px; flex: none; border-radius: 12px; background: linear-gradient(160deg, #93AAFF, #FFC9A3); }
.mp-art > div:last-child { flex: 1; display: grid; gap: 10px; align-content: start; padding-top: 6px; }

/* chips: page names drifting around the window before they land on the bar */
.hchips { position: absolute; inset: 0; transform: translate(calc(var(--mx) * 16px), calc(var(--my) * 10px)); transition: transform .6s var(--ease); z-index: 3; }
.hchip {
  position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); font: 500 14px/1 var(--body); color: var(--text); white-space: nowrap;
  animation: bob 4s var(--d) ease-in-out infinite alternate, chip-in .8s var(--ease) both;
}
.hchip i { width: 16px; height: 16px; border-radius: 4px; background: var(--c); color: #fff; font: 700 9px/16px var(--body); font-style: normal; text-align: center; }
@keyframes bob { to { translate: 0 -10px; } }
@keyframes chip-in { from { opacity: 0; scale: .7; } }

/* the bar (the plinth's top step) */
.hbar {
  position: absolute; left: 130px; top: 438px; width: 780px; height: 64px; z-index: 2;
  display: flex; align-items: center; gap: 6px; padding: 0 10px;
  background: #fff; border: 1px solid #E3DCCB; border-radius: 20px; box-shadow: 0 14px 40px rgba(28, 28, 26, .18);
  color: #4A4A45; font: 500 13px/1 var(--body); text-align: left;
  animation: bar-in 1s .35s var(--ease) both;
}
@keyframes bar-in { from { opacity: 0; transform: translateY(24px); } }
.hb-ind { position: absolute; top: 10px; left: 0; width: 0; height: 44px; border-radius: 12px; background: #2F5BEA; opacity: 0; transition: left .6s var(--ease), width .6s var(--ease), opacity .4s; box-shadow: 0 6px 16px -6px rgba(47, 91, 234, .7); }
.hb-pin { width: 44px; height: 44px; border-radius: 12px; background: #1C1C1A; color: #F6F1E7; display: grid; place-items: center; font: 600 15px/1 var(--body); flex: none; }
.hb-div { width: 1px; height: 28px; background: #E3DCCB; margin: 0 2px; flex: none; }
.hb-cap { height: 48px; display: flex; align-items: center; gap: 2px; padding: 0 2px 0 10px; background: #F6F1E7; border: 1px solid transparent; border-radius: 14px; white-space: nowrap; flex: none; transition: background-color .5s, border-color .5s; }
.hb-cap.fading { background: transparent; border: 1px dashed #C9B9A0; }
.hb-cap.fading .hb-ic { background: #FFC9A3; }
.hb-cap.fading .hb-pg { color: #8A867C; font-weight: 400; }
.hb-ic { width: 16px; height: 16px; border-radius: 4px; background: var(--c); color: #fff; font: 700 9px/16px var(--body); font-style: normal; text-align: center; margin-right: 4px; transition: background-color .5s; }
.hb-pg { position: relative; height: 44px; line-height: 44px; padding: 0 11px; border-radius: 12px; transition: color .4s; }
.hb-pg.cur { color: #fff; font-weight: 600; }
.hb-pg.pending { opacity: 0; }
.hb-plus { width: 30px; text-align: center; font-size: 20px; font-weight: 300; flex: none; }
.hb-sp { flex: 1; }
.hb-tray { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; flex: none; transition: background-color .3s; }
.hb-tray.open { background: #F6F1E7; }
.hb-tray b { position: absolute; top: 4px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #2F5BEA; color: #fff; font: 700 10px/16px var(--body); text-align: center; }
.hb-search { height: 44px; padding: 0 14px; border: 1px solid #E3DCCB; border-radius: 12px; background: #FBF8F2; display: flex; align-items: center; gap: 12px; flex: none; }
.hb-search i { font-style: normal; color: #8A867C; }
.hstep { position: absolute; left: 70px; top: 518px; width: 900px; height: 18px; border-radius: 5px; background: var(--frame); animation: bar-in 1s .45s var(--ease) both; }

/* phone: narrower scene, no drifting chips */
@media (max-width: 700px) {
  .hero { padding-top: 120px; }
  .scene-wrap { margin-top: 44px; }
  .scene { width: 760px; }
  .arch-win { left: 110px; }
  .hbar { left: 30px; width: 700px; }
  .hstep { left: 10px; width: 740px; }
  .hchips { display: none; }
  .hb-search i, .hb-plus { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wd { opacity: 1; transform: none; filter: none; }
  .swash path { stroke-dashoffset: 0; }
  .hchips { display: none; }
  .blob { animation: none; }
}

.hero { padding-top: 128px; }
.hero .lede { margin-top: 22px; }
.cta-row { margin-top: 32px; }
.scene-wrap { margin-top: 52px; }
/* the wrapper is a plain full-width block; the scene is centred and scaled inside it */
.scene-wrap { display: block; width: 100%; height: 540px; }
.scene { position: absolute; left: 50%; top: 0; transform-origin: top left; }
@media (max-width: 700px) {
  .hb-search { display: none; }
  .b1 { width: 300px; height: 300px; left: -120px; }
  .b2 { width: 320px; height: 320px; right: -140px; top: 420px; }
  .b3 { width: 360px; height: 260px; margin-left: -180px; top: 700px; }
  .blob { opacity: .3; }
}
@media (max-width: 700px) and (prefers-color-scheme: dark) { .blob { opacity: .18; } }
@media (max-width: 700px) { .hbar { left: 6px; width: 748px; } .hstep { left: 0; width: 760px; } }
