:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #cbd5e1;
  --accent: #0b4f7a;
  --accent-strong: #083554;
  --accent-soft: #e8f2fa;
  --warn: #9a3412;
  --warn-bg: #fff7ed;
  --ok: #166534;
  --focus: #2563eb;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --max: 1120px;
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a { color: var(--accent); }
a:hover { color: var(--accent-strong); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--surface);
  padding: .5rem 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.02em;
}
.trust-line {
  font-size: .78rem;
  color: var(--muted);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: .45rem .7rem;
}
.site-nav ul {
  display: flex;
  gap: .35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  text-decoration: none;
  font-size: .92rem;
  color: var(--muted);
  padding: .35rem .2rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-strong); }
.header-ctas { display: flex; gap: .5rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border-radius: 999px;
  padding: .65rem 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: .95rem;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-secondary {
  background: var(--surface);
  color: var(--accent-strong);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--accent-soft); }

.hero {
  padding: 3rem 0 2rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  margin: .5rem 0 1rem;
  max-width: 18ch;
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: 1.25rem;
}
.tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .25rem .65rem;
  font-size: .82rem;
  color: var(--muted);
}

.banner-reg {
  background: var(--warn-bg);
  border: 1px solid #fdba74;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
}
.banner-reg strong { color: var(--warn); }

section { padding: 2.5rem 0; }
section:nth-of-type(even) { background: var(--surface); }
h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
h3 { margin: 1.5rem 0 .75rem; font-size: 1.15rem; }
p, li { color: var(--muted); }
section > .container > p { max-width: 70ch; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }

.flow {
  display: grid;
  gap: .65rem;
  margin: 1.25rem 0;
}
.flow-step {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: .75rem 1rem;
  border-radius: 0 10px 10px 0;
  font-weight: 600;
  color: var(--accent-strong);
}
.flow-arrow { text-align: center; color: var(--muted); font-size: 1.2rem; }

.table-wrap { overflow-x: auto; margin: 1rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
th, td {
  padding: .75rem .85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
th { background: var(--accent-soft); color: var(--accent-strong); }

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .75rem 1rem;
  margin-bottom: .65rem;
}
summary { cursor: pointer; font-weight: 600; color: var(--text); }

.assessment {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7fc 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.assessment fieldset {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}
.assessment legend {
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.assessment label {
  display: block;
  margin: .35rem 0;
}
.assessment input[type="radio"],
.assessment input[type="checkbox"] {
  margin-right: .45rem;
}
.assessment-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.assessment-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid #b6d6ee;
}
.assessment-result[hidden] { display: none !important; }
.lead-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.lead-form label {
  display: block;
  font-weight: 600;
  margin: .65rem 0 .25rem;
  color: var(--text);
}
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.form-status { margin-top: .75rem; min-height: 1.25rem; font-size: .92rem; }
.form-status.error { color: #b91c1c; }
.form-status.success { color: var(--ok); }
.disclaimer { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.captcha-mount { margin: .75rem 0; min-height: 3rem; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: .55rem 0 .55rem 1.6rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.site-footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 2rem 0;
  margin-top: 2rem;
}
.site-footer a { color: #e2e8f0; }
.site-footer ul { list-style: none; padding: 0; margin: .5rem 0 0; }
.site-footer li { margin: .35rem 0; color: #cbd5e1; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.footer-meta { font-size: .88rem; margin-top: 1rem; opacity: .85; }

.breadcrumb {
  font-size: .88rem;
  color: var(--muted);
  margin: 1rem 0;
}
.breadcrumb a { text-decoration: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    width: 100%;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; }
  .header-inner { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
