:root {
  --bg: #0B1020;
  --surface: #141A2F;
  --surface-2: #10172A;
  --primary: #2E7CF6;
  --accent: #00D4AA;
  --warning: #F5A623;
  --text: #F5F7FB;
  --muted: #A9B2C7;
  --border: #26324A;
  --problem: #FF6B6B;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(46,124,246,.16), transparent 32rem), var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration-color: rgba(0, 212, 170, .55); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 860px); }
.section { padding: 84px 0; }
.section.compact { padding: 48px 0; }
.section-alt { background: linear-gradient(180deg, rgba(20,26,47,.52), rgba(20,26,47,.16)); border-block: 1px solid rgba(38,50,74,.7); }
.section-heading { max-width: 820px; margin-bottom: 28px; }
.section-lead, .hero-lead { color: var(--muted); font-size: 1.075rem; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; margin: 0 0 10px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { left: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: rgba(11,16,32,.86); border-bottom: 1px solid rgba(38,50,74,.8); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; color: var(--text); }
.site-nav { display: flex; align-items: center; gap: 14px; font-size: .92rem; color: var(--muted); }
.site-nav a { text-decoration: none; padding: 8px 4px; }
.site-nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--border); border-radius: 12px; width: 44px; height: 40px; padding: 9px; }
.nav-toggle-bar { display: block; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

.hero { padding-top: 104px; }
.hero-grid, .two-column { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: start; }
h1 { font-size: clamp(2.45rem, 5vw, 5.2rem); line-height: 1.02; letter-spacing: -.055em; margin: 0 0 24px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 18px; }
h3 { margin: 0 0 12px; font-size: 1.14rem; }
p { margin: 0 0 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; border: 1px solid var(--border); padding: 10px 16px; text-decoration: none; cursor: pointer; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--primary); border-color: var(--primary); color: white; }
.button-secondary { background: rgba(0,212,170,.1); border-color: rgba(0,212,170,.42); color: var(--text); }
.button-ghost { background: rgba(255,255,255,.03); color: var(--text); }

.trust-card, .statement-card, .card, .example-card, .check-card, .timeline-output { background: rgba(20,26,47,.92); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.trust-list, .check-list { list-style: none; padding: 0; margin: 0; }
.trust-list li + li { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 18px; }
.badge { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; font-size: .78rem; font-weight: 700; margin-bottom: 8px; }
.badge.neutral { color: var(--text); background: rgba(46,124,246,.1); border-color: rgba(46,124,246,.35); }
.badge.success { color: var(--accent); background: rgba(0,212,170,.08); border-color: rgba(0,212,170,.35); }
.badge.warning { color: var(--warning); background: rgba(245,166,35,.08); border-color: rgba(245,166,35,.35); }
.badge.problem { color: var(--problem); background: rgba(255,107,107,.08); border-color: rgba(255,107,107,.36); }
.statement-card p { font-size: clamp(1.24rem, 2.1vw, 1.7rem); line-height: 1.45; color: var(--text); }

.timeline { list-style: none; padding: 0; margin: 0; counter-reset: item; }
.timeline li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding-bottom: 22px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 42px; bottom: 0; width: 1px; background: var(--border); }
.timeline span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(46,124,246,.16); border: 1px solid rgba(46,124,246,.45); color: var(--text); font-weight: 800; }
.timeline p { margin: 7px 0 0; color: var(--muted); }
.example-card dl { margin: 0; display: grid; gap: 10px; }
.example-card div { border-top: 1px solid var(--border); padding-top: 10px; }
.example-card dt { color: var(--muted); font-size: .88rem; }
.example-card dd { margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card.wide { grid-column: 1 / -1; }
.card { transition: transform .16s ease, border-color .16s ease; }
.card:hover { transform: translateY(-2px); border-color: rgba(46,124,246,.55); }
.check-list li { position: relative; padding-left: 26px; margin: 10px 0; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0,212,170,.1); }
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.matrix span { background: rgba(20,26,47,.86); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; color: var(--text); }

.case-form { background: rgba(20,26,47,.7); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: .9rem; }
input { width: 100%; border: 1px solid var(--border); border-radius: 12px; background: #0E1426; color: var(--text); padding: 11px 12px; min-height: 44px; }
input:focus { outline: 3px solid rgba(46,124,246,.28); border-color: var(--primary); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.form-note { color: var(--muted); margin: 16px 0 0; font-size: .92rem; }
.timeline-output { margin-top: 20px; }
.generated-list { list-style: none; padding: 0; margin: 14px 0; }
.generated-list li { border-left: 3px solid var(--primary); padding: 10px 0 10px 14px; color: var(--muted); }
.generated-list strong { color: var(--text); }
.warning-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.warning-list li { border: 1px solid rgba(245,166,35,.34); background: rgba(245,166,35,.08); color: #FFD58D; border-radius: 12px; padding: 10px 12px; }

.accordion { display: grid; gap: 10px; margin-top: 24px; }
.accordion-item { border: 1px solid var(--border); border-radius: 14px; background: rgba(20,26,47,.82); overflow: hidden; }
.accordion-item button { width: 100%; text-align: left; color: var(--text); background: transparent; border: 0; padding: 17px 18px; cursor: pointer; font-weight: 750; display: flex; justify-content: space-between; gap: 14px; }
.accordion-item button::after { content: "+"; color: var(--accent); font-size: 1.2rem; }
.accordion-item button[aria-expanded="true"]::after { content: "−"; }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .18s ease; }
.accordion-panel p { color: var(--muted); margin: 0; padding: 0 18px 18px; }

.site-footer { border-top: 1px solid var(--border); padding: 26px 0; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.footer-inner p { margin: 0; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; left: 16px; right: 16px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px; background: rgba(11,16,32,.98); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 12px; border-radius: 10px; }
  .site-nav a:hover { background: rgba(255,255,255,.04); }
  .hero-grid, .two-column { grid-template-columns: 1fr; }
  .card-grid, .matrix, .form-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  .section { padding: 58px 0; }
  .hero { padding-top: 72px; }
  .card-grid, .matrix, .form-grid { grid-template-columns: 1fr; }
  .trust-card, .statement-card, .card, .example-card, .check-card, .timeline-output, .case-form { padding: 18px; }
  .cta-row, .form-actions, .footer-inner { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .brand span { font-size: .96rem; }
}

@media print {
  :root { --bg: #fff; --surface: #fff; --text: #111; --muted: #333; --border: #bbb; }
  html { scroll-behavior: auto; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .site-header, .site-footer, .cta-row, .nav-toggle, .form-actions, .skip-link { display: none !important; }
  .section, .hero { padding: 18px 0; }
  .container { width: 100%; margin: 0; }
  .hero-grid, .two-column, .card-grid, .matrix, .form-grid { display: block; }
  .trust-card, .statement-card, .card, .example-card, .check-card, .timeline-output, .case-form { box-shadow: none; border: 1px solid #bbb; background: #fff; break-inside: avoid; margin-bottom: 12px; }
  input { border: 1px solid #999; background: #fff; color: #111; }
  a { color: #111; text-decoration: none; }
  .accordion-panel { max-height: none !important; }
}
