/* albozm.com. One stylesheet, no framework. Colours and type follow the Albo app (main.css in the albo repo). */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --tint: #eef1f6;
  --border: #e2e5ea;
  --border-strong: #cfd5de;
  --text: #1c2530;
  --muted: #5b6675;
  --faint: #8a94a3;
  --accent: #1f6feb;
  --accent-hover: #1a5fd0;
  --accent-contrast: #ffffff;
  --accent-soft: #eaf1fd;
  --ok: #16a34a;
  --ok-soft: #eef8f0;
  --warn: #b45309;
  --warn-soft: #fff4e5;
  --old: #8a5a2b;
  --code-bg: #f1f4f9;
  --code-ink: #0f4fb8;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 2px 6px rgba(16, 24, 40, 0.06), 0 24px 56px rgba(16, 24, 40, 0.14);
  --radius: 12px;
  --radius-lg: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141a;
    --surface: #161d26;
    --tint: #121921;
    --border: #26303c;
    --border-strong: #34404e;
    --text: #e6eaf0;
    --muted: #9aa6b5;
    --faint: #6f7b8a;
    --accent: #4c8dff;
    --accent-hover: #6aa1ff;
    --accent-contrast: #0b1220;
    --accent-soft: #16243a;
    --ok: #3fbf6b;
    --ok-soft: #12291c;
    --warn: #f0a050;
    --warn-soft: #2a1f12;
    --old: #d2a273;
    --code-bg: #1b2531;
    --code-ink: #8fb8ff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 24px 56px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
/* Links in running text: a quiet underline that firms up on hover. Never a shift in position. */
a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, var(--accent) 38%, transparent);
  transition: color 0.15s, text-decoration-color 0.15s;
}
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
/* A link that leads somewhere: bold, with an arrow in a small round badge. On hover the badge fills and the words
   are underlined from the left. Nothing moves. */
.link { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-weight: 650; text-decoration: none; }
.link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.25s ease; }
.link:hover span { background-size: 100% 1.5px; }
.link__go { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); transition: background-color 0.2s, color 0.2s; }
.link__go .ico { width: 15px; height: 15px; stroke-width: 2.2; }
.link:hover .link__go { background: var(--accent); color: var(--accent-contrast); }
.section--tint .link__go { background: var(--surface); box-shadow: var(--shadow-sm); }
.section--tint .link:hover .link__go { background: var(--accent); }

/* "Something else?": a small card under the questions heading, with real ways to ask. */
.ask { display: grid; grid-template-columns: 40px 1fr; gap: 16px; margin-top: 8px; padding: 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.section--tint .ask .badge.badge { background: var(--accent-soft); box-shadow: none; }
.ask__title { margin: 0; font-weight: 700; font-size: 17px; }
.ask__line { margin: 4px 0 12px; color: var(--muted); font-size: 15px; }
.ask__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.section--tint .ask .link__go { background: var(--accent-soft); box-shadow: none; }
.section--tint .ask .link:hover .link__go { background: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: 0.88em; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Icons: one line set, drawn once in the page and reused. An icon on its own always sits in a soft round badge. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.badge--sm { width: 32px; height: 32px; }
.badge--sm .ico { width: 17px; height: 17px; }
.badge--lg { width: 48px; height: 48px; }
.badge--lg .ico { width: 23px; height: 23px; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--dark { background: rgba(127, 176, 255, 0.12); color: #8fb8ff; }
/* On a grey section the soft fill disappears, so the badge goes white there. */
.section--tint .badge:not(.journey__badge) { background: var(--surface); box-shadow: var(--shadow-sm); }

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.top__inner { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 8px; }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0;
  background: linear-gradient(var(--accent), var(--accent)) 50% 100% / 0 2px no-repeat;
  transition: color 0.15s, background-size 0.25s ease;
}
.top__nav a:hover { color: var(--text); background-size: 100% 2px; }
/* The section on screen, marked by the script as you scroll. */
.top__nav a[aria-current="location"] { color: var(--text); font-weight: 600; background-size: 100% 2px; }
.top .btn { margin-left: 8px; }
@media (max-width: 980px) {
  .top__nav { display: none; }
  .top .btn { margin-left: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid var(--border-strong); border-radius: 10px;
  background: var(--surface); color: var(--text);
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn:hover { border-color: var(--muted); color: var(--text); box-shadow: var(--shadow); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 28%, transparent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-contrast); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, [role="tab"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: 10px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.actions--center { justify-content: center; }

.eyebrow { color: var(--accent); font-weight: 650; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }

/* Hero */
.hero {
  padding: 48px 0 56px;
  background:
    radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    radial-gradient(700px 360px at -10% 110%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
}
.hero__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) {
  .hero { padding: 80px 0 88px; }
  .hero__inner { grid-template-columns: 5fr 6fr; gap: 56px; }
}
h1 { font-size: clamp(36px, 5.2vw, 56px); letter-spacing: -0.035em; font-weight: 780; }
.lead { font-size: 19px; color: var(--muted); max-width: 36em; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 14px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 5px 13px;
}

.hero__visual { position: relative; }
.window {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-lg);
}
.window__bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--tint); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }

/* Small cards over the hero screen: a formula, and a posted run. */
.float {
  position: absolute; display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.4; color: var(--muted);
}
.float strong { color: var(--text); }
.float--formula { flex-direction: column; gap: 4px; left: -28px; bottom: 56px; }
.float__label { font-size: 12px; color: var(--faint); }
.float--formula code { font-size: 15px; color: var(--code-ink); background: var(--code-bg); padding: 3px 8px; border-radius: 6px; }
.float--posted { right: -20px; top: 72px; max-width: 250px; }
.dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
@media (max-width: 1100px) { .float--formula { left: 12px; } .float--posted { right: 12px; } }
@media (max-width: 640px) { .float { display: none; } }

/* Facts band */
.facts { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.facts__inner { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .facts__inner { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 28px 20px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; border-right: 1px solid var(--border); }
.fact:nth-child(2n) { border-right: 0; }
@media (min-width: 900px) { .fact:nth-child(2n) { border-right: 1px solid var(--border); } .fact:last-child { border-right: 0; } }
@media (max-width: 899px) { .fact:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
.fact .badge { margin-bottom: 10px; }
.fact strong { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; color: var(--accent); line-height: 1.1; }
.fact span { color: var(--muted); font-size: 15px; }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 1000px) { .section { padding: 96px 0; } }
.section--tint { background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 760; letter-spacing: -0.03em; }
.section__lead { font-size: 18px; color: var(--muted); max-width: 720px; margin-bottom: 40px; }
.center .section__lead { margin-left: auto; margin-right: auto; }

.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .split { grid-template-columns: 5fr 6fr; gap: 64px; } }
.split--center { align-items: center; }
.split .section__lead { margin-bottom: 24px; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.5' fill='none' stroke='%231f6feb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.ticks code, .formulas code { color: var(--code-ink); background: var(--code-bg); padding: 1px 6px; border-radius: 5px; }

/* The formula card */
.formulas { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.formulas__head { margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--tint); font-weight: 650; display: flex; justify-content: space-between; }
.formulas__head span { color: var(--faint); font-weight: 500; font-size: 14px; }
.formulas dl { margin: 0; }
.formulas dl > div { display: grid; gap: 6px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.formulas dl > div:last-child { border-bottom: 0; }
@media (min-width: 560px) { .formulas dl > div { grid-template-columns: 1fr 1.25fr; align-items: center; gap: 16px; } }
.formulas dt { font-weight: 600; }
.formulas dt small { display: block; font-weight: 400; color: var(--faint); font-size: 13px; }
.formulas dd { margin: 0; overflow-wrap: anywhere; }
.formulas dd code { font-size: 14px; display: inline-block; }

/* Tabs. Without the script every panel shows, each with its heading. */
.tabs__list { display: none; }
.js .tabs__list {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px;
  padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; width: fit-content; max-width: 100%;
}
[role="tab"] {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; border-radius: 10px; padding: 9px 16px; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
[role="tab"] .ico { width: 17px; height: 17px; }
[role="tab"]:hover { color: var(--text); background: var(--tint); }
[role="tab"][aria-selected="true"] { background: var(--accent); color: var(--accent-contrast); }
.tabs__panel { display: grid; gap: 28px; align-items: center; margin-bottom: 56px; }
.js .tabs__panel { margin-bottom: 0; }
.tabs__panel[hidden] { display: none; }
@media (min-width: 1000px) { .tabs__panel { grid-template-columns: 4fr 7fr; gap: 48px; } }
.tabs__text h3 { font-size: 24px; }
.tabs__text p { color: var(--muted); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Rate packs: a numbered list on the left, the pack itself on the right. */
.timeline { list-style: none; padding: 0; margin: 8px 0 0; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 4px; align-items: start; padding: 16px 0; border-top: 1px solid var(--border); }
.timeline li:last-child { border-bottom: 1px solid var(--border); }
.timeline strong { font-size: 17px; }
.timeline p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

.pack {
  background: var(--surface); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg);
  max-width: 460px; justify-self: center; width: 100%;
}
.pack__head { display: flex; gap: 14px; align-items: center; }
.pack__title { margin: 0; font-weight: 700; font-size: 18px; }
.pack__sub { margin: 0; color: var(--faint); font-size: 14px; }
.pack__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.pack__meta div { background: var(--tint); border-radius: 12px; padding: 12px 14px; }
.pack__meta dt { font-size: 12px; color: var(--faint); font-weight: 600; }
.pack__meta dd { margin: 2px 0 0; font-weight: 700; }
.pack__ok { color: var(--ok); }
.pack__list { list-style: none; padding: 0; margin: 0; }
.pack__list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 15px; }
.pack__list li + li { border-top: 1px solid var(--border); }
.pack__list li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.5' fill='none' stroke='%231f6feb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.pack__foot { margin: 18px 0 0; font-size: 13px; color: var(--faint); }

/* ---------- Switching from an old system ---------- */
.switch__head { max-width: 760px; }

/* The importer card: six files checked in turn. */
.importer { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; max-width: 520px; width: 100%; justify-self: center; }
.importer__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.importer__head div { display: grid; }
.importer__head span:not(.badge) { color: var(--muted); font-size: 14px; }
.section--tint .importer .badge { background: var(--accent-soft); box-shadow: none; }
.importer__rows { list-style: none; margin: 6px 0 0; padding: 0; }
.importer__rows li { position: relative; display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; }
.importer__rows li + li { border-top: 1px solid var(--border); }
.importer__rows div { display: grid; min-width: 0; }
.importer__rows strong { font-size: 15px; line-height: 1.35; }
.importer__rows small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.importer__state { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: var(--ok-soft); color: var(--ok); }
.st-now, .st-wait { display: none; }
.importer__foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 15px; text-align: center; }
.importer__foot .ico { width: 18px; height: 18px; stroke-width: 2.2; }

/* What makes the move safe, and how fast it is. */
.moves { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.moves li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.moves strong { display: block; font-size: 18px; line-height: 1.3; }
.moves p { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.speed { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 32px 0 0; padding: 18px 22px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-sm); }
.speed strong { font-size: 30px; font-weight: 780; color: var(--accent); letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.speed span { color: var(--muted); font-size: 15px; flex: 1 1 14em; }

/* The same month, two ways: a moment picked from the tabs, the old way beside Albo's. */
.ways { margin-top: 88px; }
.ways__heading { font-size: clamp(22px, 2.6vw, 28px); font-weight: 750; letter-spacing: -0.02em; margin: 0 0 6px; }
.ways__lead { color: var(--muted); margin: 0 0 24px; }
.ways__panel { margin-bottom: 40px; }
.js .ways__panel { margin-bottom: 0; }
.ways__panel[hidden] { display: none; }
.ways__moment { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.ways__cols { display: grid; gap: 16px; }
@media (min-width: 860px) { .ways__cols { grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; } }
.ways__old, .ways__new { border-radius: 20px; padding: 26px 28px; }
.ways__old { border: 1px solid var(--border-strong); }
.ways__new { background: var(--surface); box-shadow: var(--shadow-lg); }
.ways__label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 16px; }
.ways__old .ways__label { color: var(--faint); }
.ways__new .ways__label { color: var(--accent); }
.ways ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: way; }
.ways ol li { position: relative; padding-left: 36px; line-height: 1.5; }
.ways ol li::before {
  counter-increment: way; content: counter(way);
  position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.ways__old li { color: var(--muted); }
.ways__old li::before { background: var(--border); color: var(--muted); }
.ways__new li::before { background: var(--accent-soft); color: var(--accent); }
.ways__result { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-weight: 700; color: var(--ok); }
.ways__result .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.js .ways__panel:not([hidden]) .ways__new li { animation: fade-up 0.4s both; }
.js .ways__panel:not([hidden]) .ways__new li:nth-child(2) { animation-delay: 0.12s; }
.js .ways__panel:not([hidden]) .ways__new li:nth-child(3) { animation-delay: 0.24s; }
.js .ways__panel:not([hidden]) .ways__result { animation: fade-up 0.4s 0.4s both; }

/* The dark band: own server. */
.band { background: #0f1720; color: #c9d2de; padding: 72px 0; }
@media (min-width: 1000px) { .band { padding: 104px 0; } }
.band .section__title { color: #ffffff; }
.band .section__lead { color: #9aa7b8; }
.band__head { max-width: 720px; }
.band__grid { display: grid; gap: 40px; margin-top: 8px; }
@media (min-width: 860px) { .band__grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.point h3 { color: #ffffff; font-size: 19px; margin: 20px 0 8px; }
.point p { margin: 0; font-size: 16px; color: #9aa7b8; }

/* ---------- Everyone you employ ---------- */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding-top: 22px; border-top: 1px solid var(--border); }
.proof dt { font-size: 24px; font-weight: 780; letter-spacing: -0.03em; color: var(--accent); line-height: 1.15; }
.proof dd { margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Four people, four ways of being paid, one run. */
.crew { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; width: 100%; max-width: 540px; justify-self: center; }
.crew__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.crew__head strong { font-size: 17px; }
.crew__head span { color: var(--faint); font-size: 14px; }
.crew__rows { list-style: none; margin: 0; padding: 0; }
.crew__rows li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; }
.crew__rows li + li { border-top: 1px solid var(--border); }
.crew__rows div { display: grid; min-width: 0; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--accent-soft); color: var(--accent); }
.avatar--ok { background: var(--ok-soft); color: var(--ok); }
.avatar--warn { background: var(--warn-soft); color: var(--warn); }
.avatar--plain { background: var(--tint); color: var(--text); }
.crew__name { font-weight: 650; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tag { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--tint); color: var(--muted); }
.crew__how { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.crew__pay { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 15px; }
.crew__foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; padding: 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px; }
.crew__foot .ico { width: 18px; height: 18px; stroke-width: 2.2; }
@media (max-width: 440px) { .crew__rows li { grid-template-columns: 40px 1fr; } .crew__pay { grid-column: 2; } }

/* From 50 to 50,000: four stops on one line that fills as it plays. */
.scale { margin: 72px 0 0; }
.scale__stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.scale__stops::before { content: ""; position: absolute; left: 8px; right: 75%; top: 7px; height: 2px; background: var(--border-strong); }
.scale__stops li { position: relative; padding-top: 30px; }
.scale__stops li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.scale__stops li::after { content: ""; position: absolute; left: 16px; right: 0; top: 7px; height: 2px; background: var(--accent); transform-origin: left; }
.scale__stops li:last-child::after { display: none; }
.scale__stops strong { display: block; font-size: clamp(24px, 3.4vw, 40px); font-weight: 780; letter-spacing: -0.035em; line-height: 1.1; }
.scale__stops span { color: var(--muted); font-size: 15px; }
.scale__note { margin: 22px 0 0; font-size: 18px; font-weight: 600; }

.sectors__label { margin: 56px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.sectors { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sectors li { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); font-size: 15px; font-weight: 600; }

/* ---------- Getting started ---------- */
.start { display: grid; gap: 40px; }
@media (min-width: 1000px) { .start { grid-template-columns: 4fr 6fr; gap: 64px; align-items: start; } .start__head { position: sticky; top: 100px; } }
.start .section__lead { margin-bottom: 0; }
.ready { margin-top: 28px; background: var(--surface); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.ready__title { display: flex; align-items: center; gap: 12px; font-weight: 700; margin: 0 0 14px; }
.section--tint .ready .badge { background: var(--accent-soft); box-shadow: none; }
.ready .ticks li { font-size: 15px; }
.ready .btn { margin-top: 22px; width: 100%; }

.journey { list-style: none; margin: 0; padding: 0; }
.journey li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding-bottom: 20px; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px;
  background: linear-gradient(var(--accent), var(--accent)) 0 0 / 100% 100% no-repeat, var(--border-strong);
}
.journey li:last-child::before { display: none; }
.journey__badge { position: relative; z-index: 1; background: var(--accent); color: #ffffff; }
.journey__card { background: var(--surface); border-radius: 18px; padding: 20px 24px; box-shadow: var(--shadow-sm); }
.journey__step { margin: 0 0 2px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.journey h3 { font-size: 20px; margin: 0 0 14px; }
.journey__who { display: grid; gap: 12px; margin: 0; }
@media (min-width: 640px) { .journey__who { grid-template-columns: 1fr 1fr; gap: 24px; } }
.journey__who dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.journey__who dd { margin: 4px 0 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.journey__end .journey__badge { background: var(--ok); }
.journey__end .journey__card { background: var(--ok-soft); box-shadow: none; }
.journey__end h3 { margin-bottom: 4px; color: var(--ok); }
.journey__end p { margin: 0; color: var(--muted); font-size: 15px; }

/* Editions: two plans side by side. Professional is the dark one. */
.plans { display: grid; gap: 20px; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { display: flex; flex-direction: column; background: var(--surface); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.plan__cta { margin: auto 0 0; padding-top: 28px; }
.plan__top { display: flex; align-items: center; gap: 16px; }
.plan__name { margin: 0; font-size: 26px; font-weight: 760; letter-spacing: -0.02em; line-height: 1.2; }
.plan__line { margin: 2px 0 0; color: var(--muted); }
.plan__for { margin: 20px 0 22px; padding: 14px 16px; border-radius: 12px; background: var(--tint); font-size: 15px; color: var(--text); }
.plan--pro .plan__for { background: rgba(255, 255, 255, 0.06); color: #e6eaf0; }
.plan__cta .btn { width: 100%; }
.plan__list { list-style: none; padding: 0; margin: 0; }
.plan__list li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 16px; }
.plan__list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.8 2.7L14.2 7.5' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.plan--pro { background: #0f1720; color: #e6eaf0; }
.plan--pro .plan__line { color: #9aa7b8; }
.plan--pro .plan__list li { border-top-color: #26303c; }
.plan--pro .plan__list li::before {
  background: #16243a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.8 2.7L14.2 7.5' fill='none' stroke='%237fb0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.note { margin-top: 24px; color: var(--muted); max-width: 46em; }

/* How the price works: four plain statements, then the promise about wages. */
.editions__head { max-width: 760px; }
.pricing { margin-top: 72px; }
.pricing__title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 750; letter-spacing: -0.02em; margin: 0 0 24px; }
.pricing__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 56px; max-width: 980px; }
@media (min-width: 720px) { .pricing__list { grid-template-columns: repeat(2, 1fr); } }
.pricing__list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.pricing__list strong { display: block; font-size: 17px; line-height: 1.3; }
.pricing__list p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.pricing__safe { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; margin: 36px 0 0; padding: 16px 20px; border-radius: 16px; background: var(--ok-soft); font-weight: 600; }
.pricing__safe .badge { background: var(--surface); }
.pricing__more { margin: 20px 0 0; color: var(--muted); }

/* Line by line: a real table, grouped, with a tick or a dash in each edition. */
.compare { margin-top: 72px; border: 0; padding: 0; }
.compare > summary { align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.compare > summary .pricing__title { margin: 0; }
.compare[open] > summary { margin-bottom: 16px; }
.compare__scroll { overflow-x: auto; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); }
.compare__table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.compare__table th, .compare__table td { padding: 12px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare__table thead th { font-size: 15px; font-weight: 750; padding-top: 20px; padding-bottom: 16px; }
.compare__table thead th:nth-child(n+2), .compare__table td { width: 150px; text-align: center; }
.compare__table thead th:last-child { color: var(--accent); }
.compare__table tbody th { font-weight: 500; }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__group th { padding-top: 22px; font-size: 12.5px; font-weight: 700 !important; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); background: var(--tint); }
.compare__table td { font-size: 0; }
.compare__table td::before { content: ""; display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.compare__table td.yes::before {
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.8 2.7L14.2 7.5' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.compare__table td.no::before { width: 14px; height: 2px; border-radius: 1px; background: var(--border-strong); }
.compare__table tbody tr:not(.compare__group):hover > * { background: color-mix(in srgb, var(--accent) 4%, transparent); }
@media (max-width: 600px) {
  .compare__table { min-width: 0; font-size: 14px; }
  .compare__table th, .compare__table td { padding: 11px 14px; }
  .compare__table thead th { font-size: 13px; }
  .compare__table thead th:nth-child(n+2), .compare__table td { width: 92px; padding-left: 4px; padding-right: 4px; }
}

/* Questions: heading on the left, the list on the right. */
.faq { display: grid; gap: 24px; }
@media (min-width: 1000px) { .faq { grid-template-columns: 1fr 2fr; gap: 64px; } .faq__head { position: sticky; top: 100px; align-self: start; } }
.faq details { border-top: 1px solid var(--border-strong); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border-strong); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 40em; }

/* The closing call to action. */
.closer { background: #1f6feb; color: #ffffff; padding: 72px 0; }
@media (prefers-color-scheme: dark) { .closer { background: #1a4fae; } .band { background: #161d26; } .plan--pro { background: #1c2633; } }
@media (min-width: 1000px) { .closer { padding: 96px 0; } }
.closer__inner { display: grid; gap: 40px; align-items: end; }
@media (min-width: 1000px) { .closer__inner { grid-template-columns: 3fr 2fr; gap: 64px; } }
.closer__title { font-size: clamp(30px, 4vw, 46px); font-weight: 780; letter-spacing: -0.035em; color: #ffffff; }
.closer__lead { font-size: 18px; color: rgba(255, 255, 255, 0.82); max-width: 34em; }
.closer .actions { margin-bottom: 0; }
.closer__contact { margin: 0; display: grid; gap: 18px; }
.closer__contact div { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.closer__contact dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.75); }
.closer__contact dt .ico { width: 16px; height: 16px; }
.closer__contact dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; }
.closer__contact a { color: #ffffff; text-decoration: none; }
.closer__contact a:hover { text-decoration: underline; color: #ffffff; }
.btn--light { background: #ffffff; border-color: #ffffff; color: #0f1720; }
.btn--light:hover { background: #eaf1fd; border-color: #eaf1fd; color: #0f1720; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #ffffff; color: #ffffff; box-shadow: none; }
.closer a:focus-visible { outline-color: #ffffff; }

/* ---------- Motion ----------
   Everything here is enhancement: without the script, or with reduced motion, every step shows finished. */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.reasons [data-reveal]:nth-child(2), .plans .plan:nth-child(2) { transition-delay: 0.08s; }
.reasons [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.reasons [data-reveal]:nth-child(4) { transition-delay: 0.08s; }
.reasons [data-reveal]:nth-child(5) { transition-delay: 0.16s; }
.reasons [data-reveal]:nth-child(6) { transition-delay: 0.24s; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0.6); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.js .hero .float { animation: fade-up 0.8s 0.6s both; }
.js .hero .float--posted { animation-delay: 1.1s; }
.float--posted .dot { animation: pulse 2.4s 2s infinite; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.badge--xl { width: 64px; height: 64px; }
.badge--xl .ico { width: 30px; height: 30px; }
.badge--warn { background: var(--warn-soft); color: var(--warn); }

/* ---------- Why Albo ---------- */
.reasons { display: grid; gap: 0 48px; }
@media (min-width: 720px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.reason { padding: 28px 0; border-top: 1px solid var(--border); }
.reason h3 { font-size: 20px; margin: 18px 0 8px; }
.reason p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- One month's payroll ---------- */
.runflow { position: relative; }
.runflow__steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; position: relative; z-index: 1; }
@media (min-width: 860px) { .runflow__steps { grid-template-columns: repeat(6, 1fr); } }
.runflow__step {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer;
}
.runflow__step .badge { width: 52px; height: 52px; background: var(--surface); color: var(--faint); box-shadow: 0 0 0 1px var(--border-strong); transition: background-color 0.35s, color 0.35s, box-shadow 0.35s; }
.runflow__step .ico { width: 24px; height: 24px; }
.runflow__name { font-size: 15px; font-weight: 650; transition: color 0.35s; }
.runflow__step:hover .runflow__name { color: var(--text); }
.runflow__step.is-done .badge { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.runflow__step.is-on .badge { background: var(--accent); color: #ffffff; box-shadow: none; animation: pulse 2.2s infinite; }
.runflow__step.is-on .runflow__name { color: var(--text); }
.runflow__step:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.runflow__track { display: none; }
@media (min-width: 860px) {
  .runflow__track { display: block; position: absolute; top: 25px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: var(--border-strong); }
}
.runflow__fill { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.6s ease; }
.runflow[data-at="1"] .runflow__fill { width: 20%; }
.runflow[data-at="2"] .runflow__fill { width: 40%; }
.runflow[data-at="3"] .runflow__fill { width: 60%; }
.runflow[data-at="4"] .runflow__fill { width: 80%; }
.runflow[data-at="5"] .runflow__fill { width: 100%; }
.runflow__panels { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); }
.runflow__panel { display: grid; gap: 24px; padding: 28px; align-items: center; }
.runflow__panel + .runflow__panel { border-top: 1px solid var(--border); }
.js .runflow__panel + .runflow__panel { border-top: 0; }
.js .runflow__panel:not(.is-on) { display: none; }
.js .runflow__panel.is-on { animation: fade-up 0.45s both; }
@media (min-width: 860px) { .runflow__panel { grid-template-columns: 5fr 6fr; gap: 48px; padding: 40px; min-height: 340px; } }
.runflow__kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.runflow__text h3 { font-size: 26px; }
.runflow__text p:last-child { color: var(--muted); margin: 0; }

/* The small screens drawn inside each step */
.mini { background: var(--tint); border-radius: 16px; padding: 20px; font-size: 14px; }
.mini__title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; font-weight: 700; font-size: 15px; }
.chip { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); white-space: nowrap; }
.chip--blue { background: var(--accent-soft); color: var(--accent); }
.mini__table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; }
.mini__table th, .mini__table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.mini__table tr:last-child td { border-bottom: 0; }
.mini__table th { font-size: 12px; color: var(--faint); font-weight: 600; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.is-on .mini__table tbody tr { animation: fade-up 0.4s both; }
.is-on .mini__table tbody tr:nth-child(2) { animation-delay: 0.25s; }
.is-on .mini__table tbody tr:nth-child(3) { animation-delay: 0.5s; }
.is-on .mini__table tbody tr:nth-child(4) { animation-delay: 0.75s; }
.meter { height: 10px; background: var(--surface); border-radius: 999px; overflow: hidden; }
.meter__fill { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: inherit; }
.is-on .meter__fill { animation: fill 2.2s cubic-bezier(0.3, 0.6, 0.3, 1) both; }
.mini__figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 0; }
.mini__figs div { background: var(--surface); border-radius: 12px; padding: 10px 12px; }
.mini__figs dt { font-size: 12px; color: var(--faint); }
.mini__figs dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; }
@media (max-width: 520px) { .mini__figs { grid-template-columns: 1fr; } }
.mini__flags, .mini__files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.flag { display: grid; gap: 2px; padding: 12px 14px 12px 36px; border-radius: 12px; position: relative; }
.flag::before { content: ""; position: absolute; left: 14px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.flag strong { color: var(--text); }
.flag span { color: var(--muted); }
.flag--info { background: var(--accent-soft); color: var(--accent); }
.flag--warn { background: var(--warn-soft); color: var(--warn); }
.flag--ok { background: var(--ok-soft); color: var(--ok); }
.is-on .flag { animation: fade-up 0.4s both; }
.is-on .flag:nth-child(2) { animation-delay: 0.3s; }
.is-on .flag:nth-child(3) { animation-delay: 0.6s; }
.chain { list-style: none; margin: 0; padding: 0; }
.chain li { position: relative; display: grid; gap: 0 12px; grid-template-columns: 20px 1fr; padding-bottom: 16px; }
.chain li:last-child { padding-bottom: 0; }
.chain li::after { content: ""; position: absolute; left: 9px; top: 22px; bottom: 2px; width: 2px; background: var(--border-strong); }
.chain li:last-child::after { display: none; }
.chain__dot { grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; background: var(--border-strong); margin-top: 1px; }
.chain__done .chain__dot { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.8 2.7L14.2 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.chain__now .chain__dot { background: var(--accent); animation: pulse 2s infinite; }
.chain span:not(.chain__dot) { color: var(--muted); }
.is-on .chain__done .chain__dot { animation: pop 0.45s both; }
.is-on .chain__done:nth-child(2) .chain__dot { animation-delay: 0.35s; }
.is-on .chain__done:nth-child(3) .chain__dot { animation-delay: 0.7s; }
.mini--center { text-align: center; display: grid; justify-items: center; gap: 4px; padding: 36px 20px; }
.is-on .mini--center .badge { animation: pop 0.6s 0.1s both; }
.mini__big { margin: 12px 0 0; font-size: 20px; font-weight: 750; }
.mini__small { margin: 0; color: var(--muted); }
.mini__files li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 12px; background: var(--surface); border-radius: 12px; padding: 11px 14px; font-weight: 600; }
.mini__files .ico { color: var(--accent); width: 18px; height: 18px; }
.mini__files span { color: var(--faint); font-weight: 500; font-size: 13px; }
.is-on .mini__files li { animation: fade-up 0.35s both; }
.is-on .mini__files li:nth-child(2) { animation-delay: 0.12s; }
.is-on .mini__files li:nth-child(3) { animation-delay: 0.24s; }
.is-on .mini__files li:nth-child(4) { animation-delay: 0.36s; }
.is-on .mini__files li:nth-child(5) { animation-delay: 0.48s; }
.is-on .mini__files li:nth-child(6) { animation-delay: 0.6s; }

/* ---------- Loans ---------- */
.loan { display: grid; gap: 16px; max-width: 520px; width: 100%; justify-self: center; }
.loan__card { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 24px; }
.loan__head { display: flex; align-items: center; gap: 14px; }
.loan__title { margin: 0; font-weight: 750; font-size: 18px; }
.loan__sub { margin: 0; color: var(--muted); font-size: 14px; }
.loan__working { margin: 18px 0 14px; background: var(--tint); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.loan__working strong { color: var(--text); }
.loan__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.loan__table th { font-size: 12px; color: var(--faint); font-weight: 600; text-align: left; padding: 6px 0; }
.loan__table td { padding: 8px 0; border-top: 1px solid var(--border); transition: opacity 0.4s, color 0.4s; }
.loan__table td:last-child { font-weight: 700; }
.js [data-seq] .loan__table tbody tr:not(.is-done) td { opacity: 0.3; }
.loan__bar { margin-top: 14px; height: 8px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.loan__bar span { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: inherit; transition: width 0.6s ease; }
.loan[data-at="1"] .loan__bar span { width: 83.33%; }
.loan[data-at="2"] .loan__bar span { width: 66.67%; }
.loan[data-at="3"] .loan__bar span { width: 50%; }
.loan[data-at="4"] .loan__bar span { width: 33.33%; }
.loan[data-at="5"] .loan__bar span { width: 16.67%; }
.loan[data-at="6"] .loan__bar span, .loan[data-at="7"] .loan__bar span, .loan[data-at="done"] .loan__bar span { width: 0; }
.guard { background: var(--warn-soft); border-radius: 20px; padding: 20px 22px; font-size: 15px; transition: opacity 0.5s, transform 0.5s; }
.guard p { margin: 0 0 8px; color: var(--muted); }
.guard p:last-child { margin: 0; }
.guard strong { color: var(--text); }
.guard__title { display: flex; align-items: center; gap: 10px; font-weight: 750; color: var(--text) !important; font-size: 16px; }
.guard .badge { background: var(--surface); }
.js [data-seq] .guard:not(.is-done) { opacity: 0; transform: translateY(12px); }

/* ---------- Approvals ---------- */
.approve { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 24px; max-width: 480px; width: 100%; justify-self: center; }
.approve__doc { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.approve__doc div { display: grid; }
.approve__doc span:not(.badge) { color: var(--muted); font-size: 14px; }
.section--tint .approve .badge { background: var(--accent-soft); box-shadow: none; }
.approve__steps { list-style: none; margin: 18px 0 0; padding: 0; }
.approve__steps li { position: relative; display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; }
/* The connector runs from the bottom of one dot to the top of the next, behind both, and fills downward in green
   once its step is approved, so the line reaches the next dot just as that one starts to pulse. */
.approve__steps li::after {
  content: ""; position: absolute; left: 11px; top: calc(50% + 12px); height: calc(100% - 24px); width: 2px;
  background: linear-gradient(var(--ok), var(--ok)) 0 0 / 100% 0 no-repeat, var(--border-strong);
  transition: background-size 0.5s ease;
}
.approve__steps li:last-child::after { display: none; }
.approve__steps li.is-done::after { background-size: 100% 100%; }
.approve__steps div { display: grid; }
.approve__steps div span { color: var(--muted); font-size: 13px; }
.approve__dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: var(--border-strong); transition: background-color 0.4s; }
.approve__steps em { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); transition: opacity 0.4s; }
.approve__steps li.is-done .approve__dot { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.8 2.7L14.2 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; animation: pop 0.45s both; }
.approve__steps li.is-now .approve__dot { background: var(--accent); animation: pulse 1.6s infinite; }
.js [data-seq] .approve__steps li:not(.is-done) em { opacity: 0; }
.approve__posted { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; padding: 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 750; transition: opacity 0.4s, transform 0.4s; }
.approve__posted .ico { width: 18px; height: 18px; }
.js [data-seq] .approve__posted:not(.is-done) { opacity: 0; transform: scale(0.96); }

/* ---------- Rate pack steps and the getting-started line play in order ---------- */
.js [data-seq] .timeline li .badge { transition: background-color 0.4s, color 0.4s; }
.js [data-seq] .timeline li:not(.is-done) { opacity: 0.45; transition: opacity 0.4s; }
.js [data-seq] .timeline li.is-done { opacity: 1; transition: opacity 0.4s; }
.js [data-seq] .timeline li.is-done .badge { background: var(--accent); color: #ffffff; }
.js [data-seq] .pack__meta .pack__ok { transition: opacity 0.4s; }
.js [data-seq]:not([data-at="done"]) .pack .pack__ok { opacity: 0; }

/* Getting started: each step lights up and the rail fills down to the next. */
.js [data-seq] .journey__badge { transition: background-color 0.4s, color 0.4s, box-shadow 0.4s; }
.js [data-seq] .journey li:not(.is-done) .journey__badge { background: var(--surface); color: var(--faint); box-shadow: 0 0 0 2px var(--border-strong); }
.js [data-seq] .journey li::before { background-size: 100% 0; transition: background-size 0.6s ease; }
.js [data-seq] .journey li.is-done::before { background-size: 100% 100%; }
.js [data-seq] .journey__card { transition: opacity 0.4s; }
.js [data-seq] .journey li:not(.is-done) .journey__card { opacity: 0.55; }

/* The importer: each file waits, is checked with a bar running under it, then shows what came in. */
.js [data-seq] .importer__rows li { transition: opacity 0.35s; }
.js [data-seq] .importer__rows li:not(.is-done):not(.is-now) { opacity: 0.5; }
.js [data-seq] .importer__rows li:not(.is-done) .st-done { display: none; }
.js [data-seq] .importer__rows li:not(.is-done):not(.is-now) .st-wait { display: inline; }
.js [data-seq] .importer__rows li.is-now .st-now { display: inline; }
.js [data-seq] .importer__rows li:not(.is-done) .importer__state { background: var(--tint); color: var(--faint); }
.js [data-seq] .importer__rows li.is-now .importer__state { background: var(--accent-soft); color: var(--accent); }
.js [data-seq] .importer__rows li.is-now::after {
  content: ""; position: absolute; left: 44px; right: 0; bottom: -1px; height: 2px; background: var(--accent);
  transform-origin: left; animation: sweep 0.7s linear both;
}
@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js [data-seq] .importer__foot { transition: opacity 0.4s, transform 0.4s; }
.js [data-seq] .importer__foot:not(.is-done) { opacity: 0; transform: scale(0.96); }

/* Four people paid four ways arrive one by one. */
.js [data-seq] .crew__rows li { transition: opacity 0.45s, transform 0.45s; }
.js [data-seq] .crew__rows li:not(.is-done) { opacity: 0; transform: translateY(8px); }
.js [data-seq] .crew__foot { transition: opacity 0.4s, transform 0.4s; }
.js [data-seq] .crew__foot:not(.is-done) { opacity: 0; transform: scale(0.96); }

/* 50 to 50,000: the line draws from stop to stop. */
.js [data-seq] .scale__stops li::before { transition: background-color 0.3s, box-shadow 0.3s; }
.js [data-seq] .scale__stops li:not(.is-done)::before { background: var(--border-strong); }
.js [data-seq] .scale__stops li::after { transform: scaleX(0); transition: transform 0.45s ease; }
.js .scale:is([data-at="2"], [data-at="3"], [data-at="done"]) li:nth-child(1)::after,
.js .scale:is([data-at="3"], [data-at="done"]) li:nth-child(2)::after,
.js .scale[data-at="done"] li:nth-child(3)::after { transform: scaleX(1); }
.js [data-seq] .scale__stops li { transition: opacity 0.35s; }
.js [data-seq] .scale__stops li:not(.is-done) { opacity: 0.4; }
.js [data-seq] .scale__note { transition: opacity 0.5s; }
.js [data-seq]:not([data-at="done"]) .scale__note { opacity: 0; }

/* A looping sequence fades out, resets with no motion, and fades back in, so nothing visibly runs backwards. */
[data-seq-loop] [data-seq-body] { transition: opacity 0.35s ease, transform 0.4s ease; }
[data-seq-loop].is-resetting [data-seq-body] { opacity: 0 !important; }
[data-seq].no-motion *, [data-seq].no-motion *::before, [data-seq].no-motion *::after { transition: none !important; animation: none !important; }

/* ---------- The film ---------- */
.filmband { background: #0f1720; color: #c9d2de; padding: 72px 0; }
@media (min-width: 1000px) { .filmband { padding: 96px 0; } }
.filmband .section__title { color: #ffffff; }
.filmband .section__lead { color: #9aa7b8; margin-bottom: 32px; }
.filmband__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.filmband__head .btn { margin-bottom: 36px; flex: none; }
.filmband__frame { margin: 0; border-radius: 20px; overflow: hidden; background: #000000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); aspect-ratio: 16 / 9; }
.filmband__frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.filmband__note { margin: 16px 0 0; font-size: 14px; color: #7f8c9d; }
@media (prefers-color-scheme: dark) { .filmband { background: #161d26; } }

/* Footer */
.foot { padding: 56px 0 32px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--border); background: var(--surface); }
.foot__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot__brand p { margin: 12px 0 0; max-width: 32em; }
.foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot__col a {
  color: var(--muted); text-decoration: none; width: fit-content;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color 0.15s, background-size 0.25s ease;
}
.foot__col a:hover { color: var(--accent); background-size: 100% 1px; }
.foot__title { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.foot__fine { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--faint); }

/* ---------- Phones ----------
   The page is read one thumb-length at a time: text before the picture it explains, pictures large enough to read,
   rows of choices that scroll sideways instead of wrapping into blocks, and no section taller than it needs to be. */
@media (max-width: 999px) {
  .approve { order: 2; }
}
@media (max-width: 859px) {
  .runflow__steps { grid-template-columns: repeat(6, 1fr); gap: 0; margin-bottom: 20px; }
  .runflow__step .badge { width: 44px; height: 44px; }
  .runflow__step .ico { width: 20px; height: 20px; }
  .runflow__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .runflow__track { display: block; position: absolute; top: 21px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: var(--border-strong); }
  .runflow__panel { padding: 22px; }
  .mini { padding: 12px; }
  .mini__table th, .mini__table td { padding: 9px 10px; }
}
@media (max-width: 719px) {
  .reason { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; padding: 22px 0; }
  .reason .badge { grid-row: span 2; }
  .reason h3 { margin: 10px 0 6px; font-size: 18px; }
  .band__grid { gap: 28px; }
  .point { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; }
  .point .badge { grid-row: span 2; }
  .point h3 { margin: 10px 0 6px; }
  .fact { padding: 20px 16px; }
  .fact .badge { width: 36px; height: 36px; margin-bottom: 6px; }
  .fact .badge .ico { width: 18px; height: 18px; }
  .fact span { font-size: 14px; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section__lead { font-size: 17px; margin-bottom: 28px; }

  /* The hero screenshot shows its left half, large enough to read. */
  .hero .window img { width: 170%; max-width: none; }

  /* The screens in the tour keep their size; the reader swipes across them. */
  .tabs__panel .window { overflow-x: auto; overscroll-behavior-x: contain; }
  .tabs__panel .window img { width: 760px; max-width: none; }
  .tabs__panel::after { content: "Swipe across the screen to see all of it"; font-size: 13px; color: var(--faint); margin-top: -14px; }

  /* Choices in one row that scrolls sideways. */
  .js .tabs__list { flex-wrap: nowrap; overflow-x: auto; width: auto; scrollbar-width: none; }
  .js .tabs__list::-webkit-scrollbar { display: none; }
  [role="tab"] { flex: none; white-space: nowrap; }

  .ways { margin-top: 64px; }
  .ways__old, .ways__new { padding: 22px; }

  .proof { grid-template-columns: 1fr; gap: 0; padding-top: 4px; }
  .proof div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .proof dt { font-size: 21px; }
  .proof dd { margin: 0; }
  .scale { margin-top: 56px; }
  .scale__stops span { font-size: 13px; }

  /* Getting started: the steps first, then what to bring. */
  .start { display: flex; flex-direction: column; gap: 0; }
  .start__head { display: contents; }
  .journey { order: 2; margin-top: 32px; }
  .ready { order: 3; margin-top: 32px; }
  .journey li { grid-template-columns: 40px 1fr; gap: 14px; }
  .journey__badge { width: 40px; height: 40px; }
  .journey__badge .ico { width: 19px; height: 19px; }
  .journey li::before { left: 19px; top: 40px; }
  .journey__card { padding: 18px; }
  .journey h3 { font-size: 18px; }

  .plan { padding: 24px; }
  .pricing, .compare { margin-top: 56px; }
  .compare > summary { padding: 16px 18px; }
  .compare > summary .pricing__title { font-size: 19px; }

  .closer .actions .btn { flex: 1 1 100%; }
  .foot__col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .foot__title { grid-column: 1 / -1; }
}
