/*
 * datadriven.partners
 * Mirrors web/src/lib/design-tokens.ts and tailwind.config.ts.
 * Tuned for readability: body text brighter, hierarchy clearer.
 */

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg-page: #0a0b0f;
  --bg-body: #0a0a0b;
  --bg-elev-1: rgba(255, 255, 255, 0.025);
  --bg-elev-2: rgba(255, 255, 255, 0.045);
  --bg-footer: #0f1011;

  /* Borders */
  --border-hair: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Text, brighter than the previous pass for body legibility */
  --text-primary: #edf0f3;     /* headings, strong text */
  --text-body: #c6cdd6;        /* body paragraphs (NEW, brighter) */
  --text-secondary: #9aa3b0;   /* secondary copy, less critical */
  --text-tertiary: #6b7480;    /* labels, metadata */
  --text-muted: #4a5462;

  /* Accents */
  --accent-sky: #38bdf8;
  --accent-sky-fg: #7dd3fc;
  --accent-emerald: #34d399;
  --accent-amber: #fbbf24;
  --accent-violet: #a78bfa;

  /* Layout */
  --max-w: 80rem;
  --content-w: 62rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);

  /* Shadows */
  --shadow-e1: 0 1px 0 rgba(255,255,255,0.04) inset, 0 1px 2px rgba(0,0,0,0.25);
  --shadow-e2: 0 6px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  --shadow-brand: 0 12px 32px rgba(56,189,248,0.18);

  /* Motion */
  --ease-fast: cubic-bezier(0.2, 0, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Vertical rhythm, slightly tighter than before */
  --section-y: clamp(3rem, 6vw, 4.5rem);
  --section-y-tight: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-synthesis-weight: none;
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(56, 189, 248, 0.30); color: #fff; }

/* ── Layout primitives ──────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--content-w); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--section-y-tight); }
.section--joined { padding-top: 0; }   /* visually merge with the previous section */
.section--top { padding-top: clamp(3.5rem, 7vw, 5.5rem); }   /* first content block after sticky nav */

.divider { height: 1px; background: var(--border-subtle); }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0;
  line-height: 1.18;
}

/* h1 stays solid white. Gradient kills readability at responsive sizes. */
.h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #ffffff;
}

.h2 {
  font-size: clamp(1.875rem, 3.25vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
}

.h3 {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.3;
  color: var(--text-primary);
}

.h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

p { margin: 0; color: var(--text-body); }

.eyebrow {
  display: inline-block;
  font-family: "GeistMono", ui-monospace, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-sky-fg);
}

.lede {
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  color: var(--text-body);
  line-height: 1.6;
  max-width: 62ch;
}

.muted { color: var(--text-tertiary); }
.mono { font-family: "GeistMono", ui-monospace, Menlo, monospace; }
.balance { text-wrap: balance; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }
.stack-xl > * + * { margin-top: 2.5rem; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--gutter);
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--text-primary); font-weight: 600; letter-spacing: -0.02em; }
.brand__mark {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("/assets/logo.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.brand__name { font-size: 0.95rem; }
.brand__suffix { color: var(--text-tertiary); font-weight: 400; }

.nav__links { display: none; gap: 1.75rem; align-items: center; }
.nav__links a {
  font-size: 0.875rem; color: var(--text-secondary);
  transition: color 120ms var(--ease-fast);
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a[aria-current="page"] { color: var(--text-primary); }
@media (min-width: 768px) { .nav__links { display: flex; } }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  font-size: 0.9375rem; font-weight: 500;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background-color 120ms var(--ease-fast),
              border-color 120ms var(--ease-fast),
              color 120ms var(--ease-fast),
              box-shadow 120ms var(--ease-fast),
              transform 80ms var(--ease-fast);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%);
  color: #04161f;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-brand), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 600;
}
.btn--primary:hover { box-shadow: 0 14px 38px rgba(56, 189, 248, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn--ghost {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-default);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--border-strong); }
.btn--quiet {
  color: var(--text-body);
  background: transparent;
  padding: 0.55rem 0.85rem;
}
.btn--quiet:hover { color: var(--text-primary); }
.btn__arrow { transition: transform 200ms var(--ease-soft); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.hero__glow {
  position: absolute; left: 50%; top: 0;
  width: 80vw; max-width: 1100px; aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 70%),
    radial-gradient(40% 40% at 60% 60%, rgba(129, 140, 248, 0.18) 0%, rgba(129, 140, 248, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* ── Premium home-page effects ──────────────────────────────────────────── */
/* Dual-morphing ambient glow ported from datadriven.io. Two layered blurs
   with asynchronous breathing motion produce the sense of alive depth behind
   the hero. Together they're the single biggest premium tell on the home. */
@keyframes home-glow-morph-a {
  0%   { transform: translate(-50%, -50%) scaleX(1.00) scaleY(1.00); opacity: 1;    }
  14%  { transform: translate(-50%, -50%) scaleX(1.07) scaleY(0.94); opacity: 0.88; }
  27%  { transform: translate(-50%, -50%) scaleX(0.95) scaleY(1.06); opacity: 0.95; }
  41%  { transform: translate(-50%, -50%) scaleX(1.05) scaleY(0.97); opacity: 0.84; }
  56%  { transform: translate(-50%, -50%) scaleX(0.93) scaleY(1.04); opacity: 1;    }
  70%  { transform: translate(-50%, -50%) scaleX(1.08) scaleY(0.96); opacity: 0.9;  }
  84%  { transform: translate(-50%, -50%) scaleX(0.97) scaleY(1.05); opacity: 0.87; }
  100% { transform: translate(-50%, -50%) scaleX(1.00) scaleY(1.00); opacity: 1;    }
}
@keyframes home-glow-morph-b {
  0%   { transform: translate(-50%, -50%) scaleX(1.00) scaleY(1.00); opacity: 0.9;  }
  18%  { transform: translate(-50%, -50%) scaleX(0.94) scaleY(1.06); opacity: 1;    }
  35%  { transform: translate(-50%, -50%) scaleX(1.06) scaleY(0.95); opacity: 0.85; }
  52%  { transform: translate(-50%, -50%) scaleX(0.97) scaleY(1.04); opacity: 0.95; }
  68%  { transform: translate(-50%, -50%) scaleX(1.05) scaleY(0.93); opacity: 0.88; }
  84%  { transform: translate(-50%, -50%) scaleX(0.96) scaleY(1.07); opacity: 1;    }
  100% { transform: translate(-50%, -50%) scaleX(1.00) scaleY(1.00); opacity: 0.9;  }
}

.home-hero { position: relative; overflow: hidden; }

.home-glow {
  position: absolute;
  left: 50%; top: 35%;
  width: min(880px, 90vw);
  aspect-ratio: 11 / 9;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.home-glow--a {
  background: radial-gradient(closest-side, rgba(147, 210, 255, 0.18), rgba(147, 210, 255, 0) 70%);
  filter: blur(40px);
  animation: home-glow-morph-a 20s ease-in-out infinite;
}
.home-glow--b {
  width: min(720px, 72vw);
  top: 38%;
  background: radial-gradient(closest-side, rgba(129, 140, 248, 0.15), rgba(129, 140, 248, 0) 72%);
  filter: blur(32px);
  animation: home-glow-morph-b 29s ease-in-out infinite;
  animation-delay: -11s;
}

/* Page-enter cascade: hero blocks fade up on load, staggered. */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-enter      { animation: page-enter 0.55s cubic-bezier(0.215, 0.61, 0.355, 1) backwards; }
.page-enter--d1  { animation-delay: 60ms; }
.page-enter--d2  { animation-delay: 140ms; }
.page-enter--d3  { animation-delay: 220ms; }
.page-enter--d4  { animation-delay: 320ms; }

/* Gradient-clip h1 (white -> slate-400) for the home hero only. */
.h1--gradient {
  background: linear-gradient(180deg, #ffffff 8%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Eyebrow flanked by hairline dividers, sky-tinted accent line.
   Used on section heads to replace the bare eyebrow text. */
.eyebrow-rule {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "GeistMono", ui-monospace, Menlo, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-sky-fg);
}
.eyebrow-rule::before,
.eyebrow-rule::after {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1px;
  background: rgba(56, 189, 248, 0.35);
}

/* Bento stat strip: 1px gap between cells via a slate-tinted container,
   each cell sits on a darker per-cell background. Hover lifts the border. */
.stat-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.16) 0%, rgba(148, 163, 184, 0.06) 100%);
  border-radius: 4px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .stat-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-bento .stat {
  border: none;
  background: #0f1115;
  padding: clamp(1.4rem, 2.5vw, 1.9rem) clamp(1.25rem, 2vw, 1.6rem);
  transition: background 150ms var(--ease-fast);
  position: relative;
}
.stat-bento .stat:hover { background: #131620; }
.stat-bento .stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 24px);
  pointer-events: none;
  opacity: 0.55;
}
.stat-bento .stat > * { position: relative; z-index: 1; }

/* Final CTA: a left accent rule rather than a full panel. */
.cta--rule {
  position: relative;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 1px solid rgba(56, 189, 248, 0.5);
  background: transparent;
  border-radius: 0;
}
.cta--rule .h2 { max-width: 36ch; }
.cta--rule .lede { max-width: 56ch; }

/* Hairline section divider in the slate-100/20 tone from the main app. */
.divider--rule { background: rgba(100, 105, 114, 0.2); }

/* ── Apply page layout ──────────────────────────────────────────────────── */
.apply-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 980px) {
  .apply-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}
.apply-aside {
  display: grid;
  gap: 1.25rem;
  position: relative;
}
@media (min-width: 980px) {
  .apply-aside { position: sticky; top: 96px; }
}
.apply-aside__head {
  font-family: "GeistMono", monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-tertiary);
  margin-bottom: 0.25rem;
}
.steps {
  display: grid;
  gap: 1.1rem;
}
.step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.step__num {
  font-family: "GeistMono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-sky-fg);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.step__body { display: grid; gap: 0.3rem; }
.step__title {
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.step__desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

/* Tighter hero for apply, no enormous padding */
.apply-hero {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.apply-hero .h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* Form actions: stack the hint below the button rather than side-by-side */
.form__actions {
  flex-direction: column;
  align-items: flex-start;
}
.form__actions .btn { width: auto; }

/* Success state matches form padding so the swap doesn't jolt */
.form-success {
  background: var(--bg-elev-1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 3px;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}
.form-success .h2 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin: 0; color: var(--text-primary); }
.form-success p { color: var(--text-body); }
.hero__inner { position: relative; max-width: 54rem; margin-inline: auto; }
.hero__inner--centered { text-align: center; }
.hero__inner--centered .lede { margin-inline: auto; }
.hero__eyebrow-pill {
  display: inline-block;
  margin-bottom: 1.75rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 3px;
}
.hero__title { margin-bottom: 1.5rem; }
.hero__cta {
  display: inline-flex; flex-wrap: wrap; gap: 0.85rem;
  margin-top: 2.5rem;
}
.hero__inner--centered .hero__cta { justify-content: center; }

/* ── Section heading ────────────────────────────────────────────────────── */
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head--centered { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 0.85rem; }
.section-head .h2 { margin-bottom: 1.1rem; }
.section-head p {
  color: var(--text-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 56ch;
}
.section-head--centered p { margin-inline: auto; }

/* ── Stat strip ─────────────────────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border-default);
  background: var(--bg-elev-1);
}
@media (min-width: 768px) {
  .stat-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stat {
  padding: clamp(1.4rem, 2.5vw, 1.9rem) clamp(1.25rem, 2vw, 1.6rem);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 767px) {
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}
@media (min-width: 768px) {
  .stat:nth-child(4n) { border-right: none; }
  .stat:nth-last-child(-n+4) { border-bottom: none; }
}
.stat__num {
  font-family: "GeistMono", ui-monospace, monospace;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
.stat__num .stat__unit {
  font-size: 0.55em;
  color: var(--text-tertiary);
  margin-left: 0.15em;
  font-weight: 500;
}
.stat__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  font-family: "GeistMono", ui-monospace, monospace;
  line-height: 1.4;
}

.methodology-note {
  font-size: 0.8125rem;
  font-family: "GeistMono", monospace;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  margin-top: 0.9rem;
}

/* ── Tabbed audience composition ────────────────────────────────────────── */
.compo-tabs {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 1.75rem;
  padding: 0.35rem;
  background: var(--bg-elev-1);
  border: 1px solid var(--border-default);
  border-radius: 3px;
  width: fit-content;
  max-width: 100%;
}
.compo-tab {
  font-family: "GeistMono", ui-monospace, monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  padding: 0.55rem 0.95rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 120ms var(--ease-fast), color 120ms var(--ease-fast), border-color 120ms var(--ease-fast);
}
.compo-tab:hover { color: var(--text-primary); }
.compo-tab[aria-selected="true"] {
  background: rgba(56, 189, 248, 0.10);
  color: var(--accent-sky-fg);
  border-color: rgba(56, 189, 248, 0.35);
}

.compo-panel { display: none; }
.compo-panel.is-active {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  animation: panel-in 240ms var(--ease-soft);
}
@media (min-width: 720px) {
  .compo-panel.is-active { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.compo {
  display: grid; gap: 0.55rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-default);
  background: var(--bg-elev-1);
  border-radius: 3px;
  transition: border-color 120ms var(--ease-fast), background 120ms var(--ease-fast);
}
.compo:hover { border-color: var(--border-strong); background: var(--bg-elev-2); }
.compo__head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.compo__label { color: var(--text-primary); font-size: 0.9375rem; font-weight: 500; }
.compo__value { font-family: "GeistMono", monospace; font-size: 0.8125rem; color: var(--accent-sky-fg); font-weight: 600; }
.compo__bar { height: 4px; background: rgba(255, 255, 255, 0.06); position: relative; overflow: hidden; border-radius: 2px; }
.compo__bar > span {
  position: absolute; inset: 0 auto 0 0;
  background: linear-gradient(90deg, #38bdf8 0%, #818cf8 100%);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
  border-radius: 2px;
}

/* ── Two-column ─────────────────────────────────────────────────────────── */
.two-col { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* ── Lists ──────────────────────────────────────────────────────────────── */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.checklist li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.85rem;
  align-items: start;
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  width: 12px; height: 12px;
  margin-top: 0.4rem;
  border: 1px solid var(--accent-sky);
  background: rgba(56, 189, 248, 0.16);
  border-radius: 2px;
}
.checklist li strong { color: var(--text-primary); font-weight: 500; }

.crosslist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.crosslist li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.85rem;
  align-items: start;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.crosslist li::before {
  content: "";
  width: 12px; height: 12px;
  margin-top: 0.4rem;
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.08);
  border-radius: 2px;
}

/* ── Product cards ──────────────────────────────────────────────────────── */
.product {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--border-default);
  background: var(--bg-elev-1);
  border-radius: 3px;
  transition: border-color 150ms var(--ease-fast), background 150ms var(--ease-fast);
}
.product:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}
.product__kicker {
  font-family: "GeistMono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-sky-fg);
}
.product__title { color: var(--text-primary); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.product__pitch { color: var(--text-body); font-size: 1.0625rem; line-height: 1.6; max-width: 56ch; }

.units {
  display: grid;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-default);
  border-radius: 3px;
  overflow: hidden;
}
@media (min-width: 700px) {
  .units--2 { grid-template-columns: 1fr 1fr; }
}
.unit {
  background: var(--bg-body);
  padding: 1.5rem;
  display: grid;
  gap: 0.65rem;
}
.unit__label {
  font-family: "GeistMono", monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
}
.unit__title { color: var(--text-primary); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.unit__desc { color: var(--text-body); font-size: 0.9375rem; line-height: 1.6; }

/* ── Form ───────────────────────────────────────────────────────────────── */
.form {
  display: grid; gap: 1.1rem;
  background: var(--bg-elev-1);
  border: 1px solid var(--border-default);
  border-radius: 3px;
  padding: clamp(1.5rem, 3vw, 2rem);
}
.form__row { display: grid; gap: 0.45rem; }
.form__row label {
  font-family: "GeistMono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}
.form__row label .req { color: var(--accent-amber); margin-left: 0.2rem; }
.form input,
.form select,
.form textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  padding: 0.75rem 0.9rem;
  font-size: 0.9375rem;
  font-family: inherit;
  border-radius: 3px;
  transition: border-color 120ms var(--ease-fast), box-shadow 120ms var(--ease-fast);
  width: 100%;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}
.form textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.form__row--2 { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form__hint { font-size: 0.8125rem; color: var(--text-tertiary); line-height: 1.5; }
.form__actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center;
  padding-top: 0.5rem;
}

/* ── CTA block (plain, no panel) ────────────────────────────────────────── */
.cta {
  display: grid;
  gap: 1.25rem;
  max-width: 48rem;
}
.cta .h2 { max-width: 36ch; }
.cta .lede { max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 0.5rem; }

/* ── Testimonial cards ──────────────────────────────────────────────────── */
.testimonials {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .testimonials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.testimonial {
  border: 1px solid var(--border-default);
  background: var(--bg-elev-1);
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: 3px;
  display: grid;
  gap: 1rem;
}
.testimonial__quote {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.55;
}
.testimonial__quote::before { content: "\201C"; }
.testimonial__quote::after { content: "\201D"; }
.testimonial__attrib {
  font-family: "GeistMono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  line-height: 1.5;
}
.testimonial__attrib strong { color: var(--text-secondary); font-weight: 500; }

/* ── Plain format card (lighter than .product) ──────────────────────────── */
.format {
  border: 1px solid var(--border-default);
  background: var(--bg-elev-1);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: 3px;
  display: grid;
  gap: 1rem;
  max-width: 56rem;
}
.format__label {
  font-family: "GeistMono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-sky-fg);
}
.format__title {
  color: var(--text-primary);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.format__body p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}
.format__body p:last-child { margin-bottom: 0; }

/* ── Product cards (side-by-side, fully detailed) ───────────────────────── */
.product-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .product-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.pcard {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev-1);
  border: 1px solid var(--border-default);
  border-radius: 3px;
  padding: clamp(1.5rem, 2.5vw, 1.75rem);
  transition: border-color 150ms var(--ease-fast), background 150ms var(--ease-fast);
}
.pcard:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
}
.pcard--feature {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.15), 0 12px 32px rgba(56, 189, 248, 0.08);
}

.pcard__head {
  display: grid;
  gap: 0.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.1rem;
}
.pcard__label {
  font-family: "GeistMono", monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-sky-fg);
}
.pcard__title {
  color: var(--text-primary);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.pcard__pitch {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-top: 0.35rem;
}

.pcard__body {
  display: grid;
  gap: 1rem;
  flex: 1;
}
.pcard__row {
  display: grid;
  gap: 0.4rem;
}
.pcard__row-label {
  font-family: "GeistMono", monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
}
.pcard__row-value {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.pcard__row-value ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.pcard__row-value ul li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-body);
}
.pcard__row-value ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--accent-sky);
  border-radius: 50%;
}

.pcard__foot {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 0.6rem;
}
.pcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-family: "GeistMono", monospace;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}
.pcard__meta span strong {
  color: var(--text-secondary);
  font-weight: 500;
  margin-right: 0.35rem;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-default);
  background: var(--bg-footer);
  padding-block: 3rem;
  margin-top: 5rem;
}
.footer__inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid; gap: 2.5rem;
}
@media (min-width: 768px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }
.footer h4 {
  font-family: "GeistMono", monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  margin: 0 0 1rem;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 120ms var(--ease-fast);
}
.footer a:hover { color: var(--text-primary); }
.footer__brand-blurb { font-size: 0.9rem; max-width: 36ch; color: var(--text-secondary); }
.footer__legal {
  max-width: var(--max-w); margin: 3rem auto 0;
  padding-inline: var(--gutter);
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem; color: var(--text-tertiary);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

/* ── Utility ────────────────────────────────────────────────────────────── */
.center-text { text-align: center; }
.mt-md { margin-top: 1.5rem; }

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