/* ==========================================================================
   TheFeedCo. — styles.css
   Design system v1.0 — https://inthefeedco.com
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Ink & surfaces (teal-tinted neutrals) */
  --ink:        #0e1717;
  --ink-soft:   #2b4a4a;
  --muted:      #46605f;
  --bg:         #fafbfb;
  --bg-tint:    #dae4e5;
  --surface:    #ffffff;

  /* Teal accent ramp */
  --teal-600:   #296e6b;
  --teal-700:   #1f5a57;
  --teal-400:   #69a4a2;   /* decorative only on light */
  --teal-300:   #94c0c2;   /* text accent on dark only */

  /* Lines & feedback */
  --line:       rgba(14, 23, 23, 0.14);
  --line-dark:  rgba(250, 251, 251, 0.16);
  --error:      #b3261e;
  --focus-ring: rgba(41, 110, 107, 0.18);

  /* Fluid type scale */
  --fs-display: clamp(2.75rem, 1.4rem + 6.75vw, 6.5rem);
  --fs-h1:      clamp(2.25rem, 1.5rem + 3.33vw, 4rem);
  --fs-h2:      clamp(1.75rem, 1.35rem + 2vw, 3rem);
  --fs-h3:      clamp(1.25rem, 1.14rem + 0.55vw, 1.625rem);
  --fs-body:    clamp(1rem, 0.955rem + 0.22vw, 1.125rem);
  --fs-small:   clamp(0.8125rem, 0.7875rem + 0.125vw, 0.875rem);
  --fs-label:   clamp(0.6875rem, 0.65rem + 0.19vw, 0.8125rem);

  /* Spacing */
  --space-1: 0.25rem;  --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;     --space-6: 1.5rem;  --space-8: 2rem;
  --space-12: 3rem;    --space-16: 4rem;   --space-24: 6rem;  --space-32: 8rem;
  --section-pad: clamp(4.5rem, 3rem + 8vw, 9rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Radii & shadows */
  --radius-sm: 2px;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 24px rgba(14, 23, 23, 0.06);
  --shadow-lift: 0 16px 40px rgba(14, 23, 23, 0.10);

  --font-display: "Space Grotesk", "Arial Black", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* belt-and-braces: no body horizontal scroll */
}

main { display: block; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0 0 var(--space-6); font-family: var(--font-display); }
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.1;  letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0 0 var(--space-6);
}

p { margin: 0 0 var(--space-4); max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; transition: color 180ms ease-out; }
a:hover { color: var(--teal-700); }

:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 3px; }
.section--dark :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible,
.card--flagship :focus-visible { outline-color: #fafbfb; }

.small { font-size: var(--fs-small); line-height: 1.5; }
.muted { color: var(--muted); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%; left: var(--gutter);
  z-index: 300;
  padding: 0.625rem 1.25rem;
  background: var(--ink);
  color: #fafbfb;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font: 600 var(--fs-small) var(--font-body);
}
.skip-link:focus { top: 0; color: #fafbfb; }

/* ---------- Layout ---------- */
.container       { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container-wide  { max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow          { max-width: 48rem; }

.section { padding-block: var(--section-pad); border-top: 1px solid var(--line); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--ink); color: #dae4e5; border-top: none; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fafbfb; }
.section--dark a { color: var(--teal-300); }
.section--dark a:hover { color: #fafbfb; }
.section--dark strong { color: #fafbfb; }

.section-lede { color: var(--muted); }

/* ---------- Section label (eyebrow) ---------- */
.label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--space-6);
  font: 600 var(--fs-label)/1.2 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  max-width: none;
}
.label::before { content: ""; display: inline-block; width: 32px; height: 1px; background: currentColor; flex: none; }
.section--dark .label, .mobile-menu .label { color: var(--teal-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.875rem 1.75rem;
  border: 0;
  border-radius: var(--radius-pill);
  font: 600 0.9375rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out,
              border-color 180ms ease-out, transform 180ms ease-out;
}
.btn--sm { padding: 0.625rem 1.25rem; }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--teal-600); color: #ffffff; }
.btn--primary:hover { background: var(--teal-700); color: #ffffff; transform: translateY(-1px); }

.btn--secondary { background: transparent; color: var(--ink); border: 1.5px solid currentColor; }
.btn--secondary:hover { background: var(--ink); color: var(--bg); }
.section--dark .btn--secondary, .site-footer .btn--secondary { color: #fafbfb; }
.section--dark .btn--secondary:hover { background: #fafbfb; color: var(--ink); }

.btn--on-dark { background: var(--bg); color: var(--ink); }
.btn--on-dark:hover { background: var(--teal-300); color: var(--ink); transform: translateY(-1px); }

.btn-arrow { display: inline-block; transition: transform 180ms ease-out; }
.btn:hover .btn-arrow, .card-link:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Logo lockup ---------- */
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.logo-lockup:hover { color: var(--ink); }
.logo-mark { flex: none; }
.logo-word { font: 700 1.125rem/1 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.logo-dot { color: var(--teal-600); }
.site-footer .logo-lockup, .mobile-menu .logo-lockup { color: #fafbfb; }
.site-footer .logo-lockup:hover, .mobile-menu .logo-lockup:hover { color: #fafbfb; }
.site-footer .logo-dot, .mobile-menu .logo-dot { color: var(--teal-300); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 251, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-soft); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 72px;
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font: 500 0.9375rem/1 var(--font-body);
  color: var(--ink);
  text-decoration: none;
  transition: color 180ms ease-out;
}
.nav-links a:hover { color: var(--teal-600); }
.nav-back {
  font: 500 0.9375rem/1 var(--font-body);
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav-back:hover { color: var(--teal-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bar { width: 22px; height: 1.5px; background: var(--ink); }

@media (max-width: 767px) {
  .nav-inner { height: 60px; }
  /* JS available: collapse links behind the hamburger */
  .js .nav-links, .js .nav-cta { display: none; }
  .js .nav-toggle { display: inline-flex; }
  /* No JS: keep links visible and usable */
  .no-js .site-nav { flex-wrap: wrap; gap: 0.75rem 1rem; justify-content: flex-end; }
  .no-js .nav-links { gap: 1rem; flex-wrap: wrap; }
  .no-js .nav-inner { height: auto; min-height: 60px; padding-block: 0.75rem; }
}

/* ---------- Mobile menu overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) var(--gutter);
  background: var(--ink);
  opacity: 0;
  transition: opacity 220ms ease-out;
}
.mobile-menu.is-open { opacity: 1; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: #fafbfb;
}
.menu-close svg { width: 20px; height: 20px; }

.mobile-links {
  list-style: none;
  margin: auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.mobile-links li {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.mobile-menu.is-open .mobile-links li { opacity: 1; transform: none; }
.mobile-links a {
  font: 500 var(--fs-h2)/1.1 var(--font-display);
  letter-spacing: -0.02em;
  color: #fafbfb;
  text-decoration: none;
}
.mobile-links a:hover { color: var(--teal-300); }
.mobile-menu .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(5rem, 4rem + 8vw, 10rem) var(--section-pad); }
.hero-sub { color: var(--muted); max-width: 44rem; margin-top: var(--space-4); }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-8); }
.hero-secondary { font-weight: 500; }

/* Hero load sequence (JS only) */
.js .hero-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .hero-item.is-visible { opacity: 1; transform: none; }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 2rem; margin-top: var(--space-12); }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 220ms ease-out, box-shadow 220ms ease-out, transform 220ms ease-out;
}
.card:hover { border-color: var(--teal-600); box-shadow: var(--shadow-soft); transform: translateY(-4px); }

.card-index {
  margin: 0 0 var(--space-4);
  font: 600 var(--fs-label)/1.2 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.card h3 { margin-bottom: var(--space-3); }
.card-body { color: var(--muted); font-size: var(--fs-small); line-height: 1.6; }
.card-list {
  list-style: none;
  margin: var(--space-6) 0 var(--space-8);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--ink-soft);
}
.card-list li { display: flex; align-items: baseline; gap: 0.625rem; }
.card-list li::before { content: "\2713"; font-size: 14px; line-height: 1; color: var(--teal-600); flex: none; }
.card-link {
  margin-top: auto;
  font: 500 var(--fs-small)/1.5 var(--font-body);
  color: var(--teal-600);
}
.card-link:hover { color: var(--teal-700); }

/* Flagship variant */
.card--flagship {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow-lift);
}
.card--flagship:hover { border-color: var(--teal-300); }
.card--flagship h3 { color: #fafbfb; }
.card--flagship .card-index { color: var(--teal-300); }
.card--flagship .card-body, .card--flagship .card-list { color: #dae4e5; }
.card--flagship .card-list li::before { color: var(--teal-300); }
.card--flagship .btn { width: 100%; margin-top: auto; }
/* Index + flagship tag share a flex row so they can never overlap;
   the tag wraps below the index on very narrow cards. */
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: var(--space-4);
}
.card-top .card-index { margin: 0; }
.card-tag {
  margin: -0.375rem 0 0;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  font: 600 var(--fs-label)/1.2 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-300);
  white-space: nowrap;
}

/* ---------- Steps (How we work) ---------- */
.steps { display: grid; gap: 2rem; margin-top: var(--space-12); border-top: 1px solid var(--line); }
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { padding-top: 2rem; }
.step .step-num {
  /* Longhand on purpose: Chrome drops the `font` shorthand when a literal
     clamp() is followed by /line-height. */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
  line-height: 1;
  color: var(--teal-400); /* decorative numeral — exempt from text contrast */
}
.step h3 { margin: var(--space-3) 0 var(--space-2); }
.step p { color: var(--muted); font-size: var(--fs-small); line-height: 1.6; margin: 0; }

@media (max-width: 639px) {
  .steps { border-top: none; gap: var(--space-8); }
  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1.25rem;
    padding-top: 0;
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
  }
  .step-num { grid-row: 1 / 3; }
  .step h3 { margin-top: 0; grid-column: 2; }
  .step p { grid-column: 2; }
}

/* ---------- Why-us rows ---------- */
.why-rows { margin-top: var(--space-12); }
.why-row { display: grid; gap: var(--space-4) 2rem; padding-block: var(--space-8); border-top: 1px solid var(--line); }
@media (min-width: 800px) { .why-row { grid-template-columns: 5fr 7fr; } }
.why-row h3 { margin: 0; }
.why-row p { color: var(--muted); }
.pledge {
  margin: 0 0 var(--space-4);
  padding-left: 1.5rem;
  border-left: 2px solid var(--teal-600);
  font: 500 var(--fs-h3)/1.4 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 34ch;
}

/* ---------- Offer band ---------- */
.offer { position: relative; overflow: hidden; }
.offer-inner { position: relative; z-index: 1; }
.offer-blob {
  position: absolute;
  top: 50%;
  right: -160px;
  width: 480px;
  height: 480px;
  transform: translateY(-50%);
  opacity: 0.4;
  pointer-events: none;
}
.offer-small { font-size: var(--fs-small); color: var(--teal-300); margin-top: var(--space-4); }
.offer .btn { margin-top: var(--space-8); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { font-size: var(--fs-h1); letter-spacing: -0.025em; }
.final-cta p { margin-inline: auto; }
.final-cta .section-lede { max-width: 40rem; }
.final-cta .btn { margin-top: var(--space-6); }
.final-cta .alt-line { margin-top: var(--space-6); font-size: var(--fs-small); color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #dae4e5; padding: 5rem 0 2rem; }
.footer-grid { display: grid; gap: var(--space-12) 2rem; }
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-heading {
  margin: 0 0 var(--space-4);
  font: 600 var(--fs-label)/1.2 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-300);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer li { font-size: var(--fs-small); }
.site-footer a { color: #fafbfb; text-decoration: none; transition: color 180ms ease-out; }
.site-footer a:hover { color: var(--teal-300); text-decoration: underline; text-underline-offset: 3px; }
.footer-tagline { margin: var(--space-4) 0 var(--space-2); font: 700 1rem/1.2 var(--font-display); color: #fafbfb; }
.footer-line { font-size: var(--fs-small); color: #dae4e5; }
.footer-cta { margin-top: var(--space-12); font-size: var(--fs-body); color: #dae4e5; }
.footer-cta a { color: #fafbfb; text-decoration: underline; text-underline-offset: 3px; }
.footer-cta a:hover { color: var(--teal-300); }
.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-small);
  color: var(--teal-300);
}
.footer-bottom p { max-width: none; }
.footer-bottom a { color: var(--teal-300); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fafbfb; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-block: clamp(4rem, 3rem + 6vw, 7rem) var(--space-12); }
.page-hero h1 { margin-bottom: var(--space-4); }
.page-hero .section-lede { max-width: 44rem; }

/* ---------- Forms ---------- */
.form { max-width: 44rem; }
.field { margin-bottom: var(--space-8); }
.field-label, fieldset legend {
  display: block;
  margin-bottom: 8px;
  font: 500 var(--fs-small)/1.5 var(--font-body);
  color: var(--ink);
}
.req { color: var(--teal-600); }
.field-help { margin: 0 0 8px; font-size: var(--fs-small); color: var(--muted); }
.field-error { margin: 6px 0 0; font-size: var(--fs-small); color: var(--error); }

.input {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  background: var(--surface);
  border: 1px solid rgba(14, 23, 23, 0.25);
  border-radius: var(--radius-sm);
  font: 400 var(--fs-body)/1.6 var(--font-body);
  color: var(--ink);
}
textarea.input { height: auto; min-height: 140px; padding: 0.875rem 1rem; resize: vertical; }
.input::placeholder { color: var(--muted); opacity: 1; }
.input:focus { border-color: var(--teal-600); box-shadow: 0 0 0 3px var(--focus-ring); outline: none; }
.input[aria-invalid="true"] { border-color: var(--error); }

fieldset { margin: 0 0 var(--space-8); padding: 0; border: 0; }
fieldset legend { padding: 0; }

/* Choice chips (radios visually hidden, labels as pills) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font: 500 var(--fs-small)/1.2 var(--font-body);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}
.chip span:hover { border-color: var(--teal-600); }
.chip input:checked + span { background: var(--teal-600); border-color: var(--teal-600); color: #ffffff; }
.chip input:focus-visible + span { outline: 2px solid var(--teal-600); outline-offset: 3px; }

/* Checkbox */
.checkbox {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}
.checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox-box {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background: var(--surface);
  border: 1px solid rgba(14, 23, 23, 0.35);
  border-radius: var(--radius-sm);
  transition: background-color 180ms ease-out, border-color 180ms ease-out;
}
.checkbox-box svg { width: 12px; height: 10px; opacity: 0; transition: opacity 120ms ease-out; }
.checkbox input:checked ~ .checkbox-box { background: var(--teal-600); border-color: var(--teal-600); }
.checkbox input:checked ~ .checkbox-box svg { opacity: 1; }
.checkbox input:focus-visible ~ .checkbox-box { outline: 2px solid var(--teal-600); outline-offset: 3px; }
.checkbox.has-error .checkbox-box { border-color: var(--error); }

/* Honeypot — hidden from humans, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  margin-bottom: var(--space-8);
  padding: 1rem 1.25rem;
  border: 1px solid var(--error);
  border-left-width: 3px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  color: var(--error);
  background: var(--surface);
}
.form-footnote { margin-top: var(--space-6); font-size: var(--fs-small); color: var(--muted); }
.form .btn[disabled] { opacity: 0.7; cursor: default; }

/* ---------- Prose (privacy) ---------- */
.prose h2 { font-size: var(--fs-h3); font-weight: 500; margin: var(--space-12) 0 var(--space-3); }
.prose p { color: var(--ink-soft); }

/* ---------- Thank-you / 404 ---------- */
.confirm-list { margin: var(--space-8) 0; padding-left: 1.25rem; color: var(--ink-soft); }
.confirm-list li { margin-bottom: var(--space-2); max-width: 62ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-item, .mobile-links li { transform: none; transition: opacity 200ms linear; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .js .reveal, .js .hero-item, .mobile-links li { transition-duration: 200ms !important; } /* keep gentle fade only */
}
