/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg:          #0d1117;
  --bg-surface:  #161b22;
  --bg-elevated: #1c2128;
  --border:      #30363d;
  --border-glow: rgba(0, 200, 150, 0.25);

  --accent:      #00c896;
  --accent-dim:  rgba(0, 200, 150, 0.12);
  --accent-glow: rgba(0, 200, 150, 0.4);

  --text-primary:   #e6edf3;
  --text-secondary: #8b949e;
  --text-muted:     #484f58;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --max-w: 1120px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .8; }

img, svg { display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

.nav__logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: .02em;
}

.nav__logo-bracket { color: var(--accent); }

.nav__links {
  display: flex; gap: 2rem; align-items: center;
  font-size: .9rem;
}

.nav__links a { color: var(--text-secondary); transition: color .15s; }
.nav__links a:hover { color: var(--text-primary); opacity: 1; }

.nav__cta {
  padding: .45rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent) !important;
  font-size: .85rem;
  letter-spacing: .03em;
  transition: background .15s, color .15s !important;
}
.nav__cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
  opacity: 1 !important;
}

/* Mobile menu toggle — hidden on desktop, shown via media query */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 34px;
  padding: 7px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .15s;
}
.nav__toggle:hover { border-color: var(--accent); }
.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav--open .nav__toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav--open .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 5rem 2rem;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: center;
  gap: 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .18;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.hero__scan {
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  animation: scan 4s ease-in-out 1s 1 forwards;
  pointer-events: none;
}

@keyframes scan {
  0%   { top: 0;   opacity: .9; }
  100% { top: 100%; opacity: 0; }
}

.hero__content { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .75rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--accent);
  letter-spacing: .04em;
  margin-bottom: 1.75rem;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent); }
  50%       { opacity: .5; box-shadow: 0 0 2px var(--accent); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

.hero__headline-accent {
  color: var(--accent);
  position: relative;
}

.hero__headline-accent::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: .5;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 42ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__form-wrap { max-width: 440px; }

.hero__form-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.hero__mascotte-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero__mascotte {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 0 60px rgba(0,200,150,.12));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ── Subscribe form ──────────────────────────────────────── */
.subscribe-form__row {
  display: flex; gap: 0;
}

.subscribe-form__input {
  flex: 1;
  padding: .7rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.subscribe-form__input::placeholder { color: var(--text-muted); }

.subscribe-form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.subscribe-form__input.is-error {
  border-color: #f85149;
  box-shadow: 0 0 0 3px rgba(248, 81, 73, .15);
}

.subscribe-form__btn {
  display: flex; align-items: center; gap: .4rem;
  padding: .7rem 1.25rem;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--bg);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: filter .2s, transform .1s;
  white-space: nowrap;
}

.subscribe-form__btn:hover { filter: brightness(1.12); }
.subscribe-form__btn:active { transform: scale(.98); }

.subscribe-form__btn[aria-busy="true"] .subscribe-form__btn-text { opacity: .5; }
.subscribe-form__btn-arrow { transition: transform .2s; }
.subscribe-form__btn:hover .subscribe-form__btn-arrow { transform: translateX(3px); }

.subscribe-form__message {
  margin-top: .6rem;
  font-size: .85rem;
  min-height: 1.25rem;
  font-family: var(--font-mono);
}

.subscribe-form__message.is-success { color: var(--accent); }
.subscribe-form__message.is-error   { color: #f85149; }

.subscribe-form__consent {
  margin-top: .75rem;
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Code Window (hero preview) ─────────────────────────── */
.hero__code-preview { position: relative; z-index: 1; }

.code-window {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border),
    0 24px 80px rgba(0,0,0,.5),
    0 0 40px var(--accent-dim);
}

.code-window__bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .7rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.code-window__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.code-window__dot--red    { background: #ff5f57; }
.code-window__dot--yellow { background: #febc2e; }
.code-window__dot--green  { background: #28c840; }

.code-window__title {
  margin-left: .5rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text-muted);
}

.code-window__body {
  padding: 1.5rem 1.75rem;
  overflow-x: auto;
}

/* ── Code blocks ─────────────────────────────────────────── */
pre, code {
  font-family: var(--font-mono);
  font-size: .85rem;
  line-height: 1.75;
}

.code-block {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.code-block--inline { display: inline-block; }

.code-block pre { padding: 1rem 3.5rem 1rem 1.25rem; overflow-x: auto; }

.code-block__copy {
  position: absolute; top: .6rem; right: .6rem;
  padding: .2rem .5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: .7rem;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.code-block__copy:hover { color: var(--accent); border-color: var(--accent); }
.code-block__copy.copied { color: var(--accent); }

/* syntax highlight tokens */
.kw  { color: #ff7b72; }
.fn  { color: #79c0ff; }
.str { color: #a5d6ff; }
.cmt { color: var(--text-muted); font-style: italic; }
.num { color: #f2cc60; }
.prompt { color: var(--accent); user-select: none; }

/* ── Section headers ─────────────────────────────────────── */
.section-header { margin-bottom: 3.5rem; }

.section-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}

/* ── Why Fenn ────────────────────────────────────────────── */
.why {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.why__card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.why__card--accent {
  border-color: var(--border-glow);
  background: linear-gradient(135deg, var(--bg-surface), rgba(0,200,150,.04));
  box-shadow: 0 0 30px var(--accent-dim);
}

.why__card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: .75rem 0 1rem;
}

.why__card-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}

.why__list {
  list-style: none;
  display: flex; flex-direction: column; gap: .6rem;
}

.why__list li {
  font-size: .9rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}

.why__list li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.why__card--accent .why__list li { color: var(--text-primary); }
.why__card--accent .why__list li::before { color: var(--accent); content: '✓'; }

.why__divider {
  display: flex; align-items: center; justify-content: center;
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── Features ────────────────────────────────────────────── */
.features {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity .2s;
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 20px var(--accent-dim);
}

.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 38px; height: 38px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card__icon svg { width: 100%; height: 100%; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.feature-card p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-card__tag {
  display: inline-block;
  margin-top: 1.1rem;
  padding: .2rem .55rem;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--accent);
  letter-spacing: .05em;
}

/* ── Quickstart ──────────────────────────────────────────── */
.quickstart {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

/* ── Sponsorship ─────────────────────────────────────────── */
.sponsor {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.sponsor__panel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid var(--border-glow);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(circle at top right, rgba(0,200,150,.14), transparent 42%),
    linear-gradient(135deg, rgba(22,27,34,.96), rgba(13,17,23,.92));
  box-shadow: 0 18px 60px rgba(0,0,0,.28), 0 0 32px var(--accent-dim);
}

.sponsor__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: .08;
  pointer-events: none;
}

.sponsor__header,
.sponsor__grid,
.sponsor__footer {
  position: relative;
  z-index: 1;
}

.sponsor__lead {
  max-width: 68ch;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

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

.sponsor-card {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(13,17,23,.5);
}

.sponsor-card__icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .9rem;
}

.sponsor-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .45rem;
}

.sponsor-card p {
  color: var(--text-secondary);
  font-size: .92rem;
  line-height: 1.65;
}

.sponsor__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.sponsor__note {
  color: var(--text-muted);
  font-size: .85rem;
}

.quickstart__steps {
  display: flex; flex-direction: column; gap: 2.5rem;
  max-width: 680px;
}

.qs-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  align-items: start;
}

.qs-step__num {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--accent);
  letter-spacing: .06em;
  padding-top: .3rem;
}

.qs-step__content {
  min-width: 0;
}

.qs-step__content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .65rem;
}

.qs-step__tip {
  font-size: .8rem;
  color: var(--text-muted);
  margin: .6rem 0 .4rem;
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  border-top: 1px solid var(--border);
  padding: 7rem 0;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0,200,150,.06) 0%, transparent 70%);
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}

.cta-section__sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.cta-section__links {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  transition: filter .15s, transform .1s;
}

.btn:hover { filter: brightness(1.1); opacity: 1; }
.btn:active { transform: scale(.97); }

.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

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

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); }

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

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__brand {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
}

.footer__brand p {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--text-secondary);
  margin-top: .5rem;
  font-weight: 300;
}

.footer__links {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  align-items: center;
}

.footer__links a {
  font-size: .85rem;
  color: var(--text-secondary);
  transition: color .15s;
}
.footer__links a:hover { color: var(--text-primary); opacity: 1; }

.footer__copy {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    padding: 4rem 2rem;
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__mascotte-wrap {
    order: -1;
    margin-bottom: .5rem;
  }

  .hero__mascotte {
    max-width: 180px;
    margin: 0 auto;
  }

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

  .why__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .why__divider { display: none; }

  .sponsor__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  /* Non-collapsible navs (dashboard/admin/auth): keep the compact behavior */
  .nav:not(.nav--collapsible) .nav__links a:not(.nav__cta):not(:last-of-type) { display: none; }

  /* Collapsible marketing nav: hamburger reveals a stacked dropdown */
  .nav--collapsible { flex-wrap: wrap; }
  .nav--collapsible .nav__toggle { display: inline-flex; }
  .nav--collapsible .nav__links {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .25s ease, opacity .2s ease;
  }
  .nav--collapsible.nav--open .nav__links {
    max-height: 360px;
    opacity: 1;
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px solid var(--border);
  }
  .nav--collapsible .nav__links a:not(.nav__cta) {
    padding: .65rem .25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav--collapsible .nav__cta {
    margin-top: .85rem;
    text-align: center;
  }

  .features__grid { grid-template-columns: 1fr; }
  .subscribe-form__row { flex-direction: column; }
  .subscribe-form__input {
    border-right: 1px solid var(--border);
    border-bottom: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  .subscribe-form__btn {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    justify-content: center;
  }

  .code-block--inline {
    display: block;
  }
}

/* ── Animations / entrance ───────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp .5s ease forwards;
  }

  .hero__badge        { animation-delay: .1s; }
  .hero__headline     { animation-delay: .2s; }
  .hero__sub          { animation-delay: .3s; }
  .hero__form-wrap    { animation-delay: .4s; }

  .hero__mascotte-wrap {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp .6s ease .25s forwards;
  }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Quickstart pull callout ─────────────────────────────── */
.qs-pull-callout {
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,200,150,.05) 0%, var(--bg-surface) 60%);
  overflow: hidden;
}

.qs-pull-callout__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2.5rem;
  padding: 2.25rem 2.5rem;
}

.qs-pull-callout__tag {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: .6rem;
}

.qs-pull-callout__headline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.qs-pull-callout__sub {
  font-size: .875rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
}

.qs-pull-callout__right .code-block {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .qs-pull-callout__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── Privacy page ─────────────────────────────────────────── */
.privacy {
  padding: 5rem 0 6rem;
}

.privacy__inner {
  max-width: 760px;
  margin: 0 auto;
}

.privacy__header {
  margin-bottom: 3rem;
}

.privacy__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-top: .75rem;
  margin-bottom: .5rem;
  color: var(--text-primary);
}

.privacy__meta {
  font-size: .875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.privacy__body {
  color: var(--text-secondary);
  line-height: 1.8;
}

.privacy__body p {
  margin-bottom: 1rem;
}

.privacy__body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.privacy__body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: .5rem;
}

.privacy__body h4 {
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 1.5rem;
  margin-bottom: .4rem;
}

.privacy__body ul {
  list-style: none;
  padding: 0;
  margin: .5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.privacy__body ul li {
  padding-left: 1.25rem;
  position: relative;
}

.privacy__body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .8rem;
}

.privacy__body strong {
  color: var(--text-primary);
  font-weight: 500;
}

.privacy__body a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}

.privacy__body a:hover {
  border-bottom-color: var(--accent);
  opacity: 1;
}

/* ── Cookie banner ────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 3rem);
  max-width: 760px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-glow);
  animation: banner-slide-up .35s cubic-bezier(.22, 1, .36, 1) both;
}

.cookie-banner[hidden] {
  display: none;
}

@keyframes banner-slide-up {
  from { opacity: 0; transform: translateX(-50%) translateY(1.5rem); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
}

.cookie-banner__text {
  flex: 1;
  min-width: 0;
}

.cookie-banner__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--accent);
  margin-bottom: .25rem;
  letter-spacing: .04em;
}

.cookie-banner__text p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.cookie-banner__text a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}

.cookie-banner__text a:hover {
  border-bottom-color: var(--accent);
  opacity: 1;
}

.cookie-banner__actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--font-body);
  font-size: .85rem;
  padding: .45rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}

.cookie-banner__btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.cookie-banner__btn--ghost:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.cookie-banner__btn--accept {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--bg);
  font-weight: 500;
}

.cookie-banner__btn--accept:hover {
  background: transparent;
  color: var(--accent);
}

@media (max-width: 560px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
}
