/* ==========================================================================
   Sijillo — sijillo.com
   Built on the American Express design system (designmd slug: american-express),
   retinted to paper white + official navy with one confident green.
   Hand-written. No frameworks.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces — paper */
  --paper:          #F7F6F1;
  --paper-deep:     #EFEDE5;
  --canvas:         #FFFFFF;
  --surface-2:      #F1F0EA;
  --border:         #DCDACF;
  --border-subtle:  #E9E7DE;

  /* Ink */
  --ink:            #1A1A1A;
  --ink-muted:      #53565A;
  --ink-subdued:    #64666E;

  /* Official navy (premium surface, per the system's navy role) */
  --navy:           #00175A;
  --navy-deep:      #000C3D;
  --on-navy:        #FFFFFF;
  --on-navy-muted:  #B7C3D9;

  /* Action blue, retinted from Amex Blue toward official navy */
  --brand:          #1B4DA0;
  --brand-hover:    #2A5FB8;
  --brand-pressed:  #123870;
  --brand-tint:     #E9EFF9;
  --brand-line:     #C3D3EC;

  /* The single confident green — completed steps only */
  --green:          #006B47;
  --green-bright:   #00875A;
  --green-tint:     #E3F1EA;
  --green-line:     #B4D9C7;

  /* Semantic */
  --warning:        #A34600;
  --warning-tint:   #FBEFE4;
  --warning-line:   #EBCDAE;
  --error:          #C52720;
  --error-tint:     #FBEBEA;

  /* Radius — system scale */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-pill: 9999px;

  /* Elevation — navy-tinted, gentle */
  --sh-card:     0 1px 4px rgba(0, 23, 90, 0.10);
  --sh-elevated: 0 6px 24px rgba(0, 23, 90, 0.16);

  /* Motion — composed, never bouncy */
  --t-fast: 120ms;
  --t-base: 240ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Rhythm — 8px base */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --s9: 96px; --s10: 128px;

  --wrap: 1180px;
  --gutter: 20px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Public Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Any SVG whose box is set by its wrapper fills that wrapper */
.brand-mark svg,
.hero-seal svg,
.success-mark svg { width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 var(--s3);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.3rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.005em; }

p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-pressed); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand); }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

strong { font-weight: 600; }

/* Tabular figures for anything money- or count-shaped */
.num, .figure-value, .tier-amount, .strip-value, .cred-num, .panel-count-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* Focus — 2px brand on light, white on navy (per system) */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}
.hero :focus-visible,
.credibility :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.tier-navy :focus-visible {
  outline-color: #FFFFFF;
}

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

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--navy); color: #fff;
  padding: var(--s3) var(--s4);
  border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--s4); color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: clamp(48px, 6vw, 96px); }
.band-alt { background: var(--paper-deep); }

.section-head { max-width: 780px; margin-bottom: var(--s7); }
.section-lede {
  font-size: clamp(1.02rem, 0.97rem + 0.25vw, 1.18rem);
  color: var(--ink-muted);
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 var(--s3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-pressed);
}
.eyebrow-on-navy { color: var(--on-navy-muted); }

.fine {
  margin: var(--s4) 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-subdued);
}
.fine-on-navy { color: var(--on-navy-muted); }

/* Card / panel — white on paper, gentle navy shadow */
.panel {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  padding: clamp(20px, 2.6vw, 32px);
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: var(--s4);
  margin-bottom: var(--s5);
  border-bottom: 1px solid var(--border-subtle);
}
.panel-kicker {
  margin: 0 0 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-subdued);
}
.panel-title { margin: 0; font-size: 1.15rem; }
.panel-title-lg { font-size: 1.5rem; margin-bottom: var(--s2); }
.panel-count {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  white-space: nowrap;
}
.panel-count-num { font-weight: 700; color: var(--ink); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 0.9rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn-primary:active { background: var(--brand-pressed); border-color: var(--brand-pressed); }

.btn-ghost { background: transparent; color: var(--brand-pressed); border-color: var(--brand-line); }
.btn-ghost:hover { background: var(--brand-tint); border-color: var(--brand); color: var(--brand-pressed); }

.btn-ghost-invert { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost-invert:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

.btn-invert { background: #fff; color: var(--navy); border-color: #fff; }
.btn-invert:hover { background: var(--on-navy-muted); border-color: var(--on-navy-muted); color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.btn-row-center { justify-content: center; }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 246, 241, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}
.brand-mark { display: block; width: 30px; height: 30px; color: inherit; flex: none; }
.brand-word {
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.primary-nav { display: flex; align-items: center; gap: var(--s5); }
.primary-nav ul { display: flex; align-items: center; gap: var(--s5); }
.primary-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.primary-nav a:hover { color: var(--navy); border-bottom-color: var(--brand); }
.primary-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.primary-nav .nav-cta { color: #fff; padding: 9px 18px; border-bottom: 1px solid var(--brand); }
.primary-nav .nav-cta:hover { color: #fff; border-bottom-color: var(--brand-hover); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--navy);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 3px; }
.nav-toggle-bars span {
  display: block; width: 17px; height: 2px;
  background: currentColor; border-radius: 1px;
}

/* --------------------------------------------------------------------------
   6. Hero — full-width navy surface (the system's "premium hero")
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-navy);
  padding-block: clamp(48px, 6.5vw, 96px);
}
.hero h1, .hero h2, .hero h3 { color: var(--on-navy); }

.hero-seal {
  position: absolute;
  top: -70px;
  right: -110px;
  width: min(560px, 62vw);
  color: rgba(255, 255, 255, 0.075);
  pointer-events: none;
}
.hero-seal-sm { top: -90px; right: -80px; width: min(380px, 55vw); }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-lede {
  margin-top: var(--s5);
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.16rem);
  line-height: 1.62;
  color: var(--on-navy-muted);
}
.hero-note {
  margin-top: var(--s5);
  font-size: 0.85rem;
  color: var(--on-navy-muted);
  padding-top: var(--s4);
  border-top: 1px solid rgba(255,255,255,0.16);
}

.hero-compact { padding-block: clamp(44px, 5vw, 72px); }
.hero-compact-inner { position: relative; max-width: 760px; }

/* Hero file summary panel — modelled on the account summary card */
.file-panel {
  background: var(--canvas);
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-elevated);
  padding: clamp(20px, 2.4vw, 28px);
  border-top: 4px solid var(--green-bright);
}
.file-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s3);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--border-subtle);
}
.file-kicker {
  margin: 0 0 2px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-subdued);
}
.file-panel .file-title { margin: 0; font-size: 1.16rem; line-height: 1.25; color: var(--ink); }
.ref {
  flex: none;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--navy);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: 4px 8px;
  font-variant-numeric: tabular-nums;
}

.file-figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  padding: var(--s5) 0 var(--s4);
}
.figure { display: flex; flex-direction: column; gap: 2px; }
.figure-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.03em; color: var(--ink-muted);
}
.figure-value { font-size: 1.72rem; font-weight: 600; line-height: 1.1; color: var(--navy); }
.figure-of { font-size: 0.95rem; font-weight: 500; color: var(--ink-subdued); }

.meter {
  height: 8px;
  background: var(--surface-2);
  border-radius: var(--r-pill);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.meter-fill {
  display: block; height: 100%;
  background: var(--green-bright);
  border-radius: var(--r-pill);
}

.file-next {
  margin-top: var(--s5);
  padding: var(--s4);
  background: var(--brand-tint);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-md);
}
.file-next p { margin: var(--s3) 0 0; font-size: 0.88rem; line-height: 1.55; color: var(--ink); }
.file-foot { margin-top: var(--s4); font-size: 0.75rem; color: var(--ink-subdued); }

/* --------------------------------------------------------------------------
   7. Status chips — icon + text, never colour alone
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px 4px 8px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
}
.chip-icon { width: 14px; height: 14px; flex: none; }
.chip-done    { background: var(--green-tint);   color: var(--green);        border-color: var(--green-line); }
.chip-current { background: var(--brand-tint);   color: var(--brand-pressed);border-color: var(--brand-line); }
.chip-blocked { background: var(--warning-tint); color: var(--warning);      border-color: var(--warning-line); }
.chip-todo    { background: var(--surface-2);    color: var(--ink-muted);    border-color: var(--border); }

/* --------------------------------------------------------------------------
   8. Numbers strip
   -------------------------------------------------------------------------- */
.strip {
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
  padding-block: var(--s6);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.5fr;
  gap: var(--s5);
  align-items: center;
}
.strip-item {
  display: flex; flex-direction: column; gap: 2px;
  padding-left: var(--s4);
  border-left: 3px solid var(--border);
}
.strip-value { font-size: 2rem; font-weight: 700; line-height: 1; color: var(--navy); }
.strip-label { font-size: 0.82rem; font-weight: 500; color: var(--ink-muted); }
.strip-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-subdued);
  padding-left: var(--s5);
  border-left: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   9. Problem ledger — statement-list treatment
   -------------------------------------------------------------------------- */
.ledger {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  overflow: hidden;
}
.ledger-head, .ledger-row, .ledger-foot {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: var(--s4);
  align-items: baseline;
  padding: var(--s5) clamp(18px, 2.2vw, 28px);
}
.ledger-head {
  background: var(--navy);
  color: #fff;
  padding-block: var(--s3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.ledger-row { border-top: 1px solid var(--border-subtle); }
.ledger-row:first-of-type { border-top: 0; }
.ledger-what { display: block; font-size: 0.92rem; line-height: 1.55; color: var(--ink-muted); }
.ledger-what strong {
  display: block;
  font-size: 1.03rem;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.ledger-head .num { text-align: right; color: inherit; }
.ledger-row .num {
  text-align: right;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.ledger-foot {
  border-top: 2px solid var(--navy);
  background: var(--surface-2);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   10. Stepper — the signature component
   -------------------------------------------------------------------------- */
.stepper-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.stepper { margin-top: var(--s2); }

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--s4);
}

/* Rail: marker + connector */
.step-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.step-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--canvas);
  color: var(--ink-muted);
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.step-marker svg { width: 22px; height: 22px; }
.step-num { font-size: 0.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.step-line {
  flex: 1 1 auto;
  width: 0;
  min-height: 22px;
  border-left: 2px dashed var(--border);
}

/* Body */
.step-body { padding-bottom: var(--s5); min-width: 0; }
.step:last-child .step-body { padding-bottom: 0; }

.step-trigger {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px 10px 14px;
  margin-left: -14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.step-trigger:hover { background: var(--surface-2); border-color: var(--border-subtle); }

.step-headline { display: block; min-width: 0; }
.step-name {
  display: block;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.3;
}
.step-office {
  display: block;
  margin-top: 3px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.step-side {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex: none;
}
.step-meta {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.step-meta .num { font-weight: 700; color: var(--ink); }
.step-caret {
  width: 16px; height: 16px; flex: none;
  color: var(--ink-subdued);
  transition: transform var(--t-base) var(--ease);
}
.step-trigger[aria-expanded="true"] .step-caret { transform: rotate(180deg); }

.step-detail {
  margin-top: var(--s3);
  padding: var(--s4);
  background: var(--surface-2);
  border-left: 3px solid var(--border);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.step-detail[hidden] { display: none; }
.mini-list { margin-top: var(--s3); display: grid; gap: 7px; }
.mini-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.87rem;
  color: var(--ink-muted);
}
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 1.5px;
  background: var(--ink-subdued);
}

/* --- State: completed --- */
.step.is-done .step-marker {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.step.is-done .step-line { border-left: 2px solid var(--green-bright); }
.step.is-done .step-name { color: var(--ink); }

/* --- State: current --- */
.step.is-current .step-marker {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(27, 77, 160, 0.14);
}
.step.is-current .step-name { color: var(--navy); }
.step.is-current .step-trigger {
  background: var(--brand-tint);
  border-color: var(--brand-line);
}
.step.is-current .step-detail {
  background: var(--brand-tint);
  border-left-color: var(--brand);
  color: var(--ink);
}

/* --- State: blocked --- */
.step.is-blocked .step-marker {
  background: var(--warning-tint);
  border-style: dashed;
  border-color: var(--warning-line);
  color: var(--warning);
}
.step.is-blocked .step-name { color: var(--ink-muted); }
.step.is-blocked .step-office { color: var(--ink-subdued); }
.step.is-blocked .step-detail { background: var(--warning-tint); border-left-color: var(--warning); }

/* --- State: not started --- */
.step.is-todo .step-marker {
  background: var(--canvas);
  border-style: dashed;
  border-color: var(--border);
  color: var(--ink-subdued);
}
.step.is-todo .step-name { color: var(--ink-muted); }

/* Legend */
.stepper-foot {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--border-subtle);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-swatch {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--border); flex: none;
}
.sw-done    { background: var(--green); border-color: var(--green); }
.sw-current { background: var(--navy); border-color: var(--navy); }
.sw-blocked { background: var(--warning-tint); border-color: var(--warning); border-style: dashed; }
.sw-todo    { background: var(--canvas); border-style: dashed; }

/* Side notes */
.solution-notes { display: grid; gap: var(--s4); position: sticky; top: 96px; }
.note-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s5);
  box-shadow: var(--sh-card);
}
.note-card h3 { margin-bottom: var(--s2); font-size: 1rem; }
.note-card p { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   11. Guide: checklist + timeline
   -------------------------------------------------------------------------- */
.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.check-list { display: grid; }
.check {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: var(--s3);
  align-items: start;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.check:last-child { border-bottom: 0; }
.check-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: var(--r-sm);
  border: 2px solid var(--border);
  background: var(--canvas);
  flex: none;
  margin-top: 2px;
}
.check-box svg { width: 15px; height: 15px; }
.check-text { display: block; font-size: 0.87rem; color: var(--ink-subdued); line-height: 1.5; }
.check-text strong { display: block; font-size: 0.97rem; color: var(--ink); font-weight: 600; margin-bottom: 1px; }
.check-text em {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.check.ready .check-box { background: var(--green); border-color: var(--green); color: #fff; }
.check.ready .check-text em { color: var(--green); }
.check.attention .check-box { background: var(--warning-tint); border-color: var(--warning); color: var(--warning); }
.check.attention .check-text em { color: var(--warning); }
.check.missing .check-box { border-style: dashed; border-color: var(--ink-subdued); }
.check.missing .check-text em { color: var(--ink-muted); }
.check.missing .check-text strong { color: var(--ink-muted); }

/* Timeline */
.timeline { position: relative; padding-left: var(--s5); }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--navy), var(--brand-line));
}
.timeline li { position: relative; padding-bottom: var(--s5); }
.timeline li:last-child { padding-bottom: var(--s3); }
.tl-node {
  position: absolute;
  left: calc(var(--s5) * -1);
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--canvas);
  border: 3px solid var(--navy);
}
.tl-office { margin: 0; font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.tl-what { margin: 3px 0 6px; font-size: 0.86rem; color: var(--ink-muted); line-height: 1.5; }
.tl-meta {
  display: flex; align-items: center; gap: 9px;
  margin: 0;
  font-size: 0.82rem; font-weight: 600; color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.tl-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-subdued); display: block; }
.tl-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  margin-top: var(--s2);
  padding-top: var(--s4);
  border-top: 2px solid var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.tl-total-num { font-size: 1.5rem; font-weight: 700; color: var(--navy); }

/* --------------------------------------------------------------------------
   12. Features
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
}
.feature {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  padding: var(--s5);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.feature:hover { box-shadow: var(--sh-elevated); transform: translateY(-2px); }
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: var(--s4);
  border-radius: var(--r-md);
  background: var(--brand-tint);
  border: 1px solid var(--brand-line);
  color: var(--brand-pressed);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: var(--s2); font-size: 1.02rem; }
.feature p { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.6; }
.feature-quiet {
  background: var(--navy);
  border-color: var(--navy);
}
.feature-quiet:hover { transform: none; }
.feature-quiet h3 { color: #fff; }
.feature-quiet p { color: var(--on-navy-muted); }

/* --------------------------------------------------------------------------
   13. How it works rail
   -------------------------------------------------------------------------- */
.how-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--navy);
}
.how-rail li {
  padding: var(--s5) var(--s5) var(--s5) 0;
  border-right: 1px solid var(--border);
}
.how-rail li:last-child { border-right: 0; }
.how-rail li + li { padding-left: var(--s5); }
.how-num {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--s3);
}
.how-rail h3 { margin-bottom: var(--s2); font-size: 1.05rem; }
.how-rail p { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   14. Pricing tiers — echo of the card-art tile
   -------------------------------------------------------------------------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s5);
  align-items: start;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  padding: clamp(22px, 2.4vw, 30px);
}
.tier-feature { border: 2px solid var(--brand); box-shadow: var(--sh-elevated); }
.tier-flag {
  position: absolute;
  top: -13px; left: clamp(22px, 2.4vw, 30px);
  margin: 0;
  padding: 4px 12px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tier-navy {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: var(--navy);
  color: var(--on-navy);
}
.tier-name {
  margin: 0 0 var(--s3);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tier-navy .tier-name { color: var(--on-navy-muted); }
.tier-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--s2); }
.tier-amount { font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--navy); }
.tier-navy .tier-amount { color: #fff; }
.tier-unit { font-size: 0.8rem; font-weight: 500; color: var(--ink-subdued); }
.tier-navy .tier-unit { color: var(--on-navy-muted); }
.tier-sub {
  margin: 0 0 var(--s5);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.tier-navy .tier-sub { color: var(--on-navy-muted); border-bottom-color: rgba(255,255,255,0.2); }
.tier-list { display: grid; gap: 10px; margin-bottom: var(--s6); flex: 1 1 auto; }
.tier-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.89rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.tier-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.42em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.tier-navy .tier-list li { color: var(--on-navy-muted); }
.tier-navy .tier-list li::before { border-color: var(--green-bright); }
.tier-fine { margin-top: var(--s3); font-size: 0.76rem; color: var(--ink-subdued); }
.tier-navy .tier-fine { color: var(--on-navy-muted); }

/* --------------------------------------------------------------------------
   15. Credibility — navy band with the seal device
   -------------------------------------------------------------------------- */
.credibility {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-navy);
}
.credibility h2, .credibility h3 { color: var(--on-navy); }
.cred-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.cred-copy p { color: var(--on-navy-muted); font-size: 1rem; line-height: 1.65; }

.cred-figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid rgba(255,255,255,0.2);
}
.cred-figures div { display: flex; flex-direction: column; gap: 2px; }
.cred-num { font-size: 2rem; font-weight: 700; line-height: 1; color: #fff; }
.cred-label { font-size: 0.78rem; font-weight: 500; color: var(--on-navy-muted); }

.cred-side { display: grid; gap: var(--s5); }
.seal-figure { text-align: center; color: rgba(255,255,255,0.85); }
.seal-figure svg { width: min(220px, 60%); margin: 0 auto; }
.seal-caption {
  margin: var(--s4) 0 0;
  font-size: 0.78rem;
  color: var(--on-navy-muted);
  max-width: 34ch;
  margin-inline: auto;
}

.not-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-lg);
  padding: var(--s5);
}
.not-card h3 { margin-bottom: var(--s4); font-size: 1.02rem; }
.not-card ul { display: grid; gap: 10px; }
.not-card li {
  position: relative;
  padding-left: 22px;
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--on-navy-muted);
}
.not-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 12px; height: 2px;
  background: var(--on-navy-muted);
}

/* --------------------------------------------------------------------------
   16. Closing CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--navy);
  color: var(--on-navy);
  padding-block: clamp(48px, 5.5vw, 80px);
  border-top: 4px solid var(--green-bright);
}
.cta-inner { max-width: 700px; margin-inline: auto; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-navy-muted); font-size: 1.04rem; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-navy-muted);
  padding-top: clamp(40px, 4.5vw, 64px);
  font-size: 0.88rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.5fr;
  gap: clamp(28px, 3.5vw, 56px);
  padding-bottom: var(--s7);
}
.brand-footer { color: #fff; }
.footer-tag { margin: var(--s4) 0 var(--s2); color: var(--on-navy-muted); }
.footer-mail { margin: 0; font-weight: 600; }

.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.footer-nav h2, .footer-disclaimer h2 {
  margin: 0 0 var(--s4);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.footer-nav ul { display: grid; gap: 10px; }
.footer-disclaimer p {
  margin-bottom: var(--s3);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--on-navy-muted);
}
.footer-disclaimer strong { color: #fff; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: space-between;
  padding-block: var(--s4);
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 0.8rem;
}
.footer-base p { margin: 0; }

/* --------------------------------------------------------------------------
   18. Contact page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.form-intro { color: var(--ink-muted); font-size: 0.92rem; margin-bottom: var(--s6); }
.req-mark { color: var(--error); font-weight: 700; }

.field { margin-bottom: var(--s5); }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.field-optional {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ink-subdued);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 4px;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%),
                    linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-subdued); }
.field input:focus, .field select:focus, .field textarea:focus {
  background-color: var(--canvas);
  border-color: var(--brand);
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-subdued); }
.field .is-invalid { border-color: var(--error); background-color: var(--error-tint); }

.field-hint { margin: 6px 0 0; font-size: 0.79rem; color: var(--ink-subdued); }
.field-error {
  margin: 6px 0 0;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--error);
  padding-left: 20px;
  position: relative;
}
.field-error::before {
  content: "!";
  position: absolute;
  left: 0; top: 1px;
  display: flex; align-items: center; justify-content: center;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}
.field-error[hidden] { display: none; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--border-subtle);
}
.form-legal { margin: 0; flex: 1 1 240px; font-size: 0.78rem; color: var(--ink-subdued); }
.form-summary {
  margin: var(--s5) 0 0;
  padding: var(--s3) var(--s4);
  background: var(--error-tint);
  border: 1px solid var(--error);
  border-radius: var(--r-sm);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--error);
}
.form-summary[hidden], .form-success[hidden] { display: none; }

.form-success { text-align: center; padding: var(--s5) 0 var(--s2); }
.success-mark { display: block; width: 68px; margin: 0 auto var(--s4); color: var(--green); }
.form-success h3 { font-size: 1.3rem; margin-bottom: var(--s3); }
.form-success p { max-width: 46ch; margin-inline: auto; color: var(--ink-muted); font-size: 0.92rem; }
.form-success .btn { margin-top: var(--s5); }

.contact-side { display: grid; gap: var(--s4); }
.side-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  padding: var(--s5);
}
.side-card h2 {
  margin-bottom: var(--s4);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-pressed);
}
.side-card p { font-size: 0.87rem; color: var(--ink-muted); line-height: 1.6; }

.detail-list { margin: 0; }
.detail-list dt {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subdued);
  margin-top: var(--s4);
}
.detail-list dt:first-child { margin-top: 0; }
.detail-list dd {
  margin: 3px 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.side-card-steps { border-top: 3px solid var(--green-bright); }
.next-steps { display: grid; gap: var(--s4); }
.next-steps li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); align-items: start; }
.ns-num {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.ns-title { margin: 0 0 2px; font-size: 0.94rem; font-weight: 600; color: var(--ink); }
.next-steps p { margin: 0; font-size: 0.85rem; }

.side-card-warn { background: var(--surface-2); border-left: 3px solid var(--warning); }
.side-card-warn h2 { color: var(--warning); }
.side-card-warn p + p { margin-top: var(--s3); }

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip-note { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: var(--s4); border-top: 1px solid var(--border-subtle); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .stepper-layout,
  .guide-grid,
  .cred-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .solution-notes { position: static; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-flag { top: -13px; }
  .how-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-rail li:nth-child(2n) { border-right: 0; }
  .how-rail li:nth-child(n+3) { border-top: 1px solid var(--border); }
  .seal-figure svg { width: 180px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-elevated);
    padding: var(--s3) var(--gutter) var(--s5);
  }
  .primary-nav.is-open { display: flex; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav ul li { border-bottom: 1px solid var(--border-subtle); }
  .primary-nav ul a { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 0; }
  .primary-nav .nav-cta { margin-top: var(--s4); border-bottom: 1px solid var(--brand); }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .ledger-head, .ledger-row, .ledger-foot { grid-template-columns: 1fr; gap: var(--s2); }
  .ledger .num { text-align: left; }
  .ledger-head span:last-child { display: none; }
  .ledger-foot .num { display: none; }
  .file-figures { grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
  .figure-value { font-size: 1.4rem; }
  .step-trigger { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .step-side { width: 100%; justify-content: flex-start; }
  .step-caret { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .how-rail { grid-template-columns: 1fr; }
  .how-rail li { padding: var(--s5) 0; border-right: 0; border-top: 1px solid var(--border); }
  .how-rail li:first-child { border-top: 0; }
  .how-rail li + li { padding-left: 0; }
  .strip-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .cred-figures { grid-template-columns: 1fr; gap: var(--s4); }
  .file-figures { grid-template-columns: 1fr; gap: var(--s3); }
  .figure { flex-direction: row; align-items: baseline; justify-content: space-between; gap: var(--s3); }
  .figure-value { font-size: 1.5rem; }
  .step { grid-template-columns: 32px 1fr; gap: var(--s3); }
  .step-marker { width: 32px; height: 32px; }
  .step-marker svg { width: 18px; height: 18px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .nav-toggle-label { display: none; }
  .form-actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   20. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .feature:hover { transform: none; }
  .btn:active { transform: none; }
}

/* Print — the checklist is meant to be carried */
@media print {
  .site-header, .cta-band, .nav-toggle, .hero-seal { display: none; }
  body { background: #fff; }
  .panel, .feature, .tier { box-shadow: none; border-color: #999; }
}
