/* Compline public site.
   Tokens: true black, self-hosted Inter, light numerals,
   hairline dividers, muted purple accent. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #000000;
  --ink: #ffffff;
  --text: rgba(255, 255, 255, 0.82);
  --muted: rgba(255, 255, 255, 0.56);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #a898c9;
  --measure: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html {
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 "Inter", system-ui, sans-serif;
}
::selection { background: rgba(168, 152, 201, 0.35); color: var(--ink); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: min(var(--measure), calc(100% - 48px));
  margin-inline: auto;
}
.wrap.narrow { --measure: 680px; }

.top {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 28px;
  min-height: 64px;
  padding-block: 10px;
}
.brand {
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.03em;
  padding-block: 8px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
  font-size: 14px;
}
.nav a {
  color: var(--muted);
  padding-block: 8px;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }

.hero {
  display: grid;
  gap: 56px;
  padding: 56px 0 8px;
}
.kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  color: var(--ink);
  font-weight: 300;
  font-size: clamp(40px, 8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.lede {
  margin: 28px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.policy {
  margin: 18px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.text-link {
  margin: 32px 0 0;
}
.text-link a {
  color: var(--ink);
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}
.text-link a:hover { border-bottom-color: var(--accent); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 32px;
}
.hero-actions .text-link { margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #000;
  font: 500 14px/1 "Inter", system-ui, sans-serif;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:disabled,
.btn:disabled:hover {
  background: var(--ink);
  color: #000;
  opacity: 0.45;
  cursor: default;
}
.nav a.btn { color: #000; padding: 8px 14px; }
.nav a.btn:hover { color: var(--ink); }
.nav a.btn[aria-current="page"] {
  background: var(--ink);
  color: #000;
}

.numeral {
  margin: 0;
  color: var(--ink);
  font-weight: 300;
  font-size: clamp(96px, 22vw, 132px);
  line-height: 0.84;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.score-name {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.score hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}
.suggest {
  margin: 0;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.place {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.place strong {
  color: var(--ink);
  font-weight: 400;
}

.block { padding: 88px 0 0; }
h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.sub {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.steps li {
  display: grid;
  gap: 14px;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}
.step-num {
  color: var(--ink);
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.steps h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.rows {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.rows li {
  margin: 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.rows strong {
  color: var(--ink);
  font-weight: 500;
}

.close { padding-bottom: 96px; }
.close p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
}

.page {
  padding: 56px 0 96px;
}
.page .sub { margin-top: 22px; }
.page .sub + .sub { margin-top: 18px; }

.waitlist { margin-top: 36px; max-width: 32rem; }
.waitlist .field + .field { margin-top: 22px; }
.waitlist label {
  display: block;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.waitlist .opt { color: var(--muted); font-weight: 400; }
.waitlist input,
.waitlist select {
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px;
  font: 400 16px/1.4 "Inter", system-ui, sans-serif;
}
.waitlist input::placeholder { color: rgba(255, 255, 255, 0.35); }
.waitlist .btn { margin-top: 28px; }
.honeypot {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}
.waitlist .honeypot input {
  width: 1px;
  min-width: 0;
  padding: 0;
  border: 0;
}
.form-status {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.5;
}
.form-status.is-ok,
.form-status.is-note { color: var(--ink); }
.form-status.is-err { color: #f3c7c7; }
.form-status:empty { margin-top: 0; }
.field-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.legal .waitlist { max-width: none; }
.waitlist label.check {
  display: flex;
  gap: 0.65em;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.5;
}
.waitlist label.check input {
  width: auto;
  flex: none;
  margin-top: 0.35em;
  accent-color: var(--accent);
}
.waitlist label.check a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.fine {
  margin: 28px 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 14px;
}

.legal { padding: 56px 0 96px; }
.legal .kicker { margin-bottom: 20px; }
.legal h1 { font-size: clamp(40px, 8vw, 60px); }
.legal > p,
.legal li { color: var(--muted); }
.legal h2 {
  margin: 56px 0 14px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.legal p { margin: 0 0 16px; overflow-wrap: anywhere; }
.legal ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.legal li {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.legal strong { color: var(--ink); font-weight: 500; }
.legal em { font-style: italic; }
code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: var(--ink);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: var(--muted); padding-block: 6px; }
.footer a:hover { color: var(--ink); }

@media (min-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 80px;
    align-items: end;
    padding: 104px 0 16px;
  }
  .block { padding-top: 120px; }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
  }
  .steps li {
    border-bottom: 0;
    padding: 32px 36px 40px 0;
  }
  .steps li + li {
    padding-left: 36px;
    box-shadow: inset 1px 0 0 var(--line);
  }
  .legal, .page { padding-top: 96px; }
}

/* Marketing pages (homepage and /how-it-works).
   Tokens mirrored from the Compline dashboard stylesheet:
   tangitally/sentry-risk static/compline.css
   (deployed as https://app.getcompline.app/static/compline.css).
   Color values are that file's :root. Type, cards, the gauge ring,
   and btn-primary follow the Oct 23 design pass in the same file
   (label over value, 16px radius, spacing 4/8/12/16/24/32).
   The sentry-risk repo was not readable from this environment;
   values were copied from the deployed stylesheet.
   Scoped to body.mkt so /sms, /privacy, /terms, and /signup
   keep the tokens above. */
body.mkt {
  --bg: #000000;
  --ink: #ffffff;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.60);
  --faint: rgba(255, 255, 255, 0.40);
  --line: #262626;
  --line-strong: #262626;
  --surface-1: #111111;
  --surface-2: #1a1a1a;
  --surface-3: #262626;
  --accent: #a78bfa;
  --rose: #f87171;
  --ok: #34d399;
  --warn: #fbbf24;
  --brand: var(--accent);
  --danger: var(--rose);
  --risk-quiet: var(--ok);
  --risk-watchful: var(--warn);
  --risk-elevated: var(--rose);
  --risk-hot: var(--rose);
  --risk-none: rgba(255, 255, 255, 0.40);
  --card: var(--surface-1);
  --track: var(--surface-3);
  /* Demo Now screen (score 38) uses the watchful / amber ring. */
  --c: var(--risk-watchful);
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  overflow-wrap: break-word;
}
body.mkt :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
body.mkt ::selection {
  background: color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--ink);
}
body.mkt a { color: var(--accent); }
body.mkt a.m-btn,
body.mkt a.m-btn:hover { color: #000; }
body.mkt a.m-skip { color: #000; }
body.mkt a.m-nav-link { color: var(--muted); }
body.mkt a.m-nav-link:hover,
body.mkt a.m-nav-link[aria-current="page"] { color: var(--ink); }
body.mkt .m-foot a { color: var(--muted); }
body.mkt .m-foot a:hover,
body.mkt .m-foot a[aria-current="page"] { color: var(--ink); }
body.mkt .m-attr a { color: var(--muted); }

.m-skip {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 4;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  transform: translateY(-160%);
}
.m-skip:focus { transform: none; }

.m-wrap {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}
.m-narrow { width: min(760px, calc(100% - 32px)); }

.m-top {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.m-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding-block: 4px;
}
.m-logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.m-logo img { display: block; flex: none; }
.m-logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.m-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.m-nav-link {
  display: none;
  align-items: center;
  min-height: 48px;
  color: var(--muted);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
}
.m-nav-link:hover,
.m-nav-link[aria-current="page"] { color: var(--ink); }

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  background: var(--accent);
  color: #000;
  font: 600 15px/20px "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.m-btn:hover { filter: brightness(1.06); color: #000; }
.m-btn-block { width: 100%; max-width: 390px; }

.m-kicker,
.m-label {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
body.mkt h1 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
body.mkt h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.m-lede {
  margin: 8px 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 17px;
  line-height: 22px;
}
.m-note {
  margin: 8px 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}
.m-value {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.m-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
}
.m-text {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--accent);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
}
.m-text:hover { text-decoration: underline; text-underline-offset: 3px; }

.m-hero { padding-top: 16px; }
.m-hero h1 { margin-top: 0; }
.m-hero-grid { display: grid; gap: 16px; }
.m-hero-grid > * { min-width: 0; }
.m-phone {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-1);
}
.m-phone img { width: 100%; height: auto; }
.m-phone figcaption {
  margin: 0;
  padding: 12px 16px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.m-section { padding-top: 24px; }
.m-grid {
  display: grid;
  gap: 12px;
}
.m-card {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.m-card .m-label { margin-top: 16px; }
.m-card > .m-label:first-child,
.m-gauge + .m-label { margin-top: 0; }
.m-shot {
  width: 100%;
  height: auto;
  margin-top: 16px;
  border-radius: 16px;
}
.m-loc {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.m-asof,
.m-attr {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}
.m-attr { margin-top: 8px; }
.m-attr a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.m-gauge {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 8px auto 12px;
}
.m-gauge svg {
  display: block;
  width: 168px;
  height: 168px;
  transform: rotate(-90deg);
}
.m-gauge circle {
  fill: none;
  stroke-width: 8;
}
.m-ring-track { stroke: var(--surface-3); }
.m-ring-track { stroke: color-mix(in srgb, var(--c) 22%, transparent); }
.m-ring-fill {
  stroke: var(--c);
  stroke-linecap: round;
  stroke-dasharray: 477.52;
  stroke-dashoffset: 296.06;
  animation: m-ring 1.1s ease forwards;
}
@keyframes m-ring {
  from { stroke-dashoffset: 477.52; }
  to { stroke-dashoffset: 296.06; }
}
.m-score {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--c);
  font-size: 52px;
  line-height: 52px;
  font-weight: 600;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.m-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.m-card > .m-shot:first-child { margin-top: 0; }
.m-bands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 12px;
  line-height: 16px;
}
.m-bands li { display: flex; align-items: center; }
.m-dot {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--faint);
}
.m-dot-quiet { background: var(--risk-quiet); }
.m-dot-watchful { background: var(--risk-watchful); }
.m-dot-elevated,
.m-dot-hot { background: var(--risk-hot); }

.m-bubble {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-2);
}
.m-bubble .m-label { margin-top: 0; }
.m-bubble .m-value { margin-top: 4px; }

.m-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.m-steps li {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-1);
}
.m-num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--accent);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.m-steps h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}
.m-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 20px;
}
.m-more { margin: 16px 0 0; }

.m-beta .m-btn { margin-top: 16px; }

.m-prose { display: block; margin-top: 24px; min-width: 0; }
.m-prose > p + p,
.m-prose > div > p + p,
.m-prose > .m-card + p,
.m-prose > .m-timeline + p { margin-top: 12px; }
.m-prose > p + .m-card,
.m-prose > p + .m-timeline,
.m-prose > .m-timeline { margin-top: 12px; }
.m-prose .m-sources { margin-top: 16px; }
.m-prose + .m-card { margin-top: 32px; }
.m-prose h2 { margin: 24px 0 8px; }
.m-prose h2:first-child { margin-top: 0; }
.m-prose h3 {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.m-prose p,
.m-prose li {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
}
.m-prose .m-card p + p { margin-top: 12px; }
.m-prose h3 + p { margin-top: 4px; }
.m-prose p.m-value {
  color: var(--ink);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.m-prose .m-value { color: var(--ink); }
.m-prose ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.m-prose li {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.m-prose li + li { margin-top: 8px; }
.m-prose strong { color: var(--ink); font-weight: 600; }
.m-prose a { text-underline-offset: 2px; }
.m-end { padding-bottom: 24px; }

.m-save { margin-top: 24px; scroll-margin-top: 72px; }
.m-prose .m-save h2 { margin-top: 0; }
.m-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.m-prose .m-stats li,
.m-prose .m-stats li + li {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-1);
  min-width: 0;
}
.m-prose .m-stat-num {
  margin: 0;
  color: var(--accent);
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.m-prose .m-stat-per {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
}
.m-prose .m-stat-label {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.m-prose .m-save .m-note {
  margin-top: 16px;
  max-width: 36rem;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

.m-foot {
  margin-top: 24px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}
.m-foot p { margin: 0; }
.m-foot p + p { margin-top: 4px; }
.m-foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.m-foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.m-foot a {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  text-decoration: none;
  padding-block: 8px;
}
.m-foot a:hover { color: var(--ink); }

@media (min-width: 1024px) {
  body.mkt h1 {
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.045em;
  }
  body.mkt h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .m-hero { padding-top: 32px; }
  .m-section { padding-top: 32px; }
  .m-prose .m-stat-num {
    font-size: 40px;
    line-height: 44px;
  }
  .m-nav { gap: 16px; }
  .m-nav-link { display: inline-flex; }
  .m-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 360px);
    gap: 48px;
    align-items: start;
  }
  .m-actions {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .m-actions .m-btn { width: auto; }
  .m-grid { grid-template-columns: 1fr 1fr; }
  .m-span { grid-column: 1 / -1; }
  .m-steps { grid-template-columns: 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .m-ring-fill {
    animation: none;
    stroke-dashoffset: 296.06;
  }
}

/* Homepage flow, value props, trust, estimate, and the header menu.
   Still on the 4/8/12/16/24/32 scale. No shadows. */

.m-nav .m-btn { white-space: nowrap; }
.m-logo,
.m-menu,
.m-nav .m-btn { flex: none; }

.m-menu { position: relative; }
.m-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.m-menu-btn::-webkit-details-marker,
.m-menu-btn::marker {
  display: none;
  content: none;
}
.m-burger,
.m-close {
  display: block;
  width: 24px;
  height: 24px;
}
.m-menu[open] .m-burger,
.m-menu:not([open]) .m-close { display: none; }
.m-menu-panel {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 4;
  display: grid;
  min-width: 200px;
  max-width: calc(100vw - 32px);
  margin-top: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-1);
}
body.mkt a.m-menu-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
}
body.mkt a.m-menu-link:hover,
body.mkt a.m-menu-link[aria-current="page"] { color: var(--accent); }

.m-icon {
  display: block;
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.m-props,
.m-savings,
.m-facts,
.m-counties {
  display: grid;
  gap: 12px;
}
.m-props h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.m-props p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 20px;
}
.m-facts,
.m-counties {
  margin: 0;
  padding: 0;
  list-style: none;
}
.m-facts li,
.m-counties li {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-1);
  color: var(--ink);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.m-flow {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}
.m-flow::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--line);
}
.m-flow li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
}
.m-flow .m-num { position: relative; z-index: 1; background: var(--bg); }
.m-flow h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.m-flow p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
}

.m-year {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.m-card .m-year,
.m-prose .m-card p.m-year {
  margin-top: 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.m-assume,
.m-prose .m-card p.m-assume {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}
.m-assume a { text-underline-offset: 2px; }

.m-math {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.m-math p,
.m-prose .m-math p,
.m-prose .m-card .m-math p,
.m-prose .m-card .m-math p + p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}
.m-math p + p,
.m-prose .m-card .m-math p + p { margin-top: 4px; }

.m-score-layout {
  display: grid;
  gap: 16px;
  align-items: center;
}
.m-inputs {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.m-inputs li,
.m-prose .m-inputs li,
.m-prose .m-inputs li + li {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.m-prose .m-bands li,
.m-prose .m-bands li + li {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.m-timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.m-timeline li,
.m-prose .m-timeline li,
.m-prose .m-timeline li + li {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}
.m-timeline h3,
.m-prose .m-timeline h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.m-timeline p,
.m-prose .m-timeline p,
.m-prose .m-card .m-timeline p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
}
.m-prose .m-counties,
.m-prose .m-facts { margin: 0; }
.m-prose .m-counties li,
.m-prose .m-counties li + li {
  margin-top: 0;
  border-top: 0;
  padding-top: 16px;
}
.m-counties { margin-bottom: 12px; }
.m-sources { margin: 0; padding: 0; list-style: none; }
.m-inset { background: var(--surface-2); }
.m-savings { margin-top: 16px; }
.m-range {
  display: block;
  width: 100%;
  height: 32px;
  margin: 8px 0 0;
  accent-color: var(--accent);
}
.m-ask {
  display: block;
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}
.m-baseline,
.m-prose .m-baseline,
.m-prose p.m-baseline {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

body.mkt a.m-linkrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-1);
  color: var(--ink);
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
}
body.mkt a.m-linkrow:hover { color: var(--accent); }
.m-linkrow::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.m-strip {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-1);
}
.m-strip li {
  margin: 0;
  padding: 16px;
  border-top: 1px solid var(--line);
}
.m-strip li:first-child { border-top: 0; }
.m-strip .m-label { margin: 0; }
.m-strip-num {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

@media (min-width: 1024px) {
  .m-menu { display: none; }
  .m-props { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .m-savings { grid-template-columns: 1fr 1fr; }
  .m-savings > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .m-facts,
  .m-counties { grid-template-columns: 1fr 1fr; }
  .m-counties { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .m-flow::before {
    left: 16px;
    right: 16px;
    top: 16px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .m-flow li { display: block; }
  .m-flow .m-num { margin-bottom: 12px; }
  .m-flow h3 { margin-top: 0; }
  .m-flow p { margin-top: 4px; }
  .m-score-layout { grid-template-columns: minmax(0, 1fr) 168px; }
  .m-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m-strip li { border-top: 0; border-left: 1px solid var(--line); }
  .m-strip li:first-child { border-left: 0; }
}
