:root {
  --navy: #0b1f33;
  --ink: #0f172a;
  --muted: #5b6b7c;
  --line: #e2e8f0;
  --bg: #f6f8fa;
  --card: #ffffff;
  --accent: #0e7490;
  --accent-dark: #0b5c6e;
  --up: #b45309;
  --down: #0f766e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h2 { font-size: 26px; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--navy); color: #fff; font-size: 13px; letter-spacing: .04em;
}
.brand-name { font-size: 17px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px; border-radius: 9px; font-size: 14px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #16324f; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: #cbd5e1; }
.btn-ghost { background: transparent; color: var(--accent-dark); border-color: var(--line); font-size: 13px; padding: 8px 14px; }
.btn-ghost:hover { border-color: var(--accent); }

/* hero */
.hero { padding: 72px 0 48px; background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); max-width: 820px; }
.lede { font-size: 18px; color: var(--muted); max-width: 720px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero-note { font-size: 13px; color: var(--muted); }

/* sections */
.section { padding: 56px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 26px; }
.section-head .sub, .sub { color: var(--muted); margin: 0; max-width: 760px; }

/* kpis */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.kpi-label { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.kpi-value { font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.kpi-unit { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.kpi-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #f1f5f9; color: #334155; white-space: nowrap; }
.chip .chip-label { color: var(--muted); font-weight: 500; margin-right: 4px; }
.chip-up { color: var(--up); background: #fdf4e7; }
.chip-down { color: var(--down); background: #eefaf7; }
.kpi-chart { position: relative; height: 64px; margin: 0 -4px 12px; }
.kpi-foot { font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: auto; }
.kpi-foot strong { color: #334155; font-weight: 600; }

/* cards and two-column */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.brief-text { font-size: 17px; line-height: 1.65; }
.caption { font-size: 12.5px; color: var(--muted); margin-bottom: 0; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-dark); background: #e6f4f7; padding: 3px 8px; border-radius: 999px; margin-bottom: 8px; }

/* compliance list */
.doc-list { list-style: none; margin: 6px 0 16px; padding: 0; }
.doc-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: 0; }
.doc-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.doc-type { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 10.5px; padding: 2px 6px; border-radius: 5px; }
.doc-rule { background: #fdecec; color: #9f1239; }
.doc-proposed { background: #fdf4e7; color: #92400e; }
.doc-notice { background: #eef2f6; color: #475569; }
.doc-list a { color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 500; }
.doc-list a:hover { color: var(--accent-dark); text-decoration: underline; }
.text-link { font-size: 13px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.tier-featured { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 116, 144, .1), var(--shadow); }
.tier h3 { font-size: 18px; margin-bottom: 4px; }
.price { font-size: 34px; font-weight: 700; margin: 4px 0 6px; letter-spacing: -.02em; }
.price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.tier-copy { color: var(--muted); font-size: 14px; min-height: 42px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; }
.tier li { font-size: 14px; padding: 6px 0 6px 22px; position: relative; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.tier .btn { margin-top: auto; }

/* signup */
.signup-card { max-width: 640px; margin: 0 auto; text-align: center; }
.signup-card form { display: flex; gap: 10px; margin: 20px 0 12px; flex-wrap: wrap; justify-content: center; }
.signup-card input { flex: 1 1 260px; min-width: 220px; padding: 11px 14px; font-size: 15px; border: 1px solid #cbd5e1; border-radius: 9px; }
.signup-card input:focus { outline: 2px solid rgba(14, 116, 144, .25); border-color: var(--accent); }
.signup-card .caption { text-align: center; }
.form-status { margin: 0 0 10px; font-size: 14.5px; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #0f766e; font-weight: 600; }
.form-status.is-err { color: #b91c1c; }

/* thank-you page */
.thanks-card { text-align: left; }
.thanks-card h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 10px; }
.thanks-card .lede { font-size: 16.5px; max-width: none; }
.thanks-card h2 { font-size: 19px; margin-top: 26px; }
.next-list { list-style: none; margin: 0 0 26px; padding: 0; }
.next-list li { position: relative; padding: 8px 0 8px 26px; font-size: 15px; }
.next-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--accent); font-weight: 700; }
.thanks-actions { justify-content: flex-start; margin-top: 8px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 30px 0 40px; }
.source-line, .disclaimer, .copyright { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.copyright { margin-top: 14px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

@media (max-width: 900px) {
  .kpis, .tiers { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hero { padding-top: 52px; }
}
