/* Header Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.nav-links a { color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.mobile-only { display: none; }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.nav-mobile.open { display: flex; }

/* Hero */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 36px 80px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-copy h1 .nobreak { white-space: nowrap; }
.highlight { position: relative; display: inline-block; color: var(--ink); }
.highlight-swipe {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 12px;
  z-index: -1;
}
.hero-sub { font-size: 17px; margin-bottom: 32px; max-width: 540px; color: var(--ink-soft); }

.slug-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  max-width: 540px;
}

.slug-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.slug-input-row {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 4px 6px 4px 16px;
  box-shadow: var(--shadow);
  transition: border-color .15s ease;
}

.slug-input-row:focus-within {
  border-color: var(--teal);
}

.slug-input-row input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  padding: 8px 0;
  min-width: 0;
}

.slug-suffix {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper-alt);
  border-left: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 8px;
  flex-shrink: 0;
}

.hero-ctas { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hero-hint { font-size: 12.5px; color: var(--ink-soft); }

/* Hero Visual & LMS Ecosystem Preview */
.hero-visual { position: relative; }
.lms-preview {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lms-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.lms-brand-info { display: flex; align-items: center; gap: 12px; }
.lms-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--marigold);
  color: var(--marigold-ink);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lms-portal-meta { display: flex; flex-direction: column; gap: 2px; }
.lms-portal-name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.lms-portal-sub { font-size: 11.5px; color: var(--ink-soft); }
.lms-status-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 14%, transparent);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'IBM Plex Mono', monospace;
}

.lms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lms-card {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.lms-card .card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lms-card .subject-title { font-size: 12px; font-weight: 700; color: var(--ink); }
.lms-card .subject-pct { font-size: 11.5px; font-weight: 800; color: var(--teal); font-family: 'IBM Plex Mono', monospace; }

.card-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-soft);
}
.badge-mini {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
}
.badge-mini.gold { background: color-mix(in srgb, var(--marigold) 25%, transparent); color: var(--marigold-ink); }
.badge-mini.teal { background: color-mix(in srgb, var(--teal) 25%, transparent); color: var(--teal); }

.lms-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 10px;
  align-items: center;
}
.lms-metric-item {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
}
.metric-val { display: block; font-size: 13px; font-weight: 800; color: var(--ink); font-family: 'IBM Plex Mono', monospace; }
.metric-lbl { font-size: 10px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em; }

.lms-live-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--teal) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 30%, transparent);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--teal);
  font-weight: 700;
}

/* Sections */
.section-head { max-width: 560px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }

.grid-3 {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--paper-alt);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }

/* Interactive Tabs Section */
.tabs-section {
  background: var(--paper-alt);
  padding: 96px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tabs-wrap { max-width: 980px; margin: 0 auto; }
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.tab-btn.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.tab-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.tab-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}
.tab-copy {
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 15px;
}
.tab-graphic-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.tab-graphic {
  opacity: 0.8;
  max-width: 100%;
  height: auto;
}
.tab-points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.tab-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.tab-points svg { color: var(--teal); flex-shrink: 0; }


/* How It Works Steps */
.steps-section { max-width: 1160px; margin: 0 auto; padding: 96px 24px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}
.step-n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }

/* CTA Band */
.cta-band {
  background: #14213D;
  color: #FFFFFF;
  padding: 72px 24px;
}
html.dark .cta-band {
  background: #131A2C;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band h2 { font-size: 32px; color: #FFFFFF; margin-bottom: 8px; }
html.dark .cta-band h2 { color: var(--ink); }

.cta-band p { color: #B7BED1; font-size: 16px; max-width: 520px; }
html.dark .cta-band p { color: var(--ink-soft); }

/* Footer */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 64px 24px 32px;
}
.footer-top {
  max-width: 1160px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand p { margin-top: 12px; font-size: 13.5px; max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-soft); transition: color .15s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Pricing Section */
.pricing-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 24px;
  border-top: 1px solid var(--line);
}
.pricing-wrap { max-width: 1160px; margin: 0 auto; }
.pricing-sub {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 10px auto 0;
  line-height: 1.6;
}

.rate-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.pill-group {
  display: flex;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
}
.pill {
  padding: 8px 16px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.pill:hover { color: var(--ink); }
.pill.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.price-card.popular {
  border-color: var(--teal);
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--teal) 25%, transparent);
}
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.price-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.price-range { font-size: 13px; font-weight: 600; color: var(--teal); margin-bottom: 18px; font-family: 'IBM Plex Mono', monospace; }

.price-amount-wrap { margin-bottom: 12px; min-height: 48px; display: flex; align-items: baseline; }
.price-amount { font-size: 32px; font-weight: 800; color: var(--ink); font-family: 'IBM Plex Mono', monospace; }
.price-cadence { font-size: 14px; font-weight: 500; color: var(--ink-soft); font-family: 'Inter', sans-serif; margin-left: 4px; }

.price-blurb { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 24px; min-height: 40px; }

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}
.price-features svg { color: var(--teal); flex-shrink: 0; }

.price-foot {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 32px;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

.nav {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.nav-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.nav-mobile {
  width: 100%;
  box-sizing: border-box;
}

.browser-card, .lms-preview {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.url-text {
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* Comprehensive Responsive Breakpoints */
@media (max-width: 1160px) {
  .hero { gap: 32px; padding: 48px 24px 64px; }
  .grid-3 { gap: 16px; }
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; } /* Hide text buttons in top bar on mobile/tablet */
  .mobile-only { display: inline-flex; }
  
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 40px; }
  .hero-sub { max-width: 100%; }
  .slug-box { max-width: 100%; }
  
  .grid-3 { grid-template-columns: 1fr; }
  .tab-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .cta-band-inner { flex-direction: column; text-align: center; gap: 24px; }
  .cta-band p { max-width: 100%; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}


@media (max-width: 768px) {
  .hero-copy h1 { font-size: clamp(26px, 6vw, 40px); }
  .section-head h2 { font-size: clamp(24px, 5vw, 32px); }
  .tabs-section { padding: 64px 16px; }
  .pricing-section { padding: 64px 16px; }
  .steps-section { padding: 64px 16px; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 12px 16px; }
  .hero { padding: 24px 16px 40px; }

  /* Hero Copy Mobile Refinements */
  .hero-copy h1 {
    font-size: clamp(22px, 5.5vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .hero-sub {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  .slug-box {
    margin-bottom: 18px;
    gap: 6px;
  }
  .slug-label {
    font-size: 11.5px;
  }
  .slug-input-row {
    padding: 4px 6px 4px 12px;
    border-radius: 10px;
  }
  .slug-input-row input {
    font-size: 13.5px;
  }
  .slug-suffix {
    font-size: 11.5px;
    padding: 6px 8px;
    border-radius: 6px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 8px;
  }
  .hero-ctas .btn {
    min-height: 44px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    justify-content: center;
    border-radius: 9px;
  }
  .hero-hint {
    font-size: 11px;
  }
  
  .tab-buttons {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tab-buttons::-webkit-scrollbar { display: none; }
  .tab-btn { flex-shrink: 0; white-space: nowrap; min-height: 40px; padding: 8px 14px; font-size: 13px; }

  .tabs-section {
    padding: 40px 16px;
  }
  .tab-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
    border-radius: 14px;
  }
  .tab-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  .tab-copy {
    font-size: 13px;
    line-height: 1.5;
  }
  .tab-points {
    margin-top: 14px;
    gap: 8px;
  }
  .tab-points li {
    font-size: 13px;
    gap: 8px;
  }
  .tab-points svg {
    width: 16px;
    height: 16px;
  }
  .tab-graphic-wrap {
    margin-top: 6px;
  }
  .tab-graphic {
    width: 52px;
    height: 52px;
  }

  .lms-preview {
    padding: 14px;
    gap: 10px;
  }
  .lms-header {
    padding-bottom: 10px;
  }
  .lms-avatar {
    width: 28px;
    height: 28px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 7px;
  }
  .lms-portal-name {
    font-size: 13px;
    font-weight: 600;
  }
  .lms-portal-sub {
    font-size: 10px;
  }
  .lms-status-badge {
    font-size: 9.5px;
    font-weight: 600;
    padding: 2px 6px;
  }
  
  .lms-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .lms-card {
    padding: 8px 10px;
    border-radius: 10px;
  }
  .lms-card .subject-title {
    font-size: 10.5px;
    font-weight: 600;
  }
  .lms-card .subject-pct {
    font-size: 10.5px;
    font-weight: 700;
  }
  .card-footer-meta {
    font-size: 9.5px;
    margin-top: 6px;
  }
  .badge-mini {
    font-size: 8.5px;
    padding: 1px 4px;
  }

  .lms-bottom-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .lms-metric-item {
    padding: 6px 8px;
    border-radius: 8px;
  }
  .metric-val {
    font-size: 11.5px;
    font-weight: 700;
  }
  .metric-lbl {
    font-size: 9px;
  }
  .lms-live-pill {
    grid-column: span 2;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 600;
    justify-content: center;
    border-radius: 8px;
  }


  /* Pricing Section Mobile Refinements */
  .pricing-section { padding: 40px 16px; }
  .pricing-sub { font-size: 13.5px; margin-top: 6px; }
  .rate-controls { margin-bottom: 28px; gap: 10px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-card { padding: 20px 16px; border-radius: 14px; }
  .price-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
  .price-range { font-size: 12px; margin-bottom: 12px; }
  .price-amount-wrap { min-height: auto; margin-bottom: 8px; }
  .price-amount { font-size: 24px; font-weight: 700; }
  .price-cadence { font-size: 13px; }
  .price-blurb { font-size: 13px; min-height: auto; margin-bottom: 16px; line-height: 1.45; }
  .price-features { margin-bottom: 20px; gap: 8px; }
  .price-features li { font-size: 13px; gap: 8px; }
  .price-features svg { width: 14px; height: 14px; }
  .popular-badge { font-size: 10px; padding: 2px 10px; top: -11px; }

  /* Feature Cards Mobile Refinements */
  .grid-3 { gap: 14px; padding-bottom: 48px; }
  .feature-card { padding: 18px 16px; border-radius: 14px; }
  .feature-icon { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 12px; }
  .feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
  .feature-card p { font-size: 13px; line-height: 1.5; }

  /* Steps Section Mobile Refinements */
  .steps-section { padding: 40px 16px; }
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 18px 16px; border-radius: 14px; }
  .step-n { font-size: 11px; padding: 2px 7px; margin-bottom: 10px; }
  .step h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
  .step p { font-size: 13px; line-height: 1.5; }

  /* CTA Band Mobile Refinements */
  .cta-band { padding: 40px 16px; }
  .cta-band-inner { gap: 18px; text-align: center; }
  .cta-band h2 { font-size: clamp(20px, 5.5vw, 26px); font-weight: 700; margin-bottom: 6px; }
  .cta-band p { font-size: 13.5px; line-height: 1.5; }

  /* Footer Mobile Refinements */
  .footer { padding: 40px 16px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .footer-brand p { font-size: 13px; margin-top: 8px; max-width: 100%; }
  .footer-col h4 { font-size: 12.5px; font-weight: 700; margin-bottom: 10px; }
  .footer-col ul { gap: 8px; }
  .footer-col a { font-size: 13px; }
  .footer-bottom { padding-top: 18px; font-size: 12px; flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .slug-input-row {
    flex-direction: column;
    align-items: stretch;
    padding: 6px 10px;
    gap: 4px;
    border-radius: 10px;
  }
  .slug-input-row input {
    width: 100%;
    text-align: center;
    padding: 4px 0;
    font-size: 13px;
  }
  .slug-suffix {
    border-left: none;
    border-top: 1px solid var(--line);
    text-align: center;
    padding: 4px 6px;
    width: 100%;
    font-size: 11px;
    border-radius: 6px;
  }
  
  .rate-controls { flex-direction: column; width: 100%; }
  .pill-group { width: 100%; justify-content: center; }
  .pill { flex: 1; text-align: center; min-height: 40px; font-size: 12.5px; }
}


/* ═══════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════ */
.stats-bar {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 24px;
}
.stats-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  flex: 1;
}
.stat-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--line);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════════════ */
.why-section {
  padding: 96px 24px;
  border-top: 1px solid var(--line);
}
.why-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.why-row:last-child { margin-bottom: 0; }
.why-row--flip .why-content { order: 2; }
.why-row--flip .why-visual { order: 1; }

.why-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-content h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}
.why-content p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 20px;
}
.why-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.why-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}
.why-points svg { color: var(--teal); flex-shrink: 0; }

.why-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-domain-demo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow);
}
.domain-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--ink-soft);
}
.domain-pill svg { color: var(--ink-soft); flex-shrink: 0; }
.domain-pill--active {
  border-color: var(--teal);
  background: color-mix(in srgb, var(--teal) 8%, transparent);
  color: var(--teal);
}
.domain-pill--active svg { color: var(--teal); }
.domain-isolated-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 25%, transparent);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 4px;
}
.domain-isolated-badge svg { color: var(--teal); flex-shrink: 0; }

.why-africa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 340px;
}
.africa-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.africa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.africa-icon { font-size: 24px; }
.africa-label { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }

.speed-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 320px;
}
.speed-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.speed-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid var(--surface);
  outline: 2px solid var(--line);
  flex-shrink: 0;
  margin-top: 3px;
}
.speed-step--done .speed-dot {
  background: var(--teal);
  outline-color: color-mix(in srgb, var(--teal) 30%, transparent);
}
.speed-step--active .speed-dot {
  background: var(--marigold);
  outline-color: color-mix(in srgb, var(--marigold) 30%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--marigold) 15%, transparent);
}
.speed-info { display: flex; flex-direction: column; gap: 3px; padding-bottom: 4px; }
.speed-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--teal);
}
.speed-step--active .speed-time { color: var(--marigold-ink); }
.speed-event { font-size: 14px; font-weight: 500; color: var(--ink); }
.speed-connector {
  width: 2px;
  height: 36px;
  background: var(--line);
  margin-left: 6px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   PRODUCT PREVIEW / SCREENSHOTS
═══════════════════════════════════════════════════ */
.preview-section {
  background: var(--paper-alt);
  padding: 96px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.preview-wrap { max-width: 1100px; margin: 0 auto; }
.preview-sub {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 8px auto 0;
  line-height: 1.6;
}
.preview-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.preview-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s ease;
}
.preview-tab:hover { color: var(--ink); border-color: var(--ink-soft); }
.preview-tab.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.preview-tab svg { flex-shrink: 0; }

.preview-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.preview-panel { display: none; }
.preview-panel.active { display: block; }

.screenshot-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-alt);
  border: 1px solid var(--line);
}
.screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 420px;
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-soft);
  border: 2px dashed var(--line);
  border-radius: 14px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    color-mix(in srgb, var(--line) 40%, transparent) 8px,
    color-mix(in srgb, var(--line) 40%, transparent) 9px
  );
}
.screenshot-placeholder svg { opacity: 0.35; }
.screenshot-placeholder p { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0; }
.screenshot-placeholder span { font-size: 12.5px; color: var(--ink-soft); }

.preview-caption {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.preview-caption strong { color: var(--ink); }

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════ */
.testimonials-section {
  padding: 96px 24px;
  border-top: 1px solid var(--line);
}
.testimonials-wrap { max-width: 1100px; margin: 0 auto; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-stars { display: flex; gap: 4px; }
.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
  margin: 0;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--teal) 20%, transparent);
  color: var(--teal);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
}
.testimonial-author strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.testimonial-author span { font-size: 12px; color: var(--ink-soft); line-height: 1.4; }

/* ═══════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════ */
.faq-section {
  padding: 96px 24px;
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  transition: background .15s ease;
}
.faq-q:hover { background: var(--paper-alt); }
.faq-q span { flex: 1; line-height: 1.4; }

.faq-chevron {
  flex-shrink: 0;
  color: var(--ink-soft);
  transition: transform .25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  background: var(--surface);
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-a p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}
.faq-a code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--teal);
}

.faq-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.faq-footer p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
═══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .stats-bar-inner { gap: 16px; }
  .stat-value { font-size: clamp(18px, 3.5vw, 26px); }
  .why-row { grid-template-columns: 1fr; gap: 36px; margin-bottom: 56px; }
  .why-row--flip .why-content { order: 1; }
  .why-row--flip .why-visual { order: 2; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  .stats-bar-inner { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .stat-item { flex: 1 1 40%; }
  .preview-tabs { justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .preview-tabs::-webkit-scrollbar { display: none; }
  .preview-tab { flex-shrink: 0; }
  .screenshot-placeholder { min-height: 280px; }
  .faq-q { padding: 16px 20px; font-size: 14.5px; }
  .faq-item.open .faq-a { padding: 0 20px 18px; }
}

@media (max-width: 640px) {
  .why-section { padding: 48px 16px; }
  .why-row { gap: 28px; margin-bottom: 40px; }
  .why-content h3 { font-size: 20px; }
  .why-domain-demo, .why-africa-grid, .speed-timeline { max-width: 100%; }
  .preview-section { padding: 48px 16px; }
  .preview-tab { padding: 8px 14px; font-size: 13px; }
  .screenshot-placeholder { min-height: 220px; padding: 32px 16px; }
  .testimonials-section { padding: 48px 16px; }
  .testimonial-card { padding: 20px 18px; }
  .testimonial-card blockquote { font-size: 14px; }
  .faq-section { padding: 48px 16px; }
  .faq-q { padding: 14px 16px; font-size: 14px; }
  .faq-item.open .faq-a { padding: 0 16px 16px; }
  .faq-a p { font-size: 13.5px; }
  .stats-bar { padding: 24px 16px; }
  .stat-item { flex: 1 1 calc(50% - 10px); }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 12px; }
}
