/* ============================================================
   InternMe — Landing page styles
   Palette: forest green + white
   Type: General Sans (display) + Inter (body)
   ============================================================ */

:root {
  /* ---- Color ---- */
  --green-900: #08361f;
  --green-800: #0f5132;
  --green-700: #146c43;
  --green-600: #1f8a52;
  --green-500: #2f8f5c;
  --green-100: #e8f3ec;
  --green-050: #f3f9f5;

  --ink-900: #0e1411;
  --ink-800: #1a1f1c;
  --ink-700: #2f3733;
  --ink-500: #5b6661;
  --ink-400: #7c8783;
  --ink-300: #b7bfbb;
  --ink-200: #d8ded9;
  --ink-100: #ebefec;
  --ink-050: #f4f6f4;

  --paper:    #ffffff;
  --bg:       #fbfbf7;
  --bg-alt:   #f4f6f1;

  --amber:    #b6883d; /* trust / muted accent */

  /* ---- Type ---- */
  --font-display: 'General Sans', 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-xs:   clamp(0.75rem, 0.72rem + 0.1vw, 0.8125rem);
  --text-sm:   clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 1.08rem + 0.25vw, 1.25rem);
  --text-xl:   clamp(1.5rem, 1.35rem + 0.7vw, 1.875rem);
  --text-2xl:  clamp(2rem, 1.7rem + 1.4vw, 2.625rem);
  --text-3xl:  clamp(2.5rem, 2rem + 2.6vw, 4rem);
  --text-hero: clamp(2.75rem, 2.2rem + 3.4vw, 4.5rem);

  /* ---- Space ---- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ---- Radius / shadow ---- */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(8,54,31,0.04);
  --shadow-sm: 0 1px 3px rgba(8,54,31,0.06), 0 1px 2px rgba(8,54,31,0.04);
  --shadow-md: 0 4px 16px rgba(8,54,31,0.06), 0 1px 3px rgba(8,54,31,0.04);
  --shadow-lg: 0 24px 48px -16px rgba(8,54,31,0.18), 0 4px 12px rgba(8,54,31,0.06);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-800);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: transparent; }
input, textarea, select { font: inherit; color: inherit; }
a { color: var(--green-800); text-decoration: none; transition: color .18s var(--ease-out); }
a:hover { color: var(--green-700); }
::selection { background: var(--green-100); color: var(--green-900); }

/* Focus ring — accessible, on-brand */
:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   Layout primitives
   ============================================================ */

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.wrap--narrow { max-width: 880px; }
.wrap--prose  { max-width: 720px; }

section {
  padding-block: clamp(4rem, 9vw, 8rem);
}

/* ============================================================
   Type
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 600;
  margin: 0;
}
h2 { font-size: var(--text-2xl); letter-spacing: -0.025em; line-height: 1.1; }
h3 { font-size: var(--text-xl); letter-spacing: -0.015em; line-height: 1.2; font-weight: 600; }
h4 { font-size: var(--text-lg); font-weight: 600; line-height: 1.3; }

p { margin: 0; }
.lede {
  font-size: var(--text-lg);
  color: var(--ink-700);
  line-height: 1.55;
  max-width: 60ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-800);
  padding: 6px 12px;
  background: var(--green-100);
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in oklab, var(--green-800) 12%, transparent);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-700);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--green-700) 22%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.section-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green-700);
  margin-bottom: var(--space-4);
}

.muted { color: var(--ink-500); }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--ink-100);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
}
.brand svg { width: 28px; height: 28px; color: var(--green-800); }
.brand:hover { color: var(--ink-900); }

.nav {
  display: none;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}
.nav a {
  color: var(--ink-700);
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav a:hover { color: var(--ink-900); }
@media (min-width: 760px) {
  .nav { display: inline-flex; }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink-900);
  color: #fff;
  transition: transform .2s var(--ease-out), background-color .2s var(--ease-out);
}
.header-cta:hover { background: var(--green-800); color: #fff; transform: translateY(-1px); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, color-mix(in oklab, var(--green-700) 11%, transparent), transparent 60%),
    radial-gradient(700px 480px at 5% 110%, color-mix(in oklab, var(--green-600) 9%, transparent), transparent 60%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink-900) 4%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink-900) 4%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 75%);
  opacity: 0.6;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink-900);
  margin-top: var(--space-6);
}
.hero h1 .accent {
  color: var(--green-800);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 500;
}
.hero__lede {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: var(--ink-700);
  line-height: 1.55;
  max-width: 36ch;
}

.hero__meta {
  margin: var(--space-8) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-10);
  color: var(--ink-500);
  font-size: var(--text-sm);
}
.hero__meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero__meta dt { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-500); font-weight: 500; margin: 0; }
.hero__meta dd { margin: 0; color: var(--ink-800); font-size: var(--text-sm); }
.hero__meta strong { color: var(--ink-900); font-weight: 600; }

/* Hero panel (right) — waitlist card */
.hero__panel {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__panel::before {
  /* corner accent */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  pointer-events: none;
  background: linear-gradient(180deg, color-mix(in oklab, var(--green-700) 6%, transparent), transparent 30%);
}
.panel__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.panel__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.panel__count {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.panel__count em {
  font-style: normal;
  color: var(--green-800);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Form
   ============================================================ */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 480px) {
  .form__row { grid-template-columns: 1fr auto; }
}
.input-wrap {
  position: relative;
}
.input {
  width: 100%;
  height: 52px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  background: var(--paper);
  padding: 0 16px;
  font-size: var(--text-base);
  color: var(--ink-900);
  transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s var(--ease-out);
}
.input::placeholder { color: var(--ink-400); }
.input:hover { border-color: var(--ink-300); }
.input:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--green-700) 14%, transparent);
}
.input[aria-invalid="true"] {
  border-color: #b3322c;
  box-shadow: 0 0 0 4px color-mix(in oklab, #b3322c 12%, transparent);
}

.select {
  width: 100%;
  height: 52px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  background: var(--paper);
  padding: 0 40px 0 16px;
  color: var(--ink-900);
  font-size: var(--text-base);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6661' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.select:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px color-mix(in oklab, var(--green-700) 14%, transparent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.005em;
  transition: transform .2s var(--ease-out), background-color .2s var(--ease-out), box-shadow .2s var(--ease-out), color .2s var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: var(--green-800);
  color: #fff;
  box-shadow: 0 1px 0 color-mix(in oklab, #000 6%, transparent) inset, 0 1px 2px rgba(8,54,31,0.18);
}
.btn--primary:hover { background: var(--green-900); transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(8,54,31,0.4); }
.btn--primary:active { transform: translateY(0); }
.btn--primary[aria-busy="true"] { background: var(--green-700); cursor: progress; }

.btn--ghost {
  background: transparent;
  color: var(--ink-800);
  border: 1px solid var(--ink-200);
}
.btn--ghost:hover { background: var(--ink-050); border-color: var(--ink-300); }

.btn__spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid color-mix(in oklab, #fff 60%, transparent);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
  display: none;
}
.btn[aria-busy="true"] .btn__spinner { display: inline-block; }
.btn[aria-busy="true"] .btn__label    { opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__hint {
  font-size: var(--text-xs);
  color: var(--ink-500);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.form__hint svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--ink-400); }

.form__error {
  display: none;
  font-size: var(--text-xs);
  color: #9c2a25;
  margin-top: 2px;
}
.form--error .form__error { display: block; }
.form--error .input { border-color: #b3322c; }

/* Roles inline */
fieldset.roles {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: auto;
}
.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-2);
}
.role {
  position: relative;
}
.role input {
  position: absolute; opacity: 0; pointer-events: none;
}
.role span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--ink-050);
  border: 1px solid var(--ink-100);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
  transition: background-color .18s var(--ease-out), color .18s var(--ease-out), border-color .18s var(--ease-out);
}
.role span:hover { background: var(--ink-100); }
.role input:checked + span {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}
.role input:focus-visible + span {
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--green-700) 25%, transparent);
}

/* Success state */
.form__success {
  display: none;
  text-align: left;
  padding: var(--space-2) 0;
}
.form__success-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}
.form__success h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: 6px;
  color: var(--ink-900);
}
.form__success p {
  color: var(--ink-600, var(--ink-500));
  font-size: var(--text-sm);
  line-height: 1.55;
}
.form--success .form__success { display: block; animation: fadeUp .4s var(--ease-out); }
.form--success .form__main { display: none; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Trust strip (under hero)
   ============================================================ */

.trust-strip {
  border-block: 1px solid var(--ink-100);
  background: var(--paper);
}
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: var(--space-6);
  justify-content: space-between;
}
.trust-strip__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-500);
  font-weight: 500;
}
.trust-strip__logos {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3.5vw, 2.5rem);
  align-items: center;
  color: var(--ink-400);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.005em;
}
.trust-strip__logos span {
  white-space: nowrap;
  transition: color .2s var(--ease-out);
}
.trust-strip__logos span:hover { color: var(--ink-700); }

/* ============================================================
   Problem
   ============================================================ */

.problem {
  background: var(--bg);
}
.problem__head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 760px) {
  .problem__grid { grid-template-columns: repeat(3, 1fr); }
}
.pain {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ink-200); }
.pain__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--green-700);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}
.pain h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin-bottom: var(--space-3);
}
.pain p {
  font-size: var(--text-sm);
  color: var(--ink-700);
  line-height: 1.6;
}

/* ============================================================
   Product / Solution
   ============================================================ */

.product {
  background: var(--paper);
  border-block: 1px solid var(--ink-100);
}
.product__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 900px) {
  .product__head { grid-template-columns: 1.2fr 1fr; }
}
.product__head p { max-width: 50ch; color: var(--ink-700); font-size: var(--text-lg); line-height: 1.55; }

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
@media (min-width: 760px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .features { grid-template-columns: repeat(4, 1fr); }
}
.feature {
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  border-bottom: 1px solid var(--ink-100);
  border-right: 1px solid var(--ink-100);
  background: var(--paper);
  transition: background-color .25s var(--ease-out);
}
.feature:hover { background: var(--green-050); }
@media (min-width: 760px) {
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (min-width: 1080px) {
  .feature:nth-child(2n) { border-right: 1px solid var(--ink-100); }
  .feature:nth-child(4n) { border-right: 0; }
  .feature:nth-last-child(-n+4) { border-bottom: 0; }
}
.feature__icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--green-100);
  color: var(--green-800);
  display: grid; place-items: center;
  margin-bottom: var(--space-5);
  transition: transform .25s var(--ease-out);
}
.feature:hover .feature__icon { transform: scale(1.06); }
.feature h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
  color: var(--ink-900);
}
.feature p {
  font-size: var(--text-sm);
  color: var(--ink-700);
  line-height: 1.55;
}

/* ============================================================
   How it works
   ============================================================ */

.how {
  background: var(--bg-alt);
}
.how__head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
}
.step {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  counter-increment: step;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--green-800);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-5);
  font-feature-settings: 'tnum';
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.step p {
  font-size: var(--text-sm);
  color: var(--ink-700);
  line-height: 1.55;
}

/* ============================================================
   Trust / Ingestion
   ============================================================ */

.trust {
  background: var(--ink-900);
  color: var(--ink-100);
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 80% 0%, color-mix(in oklab, var(--green-600) 22%, transparent), transparent 60%),
    radial-gradient(600px 320px at 0% 100%, color-mix(in oklab, var(--green-700) 16%, transparent), transparent 60%);
  pointer-events: none;
}
.trust > .wrap { position: relative; z-index: 1; }
.trust .section-kicker { color: color-mix(in oklab, var(--green-500) 80%, white); }
.trust h2 { color: #fff; }
.trust__head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.trust__head p { color: color-mix(in oklab, #fff 75%, transparent); font-size: var(--text-lg); }
.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 760px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}
.layer {
  border: 1px solid color-mix(in oklab, #fff 12%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, #fff 4%, transparent);
  padding: var(--space-6);
  backdrop-filter: blur(2px);
}
.layer__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: color-mix(in oklab, var(--green-500) 80%, white);
  margin-bottom: var(--space-3);
}
.layer h3 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.layer p {
  color: color-mix(in oklab, #fff 75%, transparent);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.layer__sources {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: color-mix(in oklab, #fff 10%, transparent);
  color: color-mix(in oklab, #fff 88%, transparent);
  border: 1px solid color-mix(in oklab, #fff 14%, transparent);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  background: var(--bg);
}
.faq__head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.faq__list {
  border-top: 1px solid var(--ink-100);
}
details.q {
  border-bottom: 1px solid var(--ink-100);
  padding: var(--space-5) 0;
  cursor: pointer;
  transition: background-color .2s var(--ease-out);
}
details.q[open] summary .q__icon { transform: rotate(45deg); }
details.q summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
details.q summary::-webkit-details-marker { display: none; }
.q__icon {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid var(--ink-200);
  color: var(--green-800);
  display: grid; place-items: center;
  transition: transform .25s var(--ease-out), background-color .25s var(--ease-out);
  flex-shrink: 0;
}
details.q[open] .q__icon { background: var(--green-100); border-color: var(--green-100); }
.q__icon svg { width: 14px; height: 14px; }
.q__answer {
  margin-top: var(--space-4);
  color: var(--ink-700);
  font-size: var(--text-base);
  max-width: 64ch;
  line-height: 1.6;
}

/* ============================================================
   Final CTA
   ============================================================ */

.final-cta {
  background: var(--paper);
  border-top: 1px solid var(--ink-100);
}
.final-cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 900px) {
  .final-cta__inner { grid-template-columns: 1.15fr 1fr; }
}
.final-cta h2 {
  font-size: var(--text-3xl);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.final-cta p { margin-top: var(--space-5); color: var(--ink-700); font-size: var(--text-lg); max-width: 44ch; }
.final-cta .form { margin-top: 0; }

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--ink-100);
  padding-block: var(--space-12) var(--space-8);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 760px) {
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
.footer p { font-size: var(--text-sm); color: var(--ink-500); margin-top: var(--space-3); max-width: 36ch; line-height: 1.55; }
.footer h5 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-500);
  margin: 0 0 var(--space-4);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.footer li a { font-size: var(--text-sm); color: var(--ink-800); }
.footer li a:hover { color: var(--green-800); }
.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-5);
  border-top: 1px solid var(--ink-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--ink-500);
}
.footer__bottom a { color: var(--ink-700); }

/* ============================================================
   Reveal animation
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }
.reveal[data-delay="4"] { transition-delay: .24s; }

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

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }
