/* ── Variables ── */
:root {
  --bg: #040d1a;
  --surface: #071428;
  --surface2: #0c1e36;
  --border: #112540;
  --teal: #00c9a7;
  --teal-dim: rgba(0, 201, 167, 0.12);
  --blue: #1a56db;
  --text: #e2edf5;
  --text-dim: #7a9ab8;
  --text-muted: #4a6a87;
  --warn: #f59e0b;
  --critical: #ef4444;
  --ok: #22c55e;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .nav-logo, .footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── Nav ── */
.nav {
  padding: 28px 0 0;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--teal);
}
/* Sign In — outlined button style for visibility */
.nav-link--signin {
  color: var(--text);
  font-weight: 600;
  border: 1.5px solid rgba(226, 237, 245, 0.4);
  border-radius: 7px;
  padding: 6px 16px;
}
.nav-link--signin:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0, 201, 167, 0.06);
}
.nav-cta {
  display: inline-block;
  background: var(--teal);
  color: #0a2535;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 7px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.nav-cta:hover {
  opacity: 0.85;
}
.nav-tag {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
}

/* ── Hero ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  margin-bottom: 20px;
}
.eyebrow-tag {
  display: inline-block;
  background: var(--teal-dim);
  color: var(--teal);
  border: 1px solid rgba(0, 201, 167, 0.25);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-headline {
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 460px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 24px;
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--teal);
}
.stat-label {
  font-size: 14px;
  color: var(--text-dim);
}

/* ── Hero Visual: Deck Map ── */
.deck-map {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.map-header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.03em;
}
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 240px;
}
.map-col {
  padding: 20px;
  border-right: 1px solid var(--border);
}
.map-col.col-alerts {
  border-right: none;
}
.col-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.ship-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.ship-name {
  font-size: 13px;
  color: var(--text-dim);
  width: 88px;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
}
.stock-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.bar-fill.warning { background: var(--warn); }
.stock-pct {
  font-size: 12px;
  color: var(--text-dim);
  width: 34px;
  text-align: right;
  flex-shrink: 0;
}
.stock-pct.warn { color: var(--warn); font-weight: 500; }
.alert-list { display: flex; flex-direction: column; gap: 12px; }
.alert-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.4;
}
.alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--critical);
  flex-shrink: 0;
  margin-top: 4px;
}
.alert-dot.ok { background: var(--ok); }
.alert-item.critical .alert-dot { background: var(--critical); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Shared section styles ── */
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 40px;
}

/* ── How It Works ── */
.howitworks {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.step {
  padding: 0 48px 0 0;
  border-right: 1px solid var(--border);
}
.step:last-child { border-right: none; padding-right: 0; }
.step + .step { padding-left: 48px; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(0, 201, 167, 0.15);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}
.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.step-body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── Features ── */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 36px 32px;
}
.feature-card.feature-main {
  grid-column: 1;
}
.feature-icon {
  color: var(--teal);
  margin-bottom: 20px;
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── Positioning ── */
.positioning {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}
.pos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.pos-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}
.comparison {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.comp-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
}
.comp-col-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 500;
}
.comp-col-label.right { text-align: right; color: var(--teal); }
.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  align-items: center;
}
.comp-row:last-child { border-bottom: none; }
.comp-item {
  font-size: 14px;
  color: var(--text-dim);
}
.comp-val {
  font-size: 14px;
  font-weight: 500;
}
.comp-val.old { color: var(--text-muted); text-decoration: line-through; }
.comp-val.new { color: var(--teal); text-align: right; }

/* ── Stat Banner ── */
.stat-banner {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 32px;
  background: var(--surface);
}
.stat-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0 40px;
}
.stat-big {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Testimonials ── */
.testimonials {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 32px;
  border-top: 1px solid var(--border);
}
.testimonials-inner {}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-quote {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  font-style: italic;
}
.testimonial-attribution {}
.attribution-name {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.attribution-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Landing FAQ ── */
.landing-faq {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 32px;
  border-top: 1px solid var(--border);
}
.landing-faq-inner {}
.landing-faq .faq-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 40px;
}
.landing-faq .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}
.landing-faq .faq-item {}
.landing-faq .faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.45;
}
.landing-faq .faq-a {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
}
.closing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 32px 120px;
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 680px;
}
.closing-headline {
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 40px;
}
.closing-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.closing-cta-btn {
  display: inline-block;
  background: var(--teal);
  color: #040d1a;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.15s;
}
.closing-cta-btn:hover { opacity: 0.88; }
.closing-cta-link {
  display: inline-block;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  border-bottom: 1px dashed rgba(0,201,167,0.4);
  padding-bottom: 2px;
  transition: border-color 0.15s;
}
.closing-cta-link:hover { border-color: var(--teal); }
.closing-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--teal);
  display: block;
  margin-bottom: 6px;
}
.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-tag {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-link {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--teal); }
.footer-link.cta {
  color: var(--teal);
  font-weight: 600;
}
.footer-contact {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}
.footer-contact a {
  color: var(--text-dim);
  text-decoration: none;
}
.footer-contact a:hover { color: var(--teal); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav {
    padding: 16px 0 0;
  }
  .nav-inner {
    padding: 0 16px;
    gap: 10px;
  }
  .nav-logo {
    font-size: 20px;
  }
  .nav-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 12px;
  }
  .nav-links {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .nav-link {
    font-size: 13px;
    font-weight: 600;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 4px 2px;
  }
  .nav-link--signin {
    padding: 5px 10px;
    font-size: 12px;
  }
  .nav-cta {
    font-size: 12px;
    padding: 8px 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .nav-tag {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px 48px;
  }
  .hero-eyebrow {
    padding-left: 4px;
  }
  .map-grid {
    grid-template-columns: 1fr;
  }
  .map-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .map-col:last-child { border-bottom: none; }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: none;
    padding: 0 0 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
  }
  .step + .step { padding-left: 0; }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .pos-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .comp-header,
  .comp-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .comp-col-label:last-child,
  .comp-val:last-child {
    text-align: right;
  }
  .stat-banner {
    padding: 24px 24px;
  }
  .stat-banner-inner {
    padding: 0 4px;
  }
  .stat-banner-inner {
    flex-direction: column;
    gap: 24px;
  }
  .stat-item {
    padding: 0;
  }
  .stat-divider {
    width: 48px;
    height: 1px;
  }
  .howitworks, .features, .positioning, .closing, .testimonials, .landing-faq {
    padding: 56px 24px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .landing-faq .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 20px;
  }
  .footer-links {
    justify-content: flex-start;
  }
  /* Hero CTA tap targets */
  .hero-inner a,
  .hero-inner button {
    min-height: 44px;
  }
  .hero-sub {
    max-width: 100%;
  }
  /* Closing section mobile */
  .closing-cta-row {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .closing-cta-btn {
    width: 100%;
    text-align: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Comparison table — stack on small screens */
  .comp-header,
  .comp-row {
    font-size: 13px;
  }
}

/* ── Hero CTA buttons ── */
.hero-cta-primary {
  display: inline-block;
  background: #00c9a7;
  color: #0a2535;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.15s;
}
.hero-cta-primary:hover { opacity: 0.88; }
.hero-cta-secondary {
  display: inline-block;
  background: transparent;
  color: #00c9a7;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  border: 1.5px solid rgba(0,201,167,0.45);
  transition: border-color 0.15s;
}
.hero-cta-secondary:hover { border-color: #00c9a7; }
.hero-urgency {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Extra-small mobile — under 400px */
@media (max-width: 400px) {
  .comp-header,
  .comp-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .comp-val.new {
    text-align: left;
  }
  .comp-col-label.right {
    text-align: left;
  }
  .stat-big {
    font-size: 28px;
  }
}