@font-face { font-family: "Manrope"; src: url("/assets/Manrope-VariableFont_wght.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/Newsreader-VariableFont_opsz-wght.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/Newsreader-Italic-VariableFont_opsz-wght.ttf") format("truetype"); font-style: italic; font-weight: 200 800; font-display: swap; }

:root {
  --ink: #2f3e46;
  --ink-soft: #53666c;
  --navy: #0f4c5c;
  --blue: #0f4c5c;
  --blue-dark: #1b6b7a;
  --aqua: #8bc4b9;
  --aqua-soft: #e1f0ed;
  --sky: #f2f7f6;
  --sand: #edf3f1;
  --paper: #ffffff;
  --white: #ffffff;
  --coral: #f39c12;
  --line: rgba(47, 62, 70, 0.14);
  --shadow: 0 24px 70px rgba(15, 76, 92, 0.15);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

.staging-banner { position: relative; z-index: 120; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; padding: 7px 18px; color: #2f2515; background: #f7c65d; font-size: 12px; letter-spacing: .02em; text-align: center; }
.staging-banner strong { text-transform: uppercase; letter-spacing: .1em; }
.staging-build .site-header { top: 38px; }

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(15, 76, 92, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  width: min(calc(100% - 36px), var(--max));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-logo { width: clamp(210px, 22vw, 292px); height: auto; }
.nav-links { display: flex; align-items: center; gap: 21px; }
.nav-links > a { color: #d9e8e6; font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: white; }
.nav-links > a.button, .nav-links > a.button:hover, .nav-links > a.button[aria-current="page"] { color: var(--ink); background: var(--aqua); }
.menu-button { display: none; border: 0; background: none; color: white; padding: 8px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(15, 76, 92, .22);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 16px 34px rgba(15, 76, 92, .26); }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); box-shadow: none; }
.button.secondary:hover { background: white; }
.button.light { color: var(--ink); background: white; box-shadow: none; }
.button.compact { min-height: 42px; padding: 0 17px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; text-decoration: none; }
.text-link::after { content: "↗"; transition: transform .2s ease; }
.text-link:hover::after { transform: translate(2px, -2px); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.section.sky { background: var(--sky); }
.section.sand { background: var(--sand); }
.section.ink { color: white; background: var(--navy); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head > div:first-child { max-width: 770px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.eyebrow.on-dark { color: var(--aqua); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.06; }
h1, h2 { font-family: "Newsreader", Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.35rem, 4.4vw, 4.3rem); }
h3 { font-size: 1.24rem; letter-spacing: -.025em; }
.ink h1, .ink h2, .ink h3, .ink h4 { color: white; }
.lead { margin: 22px 0 0; color: var(--ink-soft); font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.56; }
.ink .lead { color: #c7d5dd; }
.muted { color: #627582; }
.kicker { color: var(--coral); font-weight: 700; }

.hero {
  overflow: hidden;
  position: relative;
  min-height: min(calc(100vh - 78px), 820px);
  padding: 48px 0 62px;
  background:
    radial-gradient(circle at 86% 8%, rgba(139, 196, 185, .25), transparent 30%),
    linear-gradient(145deg, var(--paper) 0%, #f7faf9 60%, var(--sky) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -8%; right: -8%; bottom: -70px;
  height: 150px;
  border-radius: 50% 50% 0 0;
  border-top: 2px solid rgba(15, 76, 92, .12);
  box-shadow: 0 -28px 0 rgba(139, 196, 185, .07), 0 -56px 0 rgba(15, 76, 92, .04);
}
.hero-grid { display: grid; grid-template-columns: 1.16fr .84fr; align-items: center; gap: 42px; }
.hero h1 { font-size: clamp(3.35rem, 5.9vw, 5.6rem); line-height: 1; }
.hero h1 em { color: var(--blue); font-weight: inherit; }
.hero-copy { position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.region-picker { width: min(100%, 560px); display: flex; align-items: end; gap: 18px; margin-top: 24px; }
.region-picker label { flex: 1; display: grid; gap: 6px; color: var(--ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.region-picker select { width: 100%; min-height: 46px; padding: 0 40px 0 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: rgba(255,255,255,.86); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.region-picker a { padding-bottom: 11px; color: var(--blue); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.region-picker a::after { content: " →"; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.trust-row span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: rgba(255,255,255,.66); font-size: 12px; font-weight: 700; }
.hero-visual { position: relative; min-height: 555px; }
.hero-photo {
  position: absolute;
  inset: 0 0 70px 42px;
  overflow: hidden;
  border-radius: 220px 220px 32px 32px;
  box-shadow: var(--shadow);
}
.hero-photo img { height: 100%; object-fit: cover; }
.hero-photo img.national-view { object-position: 86% center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,29,44,.05), rgba(12,29,44,.35)); }
.hero-note {
  position: absolute;
  left: 0;
  bottom: 14px;
  width: min(360px, 82%);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  color: white;
  background: rgba(15, 76, 92, .94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero-note span { display: block; color: var(--aqua); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-note strong { display: block; margin-top: 8px; font-family: "Newsreader", Georgia, serif; font-size: 26px; font-weight: 500; line-height: 1.18; }
.floating-seal { position: absolute; top: 74px; right: -24px; width: 122px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--aqua); font-size: 11px; font-weight: 700; line-height: 1.25; text-align: center; text-transform: uppercase; transform: rotate(8deg); box-shadow: 0 20px 50px rgba(14, 70, 68, .22); }

.statement-band { padding: 26px 0; color: white; background: var(--navy); }
.statement-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.statement-band strong { font-family: "Newsreader", Georgia, serif; font-size: 27px; font-weight: 500; }
.statement-band span { max-width: 480px; color: #dbe9e7; font-size: 14px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.78);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(15,76,92,.35); box-shadow: 0 20px 50px rgba(15, 76, 92, .1); }
.card h3 { margin: 16px 0 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card .text-link { margin-top: 20px; font-size: 14px; }
.number { color: var(--blue); font-family: "Newsreader", Georgia, serif; font-size: 48px; line-height: 1; }
.icon-box { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: var(--blue); background: var(--sky); font-size: 22px; font-weight: 700; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.photo-card { overflow: hidden; position: relative; min-height: 580px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.photo-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.photo-card .caption { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 18px 20px; border-radius: 16px; color: white; background: rgba(11,29,44,.84); backdrop-filter: blur(12px); }
.photo-card .caption strong { display: block; }
.photo-card .caption span { color: #d6e4e9; font-size: 13px; }
.check-list { display: grid; gap: 12px; margin-top: 28px; }
.check-list span { position: relative; padding-left: 31px; color: var(--ink-soft); }
.check-list span::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--aqua); font-size: 12px; font-weight: 800; }

.process { counter-reset: process; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.process-step { position: relative; padding: 26px 20px 24px; border-top: 1px solid rgba(255,255,255,.2); }
.process-step::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 36px; color: var(--aqua); font-family: "Newsreader", Georgia, serif; font-size: 26px; }
.process-step h3 { font-size: 17px; }
.process-step p { color: #b9cbd3; font-size: 13px; }

.article-card { display: flex; flex-direction: column; min-height: 340px; }
.article-card .meta { display: flex; justify-content: space-between; gap: 12px; color: #71828e; font-size: 12px; }
.article-card h3 { margin-top: auto; padding-top: 52px; font-family: "Newsreader", Georgia, serif; font-size: 27px; font-weight: 500; line-height: 1.12; }
.article-card p { margin-top: 14px; }
.article-card .text-link { margin-top: 24px; }

.insight-feature { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.35fr .65fr; min-height: 440px; border-radius: var(--radius-lg); color: white; background: var(--navy); box-shadow: var(--shadow); }
.insight-feature::after { content: ""; position: absolute; right: -120px; bottom: -210px; width: 420px; height: 420px; border: 70px solid rgba(139,196,185,.22); border-radius: 50%; pointer-events: none; }
.insight-feature-copy { position: relative; z-index: 1; padding: 58px; }
.insight-feature-copy h2 { max-width: 760px; color: white; font-size: clamp(2.6rem, 5vw, 4.5rem); }
.insight-feature-copy > p { max-width: 720px; margin-top: 20px; color: #d9e8e6; font-size: 1.08rem; }
.insight-feature .hero-actions { align-items: center; margin-top: 32px; }
.insight-feature .text-link { color: white; }
.insight-feature-note { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; margin: 28px; padding: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(10,42,50,.46); backdrop-filter: blur(8px); }
.insight-feature-note strong { color: var(--aqua); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.insight-feature-note p { margin: 18px 0 28px; color: white; font-family: "Newsreader", Georgia, serif; font-size: 1.55rem; line-height: 1.24; }
.insight-feature-note span { color: #b8cfcc; font-size: 12px; }
.keyword-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.keyword-row span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #d9e8e6; font-size: 11px; }
.library-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 28px; }
.library-toolbar h2 { max-width: 720px; }
.insight-search { width: min(100%, 420px); display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.insight-search input { width: 100%; padding: 15px 18px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white; font: inherit; font-weight: 500; }
.insight-search input:focus { outline: 3px solid rgba(27,107,122,.18); border-color: var(--blue); }
.library-count { margin: -16px 0 28px; color: var(--muted, #617177); font-size: 13px; }
.library-empty { padding: 48px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; background: var(--sky); }
.library-empty h3 { margin-bottom: 8px; }

.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 40px; padding: 64px; border-radius: var(--radius-lg); color: white; background: var(--navy); }
.cta-panel::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; bottom: -180px; border: 55px solid rgba(139,196,185,.42); border-radius: 50%; }
.cta-panel h2 { color: white; }
.cta-panel p { max-width: 720px; color: #dbe9e7; }
.cta-panel .actions { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }

.page-hero { padding: 104px 0 76px; background: linear-gradient(145deg, var(--sky), var(--paper) 58%, #e8f2ef); }
.page-hero .wrap { max-width: 920px; }
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 6.2rem); }
.page-hero .lead { max-width: 780px; }
.page-hero .hero-actions { margin-top: 28px; }
.page-hero.compact h1 { font-size: clamp(2.8rem, 5.4vw, 4.8rem); }

.location-hub-hero { overflow: hidden; padding: 76px 0; color: white; background: var(--navy); }
.location-hub-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; }
.location-hub-hero h1 { color: white; font-size: clamp(3.2rem, 6.2vw, 6.1rem); }
.location-hub-hero .lead { color: #d4e4e2; }
.location-outline { color: white; border-color: rgba(255,255,255,.38); background: transparent; box-shadow: none; }
.location-outline:hover { color: var(--ink); background: white; }
.national-art { overflow: hidden; position: relative; min-height: 520px; border: 1px solid rgba(255,255,255,.18); border-radius: 250px 250px 28px 28px; background: #153e49; box-shadow: 0 30px 80px rgba(3,20,25,.35); }
.national-art img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 86% center; }
.national-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(7,34,41,.78)); }
.national-art > div { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; }
.national-art strong, .national-art span { display: block; }
.national-art strong { color: white; font-family: "Newsreader", Georgia, serif; font-size: 28px; font-weight: 500; }
.national-art span { color: #cce1dd; font-size: 12px; }
.location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.location-card { overflow: hidden; display: grid; grid-template-columns: .92fr 1.08fr; min-height: 350px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 16px 45px rgba(15,76,92,.08); }
.location-card-media { overflow: hidden; }
.location-card-media img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.location-card:hover .location-card-media img { transform: scale(1.035); }
.location-card-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 34px 30px; }
.location-card-copy h3 { margin-bottom: 14px; font-family: "Newsreader", Georgia, serif; font-size: 32px; font-weight: 500; }
.location-card-copy h3 a { text-decoration: none; }
.location-card-copy p:not(.eyebrow) { margin: 0; color: var(--ink-soft); font-size: 14px; }
.location-card-copy .text-link { margin-top: auto; padding-top: 24px; font-size: 13px; }
.location-hero { padding: 32px 0 86px; background: linear-gradient(145deg, var(--sky), white 62%, #e4f0ed); }
.location-hero .breadcrumbs { margin-bottom: 36px; }
.location-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 62px; }
.location-hero h1 { font-size: clamp(3.25rem, 6vw, 6.1rem); }
.location-hero .lead { max-width: 730px; }
.location-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.location-meta span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: rgba(255,255,255,.66); font-size: 11px; font-weight: 700; }
.location-photo { overflow: hidden; position: relative; min-height: 540px; margin: 0; border-radius: 240px 240px 28px 28px; box-shadow: var(--shadow); }
.location-photo > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.location-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, rgba(7,35,42,.62)); }
.location-photo figcaption { position: absolute; z-index: 2; left: 20px; bottom: 16px; color: rgba(255,255,255,.86); font-size: 10px; }
.location-photo figcaption a { color: white; }
.location-badge { position: absolute; z-index: 2; top: 44px; right: 20px; width: 116px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--aqua); font-size: 10px; font-weight: 800; line-height: 1.25; text-align: center; text-transform: uppercase; transform: rotate(7deg); }
.location-content-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: start; gap: 80px; }
.location-content-grid > div > p:not(.eyebrow) { color: var(--ink-soft); }
.jurisdiction-panel { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--sky); box-shadow: 0 16px 45px rgba(15,76,92,.08); }
.jurisdiction-panel > span { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jurisdiction-panel h3 { margin: 12px 0 14px; font-family: "Newsreader", Georgia, serif; font-size: 30px; font-weight: 500; }
.jurisdiction-panel p { color: var(--ink-soft); font-size: 14px; }
.jurisdiction-panel .text-link, .jurisdiction-panel .button { margin-top: 14px; }
.jurisdiction-panel.payment { border-color: rgba(15,76,92,.24); background: var(--aqua-soft); }

.service-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 100px 1fr 1fr; gap: 36px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.service-row .num { color: var(--blue); font-family: "Newsreader", Georgia, serif; font-size: 26px; }
.service-row p { margin: 0; color: var(--ink-soft); }

.audience-card { min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 42px; border-radius: 28px; }
.audience-card.blue { color: white; background: var(--navy); }
.audience-card.dark { color: white; background: var(--ink); }
.audience-card h2, .audience-card h3 { color: white; }
.audience-card p { color: #d5e0e5; }
.audience-card.blue p { color: #dbe9e7; }
.audience-card ul { margin: 28px 0; padding-left: 20px; }

.price-note { padding: 24px; border-left: 4px solid var(--coral); background: #fff8e9; }
.price-note strong { display: block; color: #8a5a19; }

.article-layout { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.article-layout > * { min-width: 0; }
.article-main { width: 100%; min-width: 0; max-width: 790px; }
.article-header { position: relative; overflow: hidden; padding: 56px 0 72px; background: linear-gradient(135deg, var(--sky), #ffffff 62%, #e8f2ef); }
.article-header::after { content: ""; position: absolute; right: -170px; bottom: -270px; width: 570px; height: 570px; border: 82px solid rgba(139,196,185,.18); border-radius: 50%; }
.article-header .container { position: relative; z-index: 1; }
.article-header h1 { max-width: 1050px; font-size: clamp(3rem, 6vw, 5.35rem); }
.article-header .deck { max-width: 830px; margin: 24px 0; color: var(--ink-soft); font-size: 1.3rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; color: #667985; font-size: 12px; }
.article-meta-item { display: inline-flex; flex-wrap: wrap; gap: 5px; align-items: baseline; }
.article-meta-item b { color: var(--blue); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.review-status { max-width: 760px; margin: 14px 0 0; color: #8a5a19; font-size: 12px; overflow-wrap: anywhere; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; color: #6f8087; font-size: 12px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }
.audience-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.audience-chips span { padding: 7px 11px; border: 1px solid #cfddda; border-radius: 999px; color: var(--ink-soft); background: rgba(255,255,255,.66); font-size: 11px; font-weight: 700; }
.article-actions { margin-top: 28px; }
.article-content { padding-top: 54px; }
.answer-panel { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 44px; margin-bottom: 24px; padding: 34px 38px; border-radius: 24px; color: white; background: var(--navy); }
.answer-panel .eyebrow { color: var(--aqua); }
.answer-panel h2 { margin-top: 6px; color: white; font-size: 1.8rem; }
.answer-panel p { margin: 0; color: #e1ecea; font-size: 1.08rem; line-height: 1.7; }
.answer-panel-intro { min-width: 0; }
.key-takeaways { display: grid; grid-template-columns: 260px 1fr; gap: 48px; margin: 18px 0 64px; padding: 34px 38px; border: 1px solid var(--line); border-radius: 24px; background: var(--sky); }
.key-takeaways h2 { margin-top: 6px; font-size: 2rem; }
.key-takeaways ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.key-takeaways li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.key-takeaways li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); }
.article-main h2 { margin: 64px 0 22px; font-size: clamp(2rem, 3.4vw, 3rem); }
.article-main p { color: #263d4d; }
.article-main a { color: var(--blue); }
.article-aside { position: sticky; top: 110px; }
.aside-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.aside-card + .aside-card { margin-top: 14px; }
.aside-card h3 { margin-bottom: 14px; font-size: 15px; }
.aside-card a { display: block; padding: 8px 0; color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.aside-card a:hover { color: var(--blue); }
.aside-card.aside-cta { padding: 26px; color: white; border-color: var(--navy); background: var(--navy); }
.aside-card.aside-cta h3 { margin: 10px 0 12px; color: white; font-family: "Newsreader", Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.aside-card.aside-cta p:not(.eyebrow) { color: #c9dcda; font-size: 13px; }
.aside-card.aside-cta .button { display: inline-flex; color: var(--ink); }
.aside-card .aside-secondary { margin-top: 12px; color: #d7e7e4; text-decoration: underline; text-underline-offset: 3px; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0; }
.evidence-grid > div { padding: 20px; border-radius: 14px; background: var(--sky); }
.evidence-grid strong { display: block; margin-bottom: 5px; }
.evidence-grid span { display: block; color: var(--ink-soft); font-size: 14px; }
.table-wrap, .article-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; margin: 30px 0; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: white; background: var(--ink); }
td:first-child { min-width: 170px; font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.article-table th { min-width: 170px; }
.article-table td { color: var(--ink-soft); }
.article-table td:first-child { color: var(--ink); }
.citation { margin-left: 2px; font-size: .68em; vertical-align: super; }
.citation a { display: inline-grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: var(--ink) !important; background: var(--aqua); font-family: "Manrope", sans-serif; font-weight: 800; text-decoration: none; }
.evidence-callout { display: grid; gap: 8px; margin: 32px 0; padding: 24px 26px; border-left: 4px solid var(--coral); border-radius: 0 14px 14px 0; background: #fff8e9; }
.evidence-callout strong { color: #815719; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.evidence-callout span { color: #53432b; font-family: "Newsreader", Georgia, serif; font-size: 1.35rem; line-height: 1.35; }
.article-list { display: grid; gap: 12px; padding-left: 22px; color: var(--ink-soft); }
.check-panel { margin: 18px 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--sky); }
.check-panel h3 { margin-bottom: 12px; }
.check-panel ul { display: grid; gap: 9px; margin: 0; padding-left: 20px; color: var(--ink-soft); }
.sources { margin-top: 64px; padding: 30px; border-radius: 18px; background: var(--sky); }
.sources h2 { margin: 0 0 14px; font-family: "Manrope", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: 0; }
.sources ol { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.sources li { display: grid; grid-template-columns: 25px 1fr; gap: 10px; align-items: start; margin: 0; scroll-margin-top: 120px; }
.sources li > span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-size: 11px; font-weight: 800; }
.sources a { color: var(--blue); }
.source-note { margin-top: 18px; font-size: 13px; }
.disclaimer { margin-top: 28px; padding: 18px 20px; border: 1px solid #f0c9bd; border-radius: 12px; color: #754636; background: #fff6f2; font-size: 13px; }
.faq-list { margin-top: 50px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border: 0; color: var(--ink); background: none; font-weight: 700; text-align: left; }
.faq-answer { display: none; padding: 0 0 24px; color: var(--ink-soft); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }
.related-insights { margin-top: 88px; padding-top: 66px; border-top: 1px solid var(--line); }
.article-final-cta { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 44px; margin-top: 72px; padding: 48px; border-radius: 26px; color: white; background: var(--navy); }
.article-final-cta h2 { max-width: 760px; color: white; }
.article-final-cta p:not(.eyebrow) { max-width: 720px; color: #d8e7e5; }
.article-final-cta .article-actions { display: flex; flex-direction: column; align-items: stretch; margin: 0; }
.article-final-cta .article-actions .secondary { color: white; border-color: rgba(255,255,255,.38); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: transparent; font-size: 13px; font-weight: 700; }
.filter.active { color: white; border-color: var(--blue); background: var(--blue); }

.referral-shell { display: grid; grid-template-columns: 260px 1fr; overflow: hidden; min-height: 680px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.referral-side { padding: 34px 28px; color: white; background: var(--ink); }
.referral-side h3 { color: white; margin-bottom: 30px; }
.step-nav { display: grid; gap: 8px; }
.step-nav button { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; padding: 11px; border: 0; border-radius: 10px; color: #9db1be; background: transparent; text-align: left; font-size: 13px; }
.step-nav button span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #49606e; border-radius: 50%; }
.step-nav button.active { color: white; background: rgba(255,255,255,.08); }
.step-nav button.active span { color: var(--ink); border-color: var(--aqua); background: var(--aqua); }
.referral-side small { display: block; margin-top: 40px; color: #90a4af; line-height: 1.5; }
.referral-main { padding: 46px; }
.ref-step { display: none; }
.ref-step.active { display: block; animation: rise .3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15,76,92,.12); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.choice { position: relative; display: block; padding: 20px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15,76,92,.1); }
.choice input { position: absolute; opacity: 0; }
.choice strong, .choice small { display: block; }
.choice small { margin-top: 5px; color: #687b87; }
.upload-box { margin-top: 24px; padding: 42px 24px; border: 2px dashed #b6c4cc; border-radius: 16px; background: #f8fbfc; text-align: center; }
.upload-box strong, .upload-box small { display: block; }
.upload-box small { color: #72828d; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 34px; }
.mock-banner { margin-bottom: 24px; padding: 13px 16px; border-radius: 10px; color: #725129; background: #fff4d8; font-size: 13px; }
.success-panel { padding: 44px; border-radius: 20px; background: var(--aqua-soft); text-align: center; }
.success-panel .tick { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; color: white; background: var(--aqua); font-size: 30px; }

.payment-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 32px; }
.payment-flow > div { position: relative; min-height: 170px; padding: 22px; border-radius: 16px; background: white; }
.payment-flow strong { display: block; margin: 12px 0 7px; }
.payment-flow span { color: #657784; font-size: 13px; }
.payment-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.payment-path { padding: 36px; border: 1px solid rgba(15,76,92,.2); border-radius: 22px; background: white; box-shadow: 0 16px 45px rgba(15,76,92,.08); }
.payment-path.legal { color: white; border-color: var(--navy); background: var(--navy); }
.path-label { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: var(--blue); background: var(--aqua-soft); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.payment-path h3, .payment-referral-panel h3 { margin: 18px 0 12px; font-family: "Newsreader", Georgia, serif; font-size: 32px; font-weight: 500; }
.payment-path.legal h3 { color: white; }
.payment-path p { color: var(--ink-soft); }
.payment-path.legal p, .payment-path.legal li { color: #d0dfdf; }
.payment-path ol { display: grid; gap: 9px; margin: 24px 0 0; padding-left: 22px; font-size: 14px; }
.payment-lock { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 20px 24px; border-radius: 16px; color: var(--ink); background: var(--aqua); }
.payment-lock > span { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: white; background: var(--navy); font-weight: 800; }
.payment-lock strong, .payment-lock p { display: block; margin: 0; }
.payment-lock p { font-size: 13px; }
.payment-referral-panel { margin-top: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--sky); }
.payment-referral-panel > p { color: var(--ink-soft); }
.stripe-mock { width: min(100%, 520px); margin-top: 22px; padding: 22px; border: 1px solid #d8dde5; border-radius: 14px; background: white; box-shadow: 0 12px 30px rgba(42,48,65,.1); }
.stripe-head, .mock-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stripe-head { padding-bottom: 14px; border-bottom: 1px solid #e6e8ec; }
.stripe-head span { color: #697386; font-size: 11px; }
.stripe-head b { color: #635bff; }
.mock-total { margin: 18px 0; color: #425466; font-size: 13px; }
.mock-total strong { text-align: right; }
.stripe-mock label { display: grid; gap: 5px; color: #425466; font-size: 11px; font-weight: 700; }
.stripe-mock input { width: 100%; padding: 11px 12px; border: 1px solid #cfd7df; border-radius: 7px; color: #697386; background: #f7f8fa; }
.stripe-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.stripe-mock button { width: 100%; margin-top: 14px; padding: 12px; border: 0; border-radius: 8px; color: white; background: #635bff; font-weight: 800; opacity: .62; }
.stripe-mock small { display: block; margin-top: 10px; color: #8793a2; text-align: center; }
.invoice-preview { margin-top: 22px; padding: 22px; border-left: 4px solid var(--aqua); border-radius: 0 12px 12px 0; background: white; }
.invoice-preview span, .invoice-preview strong { display: block; }
.invoice-preview span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.invoice-preview strong { margin-top: 7px; }
.invoice-preview p { margin-bottom: 0; color: var(--ink-soft); font-size: 13px; }
.release-rule { margin-top: 16px; padding: 14px 16px; border-radius: 10px; color: #654817; background: #fff1cc; font-size: 13px; }

.cms-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #f3f6f7; box-shadow: var(--shadow); }
.cms-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; color: white; background: var(--ink); }
.cms-top strong { display: flex; align-items: center; gap: 10px; }
.cms-logo { width: 190px; height: auto; }
.cms-top strong span { color: var(--aqua); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cms-top span { color: #9fb2bd; font-size: 12px; }
.cms-body { display: grid; grid-template-columns: 180px 1fr; min-height: 590px; }
.cms-nav { padding: 22px 14px; border-right: 1px solid var(--line); background: white; }
.cms-nav a { display: block; padding: 10px 12px; border-radius: 9px; color: #5f7380; font-size: 13px; text-decoration: none; }
.cms-nav a.active { color: var(--blue); background: var(--sky); font-weight: 700; }
.cms-main { padding: 28px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric { padding: 18px; border-radius: 14px; background: white; }
.metric span { display: block; color: #6c7f8a; font-size: 12px; }
.metric strong { display: block; margin-top: 5px; font-size: 28px; }
.content-table { margin-top: 18px; overflow: hidden; border-radius: 14px; background: white; }
.content-row { display: grid; grid-template-columns: 1.6fr .7fr .6fr 32px; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.content-row:last-child { border-bottom: 0; }
.content-row strong { font-size: 13px; }
.status { display: inline-flex; width: fit-content; padding: 5px 9px; border-radius: 999px; color: #136458; background: var(--aqua-soft); font-size: 11px; font-weight: 700; }
.status.review { color: #8a5a19; background: #fff0cf; }
.agent-log { margin-top: 18px; padding: 20px; border-radius: 14px; color: #c4d2d9; background: var(--ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.agent-log div { display: grid; grid-template-columns: 68px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.agent-log div:last-child { border: 0; }
.agent-log span { color: #6fddcf; }

.palette-page {
  min-height: calc(100vh - 78px);
  padding: 34px 0 64px;
  background: #eceff0;
}
.palette-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.palette-intro h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.palette-intro p { max-width: 520px; margin: 0; color: var(--ink-soft); }
.palette-workbench { display: grid; grid-template-columns: 330px 1fr; gap: 16px; align-items: start; }
.palette-controls { display: grid; gap: 9px; }
.lab-control-group { display: grid; gap: 9px; }
.lab-control-group + .lab-control-group { margin-top: 12px; }
.lab-control-label { margin: 0 0 2px; color: #536672; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.palette-sub-label { margin: 8px 2px 0; color: #73838b; font-size: 12px; font-weight: 700; }
.palette-option {
  width: 100%;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(11,29,44,.14);
  border-radius: 15px;
  color: var(--ink);
  background: white;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.palette-option:hover { transform: translateY(-2px); }
.palette-option.active { border-color: #007f78; box-shadow: 0 0 0 3px rgba(0,127,120,.13); }
.palette-option strong, .palette-option small { display: block; }
.palette-option small { margin-top: 2px; color: #647783; font-size: 12px; }
.palette-swatches { display: flex; overflow: hidden; height: 42px; border-radius: 9px; }
.palette-swatches i { display: block; flex: 1; }
.font-option {
  width: 100%;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(11,29,44,.14);
  border-radius: 15px;
  color: var(--ink);
  background: white;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.font-option:hover { transform: translateY(-2px); }
.font-option.active { border-color: #007f78; box-shadow: 0 0 0 3px rgba(0,127,120,.13); }
.font-option strong, .font-option small { display: block; }
.font-option small { margin-top: 2px; color: #647783; font-size: 12px; }
.font-sample { font-size: 30px; line-height: 1; }
.font-option[data-font-button="instrument"] .font-sample { font-family: "Instrument Serif", Georgia, serif; }
.font-option[data-font-button="precision"] .font-sample { font-family: "Sora", sans-serif; font-weight: 600; letter-spacing: -.05em; }
.font-option[data-font-button="human"] .font-sample { font-family: "Newsreader", Georgia, serif; font-weight: 500; }
.font-option[data-font-button="signal"] .font-sample { font-family: "Space Grotesk", sans-serif; font-weight: 600; letter-spacing: -.05em; }
.font-option[data-font-button="current"] .font-sample { font-family: "DM Serif Display", Georgia, serif; }
.palette-stage {
  --p-bg: #f7efe6;
  --p-surface: #fffaf4;
  --p-ink: #2b111b;
  --p-primary: #741b38;
  --p-on-primary: #ffffff;
  --p-accent: #ee9832;
  --p-fresh: #4ecbbd;
  --p-font-body: "Manrope", "Segoe UI", sans-serif;
  --p-font-display: "Instrument Serif", Georgia, serif;
  overflow: hidden;
  position: sticky;
  top: 96px;
  min-height: 650px;
  border-radius: 24px;
  color: var(--p-ink);
  background: var(--p-bg);
  box-shadow: 0 24px 70px rgba(13,29,41,.16);
  transition: color .25s ease, background .25s ease;
}
.palette-stage[data-font="precision"] { --p-font-body:"Inter", "Segoe UI", sans-serif; --p-font-display:"Sora", "Segoe UI", sans-serif; }
.palette-stage[data-font="human"] { --p-font-body:"Plus Jakarta Sans", "Segoe UI", sans-serif; --p-font-display:"Newsreader", Georgia, serif; }
.palette-stage[data-font="signal"] { --p-font-body:"IBM Plex Sans", "Segoe UI", sans-serif; --p-font-display:"Space Grotesk", "Segoe UI", sans-serif; }
.palette-stage[data-font="current"] { --p-font-body:"DM Sans", "Segoe UI", sans-serif; --p-font-display:"DM Serif Display", Georgia, serif; }
.palette-stage[data-palette="evidence"] { --p-bg:#e7f4f2; --p-surface:#fbfffe; --p-ink:#082b33; --p-primary:#007f78; --p-accent:#ff7057; --p-fresh:#8dded5; }
.palette-stage[data-palette="authority"] { --p-bg:#e8efee; --p-surface:#fdfdfc; --p-ink:#071f2a; --p-primary:#0b625e; --p-accent:#d95e4b; --p-fresh:#7ec5bd; }
.palette-stage[data-palette="human"] { --p-bg:#f4eee7; --p-surface:#fffdf9; --p-ink:#17353b; --p-primary:#0f7772; --p-accent:#e76f58; --p-fresh:#a8dcd5; }
.palette-stage[data-palette="civic"] { --p-bg:#f7f9f9; --p-surface:#ffffff; --p-ink:#2c3e50; --p-primary:#34495e; --p-accent:#f39c12; --p-fresh:#16a085; }
.palette-stage[data-palette="harbour"] { --p-bg:#f2f7f6; --p-surface:#ffffff; --p-ink:#2f3e46; --p-primary:#0f4c5c; --p-accent:#8bc4b9; --p-fresh:#1b6b7a; }
.palette-stage[data-palette="clinical"] { --p-bg:#eaf7fb; --p-surface:#ffffff; --p-ink:#20343a; --p-primary:#1e7f8c; --p-accent:#63c9d6; --p-fresh:#bfeaf2; }
.palette-stage[data-palette="dusk"] { --p-bg:#f0dac5; --p-surface:#fff9f4; --p-ink:#1c2340; --p-primary:#50223c; --p-accent:#d88b6d; --p-fresh:#8a6177; }
.palette-stage[data-palette="mineral"] { --p-bg:#f5f5f5; --p-surface:#ffffff; --p-ink:#334b4c; --p-primary:#457778; --p-accent:#aca59e; --p-fresh:#d9e3e2; }
.palette-stage[data-palette="carbon"] { --p-bg:#f5f4ef; --p-surface:#ffffff; --p-ink:#111315; --p-primary:#ff642c; --p-on-primary:#111315; --p-accent:#31cfc1; --p-fresh:#ffc04e; }
.palette-stage[data-palette="oxblood"] { --p-bg:#f1e9df; --p-surface:#fffaf3; --p-ink:#21171a; --p-primary:#6b2338; --p-accent:#cf5934; --p-fresh:#9fbfba; }
.palette-stage[data-palette="pacific"] { --p-bg:#e7f4f2; --p-surface:#fbfffe; --p-ink:#082b33; --p-primary:#0b8f87; --p-accent:#ff7057; --p-fresh:#80dfd4; }
.palette-stage[data-palette="cobalt"] { --p-bg:#e9f4fa; --p-surface:#fffdf9; --p-ink:#0b1d2c; --p-primary:#1f5cff; --p-accent:#2cc7b8; --p-fresh:#ff826b; }
.palette-stage { font-family: var(--p-font-body); }
.palette-demo-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; border-bottom: 1px solid color-mix(in srgb, var(--p-ink) 14%, transparent); background: var(--p-surface); }
.palette-demo-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; }
.palette-demo-brand img { width: 210px; height: auto; }
.palette-demo-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--p-primary); font-family: var(--p-font-display); }
.palette-demo-nav-links { display: flex; align-items: center; gap: 18px; font-size: 11px; font-weight: 700; }
.palette-demo-button { padding: 10px 15px; border-radius: 999px; color: var(--p-on-primary); background: var(--p-primary); }
.palette-demo-hero { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 34px; min-height: 420px; padding: 44px; background: radial-gradient(circle at 90% 12%, color-mix(in srgb, var(--p-fresh) 35%, transparent), transparent 32%); }
.palette-demo-copy .eyebrow { color: var(--p-primary); }
.palette-demo-copy h2 { max-width: 590px; color: var(--p-ink); font-family: var(--p-font-display); font-size: clamp(2.7rem, 5vw, 5rem); }
.palette-demo-copy h2 em { color: var(--p-primary); font-weight: inherit; }
.palette-demo-copy p { max-width: 610px; color: color-mix(in srgb, var(--p-ink) 76%, transparent); }
.palette-demo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.palette-demo-actions span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--p-ink) 18%, transparent); border-radius: 999px; font-size: 12px; font-weight: 800; }
.palette-demo-actions span:first-child { color: var(--p-on-primary); border-color: var(--p-primary); background: var(--p-primary); }
.palette-demo-visual { position: relative; min-height: 300px; border-radius: 150px 150px 22px 22px; background: linear-gradient(165deg, var(--p-fresh), var(--p-primary)); }
.palette-demo-visual::before { content:"ME"; position:absolute; inset:0; display:grid; place-items:center; color:color-mix(in srgb, white 68%, transparent); font-family:var(--p-font-display); font-size:88px; }
.palette-demo-visual::after { content:"Evidence, made visible."; position:absolute; left:-22px; right:30px; bottom:-18px; padding:16px 18px; border-radius:14px; color:var(--p-surface); background:var(--p-ink); font-size:17px; font-weight:700; }
.palette-demo-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:18px 24px 26px; background:var(--p-surface); }
.palette-demo-card { padding:16px; border-top:3px solid var(--p-accent); background:color-mix(in srgb, var(--p-bg) 66%, white); }
.palette-demo-card strong { display:block; font-size:13px; }
.palette-demo-card span { display:block; margin-top:5px; color:color-mix(in srgb, var(--p-ink) 65%, transparent); font-size:11px; }
.palette-verdict { margin-top: 14px; padding: 16px 18px; border-radius: 14px; color: var(--p-ink); background: var(--p-surface); }
.palette-verdict strong { color: var(--p-primary); }
.palette-verdict p { margin: 3px 0 0; font-size: 13px; }
.palette-verdict hr { margin: 12px 0; border: 0; border-top: 1px solid color-mix(in srgb, var(--p-ink) 13%, transparent); }

.site-footer { padding: 70px 0 28px; color: #bdccd3; background: #0c3039; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 54px; }
.footer-logo { width: min(300px, 100%); margin-bottom: 28px; }
.footer-grid h3 { color: white; font-family: "Newsreader", Georgia, serif; font-size: 28px; font-weight: 500; }
.footer-grid h4 { margin-bottom: 16px; color: white; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid p { max-width: 420px; font-size: 14px; }
.footer-grid a { display: block; margin: 9px 0; color: #bdccd3; font-size: 13px; text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #8298a4; font-size: 11px; }
.footer-bottom .credits { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: #a8bbc4; }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found strong { color: var(--aqua); font-family: "Newsreader", Georgia, serif; font-size: 130px; line-height: .8; }

@media (max-width: 1040px) {
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 20px; border-bottom: 1px solid rgba(255,255,255,.12); background: var(--navy); box-shadow: 0 18px 30px rgba(8,39,47,.18); }
  .nav-links.open { display: grid; align-items: stretch; gap: 8px; }
  .nav-links > a:not(.button) { display: block; padding: 8px 0; }
  .nav-links > .button { margin-top: 6px; }
  .menu-button { display: block; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .location-hub-grid, .location-hero-grid, .location-content-grid { grid-template-columns: 1fr; }
  .location-hub-grid, .location-hero-grid { gap: 42px; }
  .location-content-grid { gap: 38px; }
  .location-grid { grid-template-columns: 1fr; }
  .national-art, .location-photo { min-height: 520px; }
  .hero { min-height: auto; }
  .hero-copy { max-width: 820px; }
  .hero-visual { min-height: 570px; }
  .hero-photo { inset-left: 70px; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .process, .payment-flow { grid-template-columns: repeat(3, 1fr); }
  .payment-paths { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .insight-feature { grid-template-columns: 1fr; }
  .insight-feature-note { margin-top: 0; }
  .article-final-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .palette-workbench { grid-template-columns: 1fr; }
  .palette-stage { position: static; }
  .palette-controls { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 32px), var(--max)); }
  .nav-wrap { width: min(calc(100% - 32px), var(--max)); }
  .nav-wrap { min-height: 68px; }
  .nav-links { top: 68px; }
  .section { padding: 76px 0; }
  .section-head { display: block; }
  .section-head .text-link { margin-top: 18px; }
  .hero { padding-top: 44px; }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .region-picker { align-items: stretch; flex-direction: column; gap: 4px; }
  .region-picker a { padding: 7px 0 0; }
  .hero-visual { min-height: 470px; }
  .hero-photo { inset: 0 0 60px; border-radius: 160px 160px 26px 26px; }
  .floating-seal { right: -8px; top: 30px; width: 96px; font-size: 9px; }
  .hero-note { padding: 18px; }
  .hero-note strong { font-size: 21px; }
  .statement-band .container { display: block; }
  .statement-band span { display: block; margin-top: 8px; }
  .card-grid, .card-grid.two, .card-grid.four { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .photo-card { min-height: 440px; }
  .process, .payment-flow { grid-template-columns: 1fr; }
  .location-hub-hero { padding: 54px 0; }
  .location-hub-hero h1, .location-hero h1 { font-size: clamp(3rem, 13vw, 4.4rem); }
  .national-art, .location-photo { min-height: 460px; }
  .location-hero { padding: 24px 0 64px; }
  .location-card { grid-template-columns: 1fr; }
  .location-card-media { min-height: 260px; }
  .location-card-copy { min-height: 280px; padding: 28px 24px; }
  .jurisdiction-panel { padding: 26px 22px; }
  .payment-path { padding: 28px 24px; }
  .process-step::before { margin-bottom: 12px; }
  .cta-panel { grid-template-columns: 1fr; padding: 38px 26px; }
  .service-row { grid-template-columns: 54px 1fr; gap: 18px; }
  .service-row > p { grid-column: 2; }
  .article-aside { grid-template-columns: 1fr; }
  .article-header { padding: 34px 0 58px; }
  .article-header h1 { font-size: clamp(2.75rem, 13vw, 4.25rem); }
  .article-header .deck { font-size: 1.1rem; }
  .article-actions { align-items: stretch; }
  .answer-panel, .key-takeaways { grid-template-columns: 1fr; gap: 18px; padding: 28px 24px; }
  .insight-feature-copy { padding: 38px 26px; }
  .insight-feature-note { margin: 0 20px 20px; padding: 26px; }
  .library-toolbar { display: grid; align-items: start; }
  .insight-search { width: 100%; }
  .article-final-cta { padding: 34px 26px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .referral-shell { grid-template-columns: 1fr; }
  .referral-side { padding: 24px; }
  .step-nav { grid-template-columns: repeat(5, 1fr); }
  .step-nav button { grid-template-columns: 1fr; justify-items: center; padding: 8px 2px; text-align: center; }
  .referral-main { padding: 28px 22px; }
  .payment-referral-panel { padding: 22px 16px; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .cms-body { grid-template-columns: 1fr; }
  .cms-top { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px; }
  .cms-top strong { width: 100%; flex-wrap: wrap; }
  .cms-top > span { max-width: 270px; line-height: 1.45; }
  .cms-logo { width: min(190px, calc(100% - 58px)); }
  .cms-nav { display: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .content-row { grid-template-columns: 1fr .7fr; }
  .content-row > :nth-child(3), .content-row > :nth-child(4) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom .credits { margin-top: 12px; }
  .palette-intro { display: block; }
  .palette-intro p { margin-top: 12px; }
  .palette-controls { grid-template-columns: 1fr; }
  .palette-demo-hero { grid-template-columns: 1fr; padding: 30px 24px 44px; }
  .palette-demo-visual { min-height: 240px; }
  .palette-demo-cards { grid-template-columns: 1fr; }
  .palette-demo-nav-links span:not(.palette-demo-button) { display: none; }
}

@media (max-width: 520px) {
  .brand-logo { width: min(178px, calc(100vw - 112px)); }
  .national-art, .location-photo { min-height: 390px; }
  .location-card-media { min-height: 220px; }
  .location-meta { display: grid; grid-template-columns: 1fr; }
  .location-meta span { width: fit-content; }
  .stripe-fields { grid-template-columns: 1fr; }
  .stripe-head, .mock-total { align-items: flex-start; flex-direction: column; gap: 5px; }
  .mock-total strong { text-align: left; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: auto; }
  .article-meta { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .article-meta-item { display: block; }
  .article-meta-item b { display: inline-block; min-width: 74px; margin-right: 6px; }
  .article-header h1 { font-size: clamp(2.55rem, 12vw, 3.35rem); }
  .page-hero h1 { font-size: clamp(2.7rem, 13vw, 3.7rem); }
  .card, .audience-card { padding: 26px 22px; }
  .related-insights .section-head { margin-bottom: 26px; }
}

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