/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --blue-mist:    #F5F0E8;
  --blue-sky:     #C8DFEF;
  --blue-slate:   #7BAECF;
  --blue-sapphire:#2A6FA8;
  --blue-navy:    #1A4B73;
  --cream:        #FDF6EE;
  --blush:        #E8B4A0;
  --orange-peach: #F5C9A0;
  --orange-warm:  #E8924A;
  --terracotta:   #C4785A;
  --sage:         #7A9E8E;
  --white-blue:   #F7F8FA;
  --charcoal:     #4A4A5A;
  --near-black:   #2C2C3A;

  --radius-component: 8px;
  --radius-card:      12px;

  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body:    'Lora', Georgia, serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.7;
  background-color: var(--blue-mist);
}

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

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

ul {
  list-style: none;
}

/* ============================================================
   UTILITY: BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-component);
  cursor: pointer;
  transition: opacity 0.15s ease;
  text-align: center;
  white-space: nowrap;
  border: none;
}

.btn:hover {
  opacity: 0.88;
}

.btn:focus-visible {
  outline: 0 0 0 3px var(--blue-sapphire);
  box-shadow: 0 0 0 3px var(--blue-sapphire);
}

.btn--primary {
  background-color: var(--blue-sapphire);
  color: #ffffff;
}

.btn--outline {
  background-color: transparent;
  color: var(--blue-sapphire);
  border: 1.5px solid var(--blue-sapphire);
}

.btn--terracotta {
  background-color: var(--terracotta);
  color: #ffffff;
}

.btn--terracotta:hover {
  opacity: 1;
  background-color: #A85E42;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn--xs {
  padding: 7px 16px;
  font-size: 13px;
}

/* ============================================================
   UTILITY: EYEBROW
   ============================================================ */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-family: var(--font-body);
  color: var(--blue-slate);
  margin-bottom: 16px;
}

/* ============================================================
   SITE BANNER
   ============================================================ */
.site-banner {
  background-color: var(--blue-sapphire);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  text-align: center;
}

.site-banner__text {
  font-family: var(--font-body);
  font-size: 14px;
  color: #ffffff;
  line-height: 1.4;
}

.site-banner__btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-navy);
  background-color: #ffffff;
  padding: 6px 16px;
  border-radius: 6px;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.site-banner__btn:hover {
  opacity: 0.85;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--cream);
  border-bottom: 0.5px solid var(--blue-sky);
}

.nav__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--blue-navy);
  line-height: 1.2;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__text-link {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--blue-sapphire);
  font-weight: 500;
  transition: opacity 0.15s ease;
}

.nav__text-link:hover {
  opacity: 0.7;
}

.nav__buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav .btn--primary {
  background-color: var(--orange-warm);
}

.nav .btn--primary:hover {
  opacity: 1;
  background-color: #C4752A;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}

.nav__hamburger-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--blue-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Open state */
.nav--open .nav__hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav--open .nav__hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav--open .nav__hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 24px 20px;
  border-top: 0.5px solid var(--blue-sky);
  background-color: var(--cream);
}

.nav__mobile-link {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--blue-sapphire);
  font-weight: 500;
  padding: 6px 0;
  transition: opacity 0.15s ease;
}

.nav__mobile-link:hover {
  opacity: 0.7;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-color: var(--blue-navy);
  display: flex;
  flex-direction: column;
}

.hero__split {
  display: flex;
  max-height: 560px;
  overflow: hidden;
}

.hero__text {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px 60px 104px;
  border-left: 3px solid var(--orange-warm);
}

.hero__image {
  flex: 0 0 40%;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero__text .eyebrow {
  color: var(--blue-sky);
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: 52px;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: #C8DFEF;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__gradient-bar {
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #2A6FA8, #E8924A, #7A9E8E);
  margin-bottom: 20px;
  border-radius: 2px;
}

/* Hero button overrides for dark background */
.hero .btn--primary {
  background-color: var(--orange-warm);
  color: #ffffff;
}

.hero .btn--primary:hover {
  opacity: 1;
  background-color: #C4752A;
}

.hero .btn--outline {
  background-color: transparent;
  color: #C8DFEF;
  border-color: #C8DFEF;
}

.hero .btn--outline:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Trust bar */
.trust-bar {
  background-color: var(--blue-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-bar p {
  color: var(--blue-sky);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
}

/* ============================================================
   WHO THIS IS FOR
   ============================================================ */
.audience {
  background-color: var(--cream);
  padding: 80px 24px;
}

.audience__inner {
  max-width: 860px;
  margin: 0 auto;
}

.audience__headline {
  font-family: var(--font-heading);
  font-size: 38px;
  color: var(--blue-navy);
  line-height: 1.25;
  text-align: center;
  margin-bottom: 48px;
}

.audience__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* Card image */
.aud-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 8px 8px 0 0;
}

/* Card shell */
.aud-card {
  background-color: var(--white-blue);
  border-radius: var(--radius-card);
  border: 0.5px solid var(--blue-sky);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Top accent bar */
.aud-card__bar {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
  border-radius: 4px 4px 0 0;
}

.aud-card__bar--sapphire   { background-color: var(--blue-sapphire); }
.aud-card__bar--orange-warm{ background-color: var(--orange-warm); }
.aud-card__bar--sage       { background-color: var(--sage); }

/* Card body */
.aud-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

/* Pill badge */
.aud-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.aud-card__badge--blue  { background-color: var(--blue-sky);  color: var(--blue-navy); }
.aud-card__badge--peach { background-color: #F5C9A0;           color: #7A3D10; }
.aud-card__badge--sage  { background-color: #C8DDD8;           color: #2D4F45; }

.aud-card__headline {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--blue-navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.aud-card__text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.7;
}

/* Reassurance line */
.audience__reassurance {
  font-family: var(--font-body);
  font-size: 16px;
  font-style: italic;
  color: var(--blue-slate);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav--open .nav__mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero__split {
    flex-direction: column;
    max-height: none;
  }

  .hero__image {
    display: none;
  }

  .hero__text {
    flex: none;
    width: 100%;
    padding: 60px 24px;
    align-items: center;
    text-align: center;
    border-left: none;
  }

  .hero__headline {
    font-size: 36px;
  }

  .hero__sub {
    font-size: 16px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 320px;
  }

  .trust-bar {
    padding: 14px 20px;
  }

}

@media (max-width: 600px) {

  /* Who This Is For */
  .audience__headline {
    font-size: 28px;
  }

  .audience__cards {
    grid-template-columns: 1fr;
  }
}
