:root {
  --ink: #121212;
  --accent: #334fb4;
  --surface: #ffffff;
  --surface-light: #f3f3f3;
  --rule: #e6e6e6;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-subtle: 0 1px 2px rgba(18, 18, 18, 0.06);
  --shadow-medium: 0 4px 12px rgba(18, 18, 18, 0.08);
  --gap: 8px;
  --section-gap: 48px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Assistant", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  background: var(--surface);
}
.logo {
  display: block;
  height: 22px;
  width: auto;
}

/* Hero */
.hero {
  padding: 56px 0 24px;
}
.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
h1 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 28ch;
}
.lede {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: var(--ink);
}

/* Body */
.body {
  padding: 24px 0 var(--section-gap);
}
.body p {
  margin: 0 0 20px;
}
.body p + p {
  margin-top: 0;
}

/* Layer stack */
.layer-stack {
  margin: 32px 0 36px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.layer {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.layer:last-child { border-bottom: 0; }
.layer-pct {
  grid-row: 1 / span 2;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  align-self: start;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.layer-label {
  grid-column: 2;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 2px;
}
.layer-detail {
  grid-column: 2;
  color: #3a3a3a;
  font-size: 15px;
  line-height: 1.5;
}

/* Aside credibility line */
.aside {
  font-size: 15px;
  color: #3a3a3a;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin: 12px 0 24px !important;
}

/* CTA */
.cta {
  background: var(--surface-light);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin: 8px 0 64px;
}
.cta h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}
.cta-sub {
  margin: 0 0 20px;
  font-size: 16px;
  color: #3a3a3a;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  min-height: 44px;
  line-height: 1.2;
  transition: background-color 180ms ease;
}
.btn:hover { background: #2a419a; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cta-meta {
  margin: 16px 0 0;
  font-size: 13px;
  color: #555;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0 40px;
  color: #555;
  font-size: 14px;
}
.site-footer p { margin: 0 0 4px; }
.site-footer .small { font-size: 13px; color: #777; }
.site-footer a { color: var(--accent); }

/* Mobile tuning */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 16px; }
  h1 { font-size: 27px; }
  .lede { font-size: 17px; }
  .layer { grid-template-columns: 64px 1fr; column-gap: 14px; }
  .layer-pct { font-size: 24px; }
  .cta { padding: 24px 20px; }
  .cta h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
