/* ShipBee — User App landing page
   Layout, motion and scroll choreography modelled on flighty.com; content, palette
   (black + amber) and visuals are ShipBee's. The previous Figma rebuild lives in _figma-version/.
   Phone visuals are real simulator screenshots composited into Apple's official
   iPhone 17 bezels (assets/phones/*.png) — never stretch them. */

:root {
  --ink: #0a0a0c;
  --muted: #55565c;
  --amber: #ffaa00;
  --amber-soft: #ffc94d;
  --soft: #f5f5f7;
  --line: #e9e9ec;
  --night: #08080d;
  --night-card: #111118;
  --night-line: rgba(255, 255, 255, .09);
  --navy: #14183f;
  --green: #12a150;
  --radius: 28px;
  --container: 1100px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --announce-h: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.no-announce { --announce-h: 0px; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container--narrow { --container: 980px; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- shared type ---------- */
.h2 {
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -.035em;
  max-width: 17em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(30px, 3.6vw, 44px); }
.h2--center { text-align: center; margin-inline: auto; }
.lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 44em;
}
.lead--center { text-align: center; margin-inline: auto; max-width: 32em; }
.dark .lead { color: rgba(255, 255, 255, .72); }
.amber { color: #d98e00; }
.section-head { margin-bottom: 56px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .2s;
}
.btn svg, .btn img { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn--light { background: #fff; color: #000; }
.btn--dark { background: #000; color: #fff; }
.btn--dark img { filter: none; }
.btn--amber { background: var(--amber); color: #000; box-shadow: 0 10px 30px -10px rgba(255, 170, 0, .8); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #000; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, .45); } 100% { box-shadow: 0 0 0 9px rgba(0, 0, 0, 0); } }

.pill {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .01em;
  background: #ececef; color: #333; white-space: nowrap;
}
.pill--amber { background: var(--amber); color: #000; }
.pill--dark { background: #000; color: #fff; }

/* ============ ANNOUNCEMENT ============ */
.announce {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--announce-h);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, #0b0b10, #2a1d00 35%, #6b4700 50%, #2a1d00 65%, #0b0b10);
  background-size: 200% 100%;
  animation: sheen 9s linear infinite;
  color: #fff; font-size: 13.5px;
  overflow: hidden;
  transition: height .4s var(--ease);
}
@keyframes sheen { to { background-position: -200% 0; } }
.announce__link { display: inline-flex; align-items: center; gap: 10px; }
.announce__icon { width: 34px; height: auto; }
.announce__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .35); }
.announce__link:hover span:last-child { text-decoration: underline; }
.announce__close { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; display: grid; place-items: center; opacity: .8; }
.announce__close svg { width: 16px; height: 16px; }
body.no-announce .announce { visibility: hidden; }

/* ============ NAV ============ */
.nav-wrap {
  position: fixed; z-index: 50;
  top: var(--announce-h); left: 0; right: 0;
  display: flex; justify-content: center;
  padding: 18px 24px;
  pointer-events: none;
  transition: top .4s var(--ease), padding .5s var(--ease);
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(1240px, 100%);
  height: 56px; padding: 0 10px 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: width .7s var(--ease), background .4s, box-shadow .4s, border-color .4s, height .5s var(--ease), color .3s;
}
.nav__logo { position: relative; display: block; width: 116px; height: 28px; flex: none; transition: width .6s var(--ease); }
.nav__logo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .3s; }
.nav__logo-img--light { opacity: 0; }
.nav__links { display: flex; gap: 2px; white-space: nowrap; font-size: 14.5px; font-weight: 500; }
.nav__links a { padding: 8px 14px; border-radius: 999px; opacity: .8; transition: opacity .2s, background .2s; }
.nav__links a:hover { opacity: 1; background: rgba(127, 127, 127, .14); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 999px; white-space: nowrap; flex: none;
  font-size: 14.5px; font-weight: 600;
  transition: background .4s, color .4s, transform .3s var(--ease);
}
.nav__cta svg { width: 16px; height: 16px; }
.nav__cta:hover { transform: scale(1.04); }

/* collapsed floating pill */
body.is-scrolled .nav-wrap { padding-top: 12px; }
body.is-scrolled .nav {
  width: min(780px, 100%);
  height: 52px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-color: rgba(0, 0, 0, .06);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .22);
}
body.is-scrolled .nav__logo { width: 92px; }
body.is-scrolled .nav__cta { background: #000; color: #fff; }

/* dark theme under the nav */
body.nav-dark .nav { color: #fff; }
body.nav-dark .nav__logo-img--dark { opacity: 0; }
body.nav-dark .nav__logo-img--light { opacity: 1; }
body.nav-dark.is-scrolled .nav { background: rgba(20, 20, 28, .66); border-color: rgba(255, 255, 255, .1); box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .7); }
body.nav-dark.is-scrolled .nav__cta { background: #fff; color: #000; }

/* ============ HERO ============ */
.hero { position: relative; padding-top: calc(var(--announce-h) + 130px); }
.hero__copy { text-align: center; width: min(1180px, 100% - 40px); margin-inline: auto; position: relative; z-index: 2; }
.hero__title {
  font-weight: 700;
  font-size: clamp(44px, 6.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero__sub {
  margin: 26px auto 0;
  max-width: 47em;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: #3c3d42;
}
.laurels { display: flex; justify-content: center; gap: 44px; margin-top: 30px; flex-wrap: wrap; }
.laurel { display: inline-flex; align-items: center; gap: 12px; text-align: left; transition: transform .35s var(--ease); }
.laurel:hover { transform: translateY(-2px); }
.laurel__icon { width: 40px; height: 40px; border-radius: 11px; background: #000; display: grid; place-items: center; }
.laurel__icon img { width: 19px; height: 21px; object-fit: contain; }
.laurel__icon img[src*="app-store"], .btn--dark img[src*="app-store"] { filter: invert(1); }
.laurel__text b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.laurel__sub { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.leaf { width: 8px; height: 15px; border: 1.6px solid #9a9ba1; border-radius: 50%; border-right-color: transparent; border-top-color: transparent; rotate: 12deg; }
.leaf--r { scale: -1 1; rotate: -12deg; }

/* ---------- pinned stage ---------- */
.stage { position: relative; height: 380vh; margin-top: 8px; }
.stage__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow-x: clip;   /* not `hidden`: the lifted phone's shadow must spill above the stage */
  display: grid; place-items: center;
}
.stage__dark { position: absolute; inset: 0; background: var(--night); opacity: 0; transition: opacity .9s var(--ease); }
.stage__sticky[data-stage="2"] .stage__dark { opacity: 1; }
.stage__glow {
  position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 170, 0, .34), rgba(60, 50, 180, .16) 45%, transparent 70%);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { scale: 1.12; opacity: .8; } }
.stage__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
}
.hud span {
  position: absolute; font-family: var(--mono); font-weight: 700; font-size: clamp(34px, 4.4vw, 60px);
  color: rgba(255, 255, 255, .1); letter-spacing: .04em; white-space: nowrap;
  animation: drift 9s ease-in-out infinite alternate;
}
.hud span:nth-child(even) { animation-delay: -4s; }
.hud .hud--sm { font-size: clamp(13px, 1.3vw, 17px); color: rgba(255, 200, 90, .32); font-weight: 500; }
.hud__ring { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); animation: drift 7s ease-in-out infinite alternate; }
.hud__ring::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: rgba(255, 170, 0, .35); }
@keyframes drift { to { transform: translate3d(14px, -12px, 0); } }

.stage__phone {
  position: relative; z-index: 3;
  height: min(78vh, 680px);
  aspect-ratio: 900 / 1840;
  will-change: transform;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .28));
}
.stage__screen {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(.965) translateY(10px);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.stage__screen.is-on { opacity: 1; transform: none; }

/* ---------- floating notifications ---------- */
.notes { position: absolute; inset: 0; z-index: 2; transition: opacity .6s var(--ease); }
.stage__sticky[data-stage="2"] .notes { opacity: 0; }
.note {
  position: absolute; top: var(--top);
  display: flex; align-items: center; gap: 12px;
  width: 340px; padding: 13px 16px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
  opacity: .28;
  transition: opacity 1s var(--ease), box-shadow 1s var(--ease), scale 1s var(--ease);
  animation: bob 6s ease-in-out var(--f, 0s) infinite alternate;
  scale: .985;
}
.note--l { right: calc(50% + 150px - var(--x, 0px)); }
.note--r { left: calc(50% + 150px + var(--x, 0px)); }
.note.is-lit { opacity: 1; scale: 1; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 18px 44px -14px rgba(0, 0, 0, .22); }
@keyframes bob { to { transform: translateY(-9px); } }
.note__ico { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: #f0f0f3; }
.note__ico--amber { background: #fff1cf; }
.note__ico--green { background: #d9f7e5; color: var(--green); font-weight: 800; }
.note__ico--blue { background: #dfeaff; }
.note__ico--dark { background: #15151a; }
.note b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note small { display: block; margin-top: 2px; font-size: 13px; color: #6b6c72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note > div { min-width: 0; }
.note--static { position: static; width: 100%; opacity: 1; scale: 1; animation: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 14px 34px -16px rgba(0, 0, 0, .2); }

/* ---------- stage tabs ---------- */
.tabs {
  position: fixed; z-index: 40; left: 50%; bottom: 22px; translate: -50% 0;
  display: flex; gap: 2px; padding: 5px;
  background: rgba(18, 18, 22, .92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  box-shadow: 0 18px 50px -14px rgba(0, 0, 0, .5);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s;
  max-width: calc(100vw - 20px);
}
.tabs.is-hidden { opacity: 0; transform: translateY(30px); visibility: hidden; }
.tab {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 999px;
  color: rgba(255, 255, 255, .86); font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: background .45s var(--ease), color .3s;
}
.tab span { font-size: 13px; filter: grayscale(1) brightness(1.6); transition: filter .3s; }
.tab:hover { color: #fff; }
.tab.is-on { background: var(--amber); color: #000; }
.tab.is-on span { filter: none; }

/* ============ DARK SECTION ============ */
.dark { background: var(--night); color: #fff; padding: 40px 0 150px; position: relative; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 170px; }
.logo-tile {
  height: 130px; border-radius: 16px;
  background: #15151c;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: rgba(255, 255, 255, .82);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s), background .3s, color .3s;
}
.logo-tile:hover { background: #1c1c25; color: var(--amber); }
.logo-tile svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.logo-tile b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; font-stretch: condensed; }

/* ============ BENTO CARDS ============ */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  padding: 40px;
  min-height: 600px;
  display: flex; flex-direction: column;
}
.card--wide { grid-column: 1 / -1; min-height: 520px; flex-direction: row; align-items: stretch; }
.card--dark { background: linear-gradient(180deg, #12121a, #0c0c12); box-shadow: inset 0 0 0 1px var(--night-line); }
.card--soft { background: var(--soft); }
.card--navy { background: radial-gradient(120% 120% at 80% 0%, #2a3180, var(--navy) 55%, #0b0d26); color: #fff; }
.card--amber { background: radial-gradient(120% 90% at 50% 100%, #ffb21a, #b86a00 55%, #2a1800); color: #fff; box-shadow: inset 0 0 0 1px var(--night-line); }
.card--dusk { background: linear-gradient(180deg, #161a4a 0%, #4a2f6e 38%, #c8643c 70%, #ffb547 100%); color: #fff; }
.card__copy { position: relative; z-index: 2; width: 46%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.card__title { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.card__title--sm { font-size: clamp(24px, 2.3vw, 30px); margin-bottom: 12px; }
.card__text { font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 30em; }
.card--dark .card__text, .card__text--light { color: rgba(255, 255, 255, .7); }
.card__lede { position: relative; z-index: 2; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .72); max-width: 30em; }
.card__lede b { color: #fff; font-weight: 700; }
.card--soft .card__lede { color: var(--muted); }
.card--soft .card__lede b { color: var(--ink); }
.card--soft .card__lede b.amber { color: #d98e00; }
.card__lede--green { color: var(--green) !important; font-weight: 600; }
.card__lede--light { color: #fff; font-weight: 600; }

.card__phone { position: absolute; will-change: transform; }
.card__phone img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.card__phone--right { right: 9%; top: 56px; width: min(330px, 34%); }
.card__phone--tilt-l { left: 50%; top: 240px; width: 300px; margin-left: -170px; rotate: -9deg; }
.card__phone--tilt-r { left: 50%; top: 250px; width: 300px; margin-left: -120px; rotate: 9deg; }
.card__phone--peek { left: 50%; bottom: -330px; width: 280px; margin-left: -140px; }
.card__phone--peek img { filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .18)); }

.card__duo { position: absolute; inset: 0 0 0 46%; }
.card__duo img { position: absolute; width: 290px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .25)); will-change: transform; }
.card__duo-a { right: 46%; top: 120px; rotate: -30deg; }
.card__duo-b { right: 2%; top: 40px; rotate: -30deg; }
.card__plane { position: absolute; right: -6%; top: 190px; width: 86%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); will-change: transform; }

/* in-card UI mocks */
.mock { position: relative; z-index: 2; margin-top: auto; border-radius: 22px; padding: 22px; }
.mock--eta { background: #191922; box-shadow: inset 0 0 0 1px var(--night-line), 0 30px 60px -20px #000; }
.mock__row { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--amber), #ff7a00); color: #000; font-weight: 800; display: grid; place-items: center; }
.mock__who { flex: 1; min-width: 0; }
.mock__who b { display: block; font-size: 16px; }
.mock__who small { color: rgba(255, 255, 255, .55); font-size: 13px; }
.mock__route { margin-top: 22px; display: grid; gap: 14px; font-size: 14.5px; position: relative; }
.mock__route div { position: relative; padding-left: 26px; }
.mock__route small, .step__stops small { display: block; font-size: 10.5px; letter-spacing: .08em; color: rgba(255, 255, 255, .45); }
.dot { position: absolute; left: 2px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #7b7c85; }
.dot--on { background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 170, 0, .22); }

.stepper { display: flex; margin-top: 26px; }
.stepper span { flex: 1; position: relative; padding-top: 22px; font-size: 11px; text-align: center; color: rgba(255, 255, 255, .45); }
.stepper span::before { content: ""; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: rgba(255, 255, 255, .14); }
.stepper span:first-child::before { display: none; }
.stepper i { position: absolute; top: 0; left: 50%; translate: -50% 0; width: 16px; height: 16px; border-radius: 50%; background: #2c2c38; z-index: 1; }
.stepper .is-done, .stepper .is-now { color: #fff; }
.stepper .is-done::before, .stepper .is-now::before { background: var(--amber); }
.stepper .is-done i { background: var(--amber); }
.stepper .is-now i { background: #fff; box-shadow: 0 0 0 4px rgba(255, 170, 0, .5); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 170, 0, .7); } 100% { box-shadow: 0 0 0 12px rgba(255, 170, 0, 0); } }
.stepper--light span::before { background: #dcdce2; }
.stepper--light i { background: #dcdce2; }
.stepper--light .is-now i { background: #000; }

.mock--glass { background: rgba(30, 16, 12, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.mock__title { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.alert { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255, 170, 0, .16); box-shadow: inset 0 0 0 1px rgba(255, 170, 0, .35); }
.alert b { display: block; font-size: 14.5px; color: var(--amber-soft); }
.alert small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.alert--plain { background: none; box-shadow: none; padding-bottom: 0; }
.alert--plain b { color: #fff; }
.alert__ico { font-size: 18px; }

/* center CTA in the dark section */
.center-cta { text-align: center; padding-top: 150px; display: flex; flex-direction: column; align-items: center; }
.center-cta .lead { margin-bottom: 30px; }
.center-cta .h2 { margin-top: 30px; }
.orbit { display: flex; align-items: flex-end; gap: 10px; position: relative; }
.orbit::before { content: ""; position: absolute; left: 50%; bottom: 10px; width: 300px; height: 300px; translate: -50% 50%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .16); animation: spin 40s linear infinite; mask-image: linear-gradient(#000 45%, transparent 55%); -webkit-mask-image: linear-gradient(#000 45%, transparent 55%); }
@keyframes spin { to { rotate: 360deg; } }
.orbit__tile { width: 78px; height: 70px; border-radius: 18px; background: #1b1b25; box-shadow: inset 0 0 0 1px var(--night-line); display: grid; place-items: center; font-size: 30px; }
.orbit__tile--main { width: 96px; height: 96px; font-size: 42px; background: linear-gradient(180deg, #2a2a38, #16161e); animation: bob 3s ease-in-out infinite alternate; }

/* ============ LIGHT SECTIONS ============ */
.light { padding: 150px 0 40px; background: #fff; }
.light--tight { padding-top: 130px; }
.timeline { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-bottom: 30px; }
.timeline .note:nth-child(2) { margin-left: 18px; width: calc(100% - 18px); }
.timeline .note:nth-child(3) { margin-left: 36px; width: calc(100% - 36px); }

.card--video { align-items: center; }
.card--video .card__lede { align-self: flex-start; }
.device { position: relative; width: 270px; margin: 36px auto -220px; aspect-ratio: 1350 / 2760; will-change: transform; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .2)); }
.device__screen { position: absolute; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; object-fit: cover; border-radius: 34px; background: #000; }
.device__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.card__duo--navy img { filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }

.quotes { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.quote { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 14px 34px -18px rgba(0, 0, 0, .2); transition: transform .4s var(--ease); }
.quote:hover { transform: translateX(6px); }
.quote > div { flex: 1; min-width: 0; }
.quote b { display: block; font-size: 15px; letter-spacing: -.01em; }
.quote small { color: #74757b; font-size: 13px; }
.quote__logo { width: 46px; height: 46px; border-radius: 12px; background: #111; color: var(--amber); font-weight: 800; font-size: 13px; display: grid; place-items: center; letter-spacing: .02em; }

/* split-flap board */
.card--board { background: radial-gradient(120% 100% at 50% 100%, #3a2600, #120d02 60%, #07070a); color: #fff; }
.board { margin-top: auto; }
.board__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; font-size: 14px; color: var(--amber-soft); font-weight: 600; }
.board__head img { height: 20px; }
.board__row { display: flex; gap: 6px; justify-content: center; perspective: 600px; }
.flap {
  width: clamp(34px, 5.4vw, 58px); height: clamp(52px, 8vw, 84px);
  border-radius: 8px; background: linear-gradient(180deg, #2a2a33 0 49%, #0a0a0d 49% 51%, #1d1d25 51%);
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: clamp(26px, 4.2vw, 46px); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.flap--gap { background: none; box-shadow: none; color: var(--amber); }
.flap.is-flipping { animation: flip .32s ease-in; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-88deg); filter: brightness(.5); } 100% { transform: rotateX(0); } }
.board__foot { display: flex; justify-content: space-between; margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .45); }

/* map card */
.card--map { background: #0c1220; color: #fff; }
.map { position: absolute; inset: -10% -4% -10% 40%; will-change: transform; }
.map img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.62) contrast(1.1); mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); }
.map__pin { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; color: #000; font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); animation: bob 5s ease-in-out infinite alternate; }
.map__pin--b { animation-delay: -2s; }
.map__pin--c { animation-delay: -3.5s; }
.map__pin i { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); animation: ping 1.8s infinite; }
.map__pin--b i { background: var(--green); }
.map__pin--c i { background: #3b82f6; }

.ticks { margin-top: 22px; display: grid; gap: 10px; font-size: 15px; font-weight: 500; position: relative; z-index: 2; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 19px; height: 19px; border-radius: 50%; background: var(--amber); font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* podium */
.card--podium { background: linear-gradient(180deg, var(--soft), #fff3d6); }
.podium { margin-top: auto; display: flex; align-items: flex-end; justify-content: center; gap: 10px; position: relative; z-index: 2; }
.podium__col { flex: 1; max-width: 150px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.podium__emoji { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 34px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .25); margin-bottom: 10px; }
.podium__col--1 .podium__emoji { width: 88px; height: 88px; font-size: 42px; box-shadow: 0 0 0 3px var(--amber), 0 14px 30px -12px rgba(0, 0, 0, .25); }
.podium__col b { font-size: 16px; }
.podium__col small { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.podium__col i { width: 100%; font-style: normal; font-weight: 800; font-size: 22px; color: rgba(0, 0, 0, .28); border-radius: 12px 12px 0 0; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .3)); padding-top: 12px; }
.podium__col--1 i { height: 120px; }
.podium__col--2 i { height: 86px; }
.podium__col--3 i { height: 62px; }
.podium__bee { position: absolute; right: -10px; top: 120px; width: 150px; rotate: 8deg; will-change: transform; }
.card--podium { padding-bottom: 0; }

/* ============ MARQUEE ============ */
.places { position: relative; padding: 210px 0 90px; text-align: center; overflow: hidden; }
.places__rows { display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.marquee { overflow: hidden; }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 75s; }
@keyframes slide { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 14px; background: var(--soft); font-weight: 700; font-size: 19px; letter-spacing: -.01em; color: #b9bac0; white-space: nowrap; }
.chip i { width: 12px; height: 12px; border-radius: 50%; background: #cfeedd; box-shadow: inset 0 0 0 3px #8fdcb0; }
.chip[data-s="a"] i { background: #ffe9b8; box-shadow: inset 0 0 0 3px var(--amber); }
.chip[data-s="r"] { color: var(--ink); }
.chip[data-s="r"] i { background: #ffd0d0; box-shadow: inset 0 0 0 3px #f04444; animation: ping-r 1.8s infinite; }
@keyframes ping-r { 0% { outline: 0 solid rgba(240, 68, 68, .5); } 100% { outline: 9px solid rgba(240, 68, 68, 0); } }
.places__bee { position: absolute; z-index: 2; left: 50%; top: 40px; width: 230px; margin-left: -115px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .2)); will-change: transform; }
.places__copy { margin-top: 70px; display: flex; flex-direction: column; align-items: center; padding: 0 24px; }
.places__copy .lead { margin-bottom: 28px; }

/* ============ REASONS ============ */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.reason { background: var(--soft); border-radius: 22px; padding: 30px; }
.reason span { font-size: 34px; display: block; margin-bottom: 26px; }
.reason p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.reason b { color: var(--ink); }

/* ============ STEPS ============ */
.steps { padding: 150px 0 60px; }
.steps__wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.step { background: var(--soft); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; min-height: 300px; transition: opacity .9s var(--ease) var(--d, 0s), transform .6s var(--ease), filter .9s var(--ease) var(--d, 0s), box-shadow .4s; }
.step.is-in:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .25); }
.step:nth-child(even) { margin-top: 34px; }
.step__num { width: 34px; height: 34px; border-radius: 50%; background: var(--amber); font-weight: 800; display: grid; place-items: center; margin-bottom: 22px; }
.step h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-bottom: 22px; }
.step__chips { margin-top: auto; display: flex; gap: 6px; padding: 5px; background: #fff; border-radius: 14px; font-size: 12.5px; font-weight: 600; }
.step__chips span { flex: 1; text-align: center; padding: 9px 4px; border-radius: 10px; color: #8b8c92; }
.step__chips .is-on { box-shadow: inset 0 0 0 1.5px var(--amber); color: #000; }
.step__stops { margin-top: auto; display: grid; gap: 8px; font-size: 13.5px; font-weight: 500; }
.step__stops div { position: relative; background: #fff; border-radius: 12px; padding: 11px 12px 11px 32px; }
.step__stops .dot { left: 12px; top: 15px; }
.step__confirm { margin-top: auto; height: 44px; border-radius: 12px; background: #000; color: #fff; font-weight: 600; font-size: 14px; display: grid; place-items: center; }
.step .stepper { margin-top: auto; padding-bottom: 8px; }

/* ============ FINAL CTA ============ */
.final { padding: 130px 0 0; overflow: hidden; }
.final__copy { display: flex; flex-direction: column; align-items: center; }
.final__btns { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.final__devices { position: relative; height: 560px; margin-top: 70px; max-width: 1200px; margin-inline: auto; }
.final__phone { position: absolute; bottom: -260px; width: 300px; left: 50%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .25)); will-change: transform; }
.final__phone--c { margin-left: -150px; z-index: 2; bottom: -170px; width: 320px; margin-left: -160px; }
.final__phone--l { margin-left: -450px; rotate: -8deg; }
.final__phone--r { margin-left: 150px; rotate: 8deg; }
.final__boxes { position: absolute; left: 4%; bottom: -40px; width: 170px; will-change: transform; }
.final__bee { position: absolute; right: 7%; top: 20px; width: 150px; will-change: transform; animation: bob 4s ease-in-out infinite alternate; }

/* ============ FOOTER ============ */
.footer { background: var(--soft); padding: 80px 0 40px; position: relative; z-index: 3; }
.footer__inner { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.footer__logo img { height: 30px; }
.footer__col { display: grid; gap: 12px; align-content: start; font-size: 14.5px; color: var(--muted); }
.footer__col h4 { font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }
.footer__col a:hover { color: var(--ink); }
.footer__social { display: flex; gap: 12px; margin-top: 6px; color: var(--ink); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 60px; font-size: 13.5px; color: var(--muted); }
.footer__love { color: var(--ink); font-weight: 600; }
.city { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .25); vertical-align: middle; margin: 0 4px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .notes .note { width: 290px; }
  .note--l { right: calc(50% + 110px - var(--x, 0px)); }
  .note--r { left: calc(50% + 110px + var(--x, 0px)); }
  .card__duo img { width: 240px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card { padding: 30px; min-height: 560px; }
  .card--wide { flex-direction: column; min-height: 700px; }
  .card__copy { width: 100%; gap: 16px; justify-content: flex-start; }
  .card__phone--right { position: relative; right: auto; top: auto; width: 270px; margin: 36px auto -260px; }
  .card__duo { position: relative; inset: auto; height: 420px; margin-top: 20px; }
  .card__duo-a { right: 48%; top: 90px; }
  .card__duo-b { right: 4%; top: 10px; }
  .map { inset: 45% -10% -10% -10%; }
  .map img { mask-image: linear-gradient(180deg, transparent, #000 30%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 110px; }
  .logo-tile { height: 104px; }
  .steps__wall { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__logo { grid-column: 1 / -1; }
  .dark { padding-bottom: 100px; }
  .light, .light--tight, .steps { padding-top: 100px; }
  .section-head { margin-bottom: 40px; }
  .final__phone { width: 230px; }
  .final__phone--c { width: 250px; margin-left: -125px; }
  .final__phone--l { margin-left: -330px; }
  .final__phone--r { margin-left: 100px; }
  .final__devices { height: 460px; }
  .final__boxes { display: none; }
}
@media (max-width: 720px) {
  .hero { padding-top: calc(var(--announce-h) + 104px); }
  .laurels { gap: 16px; flex-wrap: nowrap; }
  .laurel { gap: 9px; }
  .stage__phone { height: min(66vh, 560px); }
  .notes { z-index: 4; }
  /* scoped to the hero's floating cards — the static timeline cards (.note--static) must keep their own width/opacity */
  .notes .note { width: 236px; padding: 10px 12px; gap: 10px; border-radius: 15px; }
  .notes .note:not(.is-lit) { opacity: 0; }
  .notes .note b { font-size: 13px; }
  .notes .note small { font-size: 11.5px; }
  .notes .note__ico { width: 32px; height: 32px; font-size: 15px; }
  .note--l { right: auto; left: 10px; }
  .note--r { left: auto; right: 10px; }
  .card:has(.timeline), .card:has(.quotes) { min-height: 0; gap: 48px; }
  .timeline { padding-bottom: 6px; }
  .note--static small { white-space: normal; }
  .device { margin-top: 64px; }
  .tab { padding: 0 12px; font-size: 12.5px; }
  .tab span { display: none; }
  .reasons { grid-template-columns: 1fr; }
  .steps__wall { grid-template-columns: 1fr; }
  .step:nth-child(even) { margin-top: 0; }
  .step { min-height: 0; }
  .announce { font-size: 12.5px; }
  .announce__icon { display: none; }
  .chip { height: 44px; font-size: 16px; }
  .final__bee { width: 100px; right: 2%; }
  .podium__bee { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}
