/* =====================================================
   Qubelis — site stylesheet
   ===================================================== */

:root {
  --navy:    #0F172A;
  --navy-2:  #1E293B;
  --navy-3:  #334155;
  --slate-3: #CBD5E1;
  --slate-4: #94A3B8;
  --slate-5: #64748B;
  --white:   #FFFFFF;
  --amber:   #F59E0B;
  --cyan:    #06B6D4;
  --magenta: #EC4899;
  --maxw:    1180px;
  --gutter:  clamp(20px, 4vw, 40px);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--white);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===== HEADER ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.logo .wordmark { font-weight: 700; font-size: 18px; letter-spacing: 2.5px; color: var(--white); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a.link { font-size: 14px; color: var(--slate-3); transition: color 120ms ease; }
.nav a.link:hover { color: var(--white); }
.nav a.link.active { color: var(--white); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  transition: all 150ms ease; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--white); color: var(--navy); }
.btn-primary:hover { background: var(--slate-3); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.18); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.04); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
@media (max-width: 760px) { .nav .link { display: none; } }

/* ===== HERO (landing) ==================================== */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--cyan); }
.hero .lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--slate-3);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 480px; margin-left: auto; }
.hero-visual svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .hero-visual { max-width: 360px; margin: 0 auto; } }

.constellation .core path  { animation: pulse 3.2s ease-in-out infinite; }
.constellation .sat-1 path { animation: pulse 4s ease-in-out infinite; animation-delay: -0.4s; }
.constellation .sat-2 path { animation: pulse 4s ease-in-out infinite; animation-delay: -1.2s; }
.constellation .sat-3 path { animation: pulse 4s ease-in-out infinite; animation-delay: -2.0s; }
.constellation .sat-4 path { animation: pulse 4s ease-in-out infinite; animation-delay: -2.8s; }
.constellation .link    { animation: linkFade 4s ease-in-out infinite; }
.constellation .link.l1 { animation-delay: -0.4s; }
.constellation .link.l2 { animation-delay: -1.2s; }
.constellation .link.l3 { animation-delay: -2.0s; }
.constellation .link.l4 { animation-delay: -2.8s; }
@keyframes pulse    { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes linkFade { 0%,100% { opacity: 0.08; } 50% { opacity: 0.28; } }
@media (prefers-reduced-motion: reduce) { .constellation * { animation: none !important; } }

/* ===== SECTION BASE ====================================== */
section { padding: clamp(70px, 9vw, 120px) 0; }
section h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 720px;
}
section .section-lede {
  font-size: 18px;
  color: var(--slate-3);
  max-width: 620px;
  margin-bottom: 56px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

/* ===== PRODUCTS ========================================== */
.products { background: linear-gradient(180deg, var(--navy) 0%, #0B1224 100%); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: border-color 200ms ease, background 200ms ease;
}
.product-card:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}
.product-card .product-mark {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: 2px;
}
.product-card .product-mark svg { width: 28px; height: 28px; }
.product-card .status {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px;
}
.product-card.discovery .status { background: rgba(245,158,11,0.12); color: var(--amber); }
.product-card.sourcing  .status { background: rgba(6,182,212,0.12);  color: var(--cyan);  }
.product-card .name { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; }
.product-card .desc { color: var(--slate-3); font-size: 16px; }
.product-card .meta {
  display: flex; gap: 16px; font-family: var(--font-mono);
  font-size: 13px; color: var(--slate-4);
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06);
}
.product-card .cta { margin-top: auto; padding-top: 8px; }

/* ===== DATA FOUNDATION =================================== */
.data-foundation { background: var(--navy); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
@media (max-width: 760px) { .stats-row { grid-template-columns: 1fr; } }
.stat {
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}
.stat .num {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--white) 0%, var(--slate-3) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label { font-size: 14px; color: var(--slate-3); }
.verify-note { max-width: 720px; color: var(--slate-3); font-size: 15px; }
.verify-note code {
  font-family: var(--font-mono); font-size: 13px;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px; border-radius: 4px; color: var(--white);
}

/* ===== HOW IT WORKS ====================================== */
.how { background: linear-gradient(180deg, #0B1224 0%, var(--navy) 100%); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px 24px; border-left: 2px solid rgba(255,255,255,0.1); position: relative; }
.step .num {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  color: var(--cyan); margin-bottom: 12px;
}
.step .title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.step .body { color: var(--slate-3); font-size: 15px; }

/* ===== FOR WHOM ========================================== */
.for-whom { background: var(--navy); }
.regions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.region {
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: 1px;
  color: var(--white);
}
.for-whom p { color: var(--slate-3); max-width: 680px; font-size: 17px; }

/* ===== PRICING =========================================== */
.pricing { background: linear-gradient(180deg, var(--navy) 0%, #0B1224 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }
.tier {
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  display: flex; flex-direction: column; gap: 16px;
}
.tier.featured { border-color: var(--amber); background: rgba(245,158,11,0.04); }
.tier .tier-name {
  font-family: var(--font-mono); font-size: 13px;
  font-weight: 600; letter-spacing: 2px;
  color: var(--slate-3);
}
.tier.featured .tier-name { color: var(--amber); }
.tier .price { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.tier .price small { font-size: 15px; font-weight: 400; color: var(--slate-4); }
.tier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tier li { font-size: 14px; color: var(--slate-3); padding-left: 22px; position: relative; }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 8px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.tier .cta { margin-top: auto; }
.tier .cta .btn { width: 100%; justify-content: center; }

/* ===== FOUNDING 100 ====================================== */
.founding { background: var(--navy); position: relative; overflow: hidden; }
.founding::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(6,182,212,0.08), transparent 60%);
  pointer-events: none;
}
.founding .container { position: relative; }
.founding-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: start;
}
@media (max-width: 880px) { .founding-grid { grid-template-columns: 1fr; gap: 32px; } }
.founding .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(6,182,212,0.12);
  color: var(--cyan);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.founding .badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.founding-perks { list-style: none; padding: 0; margin: 28px 0 0 0; display: flex; flex-direction: column; gap: 18px; }
.founding-perks li { padding-left: 36px; position: relative; font-size: 15px; color: var(--slate-3); }
.founding-perks li strong { color: var(--white); display: block; margin-bottom: 4px; font-weight: 600; }
.founding-perks li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px;
  border: 1.5px solid var(--cyan);
  transform: rotate(45deg);
  border-radius: 2px;
}

.form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px 28px;
}
.form-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.form-card p.note { font-size: 14px; color: var(--slate-3); margin-bottom: 20px; }
.form-row { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.form-row input, .form-row select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-sans); font-size: 15px;
  transition: border-color 150ms ease;
}
.form-row input::placeholder { color: var(--slate-5); }
.form-row input:focus, .form-row select:focus { outline: none; border-color: var(--cyan); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-card .legal { font-size: 12px; color: var(--slate-5); margin-top: 12px; }
.form-card .legal a { color: var(--slate-3); text-decoration: underline; }

/* ===== ABOUT — HERO ====================================== */
.about-hero {
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
  text-align: center;
  position: relative; overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(6,182,212,0.08), transparent 60%);
  pointer-events: none;
}
.about-hero .container { position: relative; }
.about-hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.05;
  margin-bottom: 20px;
}
.about-hero h1 em {
  display: block;
  font-style: italic;
  color: var(--cyan);
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 38px);
  letter-spacing: -0.01em;
  margin-top: 12px;
}
.about-hero .lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--slate-3);
  max-width: 680px;
  margin: 32px auto 0;
  line-height: 1.7;
}

/* ===== ABOUT — ORIGIN ==================================== */
.s-block { padding: clamp(70px, 9vw, 110px) 0; }
.origin { background: linear-gradient(180deg, var(--navy) 0%, #0B1224 100%); }
.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 64px;
  align-items: start;
}
.origin-sidebar { position: sticky; top: 110px; }
.origin-sidebar h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 28px; }
.pull-quote {
  font-family: var(--font-mono);
  font-size: 14px; font-style: italic;
  color: var(--slate-3);
  border-left: 2px solid var(--cyan);
  padding-left: 18px;
  line-height: 1.6;
}
.origin-body p {
  font-size: 17px;
  color: var(--slate-3);
  line-height: 1.85;
  margin-bottom: 24px;
}
.origin-body p strong { color: var(--white); font-weight: 600; }
.origin-body p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .origin-grid { grid-template-columns: 1fr; gap: 36px; }
  .origin-sidebar { position: static; }
}

/* ===== ABOUT — FOUNDER =================================== */
.founder { background: var(--navy); }
.founder-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}
.founder-photo {
  width: 132px; height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.founder-name { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.founder-title {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}
.founder-bio p { font-size: 16px; color: var(--slate-3); line-height: 1.8; margin-bottom: 16px; }
.founder-bio p:last-child { margin-bottom: 0; }
.founder-flags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.flag-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 13px; color: var(--slate-3);
}
@media (max-width: 760px) {
  .founder-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .founder-photo { width: 100px; height: 100px; }
}

/* ===== ABOUT — METRICS =================================== */
.metrics { background: linear-gradient(180deg, #0B1224 0%, var(--navy) 100%); }
.metrics-header { text-align: center; margin-bottom: 56px; }
.metrics-header .eyebrow { display: inline-block; }
.metrics-header h2 { margin-left: auto; margin-right: auto; }
.metrics-header p { color: var(--slate-3); font-size: 17px; max-width: 540px; margin: 0 auto; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
}
.metric-num {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--white) 0%, var(--slate-3) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric-label { font-size: 13px; color: var(--slate-3); line-height: 1.5; }
@media (max-width: 880px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .metrics-grid { grid-template-columns: 1fr; } }

/* ===== TRUST STRIP ======================================= */
.trust {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #0B1224;
}
.trust-row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 12px 32px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--slate-3); letter-spacing: 0.5px;
}
.trust-row .dot { color: var(--slate-5); }

/* ===== FINAL CTA ========================================= */
.final-cta { background: var(--navy); text-align: center; }
.final-cta h2 { margin-left: auto; margin-right: auto; max-width: 740px; }
.final-cta .lede {
  color: var(--slate-3);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 18px;
}
.final-cta .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ===== SITE FOOTER ======================================= */
.site-footer {
  padding: 60px 0 36px;
  background: #0B1224;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--slate-4);
  margin: 0 0 16px;
}
.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(--slate-3); }
.footer-col a:hover { color: var(--white); }
.footer-tagline { font-size: 14px; color: var(--slate-3); max-width: 320px; margin-top: 16px; line-height: 1.6; }
.footer-hint {
  font-size: 13px; color: var(--slate-5);
  font-style: italic;
  max-width: 760px;
  margin: 32px 0;
  padding: 16px 20px;
  border-left: 2px solid rgba(236,72,153,0.4);
  background: rgba(236,72,153,0.04);
  border-radius: 4px;
}
.footer-hint a { color: var(--slate-3); text-decoration: underline; }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: var(--slate-5);
}

/* ============================================================
   PRICING TOGGLE (Monthly/Yearly) — added 2026-05-10
   ============================================================ */

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 4px;
  margin: 24px 0 40px;
}

.pricing-toggle .toggle-btn {
  background: transparent;
  border: none;
  color: var(--slate-3);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pricing-toggle .toggle-btn:hover {
  color: #fff;
}

.pricing-toggle .toggle-btn.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.pricing-toggle .save-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Show/Hide based on data-billing attribute */
.pricing[data-billing="monthly"] .price-yearly,
.pricing[data-billing="yearly"]  .price-monthly {
  display: none;
}

.pricing[data-billing="yearly"] .price-yearly {
  display: inline;
}

/* CTA buttons: same logic */
.pricing[data-billing="monthly"] .cta a.price-yearly,
.pricing[data-billing="yearly"]  .cta a.price-monthly {
  display: none;
}

/* "Coming Soon" disabled-look state */
.btn.btn-secondary[href="#founding"] {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn.btn-secondary[href="#founding"]:hover {
  opacity: 0.85;
}

/* ============================================================
   PRICING PAGE SECTIONS — added 2026-05-11
   ============================================================ */

/* Pricing-Hero (above the tier cards) */
.pricing-hero {
  padding: 80px 0 40px;
  background: linear-gradient(180deg, var(--navy) 0%, #0B1224 100%);
}
.pricing-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 12px 0 20px;
}
.pricing-hero h1 .accent { color: var(--cyan); }
.pricing-hero .lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate-3);
  max-width: 680px;
}

/* ===== WALLET EXPLAINER ===== */
.wallet-explainer {
  padding: 80px 0;
  background: linear-gradient(180deg, #0B1224 0%, var(--navy) 100%);
}
.wallet-explainer h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 12px 0 16px;
}
.wallet-explainer .section-lede {
  font-size: 17px;
  color: var(--slate-3);
  max-width: 760px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.wallet-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
}

.wallet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.wallet-table thead th {
  text-align: left;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  color: var(--slate-3);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.wallet-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--slate-2);
  vertical-align: top;
}

.wallet-table tbody tr:last-child td {
  border-bottom: none;
}

.wallet-table tbody td strong {
  color: #4ade80;
  font-weight: 600;
}

.wallet-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--slate-4);
  font-style: italic;
  max-width: 760px;
}

/* ===== FEATURE COMPARISON ===== */
.feature-comparison {
  padding: 80px 0;
  background: var(--navy);
}
.feature-comparison h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 12px 0 32px;
}

.comparison-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 600px;
}

.comparison-table thead th {
  text-align: left;
  padding: 18px 20px;
  background: rgba(255,255,255,0.04);
  color: var(--slate-3);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.comparison-table thead th.featured {
  color: var(--amber);
}

.comparison-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--slate-2);
}

.comparison-table tbody td.featured {
  background: rgba(245, 158, 11, 0.04);
  color: var(--slate-1);
  font-weight: 500;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody td:first-child {
  color: var(--slate-2);
  font-weight: 400;
}

.comparison-table tbody td:not(:first-child) {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ===== PRICING FAQ ===== */
.pricing-faq {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--navy) 0%, #0B1224 100%);
}
.pricing-faq h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 12px 0 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1080px;
}

@media (max-width: 760px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
}

.faq-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-1);
  margin: 0 0 12px;
  line-height: 1.4;
}

.faq-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-3);
  margin: 0;
}

.faq-item p a {
  color: var(--cyan);
  text-decoration: none;
}

.faq-item p a:hover {
  text-decoration: underline;
}

/* ============================================================
   LEGAL PAGES (terms, privacy, imprint) — added 2026-05-11
   ============================================================ */

.legal-page {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--navy) 0%, #0B1224 100%);
  min-height: 70vh;
}

.legal-page .container {
  max-width: 820px;
}

.legal-page .eyebrow {
  margin-bottom: 12px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.legal-page .legal-updated {
  font-size: 14px;
  color: var(--slate-4);
  font-style: italic;
  margin: 0 0 40px;
}

.legal-intro {
  background: rgba(6, 182, 212, 0.04);
  border-left: 3px solid var(--cyan);
  padding: 20px 24px;
  margin: 24px 0 48px;
  border-radius: 0 8px 8px 0;
}

.legal-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-2);
}

.legal-section {
  margin: 0 0 40px;
}

.legal-section h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--slate-1);
  font-weight: 600;
}

.legal-section h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 24px 0 12px;
  color: var(--slate-1);
  font-weight: 600;
}

.legal-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate-2);
  margin: 0 0 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal-section li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate-2);
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover {
  text-decoration: none;
}

.legal-section strong {
  color: var(--slate-1);
  font-weight: 600;
}

.legal-section code {
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--cyan);
}

/* Wallet table inside terms.php */
.legal-section .wallet-table-wrap {
  margin: 20px 0 24px;
}

/* Highlighted clause (used for the wallet section) */
.legal-clause-highlight {
  background: rgba(34, 197, 94, 0.04);
  border-left: 3px solid #4ade80;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.legal-clause-highlight p:first-child {
  margin-top: 0;
}

.legal-clause-highlight p:last-child {
  margin-bottom: 0;
}

/* Definition list style for Imprint */
.legal-section dl {
  margin: 0 0 16px;
}

.legal-section dt {
  font-weight: 600;
  color: var(--slate-1);
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.legal-section dd {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--slate-2);
}

/* Contact box at bottom */
.legal-contact-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0 0;
}

.legal-contact-box h3 {
  margin-top: 0;
}

/* ============================================================
   LEGAL PAGES (terms, privacy, imprint) — added 2026-05-11
   ============================================================ */

.legal-page {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--navy) 0%, #0B1224 100%);
  min-height: 70vh;
}

.legal-page .container {
  max-width: 820px;
}

.legal-page .eyebrow {
  margin-bottom: 12px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.legal-page .legal-updated {
  font-size: 14px;
  color: var(--slate-4);
  font-style: italic;
  margin: 0 0 40px;
}

.legal-intro {
  background: rgba(6, 182, 212, 0.04);
  border-left: 3px solid var(--cyan);
  padding: 20px 24px;
  margin: 24px 0 48px;
  border-radius: 0 8px 8px 0;
}

.legal-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-2);
}

.legal-section {
  margin: 0 0 40px;
}

.legal-section h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--slate-1);
  font-weight: 600;
}

.legal-section h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 24px 0 12px;
  color: var(--slate-1);
  font-weight: 600;
}

.legal-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate-2);
  margin: 0 0 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

.legal-section li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate-2);
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover {
  text-decoration: none;
}

.legal-section strong {
  color: var(--slate-1);
  font-weight: 600;
}

.legal-section code {
  background: rgba(255,255,255,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--cyan);
}

/* Wallet table inside terms.php */
.legal-section .wallet-table-wrap {
  margin: 20px 0 24px;
}

/* Highlighted clause (used for the wallet section) */
.legal-clause-highlight {
  background: rgba(34, 197, 94, 0.04);
  border-left: 3px solid #4ade80;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
}

.legal-clause-highlight p:first-child {
  margin-top: 0;
}

.legal-clause-highlight p:last-child {
  margin-bottom: 0;
}

/* Definition list style for Imprint */
.legal-section dl {
  margin: 0 0 16px;
}

.legal-section dt {
  font-weight: 600;
  color: var(--slate-1);
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.legal-section dd {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--slate-2);
}

/* Contact box at bottom */
.legal-contact-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0 0;
}

.legal-contact-box h3 {
  margin-top: 0;
}

/* ============================================================
   THANK-YOU PAGE (post-payment) — added 2026-05-11
   ============================================================ */

.thank-you-page {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--navy) 0%, #0B1224 100%);
  min-height: 70vh;
  text-align: center;
}

.thank-you-page .container {
  max-width: 920px;
}

.thank-you-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.thank-you-page h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.thank-you-page h1 em {
  font-style: italic;
  color: var(--cyan);
}

.thank-you-page .lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate-3);
  max-width: 560px;
  margin: 0 auto 56px;
}

.thank-you-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: left;
}

@media (max-width: 760px) {
  .thank-you-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.thank-you-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
}

.thank-you-step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.thank-you-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-1);
  margin: 0 0 8px;
  line-height: 1.3;
}

.thank-you-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-3);
  margin: 0;
}

.thank-you-cta {
  margin-top: 16px;
}

.thank-you-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--slate-4);
}

.thank-you-note a {
  color: var(--cyan);
  text-decoration: none;
}

.thank-you-note a:hover {
  text-decoration: underline;
}
