/* ============================================================================
   LOQUM — "Quiet operational intelligence"
   Design system: tokens → base → components → sections → motion → responsive
   Stack: vanilla CSS, no framework. One signal color (acid-chartreuse).
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* ground + ink */
  --bone:   #F4EFE3;   /* warm bone page ground          */
  --paper:  #FBF7EC;   /* elevated surface (cards/forms) */
  --bone-2: #ECE5D4;   /* deeper ground for rhythm       */
  --bone-3: #E2D9C2;   /* dividers / inset               */
  --ink:    #16130D;   /* warm near-black                */
  --ink-2:  rgba(22, 19, 13, .70);
  --ink-3:  rgba(22, 19, 13, .50);
  --mute:   #5E584A;   /* mono labels (>= 6:1 on bone)   */
  --rule:   rgba(22, 19, 13, .16);

  /* the one signal color — fill / pip / marker only, never body text */
  --accent:     #C4DF1A;
  --accent-dk:  #B6D113;
  --accent-ink: #16130D;

  /* semantic */
  --error: #93320F;

  /* layout */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(3.4rem, 7.4vw, 6.2rem);
  --nav-h: 64px;

  /* type */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans:    "Space Grotesk", system-ui, -apple-system, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --fs-h1: clamp(2.5rem, 6vw, 5rem);
  --fs-h2: clamp(1.85rem, 3.9vw, 3.05rem);
  --fs-h3: clamp(1.08rem, 1.8vw, 1.4rem);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ----------------------------------------------------------------------------
   2. RESET + BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
input, select, textarea, button { font-family: inherit; }
::selection { background: var(--accent); color: var(--ink); }

/* Guarantee [hidden] always hides, even when a component sets display:flex/grid. */
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 1px;
}

/* honor user motion preference globally */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ----------------------------------------------------------------------------
   3. LAYOUT HELPERS
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 46rem; }
.center { text-align: center; margin-inline: auto; }

.sect { padding-block: var(--section-y); scroll-margin-top: calc(var(--nav-h) + 16px); }
.sect + .sect { border-top: 1px solid var(--rule); }
.sect--deep { background: var(--bone-2); }

/* shared section header */
.sect-head { max-width: 60rem; }
.sect-head.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  max-width: none;
}

/* prose (rendered from markdown fields) */
.prose { color: var(--ink-2); max-width: 62ch; }
.prose.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------------------
   4. TYPE PRIMITIVES
   ------------------------------------------------------------------------- */
h1, h2 { font-family: var(--f-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: var(--fs-h2); letter-spacing: -.015em; line-height: 1.08; }
h3 { font-family: var(--f-sans); font-weight: 600; font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.005em; }

/* eyebrow label + chartreuse tick */
.eyebrow {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 3px;
  height: .95em;
  background: var(--accent);
  display: inline-block;
}
.mono { font-family: var(--f-mono); }
.mono-label {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.mono-label.small { font-size: .62rem; }
.mono-label.muted { color: var(--ink-3); }
.small { font-size: .8rem; }

/* ----------------------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  --btn-pad-y: .82em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: var(--btn-pad-y) 1.35em;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: .96rem;
  letter-spacing: -.002em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: transform .14s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(22, 19, 13, .32);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ----------------------------------------------------------------------------
   6. HEADER / NAV
   ------------------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 227, .84);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-h);
}
.wordmark {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.wordmark::after { content: "."; color: var(--accent); }
.nav-links { display: flex; gap: 1.7rem; }
.nav-links a {
  font-size: .92rem;
  color: var(--ink-2);
  transition: color .15s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: auto; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle-bar { width: 18px; height: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: .75rem var(--gutter) 1.25rem;
  border-bottom: 1px solid var(--rule);
  background: var(--bone);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: .65rem 0; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
.mobile-menu .btn { margin-top: .75rem; }

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  background: var(--ink); color: var(--bone);
  padding: .6rem 1rem; z-index: 100;
  transition: top .15s var(--ease);
  border-radius: 2px;
}
.skip-link:focus { top: 1rem; }

/* ----------------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------------- */
.hero { padding-block: clamp(2.6rem, 6.5vw, 4.8rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-h { font-size: var(--fs-h1); line-height: 1.02; }
.hero-h-2 {
  display: block;
  margin-top: .12em;
  font-style: italic;
  font-weight: 500;
}
.hero-supporting { margin-top: 1.6rem; font-size: 1.15rem; color: var(--ink-2); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1.15rem; margin-top: 2rem; }

/* operational artifact (not a robot, not a fake dashboard) */
.artifact {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--ink);
  border-radius: 2px;
  padding: 1.25rem 1.3rem 1.3rem;
  box-shadow: 0 1px 0 var(--rule);
}
.artifact-head { display: flex; justify-content: space-between; align-items: center; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 223, 26, .25);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.artifact-case { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1rem 0 .55rem; }
.case-id { font-size: .82rem; font-weight: 500; }
.case-subj { display: block; color: var(--ink-2); font-size: .96rem; margin-top: .15rem; max-width: 22ch; }
.assign { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.assign-pill {
  background: var(--accent); color: var(--accent-ink);
  padding: .14em .6em; border-radius: 2px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500;
}
.artifact-status { display: flex; align-items: center; gap: .7rem; padding-top: .2rem; }
.status-pill {
  background: var(--ink); color: var(--bone);
  padding: .2em .65em; border-radius: 2px;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase;
}
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 1rem 0; }
.boundary { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1.5rem; }
.boundary div { display: flex; flex-direction: column; gap: .15rem; }
.boundary dt { font-size: .62rem; }
.boundary dd { font-size: .9rem; color: var(--ink); }
.artifact-foot { margin-top: 1.1rem; color: var(--ink-2); }

/* ----------------------------------------------------------------------------
   8. PROBLEM
   ------------------------------------------------------------------------- */
.sect-problem .options { margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.option {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.option-mark { font-size: .8rem; color: var(--ink-3); padding-top: .15rem; }
.option-name { font-size: 1.15rem; }
.option-limit { color: var(--ink-2); margin-top: .35rem; max-width: 60ch; }
.closer {
  margin-top: 2.75rem;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2;
  color: var(--ink);
  max-width: 22ch;
  position: relative;
  padding-left: 1.1rem;
}
.closer::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; background: var(--accent); }

/* ----------------------------------------------------------------------------
   9. CATEGORY — control split
   ------------------------------------------------------------------------- */
.sect-category { background: var(--bone-2); }
.control-split {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.control-col { background: var(--bone-2); padding: 1.8rem; }
.control-col.accent { background: var(--paper); }
.control-h { margin-bottom: 1.2rem; }
.ticks li { position: relative; padding: .55rem 0 .55rem 1.5rem; border-bottom: 1px dashed var(--rule); color: var(--ink); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .95em;
  width: 9px; height: 9px; background: var(--accent);
}
.ticks.muted li { color: var(--ink-2); }
.ticks.muted li::before { background: var(--ink-3); width: 10px; height: 2px; top: 1.05em; }

/* ----------------------------------------------------------------------------
   10. OPERATING LOOP
   ------------------------------------------------------------------------- */
.loop { margin-top: 3rem; }
.loop-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.4rem;
  padding-bottom: clamp(1.6rem, 4vw, 2.6rem);
}
.loop-step::before { /* connecting rail */
  content: ""; position: absolute;
  left: 31px; top: 6px; bottom: -10px;
  width: 1px; background: var(--rule);
}
.loop-step:last-child { padding-bottom: 0; }
.loop-step:last-child::before { display: none; }
.loop-marker { position: relative; }
.loop-num {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  background: var(--bone);
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: var(--f-mono); font-weight: 500; font-size: 1.05rem;
  position: relative; z-index: 1;
}
.loop-num::after { /* chartreuse marker pip */
  content: ""; position: absolute; left: 50%; bottom: -4px;
  transform: translateX(-50%); width: 22px; height: 3px; background: var(--accent);
}
.loop-label { margin-bottom: .5rem; }
.loop-body h3 { font-size: 1.3rem; }
.loop-body p { color: var(--ink-2); margin-top: .5rem; max-width: 58ch; }

/* ----------------------------------------------------------------------------
   11. TRUST
   ------------------------------------------------------------------------- */
.sect-trust { background: var(--bone-2); }
.principles {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}
.principle {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: .9rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}
.p-mark { font-size: .8rem; color: var(--mute); padding-top: .2rem; }
.principle h3 { font-size: 1.12rem; }
.principle p { color: var(--ink-2); margin-top: .4rem; font-size: .98rem; }
.honest {
  margin-top: 2.5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  padding: 1.4rem 1.6rem;
}
.honest p { color: var(--ink); }
.honest p:last-child { margin: 0; }

/* ----------------------------------------------------------------------------
   12. FIT
   ------------------------------------------------------------------------- */
.fit-grid { margin-top: 2.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.fit-col-h { margin-bottom: 1rem; }
.icp-note {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: 1.1rem 1.4rem;
}
.icp-pip { width: 10px; height: 10px; background: var(--accent); flex: none; }
.icp-note p { color: var(--ink); }

/* ----------------------------------------------------------------------------
   13. APPLY — offer + form
   ------------------------------------------------------------------------- */
.apply-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.offer-fine {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: .92rem;
}
.offer-fine p:last-child { margin: 0; }

.form-wrap {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--ink);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 2px;
}
.form-h { font-size: 1.5rem; }
.form-sub { margin: .5rem 0 1.6rem; }
.lead-form { display: flex; flex-direction: column; gap: 1.05rem; }

input, select, textarea { accent-color: var(--accent); }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field > label { font-size: .9rem; font-weight: 500; color: var(--ink); }
.req { color: var(--accent); font-weight: 700; } /* asterisk reads on bone via weight */
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bone);
  border: 1px solid var(--ink-3);
  border-radius: 2px;
  padding: .72em .8em;
  font-size: .98rem;
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(196, 223, 26, .4);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(147, 50, 15, .14);
}
.field-error { min-height: 0; font-size: .8rem; color: var(--error); font-family: var(--f-mono); }
.field-error:not(:empty) { margin-top: .1rem; }

.field-consent { margin-top: .25rem; }
.check { display: flex; align-items: flex-start; gap: .65rem; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: .2rem; width: 1.05rem; height: 1.05rem; flex: none; }
.check span { max-width: 50ch; }

#lead-submit { margin-top: .5rem; position: relative; }
.btn-spinner {
  width: 1em; height: 1em; border-radius: 50%;
  border: 2px solid rgba(22, 19, 13, .35);
  border-top-color: var(--accent-ink);
  display: none;
}
#lead-submit[data-state="loading"] .btn-label { opacity: .6; }
#lead-submit[data-state="loading"] .btn-spinner { display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-foot { margin-top: 1rem; text-align: center; color: var(--ink-3); }

.form-success { margin-top: 0; padding: 1.2rem 0; }
.form-success h3 { font-size: 1.4rem; color: var(--ink); }
.form-success h3::before { content: ""; display: inline-block; width: 9px; height: 9px; background: var(--accent); margin-right: .6em; vertical-align: middle; }
.form-error { margin-top: 1rem; color: var(--error); font-family: var(--f-mono); font-size: .9rem; border: 1px solid var(--error); padding: .8rem 1rem; }

/* honeypot — visually hidden, stays focusable-skipped */
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ----------------------------------------------------------------------------
   14. FAQ
   ------------------------------------------------------------------------- */
.sect-faq { background: var(--bone-2); }
.faq { margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 3rem 1fr 1.5rem;
  gap: .8rem;
  align-items: baseline;
  padding: 1.25rem 0;
  transition: color .15s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-q { color: var(--ink); }
.faq-num { color: var(--mute); font-size: .8rem; }
.faq-q { font-family: var(--f-sans); font-weight: 500; font-size: 1.08rem; color: var(--ink); }
.faq-icon { position: relative; justify-self: end; width: 14px; height: 14px; align-self: center; transition: transform .2s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--ink); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item[open] .faq-num { color: var(--ink); }
.faq-item[open] .faq-q { font-weight: 600; }
.faq-a { padding: 0 3.8rem 1.4rem; color: var(--ink-2); max-width: 62ch; }
/* Native <details> hides closed content, but author CSS on the child can override that
   default; enforce the accordion explicitly so the answer is hidden until opened. */
.faq-item:not([open]) .faq-a { display: none; }

/* ----------------------------------------------------------------------------
   15. CLOSING
   ------------------------------------------------------------------------- */
.sect-closing { text-align: center; }
.closing-h { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; margin-inline: auto; }
.closing-h::after { content: ""; display: block; width: 54px; height: 3px; background: var(--accent); margin: 1.2rem auto 0; }
.closing .prose { margin-inline: auto; margin-top: 1.4rem; }
.closing-cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }

/* ----------------------------------------------------------------------------
   16. FOOTER
   ------------------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--rule); padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--bone); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.foot-blurb { color: var(--ink-2); margin-top: .6rem; max-width: 34ch; font-size: .95rem; }
.foot-nav { display: flex; flex-direction: column; gap: .5rem; }
.foot-nav a { color: var(--ink-2); font-size: .95rem; }
.foot-nav a:hover { color: var(--ink); }
.foot-meta { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.foot-email { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--rule); }
.foot-email:hover { border-color: var(--accent); }
.foot-meta .small { color: var(--mute); }

/* ----------------------------------------------------------------------------
   17. REVEAL MOTION (transform/opacity only)
   ------------------------------------------------------------------------- */
/* Progressive enhancement: content is hidden ONLY when JS is active AND not yet
   revealed. Default state is visible, so no-JS users and crawlers always see all
   content. Using :not(.in) guarantees the hidden state can never outrank revealed. */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(16px); will-change: opacity, transform; }
/* gentle stagger for list children */
.options .option:nth-child(2) { --d: 60ms; }
.options .option:nth-child(3) { --d: 120ms; }
.options .option:nth-child(4) { --d: 180ms; }

/* ----------------------------------------------------------------------------
   18. RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .artifact { max-width: 30rem; }
  .sect-head.split { grid-template-columns: 1fr; align-items: start; }
  .control-split { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; gap: 0; }
  .fit-grid { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
  .offer { order: 2; }
  .form-wrap { order: 1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .loop-step { grid-template-columns: 50px 1fr; gap: 1rem; }
  .loop-step::before { left: 24px; }
  .loop-num { width: 48px; height: 48px; font-size: .95rem; }
  .faq-a { padding-left: 0; padding-right: 0; }
}
@media (max-width: 560px) {
  .boundary { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-nav a { min-block-size: 44px; display: flex; align-items: center; }
  .option { grid-template-columns: 2.4rem 1fr; gap: .75rem; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ----------------------------------------------------------------------------
   19. GENERIC PAGE (fallback template)
   ------------------------------------------------------------------------- */
.generic-page { padding-block: var(--section-y); }
.generic-page h1 { font-size: var(--fs-h2); margin-bottom: 1.5rem; }
