/* AppRelease — one stylesheet, no build step.
   Flat, light, one accent. Mobile first. */

:root {
  --bg:      #F4F5F7;   /* cool grey paper */
  --paper:   #FFFFFF;
  --ink:     #0E1013;
  --ink-2:   #4B5160;
  --ink-3:   #8A91A0;
  --line:    #E3E6EB;
  --line-2:  #CDD2DB;
  --fill:    #EDEFF3;

  --signal:  #2F6BFF;   /* the one colour that acts: buttons, the moving build */
  --signal-2:#E4ECFF;
  --accent:  #159A5B;   /* green: released, live, done */
  --accent-2:#DDF4E7;
  --night:   #0E1013;   /* dark bands */
  --night-2: #171A20;
  --night-line: rgba(255,255,255,.1);
  --danger:  #B3261E;

  --radius:  10px;
  --wrap:    1120px;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }
a  { color: inherit; }
img, svg { max-width: 100%; }
code, pre, kbd { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }

.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 58ch; }
.quiet { color: var(--ink-3); font-size: .9rem; }
.center { text-align: center; }
.center .lead, .center .kicker { margin-inline: auto; }
.grad { color: inherit; }
p code, li code { font-size: .9em; padding: 1px 5px; border-radius: 5px; background: var(--fill); border: 1px solid var(--line); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; border: 1px solid var(--ink);
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--ink); color: #fff;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: #000; }
.btn-primary, .btn-accent { background: var(--signal); color: #fff; border-color: var(--signal); box-shadow: 0 10px 26px -12px rgba(47,107,255,.7); }
.btn-primary:hover, .btn-accent:hover { background: #2358E0; border-color: #2358E0; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--fill); border-color: var(--ink-3); }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.text-link:hover { border-bottom-color: var(--ink); }

/* ----------------------------------------------------------------- header */

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(244,245,247,.9); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; min-width: 0; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.brand-name { font-size: 1rem; letter-spacing: -.02em; }
.brand-name small { color: var(--ink-3); font-weight: 500; font-size: 1em; }

.nav { display: none; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .93rem; padding: 8px 10px; border-radius: 6px; }
.nav a:hover, .nav a.is-active { color: var(--ink); background: var(--fill); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions .signin { display: none; }
.signin { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .93rem; padding: 8px 10px; }
.signin:hover { color: var(--ink); }

.burger { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; display: grid; place-items: center; gap: 5px; padding: 0; align-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 10px 0 20px; }
.menu.is-open { display: block; }
.menu-link { display: block; padding: 12px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.menu-foot { display: flex; gap: 10px; padding-top: 16px; }
.menu-foot .btn { flex: 1; }

/* ------------------------------------------------------------------- hero */

.hero { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; gap: 36px; }
.hero-text { max-width: 600px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--ink-3); font-size: .9rem; }
.hero-foot span { display: inline-flex; align-items: center; gap: 6px; }
.hero-foot svg { width: 14px; height: 14px; color: var(--accent); }
.pill { display: none; }

/* The release log: the one thing that moves, drawn like the real screen. */
.console { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); overflow: hidden; font-family: var(--mono); font-size: .84rem; }
.console-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--sans); }
.console-dots { display: flex; gap: 5px; }
.console-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.console-title { font-size: .82rem; color: var(--ink-2); font-weight: 500; margin-left: 2px; }
.console-status { margin-left: auto; font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 4px; background: var(--fill); color: var(--ink-2); }
.console-status.is-live { background: var(--accent-2); color: var(--accent); }
.console-body { padding: 14px 16px 16px; min-height: 290px; }
.console-line { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; color: var(--ink-3); opacity: 0; transition: opacity .3s; }
.console-line.is-in { opacity: 1; }
.console-line .tick { flex: none; width: 15px; height: 15px; border-radius: 50%; margin-top: 3px; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 9px; color: #fff; }
.console-line.is-running .tick { border-color: var(--ink); }
.console-line.is-running .tick::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); animation: blink 1s ease-in-out infinite; }
.console-line.is-done { color: var(--ink); }
.console-line.is-done .tick, .console-line.is-final .tick { background: var(--accent); border-color: var(--accent); }
.console-line.is-done .tick::before, .console-line.is-final .tick::before { content: "✓"; font-weight: 700; }
.console-line.is-final { color: var(--accent); font-weight: 600; }
.console-line .t { color: var(--ink-3); margin-left: auto; flex: none; font-size: .76rem; }
.console-cmd { color: var(--ink); }
.console-foot { display: none; }
@keyframes blink { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* ------------------------------------------------------------------ strip */
.strip { display: none; }

/* --------------------------------------------------------------- sections */

.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; }

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--paper); padding: 24px; }
.card p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 14px; background: var(--fill); color: var(--ink); }
.ico svg { width: 18px; height: 18px; }

.steps { display: grid; gap: 1px; counter-reset: step; list-style: none; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { position: relative; padding: 24px 24px 24px 64px; background: var(--paper); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 24px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; display: grid; place-items: center; }
.step p { color: var(--ink-2); margin: 0; }

/* code block */
.code { border-radius: var(--radius); border: 1px solid var(--line-2); overflow: hidden; background: var(--paper); }
.code-tabs { display: flex; gap: 2px; padding: 6px 6px 0; border-bottom: 1px solid var(--line); background: var(--bg); overflow-x: auto; }
.code-tabs button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: .86rem; font-weight: 600; padding: 9px 14px; border-radius: 6px 6px 0 0; cursor: pointer; white-space: nowrap; }
.code-tabs button[aria-selected="true"] { color: var(--ink); background: var(--paper); box-shadow: inset 0 -2px 0 var(--ink); }
.code-pane { display: none; position: relative; }
.code-pane.is-active { display: block; }
.code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-size: .82rem; line-height: 1.6; color: var(--ink); }
.code .copy { position: absolute; top: 10px; right: 10px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); font: inherit; font-size: .76rem; font-weight: 600; padding: 5px 9px; border-radius: 6px; cursor: pointer; }
.code .copy:hover { color: var(--ink); border-color: var(--ink-3); }
.code .copy.is-done { color: var(--accent); border-color: var(--accent); }
.k { color: #1F4E8C; }
.s { color: #7A4B00; }
.n { color: #6B2EA8; }
.c { color: var(--ink-3); font-style: italic; }
.v { color: var(--accent); }

.split { display: grid; gap: 28px; align-items: start; }
.split .section-head { margin-bottom: 0; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.checks svg { flex: none; width: 16px; height: 16px; color: var(--accent); margin-top: 4px; }
.checks b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- pricing */

.plans { display: grid; gap: 14px; }
.plan { padding: 26px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); display: flex; flex-direction: column; position: relative; }
.plan.is-featured { border-color: var(--signal); box-shadow: inset 0 3px 0 var(--signal); }
.plan-name { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.plan-price { font-family: var(--display); font-size: 2.3rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.plan-price small { font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.plan-note { color: var(--ink-2); font-size: .92rem; margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .93rem; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }
.plan .btn { margin-top: auto; }
.plan-flag { position: absolute; top: -11px; left: 22px; padding: 3px 9px; border-radius: 4px; background: var(--signal); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; }

.toggle { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--paper); margin-bottom: 28px; }
.toggle button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 6px; cursor: pointer; }
.toggle button.is-active { background: var(--signal); color: #fff; }
.toggle button em { font-style: normal; color: var(--accent); font-size: .78rem; margin-left: 6px; }
.toggle button.is-active em { color: #9FD6B5; }

/* -------------------------------------------------------------------- faq */

.faq { display: grid; gap: 0; max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 44px 18px 0; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- cta band */

.cta-band { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 48px 24px; text-align: center; background: var(--paper); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band .lead { margin: 0 auto 22px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* ----------------------------------------------------------------- footer */

.site-footer { padding: 44px 0 28px; color: var(--ink-2); font-size: .9rem; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand p { max-width: 36ch; margin-top: 12px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer-cols h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.footer-cols a { display: block; text-decoration: none; padding: 3px 0; color: var(--ink-2); }
.footer-cols a:hover { color: var(--ink); }
.footer-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-3); }

/* --------------------------------------------------------------- subpages */

.page-hero { padding: 56px 0 20px; }
.page-hero .lead { margin-bottom: 0; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); }
.contact-grid { display: grid; gap: 14px; }
.contact-card { padding: 22px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); }
.contact-card a { color: var(--ink); font-weight: 600; }

/* Reveals are off: content is simply there. */
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .console-line { opacity: 1; transition: none; }
}

/* ------------------------------------------------------------ wider screens */

@media (min-width: 600px) {
  .wrap { width: min(100% - 48px, var(--wrap)); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .cta-band { padding: 60px 40px; }
}

@media (min-width: 900px) {
  .nav { display: flex; gap: 2px; margin-left: 24px; }
  .header-actions .signin { display: inline-flex; }
  .burger { display: none; }
  .menu { display: none !important; }
  .hero { padding: 88px 0 72px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .footer-inner { grid-template-columns: 1.1fr 2fr; gap: 48px; }
  .section { padding: 96px 0; }
}

/* ---------------------------------------------------------- how it works */

.hiw-hero { padding-bottom: 8px; }
.hiw { padding: 32px 0 88px; }
.hiw-phase { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 40px 0 14px 0; }
.hiw-phase:first-child { margin-top: 8px; }

.hiw-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 0 0 36px; }
.hiw-step::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 0; width: 2px; background: var(--line); }
.hiw-step:last-of-type::before { display: none; }
.hiw-step::after { content: ""; position: absolute; left: 27px; top: 60px; width: 2px; height: 0; background: var(--ink); transition: height .9s var(--ease) .2s; }
.hiw-step.is-in::after { height: calc(100% - 60px); }
.hiw-step:last-of-type::after { display: none; }

.hiw-num { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--paper); display: grid; place-items: center;
  font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--ink-3);
  transition: border-color .4s var(--ease), color .4s var(--ease), background .4s var(--ease); }
.hiw-step.is-in .hiw-num { border-color: var(--ink); background: var(--ink); color: #fff; }

.hiw-body { padding-top: 10px; min-width: 0; }
.hiw-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.hiw-cols { display: grid; gap: 12px; }
.hiw-cols > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.hiw-cols h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
.hiw-cols > div:last-child h3 { color: var(--accent); }
.hiw-cols p { margin: 0; color: var(--ink-2); }
.hiw-cols em { font-style: normal; font-family: var(--mono); font-size: .92em; }

.hiw-never { margin: 24px 0 0 72px; padding: 22px 24px; border-radius: var(--radius); background: var(--fill); }
.hiw-never h2 { font-size: 1.2rem; margin-bottom: 6px; }
.hiw-never p { margin: 0; color: var(--ink-2); }
.hiw-cta { margin: 40px 0 0 72px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Gentle rise on scroll: once, 400 ms, nothing bounces. */
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }

@media (max-width: 599px) {
  .hiw-step { grid-template-columns: 44px 1fr; gap: 12px; }
  .hiw-num { width: 44px; height: 44px; font-size: 1.1rem; }
  .hiw-step::before, .hiw-step::after { left: 21px; top: 48px; }
  .hiw-step.is-in::after { height: calc(100% - 48px); }
  .hiw-never, .hiw-cta { margin-left: 0; }
}
@media (min-width: 700px) { .hiw-cols { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; transform: none; transition: none; }
  .hiw-step::after { transition: none; }
}

/* ------------------------------------------------------- centred hero */

.hero-center { text-align: center; padding-bottom: 64px; }
.hero-center .wrap > * { margin-inline: auto; }
.hero-center h1 { max-width: 14ch; }
.hero-center .lead { max-width: 56ch; margin-bottom: 26px; }
.hero-center .hero-actions { justify-content: center; }
.hero-center .hero-foot { justify-content: center; margin-bottom: 44px; }

/* ------------------------------------------------------------- stage */

.stage { position: relative; padding: 36px 20px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
  overflow: hidden; text-align: left; }
.stage-floor { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(#000 55%, transparent); -webkit-mask-image: linear-gradient(#000 55%, transparent); opacity: .7; }
.stage-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: start;
  transform: perspective(1400px) rotateX(6deg); transform-origin: 50% 100%; }
.stage-node { position: relative; z-index: 2; text-align: center; padding: 54px 6px 0; }
.stage-ico { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: var(--paper); display: grid; place-items: center; color: var(--ink-3);
  transition: border-color .35s, color .35s, background .35s, transform .35s var(--ease); }
.stage-ico svg { width: 20px; height: 20px; }
.stage-node b { display: block; font-size: .95rem; font-weight: 600; color: var(--ink-3); transition: color .3s; }
.stage-node small { display: block; font-family: var(--mono); font-size: .72rem; color: var(--ink-3); margin-top: 2px; }
.stage-node.is-active .stage-ico { border-color: var(--ink); color: var(--ink); transform: translateX(-50%) translateY(-3px); }
.stage-node.is-active b { color: var(--ink); }
.stage-node.is-done .stage-ico { border-color: var(--accent); background: var(--accent); color: #fff; }
.stage-node.is-done b { color: var(--ink); }

.stage-line { position: absolute; z-index: 1; left: 10%; right: 10%; top: 21px; height: 2px; background: var(--line); border-radius: 2px; }
.stage-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); border-radius: 2px; transition: width .7s var(--ease); }

.stage-node-stores { display: grid; gap: 8px; padding-top: 0; }
.store { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; align-items: center; text-align: left;
  padding: 8px 10px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--paper); transition: border-color .35s, transform .35s var(--ease); }
.store-mark { grid-row: span 2; width: 28px; height: 28px; border-radius: 8px; background: var(--fill); display: grid; place-items: center; color: var(--ink); }
.store-mark svg { width: 15px; height: 15px; }
.store b { font-size: .86rem; color: var(--ink); }
.store small { font-family: var(--mono); font-size: .66rem; color: var(--ink-3); }
.store-tick { position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 11px; font-style: normal; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .35s var(--ease); }
.stage-node-stores.is-done .store { border-color: var(--accent); transform: translateY(-3px); }
.stage-node-stores.is-done .store-tick { transform: scale(1); }

.parcel { position: absolute; z-index: 3; top: -2px; left: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap;
  transform: translate(-50%, -50%); transition: left .8s var(--ease), opacity .3s; box-shadow: 0 6px 18px -8px rgba(0,0,0,.5); }
.parcel-mark { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; display: block; }
.parcel-mark svg { width: 26px; height: 26px; display: block; }
.parcel-text { display: grid; line-height: 1.1; }
.parcel-text b { font-size: .78rem; font-weight: 600; }
.parcel-text small { font-family: var(--mono); font-size: .66rem; opacity: .75; }
.parcel.is-hidden { opacity: 0; }

.stage-log { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 12px; border-radius: 10px;
  background: var(--fill); font-family: var(--mono); font-size: .8rem; color: var(--ink-2); }
.stage-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: blink 1s ease-in-out infinite; flex: none; }
.stage.is-live .stage-dot { background: var(--accent); animation: none; }
.stage-log code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-time { margin-left: auto; color: var(--ink-3); flex: none; }

@media (max-width: 899px) {
  .stage { padding: 20px 14px 14px; }
  .stage-track { grid-template-columns: 1fr; gap: 10px; transform: none; }
  .stage-node { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; text-align: left; padding: 0; align-items: center; }
  .stage-ico { position: static; transform: none; grid-row: span 2; }
  .stage-node.is-active .stage-ico { transform: none; }
  .stage-node-stores { grid-template-columns: 1fr 1fr; }
  .stage-line { left: 21px; right: auto; top: 22px; bottom: 60px; width: 2px; height: auto; }
  .stage-fill { width: 100%; height: 0; transition: height .7s var(--ease); }
  .parcel { display: none; }
}

/* --------------------------------------------------------- six steps */

.six { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: none; }
.six-step { position: relative; padding: 22px 22px 22px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.six-step span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: .95rem; margin-bottom: 12px; }
.six-step h3 { margin-bottom: 4px; }
.six-step p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.six-step em { position: absolute; top: 20px; right: 20px; font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
@media (min-width: 600px) { .six { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .six { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------------- bento */

.bento { display: grid; gap: 12px; }
.bento-card { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); transform-style: preserve-3d;
  transition: transform .25s var(--ease), border-color .25s; will-change: transform; }
.bento-card:hover { border-color: var(--line-2); }
.bento-card h3 { margin: 14px 0 4px; }
.bento-card p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.bento-visual { min-height: 112px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px; border-radius: 10px; background: var(--fill); }
.bento-visual > small { font-size: .74rem; color: var(--ink-3); }

.log-mini { font-family: var(--mono); font-size: .76rem; color: var(--ink-2); display: grid; gap: 4px; }
.log-mini span { color: var(--ink-3); margin-right: 10px; }
.log-mini .ok { color: var(--accent); font-weight: 600; }

.counter { display: flex; align-items: baseline; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 2.4rem; letter-spacing: -.03em; }
.counter-from { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.counter-arrow { font-size: 1.2rem; color: var(--ink-3); }
.counter-to { color: var(--ink); }

.keys { display: flex; gap: 10px; }
.keys i { width: 34px; height: 46px; border-radius: 8px; border: 1.5px solid var(--line-2); background: var(--paper); position: relative; }
.keys i::after { content: ""; position: absolute; left: 50%; top: 14px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); transform: translateX(-50%); }
.keys i::before { content: ""; position: absolute; left: 50%; top: 26px; width: 2px; height: 10px; background: var(--accent); transform: translateX(-50%); }

.tracks { display: flex; flex-wrap: wrap; gap: 6px; }
.tracks span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.tracks span.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.hook { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem; }
.hook span { padding: 5px 10px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line-2); }
.hook i { font-style: normal; color: var(--ink-3); }

.mail { padding: 10px 12px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line-2); display: grid; }
.mail b { font-size: .86rem; }
.mail small { font-size: .74rem; color: var(--ink-3); }

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento-wide { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-track { transform: none; }
  .stage-dot { animation: none; }
}

/* ---------------------------------------------------------- dark hero */

.hero-center { background: var(--night); color: var(--paper); border-bottom: 0; padding-top: 72px; padding-bottom: 0; position: relative; overflow: visible; }
.hero-center::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35;
  mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent); -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent); }
.hero-center .wrap { position: relative; }
.hero-center h1 { color: #fff; font-size: clamp(2.8rem, 7.5vw, 5.2rem); }
.hero-center h1 em { font-style: normal; color: var(--signal); }
.hero-center .lead { color: rgba(255,253,248,.72); }
.hero-center .kicker { color: var(--signal); }
.hero-center .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,253,248,.3); }
.hero-center .btn-ghost:hover { background: rgba(255,253,248,.08); border-color: rgba(255,253,248,.6); }
.hero-center .hero-foot { color: rgba(255,253,248,.6); }
.hero-center .hero-foot svg { color: var(--accent); filter: brightness(1.6); }
.hero-center .stage-wrap { position: relative; transform: translateY(56px); margin-top: -8px; }
.hero-spacer { height: 96px; background: var(--bg); }
.stage { box-shadow: 0 30px 80px -30px rgba(21,19,15,.55), 0 0 0 1px var(--line); }
.parcel { background: var(--signal); box-shadow: 0 12px 28px -8px rgba(47,107,255,.75); }
.stage-fill { background: var(--signal); }
.stage-node.is-active .stage-ico { border-color: var(--signal); color: var(--signal); }
.stage-dot { background: var(--signal); }

/* ------------------------------------------------------- time section */

.time { background: var(--night); color: var(--paper); border-bottom: 0; margin-top: 0; }
.time .kicker { color: var(--signal); }
.time h2 { color: #fff; }
.time .lead { color: rgba(255,253,248,.7); }
.time-grid { display: grid; gap: 14px; margin-top: 36px; }
.time-col { padding: 24px; border-radius: 16px; border: 1px solid var(--night-line); background: var(--night-2); }
.time-col h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,253,248,.55); margin-bottom: 14px; }
.time-col.is-us h3 { color: var(--signal); }
.time-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.time-col li { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; color: rgba(255,253,248,.85); padding-bottom: 8px; border-bottom: 1px solid var(--night-line); }
.time-col li span { font-family: var(--mono); font-size: .8rem; color: rgba(255,253,248,.55); white-space: nowrap; }
.time-col li.strike { color: rgba(255,253,248,.35); text-decoration: line-through; }
.time-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; }
.time-total b { font-family: var(--display); font-size: 2.6rem; font-weight: 600; letter-spacing: -.03em; color: #fff; line-height: 1; }
.time-col.is-us .time-total b { color: var(--signal); }
.time-total small { color: rgba(255,253,248,.55); font-size: .85rem; }
.time-calc { margin-top: 18px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--night-line); background: var(--night-2);
  display: grid; gap: 14px; }
.time-calc label { display: flex; justify-content: space-between; font-size: .9rem; color: rgba(255,253,248,.75); }
.time-calc output { font-family: var(--mono); color: #fff; }
.time-calc input[type=range] { width: 100%; accent-color: var(--signal); }
.time-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; }
.time-result b { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -.03em; color: var(--signal); line-height: 1; }
.time-result span { color: rgba(255,253,248,.75); }
@media (min-width: 800px) { .time-grid { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------ polish */

.six-step span { background: var(--signal); }
.six-step:hover { border-color: var(--line-2); }
.bento-card:hover { border-color: var(--signal); }
.tracks span.on { background: var(--signal); border-color: var(--signal); }
.hiw-step.is-in .hiw-num { background: var(--signal); border-color: var(--signal); }
.hiw-step::after { background: var(--signal); }
.cta-band { background: var(--night); color: #fff; border-color: var(--night); }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,253,248,.7); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,253,248,.3); }
.site-footer { background: var(--night); color: rgba(255,253,248,.65); }
.site-footer .brand-name { color: #fff; }
.site-footer .footer-cols h4 { color: #fff; }
.site-footer .footer-cols a { color: rgba(255,253,248,.65); }
.site-footer .footer-cols a:hover { color: #fff; }
.site-footer .footer-foot { border-top-color: var(--night-line); color: rgba(255,253,248,.45); }

/* ---------------------------------------------------- hero v3: stage up */

.hero-center { padding-top: 56px; }
.hero-center h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); margin-bottom: 14px; }
.hero-center .lead { font-size: 1.08rem; margin-bottom: 22px; max-width: 52ch; }
.hero-center .hero-foot { margin-bottom: 28px; }
.hero-center .stage-wrap { transform: translateY(40px); }
.hero-spacer { height: 72px; }

.stage { padding: 44px 28px 22px; border-radius: 20px; border: 0; box-shadow: 0 40px 100px -40px rgba(14,16,19,.7), 0 0 0 1px var(--line); }
.stage-floor { opacity: .9; }
.stage-track { gap: 16px; transform: perspective(1600px) rotateX(7deg); }
.stage-node { padding-top: 68px; }
.stage-ico { width: 56px; height: 56px; border-radius: 16px; border-width: 2px; }
.stage-ico svg { width: 24px; height: 24px; }
.stage-node b { font-size: 1.02rem; }
.stage-node small { font-size: .74rem; }
.stage-node.is-active .stage-ico { box-shadow: 0 0 0 6px var(--signal-2), 0 14px 28px -14px rgba(47,107,255,.8); transform: translateX(-50%) translateY(-5px) scale(1.04); }
.stage-node.is-done .stage-ico { box-shadow: none; }
.stage-line { top: 27px; height: 3px; left: 10%; right: 10%; }
.stage-fill { box-shadow: 0 0 14px rgba(47,107,255,.6); }
.store { padding: 10px 12px; border-radius: 12px; border-width: 2px; grid-template-columns: 32px 1fr; }
.store-mark { width: 32px; height: 32px; }
.store b { font-size: .92rem; }
.store small { font-size: .7rem; }
.stage-node-stores { gap: 10px; }

.parcel { top: -4px; padding: 7px 14px 7px 7px; gap: 10px; }
.parcel-mark, .parcel-mark svg { width: 32px; height: 32px; }
.parcel-text b { font-size: .86rem; }
.parcel-text small { font-size: .7rem; }
.parcel::after { content: ""; position: absolute; right: 100%; top: 50%; height: 3px; width: 90px; margin-right: 6px;
  background: linear-gradient(90deg, transparent, var(--signal)); opacity: .55; transform: translateY(-50%); border-radius: 2px; }
.stage-log { margin-top: 34px; font-size: .84rem; padding: 12px 14px; }
.stage.is-live .stage-log { background: var(--accent-2); color: var(--accent); }

@media (max-width: 899px) {
  .stage { padding: 20px 14px 14px; }
  .stage-track { gap: 10px; transform: none; }
  .stage-node { padding: 0; }
  .stage-ico { width: 44px; height: 44px; border-radius: 12px; }
  .stage-node.is-active .stage-ico { transform: none; }
  .stage-line { left: 21px; top: 22px; width: 2px; height: auto; }
  .parcel::after { display: none; }
}

/* capsule rides above the icons, not over them */
.parcel { top: -30px; }
.stage { padding-top: 64px; }
.parcel::after { width: 70px; }

/* ------------------------------------------------------------ branch rules */

.br { display: grid; gap: 20px; align-items: start; }
.br-console, .br-sim { border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); overflow: hidden; }
.br-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg); font-size: .78rem; color: var(--ink-3); }
.br-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.br-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-rules { padding: 14px; display: grid; gap: 10px; }
.br-rule { display: grid; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.br-rule.is-hit { border-color: var(--signal); background: var(--signal-2); transform: translateX(4px); }
.br-rule.is-miss { opacity: .45; }
.br-branch { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .88rem; font-weight: 600; }
.br-branch svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.br-rule.is-hit .br-branch svg { color: var(--signal); }
.br-targets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.br-targets em { font-style: normal; font-size: .76rem; color: var(--ink-3); }
.br-t { font-size: .78rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--paper); }
.br-t.is-prod { border-color: var(--accent); color: var(--accent); }
.br-keys { display: flex; gap: 10px; align-items: flex-start; margin: 0 14px 14px; padding: 10px 12px; border-radius: 10px; background: var(--fill); font-size: .84rem; color: var(--ink-2); }
.br-keys svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.br-keys b { font-family: var(--mono); font-size: .8rem; color: var(--ink); font-weight: 600; }
.br-sim { padding: 18px; }
.br-sim-title { font-weight: 600; margin: 0 0 12px; }
.br-push { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.br-push button { font-family: var(--mono); font-size: .8rem; font-weight: 600; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.br-push button:hover { border-color: var(--ink-3); color: var(--ink); }
.br-push button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.br-term { border-radius: 10px; background: var(--night); color: #D7DCE5; font-family: var(--mono); font-size: .8rem; padding: 14px 16px; min-height: 132px; }
.br-cmd span { color: #6B7385; margin-right: 4px; }
.br-cmd b { color: #fff; font-weight: 600; }
.br-out div { margin-top: 6px; opacity: 0; transform: translateY(4px); animation: brin .35s var(--ease) forwards; }
.br-out .ok { color: #6FDCA0; }
.br-out .dim { color: #6B7385; }
@keyframes brin { to { opacity: 1; transform: none; } }
.br-dests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
@media (max-width: 420px) { .br-dests { grid-template-columns: repeat(2, 1fr); } }
.br-dest { position: relative; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); transition: border-color .35s, background .35s, transform .35s var(--ease); }
.br-dest b { display: block; font-size: .86rem; }
.br-dest small { display: block; font-size: .74rem; color: var(--ink-3); }
.br-dest::after { content: ""; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .35s; }
.br-dest.is-hit { border-color: var(--signal); background: var(--signal-2); transform: translateY(-3px); }
.br-dest.is-hit::after { background: var(--signal); }
.br-dest.is-prod.is-hit { border-color: var(--accent); background: var(--accent-2); }
.br-dest.is-prod.is-hit::after { background: var(--accent); }
@media (min-width: 900px) { .br { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (prefers-reduced-motion: reduce) { .br-out div { animation: none; opacity: 1; transform: none; } .br-rule, .br-dest { transition: none; } }
