/* Civic Engagement Platform – Marketing Site Styles (Light Theme + Animations) */
:root {
  --bg: #ffffff;
  --text: #1a1f2b;
  --muted: #5f6b7a;
  --primary: #0038a8; /* PH flag blue */
  --accent: #ce1126; /* PH flag red */
  --sun: #fcd116; /* PH flag yellow */
  --card: #ffffff;
  --border: #e6e9ef;
  --border-strong: #d5dbe7;
  --link: #1b5cff;
  --shadow-1: 0 8px 24px rgba(10, 22, 50, 0.08);
  --shadow-2: 0 12px 40px rgba(10, 22, 50, 0.12);
  --stroke-strong: 12;
  --line-height: 1.5rem;
}

.text-white {
  color: #FFFFFF;
}

.text-foreground {
  color: var(--text);
}


.tracking-normal {
  line-height: var(--line-height);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter,
    Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.list {
  gap: .75rem;
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: var(--sun);
  color: #222;
  border-radius: 6px;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}
.section {
  padding: 88px 0;
}
.section.alt {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.03),
    rgba(255, 255, 255, 0)
  );
}
.emph {
  font-weight: 600;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.92rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 2px solid var(--border-strong);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.logo {
  font-size: 1.25rem;
}
.brand-name {
  color: #0b1220;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
}
.nav-menu a.cta-link {
  background: var(--text);
  color: white;
  padding: 0.6rem 0.9rem;
  box-shadow: var(--shadow-1);
}
.nav-menu a.cta-link:hover {
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.03)) 0
      0 / 100% 100%,
    repeating-linear-gradient(
      90deg,
      transparent 0 39px,
      rgba(11, 18, 32, 0.08) 39px 40px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 39px,
      rgba(11, 18, 32, 0.08) 39px 40px
    );
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}
.hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 140px;
  opacity: 0.8;
}
.wave-move {
  animation: wave 8s ease-in-out infinite;
}
.blob {
  will-change: transform;
  transform-box: fill-box;
  transform-origin: center;
}
.blob--blue {
  animation: float 16s ease-in-out infinite;
}
.blob--red {
  animation: float 18s ease-in-out infinite reverse;
}
.blob--yellow {
  animation: float 20s ease-in-out infinite;
}
.sun-motif {
  display: none;
}
.starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(
    1200px 600px at 50% -20%,
    rgba(27, 92, 255, 0.08),
    transparent 60%
  );
}

.hero-inner {
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw + 1.2rem, 6rem);
  margin: 0 0 0.6rem;
  line-height: 1.02;
  letter-spacing: 0.4px;
}
.headline-animated {
  color: #0b1220;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  animation: none;
}
.headline-animated {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 900;
}
.lead {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0 auto 1.3rem;
  max-width: 880px;
}
.hero-ctas {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin: 1rem 0 1.2rem;
}
.btn {
  display: inline-block;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 2px solid var(--border-strong);
  color: var(--text);
  background: var(--card);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s linear;
  font-weight: 700;
}
.btn.primary {
  background: linear-gradient(120deg, var(--primary), #1965ff);
  color: #fff;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: shimmer 3s linear infinite;
}
.btn.ghost {
  background: #fff;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  text-decoration: none;
}
.btn[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.7rem;
  padding: 0;
  list-style: none;
  margin: 1rem 0 0;
}
.hero-highlights li {
  background: #fff;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-1);
}

/* Headline wrapper */
.hero-title {
  position: relative;
  display: inline-block;
  width: 68vw;
}
.hero-subtitle {
  line-height: 1.7rem;
}
.split span {
  display: inline-block;
}

/* Orbital system */
.orbital-system {
  position: relative;
  width: min(540px, 78vw);
  height: min(540px, 78vw);
  margin: 28px auto 0;
  display: none;
}
.orbital-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 20px rgba(10, 22, 50, 0.08));
}
.orbit.center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.core-pulse {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1b5cff);
  box-shadow: 0 10px 30px rgba(27, 92, 255, 0.35);
  animation: pulse 2.8s ease-in-out infinite;
  margin: 0 auto;
}
.core-label {
  margin-top: 0.6rem;
  font-weight: 800;
  color: #0b1220;
}
.orbit.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ring-1 {
  animation: spin 22s linear infinite;
  width: 100%;
  height: 100%;
}
.ring-2 {
  animation: spin 28s linear infinite reverse;
  width: 78%;
  height: 78%;
}
.ring-3 {
  animation: spin 36s linear infinite;
  width: 56%;
  height: 56%;
}
.orbiter {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.pill {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--shadow-1);
}
.pill.accent {
  background: linear-gradient(120deg, var(--accent), #ff5a6a);
  color: #fff;
  border-color: transparent;
}
.ring-1 .orbiter:nth-child(1) {
  transform: rotate(0deg) translateY(-50%) translateX(-50%);
}
.ring-1 .orbiter:nth-child(2) {
  transform: rotate(120deg) translateY(-50%) translateX(-50%);
}
.ring-1 .orbiter:nth-child(3) {
  transform: rotate(240deg) translateY(-50%) translateX(-50%);
}
.ring-2 .orbiter:nth-child(1) {
  transform: rotate(60deg) translateY(-50%) translateX(-50%);
}
.ring-2 .orbiter:nth-child(2) {
  transform: rotate(240deg) translateY(-50%) translateX(-50%);
}
.ring-3 .orbiter:nth-child(1) {
  transform: rotate(180deg) translateY(-50%) translateX(-50%);
}
.ring-3 .orbiter:nth-child(2) {
  transform: rotate(0deg) translateY(-50%) translateX(-50%);
}

/* Inline icons */
.icon {
  vertical-align: -2px;
  margin-right: 0.5rem;
}

/* Layout helpers */
.two-col {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.6rem;
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 2px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: .25rem;
  display: flex;
  flex-direction: column;
}
.checklist li {
  padding-left: 1.6rem;
  margin: 0.5rem 0;
  position: relative;
}
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}
.steps li {
  position: relative;
  background: #fff;
  border: 2px solid var(--border-strong);
  border-radius: 16px;
  padding: 1rem 1rem 1rem 3.2rem;
  min-height: 72px;
  box-shadow: var(--shadow-1);
}
.step-num {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sun);
  color: #161616;
  font-weight: 800;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.phase {
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.92));
  border: 2px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: var(--shadow-1);
}
.phase h3 {
  margin: 0 0 0.25rem;
}
.phase .muted {
  margin: 0 0 0.5rem;
}
.phase ul {
  margin: 0;
  padding-left: 1.2rem;
}

/* Tech */
.stack {
  margin: 0;
  padding-left: 1.2rem;
}

/* CTA */
.cta {
  text-align: center;
}
.btn.small {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
}

/* Headline accents */
h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 11rem;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), #1b5cff);
  border-radius: 3px;
}

/* Editorial panels (Stellar-style grid) */
.panels {
  padding: 0 0 48px;
}
.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.panel {
  border-radius: 18px;
  padding: 32px;
  border: 2px solid var(--border-strong);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.panel .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 800;
  color: var(--muted);
  font-size: 0.85rem;
}
.panel .display {
  font-size: clamp(1.8rem, 2.6vw + 1.4rem, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0.5px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 10px 0 12px;
}
.panel .copy {
  color: var(--text);
  max-width: 52ch;
  line-height: var(--line-height);
}
.panel .list-links {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 1rem;
}
.panel .list-links a {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.panel .list-links a .arr {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--text);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.8rem;
}
.panel-light {
  background: #f6f8fc;
}
.panel-warm {
  background: #f5f0e6;
}
.panel-yellow {
  background: #ffd400;
}
.panel-dark {
  background: #0b1220;
  color: #fff;
}
.panel-dark .copy,
.panel-dark a {
  color: #fff;
}
.panel-dark .list-links a .arr {
  border-color: #fff;
}

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

/* Counters */
.kpis .counter {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary);
}

/* Flow SVG */
.flow-svg {
  width: 100%;
  height: 120px;
  margin-top: 1rem;
}
.flow-svg path {
  animation: dash 2.2s ease forwards 0.2s;
}

/* Marquee */
.marquee {
  background: #fff;
  border-top: 2px solid var(--border-strong);
  border-bottom: 2px solid var(--border-strong);
  overflow: hidden;
}
.marquee .container {
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 36px;
  will-change: transform;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.marquee svg {
  flex: 0 0 auto;
  opacity: 0.9;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.04);
  z-index: 200;
}
.scroll-progress .bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #1b5cff);
  box-shadow: var(--shadow-1);
  transform-origin: left;
}

/* Tilt hint */
[data-tilt] {
  transform-style: preserve-3d;
  perspective: 600px;
}
[data-tilt] .tilt-shadow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-1);
  opacity: 0;
  transition: opacity 0.2s ease;
}
[data-tilt]:hover .tilt-shadow {
  opacity: 1;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-visible {
  opacity: 1;
  transform: none;
}

/* Footer */
.site-footer {
  border-top: 2px solid var(--border-strong);
  padding: 28px 0;
  background: #fff;
}

/* Feature band (yellow, full-bleed) */
.feature-band {
  background: #ffd400;
  padding: 80px 0;
  position: relative;
}
.feature-head {
  margin-bottom: 24px;
}
.feature-head .display {
  color: #0b1220;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 3.4vw + 1rem, 3.6rem);
}
.feature-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 800;
  color: #0b1220;
  opacity: 0.8;
  margin-bottom: 6px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 2px solid #0b1220;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
}
.feature-card .illus {
  height: 160px;
  border: 2px solid #0b1220;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe472, #ffd400 60%, #ffcc33),
    repeating-linear-gradient(
      135deg,
      rgba(11, 18, 32, 0.08) 0 6px,
      transparent 6px 12px
    );
  margin-bottom: 12px;
}
.feature-card h3 {
  margin: 4px 0 8px;
  font-size: 1.25rem;
  color: #0b1220;
}
.feature-card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
}
.feature-card ul li {
  margin: 0.35rem 0;
}

@media (max-width: 1000px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Roadmap band (dark) */
.roadmap-band {
  background: #0b1220;
  color: #fff;
  padding: 80px 0;
}
.feature-head.dark .display,
.roadmap-band h2 {
  color: #fff;
}
/* Horizontal timeline arrow */
.timeline-wrap {
  position: relative;
  padding: 200px 0 280px;
}
.timeline {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 8px;
  background: linear-gradient(90deg, #1b3a7a, #1b5cff);
  border-radius: 8px;
}
.timeline .progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #39a0ff, #6bb0ff);
  border-radius: 8px;
  transition: width 0.6s ease;
}
.timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}
.timeline .arrowhead {
  position: absolute;
  right: -16px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #1b5cff;
  transform: translateY(-50%);
}

.milestone {
  position: absolute;
  top: 50%;
  transform: translate(-50%, 0);
  width: 260px;
}
.milestone .dot {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: #ffd400;
  border: 3px solid #0b1220;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.3);
  transition: transform 0.2s ease;
}
.milestone:hover .dot,
.milestone:focus .dot,
.milestone.active .dot {
  transform: translateX(-50%) scale(1.15);
}
.milestone.top .bubble {
  bottom: 36px;
}
.milestone.bottom .bubble {
  top: 36px;
}
.milestone .bubble {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  border: 2px solid #27324a;
  border-radius: 14px;
  padding: 14px;
  width: 260px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.milestone.top .bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 2px;
  height: 28px;
  background: #27324a;
}
.milestone.bottom .bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;
  width: 2px;
  height: 28px;
  background: #27324a;
}
.milestone .bubble h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #fff;
}
.milestone .bubble ul {
  margin: 0;
  padding-left: 1.2rem;
}
.milestone .bubble li {
  margin: 0.35rem 0;
}

@media (max-width: 980px) {
  .timeline-wrap {
    padding: 16px 0 16px;
  }
  .timeline {
    display: none;
  }
  .milestone {
    position: static;
    transform: none;
    width: auto;
    margin: 10px 0;
  }
  .milestone .dot {
    display: none;
  }
  .milestone .bubble {
    position: static;
    transform: none;
    width: auto;
  }
}

/* How It Works – vertical numbered */
.how-vertical {
  position: relative;
  margin-top: 24px;
}
.how-rail {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(#cfd6e6, #e6e9ef);
  border-radius: 2px;
}
.how-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2rem;
}
.how-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.how-item .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffd400;
  border: 3px solid #0b1220;
  color: #0b1220;
  font-weight: 800;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-1);
}
.how-item h4 {
  margin: 2px 0 6px;
  font-size: 1.05rem;
}
.how-item p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 700px) {
  .how-rail {
    left: 18px;
  }
  .how-item {
    grid-template-columns: 36px 1fr;
  }
  .how-item .num {
    width: 36px;
    height: 36px;
  }
}

/* Jump-to pill */
.jump-pill {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 300;
}
.jump-toggle {
  background: #ffd400;
  color: #0b1220;
  border: 2px solid #0b1220;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.jump-toggle:hover {
  transform: translateY(-1px);
}
.jump-menu {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  background: #fff;
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  padding: 0.4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.2rem 0.6rem;
  min-width: 280px;
}
.jump-menu a {
  color: var(--text);
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
}
.jump-menu a:hover {
  background: #f6f8fc;
  text-decoration: none;
}
.jump-menu[hidden] {
  display: none !important;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-20px) translateX(10px) scale(1.02);
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
  }
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes wave {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-2%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes headlineShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(27, 92, 255, 0.35);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 16px 40px rgba(27, 92, 255, 0.5);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  /* sun-motif removed */
}

@media (max-width: 700px) {
  .nav-toggle {
    display: inline-block;
  }
  .nav-menu {
    position: absolute;
    right: 1rem;
    top: 60px;
    background: #fff;
    border: 2px solid var(--border-strong);
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    width: 260px;
    box-shadow: var(--shadow-1);
  }
  .nav-menu.show {
    display: flex;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  /* sun-motif removed */
}

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

/* Principles band (clean gov style) */
.principles-band {
  background: #f6f8fc;
  padding: 64px 0;
  border-top: 2px solid var(--border-strong);
  border-bottom: 2px solid var(--border-strong);
}
.principles-head {
  margin-bottom: 18px;
}
.principles-head .display {
  text-transform: uppercase;
  font-weight: 900;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.principle {
  background: #fff;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  padding: 1.5rem;
}
.principle > p {
  line-height: var(--line-height)
}
.principle > .title {
  display: flex;
  flex-direction: row;
  gap: .75rem;
  align-items: center;
}
.principle h3 {
  margin: 4px 0 6px;
  font-size: 1.05rem;
}
.icon-circle {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: #0038a8;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
@media (max-width: 900px) {
  .principles-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }
}

/* Updates band (news cards) */
.updates-band {
  background: #fff;
  padding: 72px 0;
}
.updates-head {
  margin-bottom: 18px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  border: 2px solid var(--border-strong);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}
.news-card .thumb {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 10px;
}
.news-card .tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0038a8;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-top: .25rem;
  margin-bottom: .25rem;
}
.news-card h3 {
  margin-top: .5rem;
  margin-bottom: .25rem;
  font-size: 1.25rem;
}
.news-card p {
  margin: 0 0 8px;
}
.news-link {
  font-weight: 700;
  color: var(--link);
}
@media (max-width: 1000px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Partners logos strip removed */

/* How It Works callout */
.how-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  padding: .75rem 1.5rem;
  margin: 10px 0 18px;
  box-shadow: var(--shadow-1);
}
.how-callout .badge {
  display: inline-block;
  background: #ffd400;
  color: #0b1220;
  border: 2px solid #0b1220;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
}
