/* COMMIT — landing page
   Tokens and rules from DESIGN.md. Hex first, oklch() override via @supports. */

/* ---------- Tokens ---------- */

:root {
  /* papers (green-tinted neutrals) */
  --color-paper: #F1F3EF;
  --color-paper-raised: #F8FAF7;
  --color-cloud: #E2E5E0;
  --color-line: #D2D6D0;
  --color-dot: #B9C1B3;
  /* greens */
  --color-leaf: #608C3B;
  --color-leaf-deep: #507730;
  --color-leaf-tint: #E0EDD7;
  --color-moss: #3D5927;
  /* navies */
  --color-ink: #1C2B3A;
  --color-ink-soft: #455360;
  --color-mist: #B5B9B1;

  --font-display: 'Quicksand', ui-rounded, 'Trebuchet MS', sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, 'Segoe UI', sans-serif;
  --font-mono: 'Chivo Mono', ui-monospace, 'Cascadia Mono', monospace;

  --text-label: clamp(0.7188rem, 0.6887rem + 0.123vw, 0.7813rem);
  --text-sm: clamp(0.875rem, 0.8449rem + 0.123vw, 0.9375rem);
  --text-body: clamp(1rem, 0.9699rem + 0.123vw, 1.0625rem);
  --text-lead: clamp(1.25rem, 1.1898rem + 0.247vw, 1.375rem);
  --text-h3: clamp(1.5625rem, 1.412rem + 0.617vw, 1.875rem);
  --text-h2: clamp(1.9375rem, 1.6667rem + 1.111vw, 2.5rem);
  --text-h1: clamp(2.4375rem, 2.0463rem + 1.605vw, 3.25rem);
  --text-display: clamp(3.0625rem, 2.4907rem + 2.346vw, 4.25rem);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: clamp(2.5rem, 2.0185rem + 1.975vw, 3.5rem);
  --space-8: clamp(3.5rem, 2.537rem + 3.951vw, 5.5rem);
  --section: clamp(4.5rem, 2.8148rem + 6.914vw, 8rem);

  --gutter: clamp(1.25rem, 0.5278rem + 2.963vw, 2.75rem);
  --container: 70rem;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-full: 999px;
}

@supports (color: oklch(0.5 0.1 130)) {
  :root {
    --color-paper: oklch(0.962 0.006 131);
    --color-paper-raised: oklch(0.982 0.004 131);
    --color-cloud: oklch(0.918 0.008 131);
    --color-line: oklch(0.872 0.01 131);
    --color-dot: oklch(0.8 0.02 131);
    --color-leaf: oklch(0.59 0.122 133);
    --color-leaf-deep: oklch(0.525 0.11 133);
    --color-leaf-tint: oklch(0.93 0.032 131);
    --color-moss: oklch(0.43 0.083 133);
    --color-ink: oklch(0.283 0.034 249);
    --color-ink-soft: oklch(0.435 0.028 249);
    --color-mist: oklch(0.78 0.012 131);
  }
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  overflow-x: clip;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-h1);
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h2 {
  font-size: var(--text-h2);
  letter-spacing: -0.005em;
  line-height: 1.15;
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 1.25;
}

a {
  color: inherit;
}

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose {
  max-width: 60ch;
}

.lead {
  font-size: var(--text-lead);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-ink-soft);
}

.highlight {
  color: var(--color-leaf);
}

:focus-visible {
  outline: 2px solid var(--color-leaf);
  outline-offset: 2px;
}

::selection {
  background: var(--color-leaf-tint);
  color: var(--color-ink);
}

/* ---------- Label caps ---------- */

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--color-leaf-deep);
}

.label::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--color-leaf);
  flex: none;
}

.label--boxed {
  padding: 6px 10px;
  background: var(--color-paper-raised);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-s);
}

.label--boxed::before {
  display: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  border: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-body);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease-out, color 0.2s ease-out, border-color 0.2s ease-out;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

/* touch feedback: pure CSS, no JS involved */
.btn {
  transition: background-color 0.2s ease-out, color 0.2s ease-out, border-color 0.2s ease-out,
    transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--color-leaf-deep);
  color: var(--color-paper-raised);
}

.btn--primary:hover,
.btn--primary:active {
  background: var(--color-moss);
}

.btn--secondary {
  background: transparent;
  border: 1.5px solid var(--color-leaf);
  color: var(--color-leaf-deep);
}

.btn--secondary:hover {
  background: var(--color-leaf-tint);
  color: var(--color-moss);
}

.btn--compact {
  min-height: 44px;
  padding: 10px 18px;
}

/* inverted variants on moss / ink */

.btn--on-dark {
  background: var(--color-paper-raised);
  color: var(--color-moss);
}

.btn--on-dark:hover,
.btn--on-dark:active {
  background: var(--color-leaf-tint);
}

.btn--outline-on-dark {
  background: transparent;
  border: 1.5px solid var(--color-paper);
  color: var(--color-paper);
}

.btn--outline-on-dark:hover {
  background: rgb(248 250 247 / 0.12);
}

.link-dashed {
  color: var(--color-leaf-deep);
  text-decoration: underline dashed;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.link-dashed:hover {
  text-decoration-style: solid;
}

/* ---------- Decorative dots ---------- */

.dots {
  position: absolute;
  width: 70px;
  height: 98px;
  background-image: radial-gradient(circle at 1.5px 1.5px, var(--color-dot) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  pointer-events: none;
}

.dots--paper {
  background-image: radial-gradient(circle at 1.5px 1.5px, rgb(248 250 247 / 0.15) 1.5px, transparent 1.5px);
  color: var(--color-paper-raised);
}

.dots {
  color: var(--color-dot);
}

/* JS swaps the static background for live <i> dots (ambient loop) */
.dots.is-live {
  background-image: none;
  display: grid;
  grid-template-columns: repeat(5, 14px);
  grid-auto-rows: 14px;
}

.dots.is-live i {
  width: 3px;
  height: 3px;
  border-radius: var(--radius-full);
  background: currentColor;
  place-self: center;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 60px;
  background: var(--color-paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease-out;
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-line);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.brand svg {
  width: 28px;
  height: 28px;
  color: var(--color-leaf);
  align-self: center;
}

.brand .wordmark {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.brand .tick {
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: var(--color-leaf);
  flex: none;
}

.nav-links {
  display: none;
  gap: var(--space-5);
  margin-left: auto;
  margin-right: var(--space-5);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ink-soft);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--color-leaf-deep);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.header-cta .btn-label-short {
  display: inline;
}

.header-cta .btn-label-long {
  display: none;
}

@media (min-width: 480px) {
  .header-cta .btn-label-short {
    display: none;
  }

  .header-cta .btn-label-long {
    display: inline;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  /* the cloud circle bleeds past the right edge by design; clip it at the
     section so the page never gains horizontal pan on mobile (x-axis only,
     the vertical overlap into the next section stays visible) */
  overflow-x: clip;
}

.hero .container {
  position: relative;
  display: grid;
  gap: var(--space-7);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .label {
  margin-bottom: var(--space-5);
}

.hero-copy .lead {
  margin-top: var(--space-5);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.underline-doodle {
  position: relative;
  white-space: nowrap;
}

.underline-doodle > svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  width: 100%;
  height: 0.18em;
  color: var(--color-leaf);
  overflow: visible;
}

.hero-stage {
  position: relative;
  min-height: clamp(240px, 62vw, 460px);
}

.hero-cloud {
  position: absolute;
  top: 0;
  right: calc(-0.28 * clamp(280px, 70vw, 520px));
  width: clamp(280px, 70vw, 520px);
  height: clamp(280px, 70vw, 520px);
  border-radius: var(--radius-full);
  background: var(--color-cloud);
}

.hero-beetle {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  width: clamp(150px, 38vw, 260px);
  color: var(--color-leaf);
}

.hero .dots {
  top: 8px;
  right: var(--gutter);
}

@media (min-width: 768px) {
  .hero .container {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  .hero-stage {
    min-height: 460px;
    margin-bottom: -48px; /* cloud invades the next section */
  }

  .hero-cloud {
    right: calc(-1 * ((100vw - min(100vw, var(--container))) / 2 + 0.2 * 520px));
    width: 520px;
    height: 520px;
  }

  .hero-beetle {
    right: 10%;
    width: 240px;
  }

  .hero .dots {
    left: auto;
    right: calc(var(--gutter) + 40%);
    top: 0;
  }
}

/* ---------- Section scaffolding ---------- */

.section {
  padding-block: var(--section) 0;
}

.section-head {
  margin-bottom: var(--space-7);
}

.section-head .label {
  margin-bottom: var(--space-4);
}

.section-head .lead {
  margin-top: var(--space-4);
}

/* ---------- Carousel: o que construímos ---------- */

.carousel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
}

.drag-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  padding: 4px;
  cursor: pointer;
  transition: opacity 0.3s ease-out;
}

.drag-hint .arrow-circle {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--color-leaf);
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  color: var(--color-leaf);
  flex: none;
}

.drag-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.rail-wrap {
  margin-top: var(--space-6);
}

/* JS on: the draggable moves the track by transform inside a clipped viewport.
   No JS: the viewport itself scrolls with native snap. */

.carousel {
  overflow: hidden;
}

html:not(.js) .carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: none;
}

html:not(.js) .carousel::-webkit-scrollbar {
  display: none;
}

.rail {
  display: flex;
  width: max-content;
  gap: 12px;
  margin: 0;
  list-style: none;
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-right: var(--gutter);
  padding-block: var(--space-2);
  touch-action: pan-y;
  cursor: grab;
}

.rail:active {
  cursor: grabbing;
}

.card {
  scroll-snap-align: start;
  flex: none;
  width: 260px;
  min-height: 320px;
  background: var(--color-paper-raised);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--color-ink);
  margin: 0;
}

.card-desc {
  color: var(--color-ink-soft);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}

.card-desc strong {
  font-weight: 500;
  color: var(--color-leaf-deep);
}

.card-tag {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--color-leaf-deep);
}

/* standard card: big mono index on top, hairline + tag at the base */

.card--standard .card-index {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--text-lead);
  color: var(--color-leaf-deep);
}

.card--standard .card-title {
  margin-top: auto;
}

.card--standard .card-foot {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-line);
}

/* feature card: cloud quarter-circle + line illustration, tag on top */

.card--feature {
  width: 300px;
}

.card--feature .card-cloud {
  position: absolute;
  top: -44px;
  right: -44px;
  width: 132px;
  height: 132px;
  border-radius: var(--radius-full);
  background: var(--color-cloud);
}

.card--feature .card-illo {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 56px;
  height: 56px;
  color: var(--color-leaf);
}

.card--feature .card-tag {
  margin-bottom: auto;
}

.card--feature .card-title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: 1.25;
  margin-top: var(--space-6);
}

.card--feature .card-desc {
  font-size: var(--text-body);
}

/* closing card */

.card--closing {
  background: var(--color-leaf-tint);
  border: 0;
  justify-content: center;
  gap: var(--space-4);
}

.card--closing .card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 1.25;
}

.card--closing .link-dashed {
  color: var(--color-moss);
}

.rail-status {
  display: none;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.js .rail-status {
  display: flex;
}

.rail-counter {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-leaf-deep);
  font-variant-numeric: tabular-nums;
}

.rail-progress {
  width: 96px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-line);
  overflow: hidden;
}

.rail-progress .fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--color-leaf);
  transform-origin: left center;
  transform: scaleX(0.111);
}

@media (min-width: 768px) {
  .rail {
    gap: 16px;
  }

  .card {
    width: 320px;
    min-height: 360px;
  }

  .card--feature {
    width: 360px;
  }
}

@media (max-width: 359px) {
  .card {
    width: 240px;
  }

  .card--feature {
    width: 270px;
  }
}

/* ---------- Why custom (leaf-tint band) ---------- */

.band {
  margin-top: var(--section);
  background: var(--color-leaf-tint);
  padding-block: var(--space-8);
}

.band .label {
  color: var(--color-moss);
}

.band .label::before {
  background: var(--color-moss);
}

.why-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-7);
}

.why-item {
  max-width: 44ch;
}

.why-item h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-lead);
  line-height: 1.3;
  color: var(--color-ink);
}

.why-item h3 .num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-moss);
  margin-right: 10px;
}

.why-item p {
  margin-top: var(--space-2);
  color: var(--color-ink-soft);
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  .why-item:nth-child(2) {
    transform: translateY(var(--space-6));
  }
}

/* ---------- Steps (funciona assim / indicação) ---------- */

.steps {
  position: relative;
  display: grid;
  gap: var(--space-6);
  padding-left: 56px;
  list-style: none;
  margin: 0;
}

.steps .spine {
  position: absolute;
  left: 17px;
  top: 20px;
  /* replaced element: top+bottom would be ignored, explicit height required */
  height: calc(100% - 40px);
  width: 2px;
  color: var(--color-leaf);
  z-index: 0;
  overflow: visible;
}

/* solid progress line only exists while JS animates it (draw, scroll-synced) */
.spine-progress {
  visibility: hidden;
}

.step {
  position: relative;
}

.step-num {
  position: absolute;
  left: -56px;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-leaf-deep);
  color: var(--color-paper-raised);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--text-sm);
  display: grid;
  place-items: center;
  z-index: 1;
}

.step h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-lead);
  line-height: 1.3;
}

.step h3 strong {
  font-weight: 600;
  color: var(--color-leaf-deep);
}

.step p {
  margin-top: var(--space-1);
  color: var(--color-ink-soft);
  max-width: 48ch;
}

@media (min-width: 768px) {
  .steps {
    padding-left: 64px;
  }

  .step-num {
    left: -64px;
    width: 40px;
    height: 40px;
  }

  .steps .spine {
    left: 19px;
  }

  .how .container {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--space-6);
    align-items: start;
  }

  .how .section-head {
    margin-bottom: 0;
    position: sticky;
    top: 96px;
  }
}

.how-cta {
  margin-top: var(--space-6);
}

/* ---------- Commission (moss anchor) ---------- */

.commission {
  position: relative;
  margin-top: var(--section);
  background: var(--color-moss);
  color: var(--color-paper-raised);
  padding-block: var(--space-8);
  overflow: hidden;
}

.commission .dots {
  top: var(--space-6);
  right: var(--gutter);
}

.commission .label--boxed {
  background: transparent;
  border-color: rgb(248 250 247 / 0.3);
  color: var(--color-leaf-tint);
}

.commission h2 {
  color: var(--color-leaf-tint);
  margin-top: var(--space-5);
  max-width: 24ch;
}

.commission h2 .pct {
  font-size: var(--text-display);
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--color-paper-raised);
}

.commission .sub {
  margin-top: var(--space-4);
  color: var(--color-paper);
  max-width: 52ch;
}

.commission-steps {
  margin-top: var(--space-7);
}

.commission .steps .spine {
  color: var(--color-paper);
}

.commission .step-num {
  background: var(--color-paper-raised);
  color: var(--color-moss);
}

.commission .step h3 {
  color: var(--color-paper-raised);
}

.commission .step h3 strong {
  color: var(--color-leaf-tint);
}

.commission .step p {
  color: var(--color-leaf-tint);
}

.commission-cta {
  margin-top: var(--space-7);
}

.commission-beetle {
  position: absolute;
  bottom: var(--space-6);
  right: var(--gutter);
  width: 88px;
  color: var(--color-paper);
  opacity: 0.9;
  display: none;
}

@media (min-width: 768px) {
  .commission-inner {
    display: grid;
    grid-template-columns: 6fr 6fr;
    gap: var(--space-7);
    align-items: center;
  }

  .commission-steps {
    margin-top: 0;
  }

  .commission-beetle {
    display: block;
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  border-top: 1px solid var(--color-line);
  max-width: 46rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-lead);
  line-height: 1.3;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .faq-mark {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-leaf-deep);
  flex: none;
  transition: transform 0.25s ease-out;
}

.faq-item[open] summary .faq-mark {
  transform: rotate(45deg);
}

.faq-body {
  overflow: hidden;
}

.faq-body p {
  padding-bottom: var(--space-5);
  color: var(--color-ink-soft);
  max-width: 60ch;
}

.faq-body strong {
  color: var(--color-leaf-deep);
  font-weight: 600;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding-block: var(--section);
}

.final-cta .container {
  display: grid;
  gap: var(--space-5);
  justify-items: start;
}

.final-cta .micro {
  font-size: var(--text-sm);
  color: var(--color-ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-ink);
  color: var(--color-paper-raised);
  padding-block: var(--space-8) var(--space-6);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
}

.footer-top svg {
  width: 64px;
  height: 64px;
  color: var(--color-paper);
  flex: none;
}

.footer-top h3 {
  max-width: 20ch;
}

.footer-mid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.footer-mid .link-dashed {
  color: var(--color-leaf-tint);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-5);
  margin-top: var(--space-7);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: var(--color-paper);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--color-leaf-tint);
  text-decoration: underline;
}

.footer-base {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgb(248 250 247 / 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-mist);
}

/* ---------- Motion layer hooks ---------- */
/* Initial states are applied by JS only (utils.set), never by CSS:
   without JS the page renders complete and static. */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
