/* =========================================================
   1. RESET + :ROOT
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --bg:      #F9F8F6;
  --surface: #FFFFFF;
  --ink:     #0F1F3D;
  --ink2:    #4A5568;
  --ink3:    #767676;
  --teal:    #00B4A6;
  --teal2:   #009E91;
  --tl:      #E6F7F6;
  --border:  #E8E6E1;
  --success: #10B981;
  --r:       12px;
  --serif:   'DM Serif Display', Georgia, serif;
  --sans:    'DM Sans', system-ui, sans-serif;
  --mono:    'JetBrains Mono', monospace;
}

/* =========================================================
   2. BASE TYPOGRAPHY
   ========================================================= */
body {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 400;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 400;
}

h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p { line-height: 1.7; }

/* =========================================================
   3. LAYOUT UTILITIES
   ========================================================= */
.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

section { padding: 96px 48px; }

/* =========================================================
   4. NAVIGATION
   ========================================================= */
#main-nav {
  position: sticky;
  top: 0;
  height: 68px;
  z-index: 100;
  background: rgba(249, 248, 246, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

#main-nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-cta { flex-shrink: 0; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-panel {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 32px 24px;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--border);
}

.nav-mobile-panel.open { display: flex; }

.nav-mobile-panel .btn-teal {
  align-self: flex-start;
  padding: 13px 24px;
  font-size: 14px;
  color: #fff;
  border-bottom: none;
}

.nav-mobile-panel a {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

/* =========================================================
   5. BUTTONS
   ========================================================= */
.btn-dark, .btn-teal, .btn-secondary, .btn-ghost, .btn-ghost-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { opacity: 0.82; transform: scale(1.02); }

.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover { background: var(--teal2); transform: scale(1.02); }

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--ink3); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); transform: scale(1.02); }

.btn-ghost-white {
  background: #fff;
  color: var(--ink);
}
.btn-ghost-white:hover { opacity: 0.88; transform: scale(1.02); }

/* =========================================================
   6. EYEBROW LABELS
   ========================================================= */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
  color: var(--teal);
}

.eyebrow-dark {
  color: rgba(255, 255, 255, 0.45);
}

/* =========================================================
   7. SECTION SHELLS
   ========================================================= */
.section-dark {
  background: var(--ink);
  color: #fff;
  padding: 96px 48px;
}

.section-light {
  background: var(--bg);
  padding: 96px 48px;
}

.section-white {
  background: var(--surface);
  padding: 96px 48px;
}

.section-teal {
  background: var(--teal);
  padding: 80px 48px;
  text-align: center;
}

/* =========================================================
   8. DOT GRID
   ========================================================= */
.dot-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* =========================================================
   9. CARDS
   ========================================================= */

/* Dark section cards */
.card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  padding: 26px;
  transition: background 0.2s;
}
.card-dark:hover { background: rgba(255, 255, 255, 0.09); }

.card-dark h3 { color: #fff; margin-bottom: 10px; }
.card-dark p  { color: rgba(255, 255, 255, 0.6); font-size: 14px; line-height: 1.65; }

/* Light section cards */
.card-light {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card-light:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

/* Glassmorphism (hero stat cards only) */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
}

/* Feature visual panel */
.feature-panel {
  background: #162540;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-panel-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 18px;
}

/* =========================================================
   10. STAT BAR
   ========================================================= */
.stat-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 28px 48px;
}

.stat-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--teal);
  display: block;
}

.stat-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  display: block;
  margin-top: 6px;
}

/* =========================================================
   11. TRUST STRIP
   ========================================================= */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 24px;
  border-right: 1px solid var(--border);
}

.trust-item:last-child { border-right: none; }

.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--tl);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  font-size: 16px;
}

.trust-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.trust-desc {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.5;
}

/* =========================================================
   12. TWO-COLUMN FEATURE SECTIONS
   ========================================================= */
.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-section.flip .feature-text { order: 2; }
.feature-section.flip .feature-visual { order: 1; }

.feature-section .feature-text,
.feature-section .feature-visual { min-width: 0; }

@media (min-width: 961px) {
  .feature-section .feature-visual {
    position: sticky;
    top: 80px;
    align-self: start;
  }
}

.feature-h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.uk-coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .uk-coverage-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ── LEA Dot Grid ──────────────────────────────────────── */
.lea-grid-layout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0 4px;
}
.lea-grid-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  min-width: 80px;
}
.lea-nation-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.lea-dot-group {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.lea-dot2 {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0,180,166,0.2);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  flex-shrink: 0;
}
.lea-dot2.active {
  background: #00B4A6;
  box-shadow: 0 0 5px rgba(0,180,166,0.9);
}
.lea-grid-counter {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-align: center;
  min-height: 14px;
}
#lea-grid-name { color: #fff; }
#lea-grid-panel .feature-panel-label { color: #fff; }
.lea-grid-source {
  margin-top: 8px;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  text-align: center;
  line-height: 1.5;
}
@media (prefers-reduced-motion: reduce) {
  .lea-dot2 { transition: none; }
  .lea-dot2.active { box-shadow: none; }
}

/* =========================================================
   13. PRICING CARDS
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

.pcard {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  position: relative;
}

.pcard.feat {
  border-color: var(--teal);
  background: var(--surface);
}

.pop-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.ptier {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 10px;
}

.pamount {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.pamount span {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink3);
  font-weight: 400;
  letter-spacing: 0;
}

.ptagline {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.5;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.pf {
  font-size: 13px;
  color: var(--ink2);
  margin-bottom: 7px;
  line-height: 1.4;
}

.pf span { margin-right: 6px; }

.pcta {
  display: block;
  text-align: center;
  background: var(--ink);
  color: #fff;
  border-radius: 9px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 20px;
  transition: opacity 0.15s, transform 0.15s;
}
.pcta:hover { opacity: 0.82; transform: scale(1.02); }

.pcta.t {
  background: var(--teal);
}
.pcta.t:hover { background: var(--teal2); transform: scale(1.02); opacity: 1; }

.tier-distinction-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 20px auto 0;
  font-size: 14px;
  color: var(--ink2);
  padding: 14px 0;
}

.tier-distinction-callout em { color: var(--teal); font-style: italic; }
.tier-distinction-sep { color: var(--border); }

/* =========================================================
   14. CODE BLOCKS + TOKENS
   ========================================================= */
.code-block {
  background: #0A1628;
  border-radius: 10px;
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.tok-key   { color: #00B4A6; }
.tok-str   { color: #10B981; }
.tok-num   { color: #F59E0B; }
.tok-punct { color: #6B7B99; }
.tok-path  { color: #7DD6CF; }
.tok-meth  { color: rgba(255, 255, 255, 0.45); }

/* =========================================================
   15. TAG PILLS
   ========================================================= */
.tag-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--tl);
  color: var(--teal2);
}

/* =========================================================
   16. SECTOR GRID
   ========================================================= */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

/* =========================================================
   17. CONTACT CARDS
   ========================================================= */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 680px;
  margin-top: 40px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  padding: 26px;
}

.contact-card-icon {
  font-size: 22px;
  margin-bottom: 12px;
}

.contact-card h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 15px;
}

.contact-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 14px;
}

.contact-card a {
  color: #6BCB96;
  font-size: 14px;
  font-weight: 500;
}

/* =========================================================
   18. DIVERGENCE TIMELINE
   ========================================================= */
.diverge-timeline {
  margin: 32px 0 40px;
}

.diverge-header {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.diverge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.diverge-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  width: 56px;
  flex-shrink: 0;
  text-align: right;
}

.diverge-track {
  flex: 1;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  position: relative;
  max-width: 420px;
}

.diverge-block {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 4px;
  background: var(--teal);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.diverge-block.visible { opacity: 1; }

.diverge-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--teal);
  margin-top: 14px;
}

/* =========================================================
   19. FOOTER
   ========================================================= */
#main-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 48px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  max-width: 240px;
}

.footer-col-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}

.footer-col-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s;
}

.footer-bottom a:hover { color: rgba(255, 255, 255, 0.75); }

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* =========================================================
   20. FADE-UP ANIMATIONS
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* =========================================================
   21. RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual, .uk-map-panel { display: none; }
  .feature-section { grid-template-columns: 1fr; gap: 40px; }
  .feature-section.flip .feature-text,
  .feature-section.flip .feature-visual { order: unset; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .uk-text { max-width: 100%; }
  .diverge-track { max-width: 260px; }
}

@media (max-width: 768px) {
  section,
  .section-dark,
  .section-light,
  .section-white,
  .section-teal { padding: 64px 20px; }
  .hero-section { padding: 72px 20px 64px; min-height: auto; }
  .stat-bar { padding: 28px 20px; }
  .stat-bar-inner { flex-wrap: wrap; gap: 32px 16px; justify-content: center; }
  .stat { flex: 0 0 calc(50% - 8px); min-width: 0; max-width: calc(50% - 8px); }
  .sector-grid { grid-template-columns: 1fr; }
  .tier-distinction-callout { flex-direction: column; gap: 8px; }
  .tier-distinction-sep { display: none; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .diverge-label { font-size: 9px; width: 42px; }
  .inner { padding: 0 20px; }
  .trust-strip { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  #main-footer { padding: 40px 20px 24px; }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 600px) {
  .hero-stats-row { grid-template-columns: 1fr 1fr; }
  .problem-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; padding: 0 20px; }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
  }
  .trust-item:last-child { border-bottom: none; }
}

/* =========================================================
   22. ENDPOINT LIST (product.html)
   ========================================================= */
.endpoint-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.endpoint-item {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.endpoint-item:last-child { border-bottom: none; }

.endpoint-path {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 6px;
}

.endpoint-method {
  background: rgba(0,180,166,0.15);
  color: var(--teal);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.endpoint-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin-bottom: 5px;
}

.endpoint-filters {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.3px;
}

/* Light variant for white-bg sections */
.endpoint-list.light {
  border-color: var(--border);
}
.endpoint-list.light .endpoint-item {
  border-bottom-color: var(--border);
}
.endpoint-list.light .endpoint-desc { color: var(--ink2); }
.endpoint-list.light .endpoint-filters { color: var(--ink3); }

/* =========================================================
   23. DARK PRICING CARD
   ========================================================= */
.pcard.dark {
  background: var(--ink);
  border-color: rgba(255,255,255,0.1);
  color: #fff;
}

.pcard.dark .ptier { color: rgba(255,255,255,0.4); }
.pcard.dark .pamount { color: #fff; }
.pcard.dark .ptagline {
  color: rgba(255,255,255,0.55);
  border-bottom-color: rgba(255,255,255,0.1);
}
.pcard.dark .pf { color: rgba(255,255,255,0.6); }

.price-sublabel {
  font-size: 13px;
  color: var(--ink3);
  font-weight: 400;
  display: block;
  margin-top: -6px;
  margin-bottom: 10px;
}

.pcard.dark .price-sublabel { color: rgba(255,255,255,0.4); }

/* =========================================================
   24. LICENCE NOTE
   ========================================================= */
.licence-note {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.licence-note-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}

.licence-note p {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* =========================================================
   25. COMPARISON TABLE
   ========================================================= */
.compare-table-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.compare-table th.col-ess { color: var(--ink3); text-align: center; }
.compare-table th.col-pro {
  color: var(--teal);
  text-align: center;
  border-bottom-color: var(--teal);
}
.compare-table th.col-ana { color: var(--ink3); text-align: center; }
.compare-table th.col-feat { color: var(--ink3); text-align: left; }

.compare-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink2);
  vertical-align: middle;
}

.compare-table td.tc { text-align: center; }
.compare-table td .tick { color: var(--success); font-size: 15px; }
.compare-table td .dash { color: var(--ink3); }

.table-section-header td {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
  background: var(--bg);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

/* =========================================================
   26. FAQ
   ========================================================= */
.faq-list { max-width: 720px; }

.faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}

.faq-a {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
}

/* =========================================================
   27. PRICING GRID (3-col for pricing page)
   ========================================================= */
.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .pricing-grid-3 { grid-template-columns: 1fr; max-width: 420px; }
}

.pricing-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 960px) {
  .pricing-grid-2 {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.pricing-teaser-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 640px) {
  .pricing-teaser-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

.contact-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  text-align: center;
}

@media (max-width: 600px) {
  .contact-stat-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.stat-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .stat-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .compare-table th,
  .compare-table td { padding: 8px 10px; font-size: 13px; }
  .faq-item { padding: 18px 0; }
}

/* =========================================================
   28. HALF-TERM CYCLING CHART (index.html — Problem section)
   ========================================================= */
.htc-wrap {
  margin-bottom: 40px;
}

.htc-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.htc-label {
  width: 180px;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 14px;
  /* opacity and transform animated by JS */
}

.htc-track {
  flex: 1;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  position: relative;
}

.htc-bar {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--teal);
  border-radius: 4px;
  /* left + width set by JS; opacity + transform animated by JS */
}

.htc-axis-row {
  display: flex;
  align-items: flex-start;
  padding-top: 8px;
}

.htc-axis-spacer {
  width: 180px;
  flex-shrink: 0;
}

.htc-axis {
  flex: 1;
  position: relative;
  height: 18px;
}

.htc-tick {
  position: absolute;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  top: 0;
  line-height: 1;
}

.htc-month-label {
  flex: 1;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  text-align: center;
}

.htc-caption {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-top: 16px;
  display: block;
}

/* Mobile: label stacks above bar */
@media (max-width: 640px) {
  .htc-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 14px;
  }
  .htc-label {
    width: auto;
    padding-right: 0;
    margin-bottom: 4px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .htc-track {
    width: 100%;
    flex: none;
  }
  .htc-axis-row  { flex-direction: column; }
  .htc-axis-spacer { display: none; }
  .htc-axis      { width: 100%; flex: none; }
  .htc-month-label { width: 100%; }
}

/* Reduced-motion: no transitions (JS handles static layout) */
@media (prefers-reduced-motion: reduce) {
  .htc-bar,
  .htc-label { transition: none !important; }
}
