:root {
  --ea-navy: #182A68;
  --ea-green: #51FF81;
  --ea-blue: #2563EB;
  --ea-white: #FFFFFF;
  --ea-text: #0F172A;
  --ea-muted: #5B687E;
  --ea-surface: #F4F7FF;
  --ea-surface-2: #EAF0FF;
  --ea-radius: 16px;
  --ea-shadow: 0 14px 34px rgba(24, 42, 104, 0.16);
  --ea-container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--ea-white);
  color: var(--ea-text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: "Comfortaa", sans-serif;
  letter-spacing: -0.02em;
}

/* ── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ea-navy);
  color: var(--ea-white);
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: min(calc(100% - 2rem), var(--ea-container));
  margin: 0 auto;
}

/* ── Header / Nav ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(24, 42, 104, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: min-height 220ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
}

.brand-logo-full {
  width: 178px;
  max-width: 48vw;
  transition: width 220ms ease;
}

.brand-logo-mark {
  display: none;
  width: 42px;
  transition: width 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(24, 42, 104, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
}

.site-header.is-scrolled .nav {
  min-height: 56px;
}

.site-header.is-scrolled .brand-logo-full {
  width: 144px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a:not(.button) {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 150ms ease;
}

.nav-links a:not(.button):hover,
.nav-links a:not(.button):focus-visible {
  color: var(--ea-green);
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--ea-white);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  margin: 4px auto;
  background: currentColor;
  transition: opacity 150ms ease;
}

/* ── Buttons ────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.2rem;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: var(--ea-green);
  color: var(--ea-navy);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  white-space: nowrap;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(81, 255, 129, 0.38);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 2.7rem;
  padding-inline: 1.1rem;
  font-size: 0.88rem;
}

.button-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.44);
  color: var(--ea-white);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--ea-green);
  color: var(--ea-green);
  box-shadow: none;
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.section-dark {
  position: relative;
  background:
    radial-gradient(ellipse at 8% 18%, rgba(37, 99, 235, 0.32), transparent 38%),
    radial-gradient(ellipse at 82% 8%, rgba(81, 255, 129, 0.14), transparent 30%),
    linear-gradient(140deg, #111f52 0%, #182a68 52%, #1e3585 100%);
  color: var(--ea-white);
  overflow: hidden;
}

.section-dark-alt {
  background: linear-gradient(170deg, #182a68 0%, #1a3080 100%);
  color: var(--ea-white);
}

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

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 5.5rem 0 4.5rem;
}

.hero-bg-shape {
  position: absolute;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  right: -10rem;
  bottom: -12rem;
  background: radial-gradient(circle, rgba(81, 255, 129, 0.28), transparent 60%);
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.4) 70%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--ea-green);
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.8rem, 6.4vw, 4.8rem);
  line-height: 1.02;
}

.hero-text {
  margin: 1.2rem 0 0;
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ── Dispatch card ──────────────────────────────────────────── */
.hero-panel {
  border-radius: 22px;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.12);
}

.dispatch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dispatch-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ea-green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ea-green);
  flex-shrink: 0;
  animation: live-blink 1.6s ease-in-out infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(81, 255, 129, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(81, 255, 129, 0); }
}

.dispatch-brand {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dispatch-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.dispatch-badge {
  display: inline-block;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: rgba(81, 255, 129, 0.12);
  border: 1px solid rgba(81, 255, 129, 0.28);
  color: var(--ea-green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dispatch-badge-loc {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(100, 160, 255, 0.3);
  color: #8ab8ff;
}

/* Heartbeat SVG */
.heartbeat-wrap {
  margin: 0.8rem 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 0.2rem 0;
}

.heartbeat-svg {
  display: block;
  width: 100%;
  height: 56px;
}

.hb-trace {
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: hb-draw 3.4s ease-in-out infinite;
}

@keyframes hb-draw {
  0%    { stroke-dashoffset: 1100; opacity: 0; }
  6%    { opacity: 1; }
  64%   { stroke-dashoffset: 0; opacity: 1; }
  80%   { stroke-dashoffset: 0; opacity: 0.5; }
  94%   { stroke-dashoffset: 0; opacity: 0; }
  100%  { stroke-dashoffset: 1100; opacity: 0; }
}

/* Dispatch steps */
.dispatch-steps {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dstep {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.dstep-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

.dstep-done .dstep-dot {
  background: var(--ea-green);
  border-color: var(--ea-green);
  color: var(--ea-navy);
}

.dstep-done {
  color: rgba(255, 255, 255, 0.88);
}

.dstep-active .dstep-dot {
  border-color: var(--ea-green);
  background: rgba(81, 255, 129, 0.08);
}

.dstep-active {
  color: var(--ea-green);
  font-weight: 700;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ea-green);
  animation: pulse-dot 1.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.75; }
}

/* Dispatch footer row */
.dispatch-footer {
  display: flex;
  gap: 1.4rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dispatch-stat {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.dstat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
}

.dstat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ea-white);
  font-family: "Comfortaa", sans-serif;
}

.hero-note {
  margin: 0.85rem 0 0;
  color: var(--ea-green);
  font-weight: 700;
  font-size: 0.86rem;
}

/* ── Trust strip ────────────────────────────────────────────── */
.trust-strip {
  padding: 1.5rem 0;
  background: #f0f5ff;
  border-top: 1px solid #dde7ff;
  border-bottom: 1px solid #dde7ff;
}

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

.trust-item {
  background: var(--ea-white);
  border: 1px solid #d8e1f8;
  border-radius: var(--ea-radius);
  padding: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.trust-item:hover {
  border-color: #b8caff;
  box-shadow: 0 4px 16px rgba(24, 42, 104, 0.09);
}

.trust-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: var(--ea-surface-2);
  border: 1px solid #c8d8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ea-navy);
}

.trust-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.trust-item h2 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.3;
}

.trust-item p {
  margin: 0.4rem 0 0;
  color: var(--ea-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ── Section headings ───────────────────────────────────────── */
.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
}

.section-heading p {
  margin: 0.85rem 0 0;
  color: var(--ea-muted);
  font-size: 1rem;
}

.section-dark-alt .section-heading p {
  color: rgba(255, 255, 255, 0.6);
}

/* ── Steps grid ─────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 3.5rem;
  right: 3.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--ea-surface-2) 0%, #c8d8f8 50%, var(--ea-surface-2) 100%);
  pointer-events: none;
  z-index: 0;
}

.step-card {
  border: 1px solid #d9e2f8;
  background: var(--ea-surface);
  padding: 1.4rem 1.25rem;
  border-radius: var(--ea-radius);
  position: relative;
  z-index: 1;
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.step-card:hover {
  border-color: #b0c4ff;
  box-shadow: 0 8px 24px rgba(24, 42, 104, 0.1);
  transform: translateY(-2px);
}

.step-icon-wrap {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ea-navy) 0%, var(--ea-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  color: var(--ea-white);
}

.step-icon-wrap svg {
  width: 1.15rem;
  height: 1.15rem;
}

.step-number {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ea-blue);
  margin-bottom: 0.4rem;
}

.step-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.06rem;
  color: var(--ea-text);
}

.step-card p {
  margin: 0;
  color: var(--ea-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ── Value grid (Why EarlyAid) ──────────────────────────────── */
.value-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  padding: 1.4rem 1.25rem;
  border-radius: var(--ea-radius);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(81, 255, 129, 0.3);
  transform: translateY(-2px);
}

.value-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 12px;
  background: rgba(81, 255, 129, 0.1);
  border: 1px solid rgba(81, 255, 129, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  color: var(--ea-green);
}

.value-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.value-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.06rem;
  color: var(--ea-white);
}

.value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ── Split section ──────────────────────────────────────────── */
.split-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-card {
  border: 1px solid #d4def5;
  background: linear-gradient(160deg, #ffffff 0%, var(--ea-surface) 100%);
  padding: 1.75rem 1.5rem;
  border-radius: var(--ea-radius);
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.split-card:hover {
  border-color: #b0c4ff;
  box-shadow: 0 10px 28px rgba(24, 42, 104, 0.1);
  transform: translateY(-2px);
}

.split-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(24, 42, 104, 0.07), rgba(37, 99, 235, 0.07));
  border: 1px solid #d0daf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--ea-navy);
}

.split-card-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.split-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--ea-text);
}

.split-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ea-text);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.split-card li {
  font-size: 0.97rem;
  color: var(--ea-muted);
  line-height: 1.5;
}

/* ── Mission ────────────────────────────────────────────────── */
.mission-section {
  background: linear-gradient(148deg, #0f1c4e 0%, #182a68 60%, #1c327a 100%);
}

.mission-card {
  border-radius: 22px;
  color: var(--ea-white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(81, 255, 129, 0.12), transparent 65%);
  pointer-events: none;
}

.mission-quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: rgba(81, 255, 129, 0.25);
  font-family: Georgia, serif;
  margin-bottom: -1rem;
  position: relative;
  z-index: 1;
}

.mission-lead {
  margin: 0 0 0.5rem;
  color: var(--ea-green);
  font-weight: 700;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.mission-card h2 {
  margin: 0 auto 1.25rem;
  max-width: 36ch;
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  line-height: 1.22;
  position: relative;
  z-index: 1;
}

.mission-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section {
  background: var(--ea-surface);
}

.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid #d4def5;
  border-radius: var(--ea-radius);
  background: var(--ea-white);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.faq-item[open] {
  border-color: #b0c4ff;
  box-shadow: 0 4px 16px rgba(24, 42, 104, 0.08);
}

.faq-question {
  padding: 1.15rem 1.3rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ea-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  user-select: none;
  transition: background 150ms ease;
}

.faq-question:hover {
  background: var(--ea-surface);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ea-navy);
  line-height: 1;
  transition: transform 220ms ease, color 150ms ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
  color: var(--ea-blue);
}

.faq-answer {
  padding: 0 1.3rem 1.2rem;
}

.faq-answer p {
  margin: 0;
  color: var(--ea-muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ── CTA section ────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(170deg, #f5f9ff 0%, #edf3ff 100%);
}

.cta-card {
  border: 1px solid #cdd8f8;
  background:
    radial-gradient(ellipse at 88% 12%, rgba(81, 255, 129, 0.22), transparent 32%),
    linear-gradient(130deg, #ffffff 0%, #eef3ff 100%);
  padding: 2rem 2rem;
  border-radius: 22px;
  box-shadow: var(--ea-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.cta-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  line-height: 1.1;
}

.cta-card p {
  margin: 0.85rem 0 0;
  color: var(--ea-muted);
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cta-actions .button-outline {
  border-color: rgba(24, 42, 104, 0.38);
  color: var(--ea-navy);
}

.cta-actions .button-outline:hover,
.cta-actions .button-outline:focus-visible {
  border-color: var(--ea-navy);
  color: var(--ea-navy);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: #0d1840;
  color: var(--ea-white);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
}

.brand-footer .brand-logo-full {
  width: 168px;
}

.footer-copy {
  margin: 1rem 0 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.6;
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  transition: color 140ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ea-green);
}

.partnership-box {
  margin-top: 0.4rem;
  display: grid;
  gap: 0.5rem;
}

.partnership-box label {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 0.9rem;
}

.partnership-box select {
  min-height: 2.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ea-white);
  padding: 0.45rem 0.7rem;
}

.partnership-box option {
  color: var(--ea-text);
}

.partnership-box .partnership-button {
  min-height: 2.5rem;
}

.footer-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* ── Reveal animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Focus states ───────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--ea-green);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Responsive: 1040px ─────────────────────────────────────── */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .steps-grid::before {
    display: none;
  }

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

  .split-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-shrink: unset;
    width: 100%;
  }
}

/* ── Responsive: 760px ──────────────────────────────────────── */
@media (max-width: 760px) {
  .nav {
    min-height: 70px;
    flex-wrap: wrap;
    padding: 0.5rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    padding-bottom: 0.9rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a:not(.button) {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .steps-grid,
  .value-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .button,
  .button-small {
    width: 100%;
    justify-content: center;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .brand-logo-full {
    display: none;
  }

  .brand-logo-mark {
    display: block;
  }

  .brand-footer .brand-logo-full {
    display: block;
    width: 152px;
  }

  .site-header.is-scrolled .nav {
    min-height: 56px;
  }

  .mission-card {
    padding: 2rem 1.4rem;
  }

  .cta-card {
    padding: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

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

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hb-trace {
    stroke-dashoffset: 0;
    opacity: 0.5;
  }
}
