:root {
  --ink: #07162f;
  --ink-2: #10264b;
  --blue: #5b8cff;
  --lime: #d9ff57;
  --paper: #f7f9fd;
  --white: #ffffff;
  --muted: #5e6d86;
  --line: #dce3ef;
  --danger: #a13531;
  --warning: #8b5d00;
  --success: #116149;
  --shadow: 0 24px 70px rgba(7, 22, 47, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--lime); color: var(--ink); padding: .75rem 1rem; border-radius: 999px; font-weight: 800; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; color: var(--white); background: rgba(7,22,47,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.12); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 900; letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--ink); background: var(--lime); font-size: .95rem; }
.brand small { display: block; color: #aab9d3; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { color: #dfe7f5; text-decoration: none; font-size: .92rem; font-weight: 700; }
.nav-links a:hover { color: var(--lime); }
.nav-cta { padding: .72rem 1rem; color: var(--ink) !important; background: var(--lime); border-radius: 999px; }
.menu-button { display: none; color: white; background: transparent; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; padding: .55rem .7rem; }
.eyebrow { margin: 0 0 .7rem; color: var(--blue); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: auto -10% -35% 25%; height: 70%; background: radial-gradient(circle, rgba(91,140,255,.32), transparent 65%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; min-height: 650px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 5.5rem 3.8rem 5.5rem 0; }
.hero h1, .page-hero h1 { margin: 0; max-width: 850px; font-size: clamp(2.75rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.lede { max-width: 700px; margin: 1.5rem 0 0; color: #c6d2e7; font-size: clamp(1.05rem, 2vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.15rem; border: 1px solid transparent; border-radius: 999px; font-weight: 850; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--lime); }
.button-secondary { color: var(--white); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); }
.button-dark { color: var(--white); background: var(--ink); }
.button-blue { color: var(--white); background: #315dcc; }
.hero-note { margin-top: 1.15rem; color: #aab9d3; font-size: .86rem; }
.hero-visual { position: relative; min-height: 520px; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink), transparent 28%), linear-gradient(0deg, rgba(7,22,47,.55), transparent 45%); }
.visual-tag { position: absolute; z-index: 2; right: 1.25rem; bottom: 1.25rem; max-width: 260px; padding: 1rem 1.1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; color: #eaf0fb; background: rgba(7,22,47,.78); backdrop-filter: blur(12px); font-size: .85rem; }
.trust-bar { background: var(--lime); border-bottom: 1px solid #bfdc43; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 1.05rem 1.2rem; border-right: 1px solid rgba(7,22,47,.18); font-weight: 800; text-align: center; }
.trust-item:last-child { border-right: 0; }
.section { padding: 6rem 0; }
.section-tight { padding: 4rem 0; }
.section-dark { color: var(--white); background: var(--ink); }
.section-blue { color: var(--white); background: #173e9c; }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 2rem; align-items: end; margin-bottom: 2.25rem; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.05; letter-spacing: -.045em; }
.section-head p { margin: 0; color: var(--muted); }
.section-dark .section-head p, .section-blue .section-head p { color: #c6d2e7; }
.checker { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; align-items: start; }
.checker-panel { padding: clamp(1.25rem, 3vw, 2.4rem); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.checker-panel label { display: block; margin-bottom: .65rem; font-weight: 850; }
.input-row { display: flex; gap: .7rem; }
.input-row input { min-width: 0; flex: 1; height: 54px; border: 1px solid #aebbd0; border-radius: 13px; padding: 0 1rem; color: var(--ink); background: white; }
.input-row button { flex: 0 0 auto; border: 0; }
.checker-result { display: grid; gap: .15rem; margin-top: 1rem; padding: 1rem; border-radius: 13px; background: #eef2f8; }
.checker-result:empty { display: none; }
.checker-result span { color: var(--muted); font-size: .9rem; }
.checker-result.is-success { border-left: 4px solid var(--success); background: #e8f7f1; }
.checker-result.is-warning { border-left: 4px solid var(--warning); background: #fff6dc; }
.checker-result.is-error { border-left: 4px solid var(--danger); background: #fff0ef; }
.checker-panel .button[hidden] { display: none; }
.checker-panel > .button { margin-top: 1rem; width: 100%; }
.micro { color: var(--muted); font-size: .82rem; }
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { counter-increment: step; display: grid; grid-template-columns: 55px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.step::before { content: "0" counter(step); color: var(--blue); font-weight: 900; }
.step h3, .step p { margin: 0; }
.step p { color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.category { position: relative; overflow: hidden; min-height: 220px; padding: 1.25rem; border-radius: 18px; color: var(--white); background: linear-gradient(145deg, #0e2446, #173c78); border: 1px solid rgba(255,255,255,.13); }
.category:nth-child(3n+2) { background: linear-gradient(145deg, #153868, #315dcc); }
.category:nth-child(3n+3) { background: linear-gradient(145deg, #244517, #396624); }
.category span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); background: var(--lime); font-weight: 900; }
.category h3 { margin: 2.8rem 0 .3rem; font-size: 1.25rem; }
.category p { margin: 0; color: #cad5e7; font-size: .9rem; }
.category a { position: absolute; inset: 0; text-indent: -9999px; }
.category a:focus-visible { inset: 5px; border-radius: 14px; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.decision-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.decision-card b { display: block; margin-bottom: .5rem; font-size: 1.05rem; }
.decision-card p { margin: 0; color: var(--muted); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.flow-card { padding: 1.4rem; border-top: 3px solid var(--lime); background: rgba(255,255,255,.07); border-radius: 0 0 16px 16px; }
.flow-card small { color: var(--lime); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.flow-card h3 { margin: .7rem 0 .3rem; }
.flow-card p { margin: 0; color: #c6d2e7; }
.source-list { display: grid; gap: .8rem; padding: 0; list-style: none; }
.source-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.source-list a { color: #204ea9; font-weight: 800; }
.faq { display: grid; gap: .75rem; }
.faq details { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: white; }
.faq summary { cursor: pointer; font-weight: 850; }
.faq p { color: var(--muted); }
.cta-band { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: center; padding: 2.5rem; border-radius: 24px; background: var(--lime); }
.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -.04em; }
.cta-band p { margin-bottom: 0; }
.page-hero { color: var(--white); background: var(--ink); padding: 5.5rem 0 4.5rem; }
.page-hero h1 { max-width: 950px; font-size: clamp(2.7rem, 6vw, 5.3rem); }
.page-hero .lede { max-width: 790px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; align-items: start; }
.article h2 { margin-top: 3.4rem; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -.035em; }
.article h3 { margin-top: 2rem; }
.article p, .article li { color: #31415e; }
.answer-box, .notice { padding: 1.3rem 1.4rem; border-radius: 16px; background: white; border: 1px solid var(--line); }
.answer-box { border-left: 5px solid var(--lime); box-shadow: 0 12px 35px rgba(7,22,47,.07); }
.notice { border-left: 5px solid var(--blue); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { padding: .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); background: #edf2fb; }
.toc { position: sticky; top: 100px; padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: white; }
.toc strong { display: block; margin-bottom: .6rem; }
.toc a { display: block; padding: .3rem 0; color: #31415e; text-decoration: none; }
.toc a:hover { color: #204ea9; }
.meta-row { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.2rem; color: #aab9d3; font-size: .86rem; }
.site-footer { color: #c6d2e7; background: #030b19; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.site-footer h2 { color: white; margin: 0 0 .6rem; font-size: 1.25rem; }
.site-footer h3 { color: white; font-size: .95rem; }
.site-footer a { display: block; width: fit-content; margin: .45rem 0; color: #c6d2e7; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: #8493ad; font-size: .82rem; }

@media (max-width: 920px) {
  .menu-button { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 70px; align-items: stretch; flex-direction: column; padding: 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #0d2040; }
  .nav-links[data-open="true"] { display: flex; }
  .hero-grid, .checker, .section-head, .content-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem 0 3rem; }
  .hero-visual { min-height: 420px; margin-inline: -20px; }
  .section-head { align-items: start; }
  .category-grid, .flow { grid-template-columns: repeat(2, 1fr); }
  .decision-grid { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { min-height: 68px; }
  .brand small { display: none; }
  .hero h1, .page-hero h1 { font-size: clamp(2.55rem, 14vw, 4.4rem); }
  .hero-copy { padding-top: 4rem; }
  .hero-visual { min-height: 330px; margin-inline: -14px; }
  .hero-actions, .input-row { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .input-row button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(7,22,47,.18); }
  .category-grid, .flow, .footer-grid { grid-template-columns: 1fr; }
  .category { min-height: 190px; }
  .section { padding: 4.5rem 0; }
  .cta-band { grid-template-columns: 1fr; padding: 1.5rem; }
  .cta-band .button { width: 100%; }
  .source-list li { flex-direction: column; }
}

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