:root {
  color-scheme: light;
  --navy: #0d3142;
  --deep: #092330;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --sand: #f7f1e7;
  --cream: #fffdf8;
  --ink: #1f2933;
  --muted: #667085;
  --line: #dbe5e7;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(9, 35, 48, 0.16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--teal-dark); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
.container { width: min(1140px, calc(100vw - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--navy); color: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13, 49, 66, 0.1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--deep); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; font-weight: 800; letter-spacing: -0.04em; }
.brand small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
nav { display: flex; align-items: center; gap: 18px; font-weight: 700; font-size: 0.94rem; }
nav a { text-decoration: none; color: var(--navy); }
.nav-cta { padding: 10px 14px; border-radius: 999px; background: var(--navy); color: #fff !important; }

.hero { background: radial-gradient(circle at top right, rgba(15, 118, 110, 0.28), transparent 36%), linear-gradient(135deg, var(--sand), #e8f4f2); padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: center; }
.eyebrow { color: var(--teal-dark); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 800; margin: 0 0 12px; }
h1 { font-size: clamp(2.45rem, 5vw, 5.15rem); line-height: 0.95; letter-spacing: -0.065em; margin: 0; color: var(--deep); max-width: 820px; }
.hero-summary { font-size: clamp(1.1rem, 2vw, 1.35rem); color: #344054; max-width: 760px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 18px; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--teal); color: #fff; box-shadow: 0 12px 24px rgba(15, 118, 110, 0.24); }
.button.secondary { color: var(--navy); background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(13, 49, 66, 0.14); }
.button.light { background: #fff; color: var(--teal-dark); }
.trust-note { color: var(--muted); font-size: 0.92rem; margin-top: 20px; }
.hero-card { background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(13, 49, 66, 0.1); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.hero-card strong { display: block; color: var(--deep); font-size: 1.35rem; line-height: 1.2; margin-bottom: 14px; }
.hero-card ul { margin: 18px 0 0; padding-left: 21px; }
.card-label { margin: 0 0 8px; color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }

.guide-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; padding: 58px 0 74px; align-items: start; }
.toc { position: sticky; top: 96px; }
.toc-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 10px 30px rgba(9, 35, 48, 0.06); }
.toc-title { margin: 0 0 12px; font-weight: 900; color: var(--deep); }
.toc-card a { display: block; color: #344054; text-decoration: none; padding: 9px 0; border-top: 1px solid #edf2f3; font-size: 0.94rem; }
.toc-card a:hover { color: var(--teal-dark); }
.toc-card .toc-cta { margin-top: 12px; padding: 12px 14px; text-align: center; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; }

.guide-content { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(9, 35, 48, 0.08); padding: clamp(24px, 4vw, 52px); }
.guide-content h2 { margin: 2.1em 0 0.7em; color: var(--deep); font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.1; letter-spacing: -0.035em; }
.guide-content h2:first-child { margin-top: 0; }
.guide-content h3 { margin: 1.7em 0 0.55em; color: var(--navy); font-size: clamp(1.22rem, 2vw, 1.55rem); line-height: 1.2; }
.guide-content p { margin: 0 0 1.05em; }
.guide-content ul, .guide-content ol { padding-left: 1.35em; margin: 0 0 1.2em; }
.guide-content li { margin: 0.42em 0; }
.guide-content blockquote { border-left: 4px solid var(--teal); background: #f2fbf9; margin: 1.5em 0; padding: 1em 1.2em; }
.guide-content pre { overflow-x: auto; background: #0b1720; color: #d4f5ef; border-radius: 14px; padding: 16px; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; min-width: 420px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: #f7faf9; color: var(--deep); }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.box { flex: 0 0 18px; width: 18px; height: 18px; border: 2px solid var(--teal); border-radius: 5px; margin-top: 4px; }

.cta-band { background: linear-gradient(135deg, var(--deep), var(--teal-dark)); color: #fff; padding: 58px 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 34px; align-items: center; }
.cta-band h2 { margin: 0; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.04em; max-width: 820px; }
.cta-band p:not(.eyebrow) { max-width: 760px; color: rgba(255, 255, 255, 0.82); }
.cta-band .eyebrow { color: #a9fff1; }

.site-footer { background: #071a24; color: rgba(255, 255, 255, 0.78); padding: 34px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.site-footer strong { color: #fff; }
.site-footer a { display: block; color: #d4f5ef; margin: 4px 0; }

@media (max-width: 920px) {
  .header-inner, .footer-grid { align-items: flex-start; flex-direction: column; }
  nav { flex-wrap: wrap; }
  .hero-grid, .guide-shell, .cta-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .hero { padding-top: 48px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1140px); }
  .guide-content { border-radius: 18px; }
  .hero-actions .button { width: 100%; }
  nav a:not(.nav-cta) { display: none; }
}
