/* ============================================================
   Sharper Medicine — Clinical Trust design system
   Refined editorial-clinical. Navy chrome, cream surface,
   muted teal accent. Type and restraint over ornament.
   ============================================================ */

/* ---- Tokens — Sharper Medicine brand (navy #0A1A2F · teal #28D3C1 · ice #F4F8FC) ---- */
:root {
  /* Navy */
  --navy:      #0A1A2F;
  --navy-50:   #F0F5FA;
  --navy-100:  #DFE8F2;
  --navy-400:  #4E617A;
  --navy-700:  #12283F;
  --navy-900:  #050E1C;
  /* Brand teal (from logo — buttons & links) */
  --teal:      #0E8C80;   /* primary action — deep, AA-safe on white */
  --teal-50:   #E3F6F3;
  --teal-100:  #8FE9DE;   /* teal-toned text on navy */
  --teal-700:  #0A6459;   /* teal-toned text on cream/ice */
  --teal-bright: #28D3C1; /* logo teal — graphic marks & em text on navy only */
  /* Ice (cool off-whites, replaces cream) */
  --cream:     #F4F8FC;
  --cream-100: #EAF1F8;
  --cream-200: #DCE7F1;
  --cream-300: #CFDDE9;
  --white:     #FFFFFF;

  /* Type */
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;

  /* Hairline borders */
  --hairline: rgba(10, 26, 47, 0.14);
  --hairline-soft: rgba(10, 26, 47, 0.08);
  --hairline-on-navy: rgba(244, 248, 252, 0.14);

  /* Layout */
  --maxw: 1180px;
  --maxw-prose: 720px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 12px;

  /* Tweakable knobs (adjusted live via localStorage) */
  --accent: var(--teal);
  --accent-strong: #0A6459;
  --headline-weight: 600;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* ---- Display type ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--headline-weight);
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--navy);
}
p { text-wrap: pretty; }

.h-display { font-size: clamp(2.6rem, 5.6vw, 4rem); line-height: 1.04; }
.h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.15; }

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem;          /* ~11px */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  display: inline-block;
}
.on-navy .eyebrow, .navy-section .eyebrow, .navy-900-section .eyebrow { color: var(--teal-100); }

/* ---- Prose ---- */
.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--navy-400);
}
.on-navy .lead, .navy-section .lead, .navy-900-section .lead { color: rgba(255,255,255,0.88); }
.prose p { line-height: 1.65; color: var(--navy-700); font-size: 1.0625rem; }
.prose p + p { margin-top: 1.1em; }

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-prose { max-width: var(--maxw-prose); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }

.navy-section { background: var(--navy); color: rgba(255,255,255,0.86); }
.navy-section h1, .navy-section h2, .navy-section h3, .navy-section h4 { color: #fff; }
.navy-900-section { background: var(--navy-900); color: rgba(255,255,255,0.88); }
.navy-900-section h1, .navy-900-section h2, .navy-900-section h3 { color: #fff; }
.navy-900-section p { color: rgba(255,255,255,0.88); }
.cream-100-section { background: var(--cream-100); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,248,252,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline-soft);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 28px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
}
.brand-mark img { width: 100%; height: 100%; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.06rem; letter-spacing: -0.02em;
  color: var(--navy);
}
.brand-name b { font-weight: 600; }
.brand-name .sub { color: var(--navy); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  color: var(--navy-400);
  font-size: 0.875rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav a:hover { color: var(--navy); background: rgba(10,26,47,0.05); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--accent); }
.nav a.btn-primary:hover { background: var(--accent-strong); }
.nav a.is-active { color: var(--navy); font-weight: 600; }
.nav a.is-active::after {
  content: ""; display: block; height: 1.5px; background: var(--accent-strong);
  margin-top: 5px; border-radius: 2px;
}
.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--hairline); border-radius: 999px;
  background: transparent; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 1.5px; background: var(--navy);
  transition: transform .2s, opacity .2s; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); margin: 0;
    padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .2s, opacity .2s;
    box-shadow: 0 20px 40px rgba(10,26,47,0.1);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 6px; font-size: 1rem; border-bottom: 1px solid var(--hairline-soft); border-radius: 0; }
  .nav a.is-active::after { display: none; }
  .header-cta { margin: 14px 0 0; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 550; font-size: 0.9375rem;
  padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .16s, border-color .16s, color .16s, transform .05s;
  line-height: 1; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.on-navy .btn-outline, .navy-section .btn-outline, .navy-900-section .btn-outline, .page-hero .btn-outline {
  border-color: rgba(255,255,255,0.6); color: #fff;
}
.on-navy .btn-outline:hover, .navy-section .btn-outline:hover, .navy-900-section .btn-outline:hover, .page-hero .btn-outline:hover {
  background: #fff; color: var(--navy); border-color: #fff;
}
.btn-arrow { gap: 7px; }
.btn-arrow svg { width: 15px; height: 15px; }
.btn-block { width: 100%; justify-content: center; }

.textlink {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal-700); font-weight: 550; font-size: 0.9375rem;
}
.textlink svg { width: 14px; height: 14px; transition: transform .15s; }
.textlink:hover svg { transform: translateX(3px); }
.on-navy .textlink, .navy-section .textlink, .navy-900-section .textlink { color: var(--teal-100); }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
  transition: border-color .18s, background .18s;
}
.navy-section .card, .on-navy .card {
  background: var(--navy-700);
  border-color: var(--hairline-on-navy);
}
.card-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 430; color: var(--teal-700);
  line-height: 1; font-feature-settings: "ss01";
  display: block; margin-bottom: 16px;
}
.navy-section .card-num { color: var(--teal-100); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--navy-700); line-height: 1.6; font-size: 0.98rem; }
.navy-section .card p { color: rgba(255,255,255,0.74); }

/* Editorial indexed card — oversized ghost numeral, ruled head, hover */
.card--index {
  position: relative; overflow: hidden;
  border-top: 2px solid var(--accent);
  display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .18s, background .18s;
}
.card--index:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(10,26,47,0.1); }
.card--index:hover { background: var(--cream); border-color: var(--navy-400); }
.cream-100-section .card--index:hover { background: var(--white); }
.card--index .ghost {
  position: absolute; top: -14px; right: 10px;
  font-family: var(--font-display);
  font-size: 6.5rem; font-weight: 600; line-height: 1;
  color: var(--cream-200); pointer-events: none; user-select: none;
  z-index: 0;
}
.cream-100-section .card--index .ghost { color: var(--cream-300); }
.card--index > * { position: relative; z-index: 1; }
.card--index .c-index {
  font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-700);
  margin-bottom: 18px;
}
.card--index .c-arrow {
  margin-top: auto; padding-top: 18px;
  color: var(--teal-700); display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
}
.card--index .c-arrow svg { width: 14px; height: 14px; transition: transform .18s; }
.card--index:hover .c-arrow svg { transform: translateX(4px); }

/* ============================================================
   Hero split — editorial masthead layout
   ============================================================ */
.hero-split {
  display: grid; grid-template-columns: 1.55fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: end;
}
@media (max-width: 880px) { .hero-split { grid-template-columns: 1fr; gap: 40px; align-items: start; } }

/* Practice "calling card" — credential index */
.practice-card {
  border: 1px solid var(--hairline-on-navy);
  border-radius: var(--radius);
  background: var(--navy-700);
}
.practice-card .pc-head {
  padding: 22px 24px; border-bottom: 1px solid var(--hairline-on-navy);
  display: flex; align-items: center; gap: 14px;
}
.practice-card .pc-mono {
  width: 44px; height: 44px; flex: none; border: 1.5px solid var(--teal-100);
  border-radius: var(--radius); display: grid; place-items: center;
  font-family: var(--font-display); font-feature-settings: "ss01";
  font-size: 22px; color: var(--teal-100); font-weight: 500;
}
.practice-card .pc-name { font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; color: #fff; line-height: 1.1; }
.practice-card .pc-role { font-size: 0.75rem; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; margin-top: 3px; }
.practice-card dl { display: grid; }
.practice-card dl > div {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 13px 24px; border-bottom: 1px solid var(--hairline-on-navy);
}
.practice-card dl > div:last-child { border-bottom: 0; }
.practice-card dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.practice-card dd { font-size: 0.8125rem; color: rgba(255,255,255,0.82); text-align: right; }
.practice-card dd b { color: var(--teal-100); font-weight: 600; }

/* Stat line — hairline-separated mini metrics */
.statline {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--hairline-on-navy);
  margin-top: 36px;
}
.statline .stat { padding: 22px 28px 4px 0; margin-right: 28px; border-right: 1px solid var(--hairline-on-navy); }
.statline .stat:last-child { border-right: 0; margin-right: 0; }
.statline .s-num { font-family: var(--font-display); font-feature-settings: "ss01"; font-size: 1.9rem; font-weight: 430; color: #fff; line-height: 1; }
.statline .s-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 9px; letter-spacing: 0.02em; }
@media (max-width: 520px) { .statline .stat { padding-right: 18px; margin-right: 18px; } .statline .s-num { font-size: 1.5rem; } }

/* Drop cap for editorial lead paragraph */
.dropcap::first-letter {
  font-family: var(--font-display); font-feature-settings: "ss01";
  float: left; font-size: 3.4em; line-height: 0.78; font-weight: 430;
  padding: 6px 12px 0 0; color: var(--navy);
}

/* Pull quote / framed statement */
.pullquote {
  font-family: var(--font-display); font-feature-settings: "ss01";
  font-weight: 430; font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.22; letter-spacing: -0.015em; color: #fff;
  text-wrap: balance;
}
.pullquote em { font-style: italic; }

/* ============================================================
   Section heading block
   ============================================================ */
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .h2 { margin-bottom: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Teal emphasis in headlines (brand: SM two-tone) */
h1 em, h2 em, h3 em, .h-display em { font-style: normal; font-weight: var(--headline-weight); color: var(--accent-strong); }
.navy-section h1 em, .navy-section h2 em, .navy-900-section h1 em, .navy-900-section h2 em,
.on-navy h1 em, .on-navy h2 em, .page-hero h1 em { color: var(--teal-bright); }

/* ============================================================
   Editorial "index" system — ruled kicker
   01 ——————————— The process
   ============================================================ */
.kicker {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 22px;
}
.kicker .k-num {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600; color: var(--teal-700);
  letter-spacing: 0; line-height: 1;
}
.kicker .k-label {
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-700); white-space: nowrap;
}
.kicker .k-rule { flex: 1; height: 1px; background: var(--hairline); min-width: 24px; }
.navy-section .kicker .k-num, .navy-900-section .kicker .k-num,
.on-navy .kicker .k-num, .page-hero .kicker .k-num { color: var(--teal-100); }
.navy-section .kicker .k-label, .navy-900-section .kicker .k-label,
.on-navy .kicker .k-label, .page-hero .kicker .k-label { color: var(--teal-100); }
.navy-section .kicker .k-rule, .navy-900-section .kicker .k-rule,
.on-navy .kicker .k-rule, .page-hero .kicker .k-rule { background: var(--hairline-on-navy); }
.kicker.center { justify-content: center; }
.kicker.center .k-rule { display: none; }

/* ============================================================
   Masthead bar — running header rule above the hero
   ============================================================ */
.masthead {
  border-bottom: 1px solid var(--hairline-on-navy);
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 13px;
}
.masthead .m-item {
  font-family: var(--font-body); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.masthead .m-item.accent { color: var(--teal-100); }
@media (max-width: 620px) { .masthead .m-mid { display: none; } }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(60px, 9vw, 116px);
  border-bottom: 1px solid var(--navy-900);
}
.page-hero h1, .page-hero h2, .page-hero h3 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,0.88); }
.page-hero .eyebrow { color: var(--teal-100); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { margin-bottom: 20px; max-width: 16ch; }
.page-hero .lead { max-width: 60ch; }
.breadcrumb {
  font-size: 0.8125rem; color: rgba(255,255,255,0.5);
  margin-bottom: 28px; display: flex; gap: 8px; align-items: center;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ============================================================
   Disclaimer banner — "Not for emergencies"
   ============================================================ */
.disclaimer-banner {
  background: var(--cream-200);
  border-block: 1px solid var(--hairline);
}
.disclaimer-banner .wrap {
  display: flex; gap: 16px; align-items: flex-start;
  padding-block: 16px;
}
.disclaimer-banner .dot {
  flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: #B5462F; margin-top: 6px;
}
.disclaimer-banner p {
  font-size: 0.875rem; line-height: 1.55; color: var(--navy-700);
}
.disclaimer-banner b { font-weight: 600; color: var(--navy); }

/* ============================================================
   Credibility strip
   ============================================================ */
.cred-strip { background: var(--navy-900); }
.cred-strip .wrap {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  justify-content: center; align-items: center;
  padding-block: 22px; text-align: center;
}
.cred-strip span {
  font-size: 0.8125rem; color: rgba(255,255,255,0.62);
  letter-spacing: 0.01em;
}
.cred-strip .sep { color: rgba(255,255,255,0.24); }
.cred-strip .cred-label {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal-100);
}

/* Numbered ledger list */
.ledger { list-style: none; display: grid; gap: 0; }
.ledger li {
  display: flex; gap: 18px; align-items: baseline;
  padding: 18px 0; border-top: 1px solid var(--hairline);
  color: var(--navy-700); line-height: 1.5; font-size: 1.02rem;
}
.ledger li:last-child { border-bottom: 1px solid var(--hairline); }
.ledger .led-n {
  font-family: var(--font-display); font-feature-settings: "ss01";
  font-size: 0.9rem; font-weight: 500; color: var(--teal-700);
  flex: none; min-width: 24px;
}

/* ============================================================
   Image / photo placeholder slot
   ============================================================ */
.slot {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      var(--cream-200) 0 11px, var(--cream-100) 11px 22px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  display: grid; place-items: center;
  min-height: 200px; overflow: hidden;
}
.navy-section .slot, .on-navy .slot {
  background:
    repeating-linear-gradient(135deg,
      var(--navy-700) 0 11px, var(--navy) 11px 22px);
  border-color: var(--hairline-on-navy);
}
.slot .slot-label {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem; letter-spacing: 0.02em;
  color: var(--navy-400);
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: 6px 11px; border-radius: var(--radius);
  text-align: center; max-width: 80%;
}
.navy-section .slot .slot-label, .on-navy .slot .slot-label {
  color: rgba(255,255,255,0.66); background: var(--navy-900);
  border-color: var(--hairline-on-navy);
}

/* Geometric decorative block (no label) */
.geo {
  border-radius: var(--radius);
  background: var(--teal-50);
  position: relative; overflow: hidden;
}

/* ============================================================
   Forms
   ============================================================ */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label {
  font-size: 0.8125rem; font-weight: 600; color: var(--navy);
  letter-spacing: 0.01em;
}
.field label .req { color: #B5462F; }
.field .hint { font-size: 0.75rem; color: var(--navy-400); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--navy);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--navy-400); opacity: 0.7; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--navy-400); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #B5462F; }
.field .error-msg { font-size: 0.75rem; color: #B5462F; display: none; }
.field.invalid .error-msg { display: block; }

.form-note {
  background: var(--cream-100);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.8125rem; line-height: 1.55; color: var(--navy-700);
  display: flex; gap: 11px; align-items: flex-start;
}
.form-note .dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-700); margin-top: 6px; }
.form-success {
  display: none;
  background: var(--teal-50); border: 1px solid var(--teal-100);
  border-radius: var(--radius); padding: 20px 22px;
}
.form-success.show { display: block; }
.form-success h3 { font-size: 1.25rem; margin-bottom: 8px; }
.form-success p { color: var(--navy-700); font-size: 0.95rem; line-height: 1.6; }

/* ============================================================
   Two-column content (services, about)
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.two-col-wide { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 820px) { .two-col, .two-col-wide { grid-template-columns: 1fr; gap: 28px; } }

.def-list { counter-reset: defrow; }
.def-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px);
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--hairline);
  align-items: start;
  counter-increment: defrow;
}
.def-row:last-child { border-bottom: 1px solid var(--hairline); }
@media (max-width: 760px) { .def-row { grid-template-columns: 1fr; gap: 16px; } }
.def-row h3 { margin-bottom: 12px; }
.def-list .def-row .def-body h3 { display: flex; align-items: baseline; gap: 16px; }
.def-list .def-row .def-body h3 .d-num {
  font-family: var(--font-display); font-feature-settings: "ss01";
  font-size: 0.95rem; font-weight: 500; color: var(--teal-700);
  flex: none; letter-spacing: 0;
}
.def-row .def-body p { color: var(--navy-700); line-height: 1.6; }
.def-aside .aside-label {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-700); margin-bottom: 12px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.8125rem; color: var(--navy-700);
  background: var(--cream-100); border: 1px solid var(--hairline);
  padding: 6px 11px; border-radius: var(--radius);
}

/* Sidebar callout (how it works) */
.callout {
  background: var(--cream-100);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--teal-700);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.callout .aside-label {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal-700); margin-bottom: 12px;
}
.callout ul { list-style: none; display: grid; gap: 10px; }
.callout li { font-size: 0.9rem; line-height: 1.5; color: var(--navy-700); padding-left: 18px; position: relative; }
.callout li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.callout ul.cred-list { gap: 0; }
.callout ul.cred-list li { padding: 13px 0 13px 0; border-bottom: 1px solid var(--hairline); }
.callout ul.cred-list li::before { display: none; }
.callout ul.cred-list li:last-child { border-bottom: 0; }
.callout ul.cred-list li b { color: var(--navy); }

/* Negative / scope callout */
.scope-box {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(24px, 3vw, 36px);
}
.scope-box ul { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.scope-box li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--navy-700); line-height: 1.5; }
.scope-box .x {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #B5462F; color: #B5462F;
  display: grid; place-items: center; font-size: 11px; margin-top: 2px;
}
.check-list { list-style: none; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--navy-700); }
.check-list .ck {
  flex: none; width: 19px; height: 19px; border-radius: 50%;
  background: var(--teal-50); border: 1px solid var(--teal-100);
  display: grid; place-items: center; margin-top: 2px;
}
.check-list .ck svg { width: 11px; height: 11px; color: var(--teal-700); }
.on-navy .check-list li, .navy-section .check-list li { color: rgba(255,255,255,0.82); }
.navy-section .check-list .ck { background: rgba(209,223,223,0.14); border-color: var(--hairline-on-navy); }
.navy-section .check-list .ck svg { color: var(--teal-100); }

/* LOP step list (for-attorneys) */
.lop-steps { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px,3vw,32px) clamp(28px,4vw,56px); }
@media (max-width: 700px) { .lop-steps { grid-template-columns: 1fr; } }
.lop-steps li { display: flex; gap: 18px; align-items: flex-start; padding-top: 22px; border-top: 1px solid var(--hairline-on-navy); }
.lop-num { font-family: var(--font-display); font-weight: 430; font-size: 1.6rem; color: var(--teal-100); line-height: 1; flex: none; font-feature-settings: "ss01"; }
.lop-steps p { color: rgba(255,255,255,0.72); line-height: 1.6; margin-top: 8px; font-size: 0.96rem; }

/* ============================================================
   FAQ — native <details>
   ============================================================ */
.faq-group { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; gap: 20px; align-items: baseline;
  padding: 22px 0;
  font-family: var(--font-display); font-weight: 430;
  font-size: 1.12rem; color: var(--navy); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-icon {
  margin-left: auto; flex: none; width: 18px; height: 18px;
  position: relative; align-self: center;
}
.faq-item summary .q-icon::before,
.faq-item summary .q-icon::after {
  content: ""; position: absolute; background: var(--teal-700);
  transition: transform .2s, opacity .2s;
}
.faq-item summary .q-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq-item summary .q-icon::after  { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq-item[open] summary .q-icon::after { opacity: 0; transform: translateX(-50%) scaleY(0); }
.faq-item .faq-answer { padding: 0 38px 24px 0; }
.faq-item .faq-answer p { color: var(--navy-700); line-height: 1.65; font-size: 0.98rem; }
.faq-item .faq-answer p + p { margin-top: 0.8em; }

/* Contact definition list */
.contact-dl { display: grid; gap: 0; margin-top: 20px; }
.contact-dl > div { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.contact-dl > div:first-child { border-top: 1px solid var(--hairline); }
.contact-dl dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 6px; }
.contact-dl dd { color: var(--navy-700); line-height: 1.55; }
.contact-dl dd a { color: var(--teal-700); font-weight: 550; }
.contact-dl dd a:hover { text-decoration: underline; }

/* Long-form legal prose */
.legal-prose { max-width: var(--maxw-prose); }
.legal-prose h2 { font-size: 1.5rem; margin-top: 44px; margin-bottom: 14px; scroll-margin-top: 90px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { font-size: 1.15rem; margin-top: 24px; margin-bottom: 10px; }
.legal-prose p { color: var(--navy-700); line-height: 1.7; margin-bottom: 1em; }
.legal-prose ul { margin: 0 0 1em 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-prose li { color: var(--navy-700); line-height: 1.6; }
.legal-prose .updated { font-size: 0.8125rem; color: var(--navy-400); margin-bottom: 32px; }
.legal-prose a { color: var(--teal-700); text-decoration: underline; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--cream); color: var(--navy-400); border-top: 1px solid var(--hairline-soft); }
.site-footer .brand, .site-footer .brand-name { color: var(--navy); }
.footer-emergency {
  background: var(--white);
  border-bottom: 1px solid var(--hairline-soft);
}
.footer-emergency .wrap {
  display: flex; gap: 14px; align-items: flex-start; padding-block: 16px;
}
.footer-emergency .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #C25A41; margin-top: 5px; }
.footer-emergency p { font-size: 0.8125rem; line-height: 1.55; color: var(--navy-400); }
.footer-emergency b { color: var(--navy); font-weight: 600; }

.footer-main { padding-block: clamp(44px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .brand { margin-bottom: 16px; }
.footer-blurb { font-size: 0.875rem; line-height: 1.6; color: var(--navy-400); max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-body); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy-400); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 0.9rem; color: var(--navy-400); transition: color .15s; }
.footer-col a:hover { color: var(--navy); }
.footer-bottom {
  border-top: 1px solid var(--hairline-soft);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.8125rem; color: var(--navy-400); }
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom .legal a { font-size: 0.8125rem; color: var(--navy-400); }
.footer-bottom .legal a:hover { color: var(--navy); }

/* ============================================================
   CTA block (bottom of page)
   ============================================================ */
.cta-block { text-align: center; }
.cta-block h2 { margin-bottom: 14px; max-width: 18ch; margin-inline: auto; }
.cta-block .lead { max-width: 50ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Accessibility — skip link & focus
   ============================================================ */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--teal-700); color: #fff;
  padding: 11px 18px; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 550;
  transition: top .15s;
}
.skip-link:focus { top: 14px; }
:focus-visible {
  outline: 2px solid var(--teal-700);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-navy :focus-visible, .navy-section :focus-visible {
  outline-color: var(--teal-100);
}

/* ============================================================
   Entrance — subtle fade-up (hero text only, per spec)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) forwards; }
  /* Safety net: if the animation timeline is throttled/paused, force final state */
  .anim-ready .fade-up { opacity: 1; transform: none; }
  .fade-up.d1 { animation-delay: .08s; }
  .fade-up.d2 { animation-delay: .16s; }
  .fade-up.d3 { animation-delay: .24s; }
  .fade-up.d4 { animation-delay: .32s; }
  @keyframes fadeUp { to { opacity: 1; transform: none; } }
}

/* ============================================================
   Scroll reveal (site-wide, wired in site.js)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .rv-armed [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
  .rv-armed [data-rv].rv-in { opacity: 1; transform: none; }
}

/* Marquee credential strip */
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: sm-mq 34s linear infinite; }
.marquee-track span { white-space: nowrap; display: flex; align-items: center; }
@keyframes sm-mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; } }

/* ============================================================
   Utilities
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 28px); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.stack-sm { display: grid; gap: 12px; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.muted { color: var(--navy-400); }
.on-navy .muted, .navy-section .muted, .navy-900-section .muted { color: rgba(255,255,255,0.65); }
.tx-small { font-size: 0.8125rem; }
.divider { height: 1px; background: var(--hairline); border: 0; }
