:root {
  --navy: #0a1c38; --ocean: #0d5c85; --teal: #0fa8b3;
  --ink: #101828; --muted: #5b6577; --line: #e4e8ee; --bg: #f5f7fa; --card: #ffffff;
  --amber: #ed9924; --coral: #e85c57; --violet: #8761db; --mint: #21ad87; --indigo: #545ed6; --sky: #2985e6;
  --link: #0d5c85; --warn: #b93a35; --ok: #17795f;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f2f4f7; --muted: #a3adbd; --line: #26303f; --bg: #0b111b; --card: #141c29; --link: #5cc0e4; --warn: #ff8f8a; --ok: #4fd3ad; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(26px, 3.6vw, 34px); }
.lead { color: var(--muted); font-size: 19px; max-width: 680px; }

header.nav { position: sticky; top: 0; z-index: 10; -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--ink); }
.nav nav a[aria-current="page"] { font-weight: 600; }
@media (max-width: 600px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nav nav { gap: 16px; font-size: 14.5px; }
}

.hero { background: linear-gradient(135deg, var(--navy), var(--ocean) 60%, var(--teal)); color: #fff; }
.hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); max-width: 800px; }
.hero p { font-size: 19px; opacity: 0.92; max-width: 640px; margin: 16px 0 0; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.16); margin-bottom: 18px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 14px; font-weight: 650; text-decoration: none; font-size: 17px; }
.btn.primary { background: #fff; color: var(--navy); }
.btn.ghost { border: 1px solid rgba(255,255,255,0.45); color: #fff; }
.btn.solid { background: var(--ocean); color: #fff; }

section { padding: 64px 0; }
section p, section li { color: var(--muted); }
section p a, section li a, .prose a { color: var(--link); }
.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.alt .card { background: var(--bg); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,0.16); color: #fff; font-size: 14.5px; text-decoration: none; }
.toc a:hover { background: rgba(255,255,255,0.26); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 30px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card h3 { font-size: 19px; margin: 14px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card p + p { margin-top: 10px; }
.card ul { margin: 10px 0 0; padding-left: 20px; font-size: 15.5px; }
.card li { margin: 5px 0; }
.card b, section li b, section p b { color: var(--ink); font-weight: 600; }
.tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.tile svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.term { display: inline-block; padding: 1px 8px; border-radius: 7px; background: color-mix(in srgb, var(--teal) 14%, transparent); border: 1px solid color-mix(in srgb, var(--teal) 35%, transparent); color: var(--ink); font-size: 0.94em; }

table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 15.5px; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
tbody th { font-weight: 600; white-space: nowrap; color: var(--ink); }
td { color: var(--muted); }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--warn); font-weight: 600; }
@media (max-width: 760px) {
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.stack tr { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; }
  table.stack tbody th { white-space: normal; font-size: 18px; padding: 0 0 8px; border: 0; }
  table.stack td { padding: 8px 0 0; border: 0; }
  table.stack td::before { content: attr(data-label); display: block; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
}

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.steps .card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ocean); color: #fff; font-weight: 700; }
.checks { padding: 0; margin: 22px 0 0; list-style: none; }
.checks li { padding: 12px 0 12px 30px; position: relative; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.checks.avoid li::before { background: var(--coral); }
.note { margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: color-mix(in srgb, var(--coral) 10%, transparent); border: 1px solid color-mix(in srgb, var(--coral) 35%, transparent); font-size: 15.5px; color: var(--ink); }
.note b { color: var(--warn); }
.note.info { background: color-mix(in srgb, var(--teal) 10%, transparent); border-color: color-mix(in srgb, var(--teal) 35%, transparent); }
.note.info b { color: var(--ink); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }
details ul, details ol { color: var(--muted); margin: 10px 0 0; padding-left: 22px; }
details li { margin: 6px 0; }
.faq { margin-top: 20px; }

.prose { max-width: 760px; margin: 0 auto; padding: 48px 20px 40px; }
.prose h1 { font-size: clamp(30px, 5vw, 38px); margin: 0 0 8px; }
.prose h2 { font-size: 21px; margin: 34px 0 6px; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin: 8px 0; }
.prose ul { padding-left: 22px; margin: 8px 0; }
.prose li { margin: 6px 0; }
.prose b { color: var(--ink); font-weight: 600; }

.center { text-align: center; }
.center .cta { justify-content: center; }
.big { font-size: clamp(64px, 16vw, 120px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(135deg, var(--ocean), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }

footer { padding: 40px 0 60px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 10px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
footer nav a { color: var(--ink); text-decoration: none; }
footer nav a:hover { text-decoration: underline; }
