:root {
  --bg: #000000;
  --bg-surface: #0a0a0f;
  --bg-card: #0d1117;
  --border: rgba(0, 255, 136, 0.15);
  --border-dim: rgba(255, 255, 255, 0.07);
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.6);
  --text: #ffffff;
  --text-main: #ffffff;
  --text-muted: rgba(255,255,255,0.90);
  --text-dim: rgba(255,255,255,0.80);
  --font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", monospace;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 2px;
  --radius-sm: 2px;
}

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

/* ── Global grid mesh overlay (horizontal lines only) ─────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 63px,
      rgba(0, 255, 136, 0.08) 63px,
      rgba(0, 255, 136, 0.08) 64px
    );
}

/* ── Single full-page tint — one layer only ───────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.65);
}

/* ── Qore line_page — HIDDEN (removed per design requirement) ─────────── */
span.line_page,
.line_page,
.line_section {
  display: none !important;
  visibility: hidden !important;
  border: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* ── Qore br-line — full-width 1px horizontal section dividers ─────────── */
span.br-line,
.br-line {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(0, 255, 136, 0.18);
  pointer-events: none;
}

.br-line--compact {
  margin-bottom: 1.25rem;
}

.br-line--center {
  margin: 2rem auto;
  max-width: 200px;
}

/* ── Qore bg-texture — grain noise overlay for depth ────────────────────── */
.texture_page {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
  opacity: 1;
}

html, body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#wrapper {
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Qore section counter pattern (sect-header / s-meta) ─────────────────── */
.sect-header {
  margin-bottom: 0.75rem;
}

p.s-meta {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent, #00ff88);
  letter-spacing: 0.1em;
  background: rgba(0, 255, 136, 0.06);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 4px;
  padding: 0.15em 0.5em;
  display: inline-block;
  margin-bottom: 0.75rem;
}

p.s-meta span {
  color: var(--accent, #00ff88);
}

.mono { font-family: var(--font-mono); }

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
  padding: 0 2rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  text-decoration: none;
  white-space: nowrap;
}

.nav-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.7);
  animation: nav-pulse 777ms ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes nav-pulse {
  0%, 100% { opacity: 0.55; box-shadow: 0 0 6px rgba(0, 255, 136, 0.5); }
  50% { opacity: 1; box-shadow: 0 0 14px rgba(0, 255, 136, 0.9); }
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-logo-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.7);
  animation: nav-pulse 777ms ease-in-out infinite;
  vertical-align: middle;
  margin: 0 0.25em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}

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

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  text-decoration: none !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
}

.nav-open-science {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(0,255,136,0.35);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav-open-science:hover { opacity: 1; }

.nav-zeqond {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.nav-zeqond span { color: var(--accent-dim); }

/* ── Layout ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── ZEQ break inner — cap cqw container so numbers stay sane on 4K ──── */
.zeq-break > div {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page {
  padding: 1.25rem 0 2rem;
}

/* ── Qore hero-video layer ───────────────────────────────── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-video .orther-overlay {
  display: none !important;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.2rem;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-formula {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.hero-formula-labels {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--accent-dim);
  opacity: 0.8;
}

/* ── HulyaSync Panel ──────────────────────────────────── */
.hulya-sync-panel {
  background: rgba(0, 255, 136, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
}

.hulya-sync-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.hulya-sync-grid {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hulya-sync-stat {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 0 1.5rem;
}

.hulya-sync-stat:first-child { padding-left: 0; }

.hulya-sync-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hulya-sync-name {
  margin-top: 0.35rem;
}

.hulya-sync-divider {
  width: 1px;
  height: 50px;
  background: var(--border-dim);
  flex-shrink: 0;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem 2.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  letter-spacing: 0.01em;
}

/* ensure button elements using CTA classes reset browser defaults */
button.sp-btn-primary,
button.sp-btn-secondary,
button.btn-primary,
button.btn-secondary,
button.btn-outline {
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
}

/* pricing card CTA button — matches sp-btn-primary sizing */
.sp-btn-price {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.sp-btn-price:hover { background: #00ff88; }

/* code-viewer toggle button — green ghost */
.btn-code-viewer {
  padding: 9px 16px;
  border-radius: 2px;
  border: 1px solid rgba(0,255,136,0.3);
  background: rgba(0,255,136,0.07);
  color: #00ff88;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-code-viewer:hover {
  background: rgba(0,255,136,0.14);
  border-color: rgba(0,255,136,0.55);
}

/* full-width form submit CTA */
.btn-submit-cta {
  width: 100%;
  padding: 0.8rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit-cta:hover { background: #00ff88; }

/* ── Shared component tokens ────────────────────────────── */

/* domain/physics tags/chips */
.tag-domain {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  display: inline-block;
}

/* green accent info box */
.info-box-accent {
  background: rgba(0,255,136,0.03);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

/* HTTP method badge */
.badge-method {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: var(--accent);
  background: rgba(0,255,136,0.1);
}

/* Auth badge (bordered) */
.badge-auth {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--accent);
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.2);
}

/* POST method badge — amber */
.badge-post {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  color: #ffd700;
  background: rgba(255,215,0,0.1);
}

/* Public (no auth required) badge */
.badge-public,
.tool-badge-pub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: #00d4ff;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.18);
}

/* Auth badge alias for tool-badge-auth */
.tool-badge-auth {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--accent);
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.2);
}

.btn-primary,
.btn.btn-primary,
a.btn-primary,
a.btn.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover,
.btn.btn-primary:hover,
a.btn-primary:hover,
a.btn.btn-primary:hover {
  background: #1aff96;
  text-decoration: none;
  color: var(--bg);
  box-shadow: 0 0 28px rgba(0,255,136,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(0, 255, 136, 0.05);
  text-decoration: none;
}

.btn--lg {
  font-size: 1rem;
  padding: 1rem 2.6rem;
}

.btn--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn--full {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.btn-secondary,
.btn.btn-secondary,
a.btn-secondary,
a.btn.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover,
.btn.btn-secondary:hover,
a.btn-secondary:hover,
a.btn.btn-secondary:hover {
  border-color: var(--border-dim);
  color: var(--text);
  text-decoration: none;
}

/* ── Cards ────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.card-accent {
  border-color: var(--border);
  background: rgba(0, 255, 136, 0.03);
}

.card-hover {
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card-hover:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 255, 136, 0.08);
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-dim);
  padding: 2.5rem 2rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer a { color: var(--accent-dim); }

/* ── Utilities ────────────────────────────────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.78rem; }
.font-mono { font-family: var(--font-mono); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }

/* ── Mobile breakpoints ───────────────────────────────── */
@media (max-width: 768px) {
  .nav {
    padding: 0 1rem;
    gap: 0.5rem;
  }
  .nav-links {
    display: none;
  }
  .nav-zeqond {
    display: none;
  }
  .hero {
    padding: 4rem 1.5rem 3rem;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }
  .hero-sub {
    font-size: 1rem;
  }
  .hero-formula {
    font-size: 0.75rem;
    padding: 0.75rem 1rem;
  }
  .hero-formula-labels {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  .container {
    padding: 0 1.25rem;
  }
  .page {
    padding: 2.5rem 0 4rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hulya-sync-grid {
    flex-direction: column;
    gap: 1.25rem;
  }
  .hulya-sync-divider {
    width: 100%;
    height: 1px;
  }
  .hulya-sync-stat {
    padding: 0;
    text-align: left;
  }
  .card {
    padding: 1.25rem;
  }
  .footer {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.8rem;
  }
}

/* ── Social Proof Strip ───────────────────────────────── */
.social-proof-strip {
  padding: 0.75rem 2rem;
  margin-bottom: 0;
}

.sp-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(0, 255, 136, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 2rem;
}

.sp-stat {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 0.5rem 1rem;
}

.sp-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.sp-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sp-sublabel {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(0,255,136,0.45);
  margin-top: 0.2rem;
  letter-spacing: 0.06em;
  font-style: italic;
}

.sp-divider {
  width: 1px;
  height: 40px;
  background: var(--border-dim);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .sp-grid {
    gap: 1rem;
    padding: 1rem;
  }
  .sp-divider { display: none; }
  .sp-stat {
    min-width: 80px;
    padding: 0.4rem 0.6rem;
  }
}

/* ── Waitlist Section ─────────────────────────────────── */
.waitlist-section {
  margin-top: 4rem;
  text-align: center;
  padding: 3.5rem 2rem;
  background: rgba(0, 255, 136, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.waitlist-badge {
  display: inline-block;
  background: rgba(0, 255, 136, 0.12);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.waitlist-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.waitlist-sub {
  font-size: 0.95rem;
  max-width: 440px;
  margin: 0 auto 2rem;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}

.waitlist-input {
  flex: 1;
  min-width: 200px;
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  transition: border-color 0.2s;
  outline: none;
}

.waitlist-input:focus {
  border-color: var(--accent);
}

.waitlist-input::placeholder {
  color: var(--text-dim);
}

.waitlist-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.waitlist-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.waitlist-msg {
  min-height: 1.4rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-family: var(--font-mono);
}

.waitlist-msg-success {
  color: var(--accent);
}

.waitlist-msg-error {
  color: #ff6b6b;
}

/* ── Language selector ─────────────────────────────────────── */
.zeq-lang-selector {
  position: relative;
  display: flex;
  align-items: center;
}

.zeq-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 1px solid rgba(0,255,136,0.2);
  color: var(--text-muted);
  padding: 0.3rem 0.55rem;
  border-radius: 7px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.zeq-lang-btn:hover {
  border-color: rgba(0,255,136,0.5);
  color: var(--accent);
}

.zeq-lang-chevron {
  font-size: 0.65rem;
  opacity: 0.55;
  font-family: var(--font-mono);
}

.zeq-lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #0d1117;
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 10px;
  padding: 0.35rem;
  min-width: 190px;
  max-height: 340px;
  overflow-y: auto;
  z-index: 2000;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  scrollbar-width: thin;
  scrollbar-color: rgba(0,255,136,0.2) transparent;
}

.zeq-lang-dropdown.zeq-lang-open { display: block; }

.zeq-lang-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  background: none;
  border: none;
  padding: 0.42rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--font-body);
  text-align: left;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}

.zeq-lang-item:hover {
  background: rgba(0,255,136,0.07);
  color: var(--text);
}

.zeq-lang-item.zeq-lang-active { color: var(--accent); }

.zeq-lang-item-flag { font-size: 1rem; flex-shrink: 0; }

/* ── Cookie notice ─────────────────────────────────────────── */
#zeq-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #000;
  border-top: 1px solid rgba(0,255,136,0.2);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  flex-wrap: wrap;
}

#zeq-cookie-bar.zeq-cookie-visible {
  transform: translateY(0);
}

#zeq-cookie-bar a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#zeq-cookie-dismiss {
  background: #00ff88;
  border: 1px solid #00ff88;
  color: #000;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

#zeq-cookie-dismiss:hover {
  opacity: 0.85;
}


/* ── Problem / Solution Section ──────────────────────────────────────────── */
.sp-problem-solution {
  padding: 4rem 0;
}
.sp-ps-inner {
  max-width: 900px;
}
.sp-ps-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-muted, #9ca3af);
  margin-bottom: 2.5rem;
}
.sp-ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 768px) {
  .sp-ps-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.sp-ps-heading {
  font-size: 0.7rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, #00ff88);
  opacity: 0.7;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}
.sp-ps-body {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.7;
  color: var(--text-muted, #9ca3af);
  margin: 0 0 1.5rem 0;
}
.sp-ps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sp-ps-list li {
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  line-height: 1.6;
  color: var(--text-muted, #9ca3af);
  padding-left: 1.2rem;
  position: relative;
}
.sp-ps-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent, #00ff88);
  font-weight: 700;
}
.sp-ps-list li strong {
  color: #e2e8f0;
}
.sp-ps-outcome {
  font-size: clamp(0.85rem, 1.4vw, 0.9rem);
  line-height: 1.65;
  color: var(--text-muted, #9ca3af);
  font-style: italic;
  opacity: 0.85;
  margin: 0;
}

/* ── Homepage section breathing room ────────────────────────────────────── */
.section-problem,
.section-discovery,
.section-architecture,
.section-physics-demo,
.section-benefit,
.section-compare,
.section-five-properties,
.section-pricing,
.section-ecosystem,
.section-solar-demo,
.section-cta {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* ── Green buttons always use black text ─────────────────────────────────── */
a.tf-btn,
button.tf-btn,
.tf-btn,
a[class*="btn-primary"],
button[class*="btn-primary"],
.sl-nav-cta.btn,
a.sp-btn-price,
button.sp-btn-price,
.sp-btn-price {
  color: #000000 !important;
}
a.tf-btn:hover,
button.tf-btn:hover,
.tf-btn:hover,
.sp-btn-price:hover {
  color: #000000 !important;
}

/* ── Green arrow on white text links so users know they're clickable ────── */
/* ── Catch-all: inline green background always gets black text ───────────── */
[style*="background:#00ff88"],
[style*="background: #00ff88"] {
  color: #000000 !important;
}

/* ── ZEQ Section Breaks ─────────────────────────────────────────────────── */
.zeq-break {
  width: 100%;
  margin-top: 4rem;
  border-top: 2px solid rgba(0,255,136,0.55);
  border-bottom: 1px solid rgba(0,255,136,0.12);
  padding: 3rem 0;
}

/* Let stars show through inner hero sections */
.qz-hero {
  background: transparent !important;
}

a[style*="color:#fff"]:not([class*="btn"]):not([class*="tf-"])::after,
a[style*="color: #fff"]:not([class*="btn"]):not([class*="tf-"])::after,
a[style*="color:white"]:not([class*="btn"]):not([class*="tf-"])::after,
a[style*="color: white"]:not([class*="btn"]):not([class*="tf-"])::after,
.sl-nav-main li > a::after,
.sl-mobile-nav li > a:not(.sl-nav-cta):not(.sl-nav-brand)::after {
  content: ' →';
  color: var(--accent);
  font-size: 0.8em;
  font-weight: 400;
}
