:root {
  --cream: #f7f1e6;
  --white: #fffdf8;
  --ink: #111111;
  --navy: #0d1b35;
  --navy-soft: #17294a;
  --gold: #c8a24a;
  --gold-soft: #ead9a4;
  --line: #ded3be;
  --muted: #5e6470;
  --shadow: 0 18px 45px rgba(13, 27, 53, 0.12);
}

* {
  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(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 211, 190, 0.8);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.nav-shell,
.section-inner,
.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: grid;
  gap: 0.05rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--navy);
}

.brand span {
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 1.45rem;
  cursor: pointer;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-nav a {
  padding: 0.55rem 0;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  border-color: var(--gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.1rem;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button.secondary {
  border-color: var(--gold);
  background: var(--white);
  color: var(--navy);
}

.button.gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero.compact {
  min-height: 390px;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 27, 53, 0.88), rgba(13, 27, 53, 0.62) 43%, rgba(13, 27, 53, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5rem 0 7rem;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-soft);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1,
.hero h2 {
  color: var(--white);
  max-width: 780px;
  font-size: clamp(2.45rem, 7vw, 5.9rem);
  overflow-wrap: break-word;
}

.hero.compact h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.75rem);
}

.hero p {
  max-width: 710px;
  margin: 1.2rem 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(1.03rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.section {
  padding: 5.25rem 0;
}

.section.alt {
  background: var(--cream);
}

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

.section.navy h2,
.section.navy h3 {
  color: var(--white);
}

.section.navy p,
.section.navy li {
  color: rgba(255, 253, 248, 0.82);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-head h2,
.content-block h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.section-head p,
.content-block p {
  max-width: 720px;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card,
.product-card,
.faq-item {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(13, 27, 53, 0.06);
}

.product-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.product-card .tag,
.resource-tag {
  width: fit-content;
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--gold);
  color: var(--navy);
  background: #fbf5e8;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.35rem;
}

.product-card p,
.card p,
.faq-item p {
  color: var(--muted);
}

.product-card .button {
  width: 100%;
  margin-top: auto;
}

.feature-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.feature-split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.content-block ul {
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.2rem;
}

.content-block li + li {
  margin-top: 0.45rem;
}

.mini-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mini-products span {
  border: 1px solid rgba(200, 162, 74, 0.42);
  background: rgba(255, 253, 248, 0.88);
  padding: 0.85rem;
  font-weight: 800;
  color: var(--navy);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  border-top: 2px solid var(--gold);
  padding-top: 1rem;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.opt-in {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(234, 217, 164, 0.45);
  background: rgba(255, 253, 248, 0.08);
  padding: 1.2rem;
}

.opt-in input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.opt-in input {
  min-width: min(420px, 54vw);
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.faq-item {
  padding: 1.25rem;
}

.faq-item h3 {
  font-size: 1.18rem;
}

.footer {
  background: #080f1e;
  color: rgba(255, 253, 248, 0.82);
  padding: 3rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

.footer a {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: flex-end;
}

.legal-note {
  color: #8d93a0;
  font-size: 0.9rem;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 0.75rem;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.75rem;
  }

  .section-head,
  .feature-split,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .grid.three,
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .section-inner,
  .footer-inner,
  .hero-content {
    width: min(330px, calc(100% - 32px));
    margin-left: 16px;
    margin-right: auto;
  }

  .hero {
    min-height: 650px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(13, 27, 53, 0.9), rgba(13, 27, 53, 0.64));
  }

  .hero-content {
    padding: 4rem 0 5rem;
    overflow: hidden;
  }

  .hero h1,
  .hero h2 {
    max-width: 330px;
    font-size: clamp(1.85rem, 8vw, 2rem);
    line-height: 1.08;
  }

  .eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }

  .section-head h2,
  .content-block h2 {
    font-size: clamp(1.65rem, 8vw, 2rem);
    overflow-wrap: break-word;
  }

  .product-card h3,
  .product-card h2,
  .faq-item h2 {
    font-size: 1.35rem;
    overflow-wrap: break-word;
  }

  .hero-actions,
  .opt-in {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .opt-in input {
    width: 100%;
    min-width: 0;
  }

  .grid.three,
  .grid.two,
  .mini-products,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.75rem 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
