/* Shipmate home — the showcase.
   Dark like the app (Midnight Pulse), the real window at the centre, and
   motion everywhere it helps: screens that change on their own, notifications
   that arrive, numbers that count, a window that follows the story. */

:root {
  --bg: #07080d;
  --bg-2: #0b0d16;
  --card: #0f1220;
  --card-2: #141829;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f2f4fa;
  --muted: #a1a8bd;
  --dim: #7c8399;
  --cyan: #53d5fd;
  --blue: #3f6ef5;
  --violet: #8b4bf5;
  --live: #4ff0a0;
  --wait: #ffd166;
  --bad: #ff7b8e;
  --grad: linear-gradient(100deg, #53d5fd 0%, #3f6ef5 52%, #8b4bf5 100%);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cyan); color: #04121a; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--cyan); color: #04121a; padding: 10px 16px; z-index: 60; }
.skip:focus { left: 16px; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--dim); }

h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.08; font-weight: 700; }
.sec-title {
  font-size: clamp(32px, 4.2vw, 54px); text-align: center; max-width: 18ch; margin: 0 auto;
  background: linear-gradient(180deg, #fff 30%, #9aa3bb 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 30px -8px rgba(83, 130, 253, .55), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(83, 130, 253, .75), inset 0 1px 0 rgba(255,255,255,.3); filter: brightness(1.08); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-big { min-height: 54px; padding: 0 26px; font-size: 17px; border-radius: 14px; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-ghost { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }

/* Navigation: glass bar that appears once you scroll */
.top { position: fixed; inset: 0 0 auto; z-index: 40; transition: background-color .3s, backdrop-filter .3s, box-shadow .3s; }
.top.is-scrolled { background: rgba(7, 8, 13, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad); display: flex; align-items: center; gap: 28px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.mark img { border-radius: 7px; }
.top-nav { display: flex; gap: 24px; align-items: center; margin-left: auto; font-size: 14px; }
.langs { display: flex; gap: 24px; }
.top-link { text-decoration: none; color: var(--muted); transition: color .15s; }
.top-link:hover { color: var(--ink); }

/* Glows */
.glow { position: absolute; pointer-events: none; z-index: 0; filter: blur(40px); }
.hero .glow {
  left: 50%; top: 280px; width: min(1300px, 120vw); height: 760px; translate: -50% 0;
  background:
    radial-gradient(40% 50% at 30% 50%, rgba(63, 110, 245, .42), transparent 70%),
    radial-gradient(35% 45% at 70% 45%, rgba(139, 75, 245, .38), transparent 70%),
    radial-gradient(30% 35% at 50% 30%, rgba(83, 213, 253, .28), transparent 70%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .7; transform: scale(1.06); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px var(--pad) 40px; text-align: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; display: grid; justify-items: center; gap: 22px; }
.hero h1 {
  font-size: clamp(40px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -0.04em; max-width: 19ch; text-wrap: balance;
  background: linear-gradient(180deg, #fff 35%, #a9b2ca 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 58ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.stage { position: relative; z-index: 1; max-width: 1120px; margin: 64px auto 0; perspective: 1600px; }
.window {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: #0b0d16; border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4), 0 0 80px -20px rgba(83, 130, 253, .35);
  transform-origin: 50% 0;
}
.hero .window { transform: rotateX(var(--tilt, 14deg)) scale(var(--zoom, .96)); transition: transform .1s linear; }
.titlebar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: #10131f; border-bottom: 1px solid var(--line); }
.titlebar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.titlebar i:nth-child(2) { background: #febc2e; }
.titlebar i:nth-child(3) { background: #28c840; }
.tb-name { margin-left: auto; margin-right: auto; padding-right: 52px; font-size: 13px; color: var(--dim); font-weight: 500; }
.screens { position: relative; aspect-ratio: 16 / 10; }
.screen { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.screen.is-on { opacity: 1; transform: none; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.toast {
  position: absolute; z-index: 3; top: 58px; right: -28px; width: min(360px, 70%);
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; text-align: left;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(30, 33, 48, .82); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 50px -10px rgba(0,0,0,.7);
  opacity: 0; transform: translateX(40px) scale(.96);
  transition: opacity .5s var(--ease), transform .6s var(--spring);
}
.toast.is-in { opacity: 1; transform: none; }
.toast img { border-radius: 8px; }
.toast b { display: block; font-size: 13px; font-weight: 600; }
.toast span { display: block; font-size: 13px; color: #c9cede; line-height: 1.35; }
.toast .toast-when { align-self: start; font-size: 12px; color: var(--dim); }

.tabs { position: relative; z-index: 2; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 28px auto 0; }
.tabs button {
  position: relative; overflow: hidden; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted);
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .2s, background-color .2s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1px var(--line-2); }
.tabs .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.tabs button[aria-selected="true"] .bar { animation: fill var(--cycle, 4.2s) linear forwards; }
.tabs.is-paused .bar { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- Tour ---------- */
.tour { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 140px var(--pad) 60px; }
.tour-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; margin-top: 70px; }
.tour-steps { display: grid; gap: 0; }
.tstep { min-height: 62vh; display: grid; align-content: center; gap: 14px; opacity: .32; transition: opacity .5s var(--ease); }
.tstep.is-on { opacity: 1; }
.tstep h3 { font-size: clamp(24px, 2.4vw, 32px); }
.tstep p { color: #cdd2e0; max-width: 46ch; }
.tstep .muted { color: var(--muted); }
.chips { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); }
.chips b { color: var(--ink); margin-left: 4px; font-variant-numeric: tabular-nums; }
.chips .c-wait { color: var(--wait); } .chips .c-live { color: var(--live); } .chips .c-bad { color: var(--bad); }
.tshot { display: none; margin-top: 8px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
.tshot img { width: 100%; }
.tour-stage { position: sticky; top: calc(50vh - 220px); align-self: start; }
.tour-stage .window { box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 70px -20px rgba(139, 75, 245, .35); }

/* ---------- Notifications ---------- */
.pulse { max-width: var(--wrap); margin: 0 auto; padding: 120px var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pulse .sec-title { text-align: left; margin: 0 0 20px; }
.pulse-copy p { color: #cdd2e0; max-width: 46ch; margin-bottom: 12px; }
.pulse-copy .muted { color: var(--muted); }
.morning-pick { display: inline-flex; gap: 4px; padding: 4px; margin-top: 18px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.morning-pick button { padding: 8px 14px; border-radius: 9px; font-size: 14px; color: var(--muted); transition: background-color .2s, color .2s; }
.morning-pick button[aria-selected="true"] { background: rgba(255,255,255,.1); color: var(--ink); }
.desk {
  position: relative; min-height: 380px; padding: 28px; border-radius: var(--r-lg);
  background:
    radial-gradient(80% 70% at 80% 0%, rgba(139, 75, 245, .35), transparent 70%),
    radial-gradient(70% 60% at 0% 100%, rgba(63, 110, 245, .35), transparent 70%),
    #0c0f1c;
  border: 1px solid var(--line); overflow: hidden;
}
.notes { list-style: none; display: grid; gap: 10px; }
.note {
  display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 16px;
  background: rgba(32, 36, 54, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 14px 34px -12px rgba(0,0,0,.6);
  animation: drop .6s var(--spring) both; animation-delay: calc(var(--i, 0) * 180ms);
}
.note img { border-radius: 7px; }
.note b { display: block; font-size: 14px; font-weight: 600; }
.note span { display: block; font-size: 14px; color: #c9cede; line-height: 1.4; }
@keyframes drop { from { opacity: 0; transform: translateY(-18px) scale(.97); } }
.desk .fine { margin-top: 18px; }

/* ---------- Bento ---------- */
.bento-sec { max-width: var(--wrap); margin: 0 auto; padding: 60px var(--pad) 120px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 64px; }
.tile {
  position: relative; overflow: hidden; display: grid; align-content: start; gap: 10px;
  padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s;
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(83, 160, 253, .14), transparent 45%);
}
.tile:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 20px; margin-top: 8px; }
.tile p { font-size: 15px; color: var(--muted); }
.t-widget { grid-column: span 4; }
.t-rc { grid-column: span 2; }
.t-tasks { grid-column: span 3; }
.t-private { grid-column: span 3; }
.t-menu { grid-column: span 6; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 32px; }
.t-menu .t-ui { grid-row: span 2; }
.t-ui { display: flex; gap: 12px; flex-wrap: wrap; min-height: 150px; align-items: center; }
.t-shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); min-height: 150px; }
.t-shot img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: top left; transition: transform .6s var(--ease); }
.tile:hover .t-shot img { transform: scale(1.04); }

.widget { width: 170px; height: 170px; padding: 16px; border-radius: 26px; display: grid; align-content: start; gap: 2px; background: linear-gradient(160deg, #1b2240, #12162a); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 16px 40px -14px rgba(0,0,0,.7); }
.widget-list { width: 300px; gap: 8px; }
.w-day { font-size: 12px; font-weight: 600; color: var(--cyan); }
.w-num { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.w-sub { font-size: 13px; color: var(--muted); }
.w-spark { width: 100%; height: 30px; margin-top: 8px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.is-in .w-spark { stroke-dashoffset: 0; }
.w-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #d5d9e6; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-live { background: var(--live); box-shadow: 0 0 10px var(--live); }
.dot-review { background: var(--wait); box-shadow: 0 0 10px var(--wait); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

.rc { width: 100%; padding: 16px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.rc-title { font-size: 12px; color: var(--muted); font-weight: 600; }
.rc-row { display: grid; gap: 10px; margin-top: 10px; }
.rc-row span { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--muted); }
.rc-row b { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

.keychain { width: 100%; display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.k-row b { display: block; font-size: 15px; }
.k-row span { font-size: 13px; color: var(--muted); }
.k-ok { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--live); }
.k-ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); }

.menubar { width: 100%; display: flex; justify-content: flex-end; gap: 22px; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 14px; font-weight: 500; }
.mb-ic { display: inline-flex; align-items: center; gap: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.12); }
.mb-ic img { border-radius: 4px; }

/* ---------- Setup ---------- */
.setup { max-width: var(--wrap); margin: 0 auto; padding: 60px var(--pad) 120px; counter-reset: s; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; position: relative; }
.steps li { counter-increment: s; position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.s-num::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--grad); font-weight: 700; color: #fff; box-shadow: 0 8px 24px -8px rgba(83,130,253,.7); }
.steps h3 { font-size: 19px; }
.steps p { font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; padding: 60px var(--pad) 120px; }
.faq-list { margin-top: 50px; display: grid; gap: 10px; }
details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, background-color .2s; }
details[open] { background: var(--card-2); border-color: var(--line-2); }
summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-weight: 600; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: 140px var(--pad) 160px; display: grid; justify-items: center; gap: 18px; }
.glow-cta { left: 50%; top: 50%; width: 900px; height: 500px; translate: -50% -50%; background: radial-gradient(50% 50% at 50% 50%, rgba(63, 110, 245, .45), rgba(139, 75, 245, .2) 50%, transparent 72%); animation: breathe 7s ease-in-out infinite; }
.cta > *:not(.glow) { position: relative; z-index: 1; }
.cta-icon { border-radius: 22px; box-shadow: 0 20px 60px -10px rgba(83,130,253,.6); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.cta h2 { font-size: clamp(36px, 5vw, 64px); background: linear-gradient(180deg, #fff 30%, #a9b2ca 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta > p:not(.fine) { color: var(--muted); max-width: 46ch; font-size: 18px; }

/* ---------- Footer ---------- */
.foot { max-width: var(--wrap); margin: 0 auto; padding: 36px var(--pad) 12px; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-brand { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.foot-brand img { border-radius: 6px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { margin-top: 18px; font-size: 13px; color: var(--dim); }
.more-foot { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--pad) 48px; font-size: 13px; color: var(--dim); }
.more-foot b { display: block; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.more-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.more-foot a { color: var(--dim); text-decoration: none; }
.more-foot a:hover { color: var(--cyan); }

/* ---------- Entrances (only with script) ---------- */
.js .rv { opacity: 0; transform: translateY(26px); }
.js .rv.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero-copy > * { opacity: 0; transform: translateY(18px); }
.js.is-ready .hero-copy > * { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js.is-ready .hero-copy > *:nth-child(2) { transition-delay: .08s; }
.js.is-ready .hero-copy > *:nth-child(3) { transition-delay: .16s; }
.js.is-ready .hero-copy > *:nth-child(4) { transition-delay: .24s; }
.js .stage { opacity: 0; transform: translateY(60px); }
.js.is-ready .stage { opacity: 1; transform: none; transition: opacity 1s var(--ease) .3s, transform 1.2s var(--ease) .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .rv, .js .hero-copy > *, .js .stage, .toast, .screen { opacity: 1; transform: none !important; transition: none !important; }
  .screen:not(.is-on) { opacity: 0; }
  .hero .window { transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .tour-grid { grid-template-columns: 1fr; }
  .tour-stage { display: none; }
  .tstep { min-height: 0; opacity: 1; padding: 36px 0; }
  .tshot { display: block; }
  .pulse { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-widget, .t-rc, .t-tasks, .t-private { grid-column: span 2; }
  .t-menu { grid-column: span 2; grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .toast { right: 12px; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .hero { padding-top: 116px; }
  .stage { margin-top: 44px; }
  .hero .window { transform: none; }
  .titlebar { height: 24px; } .titlebar i { width: 8px; height: 8px; } .tb-name { display: none; }
  .toast { top: auto; bottom: -26px; right: 8px; left: 8px; width: auto; }
  .tabs { margin-top: 48px; }
  .actions .btn { width: 100%; }
  .actions { width: 100%; }
  .widget-list { width: 100%; }
  .tour { padding-top: 100px; }
  .tour-grid { margin-top: 40px; gap: 20px; }
}

/* ---------- Refinements ---------- */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.beam {
  position: absolute; inset: -1.5px; border-radius: calc(var(--r-lg) + 1.5px); z-index: 0; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0deg, transparent 250deg, rgba(83, 213, 253, .9) 300deg, rgba(139, 75, 245, .9) 340deg, transparent 360deg);
  animation: spin 6s linear infinite;
  transform: rotateX(var(--tilt, 14deg)) scale(var(--zoom, .96)); transform-origin: 50% 0;
}
.stage .window { z-index: 1; }
@keyframes spin { to { --a: 360deg; } }

.facts { list-style: none; position: relative; z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 36px; margin: 56px auto 0; max-width: 980px; }
.facts li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.facts svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.tour-rail { position: absolute; left: -28px; top: 50%; translate: 0 -50%; display: grid; gap: 10px; }
.tour-rail span { width: 4px; height: 22px; border-radius: 4px; background: rgba(255,255,255,.12); transition: background-color .3s, height .3s var(--ease); }
.tour-rail span.is-on { background: var(--cyan); height: 40px; box-shadow: 0 0 12px rgba(83, 213, 253, .6); }

.t-menu .t-ui { min-height: 230px; }
.mb-wrap { width: 100%; display: grid; justify-items: end; gap: 8px; }
.menubar { align-items: center; }
.mb-ic b { font-weight: 600; font-variant-numeric: tabular-nums; }
.mb-clock { color: var(--muted); }
.popover {
  width: min(320px, 100%); display: grid; gap: 10px; padding: 14px; border-radius: 16px;
  background: rgba(30, 33, 48, .9); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 50px -16px rgba(0,0,0,.8);
  transform-origin: top right; transform: translateY(-6px) scale(.96); opacity: 0;
  transition: transform .5s var(--spring), opacity .4s var(--ease);
}
.is-in .popover { transform: none; opacity: 1; transition-delay: .35s; }
.pop-title { font-size: 12px; font-weight: 600; color: var(--cyan); }
.pop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pop-grid span { display: grid; font-size: 12px; color: var(--muted); padding: 8px; border-radius: 10px; background: rgba(255,255,255,.05); }
.pop-grid b { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pop-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #d5d9e6; }
.dot-bad { background: var(--bad); box-shadow: 0 0 10px var(--bad); }

@media (max-width: 960px) { .tour-rail { display: none; } }
@media (max-width: 640px) {
  .beam { transform: none; }
  .facts { flex-direction: column; align-items: center; gap: 10px; margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { .beam { display: none; } .popover { opacity: 1; transform: none; } }
.t-menu h3 { align-self: end; margin-top: 0; }
.t-menu p { align-self: start; }
@media (max-width: 960px) { .t-menu h3, .t-menu p { align-self: auto; } }

/* ---------- Refinements, round 2 ---------- */
/* Setup: a lit path instead of three boxes */
.steps { gap: 40px; margin-top: 72px; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,.08);
}
.steps::after { background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.is-lit::after { transform: scaleX(1); }
.steps li { padding: 0; background: none; border: 0; border-radius: 0; gap: 12px; }
.s-num { position: relative; z-index: 1; }
.s-num::before {
  width: 48px; height: 48px; border-radius: 50%; font-size: 19px;
  background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-2);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), color .4s;
}
.steps.is-lit .s-num::before { background: var(--blue); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 0 0 6px var(--bg); }
.steps.is-lit li:nth-child(2) .s-num::before { transition-delay: .7s; background: #6a5cf5; }
.steps.is-lit li:nth-child(3) .s-num::before { transition-delay: 1.4s; background: var(--violet); }
.steps.is-lit li:nth-child(1) .s-num::before { transition-delay: .1s; background: #3fa6f5; }
.steps h3 { font-size: 21px; margin-top: 10px; }
.steps p { font-size: 16px; max-width: 34ch; }

/* FAQ: heading on the left, answers on the right */
.faq { max-width: var(--wrap); display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.faq-head { position: sticky; top: 110px; display: grid; gap: 18px; }
.faq-head .sec-title { text-align: left; margin: 0; }
.faq-head p { color: var(--muted); max-width: 32ch; }
.faq-head a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.faq-head a:hover { text-decoration: underline; }
.faq-list { margin-top: 0; }

/* CTA: the app keeps scrolling underneath */
.cta { padding-bottom: 0; }
.reel { justify-self: stretch; min-width: 0; margin: 64px calc(-1 * var(--pad)) 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.reel-track { display: flex; gap: 20px; width: max-content; animation: reel 60s linear infinite; }
.reel picture { width: 420px; flex: none; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); opacity: .85; }
.reel img { width: 100%; }
.reel:hover .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(calc(-50% - 10px)); } }

/* Paragraph measure */
.tile p { max-width: 60ch; }

@media (max-width: 960px) {
  .faq { grid-template-columns: 1fr; gap: 36px; }
  .faq-head { position: static; justify-items: center; text-align: center; }
  .faq-head .sec-title { text-align: center; }
  .steps { gap: 36px; padding-left: 68px; }
  .steps::before, .steps::after { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
  .steps::after { transform: scaleY(0); transform-origin: top; }
  .steps.is-lit::after { transform: scaleY(1); }
  .s-num { position: absolute; left: -68px; top: 0; }
  .steps h3 { margin-top: 10px; }
}
@media (max-width: 640px) {
  .tour { padding-top: 72px; padding-bottom: 24px; }
  .pulse { padding-top: 64px; padding-bottom: 64px; gap: 36px; }
  .bento-sec { padding-top: 24px; padding-bottom: 72px; }
  .setup { padding-top: 24px; padding-bottom: 72px; }
  .steps { margin-top: 44px; }
  .faq { padding-top: 24px; padding-bottom: 72px; }
  .cta { padding-top: 72px; }
  .reel { margin-top: 44px; }
  .reel picture { width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
  .steps::after { transform: none; transition: none; }
}

/* Language selector (generated from scripts/site-config.mjs) */
.lang-pick { position: relative; }
.lang-pick summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 10px; color: #a1a8bd; font-size: 13px; font-weight: 600; letter-spacing: .02em; cursor: pointer; user-select: none; transition: color .15s, background-color .15s; }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-pick summary:hover, .lang-pick[open] summary { color: #f2f4fa; background: rgba(255,255,255,.06); }
.lang-pick svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.lang-pick .lang-chev { width: 12px; height: 12px; stroke-width: 1.8; transition: transform .2s; }
.lang-pick[open] .lang-chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; padding: 6px; border-radius: 12px; background: rgba(20, 24, 41, .96); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 20px 50px -12px rgba(0,0,0,.7); z-index: 60; animation: lang-in .16s cubic-bezier(.22,1,.36,1); }
@keyframes lang-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.lang-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: #c8cede; text-decoration: none; }
a.lang-item:hover { background: rgba(255,255,255,.07); color: #f2f4fa; }
.lang-item.is-current { color: #f2f4fa; font-weight: 600; }
.lang-item.is-current svg { width: 14px; height: 14px; stroke: #53d5fd; stroke-width: 2; }
@media (prefers-reduced-motion: reduce) { .lang-menu { animation: none; } .lang-pick .lang-chev { transition: none; } }
.top-in > .lang-pick { margin-left: -14px; }
@media (max-width: 640px) {
  .top-nav { display: none; }
  .top-in > .btn-small { margin-left: auto; }
  .top-in > .lang-pick { margin-left: -18px; }
}

/* ---------- Before launch: idea, store page, analytics ---------- */
.make-sec { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 120px; }
.make-head { display: grid; justify-items: center; gap: 14px; text-align: center; }
.make-head .sec-title { margin: 0; }
.make-lede { color: var(--muted); max-width: 56ch; font-size: 17px; }
.pill-next { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--wait);
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 209, 102, .1); border: 1px solid rgba(255, 209, 102, .3); }
.make { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.make .tile a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.make .tile a:hover { text-decoration: underline; }
.make-fine { text-align: center; margin-top: 18px; }
.chart-card { width: 100%; display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.chart-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; font-size: 13px; }
.chart-row small { color: var(--dim); font-weight: 500; font-size: 12px; }
.chart-row i { font-style: normal; color: var(--dim); font-variant-numeric: tabular-nums; }
.chart-row b { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-row em { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.05); white-space: nowrap; }
.chart-row .c-bad { color: var(--bad); }
.chart-row .c-wait { color: var(--wait); }
.chart-row .c-live { color: var(--live); }
.slides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.slide { aspect-ratio: 9 / 16; border-radius: 10px; padding: 10px 8px 0; display: grid; grid-template-rows: auto 1fr; gap: 8px; overflow: hidden;
  border: 1px solid var(--line); transition: transform .5s var(--spring); }
.slide b { font-size: 11px; line-height: 1.2; color: #fff; text-align: center; }
.slide .phone { justify-self: center; width: 70%; border-radius: 10px 10px 0 0; border: 3px solid rgba(255,255,255,.85); border-bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); }
.s1 { background: linear-gradient(160deg, #3f6ef5, #1b2a6b); }
.s2 { background: linear-gradient(160deg, #8b4bf5, #3a1d6e); }
.s3 { background: linear-gradient(160deg, #e0705a, #6b2340); }
.tile:hover .s1 { transform: translateY(-4px) rotate(-2deg); }
.tile:hover .s3 { transform: translateY(-4px) rotate(2deg); }
.chip-row { width: 100%; display: flex; justify-content: center; }
.chip { font-size: 12px; font-weight: 600; color: var(--muted); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.rc-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .make { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } .tile:hover .slide { transform: none; } }
