/* ---------------------------------------------------------------
   MenaData.ai — design tokens & base
--------------------------------------------------------------- */
:root {
  --navy-950: #070b14;
  --navy-900: #0a0f1d;
  --navy-800: #111a2e;
  --navy-700: #1a2540;
  --navy-600: #263457;
  --line-on-navy: rgba(255, 255, 255, 0.1);
  --line-on-navy-soft: rgba(255, 255, 255, 0.06);

  --white: #ffffff;
  --offwhite: #f8f8f6;
  --neutral-100: #f2f3f5;
  --neutral-150: #eaecef;
  --neutral-200: #e2e5ea;
  --neutral-400: #9aa2b1;
  --neutral-500: #707a8c;
  --neutral-600: #4c5566;
  --neutral-800: #232a38;

  --accent: #e3a438;
  --accent-dark: #c6862a;
  --accent-light: #f2c774;
  --accent-soft: rgba(227, 164, 56, 0.14);
  --accent-soft-strong: rgba(227, 164, 56, 0.24);

  --text-on-dark: #f4f5f7;
  --text-on-dark-muted: #a7afc0;
  --text-on-light: #131722;
  --text-on-light-muted: #5a6274;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max-width: 1200px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --shadow-soft: 0 1px 2px rgba(10, 15, 29, 0.04), 0 8px 24px rgba(10, 15, 29, 0.06);
  --shadow-lift: 0 2px 4px rgba(10, 15, 29, 0.06), 0 16px 40px rgba(10, 15, 29, 0.1);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--offwhite);
  color: var(--text-on-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section-head {
  max-width: 720px;
  margin: 0 0 56px;
}

.section-head.centered { margin-inline: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 14px;
  font-weight: 650;
}

.section-head p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-light-muted);
}

section { position: relative; padding: 108px 0; }

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .section-head { margin-bottom: 40px; }
}

.section-light { background: var(--offwhite); }
.section-white { background: var(--white); }
.section-dark {
  background: var(--navy-900);
  color: var(--text-on-dark);
}
.section-dark .eyebrow { color: var(--accent-light); }
.section-dark .section-head p { color: var(--text-on-dark-muted); }

/* ---------------------------------------------------------------
   Buttons
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #1c1406;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 8px 20px rgba(227, 164, 56, 0.25);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: inherit;
  border-color: rgba(19, 23, 34, 0.18);
}
.btn-secondary:hover { border-color: rgba(19, 23, 34, 0.4); transform: translateY(-1px); }

.section-dark .btn-secondary { border-color: rgba(255, 255, 255, 0.22); }
.section-dark .btn-secondary:hover { border-color: rgba(255, 255, 255, 0.5); }

.btn-ghost-dark { background: transparent; color: var(--text-on-dark); border-color: rgba(255,255,255,0.22); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.5); }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------------------------------------------------------------
   Nav
--------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 29, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-on-navy-soft);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
}

.logo .logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo .logo-mark svg { width: 16px; height: 16px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--text-on-dark-muted);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text-on-dark); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-on-dark);
  padding: 8px;
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: block; }
}

/* ---------------------------------------------------------------
   Hero
--------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(227, 164, 56, 0.16) 0%, rgba(227, 164, 56, 0) 60%),
    radial-gradient(60% 50% at 10% 10%, rgba(120, 150, 220, 0.14) 0%, rgba(120,150,220,0) 60%),
    var(--navy-900);
  color: var(--text-on-dark);
  padding: 96px 0 0;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-on-navy-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-navy-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 50% 30%, black 0%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.hero-copy { max-width: 760px; }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 680;
  margin-top: 20px;
}

.hero .accent-word { color: var(--accent); }

.hero p.lede {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-ctas .btn { padding: 15px 26px; font-size: 15.5px; }

/* Hero flow diagram */
.flow-diagram {
  margin-top: 88px;
  padding: 36px 0 0;
  border-top: 1px solid var(--line-on-navy-soft);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding-bottom: 56px;
}

.flow-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 0 16px;
}

.flow-node .flow-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--navy-800);
  border: 1px solid var(--line-on-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.flow-node.is-center .flow-icon {
  background: var(--accent);
  color: var(--navy-900);
  border-color: transparent;
  box-shadow: 0 0 0 8px var(--accent-soft);
}

.flow-node .flow-icon svg { width: 26px; height: 26px; }

.flow-node .flow-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-on-dark);
}

.flow-node .flow-sub {
  font-size: 12.5px;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
  max-width: 190px;
}

.flow-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 50%;
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-on-navy) 0 6px, transparent 6px 12px);
  z-index: -1;
}

@media (max-width: 860px) {
  .flow-diagram { grid-template-columns: 1fr; gap: 36px; }
  .flow-node:not(:last-child)::after { display: none; }
}

/* ---------------------------------------------------------------
   Value proposition cards
--------------------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--neutral-150);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color .25s var(--ease);
}
.value-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); border-color: var(--neutral-200); }

.value-card .icon-tile {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.value-card .icon-tile svg { width: 22px; height: 22px; }

.value-card h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.value-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--text-on-light-muted); }

@media (max-width: 980px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   Data type cards
--------------------------------------------------------------- */
.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.data-card {
  background: var(--white);
  border: 1px solid var(--neutral-150);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.data-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }

.data-card .icon-tile {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.data-card .icon-tile svg { width: 23px; height: 23px; }

.data-card h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.data-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--text-on-light-muted); }

@media (max-width: 980px) { .data-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .data-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   Solutions tabs
--------------------------------------------------------------- */
.tabs-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 96px;
}

.tab-btn {
  text-align: left;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--text-on-light-muted);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tab-btn:hover { background: var(--neutral-100); color: var(--text-on-light); }
.tab-btn.is-active {
  background: var(--navy-900);
  color: var(--text-on-dark);
}

.tab-panels { position: relative; min-height: 260px; }

.tab-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--neutral-150);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.tab-panel.is-active { display: block; animation: fadeUp .35s var(--ease); }

.tab-panel .tab-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
}

.tab-panel h3 { margin-top: 12px; font-size: 24px; font-weight: 650; letter-spacing: -0.01em; }
.tab-panel p.desc { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: var(--text-on-light-muted); max-width: 620px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--neutral-100);
  color: var(--text-on-light-muted);
  border: 1px solid var(--neutral-150);
}

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

@media (max-width: 860px) {
  .tabs-shell { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; position: static; padding-bottom: 4px; }
  .tab-btn { white-space: nowrap; }
  .tab-panel { padding: 28px 22px; }
}

/* ---------------------------------------------------------------
   Human feedback diagram
--------------------------------------------------------------- */
.feedback-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feedback-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.feedback-example {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  border: 1px solid var(--line-on-navy);
  color: var(--text-on-dark);
}
.feedback-example svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.feedback-diagram {
  background: var(--navy-800);
  border: 1px solid var(--line-on-navy);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.fd-box {
  width: 100%;
  max-width: 320px;
  background: var(--navy-900);
  border: 1px solid var(--line-on-navy);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13.5px;
  text-align: center;
  color: var(--text-on-dark);
}
.fd-box.fd-prompt { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-on-dark-muted); }
.fd-box.fd-result { background: var(--accent-soft); border-color: var(--accent-soft-strong); color: var(--text-on-dark); font-weight: 600; }

.fd-pair { display: flex; gap: 12px; width: 100%; max-width: 320px; }
.fd-pair .fd-box { max-width: none; }

.fd-arrow { color: var(--text-on-dark-muted); padding: 10px 0; font-size: 12px; }
.fd-arrow svg { width: 16px; height: 16px; margin: 0 auto; }

@media (max-width: 900px) {
  .feedback-layout { grid-template-columns: 1fr; gap: 36px; }
  .feedback-examples { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   Expert data grid
--------------------------------------------------------------- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.expert-chip {
  background: var(--white);
  border: 1px solid var(--neutral-150);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
}
.expert-chip .icon-tile {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.expert-chip .icon-tile svg { width: 19px; height: 19px; }

.expert-quote {
  background: var(--navy-900);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
}
.expert-quote::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 28px;
  font-size: 64px;
  color: var(--accent);
  opacity: 0.5;
  font-family: Georgia, serif;
}
.expert-quote p { position: relative; z-index: 1; }

@media (max-width: 980px) { .expert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .expert-grid { grid-template-columns: 1fr; } .expert-quote { padding: 28px 24px; font-size: 17px; } }

/* ---------------------------------------------------------------
   How it works — steps
--------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 28px;
}

.step::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 22px;
  right: -20px;
  height: 1px;
  background: var(--neutral-200);
}
.step:last-child::before { display: none; }

.step .step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--text-on-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.step h3 { font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; }
.step p { margin-top: 8px; font-size: 13.8px; line-height: 1.6; color: var(--text-on-light-muted); }

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step::before { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   Coverage / network map
--------------------------------------------------------------- */
.coverage-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

.coverage-map {
  background: var(--navy-800);
  border: 1px solid var(--line-on-navy);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

.coverage-map svg { width: 100%; height: auto; }

.map-node circle { fill: var(--navy-950); stroke: var(--accent); stroke-width: 1.4; transition: r .2s var(--ease); }
.map-node text { fill: var(--text-on-dark); font-size: 10.5px; font-family: var(--font-sans); }
.map-node:hover circle { fill: var(--accent); }
.map-link { stroke: var(--line-on-navy); stroke-width: 1; }

.map-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-on-dark-muted);
  font-family: var(--font-mono);
  text-align: center;
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}
.coverage-list li {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--line-on-navy-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.coverage-list li::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 940px) {
  .coverage-layout { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   Model evaluation dashboard
--------------------------------------------------------------- */
.eval-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.eval-list { display: grid; gap: 10px; margin-top: 28px; }
.eval-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: var(--text-on-dark-muted);
}
.eval-list li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.eval-dashboard {
  background: var(--navy-800);
  border: 1px solid var(--line-on-navy);
  border-radius: var(--radius-lg);
  padding: 28px 28px 22px;
}

.eval-dashboard .eval-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
}
.eval-dashboard .eval-header span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  background: rgba(255,255,255,0.06);
  padding: 5px 10px;
  border-radius: 999px;
}

.eval-row { margin-bottom: 16px; }
.eval-row .eval-row-top { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 8px; }
.eval-row .eval-row-top span:first-child { color: var(--text-on-dark); font-weight: 550; }
.eval-row .eval-row-top span:last-child { font-family: var(--font-mono); color: var(--accent-light); }
.eval-bar-track { height: 6px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.eval-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent-dark), var(--accent)); border-radius: 999px; width: 0; transition: width 1.1s var(--ease); }

@media (max-width: 940px) { .eval-layout { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------
   Custom project quotes
--------------------------------------------------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--neutral-150);
  border-radius: var(--radius-md);
  padding: 26px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-on-light);
  font-weight: 500;
  position: relative;
}
.quote-card::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: block;
  margin-bottom: 16px;
}

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

/* ---------------------------------------------------------------
   Contributor section
--------------------------------------------------------------- */
.contrib-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.contrib-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.contrib-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--neutral-150);
  border-radius: var(--radius-sm);
}
.contrib-list li svg { width: 16px; height: 16px; color: var(--accent-dark); flex-shrink: 0; }

.contrib-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-on-light-muted);
  padding: 14px 16px;
  background: var(--neutral-100);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.mini-form {
  background: var(--white);
  border: 1px solid var(--neutral-150);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.mini-form h3 { font-size: 18px; font-weight: 650; }
.mini-form p.sub { margin-top: 6px; font-size: 13.5px; color: var(--text-on-light-muted); }

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

/* ---------------------------------------------------------------
   Forms
--------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.form-grid.two-col-tight { gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label { font-size: 13px; font-weight: 600; color: var(--text-on-light-muted); }
.field .req { color: var(--accent-dark); }

.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--neutral-200);
  background: var(--offwhite);
  color: var(--text-on-light);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 96px; }

.form-panel {
  background: var(--white);
  border: 1px solid var(--neutral-150);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.form-foot .form-note { font-size: 12.5px; color: var(--text-on-light-muted); max-width: 340px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.is-visible { display: block; }
.form-success .icon-tile {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 { font-size: 20px; font-weight: 650; }
.form-success p { margin-top: 10px; color: var(--text-on-light-muted); font-size: 14.5px; max-width: 420px; margin-inline: auto; }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 28px 22px; }
}

/* ---------------------------------------------------------------
   Final CTA
--------------------------------------------------------------- */
.final-cta {
  background: var(--navy-900);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, rgba(227,164,56,0.18), transparent 70%);
}
.final-cta h2 {
  position: relative;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto;
}
.final-cta p {
  position: relative;
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--text-on-dark-muted);
  max-width: 540px;
  margin-inline: auto;
}
.final-cta .hero-ctas { position: relative; justify-content: center; margin-top: 32px; }

@media (max-width: 640px) { .final-cta { padding: 52px 24px; } }

/* ---------------------------------------------------------------
   Footer
--------------------------------------------------------------- */
footer {
  background: var(--navy-950);
  color: var(--text-on-dark-muted);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-on-navy-soft);
}
.footer-top .logo { color: var(--text-on-dark); }
.footer-top p { margin-top: 14px; font-size: 13.5px; max-width: 300px; line-height: 1.6; }

.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-on-dark); margin-bottom: 14px; font-weight: 600;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14px; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--text-on-dark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }

/* ---------------------------------------------------------------
   Scroll reveal utility
--------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------
   Mobile nav drawer
--------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s var(--ease);
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer .drawer-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.mobile-drawer nav a {
  font-size: 20px; font-weight: 600; color: var(--text-on-dark);
  padding: 14px 4px; border-bottom: 1px solid var(--line-on-navy-soft);
}
.mobile-drawer .drawer-ctas { margin-top: auto; display: grid; gap: 12px; }
.mobile-drawer .close-btn { background: none; border: none; color: var(--text-on-dark); padding: 8px; }
