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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0A0A0A;
  --surface: rgba(24, 24, 27, 0.4);
  --surface-solid: #18181b;
  --border: #27272a;
  --border-hover: #3f3f46;
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-dim: #52525b;
  --accent: #34d399;
  --accent-hover: #6ee7b7;
  --accent-subtle: rgba(52, 211, 153, 0.08);
  --danger: #f87171;
  --radius: 12px;
  --radius-lg: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
}

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

/* Skip navigation — accessibility */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 0;
}

/* Announcement bar */
.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  height: 36px;
  padding: 0 16px;
}
.announcement-bar a,
.announcement-bar a:visited,
.announcement-bar a:link {
  color: #000 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.announcement-bar a:hover {
  text-decoration: underline;
  color: #000 !important;
}

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

::selection { background: var(--accent-subtle); color: var(--accent); }

/* Layout */
.container { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 420px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Nav — sticky with blur */
nav {
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(39, 39, 42, 0.5);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 15px;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-brand:hover { text-decoration: none; color: var(--text); }
.nav-brand b { color: var(--text); font-weight: 600; }
.nav-logo { height: 24px; width: auto; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.nav-active { color: var(--accent); }
.nav-links .btn-nav {
  padding: 8px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.nav-links .btn-nav:hover { background: #d4d4d8; }

/* Hamburger menu */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-secondary);
}
.nav-hamburger:hover { color: var(--text); }
.nav-hamburger svg { display: block; }

/* Hero */
.hero {
  padding: 80px 0 0;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero-accent-1 {
  background: linear-gradient(135deg, #22d3a7, #06d6d6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-accent-2 {
  background: linear-gradient(135deg, #a78bfa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #22d3a7, #06d6d6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-audience {
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim) !important;
  margin: -20px auto 36px !important;
}

/* Hero proof block */
a.hero-proof,
a.hero-proof:visited,
a.hero-proof:link {
  display: block;
  max-width: 520px;
  margin: 0 auto;
  background: #141416;
  border: 1px solid #2a2a2e;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  box-shadow: 0 0 40px rgba(52, 211, 153, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.hero-proof:hover {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 50px rgba(52, 211, 153, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.proof-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.proof-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0.7;
}
.proof-link {
  font-size: 12px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.proof-link:hover { color: var(--accent); text-decoration: none; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.proof-item {
  text-align: center;
}
.proof-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
  letter-spacing: -0.02em;
}
.proof-desc {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}
.proof-quote {
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 2px solid rgba(52, 211, 153, 0.4);
  padding-left: 12px;
  line-height: 1.5;
}

/* Hero video placeholder */
.hero-video {
  max-width: 100%;
  margin: 36px auto 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.hero-video .video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: 14px;
}
.hero-video .video-placeholder svg {
  opacity: 0.4;
}
.hero-video iframe,
.hero-video video {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

/* Hero explore link */
.hero-explore {
  text-align: center;
  margin: 40px 0 0;
  font-size: 14px;
}
.hero-explore a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.hero-explore a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Playground CTA */
.hero-cta-row {
  text-align: center;
  margin: 24px 0 0;
}
.btn-playground {
  display: inline-block;
  padding: 10px 28px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(52, 211, 153, 0.04));
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-playground:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(34, 211, 153, 0.2);
  transform: translateY(-1px);
}
.nav-playground,
.nav-playground:visited,
.nav-playground:link {
  color: var(--accent) !important;
  font-weight: 600 !important;
  padding: 5px 14px !important;
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 100px;
  background: rgba(52, 211, 153, 0.08);
  animation: nav-playground-pulse 2.5s ease-in-out infinite;
}
.nav-playground:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
  border-color: var(--accent);
  animation: none;
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.25);
}
@keyframes nav-playground-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.15); }
  50% { box-shadow: 0 0 12px 3px rgba(52, 211, 153, 0.25); border-color: rgba(52, 211, 153, 0.7); }
}

/* Problem section */
.problem { padding: 24px 0; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  text-align: left;
}
.problem-icon {
  color: var(--text-dim);
  margin-bottom: 14px;
}
.problem-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.problem-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How it works — Moss-inspired steps */
.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.hiw-step {
  padding: 0;
  text-align: center;
}
.hiw-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}
.hiw-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hiw-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}
.hiw-code {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-light);
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  overflow-x: auto;
  white-space: nowrap;
  text-align: left;
  letter-spacing: 0.01em;
}
.hiw-code code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.btn:hover { border-color: var(--border-hover); text-decoration: none; background: var(--surface); }
.btn-primary,
.btn-primary:visited,
.btn-primary:link,
a.btn-primary,
a.btn-primary:visited,
a.btn-primary:link {
  background: linear-gradient(135deg, #22d3a7, #06d6d6) !important;
  border: none;
  color: #000 !important;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius);
  box-shadow: 0 0 20px rgba(34, 211, 167, 0.15), 0 0 60px rgba(34, 211, 167, 0.05);
}
.btn-primary:hover,
a.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none; color: #000 !important; box-shadow: 0 0 30px rgba(34, 211, 167, 0.25), 0 0 80px rgba(34, 211, 167, 0.08); }
.btn-primary:active,
a.btn-primary:active { opacity: 0.8; transform: translateY(0); color: #000 !important; }
a.btn, a.btn:visited, a.btn:link { color: var(--text); }
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-danger { background: rgba(220, 38, 38, 0.15); border-color: rgba(220, 38, 38, 0.4); color: #ef4444; }
.btn-danger:hover { background: rgba(220, 38, 38, 0.25); border-color: rgba(220, 38, 38, 0.6); }
.btn-sm { padding: 4px 10px; font-size: 11px; }
.btn:disabled:hover { opacity: 0.5; transform: none; background: transparent; }
.btn-full { width: 100%; }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--radius-lg); }

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* Section label */
.section-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
  text-align: center;
}
.section-sublabel {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
  text-align: center;
}

/* Stats row */
.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px auto;
  max-width: 540px;
}
.data-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(12px);
}
.data-cell h4 {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.data-cell .value {
  font-size: 28px;
  font-weight: 700;
}
.data-cell .value.accent { color: var(--accent); }

/* Provider inline chips */
.provider-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.provider-inline-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-right: 4px;
}
.provider-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s;
}
.provider-chip:hover { text-decoration: none; }
a.provider-chip.provider-anthropic { color: #d9a264; border-color: rgba(217, 162, 100, 0.25); }
a.provider-chip.provider-anthropic:hover { border-color: rgba(217, 162, 100, 0.5); }
a.provider-chip.provider-openai { color: #74aa9c; border-color: rgba(116, 170, 156, 0.25); }
a.provider-chip.provider-openai:hover { border-color: rgba(116, 170, 156, 0.5); }
a.provider-chip.provider-google { color: #6495ed; border-color: rgba(100, 149, 237, 0.25); }
a.provider-chip.provider-google:hover { border-color: rgba(100, 149, 237, 0.5); }
.provider-chip.provider-cli { color: var(--text-dim); border-style: dashed; }

/* BYOK Provider Grid (setup page) */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 16px auto 0;
}
.provider-grid-inline {
  margin-top: 16px;
}
.provider-grid-inline .provider-card {
  padding: 14px 10px;
}
.provider-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  backdrop-filter: blur(12px);
  text-decoration: none;
  color: inherit;
}
.provider-card:hover { transform: translateY(-2px); }
.provider-anthropic { border-color: rgba(217, 162, 100, 0.25); }
.provider-anthropic:hover { border-color: rgba(217, 162, 100, 0.5); }
.provider-anthropic .provider-icon { color: #d9a264; }
.provider-anthropic .provider-name { color: #d9a264; }
.provider-openai { border-color: rgba(116, 170, 156, 0.25); }
.provider-openai:hover { border-color: rgba(116, 170, 156, 0.5); }
.provider-openai .provider-icon { color: #74aa9c; }
.provider-openai .provider-name { color: #74aa9c; }
.provider-google { border-color: rgba(100, 149, 237, 0.25); }
.provider-google:hover { border-color: rgba(100, 149, 237, 0.5); }
.provider-google .provider-icon { color: #6495ed; }
.provider-google .provider-name { color: #6495ed; }
.provider-icon {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}
.provider-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.provider-model {
  font-size: 12px;
  color: var(--text-dim);
}
a.provider-card, a.provider-card:hover {
  text-decoration: none;
}

/* Pricing */
.pricing { padding: 40px 0 60px; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
}
.pricing-card.featured {
  border-color: rgba(192, 132, 252, 0.5);
  background: rgba(192, 132, 252, 0.06);
  position: relative;
  overflow: hidden;
}
.pricing-card.disabled {
  opacity: 0.45;
  pointer-events: none;
}
.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: -32px;
  background: #c084fc;
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 40px;
  transform: rotate(35deg);
}
.btn-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}
.pricing-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.pricing-card.featured h3 { color: #c084fc; }
.pricing-card.featured .pricing-price { color: #c084fc; }
.pricing-card.featured .pricing-features li::before { color: #c084fc; }
.pricing-card.featured .btn-primary {
  background: linear-gradient(135deg, #a855f7, #c084fc) !important;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15), 0 0 60px rgba(168, 85, 247, 0.05);
}
.pricing-price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dim);
}
.pricing-coming-soon {
  font-size: 36px;
  letter-spacing: -0.02em;
}
.pricing-note {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.pricing-features {
  list-style: none;
  margin: 20px 0;
  font-size: 14px;
}
.pricing-features li {
  padding: 5px 0;
  color: var(--text-secondary);
}
.pricing-features li::before {
  content: '\2713  ';
  color: var(--accent);
  font-weight: 600;
}

/* Waitlist form */
.waitlist-form { margin-top: 4px; }
.waitlist-input-row {
  display: flex;
  gap: 8px;
}
.waitlist-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-input:focus { border-color: #c084fc; }
.waitlist-input::placeholder { color: var(--text-dim); }
.waitlist-btn {
  padding: 10px 20px !important;
  font-size: 14px !important;
  white-space: nowrap;
}
.waitlist-success {
  font-size: 14px;
  font-weight: 600;
  color: #c084fc;
  text-align: center;
  padding: 12px 0;
}

/* How it works */
.features { padding: 40px 0 16px; }
.privacy-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  border-left: 2px solid var(--border);
  padding-left: 12px;
}
#case-study { padding: 40px 0; scroll-margin-top: 80px; }
#case-study .section-label { margin-bottom: 20px; }
.steps {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2.4;
}
.steps .num {
  color: var(--text-dim);
  margin-right: 8px;
}
.steps .comment { color: var(--accent); }

/* Click-to-copy */
.copyable {
  cursor: pointer;
  position: relative;
  border-radius: 6px;
  padding: 0 8px;
  margin: 0 -8px;
  transition: background 0.15s;
}
.copyable:hover {
  background: rgba(255, 255, 255, 0.04);
}
.copy-icon {
  opacity: 0;
  transition: opacity 0.15s;
  margin-left: 6px;
}
.copy-icon::after {
  content: 'copy';
  font-family: var(--font);
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 500;
}
.copyable:hover .copy-icon { opacity: 1; }
.copyable.copied .copy-icon::after {
  content: 'copied';
  color: var(--accent);
}
.copyable.copied .copy-icon { opacity: 1; }

/* Setup — install steps */
.setup-steps {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.setup-steps .steps { line-height: 2; }
/* Setup guide CTA link — pulsing glow */
.setup-guide-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent) !important;
  padding: 10px 24px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 100px;
  background: rgba(52, 211, 153, 0.06);
  transition: all 0.3s;
}
.setup-guide-link:hover {
  text-decoration: none !important;
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.2);
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(52, 211, 153, 0.1); }
  50% { box-shadow: 0 0 20px rgba(52, 211, 153, 0.25); border-color: rgba(52, 211, 153, 0.5); }
}

.pulse-hint, .setup-hint {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 8px;
  letter-spacing: 0.3px;
}

/* Setup — stacked lane layout */
.lanes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.lane {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
}
.lane-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.lane-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.lane-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.lane-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}
.lane .steps {
  font-size: 13px;
  line-height: 2.2;
}
.lane-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 14px;
  line-height: 1.5;
}
/* Lane color variants */
.lane-cli {
  border-color: rgba(52, 211, 153, 0.2);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.04) 0%, var(--surface) 100%);
}
.lane-cli:hover { border-color: rgba(52, 211, 153, 0.35); }
.lane-cli .lane-tag {
  border-color: rgba(52, 211, 153, 0.25);
  color: var(--accent);
}
.lane-claude {
  border-color: rgba(217, 162, 100, 0.2);
  background: linear-gradient(180deg, rgba(217, 162, 100, 0.04) 0%, var(--surface) 100%);
}
.lane-claude:hover { border-color: rgba(217, 162, 100, 0.35); }
.lane-claude .lane-tag {
  border-color: rgba(217, 162, 100, 0.25);
  color: #d9a264;
}

.lane-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  gap: 12px;
}
.lane-divider::before,
.lane-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border);
}
.lane-divider span {
  font-size: 13px;
  color: var(--text-dim);
}
.prompt-examples {
  margin-top: 4px;
}
.prompt-example {
  font-family: var(--font);
  font-style: italic;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0 4px 14px;
  border-left: 2px solid var(--border);
  margin: 3px 0;
}

/* Status indicator */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.status-dot.off { background: var(--text-dim); }
.status-dot.warn { background: #f59e0b; }
.status-dot.none { background: var(--border); }

/* Loading dots animation */
.loading-dots {
  animation: pulse-dots 1.4s infinite ease-in-out;
}
@keyframes pulse-dots {
  0%, 80%, 100% { opacity: 0.3; }
  40% { opacity: 1; }
}

/* OAuth buttons */
.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.btn-oauth {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  backdrop-filter: blur(12px);
}
.btn-oauth:hover { border-color: var(--border-hover); background: var(--surface-solid); transform: translateY(-1px); }
.btn-oauth svg { flex-shrink: 0; }

.oauth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  gap: 12px;
}
.oauth-divider::before,
.oauth-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border);
}
.oauth-divider span {
  font-size: 13px;
  color: var(--text-dim);
}

/* Forms */
.form-page { padding: 80px 0; }
.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--surface);
  backdrop-filter: blur(12px);
}
.form-card h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.form-card > p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--accent); }
.form-group input::placeholder { color: var(--text-dim); }
.form-error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 8px;
  display: none;
}
.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-dim);
}

/* Dashboard */
.dashboard { padding: 48px 0; }
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.dash-header h1 { font-size: 20px; font-weight: 600; }
.dash-section {
  margin-bottom: 32px;
}

/* Tier badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 100px;
}
.badge-premium {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}
.badge-free {
  color: var(--text-dim);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-dim);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover { color: var(--text); }
.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 14px;
  z-index: 999;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 8px;
  visibility: hidden;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
}
.toast.show {
  visibility: visible;
  transform: translateX(0);
}
.toast.error { border-color: var(--danger); color: var(--danger); }
.toast.success { border-color: var(--accent); }

/* Admin table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.admin-table tbody tr:hover {
  background: var(--surface);
}
.tier-select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  padding: 4px 8px;
  cursor: pointer;
}
.tier-select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Search input */
.search-input {
  width: 100%;
  max-width: 320px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--text-dim); }

/* 5-column data grid (admin) */
.data-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  max-width: none;
}
.data-grid-5 .data-cell {
  padding: 16px 12px;
}

/* Admin panel — glassmorphic card */
.admin-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
}
.admin-panel .section-label {
  margin-bottom: 16px;
}

/* Admin table enhancements */
.admin-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
}
.admin-table thead th {
  background: var(--surface-solid);
}
.admin-table td.email {
  font-family: var(--mono);
  font-size: 13px;
}
.admin-table .empty-state {
  text-align: center;
  color: var(--text-dim);
  padding: 32px 12px;
}

/* Stat prefix (e.g. €) */
.stat-prefix {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dim);
  margin-right: 2px;
}

/* MRR badge */
.mrr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 100px;
  margin-left: 12px;
  vertical-align: middle;
}

/* Tier select refinement */
.tier-select.is-premium {
  border-color: var(--accent);
  color: var(--accent);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 14px;
}
.pagination-info {
  color: var(--text-dim);
}

/* Docs table */
#docs { padding: 24px 0; scroll-margin-top: 80px; }
.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.docs-table thead th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.docs-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(39, 39, 42, 0.5);
  color: var(--text-secondary);
  vertical-align: top;
}
.docs-table td:first-child {
  white-space: nowrap;
}
.pro-badge {
  display: inline-block;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c084fc;
  background: rgba(192, 132, 252, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.25);
  padding: 1px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 6px;
}
.docs-table tbody tr:hover {
  background: var(--surface);
}
.docs-table code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  background: rgba(52, 211, 153, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}
.docs-table td:last-child code {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  margin-right: 4px;
  font-size: 12px;
}
.docs-category {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin: 32px 0 12px;
  padding-bottom: 0;
}
.docs-category:first-of-type { margin-top: 20px; }
.docs-category .pro-badge { vertical-align: middle; }
.tools-intro {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0 0 16px;
  line-height: 1.6;
}
#tools { padding: 24px 0; scroll-margin-top: 80px; }

/* Responsive — tablet */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 36px; }
  .problem-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .hiw-steps { max-width: 400px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hamburger nav */
  .nav-hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    flex-direction: column;
    gap: 12px;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn-nav {
    text-align: center;
  }
  nav .container, nav .container-lg { position: relative; }
}

/* Responsive — mobile */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  /* Nav: stack brand + links */
  nav .container { flex-wrap: wrap; gap: 8px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .nav-links .btn-nav { padding: 6px 12px; font-size: 13px; }

  /* Hero */
  .hero { padding: 60px 0 30px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }

  /* Curl command: horizontal scroll instead of wrap */
  .setup-steps { padding: 12px 16px; }
  .setup-steps .steps { font-size: 13px; overflow-x: auto; white-space: nowrap; }

  /* Provider grid */
  .provider-grid { grid-template-columns: 1fr; }
  .provider-card { padding: 14px 10px; }
  .provider-name { font-size: 13px; }

  /* Case study */
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .proof-header { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* Docs table */
  .docs-table td:last-child { display: none; }
  .docs-table thead th:last-child { display: none; }
  .docs-table { font-size: 13px; }
  .docs-table td { padding: 8px 8px; }
  .docs-table thead th { padding: 8px 8px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 24px; }

  /* Data grid */
  .data-grid { grid-template-columns: 1fr; }
  .data-grid-5 { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  footer .container { flex-direction: column; gap: 8px; }

  /* Docs sidebar — hide on mobile */
  .docs-sidebar { display: none; }
  .docs-body { gap: 0; }
  .docs-content { max-width: 100%; }

  /* Setup guide — mobile */
  .guide-hero { padding: 48px 0 20px; }
  .guide-hero h1 { font-size: 26px; }
  .guide-hero p { font-size: 14px; }
  .guide-breadcrumb { font-size: 12px; margin-bottom: 12px; }

  /* Steps */
  .guide-step { gap: 12px; }
  .step-indicator { min-width: 28px; }
  .step-number { width: 28px; height: 28px; font-size: 13px; }
  .step-content { padding-bottom: 28px; }
  .step-content h2 { font-size: 18px; }
  .step-content p { font-size: 14px; }

  /* Tabs — horizontal scroll */
  .guide-tabs { gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .guide-tab { font-size: 13px; padding: 8px 14px; white-space: nowrap; }
  .guide-tab-content p { font-size: 14px; }

  /* Code blocks — scroll, smaller font */
  .guide-code { padding: 10px 14px; font-size: 13px; overflow-x: auto; }
  .guide-hint { display: none; }

  /* Output blocks */
  .guide-output { padding: 10px 14px; font-size: 12px; overflow-x: auto; }

  /* Callouts */
  .callout { padding: 12px 14px; font-size: 13px; }
  .callout-body { font-size: 13px; }

  /* Collapsible details */
  .guide-details summary { font-size: 13px; padding: 10px 14px; }
  .details-body { padding: 0 14px 12px 34px; }
  .details-body p { font-size: 13px; }

  /* What's next cards */
  .next-cards { grid-template-columns: 1fr; }

  /* FAQ */
  .guide-faq summary { padding: 12px 14px; font-size: 13px; }
  .guide-faq details > p,
  .guide-faq details > ul,
  .guide-faq details > ol { padding: 0 14px 12px 36px; font-size: 13px; }
  .guide-faq details > ul { padding-left: 50px; }

  /* Steps list */
  .guide-steps-list { font-size: 14px; }

  /* Pulsing CTA */
  .setup-guide-link { font-size: 13px; padding: 8px 20px; }
}

/* ===== Docs sidebar layout ===== */

.docs-layout { max-width: 960px; margin: 0 auto; padding: 0 24px; }

.docs-body {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.docs-sidebar {
  position: sticky;
  top: 80px;
  width: 180px;
  flex-shrink: 0;
  padding: 16px 0;
}

.docs-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--border);
}

.docs-nav-link {
  display: block;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.docs-nav-link:hover { color: var(--text); text-decoration: none; }
.docs-nav-link.active {
  color: var(--accent);
  border-left-color: var(--accent);
}

.docs-content {
  flex: 1;
  min-width: 0;
  max-width: 680px;
}

/* ===== Setup Guide Page (Mintlify-inspired) ===== */

.guide-page { max-width: 680px; }

/* Breadcrumb */
.guide-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}
.guide-breadcrumb a {
  color: var(--text-dim);
  transition: color 0.2s;
}
.guide-breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.guide-breadcrumb span { color: var(--text-dim); }
.guide-breadcrumb span:last-child { color: var(--text-secondary); }

/* Hero */
.guide-hero {
  padding: 80px 0 32px;
}
.guide-hero h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.guide-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
}

/* ── Step layout with vertical connector ── */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}
.guide-step {
  display: flex;
  gap: 20px;
  scroll-margin-top: 80px;
}

/* Step indicator (number + vertical line) */
.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 36px;
  padding-top: 2px;
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1.5px solid rgba(52, 211, 153, 0.3);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--mono);
}
.step-line {
  width: 1.5px;
  flex: 1;
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.3) 0%, var(--border) 100%);
  margin: 8px 0;
  min-height: 24px;
}
.step-line.last {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.3) 0%, transparent 100%);
}

/* Step content */
.step-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 40px;
}
.step-content h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.3;
}
.step-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 8px;
}
.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}
.step-content p strong {
  color: var(--text);
}
.step-content code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  background: rgba(52, 211, 153, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}
.step-content ol,
.step-content ul {
  margin: 8px 0 12px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Guide sections (troubleshooting etc.) */
.guide-section {
  padding: 8px 0;
  scroll-margin-top: 80px;
}
.guide-section h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* ── Code blocks ── */
.guide-code {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 2;
  overflow-x: auto;
}
.guide-code code {
  background: none;
  padding: 0;
  color: inherit;
}
.guide-code pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre;
  overflow-x: auto;
}
.guide-code .copyable {
  display: flex;
  align-items: center;
  gap: 4px;
}
.guide-hint {
  font-family: var(--font);
  font-size: 12px;
  color: var(--text-dim);
  margin-left: 8px;
}

/* ── Expected output block ── */
.guide-output {
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed rgba(39, 39, 42, 0.6);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
}
.output-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.output-highlight {
  color: var(--accent);
}

/* ── Callout boxes (info, tip, warning) ── */
.callout {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.6;
}
.callout-icon {
  flex-shrink: 0;
  margin-top: 1px;
}
.callout-body {
  color: var(--text-secondary);
}
.callout-body strong {
  color: var(--text);
}
.callout-body code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  background: rgba(52, 211, 153, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
}
.callout-info {
  background: rgba(100, 149, 237, 0.06);
  border: 1px solid rgba(100, 149, 237, 0.15);
}
.callout-info .callout-icon { color: #6495ed; }
.callout-tip {
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.15);
}
.callout-tip .callout-icon { color: var(--accent); }
.callout-warning {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.callout-warning .callout-icon { color: #f59e0b; }

/* ── Collapsible details (Mintlify accordion) ── */
.guide-details {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 8px 0;
  transition: border-color 0.2s;
}
.guide-details[open] {
  border-color: var(--border-hover);
}
.guide-details summary {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.guide-details summary:hover { color: var(--text); }
.guide-details summary::before {
  content: '+';
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-dim);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.guide-details[open] summary::before {
  content: '\2212';
  color: var(--accent);
}
.guide-details summary::-webkit-details-marker { display: none; }
.details-body {
  padding: 0 16px 14px 40px;
}
.details-body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}
.details-body .guide-code {
  margin-bottom: 8px;
}

/* ── Provider tabs ── */
.guide-tabs {
  display: flex;
  gap: 0;
  margin: 20px 0 0;
  border-bottom: 1px solid var(--border);
}
.guide-tab {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  background: none;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  margin-bottom: -1px;
}
.guide-tab:hover { color: var(--text-secondary); }
.guide-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Tab content */
.guide-tab-content {
  display: none;
  padding: 20px 0 8px;
}
.guide-tab-content.active { display: block; }

/* Provider badge */
.provider-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.provider-anthropic-badge {
  color: #d9a264;
  background: rgba(217, 162, 100, 0.1);
  border: 1px solid rgba(217, 162, 100, 0.2);
}
/* Tab content inherits step-content styling */
.guide-tab-content p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}
.guide-tab-content p strong { color: var(--text); }
.guide-tab-content code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  background: rgba(52, 211, 153, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Steps list */
.guide-steps-list {
  margin: 12px 0 16px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.guide-steps-list strong { color: var(--text); }

/* ── What's next cards ── */
.guide-next {
  padding: 8px 0;
}
.guide-next h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.next-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.next-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.next-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.next-card:visited { color: inherit; }
.next-card-icon { color: var(--text-dim); }
.next-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.next-card-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── FAQ / Troubleshooting ── */
.guide-faq {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.guide-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}
.guide-faq details[open] { border-color: var(--border-hover); }
.guide-faq summary {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.guide-faq summary::before {
  content: '+';
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-dim);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.guide-faq details[open] summary::before {
  content: '\2212';
  color: var(--accent);
}
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--danger);
  background: rgba(248, 113, 113, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}
.guide-faq details > p,
.guide-faq details > ul,
.guide-faq details > ol {
  padding: 0 18px 14px 44px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
.guide-faq details > ul { padding-left: 60px; }

/* CTA */
.guide-cta {
  padding: 8px 0 48px;
  text-align: center;
}
.guide-cta p {
  font-size: 14px;
  color: var(--text-dim);
}

/* ===== Admin Dashboard Revamp ===== */

/* Stat cards — glass with icon + accent border */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 0;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  backdrop-filter: blur(12px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  opacity: 0;
  animation: admin-fade-in 0.4s ease forwards;
}
.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: 0.06s; }
.stat-card:nth-child(3) { animation-delay: 0.12s; }
.stat-card:nth-child(4) { animation-delay: 0.18s; }
.stat-card:nth-child(5) { animation-delay: 0.24s; }
.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.stat-card.accent-green { border-left-color: var(--accent); }
.stat-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.stat-card-icon { color: var(--text-dim); flex-shrink: 0; }
.stat-card-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
}
.stat-card-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-card.accent-green .stat-card-value { color: var(--accent); }
.stat-card-delta {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}
.stat-card-delta.positive { color: var(--accent); }

@keyframes admin-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Shimmer loading placeholder */
.shimmer {
  display: inline-block;
  width: 60px;
  height: 28px;
  background: linear-gradient(90deg, var(--border) 25%, rgba(63,63,70,0.5) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer-move 1.5s infinite;
  border-radius: 6px;
}
.shimmer-sm {
  width: 40px;
  height: 14px;
}
@keyframes shimmer-move {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Tier distribution bar */
.tier-bar-container {
  margin-bottom: 24px;
}
.tier-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.tier-bar {
  height: 8px;
  border-radius: 100px;
  background: var(--border);
  overflow: hidden;
  display: flex;
}
.tier-bar-pro {
  height: 100%;
  background: var(--accent);
  border-radius: 100px 0 0 100px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 0;
}
.tier-bar-free {
  height: 100%;
  flex: 1;
}

/* Search bar with icon and clear */
.search-wrapper {
  position: relative;
  max-width: 320px;
  margin-bottom: 16px;
}
.search-wrapper .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}
.search-wrapper .search-input {
  padding-left: 36px;
  padding-right: 32px;
  width: 100%;
}
.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  display: none;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  transition: color 0.15s;
}
.search-clear:hover { color: var(--text); }
.search-wrapper.has-value .search-clear { display: block; }

/* Avatar circles */
.avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
}
.admin-table td.email-cell {
  font-family: var(--mono);
  font-size: 13px;
}
.email-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Sortable column headers */
.admin-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color 0.15s;
}
.admin-table th.sortable:hover { color: var(--text-secondary); }
.sort-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  color: var(--text-dim);
  opacity: 0;
  transition: opacity 0.15s;
}
.admin-table th.sortable:hover .sort-arrow { opacity: 0.5; }
.admin-table th.sorted .sort-arrow { opacity: 1; color: var(--accent); }

/* Row stagger animation */
.admin-table tbody tr.row-enter {
  opacity: 0;
  transform: translateY(6px);
  animation: row-fade-in 0.3s ease forwards;
}
@keyframes row-fade-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Icon action buttons */
.action-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}
.action-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--surface);
}
.action-btn.action-danger:hover {
  border-color: rgba(220, 38, 38, 0.4);
  color: var(--danger);
  background: rgba(220, 38, 38, 0.08);
}
.action-btn:active { transform: scale(0.93); }
/* Tooltip */
.action-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 10;
}
.action-btn:hover::after { opacity: 1; }

/* Pro badge glow */
.badge-premium {
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.15);
}

/* Status dot pulse for active */
.status-dot:not(.off):not(.warn):not(.none) {
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0); }
}

/* Table row hover smoothing */
.admin-table tbody tr {
  transition: background 0.15s;
}

/* Button press micro-interaction */
.btn:active:not(:disabled) { transform: scale(0.97); }

/* Admin section spacing */
.admin-panel + .admin-panel { margin-top: 4px; }
.admin-panel .section-label {
  text-align: left;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-panel .section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* 6th stat card animation delay (admin waitlist) */
.stat-card:nth-child(6) { animation-delay: 0.3s; }

/* Responsive admin */
@media (max-width: 640px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .search-wrapper { max-width: 100%; }
  .action-btn::after { display: none; }
  .action-btns { gap: 4px; }
  .pagination { flex-wrap: wrap; }
}

/* ===== Blog ===== */

/* Blog listing grid */
.blog-hero {
  padding: 80px 0 32px;
  text-align: center;
}
.blog-hero h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.blog-hero p {
  font-size: 16px;
  color: var(--text-secondary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0 0 60px;
}

/* Blog card — glassmorphic, matches hero-proof */
a.blog-card,
a.blog-card:visited,
a.blog-card:link {
  display: flex;
  flex-direction: column;
  background: #141416;
  border: 1px solid #2a2a2e;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
a.blog-card:hover {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 50px rgba(52, 211, 153, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.blog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: var(--accent);
  background: var(--accent-subtle);
  margin-bottom: 14px;
  width: fit-content;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-meta {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* Blog post — article prose */
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 32px;
  transition: color 0.2s;
}
.blog-back:hover { color: var(--accent); text-decoration: none; }

.blog-post-header {
  margin-bottom: 40px;
}
.blog-post-header .blog-tag { margin-bottom: 16px; }
.blog-post-header h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.blog-post-meta {
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 12px;
}
.blog-post-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* Article body — comfortable reading width */
.blog-post {
  max-width: 680px;
  padding: 80px 0 60px;
}
.blog-post h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
  color: var(--text);
}
.blog-post h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--text);
}
.blog-post p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.blog-post p strong { color: var(--text); }
.blog-post img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
  display: block;
}
.blog-diagram-embed {
  margin: 32px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d0d0f;
}
.blog-diagram-label {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.blog-diagram-embed iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
}
.blog-post a { color: var(--accent); }
.blog-post a:hover { text-decoration: underline; }
.blog-post ul,
.blog-post ol {
  margin: 8px 0 16px 20px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}
.blog-post li { margin-bottom: 4px; }
.blog-post li strong { color: var(--text); }
.blog-post blockquote {
  border-left: 3px solid rgba(52, 211, 153, 0.4);
  padding: 2px 0 2px 20px;
  margin: 20px 0;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}
.blog-post code {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  background: rgba(52, 211, 153, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}
.blog-post pre {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0;
  overflow-x: auto;
}
.blog-post pre code {
  background: none;
  padding: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.blog-post hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* Stats grid for case study posts */
.blog-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.blog-stat {
  text-align: center;
  padding: 16px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.blog-stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
}
.blog-stat-label {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Related posts / CTA at bottom */
.blog-footer-cta {
  margin-top: 48px;
  padding: 32px;
  background: #141416;
  border: 1px solid #2a2a2e;
  border-radius: var(--radius-lg);
  text-align: center;
}
.blog-footer-cta h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.blog-footer-cta p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.blog-footer-cta .btn-primary {
  display: inline-flex;
}

.blog-related {
  margin-top: 40px;
}
.blog-related h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

/* Reading progress bar */
.blog-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  z-index: 200;
  transition: width 50ms linear;
  pointer-events: none;
}

/* Post layout — article + TOC sidebar */
.blog-post-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 0;
}
.blog-post-layout .blog-post {
  flex: 1;
  min-width: 0;
}

/* TOC sidebar */
.blog-toc {
  position: sticky;
  top: 80px;
  width: 220px;
  flex-shrink: 0;
  padding-top: 80px;
}
.blog-toc-toggle {
  display: none;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}
.blog-toc-toggle:hover { color: var(--text); }
.blog-toc-toggle svg {
  transition: transform 0.2s;
}
.blog-toc.open .blog-toc-toggle svg {
  transform: rotate(180deg);
}
.blog-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--border);
  padding-left: 12px;
}
.blog-toc-nav a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
  line-height: 1.4;
}
.blog-toc-nav a:hover { color: var(--text-secondary); text-decoration: none; }
.blog-toc-nav a.active {
  color: var(--accent);
}
.blog-toc-nav a.blog-toc-sub {
  padding-left: 12px;
  font-size: 12px;
}

/* highlight.js overrides for blog */
.blog-post pre code.hljs {
  background: transparent;
  padding: 0;
}

/* Responsive blog */
@media (max-width: 960px) {
  .blog-post-layout { flex-direction: column; gap: 0; }
  .blog-toc {
    position: relative;
    top: 0;
    width: 100%;
    padding-top: 0;
    margin-bottom: 16px;
    order: -1;
  }
  .blog-toc-toggle { display: flex; }
  .blog-toc-nav {
    display: none;
    border-left: none;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .blog-toc.open .blog-toc-nav { display: flex; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-hero { padding: 48px 0 20px; }
  .blog-hero h1 { font-size: 26px; }
  .blog-post-header h1 { font-size: 26px; }
  .blog-post p, .blog-post li, .blog-post blockquote { font-size: 15px; }
  .blog-post h2 { font-size: 20px; }
  .blog-stats { grid-template-columns: repeat(2, 1fr); }
  .blog-card-title { font-size: 16px; }
}

/* ===== User Dashboard Revamp ===== */

/* Profile card — horizontal flex with large avatar */
.dash-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}
.dash-profile-avatar {
  flex-shrink: 0;
}
.dash-profile-info {
  min-width: 0;
}
.dash-profile-info h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Stat cards — force 4 columns */
.dash-stat-cards {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* Smaller text for text-value stat cards (duration, relative time) */
.stat-card-value-text {
  font-size: 18px;
}

/* Sparkline — CSS bar chart */
.dash-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 64px;
  padding: 4px 0;
}
.dash-sparkline-bar {
  flex: 1;
  min-width: 0;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  opacity: 0.7;
  transition: opacity 0.15s, background 0.15s;
  position: relative;
  cursor: default;
  opacity: 0;
  animation: sparkline-bar-in 0.3s ease forwards;
}
.dash-sparkline-bar:hover {
  opacity: 1;
  background: var(--accent-hover);
}
/* Sparkline tooltip */
.dash-sparkline-bar::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 10;
}
.dash-sparkline-bar:hover::after { opacity: 1; }

@keyframes sparkline-bar-in {
  from { opacity: 0; transform: scaleY(0.3); }
  to { opacity: 0.7; transform: scaleY(1); }
}

/* Quick actions — 2-column grid */
.dash-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.dash-action-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.2s;
}
.dash-action-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.dash-action-card svg {
  color: var(--text-dim);
  margin-bottom: 10px;
}
.dash-action-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.dash-action-desc {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 10px;
  line-height: 1.4;
}
.dash-action-card code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  background: rgba(52, 211, 153, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Changelog entries — reuse guide-details pattern */
.dash-changelog-entry {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 6px 0;
  transition: border-color 0.2s;
}
.dash-changelog-entry[open] {
  border-color: var(--border-hover);
}
.dash-changelog-entry summary {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.dash-changelog-entry summary:hover { color: var(--text); }
.dash-changelog-entry summary::before {
  content: '+';
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-dim);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.dash-changelog-entry[open] summary::before {
  content: '\2212';
  color: var(--accent);
}
.dash-changelog-entry summary::-webkit-details-marker { display: none; }

/* Responsive — dashboard */
@media (max-width: 768px) {
  .dash-stat-cards { grid-template-columns: repeat(2, 1fr) !important; }
  .dash-actions { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dash-sparkline-bar::after { display: none; }
  .dash-profile { gap: 14px; }
  .dash-profile-info h1 { font-size: 16px !important; }
}