/* ─────────────────────────────────────────────────────────────
 * Vallumio — main.css
 *
 * The single stylesheet for every page on vallumio.com.
 * Design tokens in :root; component styles below.
 * ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── SELF-HOSTED WEB FONTS ──────────────────────────────────
 * All font files served from /static/fonts/ on our own origin.
 * No Google Fonts, no external requests. This keeps CSP strict
 * (no font-src or style-src exceptions needed), eliminates
 * third-party dependency, and avoids the cumulative layout shift
 * that appeared when relying on Google-hosted fonts.
 *
 * font-display: swap means text appears immediately in the
 * system fallback (Georgia / Arial) and swaps to the real font
 * when it loads. Because both real and fallback fonts live at
 * the same origin and CSS is cached, the swap happens in the
 * first ~100ms and layout shift is negligible.
 * ──────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-serif-v5-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/instrument-serif-v5-latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/static/fonts/geist-v4-latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/geist-v4-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/geist-v4-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/geist-v4-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/geist-mono-v4-latin-regular.woff2") format("woff2");
}

:root {
  --white:  #FAFAF8;
  --off:    #F2F0EC;
  --rule:   #DDDAD4;
  --mid:    #6E6B65;   /* darkened from #8C8880 for WCAG AA (5.48:1 on --white) */
  --body:   #2E2C29;
  --ink:    #0F0E0C;
  --teal:   #1A4A4A;
  --teal-d: #0F3333;
  --pop:    #2D7A6A;
  --glow:   #3ABFA0;

  --serif: "Instrument Serif", Georgia, serif;
  --sans:  "Geist", system-ui, Arial, sans-serif;
  --mono:  "Geist Mono", Consolas, monospace;
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);

  --err-bg: rgba(180, 40, 40, 0.06);
  --err-br: rgba(180, 40, 40, 0.15);
  --err-tx: #b42828;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  z-index: 300;
}
.skip-link:focus { top: 1rem; }

/* ─── NAV ──────────────────────────────────────────── */
nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 56px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,250,248,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
}

.logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.logo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--glow);
  flex-shrink: 0;
  margin-top: -1px;
}

.nav-r { display: flex; align-items: center; gap: 2rem; }

.nav-a {
  font-size: 0.8rem;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.nav-a:hover { color: var(--ink); }

.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--teal);
  color: #fff;
  padding: 0.5rem 1.15rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-cta:hover { background: var(--teal-d); }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 56px;
  display: grid;
  grid-template-columns: 55% 45%;
}

.hero-l {
  padding: 7rem 5rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--rule);
  position: relative;
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pop);  /* --pop (#2D7A6A) passes AA on white; --glow does not */
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  opacity: 0;
  animation: up 0.9s var(--ease) 0.05s forwards;
}
.hero-kicker::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--glow);
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.2vw, 5.8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: up 1s var(--ease) 0.12s forwards;
}
.hero-h1 em { font-style: italic; color: var(--pop); }

.ul { position: relative; display: inline; }
.ul::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.06em;
  height: 3px;
  background: var(--glow);
  border-radius: 2px;
}

.hero-p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  max-width: 40ch;
  line-height: 1.8;
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: up 1s var(--ease) 0.2s forwards;
}
.hero-p strong { color: var(--body); font-weight: 500; }

.hero-btns {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  opacity: 0;
  animation: up 1s var(--ease) 0.28s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-p {
  background: var(--teal);
  color: #fff;
  padding: 0.78rem 1.5rem;
  border: 0;
}
.btn-p:hover { background: var(--teal-d); transform: translateY(-1px); }

.btn-g {
  color: var(--mid);
  font-size: 0.8rem;
  padding: 0.78rem 1.5rem;
  background: none;
  border: 1px solid var(--rule);
}
.btn-g:hover { color: var(--ink); border-color: var(--body); }

.hero-r {
  background: var(--teal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 4.5rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-r-inner {
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.5s forwards;
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(5.5rem, 9vw, 9.5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-lbl {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);  /* was 0.3 - failed AA on teal */
  display: block;
  margin-bottom: 3.5rem;
}

.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);  /* was 0.42 - failed AA on teal */
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.3rem 0.62rem;
  border-radius: 2px;
}

/* ─── SHARED SECTION SHELL ─────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 7rem 0; }
.section-border { border-top: 1px solid var(--rule); }

.lbl {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lbl::after {
  content: '';
  width: 3rem;
  height: 1px;
  background: var(--rule);
}

/* ─── WHO ──────────────────────────────────────────── */
.who-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}
.who-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.who-head h2 em { font-style: italic; color: var(--pop); }
.who-head p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.82;
  max-width: 40ch;
  align-self: end;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.card {
  background: var(--white);
  padding: 3rem 2.5rem 3.25rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}
.card:hover { background: var(--off); }

.card-n {
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--off);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.card:hover .card-n { color: var(--rule); }

.card-for {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 0.65rem;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.card p {
  font-size: 0.855rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.78;
}

.card-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--glow);
  transition: width 0.55s var(--ease);
}
.card:hover .card-line { width: 100%; }

/* ─── FEATURES ─────────────────────────────────────── */
.feats-bg {
  background: var(--off);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.feats-head {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4.5rem;
}
.feats-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.feats-head h2 em { font-style: italic; color: var(--pop); }
.feats-head p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.82;
  align-self: end;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.feat {
  background: var(--off);
  padding: 2.5rem 2.25rem;
  transition: background 0.25s;
  position: relative;
}
.feat:hover { background: var(--white); }

.feat-i {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--rule);
  margin-bottom: 1.5rem;
  display: block;
  transition: color 0.25s;
}
.feat:hover .feat-i { color: var(--glow); }

.feat h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.feat p {
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.78;
}

/* ─── STATEMENT / PULL QUOTE ───────────────────────── */
.stmt { background: var(--teal); padding: 6.5rem 0; overflow: hidden; }

.stmt-inner {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 6rem;
  align-items: center;
}

.stmt blockquote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.stmt blockquote strong { font-style: normal; color: var(--glow); }

.stmt-side { border-left: 1px solid rgba(255,255,255,0.15); padding-left: 3rem; }
.stmt-side p {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255,255,255,0.78);  /* was 0.38 - failed AA on teal */
  line-height: 1.82;
  margin-bottom: 1.75rem;
}
.stmt-side a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glow);
  text-decoration: none;
  border-bottom: 1px solid rgba(58,191,160,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.stmt-side a:hover { border-color: var(--glow); }

/* ─── PRICING ──────────────────────────────────────── */
.pricing-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.pricing-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.pricing-head h2 em { font-style: italic; color: var(--pop); }
.pricing-head p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.82;
  max-width: 40ch;
  align-self: end;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.plan {
  background: var(--white);
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  transition: background 0.25s;
}
.plan:hover { background: var(--off); }
.plan.hi { background: var(--teal); }
.plan.hi:hover { background: var(--teal-d); }

.plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.plan.hi .plan-top { border-bottom-color: rgba(255,255,255,0.08); }

.plan-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.plan.hi .plan-name { color: #fff; }

.plan-badge {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--glow);
  color: var(--ink);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  font-weight: 400;
  margin-top: 0.15rem;
}

.plan-price {
  font-family: var(--serif);
  font-size: 3.25rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
}
.plan.hi .plan-price { color: #fff; }

.plan-per {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  display: block;
  margin-bottom: 1.25rem;
}
.plan.hi .plan-per { color: rgba(255,255,255,0.75); }

.plan-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.72;
  margin-bottom: 1.75rem;
}
.plan.hi .plan-desc { color: rgba(255,255,255,0.78); }

.plan-list {
  list-style: none;
  flex: 1;
  margin-bottom: 2.5rem;
}
.plan-list li {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--body);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 0.65rem;
  line-height: 1.4;
}
.plan.hi .plan-list li {
  color: rgba(255,255,255,0.82);
  border-bottom-color: rgba(255,255,255,0.1);
}
.plan-list li::before {
  content: '—';
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--rule);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.plan.hi .plan-list li::before { color: rgba(58,191,160,0.45); }

.plan-btn {
  display: block;
  text-align: center;
  padding: 0.82rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--rule);
  color: var(--body);
  border-radius: 3px;
  transition: all 0.2s;
  background: transparent;
  font-family: var(--sans);
  cursor: pointer;
}
.plan-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.plan.hi .plan-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
}
.plan.hi .plan-btn:hover {
  background: var(--glow);
  border-color: var(--glow);
  color: var(--ink);
}

.plan-note {
  margin-top: 1.75rem;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--mid);
}

/* ─── END CTA ──────────────────────────────────────── */
.end {
  border-top: 1px solid var(--rule);
  padding: 9rem 0;
  text-align: center;
}

.end-inner { position: relative; z-index: 1; }

.end-inner h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.97;
  color: var(--ink);
  margin-bottom: 1.75rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
.end-inner h2 em { font-style: italic; color: var(--pop); }

.end-inner > p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--mid);
  max-width: 38ch;
  margin: 0 auto 3rem;
  line-height: 1.78;
}

.end-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.end-meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--mid);
}

/* ─── FOOTER ───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.f-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.f-logo-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--glow);
}

.f-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.f-links a {
  font-size: 0.75rem;
  color: var(--mid);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.f-links a:hover { color: var(--ink); }

.f-copy {
  font-size: 0.72rem;
  color: var(--mid);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ─── ONE-OFF UTILITY CLASSES ──────────────────────── */
/* Replacements for inline style="..." attrs that violated strict CSP */
.u-center-flex { justify-content: center; }
.u-mb-2 { margin-bottom: 2rem; }
.u-mb-1-5 { margin-bottom: 1.5rem; }
.u-mb-05 { display: block; margin-bottom: 0.5rem; }
.u-mt-3 { margin-top: 3rem; }
.u-mt-2 { margin-top: 2rem; }
.u-pt-9 { padding-top: 9rem; }
.u-py-4 { padding-top: 4rem; padding-bottom: 4rem; }
.u-link-body {
  color: var(--body);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.u-link-body:hover { border-color: var(--body); }
.u-optional-hint {
  text-transform: none;
  letter-spacing: 0;
  color: var(--mid);
  font-family: var(--sans);
  font-size: 0.7rem;
}
.u-faq-more {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--mid);
  font-weight: 300;
}

/* ─── SCROLL REVEAL ────────────────────────────────── */
.r {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.r.on { opacity: 1; transform: none; }

/* Staggered reveal delays — CSP-safe replacement for inline style attrs */
.r-d1 { transition-delay: 0.06s; }
.r-d2 { transition-delay: 0.08s; }
.r-d3 { transition-delay: 0.1s; }
.r-d4 { transition-delay: 0.12s; }
.r-d5 { transition-delay: 0.16s; }
.r-d6 { transition-delay: 0.18s; }
.r-d7 { transition-delay: 0.2s; }
.r-d8 { transition-delay: 0.24s; }
.r-d9 { transition-delay: 0.3s; }

/* ─── KEYFRAMES ────────────────────────────────────── */
@keyframes up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── SIMPLE PAGE SHELL (contact, thank-you, legal, faq) ─── */
.page {
  padding-top: 56px;
  min-height: 70vh;
}

.page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2.5rem 5rem;
}

/* ─── CONTACT PAGE ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-l h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.contact-l h1 em { font-style: italic; color: var(--pop); }

.contact-l .lead {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 42ch;
}

.contact-details {
  list-style: none;
  border-top: 1px solid var(--rule);
  padding-top: 1.75rem;
}
.contact-details li {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--body);
  padding: 0.6rem 0;
  line-height: 1.6;
}
.contact-details li strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.contact-details li a {
  color: var(--body);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.15s;
}
.contact-details li a:hover { border-color: var(--body); }

/* ─── FORMS ────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 400;
}

.form-input,
.form-textarea {
  background: var(--off);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.7rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--body);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 74, 74, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-error {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--err-tx);
  padding: 0.5rem 0.75rem;
  background: var(--err-bg);
  border: 1px solid var(--err-br);
  border-radius: 3px;
  margin-top: 0.25rem;
}

.form-field.has-error .form-input,
.form-field.has-error .form-textarea {
  border-color: var(--err-br);
  background: var(--err-bg);
}

.form-note {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--mid);
  margin-top: 0.5rem;
  line-height: 1.6;
}
.form-note a {
  color: var(--body);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.form-note a:hover { border-color: var(--body); }

.form-submit {
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 0.82rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s var(--ease);
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--teal-d); transform: translateY(-1px); }

/* Honeypot — hidden from humans, visible to bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-rate-limit {
  padding: 1.5rem;
  background: var(--off);
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.7;
}

/* ─── THANK YOU PAGE ───────────────────────────────── */
.thanks {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 7rem 2.5rem 5rem;
}

.thanks h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.thanks h1 em { font-style: italic; color: var(--pop); }

.thanks p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* ─── LEGAL AND FAQ PAGES ──────────────────────────── */
.legal {
  max-width: 740px;
  margin: 0 auto;
  padding: 6rem 2.5rem 5rem;
}

.legal-notice {
  padding: 1.25rem 1.5rem;
  background: rgba(220, 38, 38, 0.04);
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 3px;
  font-size: 0.82rem;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 3rem;
}
.legal-notice strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8C1515;
  margin-bottom: 0.4rem;
}

.legal h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1rem;
}
.legal h1 em { font-style: italic; color: var(--pop); }

.legal .last-updated {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--mid);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.legal h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.legal h3 {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal p,
.legal li {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--body);
  line-height: 1.78;
  margin-bottom: 1rem;
}

.legal ul,
.legal ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal a {
  color: var(--body);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.15s;
}
.legal a:hover { border-color: var(--body); }

/* ─── FAQ ──────────────────────────────────────────── */
.faq-group { margin-bottom: 3rem; }

.faq-group-title {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--glow);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.faq-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
}
.faq-item:first-of-type { border-top: 1px solid var(--rule); }

.faq-q {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.faq-a {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--body);
  line-height: 1.78;
}

/* ─── 404 ──────────────────────────────────────────── */
.four {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 8rem 2.5rem 6rem;
}
.four h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.four h1 em { font-style: italic; color: var(--pop); }
.four p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}
.four-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ─── RESPONSIVE (single breakpoint at 960px) ────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: unset; }
  .hero-l { border-right: none; padding: 3.5rem 1.5rem 3rem; }
  .hero-r { min-height: 340px; order: -1; padding: 6rem 1.5rem 2.5rem; justify-content: flex-start; }

  nav { padding: 0 1.25rem; }
  .nav-a { display: none; }

  .wrap { padding: 0 1.5rem; }
  .section { padding: 5rem 0; }

  .who-head,
  .feats-head,
  .pricing-head,
  .stmt-inner { grid-template-columns: 1fr; gap: 2rem; }

  .cards, .feat-grid, .plans { grid-template-columns: 1fr; }

  .stmt { padding: 5rem 0; }
  .stmt-side { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-left: 0; padding-top: 2rem; }

  .end { padding: 6rem 1.5rem; }

  footer { padding: 1.5rem; flex-direction: column; align-items: flex-start; gap: 1.25rem; }

  .page-inner { padding: 4rem 1.5rem 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .legal { padding: 4rem 1.5rem 3rem; }
  .thanks { padding: 5rem 1.5rem 3rem; }
  .four { padding: 5rem 1.5rem 3rem; }
}
