/* ========================================================================
   Kilomeeter — Modern minimal styles
   ======================================================================== */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f3f8f4;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b7280;
  --line: #e7ebe7;
  --line-strong: #d4dad4;
  --accent: #16a34a;
  --accent-soft: #dcfce7;
  --accent-strong: #15803d;
  --accent-ink: #ffffff;
  --dark: #0a0a0a;
  --dark-soft: #161616;
  --on-dark: #f5f5f5;
  --on-dark-muted: #a1a1a6;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04),
    0 1px 1px rgba(10, 10, 10, 0.03);
  --shadow-md: 0 8px 30px -12px rgba(10, 10, 10, 0.18);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Apple Garamond",
    "Palatino Linotype", "Times New Roman", serif;

  --container-max: 1140px;
  --space-section: clamp(72px, 10vw, 128px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

input,
button {
  font-family: inherit;
}

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

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

/* Full-width header bar — logo flush left, actions flush right */
.header-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 14px;
  gap: 12px;
}
@media (min-width: 1024px) {
  .header-bar {
    padding: 0 24px;
    gap: 16px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  height: 26px;
  width: auto;
}
@media (min-width: 768px) {
  .brand-logo {
    height: 30px;
  }
}

/* Desktop nav links — pushed to the right next to the CTA */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a:not(.btn) {
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:not(.btn):hover {
  color: var(--accent);
}

/* Right-side actions group: CTA + (mobile-only) hamburger toggle */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger menu toggle — mobile only */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.menu-toggle:hover {
  background: var(--surface-muted);
  border-color: var(--line-strong);
}
.menu-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 14px;
}
.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 6px; }
.menu-icon span:nth-child(3) { top: 12px; }

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* ----- Mobile layout (≤ 820px) ----- */
@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }
  /* Tighten the CTA on mobile so logo + CTA + menu fit with equal side padding */
  .nav-cta {
    padding: 9px 14px;
    font-size: 13px;
  }
  .nav-actions {
    gap: 8px;
  }
  /* Order on mobile: logo (left) … CTA (left of menu button) — hamburger (right)
     Achieved naturally because nav-actions contains CTA then menu-toggle. */
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 12px 16px;
    margin: 0;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a:not(.btn) {
    display: block;
    font-size: 16px;
    padding: 14px 12px;
    border-radius: 10px;
  }
  .nav-links a:not(.btn):hover {
    background: var(--surface-muted);
    color: var(--ink);
  }
}

/* On very small screens, shrink things one more notch so nothing gets cramped */
@media (max-width: 380px) {
  .header-bar {
    padding: 0 12px;
    gap: 8px;
  }
  .brand-logo {
    height: 24px;
  }
  .nav-cta {
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .menu-toggle {
    width: 36px;
    height: 36px;
  }
}

/* Attention-grabbing loop animation for the nav CTA */
.nav-actions .btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: cta-pulse 2.6s ease-in-out infinite;
}
.nav-actions .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(22, 163, 74, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(-110%);
  animation: cta-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
.nav-actions .btn-primary:hover {
  animation-play-state: paused;
}
.nav-actions .btn-primary:hover::after {
  animation-play-state: paused;
  opacity: 0;
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
  }
  60% {
    box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
  }
}

@keyframes cta-shimmer {
  0% {
    transform: translateX(-110%);
  }
  60%,
  100% {
    transform: translateX(110%);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, background-color 0.2s ease,
    color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn-spinner {
  display: inline-block;
}
.btn.is-loading .btn-label {
  opacity: 0.65;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(64px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(22, 163, 74, 0.14), transparent 70%),
    radial-gradient(40% 40% at 10% 30%, rgba(10, 10, 10, 0.04), transparent 70%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
}

/* ---------- Hero illustrated figures ---------- */
.hero-figures {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: none;
}
@media (min-width: 1100px) {
  .hero-figures { display: block; }
}
.hero-figure {
  position: absolute;
  width: 220px;
  bottom: 6%;
}
.hero-figure img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 16, 0.10));
}
.hero-figure-glow {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(22, 163, 74, 0.18),
    rgba(22, 163, 74, 0) 70%
  );
  z-index: 0;
}
.hero-figure-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(15, 23, 16, 0.08);
  z-index: 2;
  white-space: nowrap;
}
.hero-figure-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}
.hero-figure-left {
  left: clamp(8px, 3vw, 56px);
  animation: hero-float-a 6.5s ease-in-out infinite;
}
.hero-figure-left .hero-figure-tag {
  top: 8%;
  right: -14px;
}
.hero-figure-right {
  right: clamp(8px, 3vw, 56px);
  animation: hero-float-b 7.2s ease-in-out infinite;
}
.hero-figure-right .hero-figure-tag {
  top: 12%;
  left: -14px;
}
@media (min-width: 1280px) {
  .hero-figure { width: 250px; }
}
@media (min-width: 1480px) {
  .hero-figure { width: 280px; }
}

@keyframes hero-float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes hero-float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-figure-left,
  .hero-figure-right { animation: none; }
}
.hero-title {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Waitlist form ---------- */
.waitlist-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 8px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.waitlist-form:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.06);
}
.waitlist-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 14px;
  font-size: 15.5px;
  color: var(--ink);
}
.waitlist-form input::placeholder {
  color: #9c9c95;
}
.waitlist-form .btn {
  flex-shrink: 0;
  padding: 12px 20px;
  font-size: 14.5px;
}

.waitlist-form .form-msg {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  margin: 0;
  min-height: 18px;
}
.waitlist-form .form-msg.is-success {
  color: #137a3a;
}
.waitlist-form .form-msg.is-error {
  color: #c0392b;
}

/* dark variant on the CTA section */
.waitlist-form-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.waitlist-form-dark:focus-within {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}
.waitlist-form-dark input {
  color: #fff;
}
.waitlist-form-dark input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.waitlist-form-dark .btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.waitlist-form-dark .btn-primary:hover:not(:disabled) {
  background: #fff;
  color: var(--ink);
}
.waitlist-form-dark .form-msg {
  color: rgba(255, 255, 255, 0.7);
}
.waitlist-form-dark .form-msg.is-success {
  color: #4ade80;
}
.waitlist-form-dark .form-msg.is-error {
  color: #fca5a5;
}

@media (max-width: 520px) {
  .waitlist-form {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 10px;
    gap: 10px;
  }
  .waitlist-form input {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
  }
  .waitlist-form .btn {
    width: 100%;
    border-radius: var(--radius-pill);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-section) 0;
}
.section-muted {
  background: var(--surface-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-title {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 14px;
}
.section-sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- How it works ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

.how-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.how-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.how-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.how-tag-alt {
  background: var(--accent);
  color: var(--accent-ink);
}
.how-steps {
  display: grid;
  gap: 22px;
}
.how-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.step-num {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
  color: var(--accent);
  font-style: italic;
  min-width: 36px;
}
.how-steps h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.how-steps p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-muted);
  color: var(--ink);
  margin-bottom: 18px;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.about-copy p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
  margin-top: 14px;
}
.about-card {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  gap: 26px;
}
.stat {
  display: grid;
  gap: 4px;
}
.stat-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  color: var(--on-dark-muted);
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(22, 163, 74, 0.22), transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
}
.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 16px;
}
.cta-sub {
  color: var(--on-dark-muted);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.brand-footer {
  margin-bottom: 12px;
}
.brand-logo-footer {
  height: 28px;
}
.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.footer-contact:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.footer-tag {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 280px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 540px) {
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
.footer-nav h4 {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-nav a {
  display: block;
  color: var(--muted);
  font-size: 14.5px;
  padding: 5px 0;
  transition: color 0.15s ease;
}
.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  color: var(--ink-soft);
}
.footer-bottom a:hover {
  color: var(--accent);
}

/* ---------- Legal pages ---------- */
.legal-page {
  background: var(--bg);
}
.legal {
  padding: clamp(48px, 7vw, 88px) 0 clamp(72px, 9vw, 120px);
}
.legal-inner {
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 600;
  margin-bottom: 12px;
}
.legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 40px 0 12px;
}
.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
.legal p {
  margin: 0 0 14px;
}
.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 18px;
}
.legal ul li {
  margin-bottom: 6px;
}
.legal a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.legal a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.legal-footer-note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
