* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0f1b2b;
  --navy-light: #16243a;
  --gold: #e8b23d;
  --cream: #faf8f4;
  --text: #1f2733;
  --text-muted: #5b6572;
  --border: #e5e1d8;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.55;
}

.display {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}

.brand-name {
  color: #ffffff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-name span {
  color: var(--gold);
}

nav.main-nav {
  display: flex;
  gap: 0.25rem;
}

nav.main-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  text-decoration: none;
  color: #d9ddE3;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a:active {
  background: rgba(232, 178, 61, 0.12);
  color: var(--gold);
}

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

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 0.75rem;
  line-height: 1.05;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero p {
  color: #c7cdd6;
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover,
.btn-gold:active {
  background: #f0bf57;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline:hover,
.btn-outline:active {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- Sections ---------- */

section {
  padding: 3rem 0;
}

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

.section-head h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--navy);
}

.section-head .see-all {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.section-head .see-all:hover,
.section-head .see-all:active {
  color: var(--gold);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.4rem;
}

.eyebrow.center {
  text-align: center;
}

/* ---------- Mission ---------- */

.mission {
  text-align: center;
}

.mission .wrap {
  max-width: 42rem;
}

.mission h2 {
  margin: 0 0 1rem;
  color: var(--navy);
}

.mission-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Quote band ---------- */

.quote-band {
  background: var(--navy-light);
  color: #ffffff;
  text-align: center;
}

.quote-band .quote-mark {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  margin: 0 0 -0.5rem;
}

.quote-band blockquote {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  max-width: 34rem;
  margin: 0 auto 0.75rem;
  line-height: 1.3;
}

.quote-band cite {
  display: block;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Stat strip ---------- */

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.stat {
  text-align: center;
  min-width: 130px;
}

.stat-num {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  color: #ffffff;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
}

.cta-band p {
  color: #c7cdd6;
  max-width: 30rem;
  margin: 0 auto 1.5rem;
}

/* ---------- Cards ---------- */

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.card-icon-img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
}

.card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--navy);
}

.card .tagline {
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.card p.body-text {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.25rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

.card-link:hover,
.card-link:active {
  color: var(--gold);
}

.card.placeholder {
  border-style: dashed;
  align-items: flex-start;
  justify-content: center;
  color: var(--text-muted);
  min-height: 160px;
}

.card.placeholder h3 {
  color: var(--text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(232, 178, 61, 0.15);
  color: #8a6a1c;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: fit-content;
}

/* ---------- Page intro (Apps / Resources pages) ---------- */

.page-intro {
  background: var(--navy);
  color: #ffffff;
  padding: 2.5rem 0 2rem;
}

.page-intro h1 {
  font-size: 2.1rem;
  margin: 0 0 0.5rem;
}

.page-intro p {
  color: #c7cdd6;
  max-width: 36rem;
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #9aa3af;
  padding: 2rem 0;
  margin-top: 2rem;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer nav a {
  color: #c7cdd6;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer nav a:hover,
.site-footer nav a:active {
  color: var(--gold);
}

.site-footer small {
  color: #6b7280;
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.2rem;
  }

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

  .site-footer .wrap {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .quote-band blockquote {
    font-size: 1.9rem;
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 3.6rem;
  }
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
