/* ===========================================================================
   VoiceFocus for YouTube — landing site
   Register: brand. Theme: light/warm. Lane: "public-radio calm".
   Type: Bricolage Grotesque (display) + Hanken Grotesk (body).
   Color: muted slate-teal + sage, single warm clay accent. OKLCH throughout.
   =========================================================================== */

:root {
  /* --- surfaces (warm paper, never #fff) --- */
  --paper:        oklch(0.985 0.006 196);
  --paper-2:      oklch(0.965 0.009 192);
  --paper-3:      oklch(0.945 0.012 188);

  /* --- ink (deep slate, never #000) --- */
  --ink:          oklch(0.31 0.030 236);
  --ink-soft:     oklch(0.47 0.026 230);
  --ink-faint:    oklch(0.62 0.020 228);

  /* --- brand --- */
  --teal:         oklch(0.57 0.078 216);
  --teal-deep:    oklch(0.40 0.058 226);
  --teal-ink:     oklch(0.27 0.040 230);   /* privacy section bg */
  --sage:         oklch(0.66 0.058 166);

  /* --- single warm accent (clay/amber) --- */
  --accent:       oklch(0.70 0.135 58);
  --accent-deep:  oklch(0.62 0.140 52);
  --accent-soft:  oklch(0.93 0.040 70);

  /* --- lines & shadow --- */
  --line:         oklch(0.90 0.012 212);
  --line-strong:  oklch(0.84 0.016 215);
  --shadow-color: 224 24% 32%;
  --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / 0.05),
               0 2px 6px hsl(var(--shadow-color) / 0.05);
  --shadow-md: 0 2px 4px hsl(var(--shadow-color) / 0.04),
               0 10px 28px -6px hsl(var(--shadow-color) / 0.12);
  --shadow-lg: 0 4px 8px hsl(var(--shadow-color) / 0.05),
               0 30px 60px -18px hsl(var(--shadow-color) / 0.20);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --maxw: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);

  /* fluid type scale, ~1.27 ratio */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  --step-1:  clamp(1.24rem, 1.13rem + 0.55vw, 1.5rem);
  --step-2:  clamp(1.55rem, 1.35rem + 1vw, 2.1rem);
  --step-3:  clamp(1.95rem, 1.6rem + 1.7vw, 2.9rem);
  --step-4:  clamp(2.5rem, 1.95rem + 2.8vw, 4.1rem);

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible {
  outline: 2.5px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  opacity: 0.6;
}

.lede { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }
.measure { max-width: 60ch; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-stuck {
  border-color: var(--line);
  background: color-mix(in oklab, var(--paper) 90%, transparent);
}
.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand .mark {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 22px;
}
.brand .mark i {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: var(--teal);
}
.brand .mark i:nth-child(1) { height: 9px;  background: var(--ink-faint); }
.brand .mark i:nth-child(2) { height: 16px; }
.brand .mark i:nth-child(3) { height: 22px; }
.brand .mark i:nth-child(4) { height: 13px; background: var(--accent); }
.brand b { font-weight: 700; color: var(--teal-deep); }

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.2rem);
  list-style: none;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --b-bg: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  padding: 0.95em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--b-bg);
  color: oklch(0.99 0.01 70);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 1px hsl(var(--shadow-color) / 0.1),
              0 8px 22px -8px oklch(0.62 0.14 52 / 0.55);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1),
              background 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px);
  box-shadow: 0 2px 3px hsl(var(--shadow-color) / 0.1),
              0 14px 30px -8px oklch(0.62 0.14 52 / 0.6); }
.btn:active { transform: translateY(0); }
.btn .chrome { width: 1.2em; height: 1.2em; }

.btn--small { padding: 0.7em 1.15em; font-size: var(--step--1); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--paper-3); border-color: var(--ink-faint);
  box-shadow: none; transform: translateY(-2px); }

.trust {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  color: var(--ink-faint);
  font-size: var(--step--1);
  font-weight: 500;
}
.trust b { color: var(--ink-soft); font-weight: 600; }
.trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sage); }

[hidden] { display: none !important; }
.cta-soon {
  margin-top: 1rem;
  max-width: 38ch;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--teal-deep);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1.45;
}
.cta-soon::before {
  content: "";
  flex: none;
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--sage);
  transform: translateY(0.05em);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero::before {
  /* soft warm glow behind the waveform, off-center */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40rem 28rem at 78% 18%, oklch(0.82 0.06 80 / 0.28), transparent 60%),
    radial-gradient(46rem 34rem at 12% 95%, oklch(0.78 0.07 200 / 0.20), transparent 62%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.hero-copy h1 {
  font-size: var(--step-4);
  font-weight: 600;
  margin-top: 1.1rem;
}
.hero-copy h1 .warm { color: var(--accent-deep); }
.hero-copy .lede { margin-top: 1.4rem; max-width: 34ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.hero-trust { margin-top: 1.5rem; }
.hero-note {
  margin-top: 0.5rem;
  font-size: var(--step--1);
  color: var(--ink-faint);
}

/* waveform visual */
.wave-card {
  position: relative;
  background: linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.wave-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--step--1);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.wave-labels .before { color: var(--ink-faint); }
.wave-labels .after {
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.wave-labels .after::before {
  content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 oklch(0.57 0.078 216 / 0.5);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.57 0.078 216 / 0.45); }
  70%  { box-shadow: 0 0 0 8px oklch(0.57 0.078 216 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.57 0.078 216 / 0); }
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: clamp(160px, 26vw, 230px);
}
.bar {
  flex: 1 1 0;
  height: calc(var(--h, 0.5) * 100%);
  min-height: 3px;
  border-radius: 999px;
  transform-origin: center;
}
.bar--noisy {
  background: var(--ink-faint);
  opacity: calc(0.32 + var(--fade, 0) * 0.4);
}
.bar--blend { background: var(--sage); opacity: 0.6; }
.bar--calm {
  background: linear-gradient(var(--teal), var(--teal-deep));
  animation: breathe 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.085s);
}
@keyframes breathe {
  0%, 100% { transform: scaleY(0.52); }
  50%      { transform: scaleY(1); }
}
.wave-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.wave-foot .tag {
  font-weight: 600; color: var(--teal-deep);
  background: oklch(0.57 0.078 216 / 0.12);
  padding: 0.25em 0.6em; border-radius: 999px;
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.how { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-head { max-width: 52ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: var(--step-3); margin-top: 0.8rem; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: var(--step-1); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  counter-reset: step;
  position: relative;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } }

.step { position: relative; padding-top: 0.5rem; }
.step .num {
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal-deep);
  width: 2.6rem; height: 2.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: var(--step-1); margin-top: 1.1rem; }
.step p { margin-top: 0.5rem; color: var(--ink-soft); font-size: var(--step-0); }
/* connecting line between numbered steps on wide screens */
@media (min-width: 761px) {
  .step:not(:last-child) .num::after {
    content: "";
    position: absolute;
    top: 1.3rem; left: 2.6rem;
    width: calc(100% - 2.6rem);
    height: 1.5px;
    background: repeating-linear-gradient(90deg,
      var(--line-strong) 0 6px, transparent 6px 12px);
  }
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.feature {
  grid-column: span 2;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.feature .glyph {
  width: 2.4rem; height: 2.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  color: var(--teal-deep);
  background: oklch(0.57 0.078 216 / 0.10);
  margin-bottom: 1.1rem;
}
.feature .glyph svg { width: 1.35rem; height: 1.35rem; }
.feature h3 { font-size: var(--step-1); }
.feature p { margin-top: 0.6rem; color: var(--ink-soft); font-size: var(--step-0); }

/* lead feature spans wider and goes horizontal */
.feature--lead {
  grid-column: span 3;
  background: linear-gradient(150deg, var(--paper) 0%, var(--paper-2) 100%);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.feature--lead h3 { font-size: var(--step-2); }
.feature--lead .glyph {
  background: var(--accent-soft); color: var(--accent-deep);
  width: 2.8rem; height: 2.8rem;
}
.feature--lead .glyph svg { width: 1.55rem; height: 1.55rem; }

.feature--wide { grid-column: span 3; }

/* coming-soon: distinct ghost treatment */
.feature--soon {
  background: transparent;
  border: 1.5px dashed var(--line-strong);
  box-shadow: none;
}
.feature--soon:hover { box-shadow: none; transform: translateY(-3px);
  border-color: var(--sage); }
.feature--soon .glyph { background: oklch(0.66 0.058 166 / 0.14); color: var(--sage); }
.badge-soon {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  background: oklch(0.66 0.058 166 / 0.14);
  padding: 0.25em 0.6em;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

@media (max-width: 820px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature--lead, .feature--wide { grid-column: span 1; }
}
@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Privacy callout — art-directed dark section
   -------------------------------------------------------------------------- */
.privacy {
  background:
    radial-gradient(50rem 30rem at 85% -10%, oklch(0.45 0.07 200 / 0.5), transparent 60%),
    var(--teal-ink);
  color: oklch(0.94 0.012 200);
}
.privacy-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 820px) { .privacy-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.privacy .eyebrow { color: oklch(0.82 0.05 165); }
.privacy .eyebrow::before { background: oklch(0.82 0.05 165); }
.privacy h2 {
  color: oklch(0.97 0.01 200);
  font-size: var(--step-3);
  margin-top: 0.9rem;
}
.privacy h2 .em { color: oklch(0.82 0.07 80); }
.privacy p {
  margin-top: 1.2rem;
  color: oklch(0.86 0.014 205);
  font-size: var(--step-1);
  line-height: 1.55;
  max-width: 46ch;
}
.privacy-points {
  list-style: none; padding: 0; margin-top: 1.8rem;
  display: flex; flex-wrap: wrap; gap: 0.7rem;
}
.privacy-points li {
  font-size: var(--step--1); font-weight: 600;
  color: oklch(0.92 0.012 200);
  background: oklch(0.94 0.012 200 / 0.08);
  border: 1px solid oklch(0.94 0.012 200 / 0.14);
  padding: 0.5em 0.9em; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.privacy-points li svg { width: 0.95rem; height: 0.95rem; color: oklch(0.82 0.07 150); }

/* on-device diagram */
.device {
  position: relative;
  background: oklch(0.94 0.012 200 / 0.05);
  border: 1px solid oklch(0.94 0.012 200 / 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.device .window {
  background: oklch(0.30 0.04 230);
  border: 1px solid oklch(0.94 0.012 200 / 0.16);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.device .bar-top {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid oklch(0.94 0.012 200 / 0.12);
}
.device .bar-top span {
  width: 9px; height: 9px; border-radius: 50%;
  background: oklch(0.94 0.012 200 / 0.25);
}
.device .bar-top em {
  margin-left: auto; font-style: normal;
  font-size: 0.72rem; color: oklch(0.86 0.014 205 / 0.8);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.device .screen {
  padding: 1.4rem 1.1rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
}
.device .play {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  color: oklch(0.99 0.01 70);
  box-shadow: 0 8px 20px -6px oklch(0.62 0.14 52 / 0.6);
}
.device .play svg { width: 1.2rem; height: 1.2rem; }
.device .mini-wave {
  display: flex; align-items: center; gap: 3px; height: 30px;
}
.device .mini-wave i {
  width: 3px; border-radius: 3px;
  background: oklch(0.78 0.06 200);
  animation: breathe 2.4s ease-in-out infinite;
}
.device .loop {
  font-size: 0.78rem; color: oklch(0.82 0.05 165);
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600;
}
.device .loop svg { width: 0.95rem; height: 0.95rem; }
.device .offline {
  margin-top: 1.1rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.78rem; color: oklch(0.78 0.012 205 / 0.75);
}
.device .offline svg { width: 1rem; height: 1rem; }
.device .offline s { text-decoration-color: oklch(0.7 0.13 25); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 {
  font-size: var(--step-1);
  display: flex; align-items: baseline; gap: 0.75rem;
}
.faq-item h3 .q {
  font-family: var(--font-body); font-weight: 700;
  color: var(--teal); font-size: 0.95rem; flex: none;
}
.faq-item p { margin-top: 0.6rem; color: var(--ink-soft); max-width: 62ch; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-cta {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.footer-cta .shell {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.5rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-cta h2 { font-size: var(--step-2); max-width: 18ch; }
.footer-cta p { margin-top: 0.4rem; color: var(--ink-soft); }

.teaser {
  border-top: 1px solid var(--line);
}
.teaser .shell { padding-block: clamp(3rem, 6vw, 4.5rem); }
.teaser-card {
  position: relative;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    radial-gradient(30rem 18rem at 90% 0%, oklch(0.66 0.058 166 / 0.10), transparent 60%);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}
@media (max-width: 640px) { .teaser-card { grid-template-columns: 1fr; } }
.teaser-card .badge-soon { margin-bottom: 0; }
.teaser-mark {
  width: 3.5rem; height: 3.5rem; border-radius: 16px;
  background: oklch(0.66 0.058 166 / 0.14);
  color: var(--sage);
  display: grid; place-items: center;
}
.teaser-mark svg { width: 1.8rem; height: 1.8rem; }
.teaser-card h2 { font-size: var(--step-2); margin-top: 0.7rem; }
.teaser-card p { margin-top: 0.6rem; color: var(--ink-soft); max-width: 54ch; }

.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.site-footer .shell {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding-block: 2rem;
  font-size: var(--step--1);
  color: var(--ink-faint);
}
.site-footer .brand { font-size: 1rem; }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .kokoro b { color: var(--teal-deep); font-weight: 600; }

/* --------------------------------------------------------------------------
   Reveal-on-scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .bar--calm { transform: scaleY(0.78); }
}
