:root {
  --bg: #1a1d27;
  --surface: #22262f;
  --surface-hover: #2a2f3a;
  --border: rgba(255,255,255,0.10);
  --text: #e8eaf0;
  --text-dim: #8b90a6;
  --accent: #8b5cf6;
  --accent-glow: rgba(139,92,246,0.15);
  --accent2: #3b82f6;
  --accent3: #f0c43b;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Noise overlay (disabled for uniform bg) ── */

/* ── Ambient glow blobs (disabled for uniform bg) ── */
.glow-orb {
  display: none;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px) saturate(1.8);
  background: rgba(26,29,39,0.75);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  display: block;
}

/* Nav menu wrapper — transparent on desktop */
.nav-menu { display: contents; }

/* Nav right group (button + hamburger) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--text); }

.nav-mobile-cta { display: none; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(139,92,246,0.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  animation: fade-up 0.8s ease both;
}
.hero-badge .badge-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(59,240,138,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.8rem;
  animation: fade-up 0.8s 0.15s ease both;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-logo {
  height: clamp(5rem, 12vw, 9rem);
  width: auto;
  display: block;
  margin: 0.5rem auto 0;
}

.hero-sub {
  max-width: 560px;
  font-size: 1.25rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 400;
  animation: fade-up 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  animation: fade-up 0.8s 0.45s ease both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Floating code terminal in hero ── */
.hero-terminal {
  margin-top: 4rem;
  width: min(90%, 680px);
  animation: fade-up 0.8s 0.6s ease both;
}

.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-align: left;
  box-shadow: 0 20px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.04);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title {
  margin-left: 0.8rem;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.terminal-body {
  padding: 1.4rem 1.5rem;
  line-height: 1.9;
  overflow: hidden;
}
.terminal-body .line { opacity: 0; animation: type-line 0.4s ease forwards; }
.terminal-body .line:nth-child(1) { animation-delay: 1s; }
.terminal-body .line:nth-child(2) { animation-delay: 1.4s; }
.terminal-body .line:nth-child(3) { animation-delay: 1.8s; }
.terminal-body .line:nth-child(4) { animation-delay: 2.2s; }
.terminal-body .line:nth-child(5) { animation-delay: 2.6s; }
.terminal-body .line:nth-child(6) { animation-delay: 3s; }
.terminal-body .line:nth-child(7) { animation-delay: 3.4s; }

@keyframes type-line {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.t-prompt { color: var(--accent); }
.t-method { color: #f0c43b; }
.t-url { color: #7aa2f7; }
.t-string { color: #9ece6a; }
.t-key { color: #bb9af7; }
.t-num { color: #ff9e64; }
.t-comment { color: #565f89; font-style: italic; }
.t-status { color: var(--accent); }

/* ── Stats bar ── */
.stats-bar {
  padding: 4rem 3rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat-num .accent { color: var(--accent); }
.stat-label {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Section heading ── */
section {
  position: relative;
  z-index: 1;
  padding: 7rem 2rem;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-align: center;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-desc {
  max-width: 540px;
  margin: 0 auto 4rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Features grid ── */
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(59,240,138,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: rgba(59,240,138,0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.fi-green { background: rgba(59,240,138,0.1); color: var(--accent); }
.fi-blue { background: rgba(59,130,246,0.1); color: var(--accent2); }
.fi-gold { background: rgba(240,196,59,0.1); color: var(--accent3); }
.fi-purple { background: rgba(187,154,247,0.1); color: #bb9af7; }
.fi-red { background: rgba(247,118,142,0.1); color: #f7768e; }
.fi-cyan { background: rgba(125,207,255,0.1); color: #7dcfff; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── API Catalog grid ── */
.api-catalog-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
}

.api-catalog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.api-catalog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(139,92,246,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.api-catalog-card:hover::before { opacity: 1; }
.api-catalog-card:hover {
  border-color: rgba(139,92,246,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.api-catalog-card.coming-soon {
  opacity: 0.55;
}
.api-catalog-card.coming-soon:hover {
  opacity: 0.7;
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.api-catalog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.api-catalog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.api-catalog-card p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}

.api-catalog-stat {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ── Endpoints showcase ── */
.endpoints-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.endpoint-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: all 0.3s;
  cursor: default;
}
.endpoint-row:hover {
  border-color: rgba(59,240,138,0.12);
  background: var(--surface-hover);
}

.method-badge {
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 56px;
  text-align: center;
}
.method-get { background: rgba(59,240,138,0.12); color: var(--accent); }
.method-post { background: rgba(59,130,246,0.12); color: var(--accent2); }
.method-put { background: rgba(240,196,59,0.12); color: var(--accent3); }
.method-delete { background: rgba(247,118,142,0.12); color: #f7768e; }

.endpoint-path { color: var(--text); flex: 1; }
.endpoint-desc { color: var(--text-dim); font-family: var(--font-display); font-size: 0.82rem; }
.endpoint-latency {
  font-size: 0.75rem;
  color: var(--accent);
  white-space: nowrap;
}

/* ── Pricing ── */
.pricing-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 60px var(--accent-glow);
  position: relative;
}
.price-card.featured::after {
  content: 'POPULAR';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 100px;
  letter-spacing: 0.08em;
}

.price-tier {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.price-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}
.price-amount span { font-size: 1rem; color: var(--text-dim); font-weight: 400; }
.price-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}
.price-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.price-features li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.price-card .btn-primary,
.price-card .btn-secondary {
  width: 100%;
  justify-content: center;
}

/* ── Code example section ── */
.code-section {
  max-width: 900px;
  margin: 0 auto;
}

.code-tabs {
  display: flex;
  gap: 0;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}
.code-tab {
  padding: 0.7rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: all 0.2s;
}
.code-tab.active {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.code-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 14px 14px 14px;
  padding: 2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.9;
  overflow-x: auto;
  display: none;
}
.code-block.active { display: block; }

/* ── Stacked code examples with global language toggle ── */
.code-lang-toggle {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.lang-btn {
  padding: 0.5rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}
.lang-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.code-example { margin-bottom: 1.5rem; }
.code-example:last-child { margin-bottom: 0; }

.code-example-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.code-snippet {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.9;
  overflow-x: auto;
  margin: 0;
  white-space: pre;
}
.code-snippet.active { display: block; }

/* ── CTA ── */
.cta-section {
  text-align: center;
  padding: 8rem 2rem;
}
.cta-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.cta-section p {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; }

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}
footer a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 2rem; }

/* ── Subpage hero (shorter) ── */
.subpage-hero {
  position: relative;
  z-index: 1;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 2rem 6rem;
}

/* ── API Key form ── */
.key-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.key-form .btn-primary {
  margin-top: 1.5rem;
}
.key-display {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  word-break: break-all;
  color: var(--accent);
}
.key-error {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(247,118,142,0.08);
  border: 1px solid rgba(247,118,142,0.2);
  border-radius: 12px;
  color: #f7768e;
  font-size: 0.9rem;
}

/* ── Contact / Sales form ── */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b90a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-error {
  font-size: 0.78rem;
  color: #f7768e;
}
.form-errors-banner {
  margin-bottom: 1.2rem;
  padding: 0.75rem 1rem;
  background: rgba(247, 118, 142, 0.08);
  border: 1px solid rgba(247, 118, 142, 0.3);
  border-radius: 10px;
}
.form-errors-banner .form-error {
  display: block;
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.form-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.form-success p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(59,240,138,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* ── Auth forms (login, signup, reset) ── */
.auth-form {
  width: 480px;
  margin: 2rem auto 0;
  text-align: left;
  padding: 2rem 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.auth-form .btn-primary {
  margin-top: 0.5rem;
}
.auth-links {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.auth-links a {
  color: var(--accent);
  text-decoration: none;
}
.auth-links a:hover {
  text-decoration: underline;
}
.auth-divider {
  margin: 0 0.5rem;
}
.messages-bar {
  max-width: 900px;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.auth-notice {
  padding: 1rem 1.2rem;
  background: rgba(139,92,246,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.auth-notice a {
  color: var(--accent);
  text-decoration: none;
}

/* ── Email list (manage emails page) ── */
.email-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.email-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
}
.email-addr {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.badge {
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-accent {
  background: rgba(139,92,246,0.15);
  color: var(--accent);
}
.badge-success {
  background: rgba(59,240,138,0.12);
  color: #3bf08a;
}
.badge-warn {
  background: rgba(240,196,59,0.12);
  color: var(--accent3);
}

/* ── Dashboard ── */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}
.dash-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.dash-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s;
}
.dash-card:hover {
  border-color: rgba(255,255,255,0.18);
}
.dash-card h3 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}
.dash-card .dash-value {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
}
.dash-card p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}
.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 900px;
  margin: 2rem auto 0;
}
.dash-actions a {
  text-decoration: none;
}

/* ── API Keys table ── */
.keys-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
}
.keys-table th,
.keys-table td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.keys-table th {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.keys-table td {
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.keys-table .key-label {
  font-family: var(--font-display);
}
.keys-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.btn-danger {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: rgba(247,118,142,0.1);
  color: #f7768e;
  border: 1px solid rgba(247,118,142,0.2);
  border-radius: 6px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-danger:hover {
  background: rgba(247,118,142,0.2);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* ── API Surface stack (features page) ── */
.api-surface-stack {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.api-surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s;
}
.api-surface-card:hover {
  border-color: rgba(59,240,138,0.15);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.api-surface-card.coming-soon {
  opacity: 0.55;
}
.api-surface-card.coming-soon:hover {
  opacity: 0.75;
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.api-surface-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.api-surface-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.api-surface-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}

.api-badge {
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.badge-live {
  background: rgba(59,240,138,0.12);
  color: var(--accent);
}
.badge-soon {
  background: rgba(240,196,59,0.12);
  color: var(--accent3);
}
.badge-updated {
  background: rgba(59,130,246,0.10);
  color: var(--accent2);
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
}

.api-surface-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.api-surface-endpoints {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.2rem;
}
.api-surface-ep {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.7rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  font-size: 0.82rem;
  min-width: 0;
}
.api-surface-path {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.api-surface-summary {
  color: var(--text-dim);
  opacity: 0.6;
  font-size: 0.78rem;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

.api-surface-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ── Feature detail page ── */
.use-cases-list {
  max-width: 700px;
  margin: 0 auto;
}
.use-cases-list ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.use-cases-list li {
  padding: 1rem 1.5rem 1rem 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
  position: relative;
}
.use-cases-list li::before {
  content: '\2713';
  position: absolute;
  left: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  padding: 1.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.faq-answer {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}
.faq-answer p { margin: 0; }

.api-surface-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.api-surface-link:hover {
  color: var(--accent);
}

.api-surface-footer {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}
.learn-more-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.learn-more-link:hover {
  opacity: 0.8;
}

/* ── Privacy page ── */
.privacy-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  line-height: 1.8;
  color: var(--text-dim);
}
.privacy-updated {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 2.5rem;
}
.privacy-content h2 {
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.privacy-content h3 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.privacy-content p {
  margin-bottom: 1rem;
}
.privacy-content ul {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
}
.privacy-content li {
  margin-bottom: 0.35rem;
}
.privacy-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-content a:hover {
  color: var(--text);
}
.privacy-content strong {
  color: var(--text);
}

/* ── Dashboard layout ── */
.dash-layout {
  display: flex;
  min-height: calc(100vh - var(--nav-h));
  padding-top: var(--nav-h);
  position: relative;
  z-index: 1;
}

.dash-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.dash-account {
  padding: 0.8rem 1.2rem;
  margin: 0 0.8rem 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: background 0.2s;
  user-select: none;
}
.dash-account:hover {
  background: rgba(255,255,255,0.06);
}
.dash-account-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.dash-account-name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-account-chevron {
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform 0.2s;
}
.dash-account.dash-account-open .dash-account-chevron {
  transform: rotate(180deg);
}

.dash-account-dropdown {
  display: none;
  padding: 0.1rem 0.8rem 0.8rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #363b47;
}
.dash-account.dash-account-open + .dash-account-dropdown {
  display: block;
}
.dash-account-action {
  display: block;
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
  color: #f7768e;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.dash-account-action:hover {
  background: rgba(247,118,142,0.08);
  color: #f7768e;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.8rem;
  gap: 2px;
}
.dash-nav a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.dash-nav a:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.dash-nav a.dash-nav-active {
  border-left-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  font-weight: 600;
}

.dash-main {
  flex: 1;
  padding: 2.5rem 3rem;
  min-width: 0;
  overflow-y: auto;
}
.dash-main .section-label {
  text-align: left;
}
.dash-main .section-title {
  text-align: left;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}
.dash-main .section-desc {
  text-align: left;
  margin: 0 0 2rem;
}
.dash-main .dash-grid {
  margin: 0 0 2rem;
}
.dash-main .keys-table {
  margin: 0;
}
.dash-main .auth-form {
  margin: 0;
  width: 100%;
  max-width: 480px;
}
.dash-main .usage-progress-wrap {
  margin: 2rem 0 0;
}
.dash-main .auth-notice {
  max-width: none;
  margin: 2rem 0 0;
}
.dash-main .key-form {
  margin: 0;
  text-align: left;
  max-width: 700px;
}
.dash-main .dash-actions {
  margin: 2rem 0 0;
}
.dash-messages {
  max-width: none;
  margin: 0 0 1.5rem;
}

/* ── Usage progress bar ── */
.usage-progress-wrap {
  max-width: 900px;
  margin: 2rem auto 0;
}
.usage-progress-track {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
}
.usage-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 6px;
  transition: width 0.4s ease;
  min-width: 0;
}
.usage-bar-warn {
  background: var(--accent3);
}
.usage-bar-danger {
  background: #f7768e;
}
.usage-progress-label {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* ── MCP Page ── */

/* 3-step setup */
.mcp-steps {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1.5rem;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}

.mcp-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  min-width: 0;
}

.mcp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0f17;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.mcp-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.mcp-step p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 0;
}

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

/* Config client tabs */
.mcp-config-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.mcp-config-tab {
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mcp-config-tab.is-active,
.mcp-config-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(139,92,246,0.06);
}

.mcp-config-pane {
  display: none;
}
.mcp-config-pane.is-active {
  display: block;
}

.mcp-config-pane pre {
  background: #0d1017;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: #c9d1d9;
  overflow-x: auto;
  margin: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.mcp-config-pane code .json-key    { color: #8b5cf6; }
.mcp-config-pane code .json-string { color: #a5d6ff; }
.mcp-config-pane code .json-comment { color: #555; font-style: italic; }

.mcp-step-prompt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.mcp-step-prompt-list li {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
  padding-left: 1.1rem;
  position: relative;
}
.mcp-step-prompt-list li::before {
  content: '"';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Tools domain table */
.mcp-tools-table {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.mcp-tools-row {
  display: grid;
  grid-template-columns: 195px 1fr;
  border-bottom: 1px solid var(--border);
}
.mcp-tools-row:last-child { border-bottom: none; }

.mcp-tools-row-domain {
  display: flex;
  align-items: flex-start;
  padding: 1.1rem 1.5rem;
  border-right: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}

.mcp-domain-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.4;
}

.mcp-tools-row-chips {
  padding: 0.65rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each tool: name | desc (with inline credits) */
.mcp-tool-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 0 0.75rem;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mcp-tool-chip:last-child { border-bottom: none; }

.mcp-tool-chip-name {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.mcp-tool-chip-credits {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #ffa657;
  white-space: nowrap;
  margin-left: 0.25rem;
}

.mcp-tool-chip-desc {
  color: var(--text-dim);
  font-size: 0.73rem;
  line-height: 1.4;
  grid-column: 2;
}

.mcp-see-docs-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.mcp-see-docs-link:hover { opacity: 0.8; }

/* Compatible clients */
.mcp-clients-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mcp-client-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  background: var(--surface);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.mcp-client-badge:hover { opacity: 0.8; }

.mcp-client-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mcp-client-badge--claude  { border: 1px solid rgba(139,92,246,0.4);  color: #c4b5fd; }
.mcp-client-badge--claude::before  { background: #8b5cf6; }

.mcp-client-badge--cursor  { border: 1px solid rgba(59,130,246,0.4);  color: #93c5fd; }
.mcp-client-badge--cursor::before  { background: #3b82f6; }

.mcp-client-badge--windsurf { border: 1px solid rgba(34,197,94,0.4);  color: #86efac; }
.mcp-client-badge--windsurf::before { background: #22c55e; }

.mcp-client-badge--continue { border: 1px solid rgba(249,115,22,0.4); color: #fdba74; }
.mcp-client-badge--continue::before { background: #f97316; }

.mcp-client-badge--inspector { border: 1px solid rgba(240,196,59,0.4); color: #fde68a; }
.mcp-client-badge--inspector::before { background: #f0c43b; }

.mcp-client-badge--generic  { border: 1px solid var(--border); color: var(--text-dim); }
.mcp-client-badge--generic::before  { background: var(--text-dim); }

/* MCP credit tiers */
.mcp-credits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.mcp-credit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.mcp-credit-card.is-featured {
  border-color: var(--accent);
  background: rgba(139,92,246,0.04);
}

.mcp-credit-tier {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.mcp-credit-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.mcp-credit-amount .accent { color: var(--accent); }

.mcp-credit-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.mcp-credit-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; flex-wrap: wrap; }
  .nav-toggle { display: flex; flex-direction: column; }

  .nav-menu {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    width: 100%;
    order: 3;
    overflow: hidden;
  }
  .nav-menu > * { min-height: 0; }
  .nav-menu.open { grid-template-rows: 1fr; }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 1rem;
    position: static;
    transform: none;
  }
  .nav-links li {
    border-top: 1px solid var(--border);
  }
  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
  }

  nav > .nav-right .btn-primary {
    display: none;
  }

  .nav-mobile-cta {
    display: list-item;
    padding-top: 0.5rem;
  }
  .nav-mobile-cta a {
    display: block;
    background: var(--accent);
    color: var(--bg) !important;
    text-align: center;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.9rem !important;
  }

  .hero { padding: 6rem 1rem 3rem; }
  .subpage-hero { padding: 6rem 1rem 4rem; }
  #api-carousel-root { padding: 2rem 0 0; }
  .api-carousel-section { padding: 0; }
  .stats-bar { gap: 2rem; padding: 3rem 1.5rem; }
  section { padding: 5rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .api-catalog-grid { grid-template-columns: 1fr; }
  .api-surface-stack { gap: 1rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .form-row { grid-template-columns: 1fr; }
  .endpoint-desc { display: none; }
  .use-cases-list ul { gap: 0.6rem; }
  .faq-list { gap: 0.8rem; }
  .faq-item { padding: 1.2rem 1.5rem; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: center; }
  .code-lang-toggle { flex-wrap: wrap; gap: 0.4rem; }
  .lang-btn { padding: 0.4rem 0.9rem; font-size: 0.75rem; }
  .code-snippet { padding: 1rem 1.2rem; font-size: 0.78rem; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; }
  .dash-layout { flex-direction: column; padding-top: var(--nav-h); min-height: auto; }
  .dash-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    flex-direction: column;
  }
  .dash-account { margin: 0 0.8rem 0.5rem; }
  .dash-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    padding: 0 0.8rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav a {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
  .dash-nav a.dash-nav-active {
    border-left-color: transparent;
    border-bottom-color: var(--accent);
  }
  .dash-main { padding: 1.5rem; }
  .mcp-steps { grid-template-columns: 1fr; max-width: 480px; }
  .mcp-tools-row { grid-template-columns: 1fr; }
  .mcp-tools-row-domain { border-right: none; border-bottom: 1px solid var(--border); }
  .mcp-tool-chip { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .mcp-tool-chip-desc { grid-column: 1; font-size: 0.68rem; }
  .mcp-credits-grid { grid-template-columns: 1fr; max-width: 380px; }
}
