:root {
  --bg: #0b1220;
  --panel: #111a2d;
  --panel-soft: #16223a;
  --surface: #ffffff;
  --text: #d8e1f0;
  --heading: #f5f8ff;
  --muted: #9cb0cc;
  --line: rgba(255,255,255,0.12);
  --accent: #60a5fa;
  --accent-strong: #2563eb;
  --good: #22c55e;
  --warn: #f59e0b;
  --alert: #ef4444;
  --shadow: 0 25px 60px rgba(3, 10, 28, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #08101f 0%, #0e1628 35%, #f4f7fb 35%, #f4f7fb 100%);
  color: #1d2a40;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(8,16,31,0.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { color: var(--heading); font-weight: 800; letter-spacing: -0.03em; }
.nav nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav nav a { color: var(--text); font-size: 0.95rem; }
.hero { padding: 76px 0 52px; color: var(--text); }
.hero-grid, .grid.two { display: grid; gap: 28px; grid-template-columns: 1.35fr 1fr; }
.eyebrow, .microcopy { color: var(--muted); font-size: 0.92rem; }
.hero h1 { color: var(--heading); font-size: clamp(2.5rem, 5vw, 4.5rem); margin: 8px 0 12px; letter-spacing: -0.05em; }
.lead { font-size: 1.2rem; line-height: 1.6; max-width: 780px; }
.support, .trust { color: var(--muted); line-height: 1.7; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 18px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 18px; border-radius: 14px; font-weight: 700; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: white; }
.button-secondary { background: rgba(255,255,255,0.04); border-color: var(--line); color: var(--heading); }
.button.full { width: 100%; }
.hero-card, .tool-panel, .result-panel, .card, .callout, .faq-preview, .prose, .steps article {
  border-radius: 22px; box-shadow: var(--shadow);
}
.hero-card {
  background: linear-gradient(180deg, rgba(17,26,45,0.96), rgba(22,34,58,0.96));
  padding: 22px; display: grid; gap: 16px; border: 1px solid var(--line);
}
.hero-stat { padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.04); }
.hero-stat span { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.hero-stat strong { color: var(--heading); font-size: 1.1rem; }
.section { padding: 64px 0; }
.section.muted { background: #eef3fa; }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 18px; letter-spacing: -0.04em; color: #122033; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.tool-layout { display: grid; gap: 24px; grid-template-columns: 420px 1fr; align-items: start; }
.tool-panel, .result-panel, .card, .callout, .faq-preview, .prose { background: white; padding: 24px; border: 1px solid #d9e2f0; }
.field { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 8px; }
select {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid #c9d5e7;
  background: #f9fbfe; font: inherit; color: #17263a;
}
.result-empty { color: #52657f; }
.hidden { display: none; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.badge { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #dbeafe; color: #1d4ed8; font-weight: 700; font-size: .85rem; }
.badge-outline { background: white; border: 1px solid #bfd3f8; }
.result-grid, .grid.cards, .steps { display: grid; gap: 18px; }
.result-grid { grid-template-columns: 1fr 1fr; margin-top: 18px; }
.clean-list { margin: 0; padding-left: 18px; line-height: 1.8; }
.clean-list.compact { line-height: 1.6; }
.grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card h3, .callout h3, .faq-preview h3, .steps article h3, .result-card h3 { margin-top: 0; }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps article { background: white; padding: 24px; border: 1px solid #d9e2f0; }
.steps article span {
  display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center;
  background: #dbeafe; color: #1d4ed8; font-weight: 800; margin-bottom: 12px;
}
.faq-preview details, .prose details { border-top: 1px solid #d9e2f0; padding: 14px 0; }
.faq-preview details:first-of-type, .prose details:first-of-type { border-top: none; }
summary { cursor: pointer; font-weight: 600; }
.note-box { padding: 16px 18px; border-radius: 16px; background: #edf5ff; border: 1px solid #d4e5ff; }
.text-link { display: inline-block; margin-top: 10px; color: #1d4ed8; font-weight: 600; }
.prose { max-width: 900px; }
.prose h1 { margin-top: 0; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -0.04em; }
.prose h2 { margin-top: 34px; }
.site-footer { background: #0b1220; color: var(--text); padding: 28px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 20px; }
.footer-grid a { display: block; margin-bottom: 8px; color: var(--text); }
@media (max-width: 920px) {
  .hero-grid, .grid.two, .tool-layout, .result-grid, .footer-grid, .section-head, .steps, .grid.cards { grid-template-columns: 1fr; }
  .section-head { align-items: start; }
}
@media (max-width: 640px) {
  .nav { flex-direction: column; justify-content: center; padding: 14px 0; }
  .hero { padding-top: 42px; }
  .tool-panel, .result-panel, .card, .callout, .faq-preview, .prose, .steps article { padding: 18px; border-radius: 18px; }
}
