/* ============================================================
   AgentPeek - site.css
   Dark marketing CSS. Mobile-first.
   ============================================================ */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Geist";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/Geist-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/Geist-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Geist";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/Geist-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/GeistMono-Regular.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  /* Palette */
  --canvas: #0a0a0a;
  --canvas-soft: #111111;
  --surface-card: #141414;
  --surface-strong: #1c1c1c;
  --hairline: #232323;
  --hairline-soft: #1a1a1a;
  --hairline-strong: #2e2e2e;
  --ink: #f5f5f4;
  --body: #a8a8a4;
  --muted: #6e6e6a;
  --on-primary: #0a0a0a;
  --success: #1f8a65;
  --error: #cf2d56;

  /* Spacing (4-base) */
  --s-xxs: 4px;
  --s-xs: 8px;
  --s-sm: 12px;
  --s-base: 16px;
  --s-md: 20px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-xxl: 48px;
  --s-section: 80px;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 9999px;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --nav-h: 64px;

  /* Type */
  --font-sans: "Geist", system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r-xs); }

/* ---------- Base ---------- */

html, body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > main { flex: 1 0 auto; }
body > .site-footer { flex: 0 0 auto; margin-top: auto; }

::selection { background: var(--ink); color: var(--canvas); }

/* ---------- Typography ---------- */

.display-mega,
.display-lg,
.display-md,
.display-sm {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.display-mega {
  font-size: clamp(36px, 8vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.display-lg {
  font-size: clamp(28px, 4.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.display-md {
  font-size: clamp(22px, 3vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.display-sm {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.title-md { font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.title-sm { font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--ink); }

.body, p { color: var(--body); font-size: 16px; line-height: 1.55; }
.body-lg { color: var(--body); font-size: 18px; line-height: 1.55; }
.body-sm { color: var(--body); font-size: 14px; line-height: 1.5; }
.caption { color: var(--muted); font-size: 13px; line-height: 1.4; }
.eyebrow {
  display: inline-block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.088em;
  text-transform: uppercase;
}
.mono { font-family: var(--font-mono); font-size: 13px; }

/* ---------- Layout primitives ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-lg);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--s-lg);
}

.section {
  padding-block: 56px;
}

.section-tight {
  padding-block: 40px;
}

@media (min-width: 768px) {
  .container, .container-narrow { padding-inline: var(--s-xl); }
  .section { padding-block: var(--s-section); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-xs);
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--on-primary);
}
.btn-primary:hover { background: #ffffff; }
.btn-primary:active { background: #e8e6e2; transform: translateY(1px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.btn-secondary:hover { background: var(--surface-card); border-color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  height: 40px;
  padding: 0 12px;
}
.btn-ghost:hover { background: var(--surface-card); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }

.btn .icon { width: 14px; height: 14px; }

.btn .icon-slot {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  overflow: hidden;
  flex: 0 0 14px;
}
.btn .icon-slot svg {
  width: 14px;
  height: 14px;
  display: block;
  will-change: transform;
}
.btn .icon-slot.drop svg {
  animation: slot-drop 280ms ease-out 1;
}
@keyframes slot-drop {
  0%   { transform: translateY(0);     opacity: 1; }
  45%  { transform: translateY(14px);  opacity: 0; }
  46%  { transform: translateY(-14px); opacity: 0; }
  100% { transform: translateY(0);     opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .btn .icon-slot.drop svg { animation: none; }
}

/* ---------- Top nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-links {
  display: none;
  gap: var(--s-xs);
  align-items: center;
}
.nav-links a {
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-md);
  transition: color 120ms ease, background 120ms ease;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-card); }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--s-xs);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  color: var(--ink);
}
.nav-toggle:hover { background: var(--surface-card); }
.nav-toggle svg { width: 20px; height: 20px; }

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background-color: #0a0a0a;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--hairline);
  padding: var(--s-lg);
  display: none;
  flex-direction: column;
  gap: var(--s-xs);
  z-index: 49;
}
.nav-drawer[data-open="true"] { display: flex; }
.nav-drawer a {
  padding: 14px 12px;
  font-size: 16px;
  color: var(--body);
  border-radius: var(--r-md);
}
.nav-drawer a:hover { color: var(--ink); background: var(--surface-card); }
.nav-drawer .btn-primary { width: 100%; margin-top: var(--s-sm); }
@media (min-width: 880px) {
  .nav-drawer { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: 64px 32px;
  text-align: center;
}
@media (min-width: 768px) {
  .hero { padding-block: 96px 48px; }
}

.hero h1 {
  margin-top: var(--s-base);
  max-width: 100%;
  margin-inline: auto;
}
.hero h1 br { display: none; }
@media (min-width: 900px) {
  .hero h1 br { display: inline; }
}

.hero .lead {
  margin-top: var(--s-lg);
  max-width: 60ch;
  margin-inline: auto;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--body);
  line-height: 1.55;
}

.hero-cta {
  margin-top: var(--s-xl);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-sm);
}

.hero-meta {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.hero-video {
  margin-top: var(--s-xxl);
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xs);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(245, 245, 244, 0.04), transparent 70%);
  pointer-events: none;
}
.hero-video-label {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-xs);
  color: var(--muted);
}
.hero-video-label .eyebrow { color: var(--muted); }
.hero-video-label .caption { color: var(--muted); }
.hero-video img,
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Section header ---------- */

.section-head {
  text-align: left;
  margin-bottom: var(--s-xl);
  max-width: 60ch;
}
.section-head h2 { letter-spacing: -0.025em; }
.section-head p {
  margin-top: var(--s-xs);
  color: var(--body);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.4;
}
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center h2 { max-width: 24ch; margin-inline: auto; }
.section-head.center p { max-width: 60ch; margin-inline: auto; }

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: var(--s-sm);
}
@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--s-base) 18px 18px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xs);
  transition: border-color 180ms ease;
  height: 540px;
}
.feature-card:hover { border-color: var(--hairline-strong); }

.feature-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  max-width: 38ch;
}
.feature-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.feature-body p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: balance;
}

.feature-shot {
  margin-top: 18px;
  flex: 1 1 auto;
  min-width: 0;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xs);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---------- Card mockups (1:1 with the Swift app) ---------- */

/* Shared utilities */
.m-divider { height: 1px; background: rgba(255, 255, 255, 0.06); }
.m-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}
.m-btn-primary { background: var(--ink); color: var(--on-primary); }
.m-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.m-btn-warn {
  background: rgba(240, 160, 80, 0.12);
  color: #f0a050;
  border: 1px solid rgba(240, 160, 80, 0.35);
}
.m-btn-key {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  opacity: 0.55;
}

/* 1. Token Usage */
.mock-tokens {
  padding: 28px 22px;
  gap: 32px;
  justify-content: space-evenly;
}
.m-agent { display: flex; flex-direction: column; gap: 12px; }
.m-agent-head { display: flex; align-items: center; gap: 10px; }
.m-avatar {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.m-avatar svg, .m-avatar img { width: 20px; height: 20px; display: block; }
.m-agent-name {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.m-gauge {
  display: grid;
  grid-template-columns: 24px 1fr 38px 112px;
  align-items: center;
  gap: 12px;
}
.m-gauge-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
.m-gauge-pct {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}
.m-gauge-reset {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.32);
  text-align: right;
  white-space: nowrap;
}
.m-bar {
  height: 7px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.m-bar i {
  display: block;
  height: 100%;
  background: #d97757;
  border-radius: 999px;
}
.m-bar.m-codex-bar i { background: #6cb4e6; }

/* 2. Server Management */
.mock-servers {
  padding: 14px 16px;
  justify-content: flex-start;
}
.m-srv-row { padding: 10px 0; }
.m-srv-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.m-srv-host {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.m-srv-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}
.m-srv-tag.next { color: #f0a050; }
.m-srv-tag.node { color: #69d585; }
.m-srv-tag.wrangler { color: #6cb4e6; }
.m-srv-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.32);
}
.m-srv-sub svg { width: 11px; height: 11px; opacity: 0.7; }
.m-srv-up { margin-left: auto; }
.m-srv-actions { display: flex; gap: 4px; margin-left: 8px; }
.m-srv-actions button,
.m-srv-actions span.m-srv-btn {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.m-srv-actions .m-srv-btn:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); border-color: rgba(255, 255, 255, 0.12); }
.m-srv-actions .m-srv-btn.kill:hover { color: #e36a6a; border-color: rgba(227, 106, 106, 0.35); background: rgba(227, 106, 106, 0.08); }
.m-srv-actions svg { width: 11px; height: 11px; }

/* 3. Quick Routes - two agent-colored folder rows (mirrors GlassFolderIcon) */
.mock-routes {
  padding: 26px 18px;
  align-items: stretch;
  justify-content: space-evenly;
  gap: 0;
}
.m-qr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 100%;
}
.m-qr-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 0;
  position: relative;
}
.m-qr-folder {
  position: relative;
  width: 100%;
  max-width: 58px;
  aspect-ratio: 1 / 0.84;
  transition: transform 160ms ease;
}
.m-qr-tile:hover .m-qr-folder { transform: translateY(-3px) scale(1.06); }
.m-qr-tab {
  position: absolute;
  top: 0;
  left: 7%;
  width: 42%;
  height: 17%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--qr-light), var(--qr-mid));
}
.m-qr-body {
  position: absolute;
  left: 0;
  top: 10%;
  width: 100%;
  height: 90%;
  border-radius: 7px;
  background: linear-gradient(180deg, var(--qr-light), var(--qr-dark));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
}
.m-qr-body::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.02) 55%);
  pointer-events: none;
}
.m-qr-glyph {
  position: relative;
  z-index: 1;
  width: auto;
  height: 54%;
  color: rgba(255, 255, 255, 0.94);
  transform: translateY(6%);
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.32));
}
/* Optical size normalization: the SF-equivalent paths fill their 24x24 box
   differently (sparkles is sparse, puzzle/gear dense), so match by eye. */
.m-qr-tile:nth-child(1) .m-qr-glyph { height: 60%; } /* sparkles */
.m-qr-tile:nth-child(2) .m-qr-glyph { height: 52%; } /* puzzle */
.m-qr-tile:nth-child(3) .m-qr-glyph { height: 55%; } /* gear */
.m-qr-tile:nth-child(4) .m-qr-glyph { height: 53%; } /* doc */
.m-qr-tile:nth-child(5) .m-qr-glyph { height: 55%; } /* house */
.m-qr-path {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 1px;
  font-family: var(--font-mono);
  font-size: 9px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: opacity 150ms ease;
  pointer-events: none;
}
.m-qr-tile:hover .m-qr-path { opacity: 1; }
.m-qr-claude { --qr-light: #f29e7d; --qr-mid: #d97757; --qr-dark: #8c452e; }
.m-qr-codex  { --qr-light: #5a97ff; --qr-mid: #1f6fff; --qr-dark: #0040a8; }
.m-qr-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}

/* 4. Questions */
.mock-questions {
  padding: 18px;
  gap: 14px;
  justify-content: flex-start;
}
.m-q-block { display: flex; flex-direction: column; gap: 6px; }
.m-q-block + .m-q-block { padding-top: 2px; }
.m-q-head { display: flex; align-items: center; gap: 8px; }
.m-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0a050;
  box-shadow: 0 0 6px rgba(240, 160, 80, 0.6);
  flex: 0 0 6px;
}
.m-q-tag,
.m-p-tag,
.m-plan-tag {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0a050;
}
.m-q-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  line-height: 1.4;
  margin-top: 2px;
}
.m-q-options { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.m-q-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink);
}
.m-q-opt-num {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 600;
  flex: 0 0 14px;
}
.m-q-opt.is-selected { background: rgba(255, 255, 255, 0.06); }
.m-q-opt.is-selected .m-q-opt-num { background: var(--ink); color: var(--on-primary); }
.m-q-foot {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: auto;
  padding-top: 8px;
}

/* 5. Permissions */
.mock-permissions {
  padding: 18px;
  gap: 10px;
  justify-content: flex-start;
}
.m-p-head { display: flex; align-items: center; gap: 8px; }
.m-p-context {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}
.m-p-diff {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  overflow: hidden;
}
.m-p-diff-line {
  padding: 1px 12px;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.55);
}
.m-p-diff-line.del { background: rgba(227, 106, 106, 0.08); color: rgb(240, 181, 181); }
.m-p-diff-line.add { background: rgba(105, 213, 133, 0.08); color: rgb(184, 236, 203); }
.m-p-context code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 5px;
  border-radius: 3px;
}
.m-p-foot {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
  justify-content: center;
}

/* 6. Plans */
.mock-plans {
  padding: 18px;
  gap: 10px;
  justify-content: flex-start;
}
.m-plan-head { display: flex; align-items: center; gap: 8px; }
.m-plan-body {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  line-height: 1.55;
}
.m-plan-body ol { list-style: none; padding: 0; margin: 0; counter-reset: plan; }
.m-plan-body li {
  counter-increment: plan;
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}
.m-plan-body li:last-child { margin-bottom: 0; }
.m-plan-body li::before {
  content: counter(plan) ".";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.55);
}
.m-plan-foot {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: auto;
  padding-top: 8px;
}

/* 7. Notch or Menubar - before/after compare slider */
.mock-notch {
  padding: 0;
  position: relative;
  overflow: hidden;
}
.m-nm-compare {
  position: absolute;
  inset: 0;
  --pos: 50%;
  user-select: none;
  touch-action: none;
}
.m-nm-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  will-change: clip-path;
}
.m-nm-layer.notch {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.m-nm-layer.menubar {
  clip-path: inset(0 0 0 var(--pos));
}
.m-nm-tag {
  position: absolute;
  top: 18px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
.m-nm-layer.notch .notch-tag { left: 18px; }
.m-nm-layer.menubar .menubar-tag { right: 18px; }
.m-nm-display {
  position: relative;
  width: 200px;
  height: 128px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.m-nm-display::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 16px;
  background: var(--canvas-soft);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0 0 8px 8px;
}
.m-nm-display::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 5px;
}
.m-nm-mbar {
  width: 232px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 10px;
}
.m-nm-mbar-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 14px;
}
.m-nm-mbar-app {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  flex: 0 0 14px;
}
.m-nm-mbar-text {
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.m-nm-mbar-text.sm { width: 28px; }
.m-nm-mbar-text.md { width: 44px; }
.m-nm-mbar-text.lg { width: 80px; }
.m-nm-mbar-text.xl { width: 108px; }
.m-nm-mbar-spacer { flex: 1; }
.m-nm-mbar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.m-nm-mbar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2px 0;
}
.m-nm-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
  pointer-events: none;
}
.m-nm-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #111;
  display: grid;
  place-items: center;
  cursor: ew-resize;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  padding: 0;
  z-index: 2;
}
.m-nm-handle svg { width: 11px; height: 11px; }
.m-nm-handle:focus-visible {
  outline: 2px solid #6cb4e6;
  outline-offset: 2px;
}

/* 8. Parallel Sessions - matches SessionCardHeaderView.swift 1:1 */
.mock-sessions {
  padding: 0;
  justify-content: space-between;
}
.m-sess-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  column-gap: 12px;
  padding: 10px 14px;
  flex: 1 1 0;
  min-height: 0;
}
.m-sess-row + .m-sess-row { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.m-sess-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.m-sess-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-sess-proj {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.m-sess-dot {
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
}
.m-sess-act {
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.m-sess-act.exec  { color: #69d585; }
.m-sess-act.think { color: #6cb4e6; }
.m-sess-act.wait  { color: #f0a050; }
.m-sess-act.err   { color: #e36a6a; }
.m-sess-act.idle  { color: rgba(255, 255, 255, 0.32); }
.m-sess-act.dot { color: rgba(255, 255, 255, 0.25); margin-right: -2px; }
.m-sess-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.32);
  overflow: hidden;
  min-width: 0;
}
.m-sess-chip { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; flex-shrink: 0; }
.m-sess-chip svg { width: 10px; height: 10px; opacity: 0.75; flex-shrink: 0; }
.m-sess-chip .add { color: #69d585; }
.m-sess-chip .del { color: #e36a6a; }
.m-sess-chip.mcp { color: #6cb4e6; min-width: 0; }
.m-sess-chip.mcp svg { opacity: 0.9; }
.m-sess-tail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}
.m-sess-tail .cost { color: rgba(255, 255, 255, 0.32); }
.m-sess-host {
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  letter-spacing: 0.04em;
}
.m-sess-trash {
  display: none;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(227, 106, 106, 0.08);
  border: 1px solid rgba(227, 106, 106, 0.25);
  color: #e36a6a;
  cursor: pointer;
}
.m-sess-trash svg { width: 11px; height: 11px; }
.m-sess-row.idle:hover .m-sess-trash { display: inline-flex; }

/* 5x5 pixel-grid avatar - matches AgentAvatar.swift's PixelGridAvatar */
.m-px-avatar { width: 22px; height: 22px; display: block; }
.m-px-avatar rect { fill: currentColor; }
.m-px-avatar.claude { color: #d97757; }
.m-px-avatar.codex { color: #6cb4e6; }
.m-px-avatar.muted { color: rgba(255, 255, 255, 0.32); }
.m-px-avatar.err { color: #e36a6a; }
/* Per-cell fill-opacity is driven each frame by site.js - a diagonal wave for
   brand sessions, a clockwise spin for muted - mirroring AgentAvatar.swift.
   Under reduced motion the loop never starts and cells rest at 0.85. */

/* 9. Tool Call History */
.mock-history {
  padding: 14px 16px 16px;
  justify-content: flex-start;
  gap: 0;
}
.m-hist-reply {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}
.m-hist-timeline { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; min-height: 0; }
.m-hist-tag {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.m-hist-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  font-family: var(--font-mono);
  font-size: 11px;
}
.m-hist-row > svg {
  width: 12px;
  height: 12px;
  align-self: center;
}
.m-hist-row.think > svg { color: #6cb4e6; }
.m-hist-row.exec > svg { color: #69d585; }
.m-hist-row.attn > svg { color: #f0a050; }
.m-hist-row.text3 > svg { color: rgba(255, 255, 255, 0.45); }
.m-hist-row > span:not(.m-hist-time) { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m-hist-summary { color: var(--ink); }
.m-hist-detail { color: rgba(255, 255, 255, 0.32); margin-left: 6px; }
.m-hist-time { color: rgba(255, 255, 255, 0.32); font-size: 10px; }

/* Subtle bottom fade - communicates that the panel extends beyond the crop */
.mock-servers::after,
.mock-tokens::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 64px;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0) 0%, var(--canvas-soft) 100%);
  pointer-events: none;
}

/* Compact tweaks at mobile */
@media (max-width: 480px) {
  .mock-tokens { padding: 16px 14px; }
  .mock-questions, .mock-permissions, .mock-plans { padding: 14px; }
  .mock-routes { padding: 18px 10px; }
  .m-qr-grid { gap: 5px; }
  .m-qr-folder { max-width: 50px; }
}

/* ---------- Detail grid ("the little things") ---------- */

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xs);
  overflow: hidden;
}
@media (min-width: 600px) {
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .detail-grid { grid-template-columns: repeat(4, 1fr); }
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
  padding: var(--s-lg);
  background: var(--surface-card);
  transition: background 160ms ease;
}
.detail-item:hover { background: var(--surface-strong); }

.detail-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink);
}
.detail-icon svg { width: 17px; height: 17px; }
.detail-icon.is-green  { color: #69d585; }
.detail-icon.is-blue   { color: #6cb4e6; }
.detail-icon.is-amber  { color: #f0a050; }
.detail-icon.is-orange { color: #d97757; }

.detail-text { min-width: 0; }
.detail-text h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.detail-text p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--body);
  text-wrap: balance;
}
.detail-key {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  padding: 1px 5px;
  letter-spacing: 0;
  flex: 0 0 auto;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-lg);
  max-width: 720px;
  margin-inline: auto;
}
@media (min-width: 720px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

.price-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xs);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-base);
}
.price-card.featured {
  background: var(--surface-strong);
  border-color: var(--hairline-strong);
}

.price-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-sm); }
.price-card-head h3 { font-size: 18px; font-weight: 600; color: var(--ink); }
.price-card-head .pill {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 600;
}
.price-card .subtitle { color: var(--body); font-size: 14px; }
.price-card .amount {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-block: var(--s-xs);
}
.price-card .amount small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: var(--s-xs);
}
.price-card ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  margin-block: var(--s-base);
}
.price-card li {
  display: flex;
  align-items: center;
  gap: var(--s-xs);
  color: var(--body);
  font-size: 14.5px;
}
.price-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  flex: 0 0 6px;
}
.price-card .btn { width: 100%; margin-top: auto; }

/* ---------- FAQ ---------- */

.faq {
  max-width: 800px;
  margin-inline: auto;
  border-top: 1px solid var(--hairline);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-base);
  padding: var(--s-md) 0;
  text-align: left;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  min-height: 56px;
}
.faq-q .chev {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: transform 180ms ease, color 180ms ease;
}
.faq-q:hover { color: var(--ink); }
.faq-q:hover .chev { color: var(--ink); }
.faq-item[data-open="true"] .chev { transform: rotate(45deg); color: var(--ink); }

.faq-a {
  display: none;
  padding: 0 0 var(--s-md) 0;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 70ch;
}
.faq-item[data-open="true"] .faq-a { display: block; }

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  padding-block: 96px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.cta-band h2 { margin-bottom: var(--s-sm); }
.cta-band p { margin-bottom: var(--s-xl); color: var(--body); }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 64px var(--s-xl);
  color: var(--body);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-xl);
  margin-bottom: var(--s-xxl);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
}

.footer-brand .nav-brand { margin-bottom: var(--s-sm); }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 36ch; line-height: 1.5; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.088em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-base);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s-sm); }
.footer-col a { color: var(--body); font-size: 14px; transition: color 120ms ease; }
.footer-col a:hover { color: var(--ink); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-base);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 13px;
}
.footer-base a { color: inherit; }
.footer-base a:hover { color: var(--ink); }
.footer-x { display: inline-flex; align-items: center; }
.footer-x svg { display: block; }

/* ---------- Docs ---------- */

.docs-hero {
  padding-block: 64px 24px;
  text-align: left;
}
@media (min-width: 768px) {
  .docs-hero { padding-block: 96px 32px; }
}
.docs-hero h1 { margin-top: var(--s-base); }
.docs-hero p { margin-top: var(--s-base); color: var(--body); max-width: 60ch; }

.docs-toc {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.docs-toc-inner {
  display: flex;
  gap: var(--s-xs);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-block: var(--s-xs);
}
.docs-toc-inner::-webkit-scrollbar { display: none; }
.docs-toc a {
  color: var(--body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-md);
  white-space: nowrap;
  transition: background 120ms ease, color 120ms ease;
}
.docs-toc a:hover { color: var(--ink); background: var(--surface-card); }

.docs-section {
  padding-block: var(--s-xxl);
  border-top: 1px solid var(--hairline-soft);
}
.docs-section:first-of-type { border-top: 0; }
.docs-section h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--s-base);
  scroll-margin-top: calc(var(--nav-h) + 60px);
}
.docs-section p {
  color: var(--body);
  font-size: 16px;
  line-height: 1.65;
  margin-block: var(--s-sm);
  max-width: 72ch;
}
.docs-section ul {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
  margin-top: var(--s-sm);
  max-width: 72ch;
}
.docs-section li {
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.6;
  padding-left: var(--s-base);
  position: relative;
}
.docs-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  background: var(--hairline-strong);
  border-radius: 50%;
}
.docs-section kbd {
  display: inline-block;
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-sm);
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  line-height: 1.4;
}

/* ---------- Log ---------- */

.blog-section {
  padding-block: var(--s-xxl);
  border-top: 1px solid var(--hairline-soft);
}
.blog-section:first-of-type { border-top: 0; padding-top: var(--s-lg); }
.blog-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-base);
  margin-bottom: var(--s-lg);
}
.blog-section-head h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.blog-section-head .eyebrow {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  max-width: 860px;
}

.blog-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-xs);
  padding: var(--s-lg);
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  color: var(--ink);
}
.blog-card:hover {
  border-color: var(--hairline-strong);
  background: var(--surface-strong);
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--s-xs);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.blog-card-meta time { color: var(--muted); }
.blog-card-meta .blog-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline-strong);
  color: var(--body);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.blog-card-meta .blog-pill.release { color: #d97757; border-color: rgba(217, 119, 87, 0.4); background: rgba(217, 119, 87, 0.08); }
.blog-card-meta .blog-pill.announcement { color: #6cb4e6; border-color: rgba(108, 180, 230, 0.4); background: rgba(108, 180, 230, 0.08); }
.blog-card-meta .blog-version {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  letter-spacing: 0;
}
.blog-card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.35;
}
.blog-card p {
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  max-width: 70ch;
}
.blog-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog-card li {
  color: var(--body);
  font-size: 14px;
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.blog-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  background: var(--hairline-strong);
  border-radius: 50%;
}

.blog-card-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--body);
}
.blog-card:hover .blog-card-foot { color: var(--ink); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }

/* ---------- Mobile: disable download buttons (Mac-only app) ---------- */
@media (max-width: 879px) {
  a.btn[href*="/download/"] {
    pointer-events: none;
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.4);
  }
}

/* ---------- Mobile: tighten gap between FAQ and bottom CTA ---------- */
@media (max-width: 879px) {
  #faq.section { padding-bottom: var(--s-md); }
  .cta-band { padding-block: 48px; }
}
