/* ==========================================================================
   TradePilot Pro - marketing site stylesheet
   Plain CSS, no framework. Mobile first, usable from 360px to 2560px.

   Contents
     1. Tokens        5. Header / footer      9. Pricing
     2. Base          6. Hero                10. Contact form
     3. Type           7. Home sections       11. Legal / prose
     4. Layout         8. Features            12. Lightbox, utilities
   ========================================================================== */

/* ---- 1. Tokens ------------------------------------------------------------ */
:root {
  /* Brand */
  --blue: #1A5CE6;
  --blue-deep: #134AB8;
  --blue-tint: #E8EFFC;
  --navy: #0B1A3A;
  --navy-2: #122650;

  /* Neutrals: warm white and charcoal */
  --paper: #F7F5F0;
  --paper-2: #EFEBE3;
  --white: #FFFFFF;
  --ink: #1C1E22;
  --ink-2: #3A3D44;
  --muted: #5F6470;
  --line: #D9D4CB;
  --line-strong: #B9B3A8;
  --on-dark: #F3F0EA;
  --on-dark-muted: #B4B8C4;
  --line-on-dark: rgba(243, 240, 234, 0.16);

  /* Status (used sparingly, mostly in sample data) */
  --ok: #1E7F46;
  --warn: #B4700A;
  --err: #B42318;

  --font-head: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --radius: 4px;
  --radius-lg: 8px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 7vw, 96px);
  --shadow: 0 1px 2px rgba(28, 30, 34, 0.06), 0 8px 24px -12px rgba(11, 26, 58, 0.25);

  /* Type scale: deliberately restrained */
  --h1: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --h2: clamp(1.55rem, 1.2rem + 1.3vw, 2.25rem);
  --h3: 1.25rem;
  --body: 1.0625rem;
  --small: 0.9375rem;
}

/* ---- 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; color: var(--navy); text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); text-underline-offset: 0.15em; }
a:hover { color: var(--blue-deep); }
strong { font-weight: 600; }
small { font-size: var(--small); }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.theme-dark :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 100;
  padding: 10px 14px; background: var(--navy); color: #fff; border-radius: var(--radius); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---- 3. Type helpers ------------------------------------------------------- */
.lede { font-size: 1.125rem; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.theme-dark .lede { color: var(--on-dark-muted); }
.eyebrow {
  display: block; margin: 0 0 12px; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
}
.theme-dark .eyebrow { color: #8FB0F5; }
.muted { color: var(--muted); }
.theme-dark .muted { color: var(--on-dark-muted); }
.mono { font-family: var(--font-mono); }
.measure { max-width: 62ch; }

/* ---- 4. Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.theme-dark { background: var(--navy); color: var(--on-dark); }
.theme-dark h1, .theme-dark h2, .theme-dark h3 { color: var(--on-dark); }
.theme-dark a { color: #8FB0F5; }
.theme-dark a:hover { color: #fff; }
.theme-dark.section + .section, .section + .theme-dark.section { border-top: 0; }
.theme-paper-2 { background: var(--paper-2); }
.theme-white { background: var(--white); }

.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 64ch; }
.section-head h2 { margin-bottom: 12px; }
.section-head .lede { margin: 0; }
.section-head--split { max-width: none; display: grid; gap: 12px 48px; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .section-head--split .lede { margin: 0; }
}

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* ---- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--navy); color: var(--navy); background: rgba(11, 26, 58, 0.04); }
.theme-dark .btn--secondary { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.theme-dark .btn--secondary:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn--on-dark { background: #fff; color: var(--navy); border-color: #fff; }
.btn--on-dark:hover { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.btn--lg { min-height: 50px; padding: 12px 26px; font-size: 1.0625rem; }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn svg { width: 18px; height: 18px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: "\2192"; transition: transform 120ms ease; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---- Icons ------------------------------------------------------------------ */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-box {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius);
  background: var(--blue-tint); color: var(--blue); margin-bottom: 16px;
}
.theme-dark .icon-box { background: rgba(255, 255, 255, 0.08); color: #8FB0F5; }

/* ---- 5. Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.site-header__brand { text-decoration: none; display: inline-flex; color: inherit; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__word { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--navy); line-height: 1; white-space: nowrap; }
.logo__pro { color: var(--blue); margin-left: 4px; font-size: 0.72em; letter-spacing: 0.04em; vertical-align: 0.1em; }
.logo--on-dark .logo__word { color: var(--on-dark); }
.logo--on-dark .logo__pro { color: #8FB0F5; }

.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__list a:not(.btn) {
  display: inline-block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: var(--radius);
}
.site-nav__list a:not(.btn):hover { background: rgba(11, 26, 58, 0.06); color: var(--navy); }
.site-nav__list a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.site-nav__signin { margin-left: 8px; }
.site-nav__cta { margin-left: 4px; }

.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--navy); cursor: pointer; font-weight: 600;
}
.nav-toggle__bars { position: relative; width: 18px; height: 2px; background: currentColor; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform 150ms ease; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; }
  .site-nav__list a:not(.btn) { padding: 12px 10px; font-size: 1.0625rem; }
  .site-nav__signin { margin: 8px 0 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .site-nav__cta { margin: 8px 0 0; }
  .site-nav__cta .btn { width: 100%; }
}

/* ---- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: clamp(40px, 5vw, 64px) 0 28px; font-size: var(--small); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.site-footer__brand p { max-width: 36ch; margin-top: 16px; }
.site-footer__col h2 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.site-footer__col li { margin-bottom: 8px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-on-dark); font-size: 0.875rem; }

/* ---- 6. Hero ------------------------------------------------------------------ */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); background: var(--paper); position: relative; }
.hero::after {
  /* subtle rule, a nod to a drafting title block, nothing more */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
}
.hero__inner { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.hero h1 { margin-bottom: 18px; max-width: 18ch; }
.hero__lede { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.2rem); max-width: 46ch; color: var(--ink-2); margin-bottom: 24px; }
.hero__note { margin-top: 14px; font-size: var(--small); color: var(--muted); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .icon { width: 18px; height: 18px; color: var(--blue); }
.hero__shot { min-width: 0; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); background: var(--paper); }
.page-hero h1 { max-width: 22ch; margin-bottom: 14px; }
.page-hero .lede { margin: 0; }

/* ---- Screenshots ------------------------------------------------------------- */
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.shot__bar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.shot__dots { display: inline-flex; gap: 5px; }
.shot__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.shot__url { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot img { width: 100%; height: auto; background: #fff; }
.shot--crop img { aspect-ratio: var(--crop, 16 / 10); object-fit: cover; object-position: var(--crop-pos, top left); }
.shot__caption { display: block; padding: 8px 12px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); background: var(--paper-2); }
.theme-dark .shot { border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.8); }
.theme-dark .shot__bar, .theme-dark .shot__caption { background: #17284F; border-color: rgba(255, 255, 255, 0.1); color: var(--on-dark-muted); }
.theme-dark .shot__url { color: var(--on-dark-muted); }
.theme-dark .shot__dots i { background: rgba(255, 255, 255, 0.3); }

.phone { margin: 0; width: 100%; max-width: 220px; border-radius: 28px; padding: 8px; background: #111; box-shadow: var(--shadow); }
.phone__screen { border-radius: 20px; overflow: hidden; background: #fff; }
.phone img { width: 100%; height: auto; }

/* Enlargeable screenshots */
.zoomable { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; border-radius: var(--radius-lg); }
.zoomable:focus-visible { outline-offset: 4px; }
.zoomable .shot { transition: box-shadow 150ms ease; }
.zoomable:hover .shot { box-shadow: 0 1px 2px rgba(28, 30, 34, 0.06), 0 14px 32px -14px rgba(11, 26, 58, 0.4); }
.zoomable__hint {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border-radius: 3px; background: rgba(11, 26, 58, 0.85); color: #fff; font-size: 0.75rem; font-weight: 500;
  opacity: 0; transition: opacity 150ms ease; pointer-events: none;
}
.zoomable:hover .zoomable__hint, .zoomable:focus-visible .zoomable__hint { opacity: 1; }
.zoomable__hint .icon { width: 14px; height: 14px; }
@media (hover: none) { .zoomable__hint { opacity: 1; } }

/* ---- 7. Home sections ---------------------------------------------------------- */
/* Three outcomes */
.outcomes { display: grid; gap: 28px; }
@media (min-width: 900px) { .outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.outcome { padding-top: 20px; border-top: 2px solid var(--navy); }
.outcome h3 { margin-bottom: 10px; }
.outcome p { color: var(--ink-2); margin-bottom: 12px; }
.outcome ul { display: grid; gap: 6px; margin: 0 0 14px; color: var(--ink-2); font-size: var(--small); }
.outcome li { padding-left: 18px; position: relative; }
.outcome li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 2px; background: var(--blue); }

/* Job walkthrough */
.job-intro { display: grid; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 44px); }
@media (min-width: 900px) { .job-intro { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.job-card {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 14px 18px;
  border: 1px solid var(--line-on-dark); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); font-size: 0.875rem;
}
.job-card dt { color: var(--on-dark-muted); }
.job-card dd { margin: 0; font-weight: 500; }
.steps { display: grid; gap: clamp(28px, 4vw, 40px); counter-reset: step; }
.step { display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) {
  .step { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
  .step:nth-child(even) { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .step:nth-child(even) .step__text { order: 2; }
}
.step__label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8FB0F5; }
.step__label::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--on-dark-muted); font-size: 1rem; }
.step__fact { margin-top: 12px; padding: 10px 12px; border-left: 2px solid var(--blue); background: rgba(255, 255, 255, 0.04); font-size: 0.875rem; color: var(--on-dark); }
.step__fact strong { color: #fff; }

/* Field section: dispatch board with phone, board stays dominant */
.field-media { display: grid; gap: 20px; align-items: start; }
@media (min-width: 700px) { .field-media { grid-template-columns: minmax(0, 1fr) 200px; align-items: center; } }
@media (min-width: 1000px) { .field-media { grid-template-columns: minmax(0, 1fr) 220px; } }
.field-media .phone { justify-self: center; }

/* Two column text + media */
.split { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .split--flip > :first-child { order: 2; } }
.split h2 { margin-bottom: 14px; }
.split p { color: var(--ink-2); }
.split .checklist { margin-top: 18px; }
.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A5CE6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.theme-dark .checklist li::before { background-color: rgba(255, 255, 255, 0.1); }

/* Access: browser / desktop / phone */
.access { display: grid; gap: 20px; }
@media (min-width: 760px) { .access { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.access__item { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.access__item h3 { margin-bottom: 6px; font-size: 1.125rem; }
.access__item p { color: var(--ink-2); font-size: var(--small); }
.access__item .icon-box { margin-bottom: 14px; }

/* Trust facts */
.facts { display: grid; gap: 20px 32px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact h3 { font-size: 1rem; margin-bottom: 6px; }
.fact p { color: var(--ink-2); font-size: var(--small); }

/* CTA band */
.cta-band { background: var(--blue); color: #fff; padding: clamp(40px, 5vw, 64px) 0; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; }
.cta-band__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band .btn--secondary { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.cta-band .btn--secondary:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }
.cta-band :focus-visible { outline-color: #fff; }

/* ---- 8. Features ---------------------------------------------------------------- */
.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump-nav a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.875rem; font-weight: 500; color: var(--navy); text-decoration: none; background: var(--white); }
.jump-nav a:hover { border-color: var(--navy); }
.feature-block { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.feature-block:first-of-type { border-top: 0; }
.feature-block__inner { display: grid; gap: clamp(24px, 4vw, 40px); }
@media (min-width: 960px) { .feature-block__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.feature-block h2 { margin-bottom: 12px; }
.feature-block .summary { color: var(--ink-2); font-size: 1.0625rem; margin-bottom: 20px; }
.feature-list { display: grid; gap: 10px; font-size: var(--small); }
.feature-list li { padding-left: 22px; position: relative; line-height: 1.5; color: var(--ink-2); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 10px; height: 2px; background: var(--blue); }
.feature-list li strong { color: var(--ink); font-weight: 600; }
.feature-block__media { display: grid; gap: 20px; min-width: 0; }
@media (min-width: 960px) { .feature-block__media { position: sticky; top: 88px; } }
.feature-block__media--phone { grid-template-columns: minmax(0, 1fr) 160px; align-items: center; }
@media (min-width: 1100px) { .feature-block__media--phone { grid-template-columns: minmax(0, 1fr) 190px; } }
@media (max-width: 520px) { .feature-block__media--phone { grid-template-columns: 1fr; } .feature-block__media--phone .phone { justify-self: center; } }
.feature-block__media .phone { max-width: 190px; }
.note-list { font-size: 0.875rem; color: var(--muted); padding: 12px 14px; border-left: 2px solid var(--line-strong); margin-top: 16px; }

/* ---- 9. Pricing ------------------------------------------------------------------- */
.plan-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.plan-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.plan-card__price { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; color: var(--navy); margin: 14px 0 4px; }
.plan-card__price small { display: block; font-family: var(--font-body); font-size: var(--small); font-weight: 400; color: var(--muted); margin-top: 2px; }
.plan-card .checklist { margin: 20px 0 24px; font-size: var(--small); }
.plan-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; } }
.plan-notes { display: grid; gap: 20px; }
.plan-notes h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.plan-notes p { color: var(--ink-2); font-size: var(--small); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.table-wrap table { min-width: 560px; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: var(--small); }
.table-wrap thead th { background: var(--paper-2); font-weight: 600; color: var(--navy); }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody th { font-weight: 500; color: var(--ink); }
.table-wrap td.status { white-space: nowrap; }
.status-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.status-pill--yes { background: #E3F3E8; color: var(--ok); }
.status-pill--partial { background: #FBEFD6; color: var(--warn); }
.status-pill--no { background: var(--paper-2); color: var(--muted); }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-weight: 600; font-size: 1.0625rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-weight: 400; color: var(--muted); transition: transform 150ms ease; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--blue); }
.faq__body { padding: 0 4px 20px; color: var(--ink-2); max-width: 70ch; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line-strong); border-left: 4px solid var(--blue); border-radius: var(--radius); background: var(--white); margin-bottom: 28px; font-size: var(--small); }
.notice .icon { color: var(--blue); flex: none; margin-top: 2px; }
.notice--draft { border-left-color: var(--warn); }
.notice--draft .icon { color: var(--warn); }

/* ---- 10. Contact form --------------------------------------------------------------- */
.form-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .form-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; } }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--small); color: var(--navy); }
.field .req { color: var(--err); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 92, 230, 0.2); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
.field .error { font-size: 0.8125rem; color: var(--err); font-weight: 500; }
.field .error:empty { display: none; }
.form__consent { font-size: 0.8125rem; color: var(--muted); max-width: 60ch; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 18px 20px; border-radius: var(--radius); border: 1px solid; margin-bottom: 24px; }
.alert h2 { font-size: 1.125rem; margin-bottom: 6px; }
.alert p { margin: 0; font-size: var(--small); }
.alert--success { background: #E3F3E8; border-color: #A9D8B8; color: #14532D; }
.alert--success h2 { color: #14532D; }
.alert--error { background: #FBE7E5; border-color: #F0B8B3; color: #7A1B14; }
.alert--error h2 { color: #7A1B14; }
.alert ul { padding-left: 18px; list-style: disc; margin-top: 6px; }

.contact-aside { display: grid; gap: 16px; }
.box { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.box h2 { font-size: 1.0625rem; margin-bottom: 8px; }
.box p { font-size: var(--small); color: var(--ink-2); }
.box ol { padding-left: 18px; list-style: decimal; font-size: var(--small); color: var(--ink-2); display: grid; gap: 6px; }

/* ---- 11. Legal / prose ---------------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; list-style: disc; display: grid; gap: 6px; margin-bottom: 1em; }
.prose .meta { font-size: var(--small); color: var(--muted); margin-bottom: 24px; }
.prose .placeholder { background: #FBEFD6; padding: 0 4px; border-radius: 2px; font-style: normal; }

/* ---- 12. Lightbox, reveal, utilities ------------------------------------------------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1600px); max-height: 94vh; width: auto; }
.lightbox::backdrop { background: rgba(11, 26, 58, 0.88); }
.lightbox__inner { position: relative; display: grid; gap: 10px; }
.lightbox img { max-width: min(96vw, 1600px); max-height: 84vh; width: auto; height: auto; border-radius: var(--radius-lg); background: #fff; margin: 0 auto; }
.lightbox__caption { color: var(--on-dark); font-size: var(--small); text-align: center; }
.lightbox__close {
  position: absolute; top: 10px; right: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius); background: rgba(11, 26, 58, 0.85); color: #fff; cursor: pointer; font-size: 0.875rem; font-weight: 600;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.15); }
.lightbox__close:focus-visible { outline-color: #fff; }
.lightbox .icon { width: 16px; height: 16px; }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 400ms ease, transform 400ms ease; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
