/* ==========================================================================
   PRECEPTA — Design System
   Display: Bricolage Grotesque · Body: IBM Plex Sans · Utility: IBM Plex Mono
   Ink navy + paper white + a single signature "scrub green" accent, drawn
   from OR scrub/drape green — the platform's one deliberate color risk.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  /* Color */
  --ink: #101E36;
  --ink-soft: #24334E;
  --paper: #FAFAF8;
  --surface: #FFFFFF;
  --scrub: #345A4B;
  --scrub-dark: #294539;
  --scrub-tint: #E7EFE9;
  --slate: #5B6472;
  --slate-light: #8891A0;
  --line: #E4E1DA;
  --line-strong: #D3CFC5;
  --error: #B14A5E;
  --error-dark: #8C2F42;
  --error-tint: #FBECEF;
  --error-line: #EFC9D1;

  /* Type */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Radius */
  --r-btn: 8px;
  --r-card: 20px;
  --r-card-sm: 14px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(16,30,54,0.07), 0 1px 2px rgba(16,30,54,0.04);
  --shadow-md: 0 10px 28px -6px rgba(16,30,54,0.12);
  --shadow-lg: 0 28px 56px -16px rgba(16,30,54,0.18);

  /* Layout */
  --container-w: 1180px;
  --container-px: clamp(1.25rem, 5vw, 2.75rem);
  --section-py: clamp(3.75rem, 7vw, 6.5rem);
  --section-py-sm: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- Reset / base ---------- */
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

::selection { background: var(--scrub); color: #fff; }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .faq-question:focus-visible {
  outline: 2px solid var(--scrub);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.section { padding: var(--section-py) 0; }
.section-sm { padding: var(--section-py-sm) 0; }
.section-tight-top { padding-top: clamp(2rem, 4vw, 3rem); }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .slate-on-dark { color: rgba(255,255,255,0.68); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--scrub);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--scrub);
  flex-shrink: 0;
}
.eyebrow.on-dark { color: #9FC2AE; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--slate);
  max-width: 46ch;
}

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-top: 0.75rem;
}
.section-subtitle {
  margin-top: 0.9rem;
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 56ch;
}
.section-head.center .section-subtitle { margin-left: auto; margin-right: auto; }

.text-fine {
  font-size: 0.875rem;
  color: var(--slate-light);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--scrub);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--scrub-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-outline.on-dark:hover { border-color: #fff; }

.btn-lg { padding: 1rem 1.85rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn-disabled {
  background: var(--line);
  color: var(--slate-light);
  cursor: not-allowed;
  box-shadow: none;
}
.btn[disabled]:hover, .btn-disabled:hover { transform: none; }

.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--scrub); }
.nav-links a.is-active { color: var(--ink); font-weight: 600; }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--scrub);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}
.nav-toggle-bar { width: 18px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 74px 0 0 0;
  background: var(--paper);
  z-index: 99;
  padding: 1.5rem var(--container-px) 2.5rem;
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .cta-row { margin-top: 1.5rem; flex-direction: column; align-items: stretch; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 0; overflow: hidden; }
.hero-inner { max-width: var(--container-w); margin: 0 auto; padding: 0 var(--container-px); }
.hero-content { max-width: 760px; }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin-top: 1rem;
  line-height: 1.03;
}
.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink-soft);
  margin-top: 1.25rem;
  max-width: 42ch;
}
.hero-lede { margin-top: 1rem; color: var(--slate); font-size: 1.05rem; max-width: 52ch; }
.hero-actions { margin-top: 2.25rem; }

.pulse-wrap { margin-top: clamp(2.5rem, 6vw, 4rem); width: 100%; }
.pulse-svg { width: 100%; height: auto; display: block; }
.pulse-line {
  fill: none;
  stroke: url(#pulseGradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2700;
  stroke-dashoffset: 2700;
  animation: draw-pulse 2.4s 0.3s cubic-bezier(.3,.6,.2,1) forwards;
}
.pulse-dot { fill: var(--scrub); opacity: 0; animation: fade-in 0.6s 2.4s ease forwards; }
.pulse-dot-ring { fill: none; stroke: var(--scrub); stroke-width: 1.5; opacity: 0; animation: ring-pulse 2.4s 2.5s ease-out infinite; }

@keyframes draw-pulse { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes ring-pulse {
  0% { opacity: 0.55; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(2.4); }
}

.fade-up { opacity: 0; transform: translateY(14px); animation: fade-up 0.7s ease forwards; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

/* Small quiet pulse fragment used on secondary-page heroes */
.pulse-fragment { width: 96px; height: 22px; margin-top: 1.1rem; }
.pulse-fragment path { fill: none; stroke: var(--scrub); stroke-width: 2; stroke-linecap: round; }

/* ---------- Page hero (secondary pages) ---------- */
.page-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-hero-content { max-width: 700px; }
.page-hero-title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-top: 0.9rem; line-height: 1.06; }
.page-hero-lede { margin-top: 1.1rem; color: var(--slate); font-size: 1.08rem; max-width: 54ch; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--scrub-tint);
  color: var(--scrub);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 22px; height: 22px; }
.card-title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card-text { color: var(--slate); font-size: 0.95rem; }

.card-flat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.9rem;
}

/* ---------- Numbered steps (real sequences only) ---------- */
.steps-row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem; }
.steps-row::before {
  content: "";
  position: absolute;
  top: 22px; left: 8%; right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.step { position: relative; }
.step-number {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--scrub);
  background: var(--paper);
  display: inline-block;
  width: 44px; height: 44px;
  line-height: 44px;
  text-align: center;
  border: 1.5px solid var(--scrub);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.step-title { margin-top: 1.1rem; font-size: 1.15rem; }
.step-text { margin-top: 0.5rem; color: var(--slate); font-size: 0.95rem; }

@media (max-width: 900px) {
  .steps-row { grid-template-columns: 1fr; gap: 2rem; }
  .steps-row::before { display: none; }
}

/* Vertical timeline (How It Works — 6-step pathways) */
.timeline { position: relative; padding-left: 2.75rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px; top: 6px; bottom: 6px;
  width: 1px;
  background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-number {
  position: absolute;
  left: -2.75rem;
  top: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.timeline-title { font-size: 1.05rem; font-weight: 600; font-family: var(--font-display); }
.timeline-text { margin-top: 0.3rem; color: var(--slate); font-size: 0.93rem; }

.pathway-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.75rem; }
.pathway-head-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.pathway-head-icon svg { width: 19px; height: 19px; }
.pathway-head h3 { font-size: 1.3rem; }

/* ---------- Experience / benefit grids ---------- */
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: #9FC2AE;
}
.section-dark .value-icon svg { width: 21px; height: 21px; }
.value-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.value-text { margin-top: 0.35rem; color: rgba(255,255,255,0.7); font-size: 0.93rem; }

/* ---------- Disclaimer note ---------- */
.note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--scrub-tint);
  border: 1px solid #CFE0D6;
  border-radius: var(--r-card-sm);
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
  color: var(--scrub-dark);
  margin-top: 2rem;
}
.note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.1rem; }

/* ---------- For Physicians / For Students teaser (home) ---------- */
.split-panel {
  background: var(--ink);
  border-radius: 28px;
  color: #fff;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.split-panel::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,90,75,0.35), transparent 70%);
  top: -180px; right: -160px;
  pointer-events: none;
}
.split-panel h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.split-panel p { color: rgba(255,255,255,0.72); margin-top: 1rem; }
.split-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
.split-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: rgba(255,255,255,0.88); font-size: 0.96rem; }
.split-list svg { width: 18px; height: 18px; color: #9FC2AE; flex-shrink: 0; margin-top: 0.15rem; }
.split-note { margin-top: 1.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.55); font-style: italic; }

@media (max-width: 900px) {
  .split-panel { grid-template-columns: 1fr; }
}

/* ---------- Future tutoring teaser (muted, About page) ---------- */
.teaser {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-card);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.75rem;
  align-items: center;
  background: var(--surface);
}
.teaser-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--scrub);
}
.teaser-icon svg { width: 24px; height: 24px; }
.teaser h3 { font-size: 1.2rem; }
.teaser p { margin-top: 0.4rem; color: var(--slate); font-size: 0.94rem; }
.badge-soon {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--scrub-tint);
  color: var(--scrub-dark);
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .teaser { grid-template-columns: 1fr; text-align: left; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  border-radius: 28px;
  padding: clamp(2.75rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(52,90,75,0.4), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(52,90,75,0.28), transparent 40%);
  pointer-events: none;
}
.cta-band-inner { position: relative; max-width: 620px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta-band p { color: rgba(255,255,255,0.72); margin-top: 1rem; font-size: 1.05rem; }
.cta-band .cta-row { justify-content: center; margin-top: 2rem; }

/* ---------- Sample mentor profiles ---------- */
.profile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.profile-top { display: flex; gap: 1rem; align-items: center; }
.profile-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ink) 0%, var(--scrub) 100%);
  flex-shrink: 0;
}
.profile-name { font-size: 1.05rem; }
.profile-role { color: var(--scrub-dark); font-size: 0.85rem; font-weight: 600; margin-top: 0.15rem; }
.profile-years { color: var(--slate-light); font-size: 0.8rem; margin-top: 0.1rem; }

.profile-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-light);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.65rem;
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1rem;
}

.profile-section-label { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--slate-light); margin-top: 1.25rem; margin-bottom: 0.5rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: 0.78rem;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 0.32rem 0.65rem;
  border-radius: var(--r-pill);
}
.profile-meta-row { display: flex; justify-content: space-between; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: 0.84rem; }
.profile-meta-item { display: flex; align-items: center; gap: 0.4rem; color: var(--slate); }
.profile-meta-item svg { width: 15px; height: 15px; color: var(--scrub); }
.profile-card .btn { margin-top: 1.5rem; }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-label { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.form-label .opt { font-weight: 400; color: var(--slate-light); }
.form-input, .form-select, .form-textarea {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-btn);
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--scrub);
  box-shadow: 0 0 0 3px var(--scrub-tint);
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 16px; padding-right: 2.5rem; }

.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1rem; }
@media (max-width: 500px) { .check-grid { grid-template-columns: 1fr; } }
.check-item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: var(--ink-soft); }
.check-item input { accent-color: var(--scrub); width: 16px; height: 16px; flex-shrink: 0; }

.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--slate); margin-top: 0.5rem; }
.form-consent input { accent-color: var(--scrub); margin-top: 0.2rem; flex-shrink: 0; }

.form-foot { margin-top: 1.75rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success.is-visible { display: block; }
.form-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--scrub-tint); color: var(--scrub);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.form-success-icon svg { width: 26px; height: 26px; }
.form-success h3 { font-size: 1.3rem; }
.form-success p { margin-top: 0.6rem; color: var(--slate); max-width: 40ch; margin-left: auto; margin-right: auto; }
.form.is-hidden { display: none; }

.form-alert {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border-radius: var(--r-card-sm);
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
  margin-top: 1.25rem;
}
.form-alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.1rem; }
.form-alert p { margin: 0; }
.form-alert-error {
  background: var(--error-tint);
  border: 1px solid var(--error-line);
  color: var(--error-dark);
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--scrub); transition: transform 0.25s ease; }
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--slate);
  font-size: 0.96rem;
}
.faq-item.is-open .faq-answer { max-height: 260px; padding-bottom: 1.35rem; }

/* ---------- Trust & ethics ---------- */
.trust-list { display: flex; flex-direction: column; gap: 0; }
.trust-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1.1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.trust-item:last-child { border-bottom: none; }
.trust-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--scrub-tint); color: var(--scrub);
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 21px; height: 21px; }
.trust-item h3 { font-size: 1.02rem; }
.trust-item p { margin-top: 0.3rem; color: var(--slate); font-size: 0.93rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; }
.footer-tagline { margin-top: 0.9rem; font-size: 0.92rem; color: rgba(255,255,255,0.55); max-width: 30ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); font-weight: 500; margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: 0.4rem 0; font-size: 0.92rem; color: rgba(255,255,255,0.8); transition: color 0.18s ease; }
.footer-col a:hover { color: #9FC2AE; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.25rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.footer-social svg { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.75rem; font-size: 0.83rem; color: rgba(255,255,255,0.45); }
.footer-disclaimer { max-width: 62ch; font-size: 0.83rem; color: rgba(255,255,255,0.4); margin-top: 1.5rem; line-height: 1.6; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 2.25rem; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Misc utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.max-w-content { max-width: 720px; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.divider { height: 1px; background: var(--line); border: none; margin: var(--section-py-sm) 0; }
.pill-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-light);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .pulse-line { stroke-dashoffset: 0; }
  .fade-up { opacity: 1; transform: none; }
}
