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

:root {
  --ink:        #0a0a0a;
  --ink-soft:   #2a2a2a;
  --muted:      #6a6a6a;
  --line:       #e5e5e5;
  --paper:      #ffffff;
  --paper-soft: #fafafa;
  --accent:     #0a0a0a;
  --max:        1320px;
  --pad-x:      clamp(20px, 5vw, 56px);
  --space-xl:   clamp(80px, 12vw, 160px);
  --space-lg:   clamp(48px, 8vw, 96px);
  --space-md:   32px;
  --radius:     6px;
  --ease:       cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

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

/* ── Layout helpers ───────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.section-sm { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }

/* ── Top bar — floating pill navbar ───────────────────────────────── */
.topbar {
  position: sticky; top: 14px; z-index: 50;
  background: transparent;
  padding: 0 16px;
  pointer-events: none;
}
.topbar-inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 8px 0 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.topbar.scrolled .topbar-inner {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 13.5px; color: var(--muted); font-weight: 500;
  padding: 7px 14px; border-radius: 999px;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(0, 0, 0, 0.04); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(0, 0, 0, 0.05); }
.nav a.btn { background: var(--ink); color: var(--paper); padding: 8px 16px; margin-left: 6px; }
.nav a.btn:hover { background: var(--ink-soft); color: var(--paper); }
@media (max-width: 640px) {
  .nav { gap: 2px; }
  .nav a { padding: 6px 10px; font-size: 13px; }
  .nav-link-extra { display: none; }
  .topbar-inner { padding: 0 6px 0 14px; }
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  border-radius: var(--radius); border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  cursor: pointer; transition: transform .15s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); background: var(--ink-soft); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper-soft); }
.btn-sm { padding: 9px 14px; font-size: 13px; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(72px, 13vw, 132px); padding-bottom: clamp(80px, 14vw, 140px); }
/* Hero shares the standard .wrap container (max-width: var(--max), now 1320px)
   so it aligns with the rest of the page. The bullets fit because we override
   the .hero p specificity trap below — not because we widen the hero alone. */
.hero-inner { /* defers to .wrap */ }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 66px);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero h1 .br {
  background: linear-gradient(180deg, var(--ink) 0%, #4a4a4a 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
/* Horizontal gradient used to highlight AI-related phrasing in hero copy.
   -webkit-text-fill-color is required alongside background-clip:text so the
   gradient actually shows through (color:transparent alone is unreliable). */
.ai-gradient {
  background-image: linear-gradient(90deg, #0a0a0a 0%, #555555 50%, #a8a8a8 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
                   color: transparent;
  display: inline-block;
}

/* Hero "spec-tailoring" bullet points — playful brackets with ADD/DEL chips
   that echo the in-app DEL/ADD treatment (red strikethrough, green added).
   Selectors are scoped under .hero so they out-specify the generic
   `.hero p { max-width: 640px; font-size: clamp(17px,1.6vw,21px) }` rule
   defined earlier in this file — without that boost, bullets inherit the
   640px cap and wrap regardless of container width. */
.hero .hero-points {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 40px;
  width: 100%;
  max-width: none;
}
.hero p.hero-point {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  line-height: 1.6;
  width: 100%;
  max-width: none;
  margin-bottom: 0;   /* the .hero-points gap handles spacing */
}
/* Chips start in a neutral grey state. When .chips-go is added to the parent
   .hero-points (after page load), each chip transitions to its final coloured
   state at the time specified by its --delay variable. The DEL strikethrough
   is drawn by a pseudo-element so the line itself can animate left-to-right. */
.opt-add, .opt-del {
  display: inline-block;
  font-family: ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 0.82em;   /* chip slightly smaller relative to body so bullets still fit */
  padding: 0 5px;
  border-radius: 3px;
  margin: 0 1px;
  white-space: nowrap;
  vertical-align: baseline;
  position: relative;

  /* Neutral pre-animation state */
  color: var(--muted);
  background-color: rgba(0, 0, 0, 0.045);
  font-weight: 600;
  text-decoration: none;
  opacity: 1;
  transform: scale(1);

  /* Slower, smoother fade so the green/red hue change is clearly visible.
     Uses background-color (not the background shorthand) so the transition
     reliably interpolates the colour. */
  transition:
    color            0.75s ease-out,
    background-color 0.75s ease-out,
    opacity          0.75s ease-out,
    transform        0.55s cubic-bezier(.2,.8,.2,1.2);
}

/* DEL strikethrough — drawn by a pseudo-element so it can animate */
.opt-del::after {
  content: '';
  position: absolute;
  left: 5px; right: 5px;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease-out;
  pointer-events: none;
}

/* Animated end-state, gated by .hero-points.chips-go */
.hero-points.chips-go .opt-del {
  color: #c0392b;
  background-color: rgba(192, 57, 43, 0.07);
  opacity: 0.7;
  transition-delay: var(--delay, 0s);
}
.hero-points.chips-go .opt-del::after {
  transform: scaleX(1);
  transition-delay: var(--delay, 0s);
}
.hero-points.chips-go .opt-add {
  color: #1a7a3e;
  background-color: rgba(26, 122, 62, 0.12);
  /* Tiny scale-pop accentuates the "this is the chosen option" moment */
  animation: chip-pop 0.65s ease-out var(--delay, 0s) both;
  transition-delay: var(--delay, 0s);
}
@keyframes chip-pop {
  0%   { transform: scale(1);    }
  55%  { transform: scale(1.08); }
  100% { transform: scale(1);    }
}

/* Respect prefers-reduced-motion — skip animation, apply final state immediately */
@media (prefers-reduced-motion: reduce) {
  .opt-add, .opt-del { transition: none; animation: none; }
  .opt-del::after { transition: none; transform: scaleX(1); }
  .opt-del {
    color: #c0392b;
    background-color: rgba(192, 57, 43, 0.07);
    opacity: 0.7;
  }
  .opt-add {
    color: #1a7a3e;
    background-color: rgba(26, 122, 62, 0.12);
  }
}
.hero p {
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5;
  color: var(--ink-soft); max-width: 640px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 28px 40px;
  font-size: 13px; color: var(--muted);
}
.hero-meta strong { color: var(--ink); font-weight: 600; }

/* ── Section headings ─────────────────────────────────────────────── */
.section-eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); margin-bottom: 16px;
}
.section-h {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 20px; max-width: 720px;
}
.section-lead {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55;
  color: var(--ink-soft); max-width: 640px; margin-bottom: 56px;
}

/* ── "Why this matters" pain list ─────────────────────────────────── */
.pain-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 32px;
  max-width: 720px;
}
.pain-list li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(15px, 1.2vw, 17.5px);
  color: var(--ink-soft);
  line-height: 1.5;
}
.pain-list li:last-child { border-bottom: none; }
.pain-list li::before {
  /* Subtle dash marker — quietly evokes the bracket/strike-through motif */
  content: '';
  position: absolute;
  left: 0; top: 26px;
  width: 18px; height: 1.5px;
  background: var(--ink);
  opacity: 0.45;
}
.section-closer {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink);
  font-weight: 500;
  max-width: 700px;
  line-height: 1.45;
  margin-top: 28px;
  letter-spacing: -0.01em;
}

/* ── Credibility list — small dark dots, near-black text ──────────── */
.credibility-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.credibility-list li {
  position: relative;
  padding-left: 26px;
  font-size: clamp(15px, 1.2vw, 17.5px);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}
.credibility-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 7px; height: 7px;
  background: var(--ink);
  border-radius: 50%;
}

/* ── Audience bullets in hero (request-access page) ──────────────────
   Matches the surrounding hero <p> typography (size, weight, colour)
   so the list reads as part of the prose rather than a separate block. */
.hero ul.audience-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  max-width: none;
  display: flex; flex-direction: column; gap: 8px;
}
.hero ul.audience-list li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.5;
}
.hero ul.audience-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  background: var(--muted);
  border-radius: 50%;
}

/* ── Beta application form (request-access page) ──────────────────── */
/* The .apply-content wrapper holds the form to a comfortable reading
   width but is left-aligned (no auto-margin), so it shares the same
   left edge as the hero — keeps page rhythm consistent. */
.apply-content {
  max-width: 820px;
  /* explicitly NO margin auto — left-align with hero */
}

.apply-form {
  margin: 32px 0 40px;
  display: flex; flex-direction: column; gap: 22px;
}
.apply-form .form-field {
  display: flex; flex-direction: column;
}
.apply-form label {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.apply-form .form-hint {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.45;
}
.apply-form input[type="email"],
.apply-form input[type="text"],
.apply-form textarea,
.apply-form select {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 14px;
  width: 100%;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.apply-form textarea { resize: vertical; min-height: 70px; }
.apply-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230a0a0a' stroke-width='1.6' stroke-linecap='round'><path d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.apply-form input[type="email"]:focus,
.apply-form input[type="text"]:focus,
.apply-form textarea:focus,
.apply-form select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}
.apply-form input:invalid:not(:placeholder-shown),
.apply-form textarea:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}

/* Required asterisk — subtle red */
.apply-form .req { color: #c0392b; font-weight: 700; }

/* Radio group — inline pills */
.apply-form .form-label-as-legend {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.apply-form .radio-group {
  display: flex; flex-wrap: wrap; gap: 16px;
}
.apply-form .radio-group label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  cursor: pointer;
  margin-bottom: 0;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.apply-form .radio-group label:hover { border-color: #bbb; background: var(--paper-soft); }
.apply-form .radio-group input[type="radio"] {
  accent-color: var(--ink);
  margin: 0;
  cursor: pointer;
}
.apply-form .radio-group label:has(input:checked) {
  border-color: var(--ink);
  background: rgba(10, 10, 10, 0.04);
}

/* Honeypot — visually hidden but still focusable for the bot to see */
.apply-form .hp {
  position: absolute;
  left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

.apply-cta {
  display: flex; flex-direction: column; gap: 10px;
  margin: 8px 0 0;
}
.apply-cta button {
  align-self: flex-start;
  cursor: pointer;
}
.apply-cta button[disabled] { opacity: 0.55; cursor: wait; }
.apply-cta-note {
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.apply-cta-note a { text-decoration: underline; }

/* Inline status messages after submit */
.apply-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}
.apply-status.ok    { background: rgba(26, 122, 62, 0.08);  color: #1a5a2e; border: 1px solid rgba(26, 122, 62, 0.25); }
.apply-status.err   { background: rgba(192, 57, 43, 0.06);  color: #8a2820; border: 1px solid rgba(192, 57, 43, 0.25); }

/* ── Loading state during form submission ────────────────────────── */
.apply-form { position: relative; }
.apply-loading {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  border-radius: 8px;
  z-index: 10;
  animation: loading-fade-in 0.18s ease-out;
}
/* Restore the [hidden] behaviour — the .apply-loading display:flex above
   has the same specificity as the user-agent [hidden]{display:none} and
   wins by source order, which would leave the overlay visible on load. */
.apply-loading[hidden] { display: none; }
@keyframes loading-fade-in { from { opacity: 0; } to { opacity: 1; } }
.apply-loading p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 0;
}
.bracket-loader { width: 110px; height: auto; display: block; }
.bracket-loader .dot {
  opacity: 0.18;
  transform-origin: center;
  animation: dot-pulse 1.4s infinite ease-in-out;
}
.bracket-loader .dot-1 { animation-delay: 0s; }
.bracket-loader .dot-2 { animation-delay: 0.16s; }
.bracket-loader .dot-3 { animation-delay: 0.32s; }
@keyframes dot-pulse {
  0%, 80%, 100% { opacity: 0.18; transform: scale(1);    }
  40%           { opacity: 1;    transform: scale(1.18); }
}

/* ── Success state ───────────────────────────────────────────────── */
/* min-height is also set inline by JS to match the form's measured
   height at the moment of submit, so the layout doesn't reflow. */
.apply-success {
  padding: 60px 40px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.success-mark {
  width: 150px; height: auto;
  display: block;
  margin: 0 auto 24px;
  animation: success-pop 0.5s cubic-bezier(.2,.8,.2,1.2) both;
}
.success-mark .check {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: check-draw 0.5s 0.25s ease-out forwards;
}
@keyframes success-pop  { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes check-draw   { to   { stroke-dashoffset: 0; } }
.apply-success h3 { font-size: 26px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.015em; }
.apply-success p  { color: var(--ink-soft); line-height: 1.6; margin: 0 auto; max-width: 720px; }
.apply-success p + p { margin-top: 10px; }

.apply-after {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.apply-after h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 8px;
}
.apply-after p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.apply-after a { text-decoration: underline; }

/* ── Capability cards ─────────────────────────────────────────────── */
.cards {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.card {
  background: var(--paper); padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: background .25s var(--ease);
}
.card:hover { background: var(--paper-soft); }
.card-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.card h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* ── Pipeline stages (How it works) ───────────────────────────────── */
.stages { display: flex; flex-direction: column; gap: 0; border-left: 1px solid var(--line); margin-left: 12px; }
.stage { position: relative; padding: 28px 0 28px 40px; }
.stage:not(:last-child) { border-bottom: 1px dashed var(--line); }
.stage-num {
  position: absolute; left: -13px; top: 32px;
  width: 26px; height: 26px;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}
.stage h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.stage p  { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; max-width: 620px; }
.stage code {
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px; padding: 2px 6px;
  background: #f1f1f1; border-radius: 4px;
}

/* ── Bracket-themed visual block ──────────────────────────────────── */
.bracket-frame {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 56px 40px; background: var(--paper-soft);
  position: relative; overflow: hidden;
}
.bracket-frame::before, .bracket-frame::after {
  content: ''; position: absolute; top: 16px; bottom: 16px; width: 14px;
  border: 2px solid var(--ink);
}
.bracket-frame::before { left: 16px; border-right: none; }
.bracket-frame::after  { right: 16px; border-left: none; }

/* ── CTA band ─────────────────────────────────────────────────────── */
.cta-band {
  background: var(--ink); color: var(--paper);
  padding: clamp(64px, 9vw, 96px) var(--pad-x);
  border-radius: var(--radius); margin: 0 var(--pad-x);
}
.cta-band-inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.cta-band h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 18px;
}
.cta-band p { font-size: 17px; opacity: 0.75; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.cta-band .btn:hover { background: #f0f0f0; }
.cta-band .micro {
  display: block; margin-top: 16px; font-size: 12.5px; opacity: 0.6;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  font-size: 13.5px; color: var(--muted);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand img { height: 18px; width: auto; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink); margin-bottom: 12px;
}
.footer-col a { display: block; padding: 4px 0; transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12.5px;
}

/* ── About-page values list ───────────────────────────────────────── */
.values { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.value { background: var(--paper); padding: 28px; }
.value h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.value p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ── Prose pages (privacy, etc.) ──────────────────────────────────── */
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; font-weight: 600; margin: 36px 0 14px; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: 16px; color: var(--ink-soft); }
.prose ul { padding-left: 24px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; }

/* ── Cookie banner ────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 16px; right: 16px; max-width: 360px;
  background: var(--ink); color: var(--paper);
  padding: 18px 20px; border-radius: var(--radius);
  font-size: 13.5px; line-height: 1.5;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  z-index: 100;
  transform: translateY(120%); transition: transform .35s var(--ease);
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { margin-bottom: 14px; opacity: 0.9; }
#cookie-banner a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button {
  flex: 1; padding: 8px 12px; font-size: 13px; font-weight: 600;
  border-radius: 4px; cursor: pointer; border: 1px solid currentColor;
  background: transparent; color: var(--paper);
  transition: background .15s var(--ease);
}
.cookie-actions button.primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cookie-actions button:hover { background: rgba(255,255,255,0.1); }
.cookie-actions button.primary:hover { background: #f0f0f0; }

/* ── Reveal-on-scroll ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
}
