/* =============================================================================
   Seylo — company site
   One stylesheet. Palette from brand/BRAND-GUIDELINES.md §3. No gradients as
   fills (one subtle radial vignette on dark sections is the only exception).
   Motion: ≤600ms, cubic-bezier(.2,0,0,1), everything off under reduced motion.
   ============================================================================= */

/* ---------- 0. Tokens ---------------------------------------------------- */
:root {
  --navy: #1E2761;
  --navy-deep: #141A45;
  --navy-hover: #161D4A;
  --mint: #5BD1B7;
  --ice: #CADCFC;
  --slate: #5A6485;
  --ink: #0A0A0A;
  --ink-2: #2E3550;
  --cloud: #F4F6FC;
  --white: #FFFFFF;

  --line: rgba(30, 39, 97, 0.10);
  --line-soft: rgba(30, 39, 97, 0.06);
  --line-on-dark: rgba(202, 220, 252, 0.14);
  --line-on-dark-strong: rgba(202, 220, 252, 0.34);

  --shadow-sm: 0 1px 2px rgba(20, 26, 69, 0.06), 0 2px 8px rgba(20, 26, 69, 0.05);
  --shadow-md: 0 6px 20px -6px rgba(20, 26, 69, 0.18), 0 2px 6px rgba(20, 26, 69, 0.06);
  --shadow-lg: 0 30px 60px -24px rgba(10, 10, 10, 0.45), 0 12px 24px -12px rgba(10, 10, 10, 0.25);
  --shadow-lift: 0 -28px 64px -24px rgba(20, 26, 69, 0.28);

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --dur: 600ms;
  --dur-fast: 240ms;

  --nav-h: 76px;
  --container: 1200px;
  --inset: clamp(20px, 5vw, 48px);
  --rail-inset: max(var(--inset), calc((100vw - var(--container)) / 2));

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  /* fine grain for dark surfaces (SVG feTurbulence, tiled) */
  --grain: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@view-transition {
  navigation: auto;
}

/* ---------- 1. Base ------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 1.5rem + 3.3vw, 4.5rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.875rem, 1.15rem + 2.3vw, 3rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 0.05em 0.4em;
  border-radius: 6px;
  background: rgba(30, 39, 97, 0.07);
  color: var(--navy);
}

::selection {
  background: var(--navy);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

[data-theme="dark"] :focus-visible,
.nav[data-over="dark"] :focus-visible {
  outline-color: var(--mint);
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--dur-fast) var(--ease);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(100% - 2 * var(--inset), var(--container));
  margin-inline: auto;
}

/* ---------- 2. Type utilities ------------------------------------------- */
.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

.eyebrow--on-dark {
  color: var(--mint);
}

.lead {
  margin-top: 20px;
  font-size: 1.125rem;
  max-width: 64ch;
}

/* ---------- 3. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease),
    background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
  border-radius: 10px;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-hover);
}

.btn--on-dark {
  background: var(--white);
  color: var(--navy);
}

.btn--on-dark:hover {
  background: var(--ice);
}

.btn--ghost-on-dark {
  background: transparent;
  color: var(--white);
  border-color: var(--line-on-dark-strong);
}

.btn--ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(202, 220, 252, 0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: var(--cloud);
}

.btn:active {
  transform: translateY(1px);
}

/* ---------- 4. Navigation ----------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  color: var(--white);
  transition:
    height 320ms var(--ease),
    background-color 320ms var(--ease),
    box-shadow 320ms var(--ease),
    color 320ms var(--ease);
  view-transition-name: site-nav;
}

/* set on <html> by main.js so sticky offsets elsewhere follow the shrunken nav */
html.is-scrolled {
  --nav-h: 60px;
}

.nav[data-over="light"] {
  color: var(--navy);
}

.nav.is-scrolled[data-over="dark"] {
  background: rgba(20, 26, 69, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line-on-dark);
}

.nav.is-scrolled[data-over="light"] {
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.nav__logo {
  position: relative;
  display: block;
  flex: 0 0 auto;
  height: 32px;
  width: calc(32px * 217 / 64);
  transition: height 320ms var(--ease), width 320ms var(--ease);
}

.nav.is-scrolled .nav__logo {
  height: 28px;
  width: calc(28px * 217 / 64);
}

.nav__lockup {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 320ms var(--ease);
}

.nav[data-over="dark"] .nav__lockup--on-light,
.nav[data-over="light"] .nav__lockup--on-dark {
  opacity: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0.74;
  transition: opacity var(--dur-fast) var(--ease);
}

.nav__links a:hover,
.nav__links a[aria-current="true"] {
  opacity: 1;
}

.nav__links a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav__links + .nav__actions {
  margin-left: 0;
}

.nav[data-over="dark"] .btn--primary {
  background: var(--white);
  color: var(--navy);
}

.nav[data-over="dark"] .btn--primary:hover {
  background: var(--ice);
}

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav__burger-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* mobile menu (dialog) */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
}

.menu::backdrop {
  background: rgba(20, 26, 69, 0.4);
}

.menu[open] {
  animation: menu-in 320ms var(--ease) both;
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: none; }
}

.menu__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 100%;
  padding: 18px var(--inset) 40px;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.menu__top img {
  height: 32px;
  width: auto;
}

.menu__close {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
}

.menu__links {
  display: flex;
  flex-direction: column;
}

.menu__links a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.menu .btn {
  align-self: flex-start;
}

/* ---------- 5. Sections & depth ----------------------------------------- */
main {
  position: relative;
}

.section {
  position: relative;
  padding-block: clamp(80px, 9vw, 136px);
}

.section--light {
  background: var(--white);
  color: var(--ink);
}

.section--cloud {
  background: var(--cloud);
  color: var(--ink);
}

.section--dark {
  background: var(--navy-deep);
  color: var(--ice);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

/* the single allowed vignette + fine grain on dark surfaces */
.section--dark::before,
.section--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.section--dark::before {
  background: radial-gradient(ellipse 70% 60% at 25% 0%, rgba(30, 39, 97, 0.55), rgba(20, 26, 69, 0) 70%);
  z-index: 0;
}

.section--dark::after {
  background-image: var(--grain);
  background-size: 240px 240px;
  opacity: 0.03;
  mix-blend-mode: screen;
  z-index: 0;
}

.section--dark > .container {
  position: relative;
  z-index: 1;
}

.lift {
  margin-top: calc(-1 * var(--r-xl));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--shadow-lift);
}

/* each successive section lifts over the previous */
main > :nth-child(1) { position: relative; z-index: 1; }
main > :nth-child(2) { z-index: 2; }
main > :nth-child(3) { z-index: 3; }
main > :nth-child(4) { z-index: 4; }
main > :nth-child(5) { z-index: 5; }
main > :nth-child(6) { z-index: 6; }
main > :nth-child(7) { z-index: 7; }
main > :nth-child(8) { z-index: 8; }
main > :nth-child(9) { z-index: 9; }
main > :nth-child(10) { z-index: 10; }
main > :nth-child(11) { z-index: 11; }

.section__head {
  max-width: 800px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: none;
}

/* ---------- 6. Hero ----------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 128px;
  overflow: hidden;
  isolation: isolate;
}

.hero__orb {
  position: absolute;
  z-index: -2;
  top: -22%;
  right: -12%;
  width: min(72vw, 880px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy);
  filter: blur(72px);
  opacity: 0.9;
  will-change: transform;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__title {
  color: var(--white);
  margin-bottom: 28px;
}

.hero__sub {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--ice);
  max-width: 58ch;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__meta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ice);
  opacity: 0.72;
  letter-spacing: 0.01em;
}

/* load-time entrance for the hero (time-based, not scroll-based) */
.hero__copy > * {
  animation: rise var(--dur) var(--ease) both;
  animation-delay: calc(var(--i, 0) * 80ms + 60ms);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ledger stack */
.hero__stack {
  position: relative;
  z-index: 0;
  height: 580px;
  perspective: 1400px;
  will-change: transform;
}

.hero__stack-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 600ms var(--ease);
}

.ledger {
  --z: 0px;
  position: absolute;
  width: min(100%, 440px);
  padding: 20px 22px 18px;
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translateZ(var(--z));
  animation: rise-card var(--dur) var(--ease) both, float 9s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 120ms + 200ms), calc(var(--i, 0) * -3s);
}

.ledger--proposal { --i: 1; --z: 0px; top: 0; left: 0; }
.ledger--verified { --i: 2; --z: 40px; top: 190px; right: 0; }
.ledger--refused {
  --i: 3;
  --z: 80px;
  top: 380px;
  left: 28px;
  border-left: 4px solid var(--mint);
}

@keyframes rise-card {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes float {
  0%, 100% { transform: translateZ(var(--z)) translateY(0); }
  50% { transform: translateZ(var(--z)) translateY(-6px); }
}

.ledger__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ledger__kind {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

.ledger--refused .ledger__kind {
  color: var(--navy);
}

.ledger__id {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
}

.ledger__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 12px;
}

.ledger__title strong {
  font-weight: 600;
  color: var(--navy);
}

.ledger__facts {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}

.ledger__facts li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
}

.ledger__k {
  color: var(--slate);
  font-weight: 500;
}

.ledger__reason {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--cloud);
  margin-bottom: 14px;
}

.ledger__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--slate);
}

.ledger__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slate);
  flex: 0 0 auto;
}

.ledger__dot--ok { background: var(--navy); }
.ledger__dot--refused { background: var(--mint); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 56px;
  z-index: 1;
  width: 24px;
  height: 44px;
  transform: translateX(-50%);
  opacity: 0.6;
}

.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--ice);
  transform-origin: top;
  animation: scroll-hint 2.4s var(--ease) infinite;
}

@keyframes scroll-hint {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- 7. Cards, personas, stats ----------------------------------- */
.cards {
  display: grid;
  gap: 24px;
}

.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  background: var(--cloud);
  border: 1px solid var(--line-soft);
}

.section--cloud .card {
  background: var(--white);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--ink-2);
  font-size: 1rem;
}

.card__index {
  display: block;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
}

.card--on-dark {
  background: var(--navy);
  border-color: var(--line-on-dark);
  color: var(--ice);
}

.card--on-dark p {
  color: var(--ice);
}

.card--refusal {
  border-left: 4px solid var(--mint);
}

.plain-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 4px 0 16px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--white);
}

.plain-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plain-list li::before {
  content: "";
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
  flex: 0 0 auto;
}

.card__note {
  font-size: 0.9375rem;
  opacity: 0.85;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.stat__value {
  display: flex;
  align-items: baseline;
  font-size: clamp(2.75rem, 2rem + 2.4vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}

.stat__unit {
  font-size: 0.55em;
  letter-spacing: -0.02em;
  margin-left: 2px;
}

.stat__unit--pre {
  margin-left: 0;
  margin-right: 2px;
}

.stat__label {
  font-size: 0.9375rem;
  color: var(--slate);
  max-width: 28ch;
}

.persona {
  padding: 32px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.persona__role {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.persona__quote {
  margin: 0;
}

.persona__quote p {
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--navy);
  text-wrap: pretty;
}

/* ---------- 8. Ladder (sticky scrollytelling) --------------------------- */
.ladder {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
}

.ladder__rail {
  position: sticky;
  top: calc(var(--nav-h) + 56px);
  align-self: start;
  display: grid;
  grid-template-columns: 2px 1fr;
  column-gap: 24px;
}

.ladder__track {
  grid-row: 1;
  position: relative;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}

.ladder__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--progress, 0%);
  border-radius: 2px;
  background: var(--mint);
  transition: height 200ms linear;
}

.ladder__rungs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ladder__rung {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: color 300ms var(--ease);
}

.ladder__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  background: var(--cloud);
  color: var(--slate);
  border: 1px solid var(--line-soft);
  transition:
    background-color 300ms var(--ease),
    color 300ms var(--ease),
    border-color 300ms var(--ease),
    transform 300ms var(--ease);
}

.ladder__rung.is-done {
  color: var(--navy);
}

.ladder__rung.is-done .ladder__num {
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
}

.ladder__rung.is-active {
  color: var(--navy);
}

.ladder__rung.is-active .ladder__num {
  background: var(--mint);
  color: var(--navy);
  border-color: transparent;
  transform: scale(1.06);
}

.ladder__live {
  grid-column: 1 / -1;
  margin-top: 28px;
  font-size: 13px;
  color: var(--slate);
}

.ladder__steps {
  display: flex;
  flex-direction: column;
}

.ladder__step {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  opacity: 0.32;
  transition: opacity 500ms var(--ease);
}

.ladder__step:first-child {
  border-top: 0;
}

.ladder__step.is-active {
  opacity: 1;
}

.ladder__step h3 {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.ladder__step p:last-child {
  font-size: 1.125rem;
  color: var(--ink-2);
  max-width: 54ch;
}

.ladder__close {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 62ch;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-wrap: pretty;
}

/* ---------- 9. Horizontal track (How it works) -------------------------- */
.track-section {
  padding-block: 0;
}

.track__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 4vh, 48px);
  padding-top: var(--nav-h);
  padding-bottom: 48px;
  overflow: hidden;
}

.track__head {
  position: relative;
}

.track__head h2 {
  max-width: 22ch;
}

.track__progress {
  position: absolute;
  right: 0;
  bottom: 4px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate);
}

.track__viewport {
  width: 100%;
}

.track__rail {
  list-style: none;
  display: flex;
  gap: 24px;
  width: max-content;
  padding-inline: var(--rail-inset);
  will-change: transform;
}

.panel {
  position: relative;
  flex: 0 0 clamp(360px, 30vw, 500px);
  min-height: clamp(280px, 38vh, 360px);
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.panel__num {
  margin-bottom: auto;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate);
}

.panel h3 {
  font-size: clamp(1.625rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.025em;
  margin: 24px 0 12px;
}

.panel p {
  color: var(--ink-2);
  font-size: 1rem;
  text-wrap: pretty;
}

.track__line {
  position: relative;
  height: 2px;
  margin: 0 var(--rail-inset);
  border-radius: 2px;
  background: var(--line);
}

.track__line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress, 0%);
  border-radius: 2px;
  background: var(--navy);
}

/* ---------- 10. Product stage ------------------------------------------- */
.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: var(--cloud);
  border: 1px solid var(--line-soft);
}

.seg__btn {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.seg__btn[aria-pressed="true"] {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  perspective: 1600px;
}

.shot {
  margin: 0;
}

.shot--wide {
  grid-column: 1 / -1;
}

.shot__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--cloud);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
  will-change: transform;
}

.shot.is-hover .shot__frame {
  box-shadow: var(--shadow-lg);
}

.shot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transition: opacity 500ms var(--ease);
}

.shot__img.is-visible {
  opacity: 1;
}

.shot figcaption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}

.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
  margin-top: clamp(56px, 6vw, 80px);
}

.feature {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.feature h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* ---------- 11. Coding agents flow -------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-on-dark-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ice);
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.flow {
  position: relative;
  margin: clamp(48px, 6vw, 80px) 0 clamp(48px, 6vw, 72px);
  view-timeline: --flow block;
}

.flow__line {
  position: absolute;
  top: 23px;
  left: 10%;
  width: 80%;
  height: 2px;
  overflow: visible;
}

.flow__path {
  fill: none;
  stroke: var(--ice);
  stroke-opacity: 0.55;
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.flow__path--v {
  display: none;
}

.flow__nodes {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.flow__step {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--navy-deep);
  border: 1px solid var(--line-on-dark-strong);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}

.flow__node:last-child .flow__step {
  background: var(--mint);
  color: var(--navy);
  border-color: transparent;
}

.flow__label {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.flow__hint {
  font-size: 13.5px;
  color: var(--ice);
  opacity: 0.78;
  max-width: 22ch;
  text-wrap: pretty;
}

.flow__hint em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.92em;
}

/* ---------- 12. Principles, roadmap ------------------------------------- */
.rules {
  list-style: none;
  counter-reset: rules;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rule {
  counter-increment: rules;
  padding: 28px;
  border-radius: 20px;
  background: var(--cloud);
  border: 1px solid var(--line-soft);
}

.rule::before {
  content: counter(rules, decimal-leading-zero);
  display: block;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
}

.rule h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.rule p {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.timeline {
  list-style: none;
  position: relative;
  max-width: 780px;
  padding-left: 40px;
  border-left: 2px solid var(--line);
}

.milestone {
  position: relative;
  padding-bottom: 44px;
}

.milestone:last-child {
  padding-bottom: 0;
}

.milestone::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -47px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cloud);
  border: 2px solid var(--navy);
}

.milestone--now::before {
  background: var(--mint);
  border-color: var(--mint);
}

.milestone__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.milestone__tag span {
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}

.milestone h3 {
  margin-bottom: 8px;
}

.milestone p:last-child {
  color: var(--ink-2);
  max-width: 64ch;
  text-wrap: pretty;
}

/* ---------- 13. Manifesto + CTA + footer -------------------------------- */
.section--close {
  padding-bottom: clamp(96px, 10vw, 160px);
}

.manifesto {
  margin: 0 0 clamp(56px, 7vw, 96px);
  max-width: 980px;
}

.manifesto__line {
  max-width: 22ch;
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3.5rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--white);
}

.manifesto__mint {
  margin-top: 20px;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mint);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background: var(--navy);
  border: 1px solid var(--line-on-dark);
  box-shadow: var(--shadow-lg);
}

.cta__copy h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem);
  margin-bottom: 16px;
}

.cta__copy p:last-child {
  color: var(--ice);
  font-size: 1.0625rem;
  max-width: 52ch;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: center;
}

.cta__email {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ice);
}

.cta__status {
  min-height: 1.3em;
  font-size: 13px;
  font-weight: 500;
  color: var(--mint);
}

.footer {
  position: relative;
  z-index: 12;
  padding: 32px 0 40px;
  background: var(--navy-deep);
  color: var(--ice);
  border-top: 1px solid var(--line-on-dark);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  opacity: 0.8;
  transition: opacity var(--dur-fast) var(--ease);
}

.footer__links a:hover {
  opacity: 1;
}

.footer__tag {
  opacity: 0.7;
}

/* ---------- 14. Brand page ---------------------------------------------- */
.brand-hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 112px));
}

.brand-hero h1 {
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem);
}

.brand-hero p {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--ink-2);
  max-width: 60ch;
}

.brand-block {
  padding-block: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line);
}

.brand-block h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  margin-bottom: 8px;
}

.brand-block > .container > p {
  color: var(--ink-2);
  max-width: 64ch;
  margin-bottom: 32px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 220px;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.tile--cloud { background: var(--cloud); }
.tile--navy { background: var(--navy-deep); border-color: var(--line-on-dark); }

.tile img {
  height: 64px;
  width: auto;
}

.tile--lockup img {
  height: 48px;
}

.tile__label {
  font-size: 13px;
  color: var(--slate);
  text-align: center;
}

.tile--navy .tile__label {
  color: var(--ice);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.swatch {
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
}

.swatch__chip {
  height: 96px;
  border-bottom: 1px solid var(--line-soft);
}

.chip--navy { background: var(--navy); }
.chip--navy-deep { background: var(--navy-deep); }
.chip--mint { background: var(--mint); }
.chip--ice { background: var(--ice); }
.chip--slate { background: var(--slate); }
.chip--ink { background: var(--ink); }
.chip--cloud { background: var(--cloud); }
.chip--white { background: var(--white); }

.swatch__meta {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
}

.swatch__meta strong {
  display: block;
  color: var(--navy);
}

.swatch__meta code {
  background: none;
  padding: 0;
  color: var(--slate);
}

.swatch__meta span {
  display: block;
  color: var(--slate);
}

.specimens {
  display: grid;
  gap: 32px;
}

.specimen {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.specimen__meta {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}

.specimen__sample--h1 {
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--navy);
}

.specimen__sample--h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--navy);
}

.specimen__sample--body {
  font-size: 1.0625rem;
  max-width: 62ch;
  color: var(--ink);
}

.specimen__sample--eyebrow {
  margin: 0;
}

.voice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.voice__col {
  padding: 28px;
  border-radius: 20px;
  background: var(--cloud);
  border: 1px solid var(--line-soft);
}

.voice__col h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.voice__col p,
.voice__col li {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.voice__col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.voice__words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.voice__words span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
}

.voice__words--no span {
  color: var(--slate);
  text-decoration: line-through;
}

.pull {
  margin: 0;
  padding: 28px 32px;
  border-radius: 20px;
  background: var(--navy-deep);
  color: var(--white);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  grid-column: 1 / -1;
}

.pull span {
  color: var(--mint);
}

.downloads {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.downloads a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--navy);
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.downloads a:hover {
  background: var(--cloud);
  border-color: rgba(30, 39, 97, 0.2);
}

.downloads a span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
}

.donts {
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 64ch;
}

.donts li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
}

.donts li::before {
  content: "—";
  color: var(--slate);
  flex: 0 0 auto;
}

/* ---------- 15. Reveal & parallax --------------------------------------- */
.reveal {
  --i: 0;
}

.stagger > :nth-child(1) { --i: 0; }
.stagger > :nth-child(2) { --i: 1; }
.stagger > :nth-child(3) { --i: 2; }
.stagger > :nth-child(4) { --i: 3; }
.stagger > :nth-child(5) { --i: 4; }
.stagger > :nth-child(6) { --i: 5; }
.stagger > :nth-child(7) { --i: 6; }
.stagger > :nth-child(8) { --i: 7; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes parallax {
  to { transform: translateY(var(--shift)); }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  /* native scroll-driven animations */
  @supports (animation-timeline: view()) {
    .reveal:not(.hero__copy > *) {
      animation-name: reveal;
      animation-duration: 1ms; /* ignored by scroll timelines */
      animation-timing-function: var(--ease);
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range-start: cover calc(var(--i) * 3%);
      animation-range-end: cover calc(22% + var(--i) * 3%);
    }

    .hero [data-parallax] {
      animation-name: parallax;
      animation-duration: 1ms;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: scroll(root);
      animation-range: 0px 100vh;
    }

    .hero__orb { --shift: 4vh; }
    .hero__stack { --shift: 8vh; }

    .flow__path {
      animation-name: draw;
      animation-duration: 1ms;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: --flow;
      animation-range: entry 30% cover 50%;
    }
  }

  /* IntersectionObserver fallback (main.js adds .is-in) */
  @supports not (animation-timeline: view()) {
    .reveal:not(.hero__copy > *) {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
      transition-delay: calc(var(--i) * 70ms);
    }

    .reveal.is-in {
      opacity: 1;
      transform: none;
    }

    .flow__path {
      transition: stroke-dashoffset 1400ms var(--ease);
    }

    .flow.is-in .flow__path {
      stroke-dashoffset: 0;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .flow__path {
    stroke-dashoffset: 0;
  }

  .ladder__step {
    opacity: 1;
  }

  .hero__scroll {
    display: none;
  }
}

@media print {
  .reveal,
  .ladder__step {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .nav,
  .hero__scroll,
  .menu {
    display: none;
  }
}

/* ---------- 16. Responsive ---------------------------------------------- */
@media (max-width: 1099px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__links + .nav__actions {
    margin-left: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__stack {
    height: 580px;
    max-width: 560px;
  }

  .cards--3,
  .rules,
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow__nodes {
    gap: 12px;
  }

  .flow__hint {
    font-size: 13px;
  }
}

/* pinned track falls back to a vertical stack; ladder rail becomes a strip */
@media (max-width: 899px), (pointer: coarse) {
  .track-section {
    height: auto !important;
    padding-block: clamp(80px, 9vw, 136px);
  }

  .track__sticky {
    position: static;
    height: auto;
    padding: 0;
    overflow: visible;
    gap: 40px;
  }

  .track__viewport {
    padding-inline: var(--inset);
  }

  .track__rail {
    flex-direction: column;
    width: min(100%, var(--container));
    margin-inline: auto;
    padding-inline: 0;
    transform: none !important;
  }

  .panel {
    flex: none;
    min-height: 0;
  }

  .panel__num {
    margin-bottom: 0;
  }

  .panel h3 {
    margin-top: 16px;
  }

  .track__progress,
  .track__line {
    display: none;
  }
}

@media (max-width: 899px) {
  .ladder {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ladder__rail {
    top: var(--nav-h);
    z-index: 3;
    grid-template-columns: 1fr;
    row-gap: 12px;
    padding: 14px 0 12px;
    background: var(--white);
    box-shadow: 0 1px 0 var(--line-soft);
  }

  .ladder__track {
    grid-row: auto;
    width: 100%;
    height: 2px;
  }

  .ladder__bar {
    height: 100%;
    width: var(--progress, 0%);
    transition: width 200ms linear;
  }

  .ladder__rungs {
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
  }

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

  .ladder__num {
    width: 32px;
    height: 32px;
  }

  .ladder__live {
    margin-top: 0;
  }

  .ladder__step {
    min-height: 0;
    padding: 40px 0;
    opacity: 1;
  }

  .cta {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .specimen {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-h: 64px;
  }

  .nav__actions .btn {
    display: none;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 96px;
  }

  .hero__title {
    margin-bottom: 20px;
  }

  .hero__stack {
    height: 600px;
    max-width: none;
  }

  .ledger {
    width: min(100%, 360px);
    padding: 16px 18px 14px;
  }

  .ledger--verified {
    top: 184px;
  }

  .ledger--refused {
    top: 368px;
    left: 12px;
  }

  .hero__scroll {
    display: none;
  }

  .cards--3,
  .rules,
  .features,
  .stats,
  .stage,
  .voice {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 28px;
  }

  .flow__line {
    top: 24px;
    bottom: 24px;
    left: 23px;
    width: 2px;
    height: auto;
  }

  .flow__path--h {
    display: none;
  }

  .flow__path--v {
    display: block;
  }

  .flow__nodes {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .flow__node {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    align-items: center;
    text-align: left;
  }

  .flow__step {
    grid-row: 1 / 3;
  }

  .flow__hint {
    max-width: none;
  }

  .timeline {
    padding-left: 28px;
  }

  .milestone::before {
    left: -35px;
  }

  .manifesto {
    max-width: none;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .btn {
    width: 100%;
  }

  .nav__actions .btn,
  .menu .btn {
    width: auto;
  }

  .hero__actions {
    flex-direction: column;
  }

  .ledger__facts li {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
