/* ===== 1. Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ===== 2. Custom Properties ===== */
:root {
  --brand: #00C8FA;
  --brand-dark: #00a8d4;
  --brand-glow: rgba(0, 200, 250, 0.15);
  --brand-glow-strong: rgba(0, 200, 250, 0.25);

  --bg-primary: #1c1c1a;
  --bg-secondary: #262624;
  --bg-tertiary: #30302e;
  --bg-light: #f8f9fc;
  --border: #3a3a37;
  --border-light: #e5e5e5;

  --text-primary: #e8e8e4;
  --text-secondary: #908f8b;
  --text-heading: #ffffff;
  --text-dark: #1c1c1a;
  --text-dark-secondary: #6b6b6b;

  --red-accent: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.08);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
}

/* ===== 3. Typography ===== */
h1, h2, h3, h4 { color: var(--text-heading); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
p { color: var(--text-secondary); }

.text-brand { color: var(--brand); }
.text-center { text-align: center; }

/* ===== 4. Layout ===== */
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 800px; }

.section { padding: 6rem 0; }
.section--light { background: var(--bg-light); }
.section--light h1, .section--light h2, .section--light h3 { color: var(--text-dark); }
.section--light p { color: var(--text-dark-secondary); }
.section--light .section__label { color: var(--brand-dark); }
.section--dark { background: var(--bg-primary); }
.section--surface { background: var(--bg-secondary); }

.section__header { text-align: center; max-width: 800px; margin: 0 auto 3.5rem; }
.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.section__title { margin-bottom: 1rem; }
.section__subtitle { font-size: 1.125rem; line-height: 1.7; }

.grid--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid--2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid--3x2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ===== 5. Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--brand);
  color: var(--text-dark);
  padding: 0.75rem 1.75rem;
}
.btn--primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 0 24px rgba(0, 200, 250, 0.35);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 0.75rem 1.75rem;
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn--lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* Light section buttons */
.section--light .btn--ghost {
  color: var(--text-dark);
  border-color: var(--border-light);
}
.section--light .btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

/* ===== 5b. DSGVO Top Bar ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: var(--brand);
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.top-bar__star {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.top-bar__text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ===== 5c. StoryVault Icon ===== */
.sv-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* ===== 6. Header ===== */
.header {
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 1.5rem;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header--scrolled {
  background: rgba(28, 28, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.header__nav { display: flex; gap: 2rem; }
.header__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.header__link:hover { color: var(--text-heading); }
.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}
.header__hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.header__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 6rem;
  background: rgba(28, 28, 26, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--brand); }
body.menu-open { overflow: hidden; }

/* ===== 7. Hero ===== */
.hero {
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
.hero__visual {
  position: relative;
  margin-right: calc(-1 * (100vw - min(1400px, 100vw - 4rem)) / 2 - 2rem);
}
.hero__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  border: 1px solid rgba(0, 200, 250, 0.25);
  padding: 0.375rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}
.hero__title { margin-bottom: 1.5rem; }
.hero__title--accent { color: var(--brand); }
.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero__cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero Visual — Browser Mockup */
.hero__orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,250,0.18) 0%, rgba(0,200,250,0.04) 40%, transparent 70%);
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.browser-mockup {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
.browser-mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}
.browser-mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.browser-mockup__dot:first-child { background: #ff5f57; }
.browser-mockup__dot:nth-child(2) { background: #ffbd2e; }
.browser-mockup__dot:nth-child(3) { background: #28ca41; }
.browser-mockup__url {
  flex: 1;
  margin-left: 0.75rem;
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: var(--bg-primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}
.browser-mockup__content {
  padding: 1.25rem;
  min-height: 300px;
}

/* ===== 8. Problem Cards ===== */
.problem-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red-accent);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.08);
}
.problem-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--red-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--red-accent);
}
.problem-card__icon svg { width: 24px; height: 24px; }
.problem-card__title { font-size: 1.125rem; margin-bottom: 0.75rem; }
.problem-card__text { font-size: 0.9375rem; line-height: 1.65; }

/* ===== 9. Measure Cards ===== */
.measure-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-top: 2px solid var(--brand);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.measure-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--brand-glow);
}
.measure-card__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 200, 250, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.measure-card__title { font-size: 1.125rem; margin-bottom: 0.75rem; }
.measure-card__text { font-size: 0.9375rem; line-height: 1.65; margin-bottom: 1rem; }
.measure-card__solves {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand);
  background: rgba(0, 200, 250, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
}

/* ===== 10. Feature Highlight (Split Sections) ===== */
.feature-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-highlight--reverse { direction: rtl; }
.feature-highlight--reverse > * { direction: ltr; }

.feature-highlight__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 1rem;
}
.feature-highlight__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.feature-highlight__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.feature-highlight__bullets { display: flex; flex-direction: column; gap: 0.75rem; }
.feature-highlight__bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.feature-highlight__bullet-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--brand);
  margin-top: 2px;
}

/* Light section overrides */
.section--light .feature-highlight__text { color: var(--text-dark-secondary); }
.section--light .feature-highlight__bullet { color: var(--text-dark-secondary); }
.section--light .feature-highlight__title { color: var(--text-dark); }

/* Feature Mockups */
.feature-mockup {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.section--light .feature-mockup {
  background: #ffffff;
  border-color: var(--border-light);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* ===== 11. Feature Grid Cards ===== */
.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--brand-glow);
}
.feature-card__mockup {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem;
  background: var(--bg-tertiary);
  min-height: 200px;
}
.feature-card__content { padding: 1.5rem; }
.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(0, 200, 250, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--brand);
}
.feature-card__icon svg { width: 20px; height: 20px; }
.feature-card__content h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.feature-card__content p { font-size: 0.875rem; line-height: 1.6; }

/* ===== 12. Testimonials ===== */
.testimonials {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-card {
  min-width: 100%;
  text-align: center;
  padding: 0 2rem;
}
.testimonial-card__quote {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-style: italic;
}
.testimonial-card__author { color: rgba(255, 255, 255, 0.7); font-size: 0.9375rem; }
.testimonial-card__name { font-weight: 600; color: #ffffff; margin-bottom: 0.25rem; }
.testimonial-card__role { font-size: 0.8125rem; }
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.dot.active {
  background: #ffffff;
  width: 24px;
  border-radius: 4px;
}

/* ===== 13. Europe / DSGVO Banner ===== */
.europe-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(0,200,250,0.04) 0%, transparent 50%, rgba(0,200,250,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.europe-banner__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.europe-banner__flag {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
}
.europe-banner__flag .eu-star {
  fill: var(--brand);
  opacity: 0.9;
}
.europe-banner__content {
  flex: 1;
}
.europe-banner__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(0,200,250,0.1);
  border: 1px solid rgba(0,200,250,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.europe-banner__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.europe-banner__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 1.5rem;
}
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.75rem 2rem;
}
.compliance-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.compliance-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
}
.compliance-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== 14. FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-heading);
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item summary:hover { color: var(--brand); }
.faq-item__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.3s;
}
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__answer {
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item__answer p {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===== 15. Final CTA ===== */
.final-cta {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}
.final-cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,200,250,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(0,200,250,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta .container {
  position: relative;
  text-align: center;
}
.final-cta__title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.final-cta__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 16. Footer ===== */
.footer {
  padding: 4rem 0 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
}
.footer__brand p {
  font-size: 0.875rem;
  margin-top: 0.75rem;
  max-width: 280px;
}
.footer__links h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.footer__links a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--brand); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-toggle__btn {
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: transparent;
  transition: all 0.2s;
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-toggle__btn:hover { color: var(--text-primary); }
.lang-toggle__btn.active {
  background: var(--brand);
  color: var(--text-dark);
}
.mobile-menu .lang-toggle {
  background: var(--bg-secondary);
  margin-top: 0.5rem;
}

/* Footer heart */
.footer__heart {
  text-align: center;
  padding-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.footer__heart span { color: #ef4444; font-size: 1rem; }

/* ===== 17. Section Divider ===== */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--brand), transparent);
  opacity: 0.3;
}

/* ===== 18. Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

/* ===== 19. UI Mockup Styles ===== */
/* Shared mockup elements used inside feature sections */
.mockup-sidebar {
  width: 240px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 1rem 1.25rem;
}
.mockup-sidebar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}
.mockup-sidebar__item--active {
  background: rgba(0, 200, 250, 0.1);
  color: var(--brand);
}
.mockup-sidebar__item svg { width: 16px; height: 16px; }

.mockup-main { flex: 1; padding: 1.25rem 1.5rem; overflow: hidden; }
.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.mockup-topbar__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
}
.mockup-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  font-weight: 600;
}
.mockup-badge--brand { background: rgba(0, 200, 250, 0.12); color: var(--brand); }
.mockup-badge--green { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.mockup-badge--orange { background: rgba(249, 115, 22, 0.12); color: #f97316; }

/* Transcript line mockup */
.mockup-transcript-line {
  display: flex;
  gap: 0.85rem;
  padding: 0.6rem 0;
  font-size: 0.85rem;
}
.mockup-transcript-line__time {
  color: var(--text-secondary);
  font-size: 0.75rem;
  white-space: nowrap;
  min-width: 40px;
  padding-top: 1px;
}
.mockup-transcript-line__speaker {
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
  min-width: 60px;
}
.mockup-transcript-line__text {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Chat mockup */
.mockup-chat { display: flex; flex-direction: column; gap: 0.85rem; padding: 0.6rem 0; }
.mockup-chat-msg {
  max-width: 85%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  line-height: 1.5;
}
.mockup-chat-msg--user {
  align-self: flex-end;
  background: var(--brand);
  color: var(--text-dark);
}
.mockup-chat-msg--ai {
  align-self: flex-start;
  background: var(--bg-tertiary);
  color: var(--text-primary);
}
.mockup-chat-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Bot mockup */
.mockup-bot-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  margin-bottom: 0.6rem;
}
.mockup-bot-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}
.mockup-bot-card__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
}
.mockup-bot-card__meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.mockup-bot-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.mockup-bot-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Session cards mockup */
.mockup-session-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.mockup-session-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
}
.mockup-session-card__thumb {
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mockup-session-card__thumb--video,
.mockup-session-card__thumb--audio {
  background: linear-gradient(135deg, #171717, #0a0a0a);
}
.mockup-thumb-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(0, 200, 250, 0.15);
}
.mockup-thumb-icon {
  position: relative;
  z-index: 1;
  color: rgba(0, 200, 250, 0.4);
  width: 16px;
  height: 16px;
}
.mockup-thumb-duration {
  position: absolute;
  bottom: 3px;
  right: 4px;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 0.55rem;
  font-weight: 500;
  padding: 1px 4px;
  border-radius: 2px;
  font-variant-numeric: tabular-nums;
  z-index: 1;
}
.mockup-session-card__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
}
.mockup-session-card__meta {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* Dashboard mockup: Quick Actions */
.mockup-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.mockup-action-card {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.mockup-action-card__icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  shrink: 0;
  flex-shrink: 0;
}
.mockup-action-card__icon--red { background: rgba(220, 38, 38, 0.15); color: #f87171; }
.mockup-action-card__icon--blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.mockup-action-card__icon--green { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.mockup-action-card__title { font-size: 0.65rem; font-weight: 600; color: var(--text-heading); }
.mockup-action-card__desc { font-size: 0.55rem; color: var(--text-secondary); }

/* Dashboard mockup: Stats Row */
.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.mockup-stat {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.5rem;
}
.mockup-stat__number { font-size: 0.9rem; font-weight: 700; color: var(--text-heading); }
.mockup-stat__label { font-size: 0.55rem; color: var(--text-secondary); }

/* Light mockup variants */
.section--light .feature-mockup { background: #ffffff; border-color: var(--border-light); }
.section--light .mockup-sidebar { border-right-color: var(--border-light); }
.section--light .mockup-sidebar__item { color: var(--text-dark-secondary); }
.section--light .mockup-sidebar__item--active { background: rgba(0, 200, 250, 0.08); color: var(--brand-dark); }
.section--light .mockup-topbar { border-bottom-color: var(--border-light); }
.section--light .mockup-topbar__title { color: var(--text-dark); }
.section--light .mockup-transcript-line__speaker { color: var(--brand-dark); }
.section--light .mockup-transcript-line__text { color: var(--text-dark-secondary); }
.section--light .mockup-transcript-line__time { color: var(--text-dark-secondary); }
.section--light .mockup-chat-msg--ai { background: #f3f4f6; color: var(--text-dark); }
.section--light .mockup-chat-input { border-color: var(--border-light); color: var(--text-dark-secondary); }
.section--light .mockup-bot-card { background: #f9fafb; border-color: var(--border-light); }
.section--light .mockup-bot-card__title { color: var(--text-dark); }
.section--light .mockup-bot-card__meta { color: var(--text-dark-secondary); }
.section--light .mockup-session-card { background: #f9fafb; border-color: var(--border-light); }
.section--light .mockup-session-card__thumb--video,
.section--light .mockup-session-card__thumb--audio { background: linear-gradient(135deg, #171717, #0a0a0a); }
.section--light .mockup-session-card__title { color: var(--text-dark); }
.section--light .mockup-session-card__meta { color: var(--text-dark-secondary); }
.section--light .browser-mockup { background: #ffffff; border-color: var(--border-light); box-shadow: 0 25px 60px rgba(0,0,0,0.08); }
.section--light .browser-mockup__bar { background: #f9fafb; border-bottom-color: var(--border-light); }
.section--light .browser-mockup__dot { background: var(--border-light); }
.section--light .browser-mockup__dot:first-child { background: #ff5f57; }
.section--light .browser-mockup__dot:nth-child(2) { background: #ffbd2e; }
.section--light .browser-mockup__dot:nth-child(3) { background: #28ca41; }
.section--light .browser-mockup__url { background: #f3f4f6; color: var(--text-dark-secondary); }

/* Recorder mockup */
.mockup-recorder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 180px;
  gap: 1rem;
}
.mockup-recorder__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  box-shadow: 0 0 20px rgba(0, 200, 250, 0.3);
}
.mockup-recorder__btn svg { width: 28px; height: 28px; }
.mockup-recorder__label { font-size: 0.85rem; color: var(--text-secondary); }
.mockup-recorder__timer { font-size: 1.75rem; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.mockup-recorder__wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 30px;
}
.mockup-recorder__wave span {
  width: 3px;
  background: var(--brand);
  border-radius: 2px;
  animation: wave-bar 1s ease-in-out infinite;
}
.mockup-recorder__wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.mockup-recorder__wave span:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.mockup-recorder__wave span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.mockup-recorder__wave span:nth-child(4) { height: 50%; animation-delay: 0.3s; }
.mockup-recorder__wave span:nth-child(5) { height: 80%; animation-delay: 0.4s; }
.mockup-recorder__wave span:nth-child(6) { height: 40%; animation-delay: 0.5s; }
.mockup-recorder__wave span:nth-child(7) { height: 70%; animation-delay: 0.6s; }
@keyframes wave-bar {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* Search mockup */
.mockup-search { padding: 1.25rem; }
.mockup-search__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
}
.mockup-search__bar svg { width: 16px; height: 16px; color: var(--text-secondary); }
.mockup-search__bar span { font-size: 0.85rem; color: var(--text-secondary); }
.mockup-search__result {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.mockup-search__result:last-child { border-bottom: none; }
.mockup-search__result-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(0, 200, 250, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}
.mockup-search__result-icon svg { width: 16px; height: 16px; }
.mockup-search__result-title { font-size: 0.85rem; font-weight: 600; color: var(--text-heading); }
.mockup-search__result-text { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.15rem; }

/* Share dialog mockup */
.mockup-share { padding: 1.5rem; }
.mockup-share__title { font-size: 0.95rem; font-weight: 600; color: var(--text-heading); margin-bottom: 1rem; }
.mockup-share__link-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}
.mockup-share__link-box span {
  flex: 1;
  font-size: 0.8rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mockup-share__copy-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
  padding: 0.25rem 0.5rem;
  background: rgba(0, 200, 250, 0.1);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.mockup-share__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.mockup-share__toggle {
  width: 28px;
  height: 16px;
  border-radius: 8px;
  background: var(--brand);
  position: relative;
}
.mockup-share__toggle::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 2px;
  right: 2px;
}

/* Calendar mockup */
.mockup-calendar { padding: 1.25rem; }
.mockup-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.mockup-calendar__month { font-size: 0.9rem; font-weight: 600; color: var(--text-heading); }
.mockup-calendar__nav { display: flex; gap: 0.25rem; }
.mockup-calendar__nav button {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.7rem;
}
.mockup-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.mockup-calendar__day {
  font-size: 0.7rem;
  padding: 0.3rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}
.mockup-calendar__day--head { font-weight: 600; color: var(--text-heading); font-size: 0.65rem; text-transform: uppercase; }
.mockup-calendar__day--event { background: rgba(0, 200, 250, 0.15); color: var(--brand); font-weight: 600; }
.mockup-calendar__day--today { border: 1px solid var(--brand); }

/* Summary mockup */
.mockup-summary { padding: 1.25rem; }
.mockup-summary__label { font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.mockup-summary__title { font-size: 0.9rem; font-weight: 600; color: var(--text-heading); margin-bottom: 0.75rem; }
.mockup-summary__text { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.5rem; }
.mockup-summary__bullet { display: flex; align-items: flex-start; gap: 0.35rem; font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 0.25rem; }
.mockup-summary__bullet::before { content: '•'; color: var(--brand); flex-shrink: 0; }

/* ===== 20. Responsive — Tablet ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__cta-group { justify-content: center; }
  .hero__visual { max-width: 650px; margin: 2rem auto 0; margin-right: auto; }
  .hero { min-height: auto; padding: 9rem 0 4rem; }

  .feature-highlight { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-highlight--reverse { direction: ltr; }

  .grid--3x2 { grid-template-columns: repeat(2, 1fr); }

  .europe-banner__inner { gap: 2.5rem; }
  .europe-banner__flag { width: 120px; height: 120px; }
  .europe-banner__title { font-size: 1.5rem; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ===== 21. Responsive — Mobile ===== */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .section { padding: 4rem 0; }

  .header__nav { display: none; }
  .header__hamburger { display: flex; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--3x2 { grid-template-columns: 1fr; }

  .europe-banner__inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .europe-banner__flag { width: 100px; height: 100px; }
  .europe-banner__title { font-size: 1.35rem; }
  .europe-banner__text { margin-left: auto; margin-right: auto; }
  .compliance-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; justify-items: start; margin: 0 auto; width: fit-content; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }

  .testimonial-card__quote { font-size: 1.125rem; }

  .feature-highlight__title { font-size: 1.5rem; }
  .final-cta__title { font-size: 2rem; }

  .mockup-sidebar { display: none; }
  .mockup-session-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.875rem; }
  .hero__cta-group { flex-direction: column; }
  .hero__cta-group .btn { width: 100%; justify-content: center; }
  .compliance-grid { grid-template-columns: 1fr; }
  .compliance-item { justify-content: flex-start; }
}

/* ===== No-Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: cookieSlideIn 0.4s ease-out;
}
.cookie-banner--hidden {
  animation: cookieSlideOut 0.3s ease-in forwards;
}
.cookie-banner__close {
  background: var(--brand);
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.cookie-banner__close:hover {
  background: var(--brand-dark);
}
@keyframes cookieSlideIn {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cookieSlideOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(1rem); }
}
@media (max-width: 480px) {
  .cookie-banner { right: 1rem; left: 1rem; bottom: 1rem; }
}

/* ===== Docs Page ===== */
.docs-hero {
  padding: 8rem 0 3rem;
  text-align: center;
}
.docs-hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.docs-hero__subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.docs {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}

/* TOC Sidebar */
.docs__toc {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 6rem;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: thin;
}
.docs__toc-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
}
.docs__toc-link {
  display: block;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.15s ease;
}
.docs__toc-link:hover {
  color: var(--text-primary);
}
.docs__toc-link--active {
  color: var(--brand);
  border-left-color: var(--brand);
  font-weight: 500;
}

/* Main Content */
.docs__content {
  flex: 1;
  min-width: 0;
  max-width: 800px;
}

/* Sections */
.docs__section {
  margin-bottom: 4rem;
  scroll-margin-top: 6rem;
}
.docs__section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text-heading);
}
.docs__section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}
.docs__section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.docs__section ul, .docs__section ol {
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.docs__section li {
  margin-bottom: 0.35rem;
}
.docs__section li strong {
  color: var(--text-primary);
}
.docs__section a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.docs__section a:hover {
  color: var(--brand-dark);
}
.docs__section code {
  background: var(--bg-tertiary);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.875em;
}
.docs__section em {
  color: var(--text-secondary);
}

/* Hint box */
.docs__hint {
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.06);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #fbbf24;
}

/* Roles table */
.docs__table {
  width: 100%;
  font-size: 0.9rem;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.docs__table th {
  text-align: left;
  padding: 0.6rem 1rem 0.6rem 0;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.docs__table td {
  padding: 0.6rem 1rem 0.6rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.docs__table td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}

/* Docs mockup wrapper */
.docs__mockup {
  margin: 1.5rem 0;
  max-width: 480px;
}
.docs__mockup .feature-mockup {
  font-size: 0.85rem;
}

/* Scroll-to-top */
.docs__scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 200, 250, 0.3);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.docs__scroll-top:hover {
  transform: scale(1.1);
}
.docs__scroll-top--visible {
  display: flex;
}

/* Mobile TOC */
.docs__toc-mobile {
  display: none;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.docs__toc-mobile::-webkit-scrollbar { display: none; }
.docs__toc-mobile-link {
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.docs__toc-mobile-link:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}
.docs__toc-mobile-link--active {
  background: var(--brand);
  color: var(--bg-primary);
  border-color: var(--brand);
}

@media (max-width: 1024px) {
  .docs { flex-direction: column; gap: 0; }
  .docs__toc { display: none; }
  .docs__toc-mobile { display: flex; }
  .docs__content { max-width: 100%; }
  .docs-hero { padding: 7rem 0 2rem; }
  .docs-hero__title { font-size: 2rem; }
}
