/* Clearline Connectivity — site styles, v2
   Elevated pass: navy hero, paper ground, soft rounded surfaces,
   pill buttons, large type with italic emphasis.
   One sans (Inter, matching the wordmark), navy base, one blue accent, amber for the impact zone. */

:root {
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --ink: #082856;
  --body: #3E4C5E;
  --muted: #60738E;
  --hairline: #E2E7EE;
  --hairline-soft: #ECF0F5;
  --accent: #0072C6; /* Clear Blue deepened for AA small text; display accents use --accent-bright */
  --accent-bright: #008FF2;
  --accent-ink: #FFFFFF;
  --accent-soft: #E1F1FE;
  --amber: #8A5F26;
  --amber-line: #C9822E;
  --amber-soft: #FBF3E6;
  --amber-stroke: #E2CFA8;
  --band: #061F46;
  --band-ink: #F7FAFD;
  --band-muted: #9FB2C8;
  --band-soft: #B9CADF;
  --band-hairline: #27405E;
  --focus: #0072C6;
  --error: #B3261E;
  --radius-card: 18px;
  --radius-panel: 24px;
  --shadow-card: 0 1px 2px rgba(15, 32, 51, 0.04), 0 14px 36px -18px rgba(15, 32, 51, 0.22);
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* Single-theme site by choice: light, per the brand direction. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
}

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

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; margin: 0; }
.eyebrow { text-wrap: balance; }
p, li, figcaption, summary { text-wrap: pretty; }
h1 { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 54px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; }
h2 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 38px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.14; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.25; }
h1 em, h2 em { font-style: normal; color: var(--accent-bright); }
p { margin: 0; color: var(--body); }

.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section { padding-block: 72px; }
.section-tight { padding-block: 46px; }
.alt { background: var(--surface); }

.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-40 { display: flex; flex-direction: column; gap: 36px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  z-index: 50;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-logo { display: block; height: 45px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-nav > a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); }
.site-nav > a:hover { color: var(--accent); }
.site-nav > a[aria-current="page"] { color: var(--accent); }
.site-nav > a.btn { color: var(--accent-ink); }

.nav-toggle {
  display: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}

/* Buttons — pills */
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px rgba(0, 114, 198, 0.55); }
.btn-primary:hover { filter: brightness(0.95); }
.btn-ghost { color: var(--ink); border-color: #C9D2DE; background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.site-nav .btn { padding: 6px 16px; font-size: 14px; box-shadow: 0 5px 12px -8px rgba(0, 114, 198, 0.45); }

/* Hero */
.hero { padding-block: 72px; }
.hero-grid { display: flex; gap: 64px; align-items: center; flex-wrap: wrap; }
.hero-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero-copy p.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; max-width: 54ch; }
.hero-figure { flex: 1.4 1 480px; min-width: 0; }
.hero-figure figcaption { font-size: 13px; color: var(--muted); padding-top: 14px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Dark hero (home) */
.hero-dark { background: var(--band); padding-block: 78px 84px; }
.hero-dark .eyebrow { color: var(--band-muted); }
.hero-dark h1 { color: #FFFFFF; }
.hero-dark .eyebrow { display: inline-flex; align-items: flex-start; gap: 11px; }
.hero-dark .eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--accent-bright); flex: 0 0 auto; margin-top: 5px; }
.hero-dark h1 em { color: var(--accent-bright); }
.hero-dark p.lede { color: var(--band-soft); }
.hero-dark .btn-primary { background: #FFFFFF; color: var(--band); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.5); }
.hero-dark .btn-primary:hover { filter: none; background: #EDF2F9; }
.hero-dark .btn-ghost { color: #FFFFFF; border-color: #3A5574; background: transparent; }
.hero-dark .btn-ghost:hover { border-color: var(--band-muted); }
.hero-dark figcaption { color: var(--band-muted); }

.figure-card {
  background: var(--surface);
  border-radius: 20px;
  padding: clamp(16px, 2.4vw, 28px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.45);
}
.figure-card svg { display: block; }

.hero:not(.hero-dark) h1 { font-size: clamp(32px, 4vw, 46px); }

/* Fused card strip: the seams are literal */
.card-fuse {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 2px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.card-fuse .card { border-radius: 4px; box-shadow: none; transition: none; }
.card-fuse .card:hover { transform: none; box-shadow: none; }

/* Statement section */
.statement { text-align: center; }
.statement h2 { font-size: clamp(28px, 3.7vw, 44px); }
.statement .eyebrow { color: var(--accent); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card {
  min-width: 0;
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 32, 51, 0.05), 0 22px 44px -18px rgba(15, 32, 51, 0.28); }
.card p { font-size: 15px; line-height: 1.6; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  padding-top: 6px;
  color: var(--ink);
}
.card .card-link::before {
  content: "\2192";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.16s ease, transform 0.16s ease;
}
.card .card-link:hover { color: var(--accent); }
.card .card-link:hover::before { background: var(--accent); transform: translateX(2px); }

/* The migration package (home): one framed object, six component tiles */
.pkg { border-radius: 18px; overflow: hidden; background: var(--hairline); box-shadow: var(--shadow-card); }
.pkg-head { background: var(--band); display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; padding: 17px 26px; }
.pkg-eyebrow { font-size: 12px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--band-ink); }
.pkg-note { font-size: 13.5px; color: var(--band-soft); }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto 1fr 1fr; gap: 1px; }
.pkg-step { background: var(--bg); display: flex; align-items: center; gap: 9px; padding: 13px 14px; min-width: 0; }
.pkg-step h3 { font-size: 12px; font-weight: 650; line-height: 1.3; }
.pkg-num {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent); background: var(--surface);
  font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; justify-content: center;
}
.pkg-num--first { background: var(--accent); color: #FFFFFF; }
.pkg-tile { background: var(--surface); padding: 18px 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; min-height: 122px; }
.pkg-tile a { font-size: 15.5px; font-weight: 650; line-height: 1.32; letter-spacing: -0.005em; color: var(--ink); text-decoration: none; text-wrap: balance; }
.pkg-tile a:hover, .pkg-tile a:focus-visible { color: var(--accent); text-decoration: underline; }
.pkg-arrow { color: var(--accent); font-weight: 500; white-space: nowrap; }
.pkg-line { font-size: 13.5px; line-height: 1.55; color: var(--body); }
.pkg-tile .badge-start { margin-bottom: 1px; }
.pkg-sh1 { grid-column: 1; grid-row: 1; }
.pkg-sh2 { grid-column: 2; grid-row: 1; }
.pkg-sh3 { grid-column: 3; grid-row: 1; }
.pkg-sh4 { grid-column: 4; grid-row: 1; }
.pkg-t-assessment { grid-column: 1; grid-row: 2 / span 2; }
.pkg-t-comms { grid-column: 2; grid-row: 2; }
.pkg-t-guides { grid-column: 2; grid-row: 3; }
.pkg-t-playbook { grid-column: 3; grid-row: 2; }
.pkg-t-tools { grid-column: 3; grid-row: 3; }
.pkg-t-guidance { grid-column: 4; grid-row: 2 / span 2; }
@media (max-width: 840px) {
  .pkg-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .pkg-grid .pkg-step, .pkg-grid .pkg-tile { grid-column: auto; grid-row: auto; }
  .pkg-tile { min-height: 0; }
}

/* Round arrow chip (insight cards) */
.chip-arrow {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Offerings page phases */
.phase { display: flex; flex-direction: column; gap: 22px; }
.phase + .phase { margin-top: 64px; }
.phase-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.phase-num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 6px 13px; }
.phase-head h2 { font-size: 26px; letter-spacing: -0.01em; }
.phase-head::after { content: ""; flex: 1; height: 1px; background: var(--hairline); align-self: center; min-width: 48px; }
.offer-card h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; }
.offer-card ul { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.offer-card li { font-size: 15px; line-height: 1.55; color: var(--body); position: relative; padding-left: 18px; }
.offer-card li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.badge-start { width: fit-content; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }

.offer-card.offer-card--wide {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  border: 1.5px solid var(--accent);
}
.offer-card--wide .offer-left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.offer-card--wide h3 { font-size: 23px; }
.offer-card--wide .offer-fit { margin-top: 6px; }
@media (max-width: 900px) {
  .offer-card.offer-card--wide { grid-template-columns: 1fr; }
}

.offer-card.offer-card--band { background: var(--band); border-color: transparent; }
.offer-card--band h3 { color: var(--band-ink); }
.offer-card--band .offer-fit strong { color: var(--amber-stroke); }
.offer-card--band li, .offer-card--band .offer-fit { color: var(--band-soft); }
.offer-card--band li::before { background: var(--band-soft); }
.offer-card--band .offer-fit { border-top-color: var(--band-hairline); }
.offer-card--band .offer-chip { background: transparent; border: 1px solid var(--band-hairline); color: var(--band-soft); }

.offer-card:target { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Offerings compact grid */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 22px; }
.offer-card {
  min-width: 0;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.offer-card h2 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
.offer-chip {
  align-self: flex-start;
  width: fit-content;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 14px;
}
.offer-card .offer-body { font-size: 15px; line-height: 1.65; }
.offer-fit {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--hairline-soft);
  padding-top: 14px;
  margin-top: auto;
}
.offer-fit strong { color: var(--amber); font-weight: 600; }

/* Published fees: quiet lines on the offering cards */
.offer-fee {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid var(--hairline-soft);
  padding-top: 12px;
}
.offer-fee p { font-size: 15px; color: var(--body); }
.fee-amt { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.offer-card--band .offer-fee { border-top-color: var(--band-hairline); }

/* Published fee module: tier cells on a quiet panel, for the two priced offerings */
.fee-panel { display: flex; background: var(--bg); border: 1px solid var(--hairline-soft); border-radius: 10px; overflow: hidden; margin-top: 6px; }
.fee-tier { flex: 1 1 0; padding: 13px 18px; }
.fee-tier + .fee-tier { border-left: 1px solid var(--hairline-soft); }
.fee-num { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.fee-cond { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
@media (max-width: 480px) {
  .fee-panel { flex-direction: column; }
  .fee-tier + .fee-tier { border-left: none; border-top: 1px solid var(--hairline-soft); }
}
.offer-card--band .offer-fee p { color: var(--band-ink); }
.offer-card--band .fee-amt { color: var(--band-ink); }
.tint-panel .offer-fee { border-top-color: rgba(8, 40, 86, 0.12); }

/* Pricing posture block (offerings) */
.pricing-note {
  background: var(--accent-soft);
  border-radius: var(--radius-panel);
  padding: 40px clamp(28px, 4vw, 48px);
  display: flex;
  gap: 24px 56px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.pricing-note .pricing-head { flex: 0 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pricing-note .pricing-head h2 { font-size: 26px; }
.pricing-note .pricing-body { flex: 2 1 420px; min-width: 0; max-width: 66ch; display: flex; flex-direction: column; gap: 14px; }
.pricing-note .pricing-body p { font-size: 16px; line-height: 1.65; }

/* Featured resource card (insights) */
.feature-card {
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 34px 30px;
  display: flex;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.feature-card .feature-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.feature-card h2 { font-size: 24px; letter-spacing: -0.01em; }
.feature-card p { font-size: 15px; line-height: 1.6; max-width: 62ch; }
.feature-card .eyebrow { color: var(--accent); }

.duo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 22px; }
@media (min-width: 901px) {
  .duo-grid--weighted { grid-template-columns: 1fr 1.4fr; }
}
.tint-panel {
  min-width: 0;
  background: var(--accent-soft);
  border-radius: var(--radius-card);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tint-panel p { font-size: 15px; line-height: 1.65; }

/* Hairline definition rows */
.row-list { display: flex; flex-direction: column; }
.row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: baseline;
  padding-block: 28px;
  border-top: 1px solid var(--hairline);
}
.row:last-child { border-bottom: 1px solid var(--hairline); }
.row-title { flex: 1 1 220px; min-width: 0; }
.row-body { flex: 2.4 1 340px; min-width: 0; font-size: 16px; max-width: 62ch; }

/* Data-handling pledges (how-it-works): compact two-column grid */
.pledges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; max-width: 920px; }
.pledges p { font-size: 15px; line-height: 1.55; border-top: 1px solid var(--hairline); padding-top: 12px; }
.pledges strong { color: var(--ink); font-weight: 700; }
@media (max-width: 720px) { .pledges { grid-template-columns: 1fr; gap: 12px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.step {
  min-width: 0;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
  background: var(--amber-soft);
  border-radius: 999px;
  padding: 7px 14px;
  align-self: flex-start;
}
.step p { font-size: 15px; line-height: 1.6; }

/* Stat strip */
.stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stat { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.stat-value { font-size: clamp(30px, 3.3vw, 44px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.stat-label { font-size: 14px; color: var(--muted); }

/* Navy band */
.band { background: var(--band); }
.band h2, .band h3 { color: var(--band-ink); }
.band p { color: var(--band-muted); }
.band .eyebrow { color: var(--band-muted); }
.band-inner { padding-block: 76px; }
.band a { color: var(--band-ink); }
.band-cols { display: flex; gap: 44px; flex-wrap: wrap; }
.band-col { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--band-hairline); }
.band-col p { font-size: 15px; line-height: 1.65; }
.band-note { font-size: 13px; color: var(--band-muted); }
.band .btn-primary { background: var(--band-ink); color: var(--band); box-shadow: none; }

/* CTA panel */
.cta-panel {
  background: var(--band);
  border-radius: var(--radius-panel);
  padding: clamp(48px, 6vw, 84px) clamp(28px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-panel h2 { color: var(--band-ink); }
.cta-panel p { color: var(--band-muted); font-size: 17px; }
.cta-panel .btn-primary { background: #FFFFFF; color: var(--band); box-shadow: none; }
.cta-panel .btn-primary:hover { filter: none; background: #EDF2F9; }
.cta-panel .btn-ghost { color: #FFFFFF; border-color: #3A5574; background: transparent; }

/* Founder strip */
.founder { display: flex; gap: 48px; flex-wrap: wrap; align-items: flex-start; }
.founder-name { flex: 0 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.founder-bio { flex: 2 1 420px; min-width: 0; max-width: 64ch; display: flex; flex-direction: column; gap: 14px; }
.founder-bio p { font-size: 17px; }

/* Prose (guides, policy) */
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: 27px; letter-spacing: -0.01em; padding-top: 18px; }
.prose h3 { font-size: 20px; padding-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 24px; color: var(--body); display: flex; flex-direction: column; gap: 8px; }
.prose li { font-size: 16px; line-height: 1.65; }
.prose p { font-size: 17px; }
.meta-line { font-size: 14px; color: var(--muted); }
.note {
  border-radius: 14px;
  background: var(--accent-soft);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--body);
}

/* Horizontal scroll regions: keyboard reachable, with edge shadows as the scroll cue */
.scroll-region {
  overflow-x: auto;
  background-color: var(--surface);
  background-image:
    linear-gradient(90deg, var(--surface) 30%, rgba(255, 255, 255, 0)),
    linear-gradient(270deg, var(--surface) 30%, rgba(255, 255, 255, 0)),
    radial-gradient(farthest-side at 0 50%, rgba(15, 32, 51, 0.14), transparent),
    radial-gradient(farthest-side at 100% 50%, rgba(15, 32, 51, 0.14), transparent);
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}

/* Tables */
.table-wrap { overflow-x: auto; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 13px 18px; font-size: 15px; vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); border-bottom: 1px solid var(--hairline); }
td { border-bottom: 1px solid var(--hairline-soft); color: var(--body); }
tr:last-child td { border-bottom: none; }

/* FAQ */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer;
  padding-block: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  list-style-position: inside;
}
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 0 22px 0; font-size: 16px; max-width: 70ch; }

/* Forms */
.form-grid { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.form-warning { font-size: 14px; color: var(--body); background: #FBF3E6; border-radius: 10px; padding: 14px 16px; }
.form-status { font-size: 15px; color: var(--ink); background: var(--accent-soft); border-radius: 10px; padding: 14px 16px; }

/* Contact layout */
.contact-grid { display: flex; gap: 56px; flex-wrap: wrap; }
.contact-main { flex: 2 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-aside { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-aside h3 { font-size: 16px; }
.contact-aside p { font-size: 15px; }

/* Insights cards */
.insight-card { position: relative; }
.insight-card h3 { font-size: 20px; line-height: 1.3; }
.insight-card h3 a { color: var(--ink); text-decoration: none; }
.insight-card h3 a::after { content: ""; position: absolute; inset: 0; }
.insight-card:hover h3 a, .insight-card:focus-within h3 a { color: var(--accent); }
.insight-card .chip-arrow { margin-top: auto; }
.insight-card:hover .chip-arrow, .insight-card:focus-within .chip-arrow { background: var(--accent); }
.insight-card .eyebrow { color: var(--accent); }

/* Footer */
.site-footer { background: var(--band); }
.footer-grid { display: flex; gap: 48px; flex-wrap: wrap; padding-block: 72px 56px; }
.footer-col { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col p, .footer-col a { font-size: 14px; color: var(--band-muted); }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--band-ink); text-decoration: underline; }
.footer-brand { font-size: 16px; font-weight: 700; color: var(--band-ink); }
.footer-bottom { border-top: 1px solid var(--band-hairline); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; }
.footer-bottom p { font-size: 13px; color: var(--band-muted); }

/* Due-diligence status ledger */
.row--status { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) 180px; gap: 24px; align-items: start; }
.status-chip {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}
.status-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.status-chip--prep { color: var(--amber); background: var(--amber-soft); }
.status-chip--prep::before { background: var(--amber-line); }

/* ------------------------------------------------------------------
   Home: hybrid redesign (October 2026).
   Serif display (Source Serif 4) with one Clear Blue phrase per headline,
   split navy hero with the clear-line illustration, offering card rail,
   tinted section blocks (blue seam, teal tools), vendor-proof band.
   Scoped to the new homepage classes; other pages are untouched. */

:root {
  --serif: 'Petrona', Georgia, 'Times New Roman', serif;
  --teal-bright: #00AFB5;
  --teal-ink: #0E7490;
  --teal-soft: #E0F5F4;
}

.serif-h { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h2.serif-h { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; }
.serif-h em { font-style: normal; color: var(--accent-bright); }
.serif-h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: 0; line-height: 1.25; }

/* Serif is site-wide for h1/h2 (Foundation typography amendment, Oct 28 2026).
   Small component headings take the 600 weight so they hold up at card scale,
   and colored phrases on navy grounds lighten for contrast. */
.phase-head h2, .offer-card h2, .feature-card h2, .pricing-note .pricing-head h2, .prose h2 { font-weight: 600; }
.hero-dark h1 em, .band h2 em, .cta-panel h2 em, .offer-card--band h2 em { color: #8FCBFA; }

/* Split hero */
.hero-split { display: grid; grid-template-columns: 1.1fr 1fr; }
.hero-left {
  background: var(--band);
  padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.hero-left .eyebrow { color: var(--band-muted); }
.hero-left h1 { color: #FFFFFF; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.12; font-weight: 400; }
.hero-left h1 em { color: #8FCBFA; }
.hero-left .lede { color: var(--band-soft); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; max-width: 54ch; }
.hero-left .btn-primary { background: #FFFFFF; color: var(--band); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.5); }
.hero-left .btn-primary:hover { filter: none; background: #EDF2F9; }
.hero-left .btn-ghost { color: #FFFFFF; border-color: #3A5574; background: transparent; }
.hero-left .btn-ghost:hover { border-color: var(--band-muted); }
.hero-right {
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 4vw, 48px);
}
.hero-right svg { width: 100%; max-width: 520px; height: auto; display: block; }
@media (max-width: 880px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-right { padding-block: 36px; }
}

/* Offering card rail */
.rail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.glyph { width: 38px; height: 38px; flex: 0 0 auto; }
.rail-grid .card h3 { color: var(--ink); }
.rail-grid .card .badge-start { margin-bottom: -4px; }

/* Tinted section blocks */
.tint-blue { background: var(--accent-soft); }
.tint-teal { background: var(--teal-soft); }
.tint-teal h2 em { color: var(--teal-ink); }

/* Four numbered cards: four across, then two by two, then one column. Never three and one. */
.seam-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1040px) { .seam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .seam-grid { grid-template-columns: 1fr; } }
.seam-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.seam-card p { font-size: 15px; line-height: 1.55; font-weight: 600; color: var(--ink); }
.seam-num { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); }
.seam-card .seam-num { font-weight: 700; color: var(--accent); }

/* Tools split with the framed mock */
.tools-split { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.tools-copy { flex: 1 1 400px; min-width: 0; }
.teal-link { color: var(--teal-ink); font-weight: 600; text-decoration: none; }
.teal-link:hover { text-decoration: underline; }
.tool-frame {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 520px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(8, 40, 86, 0.12);
}
.tool-frame-dots { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--hairline-soft); }
.tool-frame-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--hairline); }
.tool-frame-band { background: var(--ink); border-bottom: 3px solid var(--teal-bright); padding: 14px 18px; }
.tool-frame-kicker { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--band-muted); }
.tool-frame-name { font-size: 15px; font-weight: 700; color: #FFFFFF; margin-top: 2px; }
.tool-frame-rows { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.tool-frame-rows p {
  border: 1px solid var(--hairline-soft);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.tool-frame-rows span { color: var(--teal-ink); }

/* Expertise + stat tiles */
.expertise-split { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.expertise-copy { flex: 1 1 400px; min-width: 0; }
.expertise-copy strong { color: var(--ink); }
.stat-tiles { flex: 1 1 400px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stat-tile { background: var(--bg); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.stat-tile .stat-value { font-size: clamp(26px, 2.6vw, 34px); }
@media (max-width: 480px) { .stat-tiles { grid-template-columns: 1fr; } }

/* Quote band */
.quote-band { max-width: 880px; text-align: center; }
.quote-band blockquote { margin: 0; border-top: 1px solid var(--hairline); padding-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.quote-text { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 29px); line-height: 1.35; color: var(--ink); }
.quote-attr { font-size: 15px; color: var(--muted); }
.quote-attr strong { color: var(--ink); }

/* Vendor proof */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 28px 40px; }
.proof-grid h3 { font-size: 16px; }
.proof-grid p { font-size: 15px; line-height: 1.6; }

/* Why now rows */
.why-rows { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.why-row { display: flex; gap: 18px; align-items: baseline; }
.why-row > p:last-child { font-size: 16px; line-height: 1.65; }

/* CTA split band */
.cta-split { display: flex; gap: 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-copy { min-width: 0; flex: 1 1 420px; }
.cta-split h2 em { color: #8FCBFA; }
.cta-split p { color: var(--band-soft); font-size: 16px; }

/* Mobile */
@media (max-width: 760px) {
  .brand-logo { height: 34px; }
  .js .nav-toggle { display: inline-block; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    padding: 8px max(24px, env(safe-area-inset-right, 0px)) 16px max(24px, env(safe-area-inset-left, 0px));
  }
  .js .site-nav.open { display: flex; }
  .js .site-nav > a { padding-block: 13px; border-top: 1px solid var(--hairline-soft); }
  .js .site-nav > a.btn { margin-top: 12px; border-top: none; text-align: center; }
  .row--status { grid-template-columns: 1fr; gap: 10px; }
  .row--status .status-chip { justify-self: start; }
  .header-row { position: relative; }
  .hero { padding-block: 56px; }
  .hero-dark { padding-block: 64px 72px; }
  .section { padding-block: 64px; }
  .band-inner { padding-block: 64px; }
}

/* ------------------------------------------------------------------
   Migration comparison chart (hero), founder-supplied component,
   October 28 2026. Scoped to .ccm-v2; light/dark via data-theme. */

/* Clearline Connectivity Advisory — Migration comparison — Refined customer-ownership edition.
   The site should already load Petrona. If not, add this to the page <head>:
   <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Petrona:wght@400;500;600;700&display=swap">
   All styles are scoped to .ccm-v2. */

.ccm-v2 {
  --ccm-bg: #f8fafc; --ccm-panel:#fff; --ccm-ink:#082856;
  --ccm-muted:#52667e; --ccm-rule:#dce5ee; --ccm-axis:#96a8bb;
  --ccm-blue:#087fd0; --ccm-blue-soft:#e9f5fd; --ccm-blue-stroke:#a9d7f5;
  --ccm-amber:#cb8032; --ccm-amber-soft:#fcf4e9; --ccm-amber-stroke:#e6c6a0;
  box-sizing:border-box; font-family:'Petrona', Georgia, serif; color:var(--ccm-ink); background:var(--ccm-bg);
  padding:clamp(24px,4.4vw,54px); border-radius:clamp(14px,2.2vw,24px);
  overflow:hidden; width:100%;
}
.ccm-v2[data-theme="dark"] {
  --ccm-bg:#071b31; --ccm-panel:#0d263f; --ccm-ink:#f2f7fc;
  --ccm-muted:#adbed0; --ccm-rule:#29445e; --ccm-axis:#5c7690;
  --ccm-blue:#3fb0ff; --ccm-blue-soft:#103c5b; --ccm-blue-stroke:#29698d;
  --ccm-amber:#efaa62; --ccm-amber-soft:#30291f; --ccm-amber-stroke:#85623e;
}
.ccm-v2 *, .ccm-v2 *::before, .ccm-v2 *::after {box-sizing:border-box}
.ccm-v2 .ccm-eyebrow {margin:0 0 12px; font-family:inherit; font-size:clamp(10px,1.1vw,12px); font-weight:700; letter-spacing:.17em; text-transform:uppercase; color:var(--ccm-muted)}
.ccm-v2 .ccm-title {font-family:'Petrona', Georgia, serif; font-size:clamp(27px,3.65vw,52px); line-height:1.09; font-weight:700; letter-spacing:-.022em; margin:0; color:var(--ccm-ink)}
.ccm-v2 .ccm-title-accent {color:var(--ccm-blue)}
.ccm-v2 .ccm-intro {font-family:'Petrona', Georgia, serif; color:var(--ccm-muted); font-size:clamp(13px,1.25vw,17px); line-height:1.55; max-width:760px; margin:12px 0 0}
.ccm-v2 .ccm-panel {background:var(--ccm-panel); border:1px solid var(--ccm-rule); border-radius:16px; padding:clamp(19px,2.35vw,28px); margin-top:15px}
.ccm-v2 .ccm-panel:first-of-type {margin-top:26px}
.ccm-v2 .ccm-panel-top {display:flex; align-items:baseline; justify-content:space-between; gap:14px; flex-wrap:wrap}
.ccm-v2 .ccm-case {font-size:11px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:var(--ccm-amber)}
.ccm-v2 .ccm-panel[data-case="planned"] .ccm-case {color:var(--ccm-blue)}
.ccm-v2 .ccm-outcome {font-family:'Petrona', Georgia, serif; font-size:clamp(22px,2.6vw,34px); line-height:1.15; font-weight:700; letter-spacing:-.018em; margin:7px 0 7px}
.ccm-v2 .ccm-explain {font-family:'Petrona', Georgia, serif; color:var(--ccm-muted); margin:0; line-height:1.45; max-width:830px; font-size:clamp(12px,1.15vw,16px)}
.ccm-v2 .ccm-legend {display:grid; grid-template-columns: 36.8% 22% 1fr; align-items:end; padding:18px 2.6% 0; font-size:clamp(10px,0.95vw,13px); font-weight:700; letter-spacing:.055em; text-transform:uppercase; color:var(--ccm-muted)}
.ccm-v2 .ccm-legend span:nth-child(2) {text-align:left; padding-left:2px}
.ccm-v2 .ccm-legend span:last-child {text-align:right}
.ccm-v2 .ccm-label-short {display:none}
.ccm-v2 .ccm-track {width:100%; height:auto; display:block; margin:0 0 -5px; overflow:visible}
.ccm-v2 .ccm-footnote {border-top:1px solid var(--ccm-rule); margin:19px 0 0; padding-top:14px; color:var(--ccm-muted); font-family:'Petrona', Georgia, serif; line-height:1.5; font-size:clamp(11px,1vw,13px)}
@media(max-width:640px) {
 .ccm-v2 {padding:21px 14px; border-radius:16px}
 .ccm-v2 .ccm-panel {padding:16px 13px; border-radius:12px; margin-top:12px}
 .ccm-v2 .ccm-panel:first-of-type {margin-top:19px}
 .ccm-v2 .ccm-case {font-size:10px}
 .ccm-v2 .ccm-intro {margin-top:12px}
 .ccm-v2 .ccm-legend {padding-top:14px; font-size:10px; letter-spacing:0}
 .ccm-v2 .ccm-label-short {display:inline}
 .ccm-v2 .ccm-label-full {display:none}
 .ccm-v2 .ccm-outcome {font-size:22px}
 .ccm-v2 .ccm-footnote {margin-top:16px}
}

/* Spacing refinement: slightly tighter cards, labels that never collide on phones. */
.ccm-v2 .ccm-header {max-width:860px; margin-bottom:22px}
.ccm-v2 .ccm-panel:first-of-type {margin-top:0}
.ccm-v2 .ccm-intro {text-wrap:pretty}
.ccm-v2 .ccm-explain {text-wrap:pretty}
.ccm-v2 .ccm-legend span {white-space:nowrap}
.ccm-v2 .ccm-mobile-label {display:none}
@media (max-width:640px) {
  .ccm-v2 .ccm-header {margin-bottom:18px}
  .ccm-v2 .ccm-legend {grid-template-columns:36.8% 25% 1fr; font-size:9px; padding-left:3%; padding-right:3%; letter-spacing:.035em}
  .ccm-v2 .ccm-desktop-label {display:none}
  .ccm-v2 .ccm-mobile-label {display:inline}
  .ccm-v2 .ccm-explain {font-size:13px; line-height:1.44}
  .ccm-v2 .ccm-track {margin-top:5px}
}
@media (max-width:360px) {
  .ccm-v2 .ccm-legend {font-size:8px}
  .ccm-v2 .ccm-panel {padding:15px 11px}
}

/* Homepage hero placement for the comparison chart. The component's own
   breakpoints watch the viewport; in the hero it sits in a half-width column,
   so a container query swaps the compact legend labels by column width. */
.hero-right { container-type: inline-size; }
.hero-right .ccm-v2 { max-width: 660px; box-shadow: var(--shadow-card); }
@container (max-width: 600px) {
  .hero-right .ccm-v2 .ccm-desktop-label { display: none; }
  .hero-right .ccm-v2 .ccm-mobile-label { display: inline; }
  .hero-right .ccm-v2 .ccm-legend { font-size: 10px; letter-spacing: .02em; }
}

/* Hero height (2026-11-16). The hero fits one laptop screen: the chart is set tighter
   and the headline column starts near the top, so the buttons never fall below the
   first screen. Scoped to the hero; the component's own rules above stay as supplied. */
.hero-left { justify-content: flex-start; padding-block: clamp(44px, 5.4vw, 76px); }
.hero-right { align-items: flex-start; padding: clamp(22px, 2.8vw, 36px); }
.hero-right .ccm-v2 { padding: clamp(18px, 2vw, 26px); }
.hero-right .ccm-v2 .ccm-eyebrow { margin-bottom: 8px; }
.hero-right .ccm-v2 .ccm-header { margin-bottom: 14px; }
.hero-right .ccm-v2 .ccm-title { font-size: clamp(23px, 2.1vw, 30px); }
.hero-right .ccm-v2 .ccm-title br { display: none; }
.hero-right .ccm-v2 .ccm-panel { padding: 14px 18px 12px; margin-top: 10px; }
.hero-right .ccm-v2 .ccm-panel:first-of-type { margin-top: 0; }
.hero-right .ccm-v2 .ccm-outcome { font-size: clamp(19px, 1.7vw, 23px); margin: 4px 0; }
.hero-right .ccm-v2 .ccm-explain { font-size: 13.5px; line-height: 1.4; }
.hero-right .ccm-v2 .ccm-legend { padding-top: 10px; }
.hero-right .ccm-v2 .ccm-footnote { margin-top: 12px; padding-top: 10px; font-size: 11.5px; }
