:root {
  --navy: #16354A;
  --navy2: #0f2839;
  --teal: #2C7A7B;
  --tealDark: #1f6263;
  --tealSoft: #e8f6f5;
  --grey: #637381;
  --light: #F7F9FB;
  --border: #d8e1e7;
  --text: #23323d;
  --muted: #475866;
  --cream: #fff7e6;
  --shadow: 0 16px 40px rgba(19, 53, 74, .08);
  --shadow2: 0 22px 55px rgba(19, 53, 74, .12);
  --radius: 22px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--teal);
}

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

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Topbar */

.topbar {
  background: var(--navy);
  color: #edf3f7;
  font-size: .92rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .6rem 0;
  flex-wrap: wrap;
}

.topbar a {
  color: #edf3f7;
}

.topbar a:hover {
  color: #fff;
}

/* Header */

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  z-index: 20;
  border-bottom: 1px solid rgba(216, 225, 231, .8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .75rem 0;
  min-height: 118px;
}

/* Strong logo fix */
.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 270px;
  width: 270px;
  height: 96px;
  line-height: 0;
  overflow: visible;
}

.brand img {
  display: block !important;
  width: 270px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
}

/* If the SVG has too much invisible padding, this forces it larger */
.brand img[src*="logo-stacked"] {
  transform: scale(1.35);
  transform-origin: left center;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  padding: .65rem .9rem;
  border-radius: 14px;
  font-size: 1.1rem;
  cursor: pointer;
}

nav {
  display: flex;
  gap: .72rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  font-weight: 600;
  color: var(--text);
  font-size: .88rem;
  line-height: 1.2;
  padding: .28rem .38rem;
  border-radius: 999px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--teal);
  background: var(--tealSoft);
}

nav a.active {
  color: var(--navy);
  background: var(--tealSoft);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .92rem 1.35rem;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--navy2);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-sm {
  padding: .72rem 1rem;
  font-size: .94rem;
}

/* Hero */

.hero,
.page-hero {
  background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
}

.hero {
  padding: 4.4rem 0 3.4rem;
}

.page-hero {
  padding: 3.4rem 0;
}

.hero-grid,
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .78rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
}

.eyebrow {
  background: #eaf5f5;
  border: 1px solid #d7e9e8;
  color: var(--teal);
}

.tag {
  background: var(--tealSoft);
  color: var(--teal);
}

h1,
h2,
.h2,
.display {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .01em;
  color: var(--navy);
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  margin: .9rem 0 1rem;
}

h2,
.h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: .3rem 0 1rem;
}

h3 {
  line-height: 1.25;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 67ch;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--teal);
  font-weight: 800;
  font-size: .92rem;
}

/* Hero image */

.hero-visual,
.hero-image,
.hero-art {
  background: #f4f7f8;
  border-radius: 30px;
  padding: 32px;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img,
.hero-image img,
.hero-art img,
.hero-grid > div:last-child img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Sections */

.section {
  padding: 4rem 0;
}

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

/* Cards */

.card,
.panel,
.quote,
.table-wrap,
.form-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3,
.panel h3 {
  margin-top: 0;
  color: var(--navy);
}

.hero-actions,
.badge-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin: 1.5rem 0 1rem;
}

.badge {
  padding: .4rem .78rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--grey);
  font-size: .9rem;
  font-weight: 700;
}

.info,
.warning {
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
}

.warning {
  background: var(--cream);
  border-color: #efdca4;
}

.info {
  background: #eef7f7;
  border-color: #d5e9e7;
}

/* Point cards */

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
  margin-top: 1rem;
}

.point {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.point strong {
  display: block;
  color: var(--navy);
  margin-bottom: .25rem;
}

/* Lists */

.list-clean,
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-clean li,
.list-check li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: .7rem;
}

.list-clean li::before,
.list-check li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 800;
}

.list-clean li::before {
  content: "•";
}

.list-check li::before {
  content: "✓";
}

/* Tables */

.table-wrap {
  overflow: auto;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

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

th {
  background: #f3f8fa;
  color: var(--navy);
  font-size: .95rem;
}

tr:last-child td {
  border-bottom: none;
}

/* Quotes */

.quote p {
  margin-top: 0;
  font-size: 1.04rem;
}

.quote-foot {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #16354A, #2C7A7B);
  color: #fff;
  font-weight: 800;
}

/* Forms */

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

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

label {
  display: block;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .35rem;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: .95rem 1rem;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(44, 122, 123, .12);
}

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

.form-note {
  font-size: .9rem;
  color: var(--grey);
  margin: 0;
}

.form-status {
  border-radius: 14px;
  padding: .9rem 1rem;
  font-weight: 700;
}

.form-status-large {
  display: block;
  border-radius: 22px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.12rem;
  line-height: 1.45;
  box-shadow: 0 16px 40px rgba(19, 53, 74, .10);
}

.form-status-large strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.25;
  margin-bottom: .4rem;
}

.form-status-large span {
  display: block;
}

.form-status.success,
.form-status-large.success {
  background: #e7f6ef;
  color: #075c32;
  border: 2px solid #32a467;
}

.form-status.error,
.form-status-large.error {
  background: #fff0f0;
  color: #9f1d1d;
  border: 2px solid #e35b5b;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Metrics */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.metric {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.15rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.metric .num {
  display: block;
  font-size: 1.9rem;
  color: var(--navy);
  font-weight: 800;
}

/* Pillars */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.numDot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  margin-bottom: .85rem;
}

/* Status badges */

.status {
  display: inline-flex;
  padding: .34rem .66rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
}

.active {
  background: #e7f6ef;
  color: #0f7a45;
}

.suspended {
  background: #fff3dd;
  color: #ab6b00;
}

.expired {
  background: #edf2f7;
  color: #51616f;
}

/* Extra layout components */

.hero-split-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.subnav {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.subnav a {
  padding: .45rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: .92rem;
  font-weight: 700;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

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

.timeline .item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.timeline .num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}

/* Footer */

footer {
  background: var(--navy);
  color: #dce7ee;
  padding-top: 3rem;
  margin-top: 4rem;
}

footer .grid-4 {
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
}

.footer-logo {
  height: 84px;
  width: auto;
  max-width: none;
  margin-bottom: 1rem;
}

footer h3 {
  color: #fff;
  margin-top: 0;
}

footer a {
  color: #dce7ee;
}

footer a:hover {
  color: #fff;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .92rem;
}

/* Responsive */

@media (max-width: 1120px) {
  .header-inner {
    min-height: 112px;
    gap: 1.4rem;
  }

  .brand {
    flex-basis: 250px;
    width: 250px;
    height: 90px;
  }

  .brand img {
    width: 250px !important;
  }

header nav a[href*="resources"] {
  display: none !important;
}
  nav {
    gap: .45rem;
  }

  nav a {
    font-size: .82rem;
    font-weight: 600;
    padding: .25rem .32rem;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .points,
  .field-grid,
  .metric-grid,
  .pillars,
  footer .grid-4,
  .mega-grid,
  .hero-split-note {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-visual,
  .hero-image,
  .hero-art {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .header-inner {
    min-height: 88px;
    padding: .7rem 0;
  }

  .brand {
    flex-basis: 210px;
    width: 210px;
    height: 72px;
  }

  .brand img {
    width: 210px !important;
  }

  .brand img[src*="logo-stacked"] {
    transform: scale(1.25);
    transform-origin: left center;
  }

  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 88px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow2);
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
  }

  nav.open {
    display: flex;
  }

  nav a {
    width: 100%;
    padding: .45rem .2rem;
  }

  .hero,
  .page-hero {
    padding-top: 2.5rem;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .points,
  .field-grid,
  .metric-grid,
  .pillars,
  footer .grid-4,
  .mega-grid,
  .hero-split-note {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .lead {
    font-size: 1.02rem;
  }

  .hero-visual,
  .hero-image,
  .hero-art {
    min-height: 260px;
    padding: 20px;
    border-radius: 24px;
  }

  .timeline .item {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    height: 70px;
  }
}