/* ==========================================================================
   GABION — one-page website styles
   Brand: Deep Teal #023E43 · Turquoise #28DCC7 · Lime #D8FA48 · Warm White #F7F7EF · Dark Ink #102C30
   Mobile-first. No frameworks. Self-hosted Manrope (OFL).
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --teal: #023E43;
  --teal-hover: #0A5157;
  --turquoise: #28DCC7;
  --lime: #D8FA48;
  --white: #F7F7EF;
  --ink: #102C30;
  --muted: #476669;          /* 5.8:1 on warm white */
  --muted-strong: #3F5C60;   /* 6.7:1 on warm white */
  --on-teal-muted: #C1CEC9;  /* 7.3:1 on deep teal */
  --on-teal-fine: #A4B8B5;   /* 5.7:1 on deep teal */
  --tint: #DEF4EA;
  --chip: #C9F1E6;
  --line: rgba(16, 44, 48, 0.14);
  --line-soft: rgba(16, 44, 48, 0.1);
  --field-border: #73878A;   /* 3.3:1 non-text contrast */
  --error: #A3271C;
  --error-bg: #FBF1EF;
  --error-ink: #7A1C13;
  --haiti-blue: #00209F;
  --haiti-red: #D21034;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: var(--teal); }
a:hover { color: #0B7A6E; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--teal), 0 0 0 7px var(--teal);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 16px; border-radius: 10px; background: var(--teal); color: var(--white);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 7vw, 104px); }
.section--hero { padding-block: clamp(56px, 7vw, 100px); }
.section--rule { border-top: 1px solid var(--line-soft); }
.section--teal { background: var(--teal); color: var(--white); padding-block: clamp(72px, 8vw, 120px); }
.section--legal { padding-block: clamp(56px, 6vw, 80px); }
.stack { display: flex; flex-direction: column; }
.stack-lg { gap: clamp(40px, 4vw, 56px); }
.stack-md { gap: clamp(36px, 3.5vw, 48px); }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--turquoise); }
.eyebrow--on-teal { color: var(--turquoise); }
.h1 {
  font-size: clamp(42px, 5.6vw, 80px); font-weight: 800; line-height: 0.95;
  letter-spacing: -0.025em; text-transform: uppercase;
}
.h1 span { display: block; }
.h1 .accent { color: var(--teal); }
.h2 {
  font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; line-height: 1.04;
  letter-spacing: -0.02em; text-transform: uppercase; text-wrap: balance;
}
.h2--display { font-size: clamp(36px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.025em; }
.h2--display span { display: block; }
.h2--display .lime { color: var(--lime); }
.h3 { font-size: clamp(21px, 1.8vw, 26px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.body { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.fine { font-size: 14px; line-height: 1.6; color: var(--muted); }
.label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal);
}
.label::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--turquoise); }
.num { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--teal); }

/* Haiti colour mark — a deliberate, small reference */
.haiti { display: inline-flex; gap: 3px; }
.haiti span { display: block; width: 14px; height: 5px; border-radius: 3px; }
.haiti .b { background: var(--haiti-blue); }
.haiti .r { background: var(--haiti-red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn--primary:hover { background: var(--teal-hover); border-color: var(--teal-hover); color: var(--white); }
.btn--primary:disabled { opacity: 0.7; cursor: progress; }
.btn--secondary { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--secondary:hover { background: rgba(2, 62, 67, 0.07); color: var(--teal); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(247, 247, 239, 0.55); }
.btn--ghost:hover { background: rgba(247, 247, 239, 0.1); color: var(--white); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 247, 239, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 44, 48, 0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand span { font-size: 17px; font-weight: 800; letter-spacing: 0.14em; }
.nav-links { display: none; align-items: center; gap: 32px; margin: 0; padding: 0; list-style: none; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; transition: color 0.15s; }
.nav-link:hover {
  color: var(--teal); text-decoration: underline; text-decoration-color: var(--turquoise);
  text-decoration-thickness: 2px; text-underline-offset: 7px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--teal); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap; transition: background-color 0.15s;
}
.pill:hover { background: var(--teal-hover); color: var(--white); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.menu-btn {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid rgba(16, 44, 48, 0.18); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer;
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; flex-direction: column; margin: 0; padding: 4px var(--gutter) 16px; list-style: none;
  background: var(--white); border-bottom: 1px solid var(--line-soft);
}
.mobile-menu[data-open="true"] { display: flex; }
.mobile-link {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px;
  font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(16, 44, 48, 0.08);
}
@media (max-width: 359px) { .pill { display: none; } }
@media (min-width: 861px) {
  .nav-links { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-sub { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 32em; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.hero-note img { width: 40px; height: 41px; border-radius: 10px; object-fit: cover; }
.hero-visual { flex: 0 1 420px; min-width: 0; display: flex; justify-content: center; position: relative; padding-block: 16px; }
.hero-glow {
  position: absolute; left: 50%; top: 50%; width: clamp(260px, 30vw, 440px); aspect-ratio: 1 / 1;
  border-radius: 50%; background: var(--tint); transform: translate(-50%, -50%);
}
.phone {
  position: relative; width: clamp(240px, 24vw, 300px); aspect-ratio: 300 / 612;
  border-radius: 48px; background: var(--ink); padding: 10px;
  box-shadow: 0 30px 50px -36px rgba(16, 44, 48, 0.55);
}
.phone-screen {
  height: 100%; border-radius: 39px; background: var(--teal); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 44px 20px 24px;
  color: var(--white); text-align: center;
}
.phone-screen img { width: 46%; aspect-ratio: 1 / 1; object-fit: contain; }
.phone-wordmark { font-size: 17px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.phone-tagline { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-teal-muted); }
.phone-placeholder {
  flex: 1 1 auto; width: 100%; margin-top: 12px; padding: 16px;
  border: 1.5px dashed rgba(247, 247, 239, 0.4); border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.phone-placeholder strong { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-teal-muted); }
.phone-placeholder span { font-size: 11px; line-height: 1.4; color: var(--on-teal-fine); }

/* ---------- Feature blocks (The App, Partners) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(32px, 3vw, 48px); }
.block {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding-top: 28px; border-top: 1px solid var(--line); transition: border-color 0.2s;
}
.block:hover { border-top-color: var(--turquoise); }
.icon-ring {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(2, 62, 67, 0.22);
  display: flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: 8px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.chip--solid { background: var(--chip); color: var(--teal); }
.chip--outline { border: 1px solid var(--field-border); color: var(--muted-strong); }
.chip-note { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- Mission ---------- */
.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.mission-statement { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.55; text-wrap: pretty; }
.mission-points { display: flex; flex-direction: column; }
.mission-point { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; }
.mission-point:first-child { padding-top: 0; border-bottom: 1px solid rgba(247, 247, 239, 0.16); }
.mission-point:last-child { padding-bottom: 0; }
.mission-point h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.mission-point p { font-size: 16px; line-height: 1.6; color: var(--on-teal-muted); }
.independence { padding-top: 24px; border-top: 1px solid rgba(247, 247, 239, 0.16); font-size: 14px; line-height: 1.6; color: var(--on-teal-fine); max-width: 760px; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); align-items: flex-start; }
.contact-intro { flex: 1 1 300px; max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
.contact-form-col { flex: 2 1 480px; min-width: 0; }
.panel {
  background: #fff; border: 1px solid rgba(16, 44, 48, 0.12); border-radius: 20px;
  padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px;
}
.panel--success { background: var(--teal); border-color: var(--teal); color: var(--white); align-items: flex-start; gap: 16px; }
.panel--success h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 800; letter-spacing: -0.01em; }
.panel--success p { font-size: 16px; line-height: 1.6; color: var(--on-teal-muted); }
.panel--success strong { color: var(--white); }
.check-ring { width: 44px; height: 44px; border-radius: 50%; background: var(--turquoise); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--field-border); border-radius: 10px;
  background: #fff; font-size: 16px; color: var(--ink);
}
.input::placeholder { color: #4F6E71; }
.input:focus { border-color: var(--teal); }
.input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select-wrap { position: relative; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.select-chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--teal); }
.err { font-size: 13px; font-weight: 600; color: var(--error); }
.err[hidden] { display: none; }
.alert {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--error); background: var(--error-bg); color: var(--error-ink); font-size: 14px; line-height: 1.5;
}
.alert[hidden] { display: none; }
.alert svg { flex: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--teal); }
.consent label { font-size: 14px; line-height: 1.5; color: var(--ink); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding-top: 4px; }
.form-actions .btn { width: 100%; }
.form-actions .fine { font-size: 13px; }
.turnstile:empty { display: none; }
.notice { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--on-teal-fine); }
.notice::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-top: 6px; }
@media (min-width: 600px) { .form-actions .btn { width: auto; min-width: 180px; } }

/* ---------- Legal accordions (native <details>) ---------- */
.legal-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.legal { border-bottom: 1px solid var(--line); }
.legal summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px; padding: 16px 0; cursor: pointer;
  font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; color: var(--ink);
}
.legal summary::-webkit-details-marker { display: none; }
.legal-title { margin: 0; font: inherit; }
.legal summary:hover .legal-title { color: var(--teal); }
.legal-meta { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(2, 62, 67, 0.3); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal); white-space: nowrap;
}
.chev { transition: transform 0.2s; color: var(--teal); }
.legal[open] .chev { transform: rotate(180deg); }
.prose { max-width: 760px; padding: 4px 0 32px; font-size: 15px; line-height: 1.65; color: #2F4A4E; }
.prose h4 { margin: 22px 0 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.prose p { margin: 0 0 10px; }
@media (max-width: 480px) { .tag { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal); color: var(--white); padding: clamp(48px, 5vw, 64px) 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand { color: var(--white); }
.footer-brand p { font-size: 14px; color: var(--on-teal-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.foot-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--white); text-decoration: none; transition: color 0.15s; }
.foot-link:hover { color: var(--turquoise); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(247, 247, 239, 0.14);
  font-size: 13px; line-height: 1.6; color: var(--on-teal-fine);
}
.footer-bottom p:last-child { max-width: 620px; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise-2 { animation-delay: 0.06s; } .rise-3 { animation-delay: 0.12s; } .rise-4 { animation-delay: 0.18s; } .rise-5 { animation-delay: 0.24s; }
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .skip-link, .hero-visual, .menu-btn { display: none !important; }
  .legal { break-inside: avoid; }
}
