@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap");

:root {
  --bg: #f4f8fc;
  --bg-elev: #e9f0f8;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --text: #16263d;
  --muted: #4f647d;
  --primary: #0d7f86;
  --primary-dark: #0b6d73;
  --accent: #ff7a45;
  --border: rgba(17, 39, 64, 0.14);
  --shadow: 0 12px 28px rgba(17, 39, 64, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 8% 0%, #d8ebff 0%, transparent 34%),
    radial-gradient(circle at 92% 16%, #ffe8d9 0%, transparent 30%),
    linear-gradient(145deg, #f7fbff 0%, var(--bg) 52%, #eef4fa 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(22, 44, 70, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 44, 70, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  opacity: 0.16;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p,
ul,
ol,
li,
td,
th,
label,
a,
input,
textarea,
select,
button {
  font-size: clamp(0.98rem, 1.4vw, 1.05rem);
}

a {
  color: #1669ae;
  text-decoration: none;
}

a:hover {
  color: #0d4f86;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(248, 252, 255, 0.92);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: 194px;
  height: auto;
  image-rendering: auto;
}

.brand-logo-footer {
  width: 176px;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  margin-left: auto;
  gap: 0.55rem;
  align-items: center;
}

.site-nav a {
  white-space: nowrap;
  font-size: 0.96rem;
  line-height: 1.15;
  padding: 0.32rem 0.48rem;
  border-radius: 999px;
  color: #35506f;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #0e2742;
  background: rgba(13, 127, 134, 0.13);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: #203755;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.site-header .brand {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-right: 0.5rem;
}

.site-header .brand .brand-logo {
  filter: none;
}

.site-footer .brand {
  background: transparent;
  border: 0;
  padding: 0;
}

.hero,
.page-hero {
  padding: clamp(3rem, 8vh, 6.5rem) 0 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.lede,
.page-hero p {
  color: var(--muted);
  max-width: 68ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: linear-gradient(100deg, var(--primary), #13939b);
  color: #f6feff;
  padding: 0.68rem 1.05rem;
  border-radius: 0.6rem;
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  background: linear-gradient(100deg, #13939b, #21a6ad);
  color: #ffffff;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.84);
  color: #113050;
  border-color: var(--border);
}

.button-ghost:hover {
  background: #ffffff;
  color: #0f2a47;
}

.section {
  padding: 2.2rem 0;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--muted);
  margin-top: -0.3rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.metric,
.card,
.panel,
.timeline article,
.legal-nav,
.legal-section,
.form,
table {
  border: 1px solid var(--border);
  background: linear-gradient(175deg, #ffffff, #f7fbff);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.metric {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric strong {
  font-size: 1.85rem;
  color: #0e6b74;
  font-family: "Fraunces", serif;
}

.metric span {
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.2rem;
}

.card p,
.card li,
.panel p,
.panel li {
  color: var(--muted);
}

.card ul,
.panel ul,
.panel ol,
.card ol {
  padding-left: 1.2rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1rem;
}

.panel {
  padding: 1.2rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline article {
  padding: 1rem;
  position: relative;
}

.timeline article::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  top: 1.1rem;
  left: 1rem;
}

.timeline article h3 {
  margin-left: 1rem;
}

.timeline article p {
  color: var(--muted);
}

.cta-band {
  margin-top: 2rem;
  background: linear-gradient(90deg, rgba(63, 194, 162, 0.2), rgba(255, 138, 77, 0.22));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  padding: 0;
}

th,
td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

tr:last-child td {
  border-bottom: 0;
}

.form {
  display: grid;
  gap: 0.5rem;
}

label {
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background: #ffffff;
  color: var(--text);
  padding: 0.65rem 0.75rem;
}

input:focus,
textarea:focus,
select:focus,
button:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.2em;
  color: #0e7368;
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1rem;
}

.legal-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.legal-section {
  padding: 1rem 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 1.4rem 0 1.8rem;
  background: #eef4fa;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .metrics,
  .card-grid.three-up,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .card-grid.two-up,
  .timeline,
  .cta-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-inner {
    justify-content: stretch;
  }
}

@media (max-width: 1240px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    right: 1.25rem;
    top: 4rem;
    width: min(94vw, 360px);
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    background: rgba(250, 253, 255, 0.98);
    padding: 0.9rem;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.55rem 0.7rem;
    border-radius: 0.45rem;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    width: 168px;
  }

  .metrics,
  .card-grid.three-up,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(var(--max), calc(100% - 1.35rem));
  }
}
