:root {
  color-scheme: light;
  --ink: #11231c;
  --muted: #52625a;
  --line: #d8e1dc;
  --surface: #f6f8f7;
  --white: #ffffff;
  --green: #43bc58;
  --blue: #2092bc;
  --green-cta: #2f873d;
  --blue-cta: #167493;
  --link-blue: #176f90;
  --footer-green: #2b7321;
  --navy: #14384a;
  --gold: #c89a32;
  --focus: #f4c84d;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-weight: 300;
  overflow-x: hidden;
}

a { color: inherit; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.category-selector:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 6px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 150px;
  padding: 0 30px;
  background: var(--blue);
  background: linear-gradient(0deg, rgba(32, 146, 188, 0) 0%, rgba(11, 33, 51, 0.75) 75%, rgba(11, 33, 51, 0.75) 100%);
  border-bottom: 0;
  overflow: visible;
  transition: background 350ms ease, height 350ms ease, padding 350ms ease, box-shadow 350ms ease;
}

.site-header.scrolled {
  height: 80px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.brand img {
  display: block;
  width: 280px;
  height: auto;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
  transition: width 350ms ease, filter 350ms ease;
}

.site-header.scrolled .brand img {
  width: 220px;
}

.site-nav,
.actions,
.site-footer nav,
.contact-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a,
.site-footer a {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.site-nav {
  gap: 20px;
}

.site-nav > a,
.nav-group > a {
  color: var(--white);
}

.nav-group {
  position: relative;
}

.nav-group > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 7px;
  vertical-align: 0.16em;
  border-top: 5px solid currentColor;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

.nav-submenu {
  position: absolute;
  left: 0;
  top: 100%;
  display: none;
  min-width: 220px;
  padding: 10px;
  background: rgba(32, 146, 188, 0.94);
  border: 0;
  box-shadow: 0 12px 30px rgba(17, 35, 28, 0.18);
}

.site-header.scrolled .nav-submenu {
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(17, 35, 28, 0.12);
}

.nav-submenu a {
  display: block;
  padding: 9px 10px;
  color: var(--white);
}

.nav-submenu a:hover,
.nav-submenu a:focus {
  background: #53a8af;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  display: block;
}

.nav-contact,
.button,
.answer-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid transparent;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.nav-contact {
  justify-self: end;
  color: var(--white);
  border: 1px solid var(--white);
  background: rgba(0, 44, 60, 0.2);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.button.primary,
.answer-button {
  color: var(--white);
  background: var(--green-cta);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.button.secondary {
  color: var(--white);
  background: var(--blue-cta);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.button.text-link {
  min-height: auto;
  padding: 0;
  color: var(--white);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 170px clamp(24px, 15vw, 214px) 60px;
  color: var(--white);
  background: #1d322d;
}

.hero-slides,
.hero-slides img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 900ms ease, transform 6000ms ease;
}

.hero-slides img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.04)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  min-width: 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--link-blue);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero .lead {
  color: rgba(255, 255, 255, 0.86);
}

h1,
h2,
h3,
p {
  max-width: 100%;
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 3.2vw, 3.3rem);
  line-height: 1.32;
  font-weight: 300;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 300;
}

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

.lead,
.section p,
li {
  font-size: 1.04rem;
  line-height: 1.65;
}

.lead {
  max-width: 760px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.trust-strip span {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  background: var(--white);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.sponsor-strip {
  padding: clamp(40px, 7vw, 78px) 0;
  background: var(--white);
  overflow: hidden;
}

.sponsor-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(44px, 6vw, 86px);
  animation: sponsor-scroll 52s linear infinite;
}

.sponsor-strip:hover .sponsor-track {
  animation-play-state: paused;
}

.sponsor-strip img {
  width: clamp(132px, 13vw, 178px);
  height: 92px;
  max-height: 92px;
  aspect-ratio: 180 / 92;
  object-fit: contain;
  flex: 0 0 auto;
}

@keyframes sponsor-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 24px;
    animation: none;
  }

  .sponsor-track img[aria-hidden="true"] {
    display: none;
  }
}

.section {
  padding: clamp(46px, 7vw, 90px) clamp(18px, 5vw, 72px);
}

.section-copy {
  max-width: 780px;
  margin-bottom: 28px;
}

.feature-grid,
.category-grid,
.related-grid,
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-grid article,
.category-grid article,
.checklist-grid article,
.selector-card,
details,
.contact-panel {
  padding: 26px;
  background: var(--white);
}

.feature-grid {
  gap: 32px;
  background: transparent;
  border: 0;
}

.feature-grid article {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.feature-grid article h2 {
  color: var(--link-blue);
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.related-section {
  background: var(--white);
}

.related-grid,
.checklist-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.related-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.related-card {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.related-card strong {
  color: var(--link-blue);
  font-size: 1.12rem;
  font-weight: 500;
}

.related-card span {
  color: var(--muted);
  line-height: 1.55;
}

.related-card:hover,
.related-card:focus {
  color: var(--white);
  background: var(--blue);
}

.related-card:hover strong,
.related-card:hover span,
.related-card:focus strong,
.related-card:focus span {
  color: var(--white);
}

.checklist-section {
  background: var(--surface);
}

.checklist-grid article {
  min-height: 210px;
}

.checklist-grid h3 {
  color: var(--link-blue);
}

.media-kit-section {
  background: var(--white);
}

.media-kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 28px;
}

.media-kit-card {
  display: grid;
  grid-template-rows: minmax(230px, auto) 1fr;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.media-kit-preview {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(45deg, rgba(216, 225, 220, 0.55) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(216, 225, 220, 0.55) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(216, 225, 220, 0.55) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(216, 225, 220, 0.55) 75%);
  background-color: var(--white);
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
}

.media-kit-preview.is-dark {
  background: var(--navy);
}

.media-kit-preview img {
  display: block;
  width: min(100%, 520px);
  max-height: 250px;
  object-fit: contain;
}

.media-kit-card > div:last-child {
  padding: 24px;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.download-links .button {
  min-height: 40px;
}

.media-kit-guidance {
  background: var(--surface);
}

.conversion-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

.conversion-band h2,
.conversion-band p {
  max-width: 760px;
}

.conversion-band .eyebrow {
  color: #8be29a;
}

.conversion-band .actions {
  justify-content: flex-end;
}

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

.risk-lists {
  background: var(--white);
}

.compact-list {
  columns: 2;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--white);
  background: var(--navy);
}

.tool-section {
  background: #f4f6f2;
}

.category-selector {
  max-width: 920px;
}

.selector-price {
  padding: 14px 16px;
  background: var(--surface);
  border-left: 4px solid var(--green-cta);
}

.selector-card {
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(17, 35, 28, 0.08);
}

.answer-button {
  margin: 8px 8px 0 0;
  border: 0;
  text-align: left;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.14);
}

.quantity-label {
  display: grid;
  gap: 8px;
  max-width: 220px;
  margin-bottom: 14px;
  font-weight: 800;
}

.quantity-label input {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  font: inherit;
}

details {
  margin-bottom: 10px;
  border: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--footer-green);
}

.site-footer p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer .footer-credit {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.pdf-modal-open {
  overflow: hidden;
}

.pdf-modal[hidden] {
  display: none;
}

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 45, 0.72);
}

.pdf-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr) auto;
  width: min(1040px, calc(100vw - 48px));
  height: min(880px, calc(100vh - 48px));
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.pdf-modal-header,
.pdf-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.pdf-modal-header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.pdf-modal-close {
  min-height: 38px;
  padding: 8px 13px;
  color: var(--white);
  background: var(--blue-cta);
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.pdf-modal-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--surface);
}

.pdf-modal-actions {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.mobile-cta {
  display: none;
}

@media (max-width: 900px) {
  .pdf-modal {
    display: none;
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 122px;
    padding: 12px 24px;
    background: #13281f;
  }

  .site-header.scrolled {
    height: auto;
    min-height: 122px;
  }

  .brand {
    order: -1;
    justify-self: center;
  }

  .brand img {
    width: min(224px, 70vw);
  }

  .nav-contact {
    display: none;
  }

  .site-footer,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-toggle {
    display: inline-flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    padding: 0 14px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.16);
    border: 0;
    font-weight: 800;
  }

  .site-nav {
    display: none;
    align-items: stretch;
    flex-direction: column;
    background: var(--blue);
    padding: 12px;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .nav-submenu {
    position: static;
    display: block;
    background: transparent;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.2);
  }

  .hero {
    min-height: 520px;
    padding: 58px 24px 50px;
  }

  .hero-content {
    max-width: min(320px, calc(100vw - 48px));
  }

  .lead {
    max-width: 30ch;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.45rem);
    line-height: 1.12;
  }

  .feature-grid,
  .category-grid,
  .related-grid,
  .checklist-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .conversion-band {
    grid-template-columns: 1fr;
  }

  .conversion-band .actions {
    justify-content: flex-start;
  }

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

  .trust-strip span {
    min-height: 74px;
    padding: 16px;
  }

  .sponsor-strip {
    padding: 30px 0;
  }

  .sponsor-strip img {
    width: 132px;
  }

  .compact-list {
    columns: 1;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr;
    background: var(--white);
    border-top: 1px solid var(--line);
    transform: translateY(105%);
    transition: transform 220ms ease;
    pointer-events: none;
  }

  body.mobile-cta-visible {
    padding-bottom: 54px;
  }

  body.mobile-cta-visible .mobile-cta {
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-cta a {
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: 8px 10px;
    color: var(--white);
    background: var(--green-cta);
    font-weight: 800;
    font-size: 0.84rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
    text-decoration: none;
  }

  .mobile-cta a + a {
    background: var(--blue-cta);
  }

  @media (min-width: 360px) {
    .mobile-cta {
      grid-template-columns: 1fr 1fr;
    }
  }
}
