:root {
  --navy: #102b4d;
  --navy-deep: #061b36;
  --blue: #244f7a;
  --red: #b92734;
  --red-deep: #8f1d29;
  --gold: #c99a3b;
  --cream: #fbf5e9;
  --cream-2: #fffaf1;
  --paper: #ffffff;
  --mist: #edf4f7;
  --line: #d6e1ea;
  --ink: #13253f;
  --muted: #56677d;
  --shadow: 0 28px 70px rgba(16, 43, 77, 0.15);
  --soft-shadow: 0 18px 42px rgba(16, 43, 77, 0.1);
  --display: "Newsreader", Georgia, serif;
  --body: "Atkinson Hyperlegible", Verdana, sans-serif;
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201, 154, 59, 0.14), transparent 34rem),
    linear-gradient(180deg, var(--cream-2), #f4f8fb 48%, #fff);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
}

body.text-large {
  font-size: 20px;
}

body.high-contrast {
  --cream: #ffffff;
  --cream-2: #ffffff;
  --mist: #f7fbff;
  --line: #8da1b6;
  --muted: #24364e;
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

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

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

button,
input {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid rgba(201, 154, 59, 0.9);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 250, 241, 0.93);
  border-bottom: 1px solid rgba(16, 43, 77, 0.12);
  box-shadow: 0 14px 36px rgba(16, 43, 77, 0.08);
  backdrop-filter: blur(18px);
}

.utility-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  font-size: 14px;
  font-weight: 700;
}

.utility-button {
  min-height: 28px;
  padding: 2px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.utility-button.active,
.utility-button[aria-pressed="true"] {
  color: var(--navy);
  background: #fff;
}

.header-main,
.section-shell,
.quick-guide,
.footer-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(16, 43, 77, 0.17);
  font-weight: 900;
}

.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.section-rail a {
  border-radius: 999px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav a {
  padding: 10px 14px;
}

.main-nav a:hover,
.main-nav a.active,
.section-rail a:hover,
.section-rail a.active {
  color: #fff;
  background: var(--navy);
  transform: translateY(-1px);
}

.header-cta,
.primary-action,
.secondary-action,
.plan-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.header-cta,
.primary-action,
.plan-card a {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 16px 34px rgba(185, 39, 52, 0.2);
}

.header-cta {
  padding: 0 22px;
}

.primary-action,
.secondary-action {
  padding: 0 24px;
}

.secondary-action {
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(16, 43, 77, 0.28);
}

.header-cta:hover,
.primary-action:hover,
.secondary-action:hover,
.plan-card a:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.82fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: 720px;
  padding: clamp(54px, 8vw, 92px) 0 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.page-label {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 16px;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(16, 43, 77, 0.14);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(16, 43, 77, 0.08);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 88px);
}

h2 {
  font-size: clamp(34px, 4.2vw, 58px);
}

h3 {
  font-size: clamp(25px, 2.8vw, 35px);
}

p {
  margin: 0;
}

.hero-lede {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-visual {
  margin: 0;
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.image-main,
.image-float {
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.image-main {
  width: min(100%, 520px);
  height: 390px;
}

.image-float {
  position: absolute;
  width: 225px;
  height: 165px;
}

.image-float-one {
  right: 0;
  top: 42px;
  animation: softFloat 7s ease-in-out infinite;
}

.image-float-two {
  left: 34px;
  bottom: 0;
  animation: softFloat 8s ease-in-out infinite reverse;
}

figcaption {
  max-width: 470px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.quick-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}

.guide-card,
.rounded-band,
.story-card,
.benefit-card,
.callout-section,
.plan-card,
.newsletter-band {
  border: 1px solid rgba(16, 43, 77, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.guide-card {
  padding: 24px;
}

.guide-card strong {
  display: block;
  color: var(--navy);
  font-size: 19px;
}

.guide-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.content-layout {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.section-rail {
  position: sticky;
  top: 142px;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 43, 77, 0.12);
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
}

.section-rail span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-rail a {
  padding: 10px 12px;
}

.content-flow {
  display: grid;
  gap: 28px;
}

.rounded-band {
  padding: clamp(30px, 4vw, 54px);
  border-radius: var(--radius-xl);
}

.mission-band {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(251, 245, 233, 0.86)),
    radial-gradient(circle at top right, rgba(201, 154, 59, 0.16), transparent 24rem);
}

.band-heading {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: 28px;
  align-items: start;
}

.large-copy {
  margin-top: 30px;
  color: var(--navy);
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.45;
}

.section-heading {
  max-width: 860px;
  margin: 36px 0 22px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 20px;
}

.story-section {
  display: grid;
  gap: 20px;
}

.story-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--radius-xl);
}

.story-card::after,
.benefit-card::after,
.callout-section::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  top: -70px;
  background: rgba(201, 154, 59, 0.11);
  border-radius: 50%;
}

.chapter-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 18px;
  font-weight: 900;
}

.story-card p,
.benefit-card p,
.value-copy p,
.callout-section p {
  margin-top: 18px;
}

.pull-line {
  color: var(--red-deep);
  font-size: 24px;
  font-weight: 800;
}

.benefits-section {
  padding-top: 10px;
}

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

.benefit-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 30px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.benefit-card:hover,
.plan-card:hover,
.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.benefit-card span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 13px;
  color: var(--red-deep);
  background: rgba(185, 39, 52, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.benefit-card a {
  color: var(--red-deep);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.benefit-card.wide {
  grid-column: 1 / -1;
  min-height: 0;
  background: linear-gradient(135deg, #fff, var(--cream));
}

.values-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(237, 244, 247, 0.92), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at bottom left, rgba(36, 79, 122, 0.12), transparent 20rem);
}

.values-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--soft-shadow);
}

.value-copy {
  margin-top: 24px;
}

.callout-section {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 54px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 27, 54, 0.96), rgba(16, 43, 77, 0.94)),
    url("./assets/amac-overview-source-2.png") center / cover;
}

.callout-section h2,
.callout-section p,
.callout-section .eyebrow {
  position: relative;
  z-index: 1;
  color: #fff;
}

.callout-section .eyebrow {
  color: #f7d691;
}

.join-section {
  padding-top: 24px;
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 274px;
  padding: 26px;
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.plan-card p {
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card strong {
  display: block;
  margin-top: 18px;
  color: var(--red-deep);
  font-family: var(--display);
  font-size: 48px;
  line-height: 1;
}

.plan-card span {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.plan-card a {
  min-height: 48px;
  margin-top: auto;
  padding: 0 18px;
}

.plan-card.featured {
  border-color: rgba(201, 154, 59, 0.58);
  background: linear-gradient(180deg, #fff, #fff7e6);
  transform: translateY(-10px);
}

.plan-card.lifetime {
  background: linear-gradient(180deg, #fff, #eef6fb);
}

.newsletter-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 64px;
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(135deg, var(--cream), #fff);
}

.newsletter-band p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr;
  gap: 34px;
  padding: 44px 0;
}

.footer-brand {
  color: #fff;
}

.footer-brand small,
.site-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer h2 {
  color: #fff;
  font-family: var(--body);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.site-footer a:not(.brand) {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer p {
  max-width: 560px;
  margin-top: 20px;
}

.js .reveal {
  opacity: 1;
  transform: translateY(0);
  animation: riseIn 700ms ease both;
  transition: opacity 640ms ease, transform 640ms ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .header-main {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .hero,
  .content-layout,
  .values-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-rail {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .section-rail span {
    display: none;
  }

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

@media (max-width: 760px) {
  body,
  body.text-large {
    font-size: 17px;
  }

  .utility-bar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-main {
    min-height: auto;
    padding: 16px 0;
  }

  .header-cta {
    width: 100%;
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 0;
    padding-top: 34px;
  }

  .hero-actions,
  .newsletter-band {
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .image-stack {
    min-height: 360px;
  }

  .image-main {
    height: 280px;
  }

  .image-float {
    width: 170px;
    height: 124px;
  }

  .image-float-one {
    top: 20px;
  }

  .quick-guide,
  .benefit-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

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

  .rounded-band,
  .story-card,
  .callout-section,
  .newsletter-band {
    border-radius: 28px;
  }

  .plan-card.featured {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
