:root {
  --navy: #0B1D2E;
  --navy-mid: #132840;
  --sand: #E8D5B3;
  --sand-light: #F4EDE0;
  --terracotta: #B8522E;
  --amber: #D4903A;
  --sea: #3D7A8C;
  --sea-light: #4E9DB2;
  --text: #1A1A1A;
  --text-mid: #4A4A4A;
  --text-light: #8A8A8A;
  --white: #FFFFFF;
  --error-red: #C0392B;
  --accent-blue: #2E8BC0;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--sand-light);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 29, 46, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.site-header nav {
  display: flex;
  gap: 2rem;
}
.site-header nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--white); }

/* HERO */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 1.25rem; }
.pill {
  display: inline-block;
  background: rgba(61, 122, 140, 0.25);
  border: 1px solid rgba(61, 122, 140, 0.5);
  color: var(--sea-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* HERO CTAs */
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #e09e3f;
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  transform: translateY(-1px);
}

/* MAP PREVIEW */
.map-preview {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}
.map-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.map-grid {
  position: relative;
  width: 100%;
  height: 240px;
  background: linear-gradient(160deg, #0D2B3E 0%, #0A1A28 100%);
  border-radius: 8px;
  overflow: hidden;
}
/* Grid lines */
.map-line {
  position: absolute;
  background: rgba(255,255,255,0.04);
}
.line-1 {
  width: 100%; height: 1px; top: 35%; left: 0;
}
.line-2 {
  width: 100%; height: 1px; top: 65%; left: 0;
}
/* Pilot site markers */
.map-point {
  position: absolute;
  display: flex;
  align-items: center;
}
.p1 { top: 22%; left: 78%; }
.p2 { top: 38%; left: 72%; }
.p3 { top: 50%; left: 55%; }
.p4 { top: 28%; left: 60%; }
.p5 { top: 62%; left: 48%; }
.map-point::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sea-light);
  border: 2px solid var(--navy);
  flex-shrink: 0;
}
.p3::before { background: var(--terracotta); }
.p5::before { background: var(--amber); }
.point-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(11,29,46,0.85);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  white-space: nowrap;
  margin-left: 6px;
}
.map-legend {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  align-items: center;
}
.legend-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}
.legend-dot.erosion { background: var(--error-red); }
.legend-dot.accretion { background: var(--sea-light); }
.legend-dot.stable { background: rgba(255,255,255,0.3); }

/* FEATURES */
.features {
  padding: 5rem 0;
  background: var(--sand-light);
}
.features-header {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  padding: 0 2rem;
}
.features-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.features-header p {
  color: var(--text-mid);
  max-width: 520px;
  font-size: 1rem;
}
.feature-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid rgba(11,29,46,0.08);
  border-radius: 10px;
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,29,46,0.08);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sea-light);
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.feature-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sea);
  background: rgba(61, 122, 140, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
}

/* ZONES */
.zones {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0;
}
.zones-header {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.zones-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.zones-header p { color: rgba(255,255,255,0.55); max-width: 560px; }
.zone-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.zone-item {
  background: var(--navy);
  padding: 1.75rem 1.5rem;
  transition: background 0.2s;
}
.zone-item:hover { background: var(--navy-mid); }
.zone-name {
  font-family: 'DM Serif Display', serif;
  font-size: 0.95rem;
  color: var(--amber);
  margin-bottom: 0.6rem;
}
.zone-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.zone-coords {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* HOW IT WORKS */
.how {
  padding: 5rem 0;
  background: var(--sand-light);
}
.how-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
.how-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.how-text > p {
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.how-steps { list-style: none; }
.how-steps li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: var(--terracotta);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}
.how-steps strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.how-steps p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* CONFIDENCE EXPLAINER */
.confidence-explainer {
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 2rem;
}
.confidence-explainer h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.confidence-explainer > p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
}
.confidence-explainer ul { list-style: none; }
.confidence-explainer li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
}
.confidence-explainer li span:first-child { color: rgba(255,255,255,0.75); }
.cf-tag {
  font-size: 0.7rem;
  color: var(--sea-light);
  font-weight: 600;
}
.cf-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1rem;
  font-style: italic;
}

/* CONFIDENCE SECTION */
.confidence-section {
  background: linear-gradient(135deg, var(--sand) 0%, #DBCA9A 100%);
  padding: 4rem 0;
}
.confidence-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.confidence-icon { flex-shrink: 0; color: var(--navy); opacity: 0.7; }
.confidence-content h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.confidence-content p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 620px;
}
.confidence-content p + p { margin-top: 0.75rem; }

/* CLOSING */
.closing {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0;
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.closing h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.closing p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 640px;
}
.closing p + p { margin-top: 1rem; }

/* FOOTER */
footer {
  background: #071219;
  color: rgba(255,255,255,0.45);
  padding: 3rem 0 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-wordmark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
.footer-mock {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.2) !important;
  margin-top: 0.5rem;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-right { order: -1; }
  .map-grid { height: 180px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .zone-list { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .zone-list { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .site-header nav { display: none; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}