
:root {
  --ink: #17222b;
  --muted: #5d6b75;
  --paper: #f8f7f2;
  --surface: #ffffff;
  --surface-2: #edf3f0;
  --navy: #163c4a;
  --navy-2: #0d2a35;
  --green: #2f6b52;
  --green-2: #24553f;
  --amber: #c88931;
  --amber-soft: #f5e8d1;
  --line: #d8e0dc;
  --danger: #a34438;
  --shadow: 0 18px 45px rgba(16, 43, 52, .11);
  --shadow-sm: 0 8px 22px rgba(16, 43, 52, .08);
  --radius: 18px;
  --radius-sm: 11px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 820px); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 999; padding: .75rem 1rem; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(248,247,242,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(216,224,220,.82); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy-2); font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(145deg, var(--navy), var(--green)); box-shadow: var(--shadow-sm); }
.brand-mark svg { width: 24px; height: 24px; }
.brand small { display: block; color: var(--muted); font-weight: 600; letter-spacing: .01em; font-size: .69rem; margin-top: -.18rem; }
.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .94rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green); }
.nav-cta, .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .75rem 1.05rem; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.nav-cta, .btn-primary { color: #fff !important; background: var(--green); box-shadow: 0 8px 18px rgba(47,107,82,.2); }
.nav-cta:hover, .btn-primary:hover { background: var(--green-2); transform: translateY(-1px); }
.btn-secondary { color: var(--navy); background: #fff; border-color: var(--line); }
.btn-secondary:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn-small { min-height: 39px; padding: .55rem .85rem; font-size: .88rem; }
.menu-button { display: none; background: transparent; border: 0; padding: .65rem; border-radius: 8px; }
.menu-button svg { width: 25px; height: 25px; }

/* —— Mini-site header (local commercial markets under /septic-problems/*-nc/) —— */
/* Global primary nav is not rendered on these pages — only the mini-site header. */
body.mini-site .site-header:not(.mini-site-header) { display: none !important; }
.mini-site-header { background: rgba(248,247,242,.97); }
.mini-nav-wrap { display: flex; flex-direction: column; gap: .55rem; padding: .85rem 0 .75rem; }
.mini-brand-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.mini-brand { flex: 1 1 auto; min-width: 0; }
.mini-brand .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.mini-brand .brand-mark svg { width: 20px; height: 20px; }
.mini-brand small { display: block !important; font-size: .68rem; }
.mini-escape,
.mini-all-markets {
  font-size: .82rem;
  font-weight: 800;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  padding: .35rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}
.mini-escape { margin-left: auto; color: var(--navy); border-color: #c5d5ce; }
.mini-escape:hover,
.mini-all-markets:hover { color: var(--green); border-color: #c5d5ce; }
.mini-market-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--navy-2);
  line-height: 1.2;
}
.mini-site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .85rem;
  padding-top: .15rem;
}
.mini-site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: .88rem;
  padding: .25rem 0;
}
.mini-site-nav a:hover,
.mini-site-nav a[aria-current="page"] { color: var(--green); }
.mini-site-nav .nav-cta {
  min-height: 38px;
  padding: .45rem .9rem;
  font-size: .86rem;
  margin-left: .15rem;
}

/* Contextual return on shared educational pages */
.context-return {
  border-bottom: 1px solid var(--line);
  background: #edf3f0;
  padding: .75rem 0;
  font-size: .92rem;
  font-weight: 800;
}
.context-return a {
  color: var(--navy-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.context-return a:hover { color: var(--green); text-decoration: underline; }
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 9vw, 7rem) 0; background: radial-gradient(circle at 82% 20%, rgba(200,137,49,.18), transparent 25%), radial-gradient(circle at 20% 88%, rgba(47,107,82,.16), transparent 28%), linear-gradient(135deg, #f8f7f2 0%, #edf3f0 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-stack { display: grid; gap: 0; max-width: none; }
.hero-stack .hero-title,
.hero-stack h1.hero-title { max-width: none; width: 100%; }
.hero-stack .lede { max-width: 72ch; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; color: var(--green-2); font-size: .78rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); }
h1, h2, h3 { color: var(--navy-2); line-height: 1.15; letter-spacing: -.035em; }
h1 { margin: 0 0 1.25rem; font-size: clamp(2.45rem, 6vw, 5rem); max-width: 15ch; }
h2 { font-size: clamp(1.85rem, 3.3vw, 3rem); margin: 0 0 1rem; }
h3 { font-size: 1.28rem; margin: 0 0 .6rem; }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.28rem); color: #40515c; max-width: 64ch; margin: 0 0 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.trust-strip { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; margin: 1.6rem 0 0; padding: 0; list-style: none; color: var(--muted); font-weight: 700; font-size: .92rem; }
.trust-strip li { display: flex; gap: .4rem; align-items: center; }
.trust-strip svg { width: 18px; height: 18px; color: var(--green); }
.hero-panel { position: relative; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.8); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); }
.hero-panel-inline { margin-top: 2rem; width: 100%; }
.problem-map { display: grid; gap: .85rem; }
.problem-map-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.problem-row { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.problem-icon, .icon-box { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--amber-soft); color: #865714; }
.problem-row strong { display: block; color: var(--navy-2); }
.problem-row span { color: var(--muted); font-size: .91rem; }
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-muted { background: var(--surface-2); border-block: 1px solid var(--line); }
.section-dark { color: #eef5f3; background: linear-gradient(145deg, var(--navy-2), #19495a); }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark .section-intro, .section-dark p { color: #cfddda; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-intro { color: var(--muted); max-width: 64ch; margin: .4rem 0 0; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; box-shadow: 0 2px 0 rgba(17,54,66,.02); }
.card-link { display: block; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card p:last-child { margin-bottom: 0; }
.card .kicker { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 900; color: var(--green); }
.card-muted { background: rgba(255,255,255,.62); }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .32rem .6rem; background: var(--amber-soft); color: #754a0d; font-size: .73rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.badge-green { background: #dfeee7; color: #23523e; }
.breadcrumbs { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.breadcrumbs ol { display: flex; gap: .45rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: #95a19b; }
.article-hero { padding: clamp(3.2rem, 7vw, 5.5rem) 0; background: linear-gradient(135deg, #edf3f0, #fbf7ee); border-bottom: 1px solid var(--line); }
.article-hero h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); max-width: 18ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.article-layout { display: block; max-width: min(100%, 860px); }
.article-content { min-width: 0; }
.article-content > *:first-child { margin-top: 0; }
.article-content h2 { margin-top: 2.8rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.article-content h3 { margin-top: 2rem; }
.article-content p, .article-content li { color: #344650; }
.article-content ul, .article-content ol { padding-left: 1.25rem; }
.callout { margin: 1.5rem 0; border-left: 4px solid var(--amber); background: #fff9ef; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.15rem; }
.callout strong { color: var(--navy-2); }
.callout-danger { border-left-color: var(--danger); background: #fff4f1; }
.callout-green { border-left-color: var(--green); background: #edf7f2; }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 1.7rem; margin: .6rem 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.symptom-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; margin: 1.2rem 0; }
.symptom { padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.symptom strong { display: block; color: var(--navy-2); }
.decision-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.decision-table th, .decision-table td { padding: .9rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.decision-table th { color: var(--navy-2); background: var(--surface-2); font-size: .88rem; }
.decision-table tr:last-child td { border-bottom: 0; }
.provider-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.provider-card { display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.provider-card p { margin: 0; font-size: .94rem; }
.provider-card .provider-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .7rem;
  padding-top: .95rem;
  border-top: 1px solid var(--line);
}
.provider-card .provider-area {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
}
.provider-card .provider-footer .btn {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  padding: .7rem 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 12px;
  border: 1.5px solid var(--green);
  background: #edf7f2;
  color: var(--green-2) !important;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: none;
  text-decoration: none;
}
.provider-card .provider-footer .btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(47, 107, 82, .18);
}
.provider-card .provider-footer .btn:focus-visible {
  outline: 3px solid rgba(47, 107, 82, .35);
  outline-offset: 2px;
}
.directory-note { font-size: .88rem; color: var(--muted); }
.form-shell { border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.form-head { padding: 1.5rem; background: linear-gradient(135deg, var(--navy), #24596a); color: #fff; }
.form-head h2, .form-head h3 { color: #fff; margin-bottom: .55rem; }
.form-head p { color: #dce9e6; margin: 0; }
.form-body { padding: clamp(1.25rem, 3vw, 2rem); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.form-group { display: grid; gap: .38rem; }
.form-group.full { grid-column: 1/-1; }
label, legend { color: var(--navy-2); font-weight: 800; font-size: .91rem; }
.required { color: var(--danger); }
input, select, textarea { width: 100%; border: 1px solid #bdcac4; border-radius: 10px; background: #fff; color: var(--ink); padding: .78rem .85rem; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47,107,82,.16); border-color: var(--green); }
textarea { min-height: 130px; resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: .9rem; }
.option-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin-top: .55rem; }
.option { display: flex; gap: .55rem; align-items: flex-start; color: #344650; font-size: .91rem; font-weight: 600; }
.option input { width: auto; margin-top: .25rem; }
.form-note { color: var(--muted); font-size: .82rem; }
.form-status { margin-top: 1rem; border-radius: 10px; padding: .85rem; display: none; }
.form-status.success { display: block; background: #e5f3eb; color: #194f36; }
.form-status.error { display: block; background: #fae7e3; color: #803629; }
.local-preview { display: none; padding: .65rem 1rem; text-align: center; background: #fff2d9; border-bottom: 1px solid #e8ca8e; color: #6d480c; font-size: .87rem; font-weight: 800; }
.local-preview.is-visible { display: block; }
.steps { counter-reset: steps; display: grid; gap: 1rem; }
.step {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: .35rem;
  align-items: start;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: static;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 2.15rem;
  height: 2.15rem;
  margin-top: .05rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  line-height: 1;
}
.step h2,
.step h3 {
  grid-column: 2;
  margin: 0;
  line-height: 1.2;
}
.step p {
  grid-column: 2;
  margin: 0;
}
.disclosure-note,
.fine-print {
  margin: 2rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.disclosure-note .disclosure-label,
.fine-print .disclosure-label {
  display: block;
  margin: 0 0 .4rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: #4a5a63;
}
.disclosure-note p,
.fine-print p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.55;
  color: var(--muted);
}
.scope-note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
}
.scope-note strong {
  display: block;
  margin-bottom: .35rem;
  color: var(--navy-2);
  font-size: .92rem;
}
.scope-note p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--muted);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible {
  outline: 3px solid rgba(47, 107, 82, .35);
  outline-offset: 2px;
}
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; color: var(--navy-2); font-weight: 850; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 1.25rem; }
details[open] summary::after { content: "–"; }
.source-list { font-size: .86rem; color: var(--muted); }
.source-list li { margin: .55rem 0; }
.site-footer { padding: 3rem 0 1.25rem; background: #0d2934; color: #c9d8d4; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr .7fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: -.01em; }
.site-footer a { color: #dbe9e5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: .52rem 0; }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #9fb3ad; }
.sticky-mobile-cta { display: none; }
.notice { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.prose h2 { margin-top: 2.4rem; font-size: 1.65rem; }
.prose .step h2 { margin-top: 0; font-size: 1.4rem; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: #344650; }
@media (max-width: 900px) {
  .menu-button { display: block; }
  .site-nav { position: fixed; inset: 77px 1rem auto; display: none; align-items: stretch; flex-direction: column; gap: .25rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .7rem; }
  .site-nav .nav-cta { margin-top: .35rem; }
  .mini-site-header .mini-site-nav {
    position: fixed;
    inset: 118px 1rem auto;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: .25rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .mini-site-header .mini-site-nav.is-open { display: flex; }
  .mini-site-header .mini-site-nav a { padding: .7rem; }
  .mini-site-header .mini-site-nav .nav-cta { margin-left: 0; margin-top: .35rem; }
  .mini-escape,
  .mini-all-markets { margin-right: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .problem-map-3 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
}
@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .container, .narrow { width: min(calc(100% - 1.25rem), var(--max)); }
  .brand small { display: none; }
  .mini-brand small { display: block !important; }
  .mini-site-header .mini-site-nav { inset: 128px 1rem auto; }
  .mini-escape,
  .mini-all-markets { font-size: .75rem; padding: .3rem .45rem; }
  .mini-brand-row { gap: .4rem; }
  .hero { padding-top: 3rem; }
  h1 { font-size: 2.55rem; }
  .grid-2, .grid-3, .grid-4, .provider-grid, .symptom-grid, .form-grid, .problem-map-3 { grid-template-columns: 1fr; }
  .option-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .decision-table { display: block; overflow-x: auto; }
  .sticky-mobile-cta { display: flex; position: fixed; z-index: 80; left: .65rem; right: .65rem; bottom: .65rem; padding: .65rem; gap: .5rem; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .sticky-mobile-cta .btn { flex: 1; min-height: 46px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
.section-dark .step h3 { color: var(--navy-2); }
.section-dark .step p { color: #40515c; }


/* Editorial images */
.figure {
  margin: 1.75rem 0 2rem;
  max-width: 100%;
}
.figure-photo,
.figure-hero,
.figure-diagram {
  margin: 1.75rem 0 2rem;
  max-width: min(100%, 880px);
}
.figure-media {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 2px 0 rgba(17, 54, 66, .02);
}
.figure-photo .figure-media {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.figure-hero {
  max-width: min(100%, 980px);
}
.figure-hero .figure-media {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.figure-diagram {
  max-width: min(100%, 760px);
}
.figure-diagram .figure-media {
  object-fit: contain;
  background: #fff;
  padding: .5rem;
}
.figure-diagram.figure-diagram-square {
  max-width: min(100%, 560px);
}
.figure-diagram.figure-diagram-square .figure-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: contain;
}
.figure figcaption,
.figure-caption {
  margin: .65rem 0 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 68ch;
}
.hero-with-media {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}
.hero-with-media .figure-hero {
  margin: 0;
  max-width: none;
}
@media (min-width: 900px) {
  .hero-with-media {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
  }
}
.system-explainer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.system-explainer h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 .75rem;
}
.system-explainer > p {
  color: #344650;
  max-width: 68ch;
  margin: 0 0 1rem;
}
