/* ============================================================
   Landing page: header, pill buttons, section intros, a hero
   (eyebrow pill, two-tone headline, checklist, a big agent
   terminal over a swirling WebGL fluid), FAQ, closing. Geist
   throughout; colours come from the styles.css tokens, light and
   dark. Scoped to :is(#landing, .site).
   ============================================================ */

:is(#landing, .site) {
  --wrap: 1180px;
  /* side padding grows with the viewport: 20px on a phone, about 40 on a
     tablet, 48 from a small laptop up (where the content centres anyway) */
  --pad: clamp(20px, 5vw, 48px);
  --inline: max(var(--pad), calc((100% - var(--wrap)) / 2 + var(--pad)));
  --sub: #5c5c60;
  --eyebrow: #8a8a8e;
  --nav-fg: #737373;
  --nav-fg-hover: #0a0a0a;
  background: var(--background);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  overflow-x: clip;
}
@media (prefers-color-scheme: dark) {
  :is(#landing, .site) {
    --sub: #a3a3a3;
    --eyebrow: #737373;
    --nav-fg: #737373;
    --nav-fg-hover: #d4d4d4;
  }
}
:where(#landing, .site) a { text-decoration: none; }
:where(#landing, .site) :is(h1, h2, h3) { margin: 0; }
:is(#landing, .site) .muted-line { color: var(--heading-muted); }

/* the account app's global element rules, neutralised here */
/* zero specificity, so each layout's own padding and width win */
:where(#landing, .site) :is(header, main, footer) { max-width: none; height: auto; margin: 0; padding: 0; border: 0; }
:where(#landing, .site) main { display: block; }

/* ---------- Header (Bartender) ---------- */
:is(#landing, .site) .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: block;
  background: color-mix(in srgb, var(--background) 80%, transparent);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
:is(#landing, .site) .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  height: 56px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
/* the brand lockup, as .brand in styles.css: a 24px mark, a 16px name */
:is(#landing, .site) .logo { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: 16px; /* the brand lockup: fixed */ font-weight: 500; }
:is(#landing, .site) .nav-links { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
:is(#landing, .site) .nav-center { flex: 1; display: flex; justify-content: center; gap: 20px; }
:is(#landing, .site) .nav-center a { color: var(--nav-fg); font-size: var(--text-ui); font-weight: 500; transition: color 0.15s; }
:is(#landing, .site) .nav-center a:hover { color: var(--nav-fg-hover); }
:is(#landing, .site) .nav-actions { display: flex; align-items: center; gap: 8px; }
:is(#landing, .site) .nav-actions a {
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: var(--text-ui);
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
:is(#landing, .site) .nav-actions a.nav-button { border: 1px solid transparent; box-shadow: var(--edge) var(--ghost-border); background: var(--fill-hover); color: var(--primary); }
:is(#landing, .site) .nav-actions a.nav-button:hover { background: var(--fill); box-shadow: var(--edge) var(--ghost-border-hover); color: var(--primary); }
:is(#landing, .site) .nav-actions a.nav-primary { border: 1px solid transparent; background: var(--btn-bg); color: var(--btn-fg); }
:is(#landing, .site) .nav-actions a.nav-primary:hover { background: var(--btn-bg-hover); }
:is(#landing, .site) .menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--fill-hover);
  color: var(--primary);
  box-shadow: var(--edge) var(--stroke);
}
:is(#landing, .site) .menu-toggle:hover:not(:disabled) { transform: none; background: var(--fill); }

/* ---------- Buttons (Bartender pills) ---------- */
:is(#landing, .site) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: var(--text-body);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
:is(#landing, .site) .btn-primary { border: 0; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; }
:is(#landing, .site) .btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
:is(#landing, .site) .btn-ghost { padding: 13px 27px; border: 1px solid transparent; box-shadow: var(--edge) var(--ghost-border); background: transparent; color: var(--ghost-fg); font-weight: 500; }
:is(#landing, .site) .btn-ghost:hover { box-shadow: var(--edge) var(--ghost-border-hover); background: var(--ghost-bg-hover); color: var(--ghost-fg-hover); }

/* ---------- Hero (Tracwell) ---------- */
#landing .hero { position: relative; isolation: isolate; padding: 72px var(--inline) 0; text-align: center; }
#landing .hero-copy { max-width: 896px; margin: 0 auto; }
#landing .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 13px 5px 6px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--sub);
  font-size: var(--text-ui);
  font-weight: 550;
  line-height: 1.4;
}
#landing a.hero-eyebrow { transition: color 0.15s; }
#landing a.hero-eyebrow:hover { color: var(--primary); }
#landing .hero-eyebrow b { padding: 2px 8px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-size: var(--text-sm); font-weight: 650; }
#landing .hero h1 {
  margin-top: 26px;
  font-size: var(--text-4xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
#landing .hero-sub {
  max-width: 576px;
  margin: 24px auto 0;
  color: var(--sub);
  font-size: var(--text-lead);
  line-height: 1.75;
  text-wrap: pretty;
}

#landing .hero-visual { position: relative; max-width: 1040px; margin: 64px auto 0; }
#landing .hero-shader {
  position: absolute;
  top: 44%;
  left: 50%;
  z-index: -1;
  display: block;
  width: 100vw;
  height: 880px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  /* the grain is drawn at the canvas's half resolution: keep its grains crisp */
  image-rendering: pixelated;
  /* gone before the hero ends, so the next section never slices it */
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 84%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 84%);
}
#landing .hero-shader.no-gl {
  background:
    radial-gradient(40% 45% at 38% 46%, rgba(37, 99, 235, 0.24), transparent 70%),
    radial-gradient(34% 40% at 64% 56%, rgba(129, 140, 248, 0.2), transparent 70%),
    radial-gradient(26% 30% at 52% 32%, rgba(147, 197, 253, 0.18), transparent 70%);
}

/* the agent terminal, Claude Code's layout: light in light mode, dark in dark */
#landing .cc-window {
  --cc-bg: #ffffff;
  --cc-border: rgba(0, 0, 0, 0.09);
  --cc-hair: rgba(0, 0, 0, 0.12);
  --cc-rule: #e4e4e7;
  --cc-fg: #3f3f46;
  --cc-strong: #18181b;
  --cc-dim: #8b8b93;
  --cc-user-bg: #f4f4f5;
  --cc-dot-run: #a1a1aa;
  --cc-dot-ok: var(--accent);
  --cc-spin: var(--accent);
  --cc-cursor: #3f3f46;
}
#landing .cc-window {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: var(--cc-bg);
  color: var(--cc-fg);
  font-family: var(--font-mono);
  font-size: var(--text-ui);
  line-height: 1.7;
  text-align: left;
  /* a hairline ring inside the shadow, not a border beside it */
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06), 0 30px 80px -28px rgba(0, 0, 0, 0.28);
}
@media (prefers-color-scheme: dark) {
  #landing .cc-window {
    --cc-bg: #18181b;
    --cc-border: #27272a;
    --cc-hair: rgba(255, 255, 255, 0.12);
    --cc-rule: #3f3f46;
    --cc-fg: #d4d4d4;
    --cc-strong: #fafafa;
    --cc-dim: #737373;
    --cc-user-bg: rgba(255, 255, 255, 0.07);
    --cc-dot-run: #737373;
    --cc-dot-ok: var(--accent);
    --cc-spin: var(--accent);
    --cc-cursor: #d4d4d4;
  }
  #landing .cc-window { box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 1px 2px rgba(0, 0, 0, 0.3), 0 30px 80px -24px rgba(0, 0, 0, 0.7); }
}
#landing .cc-bar { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 10px 16px; box-shadow: 0 0.5px 0 var(--cc-hair); }
#landing .cc-lights { display: flex; gap: 8px; }
#landing .cc-lights i { width: 14px; height: 14px; border-radius: 50%; background: #ff5f57; }
#landing .cc-lights i:nth-child(2) { background: #febc2e; }
#landing .cc-lights i:nth-child(3) { background: #28c840; }
#landing .cc-title { display: inline-flex; align-items: center; gap: 8px; color: var(--cc-dim); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
#landing .cc-title svg { flex: none; color: var(--accent); }
#landing .cc-body { display: flex; flex-direction: column; height: 500px; padding: 0 20px 16px; }
#landing .cc-stream { position: relative; flex: 1; min-height: 0; padding-top: 20px; overflow: hidden; }
#landing .cc-log { transition: transform 0.4s ease-out; will-change: transform; }
#landing .cc-msg { margin-top: 14px; }
#landing .cc-msg:first-child { margin-top: 0; }
#landing .cc-user { display: flex; gap: 8px; padding: 2px 0; background: var(--cc-user-bg); color: var(--cc-strong); }
#landing .cc-mark { flex: none; color: var(--cc-dim); }
#landing .cc-tool, #landing .cc-say { display: flex; gap: 10px; }
#landing .cc-dot { flex: none; color: var(--cc-dot-ok); }
#landing .cc-tool.running .cc-dot { color: var(--cc-dot-run); animation: cc-pulse 1s ease-in-out infinite; }
#landing .cc-say .cc-dot { color: var(--cc-strong); }
#landing .cc-call b { color: var(--cc-strong); font-weight: 700; }
#landing .cc-say { color: var(--cc-strong); }
#landing .cc-result { display: flex; gap: 8px; padding-left: 20px; color: var(--cc-dim); }
#landing .cc-result-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#landing .cc-more { padding-left: 40px; }
#landing .cc-spin { display: flex; gap: 8px; color: var(--cc-spin); }
#landing .cc-spinner { flex: none; width: 1ch; }
#landing .cc-hint-inline { color: var(--cc-dim); }
#landing .cc-prompt { display: flex; align-items: center; gap: 0; min-height: 36px; margin-top: 12px; padding: 6px 0; border-top: 1px solid var(--cc-rule); border-bottom: 1px solid var(--cc-rule); color: var(--cc-strong); }
#landing .cc-caret { margin-right: 8px; color: var(--cc-dim); }
#landing .cc-input { min-width: 0; white-space: pre-wrap; }
#landing .cc-cursor { display: inline-block; flex: none; width: 0.6em; height: 15px; margin-left: 1px; background: var(--cc-cursor); animation: cc-blink 1.1s step-end infinite; }
#landing .cc-hint { margin: 6px 0 0; padding-left: 4px; color: var(--cc-dim); font-size: var(--text-sm); }
@keyframes cc-blink { 50% { opacity: 0; } }
@keyframes cc-pulse { 50% { opacity: 0.35; } }

/* the hero window runs on below the fold line the next section draws */
#landing .hero .cc-body { height: 480px; padding-bottom: 96px; }

/* ---------- Install command ---------- */
:is(#landing, .site) .cmd { max-width: 600px; margin: 32px auto 0; text-align: left; }
:is(#landing, .site) .cmd-box {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 8px 0 22px;
  border-radius: 999px;
  position: relative;
  isolation: isolate;
  /* the surface is the ::before below, so the orbit's glow can sit behind it */
  font-family: var(--font-mono);
  font-size: var(--text-ui);
}
/* the orbit (landing.js draws it): the comet on the outline, and a blurred
   copy of it behind the text as its glow */
:is(#landing, .site) .cmd-box > canvas { position: absolute; top: -16px; left: -16px; pointer-events: none; }
:is(#landing, .site) .cmd-glow { z-index: -2; filter: blur(8px); opacity: 0.8; }
/* the bar's surface, between the glow and the content: white (the card
   surface; dark on dark) with just a hairline, outside on light, inside on
   dark. The glow shows only around the bar, never inside it */
:is(#landing, .site) .cmd-box::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--card); box-shadow: var(--dialog-edge); }
:is(#landing, .site) .cmd-prompt { flex: none; display: inline-flex; color: var(--accent); }
:is(#landing, .site) .cmd-text {
  flex: 1;
  min-width: 0;
  padding: 0;
  overflow-x: auto;
  background: none;
  color: var(--primary);
  font: inherit;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
}
:is(#landing, .site) .cmd-text::-webkit-scrollbar { display: none; }
:is(#landing, .site) .cmd-copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 var(--text-ui)/1 var(--font-sans);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
:is(#landing, .site) .cmd-copy:hover:not(:disabled) { transform: none; background: var(--btn-bg-hover); }
:is(#landing, .site) .cmd-copy.copied, :is(#landing, .site) .cmd-copy.copied:hover { background: var(--accent); color: var(--on-accent); }
:is(#landing, .site) .cmd-copied { display: none; }
:is(#landing, .site) .cmd-copy.copied .cmd-copy-icon { display: none; }
:is(#landing, .site) .cmd-copy.copied .cmd-copied { display: block; }
:is(#landing, .site) .cmd-note { max-width: 520px; margin: 14px auto 0; color: var(--secondary); font-size: var(--text-ui); line-height: 1.55; text-align: center; }
:is(#landing, .site) .cmd-note a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--stroke-hover); text-underline-offset: 3px; white-space: nowrap; }
:is(#landing, .site) .cmd-note a:hover { text-decoration-color: currentColor; }

/* ---------- Entrances (reveal.js) ---------- */
#landing { --rv-ease: cubic-bezier(0.22, 1, 0.36, 1); }
.rv #landing :is(.hero-eyebrow, .hero-sub, .hero .cmd, .hero .cc-window, .section-intro p, .steps-list, .steps-visual, .feature, .price-card, .faq-item, .closing p, .closing-actions),
.rv #landing .rv-w {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(18px);
  transition: opacity 0.35s var(--rv-ease), filter 0.35s var(--rv-ease), transform 0.35s var(--rv-ease);
  transition-delay: calc(var(--d, 0s) + var(--w, 0s));
}
.rv #landing .rv-w { display: inline-block; filter: blur(10px); transform: translateY(0.3em); }
.rv #landing :is(.hero-eyebrow, .hero-sub, .hero .cmd, .hero .cc-window, .section-intro p, .steps-list, .steps-visual, .feature, .price-card, .faq-item, .closing p, .closing-actions).rv-in,
.rv #landing .rv-in .rv-w { opacity: 1; filter: none; transform: none; }
/* headings stay hidden only until reveal.js has split them into words */
.rv #landing :is(.hero h1, .section-intro h2, .closing h2):not([data-rv-split]) { opacity: 0; }

/* ---------- Sections (Bartender) ---------- */
:is(#landing, .site) .section { --section-bg: var(--background); padding: 112px var(--inline); border: 0; }
:is(#landing, .site) .section.band { --section-bg: var(--band); background: var(--section-bg); }
:is(#landing, .site) .section-intro { max-width: 720px; margin: 0 auto 56px; text-align: center; }
:is(#landing, .site) .eyebrow { display: block; margin: 0 0 16px; color: var(--eyebrow); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
:is(#landing, .site) .section-intro h2 { font-size: var(--text-3xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
:is(#landing, .site) .section-intro p:not(.eyebrow) { max-width: 560px; margin: 16px auto 0; color: var(--secondary); font-size: var(--text-md); line-height: 1.55; text-wrap: pretty; }
/* drawn over the hero terminal's foot: the window seems to sink into it */
#landing .section.tuck { position: relative; z-index: 1; margin-top: -80px; }

/* ---------- How it works ---------- */
#landing .steps-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; max-width: 1080px; margin: 0 auto; align-items: center; }
#landing .steps-list { gap: 28px; }
#landing .step-circle { width: 36px; height: 36px; border-color: var(--stroke); font-size: var(--text-ui); color: var(--secondary); }
#landing .step.active .step-circle { border-color: var(--accent); color: var(--accent); }
#landing .step:not(:last-child)::after,
#landing .step:not(:last-child)::before { top: 46px; left: 18px; }
#landing .step-text { gap: 6px; padding-top: 5px; }
/* item titles, one style: the How it works steps and the feature cards */
#landing :is(.step-text, .feature) h3 { font-size: var(--text-lg); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
#landing .step-text p { color: var(--secondary); font-size: var(--text-body); line-height: 1.6; }
#landing .steps-visual::before { background: linear-gradient(to bottom, transparent 0%, var(--section-bg) 66%); }
#landing .steps-visual::after { background: linear-gradient(to right, transparent 0%, var(--section-bg) 66%); }
#landing .steps-visual { height: 420px; }
#landing .steps-visual::before { height: 22%; }
/* the hero terminal's parts, minus the shadow: flat on the band */
#landing .cc-steps { --cc-bg: var(--section-bg); height: 100%; box-shadow: var(--edge) var(--ghost-border); }
#landing .cc-steps .cc-bar { box-shadow: 0 1px 0 var(--ghost-border); }
@media (prefers-color-scheme: dark) {
  #landing .cc-steps { box-shadow: inset 0 0 0 1px var(--ghost-border); }
}
/* the line terminal's window buttons are lines too */
#landing .cc-steps .cc-lights i,
#landing .cc-steps .cc-lights i:nth-child(n) { background: transparent; box-shadow: inset 0 0 0 1px var(--ghost-border); }
#landing .cc-steps .cc-body { display: block; height: auto; padding: 20px; font-size: var(--text-sm); }
#landing .cc-steps .cc-msg { margin-top: 12px; }
#landing .cc-steps .cc-msg:first-child { margin-top: 0; }
#landing .cc-shell { display: flex; gap: 8px; color: var(--cc-strong); }
#landing .cc-plain { padding-left: 18px; }
#landing .cc-steps [data-step-line] { transition: opacity 0.3s ease; }
#landing .cc-steps .line-pending { display: none; }
#landing .cc-steps .line-entering { opacity: 0; }

/* ---------- Features (the current site's grid) ---------- */
#landing .features-grid { gap: 56px 56px; max-width: 1080px; margin: 0 auto; }
#landing .feature-label { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--secondary); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
#landing .feature-label svg { flex: none; }
#landing .feature h3 { margin: 0 0 10px; color: var(--primary); }
#landing .feature p:not(.feature-label) { margin: 0; color: var(--secondary); font-size: var(--text-lead); line-height: 1.65; text-wrap: pretty; }

/* ---------- Pricing ---------- */
#landing .pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; max-width: 920px; margin: 0 auto; }
#landing .price-card { display: flex; flex-direction: column; padding: 32px; border-radius: 22px; background: transparent; box-shadow: var(--edge) var(--ghost-border); }
#landing .price-paid { box-shadow: var(--edge) color-mix(in srgb, var(--accent) 50%, transparent); }
#landing .price-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
#landing .price-name { margin: 0; color: var(--secondary); font-size: var(--text-body); font-weight: 600; }
#landing .price-amount { margin: 14px 0 0; color: var(--primary); font-size: var(--text-figure); font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
#landing .price-per { margin-left: 4px; color: var(--secondary); font-size: var(--text-lead); font-weight: 500; letter-spacing: 0; }
#landing .price-blurb { margin: 14px 0 0; color: var(--secondary); font-size: var(--text-body); line-height: 1.5; }
#landing .price-list { display: grid; flex: 1; align-content: start; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; }
#landing .price-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--primary); font-size: var(--text-base); line-height: 1.45; }
#landing .price-list svg { flex: none; margin-top: 0; color: var(--accent); }
#landing .price-card .btn { width: 100%; }
#landing .interval { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--fill); }
#landing .interval button { height: auto; padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--secondary); font: 500 var(--text-ui)/1.2 var(--font-sans); cursor: pointer; }
#landing .interval button:hover:not(:disabled) { transform: none; color: var(--primary); }
#landing .interval button[aria-pressed="true"] { background: var(--card); color: var(--primary); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1); }
#landing .interval button span { margin-left: 4px; color: var(--accent); font-weight: 600; }
#landing .price-events { margin: 24px 0 0; color: var(--primary); font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
#landing .price-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 18px 0 0;
  border-radius: 999px;
  /* the thumb travels between half its width from each end, so the fill and
     the tick labels sit on that inset track, not the full width */
  --thumb: 22px;
  --at: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--p, 0));
  background: linear-gradient(to right, var(--accent) var(--at), var(--stroke) var(--at));
  cursor: pointer;
}
#landing .price-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border: 0; border-radius: 50%; background: #ffffff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.22); }
#landing .price-slider::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #ffffff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.22); }
#landing .price-slider:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
#landing .price-ticks { position: relative; height: 18px; margin-top: 10px; color: var(--tertiary); font-family: var(--font-mono); font-size: var(--text-sm); }
#landing .price-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
#landing .price-ticks span:nth-child(1) { left: 11px; }
#landing .price-ticks span:nth-child(2) { left: calc(11px + (100% - 22px) / 3); }
#landing .price-ticks span:nth-child(3) { left: calc(11px + (100% - 22px) * 2 / 3); }
#landing .price-ticks span:nth-child(4) { left: calc(100% - 11px); }
#landing .price-paid .price-amount { margin-top: 24px; }
#landing .price-renew { margin: 12px 0 0; color: var(--secondary); font-size: var(--text-ui); text-align: center; }
#landing .price-more { margin: 14px 0 0; color: var(--secondary); font-size: var(--text-ui); text-align: center; }
#landing .price-more a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ (Bartender) ---------- */
#landing .faq-list { max-width: 760px; margin: 0 auto; border-bottom: 1px solid var(--stroke); }
#landing .faq-item,
#landing .faq-item:last-of-type { border-top: 1px solid var(--stroke); border-bottom: 0; }
#landing .faq-item summary { gap: 16px; padding: 22px 0; color: var(--primary); font-size: var(--text-lead); font-weight: 600; letter-spacing: -0.01em; }
#landing .faq-item summary svg { color: var(--secondary); }
#landing .faq-item summary .faq-minus { display: none; }
#landing .faq-item[open] summary .faq-plus { display: none; }
#landing .faq-item[open] summary .faq-minus { display: block; }
#landing .faq-item p { padding: 0 32px 22px 0; color: var(--secondary); font-size: var(--text-body); line-height: 1.65; }
#landing .faq-item code { padding: 1px 5px; border-radius: 5px; background: var(--fill); font-family: var(--font-mono); font-size: 0.88em; }

/* ---------- Closing (Bartender) ---------- */
:is(#landing, .site) .closing { text-align: center; }
:is(#landing, .site) .closing h2 { max-width: 760px; margin: 0 auto; font-size: var(--text-3xl); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
:is(#landing, .site) .closing p { max-width: 520px; margin: 22px auto 0; color: var(--secondary); font-size: var(--text-md); line-height: 1.55; }
:is(#landing, .site) .closing-actions { display: flex; justify-content: center; margin-top: 32px; }
:is(#landing, .site) .closing-actions .cmd { flex: 1; margin-top: 0; }
:is(#landing, .site) .closing .closing-note { margin: 18px auto 0; color: var(--secondary); font-size: var(--text-base); }

/* ---------- Footer ---------- */
:is(#landing, .site) footer { padding: 56px var(--inline) 64px; border-top: 1px solid var(--ghost-border); background: var(--background); }
:is(#landing, .site) .footer-columns { grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
:is(#landing, .site) .footer-brand .brand { color: var(--primary); }
:is(#landing, .site) .footer-brand .text-sm { color: var(--secondary); font-size: var(--text-ui); }
:is(#landing, .site) .footer-column { gap: 8px; }
:is(#landing, .site) .footer-column .eyebrow { margin: 0 0 4px; }
:is(#landing, .site) .footer-column a { color: var(--secondary); font-size: var(--text-base); }
:is(#landing, .site) .footer-column a:hover { color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  #landing .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  #landing .steps-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  #landing .pricing { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 900px) {
  :is(#landing, .site) .menu-toggle { display: inline-flex; }
  :is(#landing, .site) .site-header .nav-links {
    display: none;
    position: absolute;
    inset: 56px 0 auto 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px var(--pad) 20px;
    background: var(--background);
    box-shadow: 0 1px 0 var(--stroke);
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  :is(#landing, .site) .site-header .nav-links.open { display: flex; }
  @media (prefers-color-scheme: dark) {
    :is(#landing, .site) .site-header .nav-links { box-shadow: inset 0 -1px 0 var(--stroke); }
  }
  :is(#landing, .site) .nav-center { flex-direction: column; gap: 0; }
  :is(#landing, .site) .site-header .nav-links a { font-size: var(--text-body); transform: none; }
  :is(#landing, .site) .nav-center a { padding: 12px 0; border-bottom: 1px solid var(--stroke-muted); }
  :is(#landing, .site) .nav-links .nav-actions { flex-direction: column; align-items: stretch; }
  :is(#landing, .site) .site-header .nav-links .nav-actions a { justify-content: center; padding: 12px 16px; }
  :is(#landing, .site) .site-header .nav-links .nav-actions a.nav-button { border: 1px solid transparent; box-shadow: var(--edge) var(--ghost-border); color: var(--primary); }
}
@media (max-width: 760px) {
  #landing .hero { padding-top: 56px; }
  #landing .hero-visual { margin-top: 48px; }
  #landing .cc-body { height: 440px; padding: 0 14px 12px; }
  #landing .hero .cc-body { height: 440px; padding-bottom: 92px; }
  #landing .cc-stream { padding-top: 16px; }
  #landing .cc-window { font-size: var(--text-sm); }
  :is(#landing, .site) .cmd-box { padding-left: 18px; }
  :is(#landing, .site) .section { padding-top: 80px; padding-bottom: 80px; }
  :is(#landing, .site) .section-intro { margin-bottom: 40px; }
  #landing .price-card { padding: 26px; }
  :is(#landing, .site) .footer-columns { grid-template-columns: 1fr 1fr; }
  :is(#landing, .site) .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  #landing .features-grid { grid-template-columns: 1fr; gap: 36px; }
  /* on a phone the headline is one sentence, one colour, wrapping freely */
  #landing .hero h1 br { display: none; }
  #landing .hero h1 .muted-line { color: inherit; }
  /* less room above the eyebrow on a phone */
  #landing .hero { padding-top: 32px; }
  /* a shorter terminal on a phone, so the window isn't taller than it's wide */
  #landing .hero .cc-body { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  #landing .cc-cursor { animation: none; }
}
