/* Bydock marketing site
   Tokens: paper, ink, dock blue, sky, stamp green. One family: Schibsted Grotesk. */

/* Schibsted Grotesk (SIL OFL 1.1), self-hosted so the site makes no third-party requests */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("assets/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f3f6f9;
  --sheet: #ffffff;
  --ink: #0c1a2a;
  --ink-2: #44546a;
  --ink-3: #5c6b80;
  --line: #d5dee7;
  --line-2: #e6ecf2;
  --dock: #0369a1;
  --dock-ink: #ffffff;
  --sky: #38bdf8;
  --sky-wash: #e3f3fc;
  --stamp: #0f7352;
  --stamp-wash: #e2f4ec;
  --warn: #b45309;
  --band: #0c1a2a;
  --band-ink: #e8eef5;
  --band-ink-2: #9fb0c3;
  --band-line: #22344a;
  --shadow: 0 1px 0 rgba(12, 26, 42, .04), 0 12px 32px -12px rgba(12, 26, 42, .18);
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #08131f;
    --sheet: #0f1e2e;
    --ink: #e8eef5;
    --ink-2: #b4c2d2;
    --ink-3: #8597ab;
    --line: #22344a;
    --line-2: #192a3c;
    --dock: #38bdf8;
    --dock-ink: #04223a;
    --sky-wash: #0d2a40;
    --stamp: #34d399;
    --stamp-wash: #0c2f25;
    --warn: #fbbf24;
    --band: #050d16;
    --band-line: #1b2c40;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #08131f;
  --sheet: #0f1e2e;
  --ink: #e8eef5;
  --ink-2: #b4c2d2;
  --ink-3: #8597ab;
  --line: #22344a;
  --line-2: #192a3c;
  --dock: #38bdf8;
  --dock-ink: #04223a;
  --sky-wash: #0d2a40;
  --stamp: #34d399;
  --stamp-wash: #0c2f25;
  --warn: #fbbf24;
  --band: #050d16;
  --band-line: #1b2c40;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type scale: 17 base, ratio ~1.333 */
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -.032em; }
h3 { font-size: 1.25rem; letter-spacing: -.012em; line-height: 1.25; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--dock); color: var(--dock-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--dock) 86%, var(--ink)); }
.btn-ghost { border-color: var(--line); background: var(--sheet); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .94rem; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 1.32rem; letter-spacing: -.03em; }
.brand svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; font-size: .97rem; font-weight: 550; }
.nav a:hover { color: var(--ink); background: var(--line-2); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--sheet); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav, .top-actions .hide-m { display: none; }
  .menu-btn { display: inline-grid; }
  .mobile-nav { border-top: 1px solid var(--line); background: var(--paper); padding: 8px var(--gutter) 18px; }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 12px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-2); }
  .mobile-nav .btn { margin-top: 14px; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 10.5em; }
.hero .lead { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--ink-3); }
.version-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 5px 12px 5px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--sheet);
  font-size: .9rem; font-weight: 550; color: var(--ink-2); text-decoration: none;
}
.version-pill b { background: var(--sky-wash); color: var(--dock); padding: 2px 9px; border-radius: 999px; font-weight: 700; }
.version-pill:hover { border-color: var(--ink-3); }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Hero demo: an invoice that becomes income */
.demo { position: relative; padding-bottom: 128px; margin-top: 44px; }
.demo-replay {
  position: absolute; right: 0; top: -44px; display: inline-flex; gap: 6px; align-items: center;
  background: none; border: 0; color: var(--ink-3); font-size: .9rem; font-weight: 600; cursor: pointer; padding: 6px 4px;
}
.demo-replay:hover { color: var(--ink); }
.demo-replay svg { width: 16px; height: 16px; }
.sheet {
  background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: var(--shadow); padding: 26px 26px 22px; position: relative; overflow: hidden;
}
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.inv-from { display: flex; gap: 10px; align-items: center; }
.inv-from .logo-dot { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.inv-from b { display: block; font-size: .98rem; }
.inv-from span { font-size: .82rem; color: var(--ink-3); }
.inv-title { text-align: right; }
.inv-title strong { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
.inv-title span { font-size: .84rem; color: var(--ink-3); }
.inv-to { margin: 18px 0 14px; font-size: .88rem; color: var(--ink-2); }
.inv-to b { color: var(--ink); }
.inv-lines { width: 100%; border-collapse: collapse; font-size: .9rem; }
.inv-lines th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: .8rem; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.inv-lines th:last-child, .inv-lines td:last-child { text-align: right; }
.inv-lines td { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.inv-lines td.q { color: var(--ink-3); width: 3.2em; }
.inv-lines tr.ln { opacity: 1; }
.inv-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 12px; }
.inv-total { text-align: right; white-space: nowrap; }
.inv-total > span { font-size: .82rem; color: var(--ink-3); display: block; }
.inv-total strong { font-size: 1.6rem; letter-spacing: -.03em; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); transition: background .3s, color .3s; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip[data-s="sent"] { background: var(--sky-wash); color: var(--dock); }
.chip[data-s="paid"] { background: var(--stamp-wash); color: var(--stamp); }
.stamp {
  position: absolute; right: 190px; bottom: 34px; transform: rotate(-11deg) scale(1.6);
  border: 3px solid var(--stamp); color: var(--stamp); border-radius: 8px;
  padding: 4px 14px; font-weight: 800; font-size: 1.5rem; letter-spacing: .06em;
  opacity: 0; pointer-events: none;
}
.money-card {
  position: absolute; left: -28px; bottom: 0; width: min(310px, 78%);
  background: var(--band); color: var(--band-ink); border-radius: var(--r-m); padding: 16px 18px;
  box-shadow: 0 20px 40px -18px rgba(3, 20, 40, .55);
  border: 1px solid var(--band-line);
}
.money-card .row { display: flex; justify-content: space-between; align-items: baseline; }
.money-card small { color: var(--band-ink-2); font-size: .78rem; font-weight: 550; }
.money-card .num { font-size: 1.45rem; font-weight: 750; letter-spacing: -.03em; color: #4ade80; }
.money-card .delta { font-size: .8rem; color: #4ade80; font-weight: 650; opacity: 0; }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 54px; margin-top: 10px; }
.bars span { flex: 1; background: #1e3a55; border-radius: 3px 3px 1px 1px; height: var(--h); transition: height .9s cubic-bezier(.2, .8, .2, 1), background .4s; }
.bars span.now { background: #38bdf8; }
.bars span.now.grow { background: #4ade80; }
@media (max-width: 560px) {
  .sheet { padding: 20px 18px 18px; }
  .inv-lines .hide-s { display: none; }
  .money-card { left: 8px; }
  .inv-from span { display: none; }
  .inv-title span { white-space: nowrap; font-size: .78rem; }
  .inv-title strong { font-size: 1.15rem; }
  .stamp { right: auto; bottom: auto; left: 38%; top: 168px; font-size: 1.25rem; }
  .demo { padding-bottom: 150px; }
}

/* Demo states, driven by data-step on .demo */
.demo .ln { transition: opacity .35s, transform .35s; }
.demo[data-step="0"] .ln { opacity: 0; transform: translateY(6px); }
.demo[data-step="1"] .ln:nth-child(n+2) { opacity: 0; transform: translateY(6px); }
.demo[data-step="2"] .ln:nth-child(n+3) { opacity: 0; transform: translateY(6px); }
.demo.paid .stamp { animation: stamp .5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.demo.paid .money-card .delta { opacity: 1; transition: opacity .4s .5s; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-11deg) scale(1.6); } 100% { opacity: .92; transform: rotate(-11deg) scale(1); } }

/* ---------- Strip of facts under hero ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 22px 20px 22px 0; display: flex; gap: 12px; align-items: flex-start; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact .ico { flex: none; width: 26px; height: 26px; color: var(--dock); }
.fact b { display: block; font-size: .98rem; }
.fact span { color: var(--ink-3); font-size: .9rem; }
@media (max-width: 900px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts .wrap { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding-left: 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 40em; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 16px; }

/* Modules tabs */
.modules { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tablist { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; }
.tab {
  display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; text-align: left;
  padding: 12px 14px; border-radius: var(--r-m); border: 1px solid transparent; background: none; cursor: pointer;
}
.tab .ico-wrap { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--line-2); color: var(--ink-2); transition: background .2s, color .2s; }
.tab .ico { width: 22px; height: 22px; }
.tab b { font-weight: 700; font-size: 1.02rem; }
.tab span { font-size: .88rem; color: var(--ink-3); line-height: 1.35; }
.tab:hover { background: var(--line-2); }
.tab[aria-selected="true"] { background: var(--sheet); border-color: var(--line); box-shadow: var(--shadow); }
.tab[aria-selected="true"] .ico-wrap { background: var(--dock); color: var(--dock-ink); }
.panel { display: none; }
.panel.active { display: block; animation: panel-in .35s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.shot { border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); background: #0a0a0d; box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; aspect-ratio: 1360 / 860; }
.panel-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin-top: 28px; }
.panel-copy h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.panel-copy p { color: var(--ink-2); margin-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-2); font-size: .97rem; }
.ticks li::before {
  content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--sky-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.6' fill='none' stroke='%230369a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
@media (max-width: 960px) {
  .modules { grid-template-columns: 1fr; }
  .tablist { position: static; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .tab { grid-template-columns: 32px auto; flex: none; scroll-snap-align: start; padding: 10px 14px 10px 10px; }
  .tab .ico-wrap { width: 32px; height: 32px; grid-row: auto; }
  .tab .ico { width: 18px; height: 18px; }
  .tab span { display: none; }
  .panel-copy { grid-template-columns: 1fr; }
}

/* Flow: how an invoice moves (a real sequence) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.flow li { list-style: none; padding: 22px 22px 0 0; position: relative; }
.flow li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.flow .n { font-size: .9rem; font-weight: 700; color: var(--dock); }
.flow h3 { margin: 8px 0 8px; }
.flow p { color: var(--ink-2); font-size: .97rem; }
.flow ol { padding: 0; margin: 0; display: contents; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .flow li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li + li { padding-left: 0; border-left: 0; }
}

/* Capability list with animated icons */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap { padding: 28px 26px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; transition: background .2s; }
.cap:hover { background: var(--sheet); }
.cap .ico { width: 30px; height: 30px; color: var(--dock); margin-bottom: 16px; }
.cap h3 { font-size: 1.08rem; }
.cap p { color: var(--ink-2); font-size: .95rem; margin-top: 6px; }
.cap kbd { font-family: inherit; font-size: .82rem; font-weight: 700; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; background: var(--sheet); }
@media (max-width: 900px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

/* Security band */
.band { background: var(--band); color: var(--band-ink); }
.band h2 { color: #fff; }
.band .lead { color: var(--band-ink-2); }
.sec-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.sec-list { list-style: none; margin: 0; padding: 0; }
.sec-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--band-line); }
.sec-list li:last-child { border-bottom: 1px solid var(--band-line); }
.sec-list .ico { width: 24px; height: 24px; color: #38bdf8; margin-top: 2px; }
.sec-list b { color: #fff; display: block; }
.sec-list span { color: var(--band-ink-2); font-size: .95rem; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.price-head .section-head { margin-bottom: 0; }
.billing { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--line-2); border: 1px solid var(--line); }
.billing button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 650; font-size: .95rem; color: var(--ink-2); }
.billing button[aria-pressed="true"] { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 3px rgba(12, 26, 42, .15); }
.billing .save { color: var(--stamp); font-weight: 700; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 24px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--dock); padding: 25px 23px; }
.plan .tag { position: absolute; top: -13px; left: 22px; background: var(--dock); color: var(--dock-ink); font-size: .8rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.plan h3 { display: flex; align-items: center; gap: 10px; }
.plan h3 .ico { width: 22px; height: 22px; color: var(--dock); }
.plan .for { color: var(--ink-3); font-size: .92rem; margin-top: 6px; min-height: 2.9em; }
.amount { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.amount .cur { font-weight: 700; font-size: 1.05rem; color: var(--ink-2); }
.amount .val { font-size: 2.7rem; font-weight: 780; letter-spacing: -.045em; line-height: 1; }
.amount .per { color: var(--ink-3); font-size: .92rem; }
.amount-note { font-size: .86rem; color: var(--ink-3); min-height: 2.8em; }
.plan .btn { margin: 20px 0 22px; width: 100%; }
.plan .ticks { font-size: .93rem; }
.plan .ticks li { font-size: .93rem; }
.plan .ticks .head { display: block; font-weight: 700; color: var(--ink); grid-template-columns: none; }
.plan .ticks .head::before { display: none; }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.price-foot { margin-top: 22px; color: var(--ink-3); font-size: .9rem; }

/* Compare table */
.compare-wrap { margin-top: 64px; }
.compare-wrap h3 { font-size: 1.5rem; margin-bottom: 18px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--sheet); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); }
.compare thead th { font-weight: 700; color: var(--ink); background: var(--paper); position: sticky; top: 0; }
.compare tbody tr.group td { background: var(--paper); font-weight: 700; color: var(--ink); text-align: left; padding-top: 18px; }
.compare tr:last-child td { border-bottom: 0; }
.yes { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; color: var(--stamp); }
.no { color: var(--ink-3); }
.compare .col-feat { background: color-mix(in srgb, var(--sky-wash) 55%, transparent); }

/* ---------- Roadmap (timeline) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.timeline > li { padding: 0 24px 0 0; position: relative; }
.timeline > li::before { content: ""; display: block; height: 4px; background: var(--line); margin-bottom: 18px; border-radius: 2px; }
.timeline > li.done::before { background: var(--dock); }
.timeline > li.next::before { background: linear-gradient(90deg, var(--dock) 0 30%, var(--line) 30%); }
.timeline .when { font-size: .88rem; font-weight: 700; color: var(--dock); }
.timeline .when.later { color: var(--ink-3); }
.timeline h3 { margin: 6px 0 12px; }
.timeline ul { margin: 0; padding: 0 0 0 18px; color: var(--ink-2); font-size: .95rem; display: grid; gap: 6px; }
.roadmap-note { margin-top: 36px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: var(--r-m); color: var(--ink-2); font-size: .95rem; max-width: 46em; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 650; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s, margin .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }
.faq .ans p + p { margin-top: 10px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.cta { padding: clamp(64px, 9vw, 112px) 0; }
.cta-box { background: var(--dock); color: var(--dock-ink); border-radius: var(--r-l); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-box h2 { color: inherit; max-width: 13em; }
.cta-box p { margin-top: 14px; opacity: .85; max-width: 32em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
.cta-box .btn-primary { background: var(--dock-ink); color: var(--dock); }
.cta-box .btn-primary:hover { background: color-mix(in srgb, var(--dock-ink) 88%, var(--dock)); }
.cta-box .btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--dock-ink) 45%, transparent); color: inherit; }
.cta-box .btn-ghost:hover { border-color: var(--dock-ink); }
.cta-mark { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .1; pointer-events: none; }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--ink-2); font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 12px; font-size: .95rem; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .brand { margin-bottom: 12px; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-3); font-size: .88rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* =========================================================
   Animated icon system
   Every icon is a 24px stroke SVG. Parts carry a role class:
   .d  draws in (pathLength=1), .m  moves, .p pops.
   Icons draw once when they scroll into view (.ico.in), then
   replay their own motion on hover / focus / selection.
   ========================================================= */
.ico { display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ico.in .d { animation: draw .9s cubic-bezier(.6, .1, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 90ms); }
.ico:not(.in) .d { stroke-dashoffset: 0; }
.js .ico:not(.in) .d { stroke-dashoffset: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.anim-host:hover .ico .m, .anim-host:focus-visible .ico .m, .anim-host.is-on .ico .m, .anim-host[aria-selected="true"] .ico .m { animation: var(--anim) var(--dur, .7s) cubic-bezier(.3, .7, .3, 1) both; transform-box: fill-box; transform-origin: var(--o, center); }
@keyframes rise { 0% { transform: scaleY(.2); } 60% { transform: scaleY(1.15); } 100% { transform: scaleY(1); } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(2px); } 70% { transform: translateX(-1px); } }
@keyframes lift { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-3px); } }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes press { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(1.5px); } }
@keyframes drop { 0% { transform: translateY(-4px); opacity: 0; } 60% { transform: translateY(1px); opacity: 1; } 100% { transform: none; } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes swing { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-14deg); } 65% { transform: rotate(8deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes slide { 0%, 100% { transform: translate(0, 0); } 45% { transform: translate(-2px, 2px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .js .ico:not(.in) .d, .ico .d { stroke-dashoffset: 0 !important; }
}

/* Simple page (404) */
.simple { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px var(--gutter); }
.simple h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.simple p { margin: 14px auto 28px; color: var(--ink-2); max-width: 30em; }

/* Logo: the dock bar slides in once on load */
.logo-bar { transform-box: fill-box; transform-origin: left center; animation: dock-in .7s .25s cubic-bezier(.3, .8, .2, 1) both; }
.brand:hover .logo-bar { animation: dock-in .6s cubic-bezier(.3, .8, .2, 1) both; }
@keyframes dock-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
