:root {
  --ink: #1d2a3a;
  --muted: #5c6b7a;
  --line: #dfe5ec;
  --bg: #ffffff;
  --alt: #f6f8fb;
  --card: #ffffff;
  --brand: #2f5d8a;
  --brand-dark: #234a70;
  --brand-ink: #ffffff;
  --high: #b3261e;
  --high-bg: #fdecea;
  --medium: #9a6200;
  --medium-bg: #fff4dc;
  --low: #3d6b52;
  --low-bg: #e9f4ee;
  --radius: 12px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem;
}

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

.narrow {
  max-width: 760px;
}

.muted {
  color: var(--muted);
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.logo {
  font-size: 1.4rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

nav a {
  color: var(--ink);
  text-decoration: none;
}

nav a:hover {
  color: var(--brand);
}

/* Buttons */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 0.8rem 1.3rem;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--brand-ink);
  transition: background 0.15s ease;
}

nav a.btn,
.btn:hover {
  color: var(--brand-ink);
}

.btn:hover {
  background: var(--brand-dark);
}

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

.btn.ghost:hover {
  background: #eef3f8;
}

.btn.small {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8fb3d9;
  outline-offset: 2px;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

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

.section-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin-bottom: 2rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Hero */
.hero {
  padding: 4rem 0 4.5rem;
  background: linear-gradient(180deg, #f3f7fb 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.2rem;
  color: #34465a;
  max-width: 560px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
}

.fine {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 520px;
}

/* Example result card */
.mock {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(29, 42, 58, 0.12);
  overflow: hidden;
}

.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.mock-title {
  font-weight: 700;
}

.mock-sub {
  color: var(--muted);
  font-size: 0.85rem;
}

.pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pill.high {
  background: var(--high-bg);
  color: var(--high);
}

.mock-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
}

.mock-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 1.25rem;
  border-left: 4px solid transparent;
  font-size: 0.92rem;
}

.mock-list li + li {
  border-top: 1px solid #eef2f6;
}

.mock-list strong {
  display: block;
}

.mock-list span:not(.tag) {
  color: var(--muted);
}

.tag {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  margin-top: 0.1rem;
  min-width: 5.2rem;
  text-align: center;
}

.sev.high {
  border-left-color: var(--high);
}

.sev.high .tag {
  background: var(--high-bg);
  color: var(--high);
}

.sev.medium {
  border-left-color: #e0a12a;
}

.sev.medium .tag {
  background: var(--medium-bg);
  color: var(--medium);
}

.sev.low {
  border-left-color: #6fa487;
}

.sev.low .tag {
  background: var(--low-bg);
  color: var(--low);
}

/* Quotes */
.quotes {
  padding-top: 3.5rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

blockquote {
  margin: 0;
  padding: 1.4rem 1.4rem 1.2rem;
  background: var(--alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

blockquote p {
  font-size: 1.08rem;
  font-weight: 500;
}

blockquote a {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.steps li {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.steps p {
  color: #3b4c5e;
  margin: 0;
}

/* What it catches */
.catch-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.catch-grid li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.catch-grid strong {
  display: block;
  margin-bottom: 0.2rem;
}

.catch-grid span {
  color: var(--muted);
}

/* Check lists */
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checks li {
  position: relative;
  padding: 0 0 0.9rem 2rem;
}

.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--low-bg);
  color: var(--low);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Pricing */
.price-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(29, 42, 58, 0.06);
  margin-top: 1.5rem;
}

.price {
  font-size: 1.2rem;
  color: var(--muted);
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--ink);
}

.badge {
  display: inline-block;
  background: var(--low-bg);
  color: var(--low);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* Form */
.form {
  display: grid;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c9d3de;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}

.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  margin: 0;
  min-height: 1.5rem;
  font-weight: 600;
}

.form-msg.ok {
  color: var(--low);
}

.form-msg.err {
  color: var(--high);
}

/* FAQ */
details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
}

details p {
  margin: 0.75rem 0 0;
  color: #3b4c5e;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.foot a {
  color: var(--muted);
}

/* Plain pages (privacy, 404) */
.page {
  padding: 3.5rem 0 4.5rem;
}

.page h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.page li {
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .price-card {
    grid-template-columns: 1fr;
  }
  .quote-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  nav a:not(.btn) {
    display: none;
  }
  section {
    padding: 3.25rem 0;
  }
}

@media (max-width: 560px) {
  .catch-grid {
    grid-template-columns: 1fr;
  }
  .mock-list li {
    flex-direction: column;
    gap: 0.35rem;
  }
  .tag {
    min-width: 0;
  }
}

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