/* ============================================
   SPATIAL X — Land Registration Platform
   Stylesheet (shared across pages)
   ============================================ */

:root {
  --navy-900: #0A1F38;
  --navy-800: #0F2A47;
  --navy-700: #173B5E;
  --navy-600: #1F4E7A;
  --green-700: #1F5A2A;
  --green-600: #2D6B3A;
  --green-500: #4A8C4F;
  --green-400: #7AB05E;
  --gold-500: #D4A017;
  --gold-400: #E4B233;
  --gold-300: #F0CC6B;
  --ivory: #FDFCF6;
  --paper: #F7F5EE;
  --stone-100: #ECEAE0;
  --stone-200: #D7D3C2;
  --stone-400: #8A8676;
  --slate-600: #4A5563;
  --slate-700: #2E3744;
  --ink: #0B1422;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(10, 31, 56, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 31, 56, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 31, 56, 0.16);
  --shadow-gold: 0 8px 28px rgba(212, 160, 23, 0.25);

  --grad-hero: linear-gradient(135deg, #0A1F38 0%, #173B5E 45%, #1F5A2A 100%);
  --grad-soft: linear-gradient(135deg, #FDFCF6 0%, #F7F5EE 100%);
  --grad-gold: linear-gradient(135deg, #D4A017 0%, #F0CC6B 100%);
  --grad-green: linear-gradient(135deg, #1F5A2A 0%, #4A8C4F 100%);

  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --header-h: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--ivory);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

.lede { font-size: 1.18rem; line-height: 1.65; color: var(--slate-600); max-width: 680px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 160, 23, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(253, 252, 246, 0.4);
}
.btn-secondary:hover {
  background: rgba(253, 252, 246, 0.08);
  border-color: var(--ivory);
}
.btn-dark {
  background: var(--navy-800);
  color: var(--ivory);
}
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--stone-200);
}
.btn-ghost:hover { border-color: var(--navy-800); background: var(--paper); }

.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(253, 252, 246, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(253, 252, 246, 0.95);
  border-bottom-color: var(--stone-100);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-900);
}
.brand img { height: 54px; width: auto; }
.brand .tag { font-size: 0.7rem; color: var(--slate-600); letter-spacing: 0.06em; display: block; font-family: var(--font-sans); font-weight: 500; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate-700);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--navy-900); }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 60px) 0 80px;
  background: var(--grad-hero);
  color: var(--ivory);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 80% 20%, rgba(212, 160, 23, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 80%, rgba(74, 140, 79, 0.22), transparent 60%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(253, 252, 246, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 252, 246, 0.4) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  animation: drift 60s linear infinite;
}
@keyframes drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-copy h1 {
  color: var(--ivory);
  margin-bottom: 28px;
}
.hero-copy h1 em {
  font-style: italic;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lede {
  color: rgba(253, 252, 246, 0.82);
  font-size: 1.22rem;
  margin-bottom: 38px;
}
.hero-copy .eyebrow { color: var(--gold-300); }
.hero-copy .eyebrow::before { background: var(--gold-300); }

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(253, 252, 246, 0.15);
}
.stat .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold-300);
  display: block;
  line-height: 1;
}
.stat .lbl {
  font-size: 0.82rem;
  color: rgba(253, 252, 246, 0.7);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

/* Hero visual — orchestration diagram */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin-left: auto;
}
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(253, 252, 246, 0.18);
}
.orbit.o1 { inset: 14%; animation: spin 40s linear infinite; }
.orbit.o2 { inset: 0; animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hub {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(253, 252, 246, 0.12), rgba(253, 252, 246, 0.04));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(253, 252, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 16px;
}
.hub strong { font-family: var(--font-display); color: var(--ivory); font-size: 1.1rem; }
.hub small { color: var(--gold-300); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px; }

.node {
  position: absolute;
  width: 130px;
  padding: 14px 16px;
  background: rgba(253, 252, 246, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(253, 252, 246, 0.2);
  border-radius: 14px;
  text-align: center;
  transition: transform 0.4s;
}
.node:hover { transform: scale(1.06); background: rgba(253, 252, 246, 0.16); }
.node .ico { font-size: 1.3rem; margin-bottom: 6px; }
.node .ttl { font-size: 0.78rem; color: var(--ivory); font-weight: 600; }
.node .sub { font-size: 0.68rem; color: rgba(253, 252, 246, 0.7); margin-top: 2px; }

.n-landowner { top: 0; left: 50%; transform: translateX(-50%); }
.n-surveyor { right: 0; top: 50%; transform: translateY(-50%); }
.n-financier { bottom: 0; left: 50%; transform: translateX(-50%); }
.n-government { left: 0; top: 50%; transform: translateY(-50%); }

/* ============================================
   SECTION
   ============================================ */
section {
  padding: 110px 0;
  position: relative;
}
section.tight { padding: 80px 0; }
section.compact { padding: 60px 0; }

.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { margin-bottom: 18px; }
.section-head .lede { margin: 0 auto; }

/* ============================================
   PROBLEM / EVIDENCE
   ============================================ */
.section-problem {
  background: var(--paper);
  position: relative;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.problem-stat {
  padding: 30px 26px;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
}
.problem-stat .big {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1;
}
.problem-stat .desc { font-size: 0.92rem; color: var(--slate-600); margin-top: 10px; }
.problem-stat:nth-child(2) { border-left-color: var(--green-600); margin-top: 30px; }
.problem-stat:nth-child(3) { border-left-color: var(--navy-700); }
.problem-stat:nth-child(4) { border-left-color: var(--green-500); margin-top: 30px; }

/* ============================================
   AUDIENCE PORTALS
   ============================================ */
.section-portals {
  background: var(--ivory);
}
.portals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}
.portal-card {
  position: relative;
  padding: 44px 36px;
  background: var(--paper);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-100);
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
  display: flex;
  flex-direction: column;
}
.portal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-gold);
}
.portal-card:nth-child(2)::before { background: var(--grad-green); }
.portal-card:nth-child(3)::before { background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); }

.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.portal-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.portal-icon svg { width: 32px; height: 32px; }
.portal-card h3 { margin-bottom: 14px; }
.portal-card p { color: var(--slate-600); margin-bottom: 22px; flex-grow: 1; }
.portal-card ul {
  list-style: none;
  margin-bottom: 26px;
}
.portal-card ul li {
  font-size: 0.94rem;
  color: var(--slate-700);
  padding: 7px 0 7px 26px;
  position: relative;
}
.portal-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 2px;
  background: var(--gold-500);
}
.portal-card:nth-child(2) ul li::before { background: var(--green-600); }
.portal-card:nth-child(3) ul li::before { background: var(--navy-700); }

.portal-card .btn { align-self: flex-start; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.section-how {
  background: var(--navy-900);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.section-how::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 90% 10%, rgba(212, 160, 23, 0.12), transparent 60%),
    radial-gradient(ellipse 600px 400px at 5% 90%, rgba(74, 140, 79, 0.14), transparent 60%);
}
.section-how h2 { color: var(--ivory); }
.section-how .lede { color: rgba(253, 252, 246, 0.78); }
.section-how .eyebrow { color: var(--gold-300); }
.section-how .eyebrow::before { background: var(--gold-300); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.step {
  position: relative;
  padding: 30px 24px;
  background: rgba(253, 252, 246, 0.04);
  border: 1px solid rgba(253, 252, 246, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.step h4 { color: var(--ivory); margin-bottom: 10px; }
.step p { font-size: 0.92rem; color: rgba(253, 252, 246, 0.7); }

/* ============================================
   PILOT / IMPACT
   ============================================ */
.section-pilot { background: var(--paper); }
.pilot-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.pilot-visual {
  background: var(--ivory);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--stone-100);
}
.pilot-visual h4 { font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--gold-500); margin-bottom: 22px; }
.pilot-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin-top: 16px;
}
.pmetric {
  padding: 18px 0;
  border-top: 1px solid var(--stone-100);
}
.pmetric .v {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy-900);
  display: block;
}
.pmetric .l { font-size: 0.82rem; color: var(--slate-600); margin-top: 4px; }

/* ============================================
   VALUE PROP STRIP
   ============================================ */
.value-strip {
  background: var(--grad-hero);
  color: var(--ivory);
  padding: 70px 0;
  text-align: center;
}
.value-strip h2 { color: var(--ivory); max-width: 820px; margin: 0 auto 22px; }
.value-strip .lede { color: rgba(253, 252, 246, 0.8); margin: 0 auto 32px; }

/* ============================================
   FORMS
   ============================================ */
.form-card {
  background: var(--ivory);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: 0.02em;
}
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--stone-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--ivory);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 0.78rem; color: var(--stone-400); }
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--slate-600);
}
.checkbox-row input { margin-top: 4px; }
.form-actions { margin-top: 28px; display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.form-msg {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  display: none;
  font-size: 0.92rem;
}
.form-msg.success { display: block; background: rgba(74, 140, 79, 0.12); color: var(--green-700); border: 1px solid rgba(74, 140, 79, 0.25); }
.form-msg.error { display: block; background: rgba(196, 60, 60, 0.1); color: #8B2C2C; border: 1px solid rgba(196, 60, 60, 0.2); }

/* ============================================
   PAGE HEADER (subpages)
   ============================================ */
.page-header {
  padding: calc(var(--header-h) + 80px) 0 80px;
  background: var(--grad-hero);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 80% 30%, rgba(212, 160, 23, 0.18), transparent 60%),
    radial-gradient(ellipse 500px 400px at 10% 90%, rgba(74, 140, 79, 0.22), transparent 60%);
}
.page-header .container { position: relative; }
.page-header h1 { color: var(--ivory); margin-bottom: 22px; max-width: 880px; }
.page-header .lede { color: rgba(253, 252, 246, 0.82); }
.page-header .eyebrow { color: var(--gold-300); }
.page-header .eyebrow::before { background: var(--gold-300); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(253, 252, 246, 0.65);
  margin-bottom: 26px;
}
.breadcrumb a { color: rgba(253, 252, 246, 0.85); }
.breadcrumb a:hover { color: var(--ivory); }
.breadcrumb .sep { opacity: 0.4; }

/* ============================================
   FEATURE GRID (audience pages)
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature {
  padding: 32px 28px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone-100);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy-900);
}
.feature-ico svg { width: 24px; height: 24px; }
.feature h4 { margin-bottom: 10px; }
.feature p { font-size: 0.95rem; color: var(--slate-600); }

/* Split layout for audience pages */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.alt > div:first-child { order: 2; }
.split h2 { margin-bottom: 22px; }
.split-image {
  border-radius: var(--radius-xl);
  background: var(--grad-hero);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-image .pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(253, 252, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 252, 246, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}
.split-image .badge {
  position: absolute;
  top: 28px; left: 28px;
  padding: 10px 18px;
  background: rgba(253, 252, 246, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(253, 252, 246, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.split-image .quote {
  position: absolute;
  inset: auto 28px 28px 28px;
  padding: 24px;
  background: rgba(10, 31, 56, 0.7);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  color: var(--ivory);
}
.split-image .quote p { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; font-style: italic; }
.split-image .quote cite { font-size: 0.85rem; color: var(--gold-300); margin-top: 12px; display: block; font-style: normal; letter-spacing: 0.04em; }

.checklist { list-style: none; margin: 24px 0; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 36px;
  font-size: 1rem;
  color: var(--slate-700);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-600);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--stone-200);
  padding: 22px 0;
}
.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold-500);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; color: var(--slate-600); font-size: 0.98rem; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(253, 252, 246, 0.72);
  padding: 80px 0 30px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(253, 252, 246, 0.1);
}
.site-footer .brand { color: var(--ivory); margin-bottom: 18px; }
.site-footer .brand .tag { color: rgba(253, 252, 246, 0.6); }
.footer-about p { font-size: 0.92rem; max-width: 320px; }
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-300);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-col a {
  display: block;
  padding: 7px 0;
  font-size: 0.92rem;
  color: rgba(253, 252, 246, 0.72);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(253, 252, 246, 0.5);
}
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a:hover { color: var(--ivory); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: 1080px;
  margin: 0 auto;
}
.story-grid p {
  font-size: 1.02rem;
  color: var(--slate-700);
  margin-bottom: 18px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.principle {
  padding: 28px 22px;
  background: var(--ivory);
  border-top: 3px solid var(--gold-500);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.principle:nth-child(2) { border-top-color: var(--green-600); }
.principle:nth-child(3) { border-top-color: var(--navy-700); }
.principle:nth-child(4) { border-top-color: var(--green-500); }
.principle h4 { margin-bottom: 10px; font-size: 1.05rem; }
.principle p { font-size: 0.9rem; color: var(--slate-600); }

/* ============================================
   ILLUSTRATED HERO (Africa map + parcels)
   ============================================ */
.hero-illustration {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-left: auto;
}
.hero-illustration svg { width: 100%; height: 100%; overflow: visible; }
.hero-illustration .parcel-pin {
  transform-origin: center;
  animation: pulse 3s ease-in-out infinite;
}
.hero-illustration .parcel-pin.p2 { animation-delay: 0.4s; }
.hero-illustration .parcel-pin.p3 { animation-delay: 0.8s; }
.hero-illustration .parcel-pin.p4 { animation-delay: 1.2s; }
.hero-illustration .parcel-pin.p5 { animation-delay: 1.6s; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.08); }
}
.hero-illustration .data-line {
  stroke-dasharray: 4 6;
  animation: flow 10s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -100; } }

.hero-floating-card {
  position: absolute;
  background: rgba(253, 252, 246, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(253, 252, 246, 0.22);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.hero-floating-card .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 4px rgba(74, 176, 94, 0.25);
  animation: pulse 2s ease-in-out infinite;
}
.hero-floating-card .label { font-size: 0.78rem; }
.hero-floating-card .label strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.hero-floating-card.fc1 { top: 8%; left: -8%; }
.hero-floating-card.fc2 { bottom: 12%; right: -6%; }

/* ============================================
   TRANSFORMATION SHOWCASE (parcel → title)
   ============================================ */
.section-transform { background: var(--paper); }
.transform-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.tcard {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tcard .tstage-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}
.tcard:nth-child(2) .tstage-badge { color: var(--green-600); }
.tcard:nth-child(3) .tstage-badge { color: var(--navy-700); }
.tcard h4 { margin-bottom: 12px; }
.tcard p { font-size: 0.95rem; color: var(--slate-600); }
.tcard .tcard-svg {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
}
.tcard::after {
  content: '→';
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--gold-500);
  z-index: 2;
  font-weight: 300;
}
.tcard:last-child::after { display: none; }

/* ============================================
   MAP / PILOT GEO BLOCK
   ============================================ */
.pilot-map-card {
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--ivory);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pilot-map-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(74, 140, 79, 0.2), transparent 50%);
}
.pilot-map-card > * { position: relative; }
.pilot-map-card .map-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(212, 160, 23, 0.18);
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 700;
  margin-bottom: 20px;
}
.pilot-map-card .map-badge .blink {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.22);
  animation: pulse 1.6s ease-in-out infinite;
}
.pilot-map-card h3 { color: var(--ivory); font-size: 1.6rem; margin-bottom: 14px; }
.pilot-map-card .map-lede { color: rgba(253, 252, 246, 0.78); font-size: 0.96rem; }
.pilot-map-svg {
  margin-top: 26px;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}

/* ============================================
   STAT BANNER (rich numbers row)
   ============================================ */
.stat-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--ivory);
  border-radius: var(--radius-xl);
  border: 1px solid var(--stone-100);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.sbcell {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--stone-100);
}
.sbcell:last-child { border-right: none; }
.sbcell .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1;
  background: linear-gradient(135deg, var(--navy-800), var(--green-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sbcell:nth-child(2) .num { background: linear-gradient(135deg, var(--gold-500), var(--navy-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sbcell:nth-child(3) .num { background: linear-gradient(135deg, var(--green-600), var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sbcell .lbl {
  display: block;
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--slate-600);
  letter-spacing: 0.02em;
}

/* ============================================
   ILLUSTRATED PERSONA BANNER
   ============================================ */
.persona-banner {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--grad-hero);
  color: var(--ivory);
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.persona-banner svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.persona-banner .pb-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(0deg, rgba(10, 31, 56, 0.92) 0%, rgba(10, 31, 56, 0.6) 60%, transparent 100%);
}
.persona-banner .pb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(212, 160, 23, 0.22);
  border: 1px solid rgba(212, 160, 23, 0.4);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 700;
  margin-bottom: 14px;
}
.persona-banner .pb-quote {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 10px;
}
.persona-banner cite { font-size: 0.84rem; color: var(--gold-300); font-style: normal; letter-spacing: 0.04em; }

/* ============================================
   PORTAL CARDS — richer art
   ============================================ */
.portal-art {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--stone-100) 100%);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}
.portal-art svg { width: 100%; height: 100%; display: block; }

/* ============================================
   ARCHITECTURE / PLATFORM ILLUSTRATION
   ============================================ */
.platform-illu {
  background: var(--ivory);
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--stone-100);
}
.platform-illu h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}
.platform-illu-svg { width: 100%; height: auto; }

/* hide old hero-visual; we use hero-illustration now */
.hero-visual { display: none !important; }

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1), transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { margin: 0 auto; max-width: 420px; }
  .problem-grid, .pilot-grid, .split, .story-grid { grid-template-columns: 1fr; gap: 50px; }
  .split.alt > div:first-child { order: 0; }
  .portals, .features, .principles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--ivory); flex-direction: column; padding: 20px; box-shadow: var(--shadow-md); align-items: stretch; gap: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--stone-100); }
  .menu-toggle { display: block; }
  .portals, .features, .principles, .problem-stats, .pilot-metrics { grid-template-columns: 1fr; }
  .problem-stat:nth-child(2), .problem-stat:nth-child(4) { margin-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: 60px; }
  .hero-visual { max-width: 340px; }
  .brand img { height: 36px; }
  .brand .tag { display: none; }
  .transform-stage { grid-template-columns: 1fr; }
  .tcard::after { display: none; }
  .stat-banner { grid-template-columns: 1fr 1fr; }
  .sbcell { border-right: none; border-bottom: 1px solid var(--stone-100); }
  .sbcell:nth-child(odd) { border-right: 1px solid var(--stone-100); }
  .platform-illu { padding: 30px 20px; }
  .pilot-map-card { padding: 26px; }
  .hero-floating-card { display: none; }
}
@media (max-width: 1080px) {
  .transform-stage { grid-template-columns: 1fr; gap: 22px; }
  .tcard::after { display: none; }
  .stat-banner { grid-template-columns: 1fr 1fr; }
  .sbcell:nth-child(2) { border-right: none; }
  .hero-illustration { max-width: 420px; margin: 0 auto; }
}
