:root {
  --ink: #071426;
  --ink-2: #0d2038;
  --night: #071426;
  --canvas: #f6f8fc;
  --muted: #64748b;
  --body: #3c5372;
  --line: rgba(14, 32, 55, 0.12);
  --blue: #0872ff;
  --cyan: #5edcff;
  --lime: #9be95c;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: var(--display); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.site-header :focus-visible, .guide-hero :focus-visible, .cta-panel :focus-visible, .cta-card :focus-visible, .footer :focus-visible { outline-color: var(--cyan); }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip-link { position: absolute; top: -80px; left: 16px; z-index: 20; padding: 11px 18px; border-radius: 999px; color: var(--ink); background: var(--cyan); font-size: .88rem; font-weight: 800; }
.skip-link:focus { top: 16px; }

.eyebrow { display: flex; align-items: center; gap: 9px; color: #5e7a9f; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--blue); }
.dark .eyebrow, .site-header .eyebrow { color: #82a4d6; }

.site-header { position: relative; overflow: hidden; color: white; background: var(--night); }
.site-header::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 78% 10%, rgba(56, 124, 255, .22), transparent 32%), linear-gradient(120deg, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(30deg, rgba(255,255,255,.026) 1px, transparent 1px); background-size: auto, 38px 38px, 38px 38px; }
.site-header > * { position: relative; z-index: 1; }
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { --wordmark-width: 360px; display: inline-flex; align-items: center; gap: 12px; }
.wordmark img { display: block; }
.wordmark-mark { flex: none; width: 52px; height: 52px; border-radius: 12px; background: #fff; }
/* The header SVG starts with its own legacy icon; show only its text (x 190-1200 of the 1200x210 viewBox). */
.wordmark-text { width: calc(var(--wordmark-width) * 1010 / 1200); height: calc(var(--wordmark-width) * 210 / 1200); object-fit: cover; object-position: right center; }
.nav-links { display: flex; align-items: center; gap: 27px; color: #cbd6e8; font-size: .88rem; font-weight: 650; }
.nav-links a:hover, .nav-mobile-link:hover { color: white; }
.nav-links a[aria-current="page"] { color: white; box-shadow: inset 0 -2px 0 var(--cyan); }
.nav-mobile-link { display: none; margin-left: auto; color: #cbd6e8; font-size: .88rem; font-weight: 750; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; cursor: pointer; font-size: .88rem; font-weight: 780; transition: transform .2s ease, box-shadow .2s ease; }
.nav-cta { min-height: 42px; padding: 0 17px; color: var(--ink); background: var(--cyan); white-space: nowrap; }
.button { min-height: 52px; padding: 0 22px; }
.button.primary { color: var(--ink); background: var(--cyan); }
.button:hover, .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(80, 193, 255, .22); }

.page-hero { padding: 56px 0 88px; }
.page-hero h1 { max-width: 760px; margin: 20px 0 22px; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -.06em; }
.page-hero p { max-width: 620px; margin: 0; color: #b8c8de; font-size: 1.08rem; line-height: 1.75; }

.section { padding: 72px 0; }
.section-title { margin: 14px 0 0; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.045em; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 45px rgba(17, 52, 88, .1); }
.card-art { padding: 18px 20px 12px; background: linear-gradient(145deg, #18375c, #071426); }
.card-art svg, .guide-visual svg { display: block; width: 100%; height: auto; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.topic { color: #3775e9; font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.card h3 { margin: 10px 0 10px; font-size: 1.18rem; line-height: 1.25; letter-spacing: -.025em; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.card-link { margin-top: auto; color: var(--blue); font-size: .88rem; font-weight: 800; }
.card-link:hover { color: var(--ink); }

.cta-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; margin-top: 40px; padding: 30px 32px; border: 1px solid rgba(132, 205, 255, .28); border-radius: 24px; color: white; background: linear-gradient(145deg, #18375c, #071426); }
.cta-panel h2 { margin: 0 0 6px; font-size: 1.5rem; letter-spacing: -.035em; }
.cta-panel p { margin: 0; color: #b6c7df; font-size: .95rem; line-height: 1.6; }
.review-note { margin: 18px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }

.guide-hero { position: relative; overflow: hidden; color: white; background: var(--night); }
.guide-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px 48px; align-items: center; padding: 28px 0 80px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 30px; padding: 0; list-style: none; color: #95a8c1; font-size: .8rem; font-weight: 650; }
.breadcrumb li + li::before { content: "→"; margin-right: 8px; color: #5e7a9f; }
.breadcrumb a { color: #cbd6e8; }
.breadcrumb a:hover { color: white; }
.breadcrumb [aria-current="page"] { color: #95a8c1; }
.guide-hero .topic { color: var(--cyan); }
.guide-hero h1 { margin: 14px 0 20px; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.03; letter-spacing: -.055em; }
.guide-lede { max-width: 600px; margin: 0; color: #b8c8de; font-size: 1.06rem; line-height: 1.75; }
.guide-visual { margin: 0; padding: 22px; border: 1px solid rgba(132, 205, 255, .28); border-radius: 24px; background: linear-gradient(145deg, #18375c, #0a1a2e); box-shadow: 0 30px 70px rgba(0, 0, 0, .25); }

.guide-body { padding: 64px 0 24px; }
.prose { max-width: 720px; }
.prose h2 { margin: 48px 0 12px; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.035em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--body); font-size: 1.02rem; line-height: 1.75; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose a:not(.button) { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.questions { margin: 48px 0 0; padding: 28px; border: 1px solid #d5e0ef; border-radius: 22px; background: white; }
.questions h2 { margin-top: 0; }
.check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.prose .check-list li { position: relative; margin: 0; padding-left: 34px; }
.check-list li::before { content: "✓"; position: absolute; top: 3px; left: 0; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); font-size: .72rem; font-weight: 900; }

.cta-card { margin: 32px 0 0; padding: 28px; border: 1px solid rgba(132, 205, 255, .28); border-radius: 22px; color: white; background: linear-gradient(145deg, #18375c, #071426); }
.prose .cta-card h2 { margin: 0 0 8px; color: white; font-size: 1.35rem; }
.prose .cta-card p { margin: 0 0 20px; color: #b6c7df; font-size: .95rem; }

.end-note { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; line-height: 1.6; }

.related { padding: 40px 0 24px; }
.related .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
.related .card-body { padding: 22px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin: 28px 0 72px; color: var(--blue); font-size: .92rem; font-weight: 800; }
.back-link:hover { color: var(--ink); }

.footer { color: #95a8c1; background: #07101c; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; font-size: .73rem; }
.footer-brand { color: white; font-size: .8rem; font-weight: 750; }
.footer-links { display: flex; gap: 19px; }
.footer a:hover { color: var(--cyan); }

.art-text { fill: #cfe0f2; font-size: 13px; font-weight: 700; text-anchor: middle; }
.art-text.small { fill: #9fb6d2; font-size: 12px; font-weight: 650; }
.art-node { fill: #0e2a47; stroke: var(--cyan); stroke-width: 2; }
.art-soft { fill: #0e2a47; stroke: rgba(94, 220, 255, .45); stroke-width: 1.5; }
.art-line { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; }
.art-faint { fill: none; stroke: rgba(94, 220, 255, .35); stroke-width: 1.5; stroke-linecap: round; }
.art-lime { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.art-dash { stroke-dasharray: 6 7; }
.art-window { fill: rgba(94, 220, 255, .28); }
.art-badge { fill: #13301f; stroke: var(--lime); stroke-width: 2; }

@media (max-width: 1180px) {
  .wordmark { --wordmark-width: 250px; }
  .nav-links { gap: 20px; }
}
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-mobile-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
}
@media (max-width: 900px) {
  .guide-hero-grid { grid-template-columns: 1fr; padding-bottom: 56px; }
  .guide-visual { max-width: 520px; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 30px, 1160px); }
  .nav { height: 78px; }
  .wordmark { --wordmark-width: 214px; gap: 10px; }
  .wordmark-mark { width: 40px; height: 40px; border-radius: 9px; }
  .nav-cta { display: none; }
  .page-hero { padding: 36px 0 64px; }
  .section { padding: 52px 0; }
  .cards, .related .cards { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 24px; }
  .cta-panel .button, .cta-card .button { width: 100%; }
  .guide-body { padding-top: 44px; }
  .questions, .cta-card { padding: 22px; }
  .guide-visual { padding: 14px; }
  .art-text { font-size: 15px; }
  .art-text.small { font-size: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .wordmark { --wordmark-width: 176px; gap: 8px; }
}
@media (max-width: 360px) {
  .wordmark { --wordmark-width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover, .button:hover, .nav-cta:hover { transform: none; }
}
