:root {
  /* Deep Trust — Navy & Slate */
  --color-navy-950: #0b1526;
  --color-navy-900: #0f1f3d;
  --color-navy-800: #16294a;
  --color-navy-700: #1d3557;
  --color-accent: #b8934a;

  --color-bg: #f7f9fb;
  --color-surface: #ffffff;
  --color-border: #dce3ea;
  --color-text: #0b1526;
  --color-text-muted: #52667a;
  --color-primary: var(--color-navy-900);
  --color-primary-hover: var(--color-navy-800);
  /* Same as --color-primary here: the navy is already dark enough to pass
     WCAG AA (4.5:1) for small text on light backgrounds, unlike the old
     lighter blue this replaced. */
  --color-primary-text: var(--color-navy-900);
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 38, 0.06);
  --max-width: 1040px;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body:
    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

img {
  max-width: 100%;
}

a {
  color: var(--color-primary);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
  color: var(--color-text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.site-nav a.login-link {
  color: var(--color-text-muted);
}

.site-nav a.lang-switch {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px 10px;
}

.site-nav a.lang-switch:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-text);
}

/* --- Buttons --- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-small {
  padding: 9px 16px;
  font-size: 14px;
}

/* --- Hero --- */

.hero {
  text-align: center;
  padding: 88px 0 64px;
}

.hero .kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8d9bc;
  background: var(--color-navy-950);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin: 0 0 20px;
}

.hero .subheading {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero .cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Generic section --- */

section {
  padding: 64px 0;
}

section.alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.section-heading h2 {
  font-size: 28px;
  margin: 0 0 12px;
}

.section-heading p {
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Problem list --- */

.problem-section {
  background: var(--color-navy-950);
}

.problem-section .section-heading h2,
.problem-section .section-heading p {
  color: #fff;
}

.problem-section .section-heading p {
  color: #9fb0c4;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.problem-card {
  background: var(--color-navy-900);
  border: 1px solid var(--color-navy-700);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
}

.problem-card .icon {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.problem-card .icon svg {
  width: 28px;
  height: 28px;
  stroke: #e8d9bc;
}

.problem-card h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #c9d5e2;
  margin: 0;
}

/* --- How it works --- */

.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.steps li:last-child {
  border-bottom: none;
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li:last-child::before {
  background: var(--color-accent);
  color: var(--color-navy-950);
}

.steps h3 {
  margin: 4px 0 4px;
  font-size: 16px;
}

.steps p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

/* --- Who it's for --- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.audience-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.audience-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.audience-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

/* --- Regulatory focus --- */

.regulatory {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.regulatory .badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy-700);
  background: var(--color-bg);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.disclaimer {
  margin-top: 24px;
  font-size: 13px;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px 20px;
}

/* --- Final CTA --- */

.final-cta {
  background: var(--color-navy-950);
  text-align: center;
}

.final-cta h2 {
  color: #fff;
  font-size: 30px;
  margin: 0 0 16px;
}

.final-cta p {
  color: #9fb0c4;
  margin: 0 0 28px;
}

.final-cta .btn-primary {
  background: #fff;
  color: var(--color-navy-950);
}

.final-cta .btn-primary:hover {
  background: #e8edf2;
}

/* --- Footer --- */

.site-footer {
  background: var(--color-navy-950);
  border-top: 1px solid var(--color-navy-700);
  padding: 28px 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #7c8fa5;
}

.site-footer a {
  color: #7c8fa5;
}

/* --- Responsive --- */

@media (max-width: 640px) {
  .site-nav {
    gap: 12px;
  }

  .hero {
    padding: 56px 0 40px;
  }

  section {
    padding: 48px 0;
  }
}

/* --- Accessibility --- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
