/* onestation.dev — shared styles. No build step; keep selectors flat. */

:root {
  --ink: #0a0a0c;
  --ink-2: #0e0e11;
  --card: #121214;
  --card-2: #17171a;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --paper: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #8a8a94;
  --blue: #4f8cff;
  --amber: #f5a524;
  --green: #22c55e;
  --display: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --spring: cubic-bezier(0.22, 1.2, 0.36, 1);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --r-lg: 22px;
  --r-md: 14px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
kbd {
  font: 500 0.82em/1 var(--mono);
  display: inline-grid; place-items: center;
  min-width: 1.7em; height: 1.7em; padding: 0 0.4em;
  border-radius: 0.38em;
  background: linear-gradient(#2a2a30, #1c1c21);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--paper);
  vertical-align: 0.05em;
}
code { font: 0.9em var(--mono); background: var(--card-2); border: 1px solid var(--line); padding: 0.1em 0.35em; border-radius: 6px; }
::selection { background: rgba(79, 140, 255, 0.35); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.br-d { display: none; }
@media (min-width: 760px) { .br-d { display: inline; } }

/* status dots, reused everywhere */
.s-work, .s-need, .s-done { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.s-work { background: var(--blue); box-shadow: 0 0 8px rgba(79, 140, 255, 0.7); }
.s-need { background: var(--amber); box-shadow: 0 0 8px rgba(245, 165, 36, 0.7); }
.s-done { background: var(--green); box-shadow: 0 0 8px rgba(34, 197, 94, 0.55); }

/* ---------- Buttons ---------- */
.btn {
  --h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px;
  border-radius: 999px;
  font: 500 15px/1 var(--body); letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--spring), background-color 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }
.btn-sm { --h: 34px; padding: 0 14px; font-size: 14px; }
.btn-lg { --h: 50px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-light {
  background: var(--paper); color: #0b0b0d;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 8px 24px -8px rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.btn-light:hover { background: #fff; box-shadow: 0 1px 0 #fff inset, 0 10px 32px -8px rgba(255, 255, 255, 0.5), 0 0 0 1px #fff; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--paper);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.24); }

.link { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.link:hover { text-decoration-color: var(--paper); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(10, 10, 12, 0.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.nav-inner { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 600 17px/1 var(--display); letter-spacing: -0.03em; }
.brand .mark { width: 24px; height: 24px; color: var(--paper); }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: var(--paper); background: rgba(255, 255, 255, 0.05); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; border-radius: 999px; border: 1px solid var(--line-2); }
.nav-toggle span { display: block; width: 14px; height: 1.5px; background: var(--paper); transition: transform 0.3s var(--spring); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.nav-menu { padding: 8px var(--gutter) 16px; display: grid; background: rgba(10, 10, 12, 0.95); border-bottom: 1px solid var(--line); }
.nav-menu[hidden] { display: none; }
.nav-menu a { padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--muted); }
.nav-menu a:last-child { border-bottom: 0; }
@media (min-width: 820px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 8px; }
  .nav-toggle, .nav-menu { display: none !important; }
}

/* ---------- Horizon (hero art) ---------- */
.horizon { --hz: 64.7%; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hz-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(79, 140, 255, 0.0) 40%, transparent 70%),
    linear-gradient(180deg, #0a0a0c 0%, #0b0c14 calc(var(--hz) * 0.45), #121633 calc(var(--hz) * 0.8), #2a2350 calc(var(--hz) * 0.93), #48304f calc(var(--hz) - 0.25%), #0a0b10 var(--hz), #070709 100%);
}
.hz-stars {
  position: absolute; inset: 0 0 40% 0; opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 34%, #cfd8ff 50%, transparent 51%),
    radial-gradient(1px 1px at 41% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 9%, #dfe6ff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 38%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 7% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 53% 41%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 21%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 6%, #fff 50%, transparent 51%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}
.hz-glow {
  position: absolute; left: 50%; top: var(--hz); width: 140%; height: 70%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(28% 16% at 50% 50%, rgba(255, 196, 140, 0.55), transparent 70%),
    radial-gradient(48% 26% at 46% 50%, rgba(245, 120, 110, 0.32), transparent 70%),
    radial-gradient(70% 40% at 56% 50%, rgba(110, 90, 230, 0.32), transparent 72%),
    radial-gradient(90% 55% at 50% 50%, rgba(79, 140, 255, 0.22), transparent 75%);
  filter: blur(6px);
  animation: hz-breathe 14s ease-in-out infinite alternate;
}
.hz-line {
  position: absolute; left: 0; right: 0; top: var(--hz); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160, 190, 255, 0.35) 18%, rgba(255, 228, 200, 0.95) 50%, rgba(160, 190, 255, 0.35) 82%, transparent);
  box-shadow: 0 0 18px 2px rgba(255, 200, 160, 0.35);
}
.hz-sea {
  position: absolute; left: 0; right: 0; top: var(--hz); bottom: 0;
  background:
    repeating-linear-gradient(180deg, rgba(255, 210, 180, 0.07) 0 1px, transparent 1px 7px),
    radial-gradient(40% 30% at 50% 0%, rgba(255, 190, 150, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(40, 30, 70, 0.6), rgba(10, 10, 12, 1) 85%);
  mask-image: radial-gradient(70% 90% at 50% 0%, #000 0%, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, #000 0%, transparent 85%);
}
.hz-ring {
  position: absolute; left: 50%; top: var(--hz); width: min(112vw, 1240px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(190, 205, 255, 0.10);
  mask-image: linear-gradient(180deg, #000 0%, #000 49.5%, transparent 50%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 49.5%, transparent 50%);
}
.hz-ring::before {
  content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(190, 205, 255, 0.06);
}
.hz-ring i {
  position: absolute; left: 93.3%; top: 25%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(79, 140, 255, 0.12), 0 0 30px 8px rgba(79, 140, 255, 0.55);
  animation: pulse 2.6s ease-in-out infinite;
}
.hz-grain {
  position: absolute; inset: 0; opacity: 0.16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes hz-breathe { from { opacity: 0.85; transform: translate(-50%, -50%) scale(1); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.75; transform: scale(0.82); } }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -64px; padding: clamp(100px, 12vh, 124px) var(--gutter) 24px; isolation: isolate; }
/* The horizon line sits behind the upper third of the screenshot so the app rises out of the glow. */
.hero .horizon { --hz: 700px; }
@media (max-width: 640px) { .hero .horizon { --hz: 720px; } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--ink)); z-index: -1; }
.hero .horizon { z-index: -2; }
.hero-inner { max-width: 1240px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: clamp(8px, 3vh, 36px); }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  font-size: 13px; color: var(--muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: color 0.2s, border-color 0.2s;
}
.eyebrow-pill:hover { color: var(--paper); border-color: rgba(255, 255, 255, 0.25); }
.ep-arrow { transition: transform 0.3s var(--spring); }
.eyebrow-pill:hover .ep-arrow { transform: translateX(3px); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); animation: pulse 2.2s ease-in-out infinite; flex: none; }
.hero-title {
  margin-top: 8px; max-width: 1100px;
  font: 600 clamp(40px, 5.2vw, 72px)/1.02 var(--display);
  letter-spacing: -0.05em;
  color: var(--paper);
}
.hero-title span { display: block; padding-bottom: 0.06em; background: linear-gradient(92deg, #8fb4ff 0%, #4f8cff 45%, #b9a6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 22px; max-width: 640px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: #c4c4cc; }
.hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--dim); letter-spacing: 0.005em; }
.hero-meta span[aria-hidden] { margin-inline: 6px; opacity: 0.6; }
.hero-meta .nw { white-space: nowrap; }

.load-1, .load-2, .load-3, .load-4, .load-5 { animation: rise 0.9s var(--ease) both; }
.load-2 { animation-delay: 0.08s; }
.load-3 { animation-delay: 0.18s; }
.load-4 { animation-delay: 0.26s; }
.load-5 { animation-delay: 0.34s; }
.load-6 { animation: rise-shot 1.2s var(--ease) 0.4s both; }
@keyframes rise-shot { from { opacity: 0; transform: translateY(40px) scale(0.985); } to { opacity: 1; transform: none; } }
.btn-price { font-variant-numeric: tabular-nums; opacity: 0.75; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Agents strip ---------- */
.agents { position: relative; padding: 24px var(--gutter) 0; text-align: center; }
.agents-title { font: 500 13px/1.4 var(--body); color: var(--dim); letter-spacing: 0.02em; }
.chips { list-style: none; margin: 20px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 900px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 12px; border-radius: 999px;
  font: 500 14.5px/1 var(--display); letter-spacing: -0.015em; color: #d8d8de;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
}
.chip-g { font: 500 12px/1 var(--mono); color: var(--dim); min-width: 14px; text-align: center; }
.agents-note { margin-top: 16px; font-size: 13px; color: var(--dim); }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); color: var(--blue); letter-spacing: 0.02em; margin-bottom: 18px; text-transform: lowercase; }
.eyebrow::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: 0.6; }
.h2 { font: 600 clamp(34px, 5.2vw, 60px)/1.02 var(--display); letter-spacing: -0.045em; }
.lede { margin-top: 18px; font-size: 18px; color: var(--muted); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero screenshot ---------- */
.shot { position: relative; margin: clamp(36px, 5vh, 52px) auto 0; max-width: 1240px; }
.shot::before {
  content: ""; position: absolute; inset: -6% -4% 10%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 40%, rgba(79, 140, 255, 0.28), transparent 70%);
  filter: blur(30px);
}
.shot-frame {
  position: relative; border-radius: clamp(12px, 1.6vw, 20px); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 50px 120px -30px rgba(0, 0, 0, 0.9), 0 30px 80px -40px rgba(79, 140, 255, 0.45);
  background: #12152a;
}
.shot-frame img { width: 100%; height: auto; }

/* Callouts: numbered markers on the capture. Labels show where there is room;
   below 900px the numbered legend under the image carries the words. */
.callouts { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.co { position: absolute; width: 0; height: 0; }
.co-1 { left: 8%; top: 45.2%; }
.co-2 { left: 58%; top: 37.7%; }
.co-3 { left: 58%; top: 47.4%; }
.co-4 { left: 95.4%; top: 58.8%; }
.co-n {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font: 600 12px/1 var(--mono); color: #fff; background: var(--blue);
  box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.25), 0 4px 14px rgba(0, 0, 0, 0.5);
}
.co-n::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(79, 140, 255, 0.7); animation: co-ping 2.8s var(--ease) infinite; }
.co-2 .co-n::after { animation-delay: 0.7s; }
.co-3 .co-n::after { animation-delay: 1.4s; }
.co-4 .co-n::after { animation-delay: 2.1s; }
@keyframes co-ping { 0% { transform: scale(1); opacity: 0.9; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
.co-l {
  position: absolute; top: 0; white-space: nowrap;
  display: none; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  font: 500 13.5px/1 var(--body); color: var(--paper);
  background: rgba(14, 16, 26, 0.86); border: 1px solid rgba(143, 180, 255, 0.35);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.co-l kbd { font-size: 0.8em; }
.co[data-side="right"] .co-l { left: 20px; transform: translateY(-50%); }
.co[data-side="left"] .co-l { right: 20px; transform: translateY(-50%); }
.co[data-side="below"] .co-l { left: -14px; top: 20px; }
.shot-legend { margin: 18px auto 0; display: grid; gap: 8px; max-width: 560px; text-align: left; font-size: 14px; color: #c4c4cc; }
.shot-legend > span { display: grid; grid-template-columns: 26px 1fr; align-items: start; }
.shot-legend em { font-style: normal; }
.shot-legend b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; font: 600 11px/1 var(--mono); color: #fff; background: var(--blue); }
.shot-legend i { margin-left: 6px; }
@media (max-width: 899px) { .co-2 { left: 42%; } .co-3 { left: 68%; } .co-n { width: 18px; height: 18px; font-size: 10.5px; } .co-n::after { inset: -3px; } }
@media (min-width: 900px) {
  .co-l { display: inline-flex; }
  .co-n { width: 26px; height: 26px; font-size: 13px; }
  .shot-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
}

/* ---------- Agents strip ---------- */
.agents { padding-top: clamp(40px, 6vw, 72px); }
.chips { margin-top: 16px; }

/* ---------- How it works ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(64px, 9vw, 120px); }
.flow-step { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) {
  .flow-step { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 64px; }
  .flow-step:nth-child(even) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .flow-step:nth-child(even) .flow-text { order: 2; }
}
.flow-text h3 { margin-top: 18px; font: 600 clamp(26px, 3vw, 34px)/1.1 var(--display); letter-spacing: -0.035em; }
.flow-text p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 46ch; }
.flow-text kbd { font-size: 0.78em; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 600 14px/1 var(--mono); color: #fff; background: var(--blue); box-shadow: 0 0 0 5px rgba(79, 140, 255, 0.16); }
.flow-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 13px/1 var(--mono) !important; color: var(--dim) !important; }
.flow-legend span { display: inline-flex; align-items: center; gap: 7px; }
.media { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); background: #0b0b0d; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 20px 60px -40px rgba(79, 140, 255, 0.35); }
.media img { width: 100%; height: auto; }
.media-pair { display: grid; gap: 14px; }
.media-crop { position: relative; }
.media-crop figcaption { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 14px; color: #c4c4cc; border-top: 1px solid var(--line); background: #0e0e11; }
.tag { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 8px; border-radius: 6px; color: #ffd28a; background: rgba(245, 165, 36, 0.14); border: 1px solid rgba(245, 165, 36, 0.3); }
.tag-blue { color: #b9d0ff; background: rgba(79, 140, 255, 0.14); border-color: rgba(79, 140, 255, 0.35); }
.phones { display: flex; justify-content: center; gap: clamp(14px, 3vw, 32px); }
.phone-shot { margin: 0; width: min(46%, 290px); padding: 7px; border-radius: 38px; background: linear-gradient(160deg, #2a2b33, #121216); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 20px 60px -30px rgba(79, 140, 255, 0.3); }
.phone-shot:nth-child(2) { transform: translateY(36px); }
.phone-shot img { width: 100%; height: auto; border-radius: 31px; }
@media (max-width: 480px) { .phone-shot { border-radius: 28px; padding: 5px; } .phone-shot img { border-radius: 23px; } }

/* ---------- Real-UI demo ---------- */
.demo-frame { position: relative; margin: 0 auto; max-width: 1080px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: #12152a; box-shadow: 0 50px 120px -40px rgba(79, 140, 255, 0.35), 0 30px 80px -30px rgba(0, 0, 0, 0.9); }
.demo-frame video { width: 100%; height: auto; aspect-ratio: 16 / 10; background: #12152a; }
.demo-toggle { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: rgba(12, 12, 16, 0.72); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color 0.2s; }
.demo-toggle:hover { background: rgba(30, 30, 38, 0.9); }
.demo-toggle[hidden] { display: none; }
.demo-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.demo-toggle .i-play { display: none; }
.demo-toggle[aria-pressed="true"] .i-play { display: block; }
.demo-toggle[aria-pressed="true"] .i-pause { display: none; }
.demo-steps { list-style: none; margin: 22px auto 0; padding: 0; max-width: 1080px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.demo-steps li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px; font-size: 14px; color: #d0d0d6; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.demo-steps span { font: 500 11px/1 var(--mono); color: var(--blue); }
.demo-steps kbd { font-size: 0.78em; }

/* ---------- Features ---------- */
.fgrid { display: grid; gap: 14px; }
@media (min-width: 680px) { .fgrid { grid-template-columns: repeat(2, 1fr); } .f-pill, .f-last { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .fgrid { grid-template-columns: repeat(3, 1fr); } .f-wide { grid-column: span 2; } .f-last { grid-column: auto; } }
.fcard { position: relative; padding: 26px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--card), #0d0d10); border: 1px solid var(--line); transition: border-color 0.25s; }
.fcard:hover { border-color: var(--line-2); }
.fcard h3 { font: 600 19px/1.25 var(--display); letter-spacing: -0.025em; }
.fcard p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.fcard kbd { font-size: 0.76em; }
.ficon { width: 24px; height: 24px; margin-bottom: 18px; color: var(--blue); }
.f-pill { display: grid; gap: 20px; align-items: center; overflow: hidden; background: radial-gradient(60% 90% at 85% 50%, rgba(79, 140, 255, 0.18), transparent 70%), linear-gradient(180deg, #121420, #0d0d12); border-color: rgba(79, 140, 255, 0.22); }
.f-pill h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.035em; }
.f-pill .ftext p:not(.flow-legend) { font-size: 16.5px; max-width: 48ch; }
.f-pill .flow-legend { margin-top: 18px; }
.f-pill-img { justify-self: center; width: min(326px, 80%); }
.f-pill-img img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
@media (min-width: 680px) { .f-pill { grid-template-columns: 1.2fr 1fr; padding: 36px 40px; } .f-pill-img { justify-self: end; } }


/* ---------- Film ---------- */
.film-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: #0d0d10; box-shadow: 0 40px 100px -40px rgba(79, 140, 255, 0.3); }
.film-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #0d0d10; }
.film-soon { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; font-size: 13.5px; color: var(--paper); background: rgba(12, 12, 16, 0.75); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); white-space: nowrap; }
.film-soon[hidden] { display: none; }

/* ---------- Pricing ---------- */
.price-switches { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.seg button { height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s, background-color 0.25s; }
.seg button:hover { color: var(--paper); }
.seg button[aria-checked="true"] { color: var(--ink); background: var(--paper); }
.seg-sm button { padding: 0 12px; font: 500 12.5px/1 var(--mono); }
.save { font: 600 11px/1 var(--mono); padding: 4px 6px; border-radius: 6px; background: rgba(34, 197, 94, 0.16); color: #5ee08f; }
.seg button[aria-checked="true"] .save { background: rgba(10, 120, 50, 0.14); color: #0f7a3a; }
.plans { display: grid; gap: 16px; max-width: 880px; margin-inline: auto; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; overflow: hidden; padding: 30px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--card), #0d0d10); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan-hl { border-color: rgba(79, 140, 255, 0.35); background: linear-gradient(180deg, #131826, #0d0d12); }
.plan-glow { position: absolute; inset: -40% -20% auto; height: 70%; background: radial-gradient(50% 50% at 50% 50%, rgba(79, 140, 255, 0.35), transparent 70%); filter: blur(20px); pointer-events: none; }
.plan > :not(.plan-glow) { position: relative; }
.plan-name { display: flex; align-items: center; gap: 10px; font: 600 20px/1.2 var(--display); letter-spacing: -0.02em; }
.badge { font: 500 11.5px/1 var(--mono); padding: 5px 8px; border-radius: 999px; color: #b9d0ff; background: rgba(79, 140, 255, 0.16); border: 1px solid rgba(79, 140, 255, 0.35); }
.plan-desc { margin-top: 6px; color: var(--muted); font-size: 15px; }
.plan-price { margin-top: 26px; display: flex; align-items: baseline; gap: 8px; font: 600 56px/1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.plan-price .per { font: 400 16px/1 var(--body); letter-spacing: 0; color: var(--muted); }
.plan-note { margin-top: 10px; min-height: 1.6em; font-size: 14px; color: var(--dim); }
.plan .btn { margin-top: 24px; }
.plan-list { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 15px; color: #d0d0d6; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: rgba(79, 140, 255, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%238fb4ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.seg-in { margin-top: 20px; align-self: flex-start; }
.was-wrap { margin-left: 6px; }
.was-wrap[hidden] { display: none; }
.plan-price .was { font: 500 20px/1 var(--display); letter-spacing: -0.02em; color: var(--dim); text-decoration-thickness: 1.5px; }
.plan-note.urgent { display: flex; align-items: center; gap: 9px; color: #ffcf7a; font-weight: 500; }
.plan-note.urgent[hidden] { display: none; }
.ladder { list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 14.5px; }
.ladder li { display: grid; grid-template-columns: minmax(84px, auto) 54px 1fr; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ladder .l-step { font: 500 12.5px/1.2 var(--mono); color: var(--dim); }
.ladder .l-price { font: 600 15.5px/1 var(--display); color: #d0d0d6; letter-spacing: -0.02em; }
.ladder .l-state { justify-self: end; text-align: right; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 420px) { .ladder li { grid-template-columns: auto 46px 1fr; gap: 8px; padding: 8px; } .ladder .l-step { font-size: 11.5px; } .ladder .l-state { font-size: 12.5px; } }
.ladder li.is-active { background: rgba(79, 140, 255, 0.12); border: 1px solid rgba(79, 140, 255, 0.35); color: var(--paper); }
.ladder li.is-active .l-step { color: #b9d0ff; }
.ladder li.is-active .l-price { color: #fff; }
.ladder li.is-active .l-state { color: #ffcf7a; font-weight: 500; }
.ladder li.is-sold { opacity: 0.55; }
.ladder li.is-sold .l-price, .ladder li.is-sold .l-step { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.ladder-note { margin-top: 14px; font-size: 13.5px; color: var(--dim); }
.btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.price-foot { margin: 28px auto 0; max-width: 640px; text-align: center; font-size: 14px; color: var(--dim); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } .faq .section-head { position: sticky; top: 110px; align-self: start; } }
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 2px; text-align: left; font: 500 17.5px/1.35 var(--display); letter-spacing: -0.015em; color: var(--paper); transition: color 0.2s; }
.acc-btn:hover { color: #fff; }
.acc-i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.4s var(--spring), background-color 0.2s; }
.acc-i::before, .acc-i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: var(--paper); border-radius: 1px; transition: transform 0.4s var(--spring); }
.acc-i::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-i { transform: rotate(180deg); background: rgba(255, 255, 255, 0.06); }
.acc-btn[aria-expanded="true"] .acc-i::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 44px 24px 2px; color: var(--muted); font-size: 15.5px; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }

/* ---------- Closing ---------- */
.closing { padding: 0 0 clamp(80px, 10vw, 120px); }
.closing-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; border: 1px solid var(--line-2); min-height: 520px; display: grid; place-items: center; text-align: center; padding: 80px 20px 170px; }
.closing-panel .horizon { z-index: -1; }
.closing-panel .horizon { --hz: calc(100% - 120px); }
.closing-title { font-size: clamp(38px, 6vw, 72px); line-height: 0.98; letter-spacing: -0.05em; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--muted); }
.footer-links a { padding: 4px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--paper); }
.footer-copy { margin-left: auto; font-size: 13px; color: var(--dim); }
@media (max-width: 640px) { .footer-copy { margin-left: 0; width: 100%; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; font-size: 14.5px; background: rgba(24, 24, 28, 0.92); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: toast-in 0.45s var(--spring) both; }
.toast[hidden] { display: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Sub pages ---------- */
.page-hero { position: relative; isolation: isolate; margin-top: -64px; padding: 150px var(--gutter) 70px; text-align: center; overflow: hidden; }
.page-hero .horizon { z-index: -1; }
.page-hero .horizon { --hz: 92%; }
.page-hero h1 { font: 600 clamp(40px, 6.5vw, 76px)/1 var(--display); letter-spacing: -0.05em; }
.page-hero p { margin: 18px auto 0; max-width: 560px; color: var(--muted); font-size: 18px; }
.page-body { padding-block: 40px clamp(80px, 10vw, 120px); }
.prose { max-width: 720px; margin-inline: auto; color: #c9c9d1; font-size: 16px; }
.prose h2 { margin: 44px 0 12px; font: 600 24px/1.25 var(--display); letter-spacing: -0.03em; color: var(--paper); }
.prose h3 { margin: 28px 0 8px; font: 600 18px/1.3 var(--display); color: var(--paper); }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
.prose .updated { font: 13px/1 var(--mono); color: var(--dim); }
.prose strong { color: var(--paper); font-weight: 600; }

.dl-card { max-width: 720px; margin: 0 auto; padding: 32px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--card), #0d0d10); border: 1px solid var(--line-2); text-align: center; }
.dl-icon { width: 96px; height: 96px; margin: 0 auto 18px; filter: drop-shadow(0 18px 30px rgba(79, 140, 255, 0.35)); }
.dl-card h2 { font: 600 26px/1.2 var(--display); letter-spacing: -0.03em; }
.dl-meta { margin-top: 8px; color: var(--muted); font-size: 15px; }
.dl-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dl-alt { margin-top: 16px; font-size: 14px; color: var(--dim); }
.dl-alt button { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
.install { list-style: none; counter-reset: s; margin: 56px auto 0; padding: 0; max-width: 720px; display: grid; gap: 12px; }
.install li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.install li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 500 13px/1 var(--mono); border: 1px solid var(--line-2); }
.install h3 { font: 600 17px/1.3 var(--display); letter-spacing: -0.02em; }
.install p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.req { margin: 40px auto 0; max-width: 720px; display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.req div { padding: 16px 18px; background: var(--ink-2); }
.req dt { font: 12px/1 var(--mono); color: var(--dim); }
.req dd { margin: 8px 0 0; font-size: 15px; }

.form { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.input { flex: 1 1 240px; height: 50px; padding: 0 18px; border-radius: 999px; font: 16px var(--body); color: var(--paper); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); transition: border-color 0.2s, background-color 0.2s; }
.input::placeholder { color: var(--dim); }
.input:focus { outline: none; border-color: var(--blue); background: rgba(79, 140, 255, 0.06); }
.form-msg { margin-top: 12px; min-height: 1.5em; font-size: 14.5px; color: var(--muted); }
.form-msg.is-err { color: #ff8a8a; }
.form-msg.is-ok { color: #5ee08f; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.keybox { margin: 22px auto 0; max-width: 560px; display: flex; gap: 8px; align-items: center; padding: 8px 8px 8px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2); }
.keybox code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: none; border: 0; padding: 0; color: #c9c9d1; text-align: left; }
.cards-3 { display: grid; gap: 14px; max-width: 920px; margin-inline: auto; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.cards-3 a, .cards-3 div.box { display: block; padding: 24px; border-radius: var(--r-md); border: 1px solid var(--line); background: linear-gradient(180deg, var(--card), #0d0d10); transition: border-color 0.2s, transform 0.3s var(--spring); }
.cards-3 a:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cards-3 h3 { font: 600 18px/1.3 var(--display); letter-spacing: -0.02em; }
.cards-3 p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.dl-card.resend { margin-top: 56px; }
.resend .form { justify-content: center; }
.page-body > .wrap > .dl-actions { justify-content: center; }
