/* =========================================================================
   VaelOne Analytics — website stylesheet
   Organized, unminified. Section order:
   1. Design tokens   2. Reset & base   3. Typography   4. Layout
   5. Buttons         6. Header / nav   7. Cards & grids  8. Mock previews
   9. Pricing        10. FAQ           11. Forms        12. Legal / 404
   13. Footer        14. Breakpoints
   ========================================================================= */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
  /* Ink & text */
  --ink:            #1b1a17;
  --ink-soft:       #3f3a33;
  --text:           #4f4a42;
  --text-muted:     #5d5750;
  --text-muted-2:   #6e6760;
  --text-faint:     #8c857b;
  --text-faintest:  #aaa398;

  /* Surfaces */
  --paper:          #f7f5f2;
  --surface:        #ffffff;
  --surface-alt:    #faf8f5;
  --surface-chip:   #f1eee8;

  /* Lines */
  --line:           #e6e1d9;
  --line-soft:      #edeae3;
  --line-faint:     #f4f1eb;
  --line-input:     #dcd7ce;
  --track:          #e9e5dd;
  --dot:            #e0e3ea;

  /* Greens (brand accent) */
  --green:          #1d6f5b;
  --green-dark:     #145243;
  --green-pale:     #e8f2ee;
  --green-mid:      #a9ccc0;
  --green-light:    #b9d6cc;
  --mint:           #7fc9b0;
  --select:         #d6e8e1;

  /* Dark theme blocks */
  --dark:           #181c1a;
  --dark-surface:   #202623;
  --dark-surface-2: #262d29;
  --dark-line:      #303733;
  --dark-line-2:    #2a312d;
  --dark-text:      #a9b3ac;
  --dark-text-2:    #c4cec8;
  --dark-text-3:    #93a89f;
  --dark-text-4:    #d6ded9;

  /* Signal colours */
  --amber:          #8a5a19;
  --gold:           #b0762a;
  --gold-pale:      #f2ead9;
  --error:          #b3392b;

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* Radii */
  --radius-xs: 2px;
  --radius-sm: 6px;
  --radius-md: 9px;
  --radius-lg: 13px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-pill: 20px;

  /* Shadows */
  --shadow-card: 0 24px 60px -30px rgba(20, 24, 31, 0.35);
  --shadow-dark: 0 30px 70px -35px rgba(0, 0, 0, 0.6);

  /* Layout */
  --container: 1160px;
  --gutter: 24px;
}

/* 2. RESET & BASE -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

img, svg { display: block; max-width: 100%; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

::selection { background: var(--select); }

input, select, textarea, button { font-family: inherit; }

:is(input, select, textarea, button, a):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 100;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.ta-c { text-align: center; }
.ta-r { text-align: right; }

/* 3. TYPOGRAPHY ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 20px;
}
.eyebrow--mint { color: var(--mint); margin-bottom: 16px; }

.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 22px;
  text-wrap: balance;
}
.h1--measure  { max-width: 16ch; }
.h1--spaced   { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; margin-bottom: 30px; }
.h1--legal    { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.05; margin-bottom: 40px; }
.h1--sm       { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.02em; margin-bottom: 16px; }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 26px;
  text-wrap: balance;
}
.h2--tight   { margin: 0; line-height: 1.06; }
.h2--mid     { font-size: clamp(26px, 3.6vw, 42px); margin-bottom: clamp(30px, 4vw, 48px); }
.h2--measure { max-width: 16ch; margin-bottom: clamp(34px, 5vw, 56px); }
.h2--sm      { font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 20px; }
.h2--invert  { color: #fff; }

.lead {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 16px;
  max-width: 52ch;
}
.lead--wide    { max-width: 60ch; }
.lead--narrow  { max-width: 44ch; font-size: 17px; margin-bottom: 30px; }
.lead--lg      { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.75; margin-bottom: 20px; max-width: none; }
.lead--gap     { margin-bottom: 40px; }
.lead--last    { margin-bottom: 0; }
.lead--invert  { color: var(--dark-text); font-size: 16.5px; line-height: 1.75; max-width: none; }

.body-text {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text);
  margin: 0 0 14px;
}
.body-text--last { margin-bottom: 0; }

.mono-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--text-muted-2);
  margin: 24px 0 0;
}

.fineprint {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  margin: 0;
}

.text-link-row { margin: 28px 0 0; }
.text-link { font-size: 15px; font-weight: 600; color: var(--green); }

/* 4. LAYOUT -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--md    { max-width: 900px; }
.container--sm    { max-width: 860px; }
.container--xs    { max-width: 820px; }
.container--tiny  { max-width: 760px; }
.container--tight { max-width: 560px; }

.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--hero        { padding: clamp(52px, 7vw, 104px) 0 clamp(56px, 7vw, 96px); }
.section--page-head   { padding: clamp(52px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.section--tall        { padding: clamp(56px, 8vw, 120px) 0; }
.section--tight-top   { padding-top: 0; }
.section--404         { padding: clamp(80px, 12vw, 160px) 0; }
.section--paper-white { background: var(--surface); }
.section--dark        { background: var(--dark); }

.bordered-y   { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.bordered-top { border-top: 1px solid var(--line-soft); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 72px);
}
.split--center { align-items: center; }
.split--start  { align-items: start; }

.section__intro { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.btn-row--spaced { margin-top: 40px; }

/* 5. BUTTONS ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-input); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); transform: translateY(-2px); }

.btn--outline-dark { background: transparent; color: #fff; border-color: #3a423c; }
.btn--outline-dark:hover { color: #fff; border-color: #4a9e86; }

.btn--sm    { padding: 11px 18px; font-size: 14px; border-radius: var(--radius-md); white-space: nowrap; flex-shrink: 0; min-width: max-content; }
.btn--lg    { padding: 16px 30px; font-size: 16px; border-radius: 11px; }
.btn--block { width: 100%; }

/* 6. HEADER / NAVIGATION ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 249, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px var(--gutter);
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { width: 34px; height: 28px; }
.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 500;
}
.brand__name strong { font-weight: 600; }
.brand__name-soft { color: var(--text-muted-2); }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__name-soft { color: var(--text-faint); }
.brand--footer { margin-bottom: 16px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); background: #efece6; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: var(--radius-xs);
  background: var(--green);
}
.nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 1px solid var(--line-input);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle__bar { width: 18px; height: 2px; border-radius: var(--radius-xs); background: var(--ink); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 8px var(--gutter) 18px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__list { list-style: none; margin: 0 0 12px; padding: 0; }
.mobile-nav__link {
  display: block;
  padding: 13px 6px;
  border-bottom: 1px solid #efece6;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

/* 7. CARDS & GRIDS ------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.card--hover:hover { border-color: var(--green-mid); transform: translateY(-3px); }
.card--surface { background: var(--surface); padding: 28px 26px; }

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green-pale);
  margin-bottom: 18px;
}

.card__index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faintest);
  margin: 0 0 16px;
}
.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 9px;
}
.card__title--lg { font-size: 19px; }
.card__body { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.card__body--sm { font-size: 13.5px; }

/* Hairline grid used for the "What's inside" and "5 steps" strips */
.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.split-grid--narrow { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.split-grid__cell { background: var(--surface); padding: 30px 26px; transition: background .2s ease; }
.split-grid__cell:hover { background: #f8f6f1; }
.split-grid--narrow .split-grid__cell { padding: 28px 22px; }

.step__num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 16px;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 13px;
  border: 1px solid var(--dark-line);
  border-radius: 7px;
  color: var(--dark-text-2);
  background: var(--dark-surface);
}

.notice {
  border-left: 3px solid var(--green);
  padding-left: clamp(20px, 3vw, 34px);
}

.cta-panel {
  background: var(--dark);
  border-radius: var(--radius-2xl);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.cta-panel .h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 16px; }
.cta-panel__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--dark-text);
  max-width: 46ch;
  margin: 0 auto 30px;
}

/* 8. MOCK PREVIEWS (static product imagery built in HTML/CSS) ------------ */
.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.mock--dark {
  background: var(--dark-surface);
  border-color: var(--dark-line);
  box-shadow: var(--shadow-dark);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-alt);
}
.mock__bar--dark {
  justify-content: space-between;
  padding: 14px 18px;
  background: transparent;
  border-bottom-color: var(--dark-line-2);
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.mock__file { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); margin-left: 8px; }
.mock__bar--dark .mock__file { margin-left: 0; }
.mock__count { font-family: var(--font-mono); font-size: 11px; color: #4a9e86; }

.mock__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-faint);
}
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-chip);
  color: var(--text-muted);
}
.chip--green { background: var(--green-pale); color: var(--green); }

.mock__scroll { overflow-x: auto; }
.mock__table { min-width: 520px; }
.mock__table--kw { min-width: 440px; }

.mock__row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.9fr 0.9fr 0.6fr;
  align-items: center;
  gap: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-faint);
  font-size: 12.5px;
  color: #2f2b26;
}
.mock__table--kw .mock__row { grid-template-columns: 1.8fr 0.8fr 0.9fr 0.7fr; padding: 12px 18px; font-size: 13px; }
.mock__row--head {
  padding: 10px 16px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.mock__row--head-dark {
  background: transparent;
  padding: 11px 18px;
  border-bottom-color: var(--dark-line-2);
  color: var(--text-muted-2);
  font-size: 10.5px;
}
.mock__row--dark { border-bottom-color: rgba(42, 49, 45, 0.5); color: var(--dark-text-4); }

.mock__op    { font-weight: 500; }
.mock__cat   { color: var(--text-muted-2); }
.mock__range { font-family: var(--font-mono); color: var(--ink-soft); }
.mock__comp  { letter-spacing: 2px; color: var(--green); font-size: 11px; }
.mock__score { text-align: right; font-family: var(--font-mono); font-weight: 500; color: var(--amber); }
.mock__kw    { font-family: var(--font-mono); color: var(--mint); }
.mock__vol   { color: var(--dark-text-2); }
.mock__trend { color: var(--dark-text-3); }
.mock__kwcat { color: #858d88; }

.mock__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px;
  background: var(--surface-alt);
  border-top: 1px solid var(--line-soft);
}
.mock__scores { flex: 1; min-width: 180px; }
.mock__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 10px;
}
.bar { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bar__label { width: 104px; font-size: 11.5px; color: var(--text-muted); }
.bar__track { flex: 1; display: block; height: 7px; border-radius: 4px; background: var(--track); overflow: hidden; }
.bar__fill  { display: block; height: 100%; border-radius: 4px; background: var(--green); }

/* 9. PRICING ------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  align-items: start;
}
.pkg {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
}
.pkg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pkg__name { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); margin: 0; }
.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--green);
  color: #fff;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.pkg__records { font-size: 13px; color: var(--text-muted-2); margin: 0 0 18px; }
.pkg__price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 4px;
}
.pkg__terms { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); margin: 0 0 24px; }
.pkg__rule { height: 1px; border: 0; background: var(--line-soft); margin: 0 0 22px; }
.pkg__features { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pkg__features li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.pkg__features img { flex-shrink: 0; margin-top: 5px; }

/* 10. FAQ (accordion) ---------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__heading { margin: 0; }
.faq__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 4px;
  cursor: pointer;
}
.faq__q {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--ink);
}
.faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  text-align: center;
}
.faq__panel p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  padding: 0 4px 24px;
  max-width: 64ch;
}
.faq__panel[hidden] { display: none; }

/* 11. FORMS -------------------------------------------------------------- */
.contact-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  background: var(--surface);
}
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 8px;
}
.contact-card__email { font-size: 16px; font-weight: 600; color: var(--green); }

.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.5vw, 40px);
}
.form { display: flex; flex-direction: column; gap: 18px; }
.form[hidden] { display: none; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field__req { color: var(--green); }
.field__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-input);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--surface);
}
.field__input--area { resize: vertical; }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: 12.5px; color: var(--error); margin: 6px 0 0; }
.field__error[hidden] { display: none; }

.checkbox { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.checkbox input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; }

.form-success { text-align: center; padding: 20px 0; }
.form-success[hidden] { display: none; }
.form-success__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 26px;
  margin: 0 auto 20px;
}
.form-success__title { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--ink); margin: 0 0 12px; }
.form-success__body { font-size: 15.5px; line-height: 1.7; color: var(--text); max-width: 40ch; margin: 0 auto 26px; }

/* 12. LEGAL & 404 -------------------------------------------------------- */
.legal-section { margin-bottom: 30px; }
.legal-section__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); margin: 0 0 12px; }
.legal-section__body { font-size: 15px; line-height: 1.72; color: var(--text); margin: 0 0 12px; }

.error-code {
  font-family: var(--font-mono);
  font-size: clamp(60px, 12vw, 120px);
  font-weight: 500;
  color: var(--green-mid);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 20px;
}
.section--404 .lead { margin: 0 auto 30px; }

/* 13. FOOTER ------------------------------------------------------------- */
.site-footer { background: var(--dark); padding: clamp(52px, 7vw, 80px) 0 40px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-line-2);
}
.site-footer__blurb { font-size: 14px; line-height: 1.65; color: var(--text-faint); margin: 0; max-width: 38ch; }
.site-footer__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.site-footer__links a { font-size: 14px; color: var(--dark-text); }
.site-footer__links a:hover { color: #fff; }
.site-footer__email { font-size: 14px; color: var(--mint); }
.site-footer__legal { padding-top: 28px; }
.site-footer__legal p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* 14. BREAKPOINTS -------------------------------------------------------- */
/* Tablet and below: swap the primary nav for the menu button (matches the
   approved design, which switches at 900px). */
@media (max-width: 899px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

/* Narrow desktop: keep the nav row on one line */
@media (min-width: 900px) and (max-width: 1080px) {
  .nav__list { gap: 2px; }
  .nav__link { padding: 8px 9px; font-size: 14px; }
  .nav .btn { margin-left: 4px; padding: 11px 14px; }
  .btn--sm { white-space: nowrap; }
}

/* Tablet (768px reference) */
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .split { gap: 32px; }
  .cta-panel { padding: 40px 28px; }
  .pkg { padding: 28px 24px; }
}

/* Mobile (390px reference) */
@media (max-width: 520px) {
  .split, .card-grid, .pricing-grid { grid-template-columns: 1fr; }
  .split-grid, .split-grid--narrow { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .nav-toggle, .brand { width: auto; }
  .steps__item { grid-template-columns: 1fr; gap: 10px; }
  .mock__foot { padding: 14px; }
  .bar__label { width: 92px; }
}

/* Process page step list (declared last: shares tokens above) */
.steps { list-style: none; margin: 0; padding: 0; }
.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.steps__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 600;
  color: var(--green-mid);
  line-height: 1;
}
.steps__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); color: var(--ink); margin: 0 0 10px; }
.steps__body { font-size: 16px; line-height: 1.7; color: var(--text); margin: 0; max-width: 56ch; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
