/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --slate: #0F2942;
  --teal: #0EA5E9;
  --teal-dim: rgba(14, 165, 233, 0.15);
  --navy-light: #1a3a5c;
  --surface: #F8F9FA;
  --surface-alt: #EEF2F7;
  --text: #0F2942;
  --text-muted: #5A7A96;
  --text-subtle: #8BA9BC;
  --white: #FFFFFF;
  --green: #10B981;
  --green-dim: rgba(16, 185, 129, 0.12);
  --yellow: #F59E0B;
  --yellow-dim: rgba(245, 158, 11, 0.12);
  --blue: #3B82F6;
  --blue-dim: rgba(59, 130, 246, 0.12);
}

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

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: 'Syne', system-ui, sans-serif; font-weight: 700; line-height: 1.15; }

/* === NAV === */
.nav {
  background: var(--slate);
  padding: 18px 0;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.nav-tag {
  font-size: 0.78rem;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}

/* === HERO === */
.hero {
  background: var(--slate);
  padding: 80px 0 100px;
}
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-headline {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.1;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-subtle);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 440px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 200px;
}

/* Dashboard widget */
.helm-display {
  background: #0c1e32;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(14,165,233,0.15);
}
.helm-header {
  background: rgba(255,255,255,0.05);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.helm-dot {
  width: 11px; height: 11px; border-radius: 50%;
}
.helm-dot.red { background: #FF5F57; }
.helm-dot.yellow { background: #FEBC2E; }
.helm-dot.green { background: #28C840; }
.helm-title { font-size: 0.72rem; color: var(--text-subtle); font-family: 'DM Sans', sans-serif; margin-left: 8px; }
.helm-body { padding: 16px; }
.helm-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.6fr;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.78rem;
}
.helm-row:last-of-type { border-bottom: none; }
.label { color: var(--text-subtle); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; }
.val { color: var(--white); font-weight: 500; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 600; text-align: center;
}
.badge.green { background: var(--green-dim); color: var(--green); }
.badge.yellow { background: var(--yellow-dim); color: var(--yellow); }
.badge.blue { background: var(--blue-dim); color: var(--blue); }
.action { color: var(--text-subtle); font-size: 0.74rem; }
.helm-status-bar {
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--teal-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.status-text { font-size: 0.72rem; color: var(--teal); font-weight: 500; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* === MANIFEST === */
.manifest {
  background: var(--surface-alt);
  padding: 80px 0;
}
.manifest-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.manifest-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 28px;
}
.manifest-statement {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.4;
  color: var(--slate);
  max-width: 840px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
}

/* === OPS FLOW === */
.ops-flow { padding: 80px 0; }
.ops-flow-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 48px;
}
.ops-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.ops-item {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(15,41,66,0.06);
  border: 1px solid rgba(15,41,66,0.06);
}
.ops-icon {
  width: 44px; height: 44px;
  background: var(--teal-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.ops-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; font-family: 'Syne', sans-serif; }
.ops-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.ops-connector {
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.ops-connector::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-dim), var(--teal));
  border-radius: 1px;
}

/* === FEATURES === */
.features {
  background: var(--slate);
  padding: 80px 0;
}
.features-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.features .section-heading { color: var(--text-subtle); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 30px;
}
.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 14px;
  font-family: 'Syne', sans-serif;
}
.feature-body {
  font-size: 0.88rem;
  color: var(--text-subtle);
  line-height: 1.7;
}

/* === VISION === */
.vision { padding: 80px 0; }
.vision-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.vision-quote {
  border-left: 3px solid var(--teal);
  padding-left: 32px;
  margin-bottom: 40px;
}
.vision-text {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.4;
  margin-bottom: 12px;
}
.vision-attribution { font-size: 0.85rem; color: var(--text-muted); }
.vision-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}

/* === FOOTER === */
.footer {
  background: var(--surface-alt);
  padding: 48px 0;
  border-top: 1px solid rgba(15,41,66,0.08);
}
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; text-align: center; }
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 12px;
}
.footer-name { color: var(--slate); }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.footer-note { font-size: 0.75rem; color: var(--text-subtle); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 2.2rem; }
  .hero-sub { font-size: 0.95rem; }
  .ops-timeline { grid-template-columns: 1fr; }
  .ops-connector { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .helm-row { grid-template-columns: 1fr 1fr; }
  .label { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 60px 0 80px; }
  .manifest, .ops-flow, .features, .vision { padding: 60px 0; }
  .hero-stat-number { font-size: 2.2rem; }
}