/* ============================================================
   BigCap landing page — stylesheet
   Extracted from inline styles into reusable tokens + classes.
   Palette is the source-of-truth app UI palette (see
   WEB-DESIGNER-HANDOFF.md §3).
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --bg:          #0E1116; /* page background */
  --bg-deep:     #0B0E13; /* footer */
  --bg-alt:      #10141b; /* inset / mock chrome */
  --panel:       #161B24; /* cards / sections */
  --panel-2:     #1D2430; /* raised elements */
  --panel-3:     #141922; /* large feature cards */
  --line:        #283041; /* borders, dividers */
  --text:        #E6E9EF; /* primary text */
  --muted:       #8A93A6; /* secondary text */
  --muted-2:     #B8BFCE; /* brighter secondary text */
  --accent:      #1E6BFF; /* primary CTA / links */
  --accent-2:    #0A4FD6; /* CTA gradient bottom / hover */
  --warn:        #F0B429; /* notices */
  --danger:      #FF5D5D; /* errors */
  --success:     #3DDC84; /* live/session indicators */

  /* Accent tints (derived from --accent) */
  --accent-30:   rgba(30, 107, 255, 0.30);
  --accent-33:   rgba(30, 107, 255, 0.33); /* #1E6BFF55 */
  --accent-35:   rgba(30, 107, 255, 0.35);
  --accent-40:   rgba(30, 107, 255, 0.40); /* #1E6BFF66 */
  --accent-45:   rgba(30, 107, 255, 0.45);
  --accent-53:   rgba(30, 107, 255, 0.53); /* #1E6BFF88 */

  /* Effects */
  --accent-gradient: linear-gradient(180deg, var(--accent), var(--accent-2));
  --shadow-btn-sm:   0 4px 16px  var(--accent-35);
  --shadow-btn:      0 8px 30px  var(--accent-45);
  --shadow-btn-xl:   0 0 40px    var(--accent-35);
  --shadow-card:     0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-float:    0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-mascot:   0 24px 48px rgba(0, 0, 0, 0.50);
  --hero-glow:  radial-gradient(ellipse at 60% 40%, rgba(30, 107, 255, 0.18), transparent 65%);
  /* Text halos for the privacy band (text over an image) */
  --halo:    0 2px 10px rgba(14, 17, 22, 0.95), 0 0 22px rgba(14, 17, 22, 0.90);
  --halo-lg: 0 2px 12px rgba(14, 17, 22, 0.95), 0 0 28px rgba(14, 17, 22, 0.90), 0 0 46px rgba(14, 17, 22, 0.80);

  /* Typography */
  --font-sans: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* Radii */
  --radius-sm:   7px;
  --radius:     10px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1200px;
  --gutter:    40px;
}

/* ---------- Base / reset ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Offset in-page anchor targets so they clear the sticky nav */
:target,
[id] { scroll-margin-top: 80px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  /* clip (not hidden) prevents the off-canvas mascots from causing
     horizontal scroll WITHOUT creating a scroll container — which would
     otherwise break `position: sticky` on the nav. */
  overflow-x: clip;
}

::selection { background: var(--accent-33); }

.screen { min-height: 100vh; }

h1, h2, h3, p, ul { margin: 0; }

/* ---------- Shared atoms ---------- */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}
.dot--success { width: 8px; height: 8px; background: var(--success); }

.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel);
  font-size: 13px;
  color: var(--muted);
}

/* Camera glyph built from borders (used in buttons / mock toolbar) */
.icon-camera {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
  display: inline-block;
  position: relative;
}
.icon-camera::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -2px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.icon-camera--sm { width: 13px; height: 13px; border-radius: 3px; }
.icon-camera--sm::after { left: 2px; right: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: var(--accent-gradient);
  border-radius: var(--radius);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.1); }
.btn__glyph { font-size: 20px; line-height: 1; }

.btn--sm {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-btn-sm);
}
.btn--lg {
  padding: 15px 30px;
  font-size: 17px;
  box-shadow: var(--shadow-btn);
}
.btn--lg:hover { transform: translateY(-1px); }
.btn--xl {
  padding: 18px 42px;
  border-radius: 14px;
  font-size: 20px;
  background: var(--accent);
  box-shadow: var(--shadow-btn-xl);
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(14, 17, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-nav__brand { display: flex; align-items: center; gap: 12px; }
.site-nav__home { display: inline-flex; text-decoration: none; }
.site-nav__logo { height: 26px; display: block; }
.site-nav__by {
  font-size: 12px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.site-nav__links { display: flex; align-items: center; gap: 28px; }
.site-nav__link {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.site-nav__link:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 88px var(--gutter) 96px;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(380px, 520px);
  gap: 48px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__title {
  font-size: 58px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
}
.hero__cta { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.hero__meta { font-size: 13px; color: var(--muted); line-height: 1.5; }
.hero__visual { position: relative; min-height: 480px; }
.hero__glow { position: absolute; inset: -60px; background: var(--hero-glow); pointer-events: none; }
.hero__screenshot {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: block;
}
.hero__mascot {
  position: absolute;
  right: -36px;
  bottom: -70px;
  width: 210px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

/* ---------- "Why it's different" strip ---------- */
.why {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.why__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why__item { display: flex; flex-direction: column; gap: 8px; }
.why__title { font-size: 15px; font-weight: 700; color: var(--text); }
.why__body { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Section headings ---------- */
.section__title {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section__lead {
  margin: 0 0 40px;
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Features grid ---------- */
.features {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--gutter) 48px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease;
}
.feature-card:hover { border-color: var(--accent-40); }
.feature-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}
.feature-card__title { font-size: 16px; font-weight: 700; }
.feature-card__body { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Browse & Capture spotlight ---------- */
.spotlight {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter);
}
.spotlight__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  background: var(--panel-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  min-width: 1020px;
}
.spotlight__mascot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -48px;
  height: calc(100% + 96px);
  width: auto;
  z-index: 2;
  filter: drop-shadow(var(--shadow-mascot));
  pointer-events: none;
}
.spotlight__copy { display: flex; flex-direction: column; gap: 18px; }
.spotlight__eyebrow {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.spotlight__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.spotlight__text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}
.spotlight__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.spotlight__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

/* ---------- Mock in-app browser window ---------- */
.browser { position: relative; }
.browser__frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--line);
}
.browser__toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-alt);
}
.browser__nav-btns { display: flex; gap: 8px; color: var(--muted); font-size: 15px; }
.browser__address {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.browser__url {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser__capture {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* Captured page — intentionally a light "website" inside the dark UI.
   These greys are illustrative content, not brand tokens. */
.browser__page { background: #fff; }
.browser__page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #E5E8EE;
}
.browser__brand { display: flex; align-items: center; gap: 10px; }
.browser__brand-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.browser__brand-bar { width: 90px; height: 9px; border-radius: 5px; background: #DDE2EA; }
.browser__signed-in {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--radius-pill);
  background: #EEF1F5;
  font-size: 12px;
  font-weight: 600;
  color: #3A4354;
}
.browser__avatar { width: 18px; height: 18px; border-radius: 50%; background: #C3CAD6; }
.browser__body { display: grid; grid-template-columns: 130px 1fr; min-height: 300px; }
.browser__sidebar {
  padding: 20px 16px;
  border-right: 1px solid #E5E8EE;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.browser__content { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.browser__heading { width: 34%; height: 11px; border-radius: 5px; background: #D4D9E2; }
.browser__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.browser__card { height: 64px; border-radius: 8px; border: 1px solid #E5E8EE; background: #fff; }
.browser__block {
  border: 1px solid #E5E8EE;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skeleton { height: 8px; border-radius: 4px; background: #E2E6ED; }
.browser__sidebar .skeleton:nth-child(1) { width: 85%; background: #A9C4FF; }
.browser__sidebar .skeleton:nth-child(2) { width: 95%; }
.browser__sidebar .skeleton:nth-child(3) { width: 70%; }
.browser__sidebar .skeleton:nth-child(4) { width: 88%; }
.browser__block .skeleton:nth-child(1) { width: 92%; }
.browser__block .skeleton:nth-child(2) { width: 78%; }
.browser__block .skeleton:nth-child(3) { width: 85%; }
.browser__block .skeleton:nth-child(4) { width: 60%; }
.browser__session {
  position: absolute;
  right: 18px;
  bottom: -16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--panel-2);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.browser__session-text { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }

/* ---------- Formats ---------- */
.formats {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter) 96px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.formats__visual { position: relative; display: flex; justify-content: center; }
.formats__image { width: 100%; max-width: 400px; border-radius: var(--radius-lg); display: block; }
.formats__copy { display: flex; flex-direction: column; gap: 20px; }
.formats__title { font-size: 32px; font-weight: 800; letter-spacing: -0.01em; }
.chips { display: flex; gap: 10px; }
.chip-tag {
  padding: 6px 16px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.bullet-list {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bullet-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.bullet-list__mark { color: var(--accent); font-weight: 700; }

/* ---------- Output cards ("dialed in") ---------- */
.output {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}
.output__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.output-card {
  background: var(--panel-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.output-card__title { font-size: 22px; font-weight: 700; }
.output-card__text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

/* App-window mock shared by both output cards */
.app-mock {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 420px;
}
.app-mock__browse {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
}
.menu-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.menu-tab {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.menu-tab__caret { font-size: 10px; color: var(--muted); }
.menu-tab--active { border-color: var(--accent-53); background: var(--panel); }
.menu-tab--active .menu-tab__caret { color: var(--accent); }

.app-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.app-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--end { align-items: flex-end; }
.field__label { font-size: 12px; font-weight: 600; color: var(--muted); }
.field__note { font-size: 12px; color: var(--muted); }
.field__note strong { color: var(--muted-2); }

.value {
  display: inline-block;
  padding: 8px 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  min-width: 70px;
}
.chip {
  padding: 6px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.unit { font-size: 12px; color: var(--muted); }

/* Segmented scale control (1× / 2×) */
.scale { display: inline-flex; }
.scale__opt { padding: 8px 14px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.scale__opt--on {
  background: var(--panel-2);
  border-color: var(--accent-53);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--text);
  font-weight: 700;
}
.scale__opt--off {
  background: transparent;
  border-left: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
}

/* Preset chips (Mobile / Tablet / Desktop / Large) */
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.preset {
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-2);
  white-space: nowrap;
}
.preset span { color: var(--muted); font-weight: 400; }
.preset--active { border-color: var(--accent); color: var(--text); font-weight: 700; }
.preset--active span { color: var(--accent); font-weight: 600; }

/* Format segmented control (PNG / JPEG / PDF) */
.format-seg {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.format-seg__opt { padding: 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.format-seg__opt + .format-seg__opt { border-left: 1px solid var(--line); }
.format-seg__opt--active { font-weight: 700; color: var(--text); background: var(--panel-2); }

/* Toggle switch */
.toggle {
  width: 38px;
  height: 21px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
}
.toggle--off { background: #3A4354; }
.toggle--off::after { right: auto; left: 2px; background: var(--text); }

/* Option row (Max Length / Break) */
.opt-row {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.opt-row--flush { border-radius: 9px 9px 0 0; border-bottom: none; padding: 14px 16px 6px; }
.opt-row__label { font-size: 14px; font-weight: 700; color: var(--text); }
.opt-row__control { display: flex; align-items: center; gap: 10px; }

/* Delay block (Options card) */
.opt-block {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.opt-block__head { display: flex; align-items: center; justify-content: space-between; }
.opt-block__label { font-size: 15px; font-weight: 700; color: var(--text); }
.opt-block__value { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

/* Checkbox list (Options card) */
.checklist { display: flex; flex-direction: column; gap: 13px; padding: 4px 2px; }
.check-row { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.check-row__hint { color: var(--muted); font-size: 12px; }
.check { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #5A6478; flex-shrink: 0; }
.check--on {
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Privacy band ---------- */
.privacy {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #10151d, var(--bg));
}
.privacy__inner { position: relative; max-width: 1100px; margin: 0 auto; }
.privacy__mascot {
  position: absolute;
  left: 12px;
  top: -52px;
  height: calc(100% + 104px);
  width: auto;
  filter: drop-shadow(var(--shadow-mascot));
  pointer-events: none;
}
.privacy__content {
  position: relative;
  margin-left: 400px;
  padding: 80px var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.privacy__eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: var(--halo);
}
.privacy__title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-shadow: var(--halo-lg);
}
.privacy__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-2);
  max-width: 62ch;
  text-wrap: pretty;
  text-shadow: var(--halo);
}
.privacy__link {
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--accent-33);
  text-shadow: var(--halo);
}
.privacy__link:hover { border-bottom-color: var(--accent); }

/* ---------- Download CTA ---------- */
.download {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px var(--gutter) 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.download__logo { height: 48px; display: block; margin-bottom: 28px; }
.download__title { margin: 0 0 36px; font-size: 44px; font-weight: 700; letter-spacing: -0.01em; }
.download__meta { font-size: 15px; color: var(--muted); margin-top: 22px; }
.notice {
  max-width: 860px;
  width: 100%;
  margin-top: 40px;
  padding: 26px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.notice__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--warn);
  display: inline-block;
  flex-shrink: 0;
  margin-top: 7px;
}
.notice__text { font-size: 16px; line-height: 1.75; color: var(--muted-2); }
.notice__text strong { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}
.site-footer__mascot {
  position: absolute;
  right: 3%;
  bottom: 0;
  height: calc(100% + 80px);
  width: auto;
  z-index: 2;
  pointer-events: none;
}
.site-footer__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.site-footer__brand { font-size: 16px; font-weight: 700; }
.site-footer__row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.site-footer__link { color: var(--accent); text-decoration: none; }
.site-footer__link:hover { text-decoration: underline; }
.site-footer__version { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.site-footer__legal { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-top: 8px; }
.site-footer__legal-link { color: var(--muted); text-decoration: none; }
.site-footer__legal-link:hover { color: var(--accent); }
.site-footer__sep { color: var(--line); }
.site-footer__copy { font-size: 12px; color: var(--muted); opacity: 0.7; }

/* ---------- Legal / document pages (EULA, Trust & Privacy) ---------- */
.doc-nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.doc-nav__logo { height: 24px; display: block; }
.doc-nav__back { color: var(--accent); text-decoration: none; font-size: 14px; }
.doc-nav__back:hover { text-decoration: underline; }

.doc {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px var(--gutter) 96px;
  font-size: 15px;
  line-height: 1.7;
}
.doc__title { margin: 0 0 8px; font-size: 36px; font-weight: 800; letter-spacing: -0.01em; }
.doc h2 { margin: 40px 0 12px; font-size: 21px; font-weight: 700; }
.doc h3 { margin: 24px 0 10px; font-size: 17px; font-weight: 700; }
.doc p { margin: 0 0 16px; color: var(--muted-2); }
.doc p:last-child { margin-bottom: 0; }
.doc ul,
.doc ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--muted-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc a { color: var(--accent); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
}

/* Dimmer, all-caps notices (e.g. the EULA "IMPORTANT" preamble) */
.doc p.doc__important { color: var(--muted); }

/* Document metadata band under the title */
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 16px 0 36px;
  padding: 16px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--muted);
}
.doc-meta strong { color: var(--text); }

/* Closing fine print */
.doc__rule { border: none; border-top: 1px solid var(--line); margin: 48px 0 24px; }
.doc p.doc__fine { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.doc p.doc__fine:last-child { margin-bottom: 0; }
.doc p.doc__fine--italic { font-style: italic; }

/* ---------- Documentation page ---------- */
.docs-layout {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px var(--gutter) 96px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* Sticky table of contents */
.docs-toc { position: sticky; top: 80px; }
.docs-toc__title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.docs-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--line);
}
.docs-toc__link {
  display: block;
  margin-left: -1px;
  padding: 6px 0 6px 16px;
  border-left: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
}
.docs-toc__link:hover { color: var(--text); border-left-color: var(--accent); }

/* Content column reuses .doc typography; drop the .doc container framing */
.docs-content { max-width: none; margin: 0; padding: 0; }

/* Screenshot figures */
.docs-figure { margin: 24px 0; }
.docs-figure img {
  display: block;
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.docs-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Small "(default)" annotation next to a heading */
.doc-inline-note { font-size: 13px; font-weight: 400; color: var(--muted); }

/* Callouts (tips / notices) */
.callout {
  margin: 20px 0;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-2);
}
.callout strong { color: var(--text); }
.callout--warn { border-left-color: var(--warn); }

/* Tables */
.docs-table-wrap { overflow-x: auto; margin: 20px 0; }
.docs-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.docs-content th,
.docs-content td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.docs-content thead th { background: var(--panel); color: var(--text); font-weight: 700; }
.docs-content tbody td { color: var(--muted-2); }

/* ---------- Responsive (additive — desktop layout unchanged) ----------
   Kicks in only below the widths where the fixed grids already stop
   fitting, so the desktop composition is untouched. */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { min-height: auto; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .formats { grid-template-columns: 1fr; }
  .output__grid { grid-template-columns: 1fr; }
  .spotlight__panel {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .spotlight__mascot { display: none; }
  .spotlight__title { white-space: normal; }
  .privacy__mascot { display: none; }
  .privacy__content { margin-left: 0; }
  .site-footer__mascot { display: none; }
  .site-footer__inner { width: 100%; min-width: 0; margin-left: auto; }
  .docs-layout { grid-template-columns: 1fr; gap: 28px; }
  .docs-toc { position: static; }
  .docs-toc__list { border-left: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .site-nav__by { display: none; }
  .hero { padding-top: 48px; }
  .hero__title { font-size: 42px; }
  .why__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-wrap: wrap; }
  .section__title { font-size: 28px; }
  .download__title { font-size: 32px; }
}
