:root {
  --ink: #0b1d2c;
  --muted: #4b5c70;
  --navy: #0b4f8a;
  --sky: #00a1c7;
  --sea: #1ea7c6;
  --bg: #eef2f7;
  --surface: #ffffff;
  --border: #d6dde6;
  --pill: rgba(255, 255, 255, 0.18);
  --shadow: 0 18px 40px rgba(11, 31, 52, 0.12);
}

* {
  box-sizing: border-box;
}

    body.dark {
      --bg: #0b1726;
      --card: #0f1f33;
      --text: #e7edf7;
      --muted: #9fb4cc;
      --border: #1f3350;
      --shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 12% 18%, rgba(0, 161, 199, 0.12), transparent 38%),
    radial-gradient(circle at 82% 6%, rgba(11, 79, 138, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(236, 242, 248, 0.9));
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.35;
}

body::before {
  top: -120px;
  right: 10%;
  background: radial-gradient(circle, rgba(30, 167, 198, 0.6), transparent 70%);
}

body::after {
  bottom: -160px;
  left: -40px;
  background: radial-gradient(circle, rgba(11, 79, 138, 0.5), transparent 70%);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(120deg, #002a52 0%, #00498c 55%, #00a1c7 100%);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow.dark {
  color: rgba(11, 29, 44, 0.68);
}

.topbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: var(--pill);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 0.9rem;
}

.pill.alt {
  background: rgba(0, 0, 0, 0.2);
}

.pill.small {
  font-size: 0.78rem;
  padding: 6px 10px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 36px 6vw 70px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
  animation: fadeUp 0.8s ease forwards;
}

.hero h1 {
  font-family: 'Fraunces', 'Manrope', serif;
  font-size: clamp(2.2rem, 3vw, 3.3rem);
  line-height: 1.1;
  margin: 12px 0 12px;
  color: #082239;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cta,
.ghost {
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta {
  background: linear-gradient(120deg, #00498c, #00a1c7);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 76, 140, 0.3);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 76, 140, 0.4);
}

.ghost {
  border: 1px solid rgba(11, 79, 138, 0.3);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
}

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

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(11, 29, 44, 0.6);
  margin-bottom: 6px;
}

.stat-value {
  font-weight: 700;
  font-size: 1.02rem;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  font-family: 'Fraunces', 'Manrope', serif;
  margin: 10px 0 14px;
  font-size: 1.6rem;
}

.panel-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-weight: 600;
  color: var(--navy);
}

.dashboards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  scroll-margin-top: 120px;
}

.section-head h2 {
  font-family: 'Fraunces', 'Manrope', serif;
  font-size: 2rem;
  margin: 8px 0 10px;
}

.section-head p {
  max-width: 640px;
  color: var(--muted);
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.link-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.link-card:nth-child(1) {
  animation-delay: 0.1s;
}

.link-card:nth-child(2) {
  animation-delay: 0.2s;
}

.link-card:nth-child(3) {
  animation-delay: 0.3s;
}

.link-card:nth-child(4) {
  animation-delay: 0.4s;
}

.card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-top h3 {
  margin: 0;
  font-size: 1.25rem;
}

.tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 161, 199, 0.12);
  color: var(--navy);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.link-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.link-card .cta {
  margin-top: auto;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.insight-card h2 {
  font-family: 'Fraunces', 'Manrope', serif;
  margin: 0;
  font-size: 1.7rem;
}

.impact-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.impact-list span {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.insight-card.accent {
  background: linear-gradient(160deg, rgba(0, 161, 199, 0.12), rgba(255, 255, 255, 0.95));
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row .pill {
  color: var(--navy);
  background: rgba(0, 161, 199, 0.12);
  border-color: rgba(0, 79, 138, 0.2);
}

.future {
  background: linear-gradient(120deg, rgba(11, 79, 138, 0.08), rgba(0, 161, 199, 0.12));
  border-radius: 28px;
  padding: 30px;
  border: 1px solid rgba(0, 79, 138, 0.15);
}

.future-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.future-copy h2 {
  font-family: 'Fraunces', 'Manrope', serif;
  margin: 10px 0;
}

.future-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.future-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.future-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed rgba(11, 79, 138, 0.25);
  border-radius: 18px;
  padding: 20px;
  font-weight: 600;
  color: var(--navy);
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 6vw 30px;
  color: rgba(11, 29, 44, 0.6);
  font-size: 0.9rem;
}

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

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .future-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .content {
    padding: 24px 6vw 60px;
  }

  .topbar-row {
    padding: 16px;
  }

  .brand-logo {
    width: 44px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .link-card {
    opacity: 1;
    transform: none;
  }
}
