:root {
  --brand: #1d4ed8;
  --brand-dark: #1733a6;
  --brand-soft: #eef3ff;
  --navy: #0b1f44;
  --accent: #16a34a;
  --accent-soft: #e7f7ee;
  --ink: #0f172a;
  --muted: #5b6478;
  --line: #e5e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fe;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(15, 31, 68, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 31, 68, 0.12);
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  font-size: 1rem;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.9rem; }
.btn-ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-soft); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: #11823b; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-weight: 900; font-size: 1.3rem; color: var(--navy); letter-spacing: -0.03em; display: flex; align-items: center; gap: 0.5rem; }
.brand .mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  background: var(--brand); color: #fff; border-radius: 8px; font-size: 0.9rem; font-weight: 900;
}
.brand span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.nav-links a.active { color: var(--brand); }
.nav-links a.btn { color: #fff; }

/* Hero — centered, marketplace style */
.hero { background: linear-gradient(180deg, var(--brand-soft), #fff 70%); padding: 4.5rem 0 3.5rem; text-align: center; }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 56ch; margin: 1rem auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; max-width: 800px; margin: 0 auto; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1rem; font-weight: 600; font-size: 0.9rem; color: var(--ink);
  box-shadow: 0 2px 6px rgba(15,31,68,0.04);
}
.chip:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* Trust band */
.trustband { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trustband .inner { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: center; padding: 1.5rem 0; }
.trustband .t { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.trustband .t b { color: var(--ink); }

/* Sections */
.section { padding: 4.5rem 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 60ch; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cdd9f5; text-decoration: none; }
.cat-card .ico { font-size: 1.7rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--brand-soft); border-radius: 12px; margin-bottom: 1rem; }
.cat-card h3 { color: var(--ink); margin-bottom: 0.35rem; }
.cat-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 1rem; flex: 1; }
.cat-card .go { color: var(--brand); font-weight: 700; font-size: 0.92rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--navy); color: #fff; border-radius: 10px; font-weight: 800; margin-bottom: 0.9rem;
}
.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--muted); margin: 0; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
table.cmp th, table.cmp td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--navy); color: #fff; font-size: 0.9rem; letter-spacing: 0.02em; }
table.cmp thead th:first-child { border-top-left-radius: var(--radius); }
table.cmp thead th:last-child { border-top-right-radius: var(--radius); }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp td b { color: var(--ink); }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.78rem; padding: 0.2rem 0.55rem; border-radius: 999px; }

/* Topic sections (compare hub) */
.group-title { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 1.5rem; }
.group-title h2 { margin: 0; }
.group-title .rule { flex: 1; height: 1px; background: var(--line); }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 3.5rem; }
.topic {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: 0 2px 8px rgba(15,31,68,0.03);
}
.topic .head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.85rem; }
.topic .ico { font-size: 1.5rem; width: 48px; height: 48px; display: grid; place-items: center; background: var(--brand-soft); border-radius: 12px; flex: none; }
.topic h3 { margin: 0; }
.topic > p { color: var(--muted); }
.topic .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); font-weight: 800; margin: 1rem 0 0.5rem; }
.topic ul { margin: 0; padding: 0; list-style: none; }
.topic ul li { position: relative; padding: 0.3rem 0 0.3rem 1.6rem; font-size: 0.95rem; }
.topic ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat b { display: block; font-size: 2.2rem; color: var(--brand); font-weight: 900; }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* Two col (about) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 0.55rem 0 0.55rem 1.9rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* Page hero */
.page-hero { background: linear-gradient(180deg, var(--brand-soft), #fff); padding: 4rem 0 2rem; }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* CTA */
.cta { background: var(--navy); color: #fff; padding: 4.5rem 0; }
.cta-inner { text-align: center; max-width: 60ch; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.78); margin-bottom: 1.5rem; font-size: 1.1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-note { color: var(--accent); font-weight: 700; margin-top: 1rem; }
.contact-aside h3 { margin-bottom: 1rem; }
.contact-aside p { margin: 0.1rem 0 0.9rem; }

/* Footer */
.site-footer { background: var(--navy); color: #cdd6ea; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-footer .brand { color: #fff; }
.site-footer .brand span { color: #93b4ff; }
.footer-grid .muted { color: #9fb0d0; max-width: 34ch; margin-top: 0.6rem; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.footer-col a { display: block; color: #cdd6ea; padding: 0.25rem 0; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { color: #8295b8; font-size: 0.82rem; margin: 0.2rem 0; }

/* Responsive */
@media (max-width: 900px) {
  .cat-grid, .steps { grid-template-columns: 1fr 1fr; }
  .topic-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .cat-grid, .steps, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
