:root {
  --ink: #122033;
  --ink-soft: #26384c;
  --muted: #475a70;
  --line: #d9e3ed;
  --line-strong: #bdcfe0;
  --paper: #ffffff;
  --paper-soft: #f5f8fb;
  --paper-blue: #eef6fb;
  --navy: #102a44;
  --blue: #1f6f9e;
  --blue-dark: #175377;
  --green: #176d50;
  --green-soft: #dff4eb;
  --shadow: 0 18px 55px rgba(16, 42, 68, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.wrap {
  width: min(100% - 36px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.top-anchor {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 0;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 230px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.nav a {
  text-decoration: none;
  padding: 8px 2px;
}

.nav a:hover {
  color: var(--blue-dark);
}

.nav .nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--navy);
}

.hero {
  padding: 82px 0 54px;
  background:
    linear-gradient(180deg, rgba(238, 246, 251, 0.86), rgba(255, 255, 255, 0.98) 72%),
    radial-gradient(circle at top right, rgba(31, 138, 99, 0.12), transparent 42%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.68fr);
  align-items: center;
  gap: 42px;
}

.hero-copy {
  max-width: 760px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 5vw, 4.95rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.55rem);
}

h3 {
  font-size: 1.14rem;
  line-height: 1.25;
}

p {
  margin: 0;
}

.hero-subhead {
  max-width: 680px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
}

.button.primary {
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 12px 26px rgba(23, 83, 119, 0.24);
}

.button.primary:hover {
  background: #123f5f;
}

.button.secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line-strong);
}

.trust-note {
  max-width: 720px;
  margin-top: 24px;
  padding-left: 18px;
  border-left: 4px solid var(--green);
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.trust-note a {
  font-weight: 800;
  color: var(--blue-dark);
}

.hero-visual {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-visual img {
  border-radius: 0;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

section[id] {
  scroll-margin-top: 96px;
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding-top: 66px;
}

.section-muted {
  background: var(--paper-soft);
  border-block: 1px solid var(--line);
}

.section-blue {
  color: #f7fbff;
  background: linear-gradient(135deg, #071d31, #123d5a);
}

.section-blue h2,
.section-blue .section-label,
.section-blue p {
  color: inherit;
}

.section-blue .prose {
  color: #f7fbff;
}

.section-blue .prose p {
  color: #f7fbff;
}

.section-blue .section-label {
  color: #b9f2dd;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: 56px;
}

.section-label {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose {
  display: grid;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 840px;
  margin-bottom: 34px;
}

.section-head p:not(.section-label),
.section-head .updated {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-head.narrow {
  max-width: 760px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.resource-card,
.ai-steps article,
.cta-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-card {
  min-height: 190px;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.feature-wide {
  grid-column: span 2;
}

.feature-card p,
.resource-card p,
.ai-steps span,
.cta-box p {
  color: var(--muted);
}

.icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
  font-size: 0.82rem;
}

.checklist-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.sticky-head {
  position: sticky;
  top: 104px;
  margin-bottom: 0;
}

.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
}

.checklist li {
  min-height: 64px;
  position: relative;
  padding: 16px 16px 16px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 650;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid var(--green);
  background:
    linear-gradient(135deg, transparent 42%, var(--green) 43% 57%, transparent 58%),
    linear-gradient(45deg, transparent 46%, var(--green) 47% 61%, transparent 62%);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.pill-list span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 750;
  font-size: 0.9rem;
}

.ai-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 34px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(238, 246, 251, 0.9), rgba(255, 255, 255, 0.96)),
    #fff;
}

.ai-copy {
  display: grid;
  gap: 18px;
}

.fine-print {
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  background: #fff;
  color: var(--ink-soft);
}

.ai-steps {
  display: grid;
  gap: 12px;
}

.ai-steps article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.ai-steps strong {
  color: var(--navy);
  font-size: 1rem;
}

.mistake-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mistake-grid div {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 720;
}

.resources-head {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.updated {
  justify-self: end;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  white-space: nowrap;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.resource-card {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.publisher {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card a,
.text-link {
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.section-cta {
  background:
    linear-gradient(135deg, rgba(16, 42, 68, 0.97), rgba(23, 83, 119, 0.95)),
    var(--navy);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
  color: #e9f6ff;
}

.cta-panel h2,
.cta-panel h3,
.cta-panel .section-label {
  color: inherit;
}

.cta-panel .section-label {
  color: #9de1c6;
}

.cta-panel p {
  margin-top: 18px;
  color: #e4f1f8;
}

.cta-box {
  padding: 22px;
  display: grid;
  gap: 16px;
  background: #fff;
  color: var(--ink);
}

.site-footer {
  padding: 42px 0 28px;
  background: #071827;
  color: #d8e7f2;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 32px;
}

.footer-grid p {
  max-width: 900px;
  margin-top: 12px;
  color: #d1e1ec;
}

.disclaimer {
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 10px;
}

.footer-links a {
  color: #fff;
  font-weight: 780;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #c7d7e2;
  font-size: 0.9rem;
}

:focus-visible {
  outline: 3px solid rgba(31, 111, 158, 0.45);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .header-inner,
  .hero-grid,
  .split,
  .checklist-layout,
  .ai-panel,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    display: grid;
    justify-items: start;
    padding: 14px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-visual {
    max-width: 560px;
  }

  .feature-grid,
  .mistake-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-wide {
    grid-column: auto;
  }

  .sticky-head {
    position: static;
  }

  .resources-head {
    grid-template-columns: 1fr;
  }

  .updated {
    justify-self: start;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .nav {
    gap: 4px 12px;
    font-size: 0.83rem;
  }

  .nav .nav-cta {
    padding: 8px 10px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .feature-grid,
  .checklist,
  .mistake-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .ai-panel {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
