/* L2Cache — Native Mac, light-first homepage prototype */

:root {
  --bg: #f7f6f3;
  --bg-alt: #efede8;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-2: #5c5c63;
  --text-3: #86868b;
  --border: rgba(0, 0, 0, 0.09);
  --accent: #7638d9;
  --accent-hover: #6429c4;
  --accent-soft: #efe7fc;
  --on-accent: #ffffff;
  --shot-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 24px 60px -18px rgba(40, 20, 80, 0.35);
  --dark-frame: #0d0d10;

  --c-agent: #9b6bff;
  --stage-teal: #22b3a3;
  --c-term: #2fa36b;
  --c-git: #e5832d;
  --c-shot: #3b82f6;
  --c-clip: #d6489b;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 112px;

  --radius: 14px;
  --radius-lg: 22px;
  --max: 1160px;
}

/* Always light: the dark app windows read best on a light page, so there is no dark theme. */
:root { color-scheme: light; }

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code { font-family: var(--font-mono); font-size: 0.88em; background: var(--accent-soft); padding: 1px 5px; border-radius: 5px; }
kbd {
  font-family: var(--font);
  font-size: 0.82em;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 6px;
  margin: 0 1px;
  background: var(--surface);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-5); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s-4); top: -60px; background: var(--surface); padding: var(--s-2) var(--s-4); border-radius: 8px; z-index: 100; }
.skip-link:focus { top: var(--s-4); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn-appstore, .btn-small { background: var(--text); color: var(--bg); }
.btn-appstore:hover, .btn-small:hover { color: var(--bg); transform: translateY(-1px); }
.btn-ghost { color: var(--accent); }
.btn-ghost::after { content: "›"; font-size: 20px; margin-top: -2px; }
.btn-small { padding: 9px 16px; font-size: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: var(--s-5); height: 60px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 7px; }
.site-header .brand { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; gap: 10px; }
.site-header .brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 4px 10px -2px rgba(40,20,80,.3); }
.nav-links { display: flex; gap: var(--s-5); list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { color: var(--text-2); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: var(--s-2); margin-left: auto; cursor: pointer; }

/* Type */
.eyebrow { margin: 0 0 var(--s-3); color: var(--accent); font-weight: 600; font-size: 15px; letter-spacing: 0.01em; }
.hero-eyebrow { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: var(--s-3); }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.025em; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(40px, 5vw, 68px); font-weight: 700; }
.rotating-headline { display: grid; grid-template-columns: 1fr; align-items: start; }
.rotate-item {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  pointer-events: none;
}
.rotate-item.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s, visibility 0s linear 0s;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .rotate-item { transition: opacity 0.2s ease, visibility 0s linear 0.2s; transform: none; }
  .rotate-item.is-active { transition: opacity 0.3s ease 0.1s, visibility 0s linear 0s; }
}
.hero-subhead { margin: var(--s-4) 0 0; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: var(--accent); }
h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; }
.sources { text-align: center; padding-top: var(--s-7); padding-bottom: var(--s-8); }
.sources-label { margin: 0 0 var(--s-4); color: var(--text-3); font-size: 14px; }
.sources-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-6); list-style: none; padding: 0; margin: 0; color: var(--text-2); font-size: 15px; font-weight: 500; }
.sources-list li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero-sources { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-sources li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; font-size: 16px; font-weight: 650; color: var(--text);
  background: color-mix(in srgb, var(--c) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.hero-sources li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--c); }
@media (max-width: 520px) { .hero-sources { gap: 8px; } .hero-sources li { font-size: 14px; padding: 6px 12px 6px 6px; } .hero-sources li span { width: 22px; height: 22px; font-size: 11px; } }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 920px; margin: var(--s-4) 0 0; }
.reasons-title { margin: var(--s-6) 0 0; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.reasons-title span { color: var(--text-2); font-weight: 600; }
.hero-reasons { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-3); }
.hero-reasons li {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-4) var(--s-5);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.5;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.hero-reasons li:hover {
  border-color: color-mix(in srgb, var(--text) 22%, var(--border));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.hero-reasons p { margin: 0; }
.hero-reasons .reason-title { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; color: var(--text); }
.hero-reasons .reason-lead {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  background: color-mix(in srgb, var(--accent) 3.5%, var(--surface));
}
.hero-reasons .reason-lead:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
}
.reason-time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-reasons .reason-lead .reason-time { color: var(--accent); }
.hero-reasons .reason-lead .pulse-dot { font-size: 8px; color: var(--accent); }
.reason-link { margin-top: auto; padding-top: var(--s-1); font-weight: 600; font-size: 14.5px; }
@media (max-width: 960px) {
  .hero-reasons { grid-template-columns: repeat(2, 1fr); }
  .hero-reasons .reason-lead { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 620px) {
  .hero-reasons { grid-template-columns: 1fr; }
}
.fineprint { color: var(--text-3); font-size: 14px; margin: var(--s-4) 0 0; }

/* Hero */
.hero { padding-top: var(--s-7); overflow: hidden; }
.hero-copy { text-align: left; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }
.hero-shot { margin: var(--s-8) auto 0; }
.hero-shot img { border-radius: var(--radius); box-shadow: var(--shot-shadow); width: 100%; background: var(--dark-frame); }

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* Feature sections */
.feature { padding: var(--s-9) 0; }
.feature-alt { background: var(--bg-alt); }
.bento-sec { padding: var(--s-8) 0; }
.feature-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: center; }
.feature-grid.flip { grid-template-columns: 7fr 5fr; }
.feature-grid.flip .feature-copy { order: 2; }
.feature-copy h2 { margin-bottom: var(--s-5); }
.feature-copy > p { color: var(--text-2); margin: 0 0 var(--s-5); }
.feature-copy > .eyebrow { color: var(--accent); margin-bottom: var(--s-3); }
h2 kbd { font-size: 0.62em; vertical-align: 0.12em; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.points li { padding-left: var(--s-5); position: relative; color: var(--text-2); font-size: 16px; }
.points li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.points strong { color: var(--text); font-weight: 600; }

.shot { margin: 0; }
.shot img { border-radius: var(--radius); box-shadow: var(--shot-shadow); width: 100%; }
.shot-dark img { background: var(--dark-frame); }
.shot-tall { max-width: 460px; justify-self: center; }
.shot figcaption { margin-top: var(--s-3); text-align: center; color: var(--text-3); font-size: 14px; }

.providers-label { color: var(--text-3) !important; font-size: 13px; margin-bottom: var(--s-2) !important; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.providers { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0 0 var(--s-5); }
.providers li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; font-size: 14px; font-weight: 500; }
.disclosure { font-size: 14px !important; color: var(--text-3) !important; margin-top: var(--s-5) !important; }

.shot-stack { display: grid; gap: var(--s-5); }
.shot-narrow { max-width: 620px; justify-self: center; }
/* Colour stages: each screenshot sits on a soft gradient in its section's colour. */
.stage {
  --stage: var(--c-agent);
  position: relative;
  padding: var(--s-7);
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 15% 0%, color-mix(in srgb, var(--stage) 30%, transparent), transparent 60%),
    radial-gradient(90% 80% at 100% 100%, color-mix(in srgb, var(--stage) 22%, transparent), transparent 65%),
    linear-gradient(160deg, color-mix(in srgb, var(--stage) 14%, var(--bg)), color-mix(in srgb, var(--stage) 6%, var(--bg)));
  border: 1px solid color-mix(in srgb, var(--stage) 18%, transparent);
}
.hero-shot.stage { --stage: var(--c-agent); padding: var(--s-8); overflow: hidden; }
.hero-shot.stage img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
#today .stage { --stage: var(--c-agent); }
#agents .stage { --stage: var(--stage-teal); }
#projects .stage { --stage: var(--c-git); }
#search .stage { --stage: var(--c-shot); }
#clipboard .stage { --stage: var(--c-clip); }
#terminal-history .stage { --stage: var(--c-term); }
.shot-narrow.stage { max-width: 680px; }

/* Today showcase */
.today-head { text-align: center; max-width: 760px; margin: 0 auto var(--s-7); }
.today-head h2 { margin-bottom: var(--s-4); }
.today-head .lead { font-size: 19px; color: var(--text-2); margin: 0; line-height: 1.5; }
.today-head .eyebrow { color: var(--accent); margin-bottom: var(--s-3); }
.today-stage { margin: 0 auto; width: 100%; }
.today-stage img { width: 100%; height: auto; display: block; }
.today-points {
  list-style: none;
  padding: 0;
  margin: var(--s-7) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  text-align: left;
}
.today-points li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-5);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.today-points strong {
  display: block;
  font-size: 16px;
  color: var(--text);
  margin-bottom: var(--s-1);
}
.today-points span {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.45;
}

/* Coding Agents showcase */
.agents-showcase { padding: var(--s-9) 0; }
.agents-head { text-align: center; max-width: 820px; margin: 0 auto var(--s-7); }
.agents-head h2 { margin-bottom: var(--s-4); }
.agents-head .lead { font-size: 19px; color: var(--text-2); margin: 0 0 var(--s-5); line-height: 1.5; }
.agents-head .eyebrow { color: var(--stage-teal); margin-bottom: var(--s-3); }
.agents-providers-wrap { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); margin-top: var(--s-4); }
.agents-head .providers { justify-content: center; margin-bottom: 0; }
.agents-stage { margin: 0 auto; width: 100%; }
.agents-stage img { width: 100%; height: auto; display: block; }
.agents-points {
  list-style: none;
  padding: 0;
  margin: var(--s-7) 0 var(--s-4);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  text-align: left;
}
.agents-points li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-5);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.agents-points strong {
  display: block;
  font-size: 16px;
  color: var(--text);
  margin-bottom: var(--s-1);
}
.agents-points span {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.45;
}
.text-center { text-align: center; }

.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: start; }

/* Agent tools: MCP server and hooks */
.agent-bridge {
  background:
    radial-gradient(900px 420px at 15% 0%, color-mix(in srgb, var(--c-agent) 16%, transparent), transparent 70%),
    radial-gradient(800px 420px at 90% 100%, color-mix(in srgb, var(--stage-teal) 12%, transparent), transparent 70%),
    var(--bg);
}
.bridge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: stretch; }
.bridge-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 40px -24px rgba(60, 30, 120, 0.25);
  display: flex;
  flex-direction: column;
}
.bridge-card h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; margin: var(--s-3) 0 var(--s-3); }
.bridge-card > p { color: var(--text-2); margin: 0 0 var(--s-4); }
.bridge-kicker { display: flex; align-items: center; gap: var(--s-2); margin: 0; font-size: 14px; font-weight: 600; color: var(--text-2); }
.bridge-badge { background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.tool-chips { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tool-chips code { display: inline-block; font-size: 13px; padding: 5px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); }
.bridge-card .points { margin-bottom: var(--s-4); }
.bridge-foot { margin-top: auto !important; padding-top: var(--s-4); border-top: 1px solid var(--border); font-size: 14px; color: var(--text-3) !important; }

/* Privacy */
.privacy { padding: var(--s-9) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--s-7); }
.section-head > p:last-child { color: var(--text-2); margin: var(--s-4) 0 0; }
.boundary { display: grid; gap: var(--s-5); }
.boundary-mac { border-radius: var(--radius-lg); padding: var(--s-6); }
.boundary-mac { background: var(--surface); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.boundary-title { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-5); font-weight: 600; font-size: 15px; color: var(--text-2); }
.boundary-items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s-4); }
.boundary-mac .boundary-items { grid-template-columns: repeat(4, 1fr); }
.boundary-mac .boundary-items li { background: var(--bg); border-radius: var(--radius); padding: var(--s-4); }
.boundary-items strong { display: block; font-size: 16px; }
.boundary-items span { display: block; color: var(--text-2); font-size: 14px; margin-top: var(--s-1); }
.privacy-points { list-style: none; padding: 0; margin: var(--s-7) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.privacy-points li { color: var(--text-2); font-size: 15px; }
.privacy-points strong { display: block; color: var(--text); font-size: 17px; margin-bottom: var(--s-1); }

/* Pricing */
.pricing { padding: var(--s-8) 0 var(--s-9); }
.pricing-card {
  max-width: 720px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-8) var(--s-6);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pricing-card img { border-radius: 16px; margin-bottom: var(--s-3); }
.pricing-price { margin: var(--s-2) 0 0; display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pricing-price .price-val { font-family: var(--font-display); font-size: clamp(36px, 4vw, 48px); font-weight: 700; color: var(--text); line-height: 1; }
.pricing-price .price-type { font-size: 15px; color: var(--text-2); font-weight: 600; }
.pricing-price .price-strike { text-decoration: line-through; color: var(--text-3); font-weight: 500; }
.price-facts { list-style: none; padding: 0; margin: var(--s-4) 0 var(--s-6); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5); color: var(--text-2); }
.price-facts li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: var(--s-2); }

/* FAQ */
.faq { padding: 0 0 var(--s-9); }
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-7); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary { cursor: pointer; list-style: none; padding: var(--s-5) var(--s-6) var(--s-5) 0; font-weight: 600; font-size: 18px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: var(--s-1); top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--text-3); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin: 0 0 var(--s-5); color: var(--text-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: var(--s-8) 0 var(--s-6); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(5, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
.footer-brand p { color: var(--text-3); margin: var(--s-3) 0 0; }
.site-footer h3 { font-size: 13px; margin: 0 0 var(--s-3); color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.site-footer nav a { color: var(--text-2); }
.site-footer nav a:hover { color: var(--text); }
.footer-langs { margin-top: var(--s-7); }
.site-footer .footer-langs ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: 13px; }
.site-footer .footer-langs a[aria-current="page"] { color: var(--text); font-weight: 600; }
.footer-langs + .footer-legal { margin-top: var(--s-5); }
.footer-badges { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.footer-badges + .footer-legal { margin-top: var(--s-5); }
.footer-legal { margin-top: var(--s-7); color: var(--text-3); font-size: 13px; }
.footer-legal p { margin: 0; padding-top: var(--s-5); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); }
.footer-meta { display: inline-flex; flex-wrap: wrap; gap: var(--s-4); }
.footer-meta a { color: var(--text-2); } .footer-meta a:hover { color: var(--text); }
.site-footer .footer-also { color: var(--text-3); font-size: 13px; line-height: 1.5; }
@media (max-width: 1100px) and (min-width: 721px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* Reveal (enhancement only; content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media print {
  .js .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- App mockups (HTML, not screenshots) ----------
   Copied from teams/styles.css and scoped under .mock so they can't clash with page styles.
   Keep the two in step when the app's pickup card or terminal hooks change. */
:root {
  --m-frame: #0d0d10;
  --m-bar: #1b1a21;
  --m-bg: #131218;
  --m-card: #1a1922;
  --m-box: #1e1d27;
  --m-line: rgba(255, 255, 255, 0.09);
  --m-text: #ecebf2;
  --m-text-2: #a9a7b6;
  --m-text-3: #75738a;
  --m-purple: #b79cf4;
  --m-purple-strong: #a98bea;
  --m-green: #6fe0a6;
  --m-amber: #f2c14e;
  --m-blue: #8fb4ff;
  --m-red: #ff8a8a;
  --m-claude: #d9774b;
  --m-codex: #3c3c46;
}
.mock { text-align: left; }
.mock .win { box-shadow: var(--shot-shadow); }
.today-mock { max-width: 760px; margin: 0 auto; }
.mock.stage { margin: 0; min-width: 0; width: 100%; }
.hero-shot.mock.stage { margin: var(--s-8) auto 0; }
.context-mock { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: start; }
#context .stage { --stage: var(--accent); margin-bottom: var(--s-7); }
.mock-note { margin: var(--s-4) 0 0; text-align: center; color: var(--text-3); font-size: 13px; }
.mock .win {
  background: var(--m-bg);
  color: var(--m-text);
  border-radius: var(--radius);
  box-shadow: var(--shot-shadow);
  overflow: hidden;
  font-size: 14px;
  min-width: 0;
}
.mock .win-bar { display: flex; align-items: center; gap: var(--s-3); height: 38px; padding: 0 var(--s-3); background: var(--m-bar); border-bottom: 1px solid var(--m-line); }
.mock .dots { display: flex; gap: 6px; flex: none; }
.mock .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mock .dots i:nth-child(2) { background: #febc2e; }
.mock .dots i:nth-child(3) { background: #28c840; }
.mock .win-title { flex: 1; text-align: center; color: var(--m-text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .win-url { flex: 1; max-width: 420px; margin: 0 auto; background: var(--m-bg); border-radius: 7px; padding: 3px 10px; color: var(--m-text-2); font-size: 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .win-url b { color: var(--m-text); font-weight: 500; }
.mock .win-body { padding: var(--s-5); }
.mock .win-body.tight { padding: 0; }
.mock .mono { font-family: var(--font-mono); }
.mock .dim { color: var(--m-text-3); }
.mock .muted { color: var(--m-text-2); }
.mock .purple { color: var(--m-purple); }
.mock .green { color: var(--m-green); }
.mock .amber { color: var(--m-amber); }
.mock .blue { color: var(--m-blue); }
.mock .red { color: var(--m-red); }
.mock .cap { font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--m-text-2); font-weight: 600; }
.mock .chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--m-line); border-radius: 999px; padding: 2px 10px; font-size: 12px; color: var(--m-text-2); white-space: nowrap; }
.mock .chip.warm { color: var(--m-green); border-color: rgba(111, 224, 166, 0.3); }
.mock .chip.cold { color: var(--m-blue); border-color: rgba(143, 180, 255, 0.3); }
.mock .chip.warn { color: var(--m-amber); border-color: rgba(242, 193, 78, 0.3); }
.mock .chip.ok { color: var(--m-green); border-color: rgba(111, 224, 166, 0.3); }
.mock .chip.sm { padding: 1px 8px; font-size: 11px; }
.mock .badge-np { color: var(--m-amber); font-weight: 600; font-size: 12px; }
.mock .btn-m { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--m-line); background: var(--m-box); color: var(--m-text); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.mock .btn-m.primary { background: var(--m-purple-strong); border-color: transparent; color: #fff; }
.mock .btn-m.block { display: flex; justify-content: center; width: 100%; padding: 12px; font-size: 15px; }
.mock .link-m { color: var(--m-purple); font-weight: 600; font-size: 13px; }

/* Agent icons */
.mock .l2 { position: relative; flex: none; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(145deg, #c9b3ff, #8e64e8); color: #221640; font-weight: 800; font-size: 16px; display: grid; place-items: center; }
.mock .l2 .ag { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--m-card); display: grid; place-items: center; font-size: 11px; color: #fff; background: var(--m-claude); }
.mock .l2 .ag.codex { background: var(--m-codex); }
.mock .ag-dot { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font-size: 10px; color: #fff; background: var(--m-claude); flex: none; }
.mock .ag-dot.codex { background: var(--m-codex); border: 1px solid #55555f; }

.mock .pickup { background: var(--m-card); border-radius: 16px; padding: var(--s-5); border: 1px solid var(--m-line); }
.mock .pk-head { display: flex; gap: var(--s-3); align-items: flex-start; }
.mock .pk-title { flex: 1; min-width: 0; }
.mock .pk-title strong { display: block; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.mock .pk-title span { color: var(--m-text-2); font-size: 13px; }
.mock .pk-meta { display: flex; gap: var(--s-3); font-size: 13px; color: var(--m-text-2); white-space: nowrap; }
.mock .pk-headline { margin: var(--s-4) 0 0; font-size: 17px; font-weight: 700; }
.mock .pk-sub { margin: 2px 0 0; color: var(--m-text-2); font-size: 14px; }
.mock .pk-boxes { display: grid; grid-template-columns: 1fr; gap: var(--s-3); margin-top: var(--s-4); align-items: center; }
.mock .pk-boxes.two { grid-template-columns: 1fr auto 1fr; }
.mock .pk-box { background: var(--m-box); border: 1px solid var(--m-line); border-radius: 14px; padding: var(--s-4); display: flex; gap: var(--s-3); }
.mock .pk-box .ico { flex: none; line-height: 0; padding-top: 2px; }
.mock .pk-box .ico svg { width: 18px; height: 22px; }
.mock .pk-num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.mock .pk-num.hot { background: linear-gradient(90deg, #f2c14e, #f08a5d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mock .pk-arrow { color: var(--m-text-3); font-size: 18px; }
.mock .pk-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); }
.mock .pk-recap { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--m-line); }
.mock .pk-recap-head { display: flex; justify-content: space-between; color: var(--m-text-2); }
.mock .pk-rows { display: grid; grid-template-columns: max-content 1fr; gap: 6px var(--s-4); margin-top: var(--s-3); font-size: 14px; }
.mock .pk-rows dt { color: var(--m-purple); font-weight: 500; }
.mock .pk-rows dd { margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .pk-foot { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
.mock .pk-foot .spacer { flex: 1; }
.mock .hist { display: grid; grid-template-columns: 170px 260px 1fr; min-height: 470px; }
.mock .hist-side, .mock .hist-list { border-right: 1px solid var(--m-line); }
.mock .hist-side { padding: var(--s-4) var(--s-3); background: #16151c; }
.mock .hist-side ul { list-style: none; margin: var(--s-2) 0 var(--s-4); padding: 0; }
.mock .hist-side li { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 8px; color: var(--m-text-2); font-size: 13px; }
.mock .hist-side li.on { background: var(--m-box); color: var(--m-text); }
.mock .search { margin: var(--s-3); background: var(--m-box); border: 1px solid var(--m-line); border-radius: 9px; padding: 7px 10px; color: var(--m-text-3); font-size: 13px; }
.mock .hist-day { padding: var(--s-2) var(--s-3) 4px; }
.mock .hist-row { padding: 10px var(--s-3); border-top: 1px solid var(--m-line); }
.mock .hist-row.on { background: var(--m-box); box-shadow: inset 3px 0 0 var(--m-purple); }
.mock .hist-row strong { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .hist-row .meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--m-text-3); flex-wrap: wrap; }
.mock .conv { padding: var(--s-4) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.mock .conv-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); padding-bottom: var(--s-3); border-bottom: 1px solid var(--m-line); }
.mock .conv-head strong { font-size: 16px; margin-right: auto; }
.mock .msg { border-radius: 12px; padding: 10px 14px; font-size: 13.5px; }
.mock .msg.user { background: #2a2540; align-self: flex-end; max-width: 85%; }
.mock .msg.agent { background: var(--m-box); border: 1px solid var(--m-line); }
.mock .tool { font-family: var(--font-mono); font-size: 12px; color: var(--m-text-2); display: flex; gap: 8px; align-items: baseline; padding: 2px 0; }
.mock .tool b { color: var(--m-text); font-weight: 500; }
.mock .commit-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; padding: 10px 14px; border: 1px dashed var(--m-line); border-radius: 12px; }

.mock .term { background: var(--m-frame); font-family: var(--font-mono); font-size: 13px; line-height: 1.6; padding: var(--s-4) var(--s-5); color: #d7d7de; white-space: pre-wrap; word-break: break-word; }
.mock .term .p { color: var(--m-green); }
.mock .term .you { color: #fff; }
.mock .term .sys { display: inline-block; width: 100%; border-left: 2px solid var(--m-amber); padding-left: 12px; margin: 6px 0; color: #f3e2b5; }
.mock .term .sys.ok { border-color: var(--m-green); color: #cdeedd; }
.mock .term .blk { display: inline-block; width: 100%; border-left: 2px solid var(--m-red); padding-left: 12px; margin: 6px 0; color: #f6caca; }
.mock .term .sys b, .mock .term .blk b { color: #fff; font-weight: 600; }
.mock .term .agent { color: var(--m-purple); }
.mock .term .toolcall { display: inline-block; width: 100%; background: #17161d; border: 1px solid var(--m-line); border-radius: 8px; padding: 8px 12px; margin: 6px 0; color: var(--m-text-2); }
.mock .term .toolcall b { color: var(--m-text); font-weight: 600; }
/* Project colours used by the Projects, Search, Clipboard and Terminal mockups */
.mock { --p-atlas: #a77bf3; --p-relay: #3fc1a5; --p-lumen: #f2a93b; --p-nimbus: #5b8cf5; }
.mock .pdot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--p-atlas); flex: none; }
.mock .pdot.relay { background: var(--p-relay); }
.mock .pdot.lumen { background: var(--p-lumen); }
.mock .pdot.nimbus { background: var(--p-nimbus); }
.mock .ptag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--m-purple); white-space: nowrap; }
.mock .ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mock-stack { display: grid; gap: var(--s-5); }

/* Project page */
.mock .proj-head { display: flex; align-items: center; gap: var(--s-3); }
.mock .proj-av { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(145deg, #c9b3ff, #8e64e8); color: #221640; font-weight: 800; display: grid; place-items: center; flex: none; }
.mock .proj-head strong { display: block; font-size: 20px; letter-spacing: -0.01em; }
.mock .proj-head .spacer { flex: 1; }
.mock .insight { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); padding: var(--s-3) var(--s-4); border-radius: 12px; background: #221d33; border: 1px solid rgba(183, 156, 244, 0.25); }
.mock .insight > div { flex: 1; min-width: 0; }
.mock .insight strong { display: block; font-size: 15px; }
.mock .proj-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-3); }
.mock .pc { background: var(--m-card); border: 1px solid var(--m-line); border-radius: 12px; padding: var(--s-3); min-width: 0; }
.mock .pc > strong { display: block; font-size: 13.5px; margin: 6px 0 8px; }
.mock .crow { display: flex; gap: 8px; font-size: 12px; padding: 5px 8px; border-radius: 7px; background: var(--m-box); margin-top: 4px; min-width: 0; }
.mock .crow .mono { color: var(--m-purple); flex: none; }
.mock .miles { margin-top: var(--s-3); padding: var(--s-3); border-radius: 12px; border: 1px solid var(--m-line); background: var(--m-card); }
.mock .miles-row { display: grid; grid-template-columns: 80px 1fr auto; gap: var(--s-3); font-size: 13px; padding: 4px 0; }
.mock .miles-row .cap { font-size: 10.5px; padding-top: 2px; }
.mock .miles-row .chip-g { color: var(--m-green); }
.mock .cap.amber { color: var(--m-amber); }
.mock .cap.green { color: var(--m-green); }
.mock .cap.purple { color: var(--m-purple); }

/* Worklog */
.mock .wl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.mock .wl-stat { background: var(--m-card); border: 1px solid var(--m-line); border-radius: 12px; padding: 10px var(--s-3); }
.mock .wl-stat b { display: block; font-size: 22px; letter-spacing: -0.02em; margin-top: 2px; }
.mock .wl-grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(5, 44px) 44px; gap: 6px; align-items: center; margin-top: var(--s-4); font-size: 13px; }
.mock .wl-grid .h { color: var(--m-text-3); font-size: 11.5px; text-align: center; }
.mock .wl-grid .h.on { color: var(--m-purple); }
.mock .wl-grid .h:first-child { text-align: left; }
.mock .wl-work { display: flex; gap: 8px; align-items: center; min-width: 0; }
.mock .wl-work b { font-family: var(--font-mono); font-size: 12.5px; }
.mock .wl-cell { text-align: center; color: var(--m-text-3); padding: 6px 0; border-radius: 8px; }
.mock .wl-cell.h1 { background: #3a2a62; color: var(--m-text); font-weight: 600; }
.mock .wl-cell.h2 { background: #5a3a99; color: #fff; font-weight: 600; }
.mock .wl-cell.tot { color: var(--m-text); font-weight: 700; }
.mock .badge { font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.mock .badge.blocked { background: rgba(242, 193, 78, 0.18); color: var(--m-amber); }
.mock .badge.prog { background: rgba(183, 156, 244, 0.2); color: var(--m-purple); }
.mock .badge.merged { background: rgba(63, 193, 165, 0.18); color: var(--p-relay); }

/* ⌘K search */
.mock .cmdk-input { display: flex; align-items: center; gap: 10px; padding: 14px var(--s-4); font-size: 18px; border-bottom: 1px solid var(--m-line); }
.mock .cmdk-input .caret { display: inline-block; width: 2px; height: 20px; background: var(--m-purple); margin-left: -8px; }
.mock .cmdk-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px var(--s-4) 0; }
.mock .cmdk-filters .chip.on { background: var(--m-box); color: var(--m-text); }
.mock .res-group { padding: var(--s-3) var(--s-4) 4px; }
.mock .res { display: flex; align-items: center; gap: var(--s-3); padding: 8px var(--s-4); }
.mock .res.on { background: var(--m-box); box-shadow: inset 3px 0 0 var(--m-purple); }
.mock .res .ico-k { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--m-box); border: 1px solid var(--m-line); font-size: 13px; color: var(--m-text-2); flex: none; }
.mock .res > div { flex: 1; min-width: 0; }
.mock .res strong { display: block; font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .res .sub { display: block; font-size: 12px; color: var(--m-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .res mark { background: rgba(183, 156, 244, 0.28); color: inherit; border-radius: 3px; padding: 0 1px; }

/* Clipboard + terminal history */
.mock .hsearch { margin: var(--s-3); background: var(--m-box); border: 1px solid var(--m-line); border-radius: 9px; padding: 7px 10px; color: var(--m-text-3); font-size: 13px; }
.mock .hfilters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--s-3) var(--s-2); }
.mock .hfilters .chip.on { background: var(--m-box); color: var(--m-text); }
.mock .hgroup { padding: 8px var(--s-3) 4px; background: #16151c; border-top: 1px solid var(--m-line); }
.mock .clip { display: flex; align-items: center; gap: 10px; padding: 9px var(--s-3); border-top: 1px solid var(--m-line); }
.mock .clip.pin { box-shadow: inset 3px 0 0 var(--m-purple); background: #1c1a28; }
.mock .clip-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; flex: none; }
.mock .clip-ico.code { background: linear-gradient(145deg, #7b6cf6, #4f46e5); }
.mock .clip-ico.text { background: linear-gradient(145deg, #f7b04b, #e8772e); }
.mock .clip-ico.cmd { background: linear-gradient(145deg, #3fc18a, #1f8a57); }
.mock .clip-ico.uuid { background: linear-gradient(145deg, #6aa8ff, #3b6fe0); font-size: 9px; }
.mock .clip-ico.url { background: linear-gradient(145deg, #a04a7a, #6e2b54); }
.mock .clip > div { flex: 1; min-width: 0; }
.mock .clip strong { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; min-width: 0; }
.mock .clip strong span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .clip .sub { display: block; font-family: var(--font-mono); font-size: 11.5px; color: var(--m-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.mock .clip .when { font-size: 11.5px; color: var(--m-text-3); white-space: nowrap; flex: none; }
.mock .kind { font-size: 10.5px; font-weight: 700; border-radius: 6px; padding: 1px 6px; flex: none; }
.mock .kind.code { background: rgba(242, 169, 59, 0.18); color: var(--p-lumen); }
.mock .kind.cmd { background: rgba(63, 193, 165, 0.18); color: var(--p-relay); }
.mock .trow { display: flex; align-items: center; gap: 10px; padding: 8px var(--s-3); border-top: 1px solid var(--m-line); }
.mock .trow > div { flex: 1; min-width: 0; }
.mock .trow code { display: block; background: none; padding: 0; font-family: var(--font-mono); font-size: 12px; color: var(--m-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .trow .sub { display: block; font-size: 11px; color: var(--m-text-3); margin-top: 1px; }
.mock .trow .st { font-family: var(--font-mono); font-size: 11.5px; white-space: nowrap; flex: none; }
.mock .trow .st.ok { color: var(--m-green); }
.mock .trow .st.fail { color: var(--m-amber); }
.mock .trow .t { font-family: var(--font-mono); font-size: 11px; color: var(--m-text-3); white-space: nowrap; flex: none; width: 60px; text-align: right; }

/* Hero: Developer Home mockup */
.mock .dh { display: grid; grid-template-columns: 210px minmax(0, 1fr); font-size: 14px; }
.mock .dh-side { background: #16151c; border-right: 1px solid var(--m-line); padding: var(--s-4) var(--s-3); }
.mock .dh-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; margin-bottom: var(--s-3); }
.mock .dh-brand .l2 { width: 32px; height: 32px; border-radius: 9px; font-size: 12px; }
.mock .dh-side .search { margin: 0 0 var(--s-3); display: flex; justify-content: space-between; }
.mock .dh-side .cap { display: block; margin: var(--s-3) 6px 4px; font-size: 10.5px; }
.mock .dh-nav { list-style: none; margin: 0; padding: 0; }
.mock .dh-nav li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--m-text-2); font-size: 13.5px; }
.mock .dh-nav li.on { background: #2a2540; color: var(--m-text); box-shadow: inset 0 0 0 1px rgba(183, 156, 244, 0.35); }
.mock .dh-nav li .dim { margin-left: auto; font-size: 12px; }
.mock .dh-main { padding: var(--s-5); min-width: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.mock .dh-top { display: flex; align-items: center; gap: var(--s-2); }
.mock .dh-top .cap { margin-right: auto; }
.mock .dh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.mock .dh-stat { background: var(--m-card); border: 1px solid var(--m-line); border-radius: 12px; padding: 10px var(--s-3); }
.mock .dh-stat b { display: block; font-size: 22px; line-height: 1.1; }
.mock .dh-stat span { font-size: 12px; color: var(--m-text-2); }
.mock .dh-pick { background: var(--m-card); border: 1px solid var(--m-line); border-radius: 16px; padding: var(--s-4); }
.mock .dh-pick > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-3); }
.mock .dh-pick > header strong { font-size: 17px; }
.mock .dh-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-3); background: var(--m-box); border: 1px solid var(--m-line); border-radius: 12px; padding: var(--s-3) var(--s-4); }
.mock .dh-item + .dh-item { margin-top: var(--s-3); }
.mock .dh-item .l2 { width: 40px; height: 40px; font-size: 13px; }
.mock .dh-item .l2.ni { background: linear-gradient(145deg, #9cc0ff, #4f7fe8); }
.mock .dh-item > div { min-width: 0; }
.mock .dh-item strong { display: block; font-size: 15px; }
.mock .dh-item .cap { display: block; margin-top: 8px; font-size: 10.5px; }
.mock .dh-item q { display: block; margin-top: 2px; color: var(--m-text); }
.mock .dh-update { display: flex; gap: 8px; align-items: center; margin-top: 4px; padding: 7px 10px; border-radius: 9px; background: var(--m-card); border: 1px solid var(--m-line); }
.mock .dh-commit { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; font-size: 13px; }
.mock .dh-foot { display: flex; align-items: center; gap: var(--s-2); margin-top: 10px; flex-wrap: wrap; }
.mock .dh-foot .spacer { flex: 1; }
.mock .dh-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.mock .dh-proj { background: var(--m-card); border: 1px solid var(--m-line); border-radius: 12px; padding: var(--s-3); min-width: 0; }
.mock .dh-proj header { display: flex; gap: 10px; align-items: center; }
.mock .dh-proj .l2 { width: 32px; height: 32px; font-size: 11px; border-radius: 9px; }
.mock .dh-proj .l2.re { background: linear-gradient(145deg, #8ff0d6, #2fa98c); }
.mock .dh-proj .l2.lu { background: linear-gradient(145deg, #ffd27a, #e89a2b); }
.mock .dh-proj p { margin: 8px 0 0; font-size: 13px; color: var(--m-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 960px) {
  .context-mock { grid-template-columns: 1fr; }
  .mock .dh { grid-template-columns: 1fr; }
  .mock .dh-side { display: none; }
  .mock .dh-projects { grid-template-columns: 1fr 1fr; }
  .mock .dh-projects .dh-proj:last-child { display: none; }
  .mock .hist { grid-template-columns: 220px 1fr; }
  .mock .hist-side { display: none; }
}
@media (max-width: 720px) {
  .mock .hist { grid-template-columns: 1fr; }
  .mock .hist-list { border-right: 0; border-bottom: 1px solid var(--m-line); }
  .mock .hist-list .older { display: none; }
  .mock .win-body { padding: var(--s-4); }
  .mock .pickup { padding: var(--s-4); }
  .mock .pk-boxes.two { grid-template-columns: 1fr; }
  .mock .pk-arrow { transform: rotate(90deg); justify-self: center; }
  .mock .pk-num { font-size: 34px; }
  .mock .pk-meta { flex-direction: column; gap: 0; align-items: flex-end; }
  .mock .pk-rows { grid-template-columns: 1fr; gap: 0; }
  .mock .pk-rows dd { margin-bottom: 6px; white-space: normal; }
  .mock .term { font-size: 12px; padding: var(--s-3) var(--s-4); }
  .mock .proj-cards { grid-template-columns: 1fr; }
  .mock .proj-head .btn-m { display: none; }
  .mock .dh-main { padding: var(--s-3); }
  .mock .dh-top .btn-m:not(:last-child) { display: none; }
  .mock .dh-stats { grid-template-columns: 1fr 1fr; }
  .mock .dh-item { grid-template-columns: 1fr; }
  .mock .dh-item .l2 { display: none; }
  .mock .dh-projects { display: none; }
  .mock .insight { flex-wrap: wrap; }
  .mock .insight > div { flex-basis: calc(100% - 30px); }
  .mock .insight .btn-m { margin-left: 26px; }
  .mock .wl-stats { grid-template-columns: 1fr 1fr; }
  .mock .wl-stats .wl-stat:last-child { display: none; }
  .mock .wl-grid { grid-template-columns: minmax(0, 1fr) repeat(5, 30px) 34px; gap: 4px; font-size: 12px; }
  .mock .wl-work .badge { display: none; }
}

/* Tablet */
@media (max-width: 960px) {
  .feature-grid, .feature-grid.flip { grid-template-columns: 1fr; gap: var(--s-7); }
  .feature-grid.flip .feature-copy { order: 0; }
  .today-points { grid-template-columns: repeat(2, 1fr); }
  .agents-points { grid-template-columns: 1fr; }
  .boundary { grid-template-columns: 1fr; }
  .boundary-mac .boundary-items { grid-template-columns: repeat(2, 1fr); }
  .bridge-grid { grid-template-columns: 1fr; }
  .privacy-points { grid-template-columns: 1fr; gap: var(--s-4); }
  .faq-wrap { grid-template-columns: 1fr; gap: var(--s-5); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

/* Collapse the menu before the nine links and the button outgrow the bar (~1100px). */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: var(--s-2) var(--s-4) var(--s-4);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: var(--s-3) 0; font-size: 17px; }
}

/* Phone */
@media (max-width: 720px) {
  .wrap { padding: 0 var(--s-4); }
  .nav { gap: var(--s-3); }
  .hero { padding-top: var(--s-6); }
  .hero-shot, .hero-shot.mock.stage { margin-top: var(--s-7); }
  .hero-shot img { border-radius: 10px; }
  .feature, .privacy { padding: var(--s-8) 0; }
  .today-points { grid-template-columns: 1fr; }
  .today-head .lead { font-size: 17px; }
  .agents-head .lead { font-size: 17px; }
  .boundary-mac { padding: var(--s-5); }
  .boundary-mac .boundary-items { grid-template-columns: 1fr; }
  .pricing-card { padding: var(--s-7) var(--s-5); }
  .btn-appstore { width: 100%; justify-content: center; }
  .stage { padding: var(--s-4); border-radius: 20px; }
  .hero-shot.stage { padding: var(--s-5) var(--s-4); }
  .hero-shot .demo-hint { position: static; height: auto; margin: 0 0 var(--s-4); }
}

/* ---------- Hero live demo + feature tiles (2.0 layout) ---------- */
.sb .dh { grid-template-columns: 220px minmax(0, 1fr); }
.sb .dh-side { display: block; }
.sb .dh-nav button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 8px; color: var(--m-text-2); font-size: 14px; cursor: pointer; }
.sb .dh-nav button:hover { color: var(--m-text); background: rgba(255,255,255,.04); }
.sb .dh-nav button[aria-selected="true"] { background: #2a2540; color: var(--m-text); box-shadow: inset 0 0 0 1px rgba(183,156,244,.35); }
.sb .dh-nav button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sb .dh-nav .ico { width: 16px; text-align: center; opacity: .8; }
/* The sidebar sets the window height; the content fills it without growing it, so tabs never resize the window. */
.sb-main { position: relative; height: auto; contain: size; overflow: hidden; padding: var(--s-5);
  -webkit-mask-image: linear-gradient(#000 85%, transparent); mask-image: linear-gradient(#000 85%, transparent); }
.sb-pane[hidden] { display: none; }
.sb-pane > .stage { margin: 0; padding: 0; background: none; border: 0; }
.sb-pane .mock-note { display: none; }
/* App screens merge into the outer window; other windows (the terminal) keep their frame. */
.sb-pane .win.merged { box-shadow: none; border: 0; border-radius: 0; background: transparent; }
.sb-pane .win.merged > .win-body { padding: 0; }
.sb-pane .context-mock { grid-template-columns: 1.1fr 1fr; gap: var(--s-4); }
.sb-pane .win.merged > .win-bar { display: none; }
.sb-pane .today-mock { max-width: none; }
.sb-pane .bridge-grid { grid-template-columns: 1fr 1fr; }
/* Bridge cards are light-theme cards; restyle them as dark app panels inside the window. */
.sb-pane .bridge-card { background: #1b1a21; border-color: var(--m-line); color: var(--m-text); box-shadow: none; padding: 18px 20px; }
.sb-pane .bridge-card h3 { color: var(--m-text); font-size: 19px; line-height: 1.25; margin: 6px 0 8px; }
.sb-pane .bridge-card p, .sb-pane .bridge-card li, .sb-pane .bridge-kicker { color: var(--m-text-2); }
.sb-pane .bridge-card p { font-size: 13px; line-height: 1.45; margin-bottom: 10px; }
.sb-pane .bridge-card .points { font-size: 12.5px; line-height: 1.4; margin-bottom: 8px; }
.sb-pane .bridge-card .points li { margin-bottom: 6px; }
.sb-pane .bridge-card li strong { color: var(--m-text); }
/* .bridge-foot sets its colour with !important, so the dark override has to as well. */
.sb-pane .bridge-foot { font-size: 11.5px; padding-top: 8px; color: var(--m-text-3) !important; }
.sb-pane .bridge-badge { background: rgba(167, 139, 250, 0.16); color: #c4b5fd; border: 1px solid rgba(167, 139, 250, 0.3); }
.sb-pane code { background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.1); color: #93c5fd; padding: 1px 6px; border-radius: 5px; }
.sb-pane .tool-chips code { background: rgba(255,255,255,.06); border-color: var(--m-line); color: var(--m-text-2); font-size: 11.5px; padding: 3px 7px; }

/* Daily timeline inside the MCP and Hooks cards */
.sb-pane .day-flow { display: flex; flex-direction: column; gap: 6px; margin: 3px 0 8px; }
.sb-pane .day-step { background: rgba(0, 0, 0, 0.32); border: 1px solid var(--m-line); border-radius: 8px; padding: 7px 10px; }
.sb-pane .day-step-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; }
.sb-pane .day-step-time { font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; color: #c4b5fd; }
.sb-pane .day-step-tag { font-family: var(--font-mono); font-size: 9px; padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); color: #a19fad; border: 1px solid rgba(255, 255, 255, 0.06); }
.sb-pane .day-step-cmd { font-family: var(--font-mono); font-size: 11px; margin-bottom: 2px; display: flex; align-items: center; gap: 5px; }
.sb-pane .day-step-cmd code { background: rgba(15, 14, 23, 0.9); border: 1px solid rgba(110, 231, 183, 0.3); color: #6ee7b7; padding: 2px 6px; border-radius: 4px; font-size: 10.5px; font-weight: 500; }
/* Beats `.sb-pane .bridge-card p` above. */
.sb-pane .bridge-card .day-step-desc { font-size: 11px; line-height: 1.4; color: #c4c2d4; margin: 0; }
.sb-pane.is-in { animation: sb-in .3s ease both; }
@keyframes sb-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.sb-caption { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); margin-top: var(--s-6); align-items: start; }
.sb-caption[hidden] { display: none; }
.sb-caption .eyebrow { color: var(--sc); }
.sb-caption h3 { font-family: var(--font-display); font-size: 30px; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 var(--s-3); }
.sb-caption .lead { color: var(--text-2); margin: 0; line-height: 1.55; }
.sb-caption ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.sb-caption li strong { display: block; color: var(--text); margin-bottom: 2px; }
@media (max-width: 900px) {
  .sb .dh { grid-template-columns: minmax(0, 1fr); }
  .sb .dh-side .search { display: none; }
  .sb .dh-side { min-width: 0; padding: var(--s-2); border-right: 0; border-bottom: 1px solid var(--m-line); }
  .sb .dh-side .dh-brand, .sb .dh-side .cap { display: none; }
  .sb .dh-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .sb .dh-nav button { white-space: nowrap; width: auto; }
  .sb-main { height: 440px; padding: var(--s-3); }
  .sb-pane .bridge-grid { grid-template-columns: 1fr; }
  .sb-caption { grid-template-columns: 1fr; gap: var(--s-4); }
  .sb-caption ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sb-pane.is-in { animation: none; } }
/* The hint sits in the demo frame's top padding, above the window; it never takes clicks, so autoplay isn't paused by it. */
.demo-hint { position: absolute; top: 0; left: 0; right: 0; height: var(--s-8); margin: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hero .hero-shot.mock.stage { margin-top: var(--s-6); }
.demo-hint span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shot-shadow); font-size: 14px; font-weight: 500; color: var(--text-2); }
.demo-hint b { color: var(--text); font-weight: 600; }
.demo-hint i { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 0 rgba(52,199,89,.6); animation: demo-pulse 1.8s infinite; }
@keyframes demo-pulse { 70% { box-shadow: 0 0 0 8px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }
.hero-shot.sb { --stage: var(--sc, var(--c-agent)); }
.hero-shot.sb .dh-nav button[aria-selected="false"] { animation: demo-nudge 2.4s ease 1.2s 2; }
.hero-shot.sb.touched .dh-nav button { animation: none; }
@keyframes demo-nudge { 0%, 100% { background: transparent; } 50% { background: rgba(183,156,244,.10); } }
.sb-pane .dh-main { padding: 0; }
/* Inside the demo frame, above the window, so each click visibly changes it. */
.hero .sb-caption-wrap { text-align: left; margin: 0 0 var(--s-5); }
.hero .sb-caption ul:empty { display: none; }
@media (max-width: 900px) { .demo-hint span { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .demo-hint i, .hero-shot.sb .dh-nav button { animation: none; } }
.hero .sb-caption { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); row-gap: 0; margin-top: 0; }
.hero .sb-caption h3 { font-size: 22px; margin-bottom: 0; }
.hero .sb-caption .lead { font-size: 16px; line-height: 1.5; }
/* All captions share one grid cell, so the frame is as tall as the longest and the window never jumps on a click. */
.hero .sb-caption-wrap { display: grid; }
.hero .sb-caption { grid-area: 1 / 1; }
.hero .sb-caption[hidden] { display: grid; visibility: hidden; }
/* Headline + More button on the left, description on the right; the opened panel floats over the window instead of pushing it down. */
.hero .sb-caption { column-gap: var(--s-6); }
.hero .sb-caption > div:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
.hero .sbm-more { grid-column: 1; grid-row: 2; margin-top: var(--s-3); }
.hero .sb-caption-wrap { position: relative; z-index: 2; }
.hero .sbm-body { position: absolute; left: 0; right: 0; margin-top: var(--s-3); box-shadow: 0 24px 60px -24px rgba(40, 20, 80, .45); }
@media (max-width: 900px) {
  .hero .sb-caption > div:nth-child(2), .hero .sbm-more { grid-column: 1; grid-row: auto; }
}
/* Phones: label + headline only, so the window stays on the first screen; the feature tiles below carry the full text. */
@media (max-width: 720px) {
  .hero .sb-caption .lead, .hero .sbm-more { display: none; }
  .hero .sb-caption h3 { font-size: 19px; }
  .hero .sb-caption-wrap { margin-bottom: var(--s-4); }
}
.hero .sb-caption .lead { margin: 0 0 var(--s-3); }
.sbm-more { grid-column: 1 / -1; }
.sbm-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-weight: 600; font-size: 15px; color: var(--accent);
  padding: 8px 14px; margin-top: var(--s-2); border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); background: var(--surface); }
.sbm-more summary::-webkit-details-marker { display: none; }
.sbm-more summary:hover { background: var(--accent-soft); }
.sbm-more summary::after { content: "▾"; transition: transform .2s; }
.sbm-more[open] summary::after { transform: rotate(180deg); }
.sbm-more[open] summary .when-closed, .sbm-more:not([open]) summary .when-open { display: none; }
.sbm-body { margin-top: var(--s-5); padding: var(--s-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); animation: sbm-in .25s ease; }
.sbm-body ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-6); color: var(--text-2); font-size: 15px; line-height: 1.55; }
.sbm-body li strong { color: var(--text); }
.sbm-body .note { margin: var(--s-5) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--border); color: var(--text-3); font-size: 14px; }
@keyframes sbm-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero .sb-caption { grid-template-columns: 1fr; row-gap: var(--s-3); }
  .sbm-body { padding: var(--s-4); }
  .sbm-body ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sbm-body { animation: none; } }
.bento-card { --stage: var(--sc); position: relative; display: flex; flex-direction: column; overflow: hidden; text-align: left; font: inherit; color: inherit;
  padding: var(--s-5) var(--s-5) 0; border-radius: var(--radius-lg, 24px); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shot-shadow); }
.bento-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.bento-card .eyebrow { color: var(--sc); margin: 0 0 var(--s-1); font-size: 14px; }
.bento-card h3 { font-family: var(--font-display); font-size: 21px; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 var(--s-2); }
.bento-card .line { color: var(--text-2); font-size: 15px; line-height: 1.45; margin: 0 0 var(--s-4); }
.bento-card .more { position: absolute; top: var(--s-5); right: var(--s-5); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-size: 16px; transition: transform .25s; }
.bento-card:hover .more { transform: rotate(90deg); color: var(--text); }
/* Feature carousel: tiles open here; the active slide sits centred with its neighbours peeking in. */
dialog.feat-dlg { --slide: min(1000px, calc(100vw - 2 * var(--s-8))); width: 100vw; height: min(880px, calc(100vh - 32px)); max-width: none; max-height: none; padding: 0; border: 0;
  background: transparent; color: var(--text); overflow: visible; }
dialog.feat-dlg[open] { display: flex; flex-direction: column; animation: dlg-in .25s ease; }
dialog.feat-dlg::backdrop { background: rgba(10,10,14,.6); backdrop-filter: blur(6px); }
.feat-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: var(--slide); margin: 0 auto; padding-bottom: var(--s-3); color: #fff; }
.feat-count { font-size: 14px; font-weight: 600; letter-spacing: .02em; opacity: .85; }
.feat-dots { display: flex; gap: 8px; }
.feat-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.35); cursor: pointer; transition: width .25s, background .25s; }
.feat-dots i.on { width: 22px; background: #fff; }
.feat-bar .dlg-close { justify-self: end; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 17px; cursor: pointer; }
.feat-bar .dlg-close:hover { background: rgba(255,255,255,.26); }
.feat-stage { position: relative; flex: 1; min-height: 0; }
.feat-track { display: flex; gap: var(--s-4); height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 calc((100vw - var(--slide)) / 2); overscroll-behavior-x: contain; }
.feat-track::-webkit-scrollbar { display: none; }
.feat-slide { flex: 0 0 var(--slide); height: 100%; overflow-y: auto; overscroll-behavior-y: contain; scroll-snap-align: center;
  background: var(--bg); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.35); opacity: .45; transform: scale(.96); transition: opacity .3s, transform .3s; cursor: pointer; }
.feat-slide.is-active { opacity: 1; transform: none; cursor: auto; }
.feat-slide .dlg-body { padding: var(--s-7); }
.feat-slide .feature, .feat-slide .feature-alt { padding: 0; background: none; }
.feat-slide .wrap { padding: 0; max-width: none; }
/* Compact slide header: title left, intro right, so the mockup below fits the slide (script.js shrinks it if needed). */
.feat-slide .dlg-body { padding: var(--s-6) var(--s-7); }
.feat-slide :is(.today-head, .agents-head, .section-head) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--s-6);
  align-items: start; text-align: left; max-width: none; margin: 0 0 var(--s-5); }
.feat-slide :is(.today-head, .agents-head, .section-head) > .eyebrow { grid-column: 1; margin-bottom: var(--s-2); }
.feat-slide :is(.today-head, .agents-head, .section-head) > h2 { grid-column: 1; }
.feat-slide :is(.today-head, .agents-head, .section-head) > p:not(.eyebrow) { grid-column: 2; grid-row: 1 / span 3; margin: 0; font-size: 16px; line-height: 1.55; }
.feat-slide .agents-head > .agents-providers-wrap { grid-column: 1; grid-row: 3; margin-top: var(--s-4); align-items: flex-start; }
.feat-slide .agents-providers-wrap .providers { justify-content: flex-start; margin-bottom: 0; }
.feat-slide h2 { font-size: clamp(26px, 2.6vw, 34px); }
.feat-slide .feature-copy h2 { margin-bottom: var(--s-3); }
.feat-slide .feature-grid { align-items: start; }
.feat-slide figure.stage { margin-top: 0; }
.feat-nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: #17151f; font-size: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: opacity .2s, transform .2s; }
.feat-nav:hover:not(:disabled) { transform: scale(1.06); }
.feat-nav:disabled { opacity: 0; pointer-events: none; }
.feat-nav.prev { left: calc((100vw - var(--slide)) / 2 - 24px); }
.feat-nav.next { right: calc((100vw - var(--slide)) / 2 - 24px); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  dialog.feat-dlg { --slide: calc(100vw - 2 * var(--s-5)); height: calc(100vh - 16px); }
  .feat-bar { padding-bottom: var(--s-2); }
  .feat-track { gap: var(--s-2); }
  .feat-slide { border-radius: 20px; }
  .feat-slide .dlg-body { padding: var(--s-5) var(--s-4); }
  .feat-slide :is(.today-head, .agents-head, .section-head) { grid-template-columns: 1fr; }
  .feat-slide :is(.today-head, .agents-head, .section-head) > * { grid-column: 1 !important; grid-row: auto !important; }
  .feat-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bento-card, .bento-card .more, dialog.feat-dlg[open], .feat-slide { transition: none; animation: none; } }
/* Vibrant pass: two-hue stages, glowing windows, brighter in-app accents. */
.mock {
  --m-purple: #c7aaff; --m-purple-strong: #9d6bff; --m-green: #4cf0a0; --m-amber: #ffc53d; --m-blue: #74a9ff; --m-red: #ff7b8a;
  --m-bg: #121119; --m-card: #1a1825; --m-box: #201e2c;
}
.stage {
  --stage-2: oklch(from var(--stage) calc(l + 0.04) c calc(h + 55));
  background:
    radial-gradient(70% 80% at 0% 0%, color-mix(in srgb, var(--stage) 55%, transparent), transparent 62%),
    radial-gradient(70% 80% at 100% 100%, color-mix(in srgb, var(--stage-2) 50%, transparent), transparent 64%),
    radial-gradient(50% 50% at 85% 10%, color-mix(in srgb, var(--stage-2) 28%, transparent), transparent 70%),
    linear-gradient(150deg, color-mix(in srgb, var(--stage) 24%, var(--bg)), color-mix(in srgb, var(--stage-2) 18%, var(--bg)));
  border-color: color-mix(in srgb, var(--stage) 35%, transparent);
}
.mock .win {
  box-shadow: 0 40px 90px -30px color-mix(in srgb, var(--stage, var(--c-agent)) 70%, transparent),
              0 0 0 1px color-mix(in srgb, var(--stage, var(--c-agent)) 35%, transparent),
              0 1px 0 0 rgba(255,255,255,.08) inset;
  background: linear-gradient(180deg, color-mix(in srgb, var(--stage, var(--c-agent)) 12%, var(--m-bg)), var(--m-bg) 220px);
}
.sb-pane .win.merged { background: transparent; }
/* Demo panes stay transparent; only the outer stage is coloured. */
.mock .win-bar { background: linear-gradient(90deg, color-mix(in srgb, var(--stage, var(--c-agent)) 16%, var(--m-bar)), var(--m-bar)); }
.mock .l2 { background: linear-gradient(145deg, #d9c4ff, #8b55f5 60%, #e256b0); box-shadow: 0 6px 18px -6px rgba(157,107,255,.7); }
.mock .btn-m.primary { background: linear-gradient(135deg, #9d6bff, #e256b0); box-shadow: 0 8px 20px -8px rgba(226,86,176,.8); }
.mock .dh-nav li.on, .sb .dh-nav button[aria-selected="true"] {
  background: linear-gradient(90deg, color-mix(in srgb, var(--stage, var(--c-agent)) 38%, #1c1a28), #1c1a28);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--stage, var(--c-agent)) 55%, transparent);
}
.mock .dh-stat b, .mock .pk-num { text-shadow: 0 0 22px currentColor; }
.mock .chip.warm, .mock .chip.ok { background: rgba(76,240,160,.12); }
.mock .chip.cold { background: rgba(116,169,255,.12); }
.mock .chip.warn, .mock .badge-np { text-shadow: 0 0 12px rgba(255,197,61,.45); }
.bento-card .eyebrow, .sb-caption .eyebrow { filter: saturate(1.3); }
.bento-card { box-shadow: 0 24px 60px -36px color-mix(in srgb, var(--stage) 80%, transparent); }
/* Autoplay progress on the selected sidebar item. */
.sb .dh-nav button { position: relative; overflow: hidden; }
.hero-shot.autoplay .dh-nav button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: left;
  background: linear-gradient(90deg, var(--m-purple), #e256b0); animation: ap-fill var(--ap-ms, 4500ms) linear forwards;
}
.hero-shot.autoplay.paused .dh-nav button[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes ap-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-shot.sb.autoplay .dh-nav button[aria-selected] { animation: none; }
.icon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.icon-grid .bento-card { height: auto; min-height: 250px; padding: var(--s-5); grid-column: auto; grid-row: auto; justify-content: flex-start; }
.icon-grid .bento-card h3 { font-size: 20px; }
.icon-grid .bento-card .line { margin: 0; font-size: 15px; }
.tile-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; color: #fff; margin-bottom: var(--s-4);
  background: linear-gradient(145deg, var(--sc), oklch(from var(--sc) calc(l - 0.02) c calc(h + 55)));
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--sc) 85%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.tile-privacy { --stage: #1f1d2b; position: relative; display: flex; flex-direction: column; padding: var(--s-5); border-radius: var(--radius-lg, 24px); min-height: 250px;
  background: radial-gradient(90% 80% at 0% 0%, rgba(157,107,255,.45), transparent 60%), radial-gradient(80% 80% at 100% 100%, rgba(226,86,176,.35), transparent 60%), #17151f;
  color: #ecebf2; text-decoration: none; transition: transform .25s ease; }
.tile-privacy:hover { transform: translateY(-3px); }
.tile-privacy .eyebrow { color: #c7aaff; margin: 0 0 var(--s-1); font-size: 14px; }
.tile-privacy h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 var(--s-2); }
.tile-privacy p:last-child { color: #a9a7b6; font-size: 15px; line-height: 1.45; margin: 0; }
.tile-privacy .tile-ico { background: linear-gradient(145deg, #9d6bff, #e256b0); }
@media (max-width: 1000px) { .icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .icon-grid { grid-template-columns: 1fr; }
  .icon-grid .bento-card, .tile-privacy { min-height: 0; }
}
/* Phones: the same tiles become a swipeable row instead of a long stacked column. */
.grid-dots { display: none; }
@media (max-width: 700px) {
  .icon-grid { display: flex; gap: var(--s-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--s-4)); padding: var(--s-1) var(--s-4) var(--s-3); scroll-padding-inline: var(--s-4); }
  .icon-grid::-webkit-scrollbar { display: none; }
  .icon-grid .bento-card, .icon-grid .tile-privacy { flex: 0 0 78vw; min-height: 270px; scroll-snap-align: start; }
  .grid-dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--s-3); }
  .grid-dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--border); transition: width .25s, background .25s; }
  .grid-dots i.on { width: 22px; background: var(--accent); }
}

/* ---------- Proactive token savings (cache chip, Context first, spotlight) ---------- */
/* Live cache chip on the demo window */
.mock .win-bar { position: relative; }
.win-chip { position: absolute; right: var(--s-3); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600;
  color: var(--m-green); background: rgba(76,240,160,.12); border: 1px solid rgba(76,240,160,.3); border-radius: 999px; padding: 2px 9px; }
.win-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: demo-pulse 1.8s infinite; }
.win-chip.cold {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.3);
}
.win-chip.cold i {
  background: #f87171;
}
/* Context & cost first: nav badge + wide tile */
#sbt-agents { flex-wrap: wrap; row-gap: 4px; }
.sb .dh-nav .save { white-space: nowrap; margin-left: 26px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; padding: 1px 6px; border-radius: 6px;
  background: linear-gradient(135deg, #9d6bff, #e256b0); }
.icon-grid .b-context { grid-column: span 2; }
.icon-grid { grid-auto-flow: row dense; }
.icon-grid .b-clipboard { grid-column: 1 / span 2; grid-row: 2 / span 2; }
.icon-grid .b-clipboard h3 { font-size: 26px; }
.icon-grid .b-clipboard .line { max-width: 46ch; }
/* Clipboard tile: a copied line and the smart-action bubble that pops up at the cursor */
.cb-demo { position: relative; display: block; margin-top: var(--s-4); }
.cb-src { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); }
.cb-sel { background: color-mix(in srgb, var(--c-shot) 22%, transparent); border-radius: 3px; padding: 1px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cb-src kbd { flex: none; font-family: var(--font); font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.cb-bubble { position: relative; margin: 8px 0 0 28px; display: flex; flex-direction: column; gap: 6px; width: min(340px, calc(100% - 28px)); color: #ecebf2; font-size: 13px; }
.cb-pill { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(28,27,36,.94); box-shadow: 0 10px 30px -10px rgba(20,10,40,.55), inset 0 0 0 1px rgba(255,255,255,.08); width: max-content; max-width: 100%; }
.cb-app { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; background: linear-gradient(145deg, #9d6bff, #e256b0); box-shadow: 0 0 12px rgba(214,72,155,.55); }
.cb-primary { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-weight: 600; background: linear-gradient(180deg, #8b5cf6, #7638d9); color: #fff; white-space: nowrap; }
.cb-primary b { font-family: var(--font-mono); font-size: 11px; }
.cb-btn { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #b9b6c6; background: rgba(255,255,255,.07); font-size: 12px; }
.cb-menu { display: flex; flex-direction: column; gap: 1px; padding: 8px; border-radius: 16px; background: rgba(28,27,36,.96); box-shadow: 0 18px 40px -14px rgba(20,10,40,.6), inset 0 0 0 1px rgba(255,255,255,.08); }
.cb-h { font-weight: 700; font-size: 13px; padding: 2px 8px 6px; color: #fff; }
.cb-sec { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8f8c9c; padding: 6px 8px 3px; }
.cb-row { display: flex; align-items: center; gap: 9px; padding: 5px 8px; border-radius: 9px; color: #dcdae6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-row i { font-style: normal; flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; font-weight: 700; background: rgba(255,255,255,.07); color: #c9c6d4; }
.cb-row.on { background: rgba(139,92,246,.28); color: #fff; }
.cb-row.ai i { color: #c4b5fd; background: rgba(167,139,250,.18); }
.cb-row em { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 600; color: #8f8c9c; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.06); }
.icon-grid .b-context h3 { font-size: 26px; }
.tile-stat { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-4); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.tile-stat .from { color: #d9772b; } .tile-stat .to { color: #1f9d63; } .tile-stat .arr { color: var(--text-3); font-size: 20px; }
.tile-stat small { font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: 0; }
/* Token spotlight */
.tokens { padding: var(--s-8) 0 var(--s-9); }
.tokens .section-head { margin-bottom: var(--s-7); }
.tokens .section-head .eyebrow { color: var(--accent); }
.tk-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; }
.tk-card { position: relative; padding: 26px 28px 24px; border-radius: 26px; color: #ecebf2;
  background: radial-gradient(120% 90% at 0% 0%, rgba(120,80,190,.28), transparent 55%), linear-gradient(180deg, #2a2733, #1e1c25);
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 34px 80px -34px rgba(118,56,217,.75), inset 0 1px 0 rgba(255,255,255,.06); }
.tk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tk-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8f8c9c; }
.tk-meta { display: inline-flex; gap: 14px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.tk-meta .sz { color: #c9c6d4; } .tk-meta .sz i { font-style: normal; color: #f2c14e; margin-right: 5px; }
.tk-meta .cold { color: #a9c4ff; } .tk-meta .cold i { font-style: normal; color: #74a9ff; margin-right: 5px; }
.tk-title { font-size: 21px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; color: #f2f1f6; }
.tk-sub { font-size: 15.5px; line-height: 1.45; color: #a3a0b0; margin: 0 0 20px; }
.tk-boxes { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 12px; }
.tk-box { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 18px 16px; border-radius: 16px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); }
.tk-box .ico { line-height: 0; padding-top: 1px; }
.tk-box.cur .ico { color: #f2c14e; } .tk-box.fresh .ico { color: #5fe0a0; }
.tk-box .cap { white-space: nowrap; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8f8c9c; }
.tk-num { font-size: clamp(36px, 3.6vw, 50px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 4px 0 6px; }
.tk-box.cur .tk-num { background: linear-gradient(90deg, #ffcf4d, #f08a5d 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tk-box.fresh .tk-num { color: #6fe3a8; }
.tk-box p { margin: 0; font-size: 15px; line-height: 1.35; color: #a3a0b0; }
.tk-box .info { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #8f8c9c; color: #8f8c9c;
  font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.tk-arrow { color: #8f8c9c; font-size: 20px; align-self: center; }
.tk-btn { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; padding: 14px; border-radius: 14px; font-weight: 700; font-size: 16.5px;
  color: #fff; background: linear-gradient(180deg, #b593e6, #a17fd8); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.tk-note { margin: var(--s-3) 0 0; font-size: 12.5px; color: var(--text-3); text-align: center; }
.tk-points { list-style: none; padding: 0; margin: var(--s-7) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.tk-points li { padding: var(--s-5); border-radius: 18px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-size: 15px; line-height: 1.5; }
.tk-points .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 16px; background: linear-gradient(145deg, #9d6bff, #e256b0); margin-bottom: var(--s-4); }
.tk-points .when { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.tk-points strong { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.tk-points p { margin: 0; }
.tk-proof { margin: var(--s-6) auto 0; max-width: 720px; text-align: center; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.tk-proof strong { color: var(--text); }
.tk-foot { margin-top: var(--s-6); display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; }
.tk-more { display: inline-flex; gap: 8px; align-items: center; font: inherit; font-weight: 600; font-size: 15px; color: var(--accent); background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.tk-fine { margin: 0; font-size: 13px; color: var(--text-3); }
.tk-fine a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.tk-fine a:hover { color: var(--accent-hover); }
.tk-more:hover { background: var(--accent-soft); }
.tokens figure.stage { --stage: var(--accent); margin: 0; padding: var(--s-6); }
.tokens figure .win { font-size: 13px; }
@media (max-width: 900px) {
  .tk-grid { grid-template-columns: 1fr; }
  .tk-points { grid-template-columns: 1fr; }
  .icon-grid .b-context { grid-column: auto; }
}
@media (max-width: 520px) {
  .tk-card { padding: 20px 18px; }
  .tk-head { flex-wrap: wrap; }
  .tk-boxes { grid-template-columns: 1fr; }
  .tk-arrow { justify-self: center; transform: rotate(90deg); }
  .tokens figure.stage { display: none; } /* the numbers make the point on phones; "How it works" has the terminal */
}
.hero-privacy .lock { margin-right: 6px; }
@media (max-width: 520px) {
  .demo-hint span { display: inline-block; border-radius: 14px; line-height: 1.45; }
  .demo-hint i { display: inline-block; margin-right: 8px; vertical-align: 1px; }
  .hero-shot .sb-title { visibility: hidden; } /* the cache chip takes the bar */
}

/* ---------- Demo sidebar matches the app: Developer Home, Memory, Projects, Settings ---------- */
.sb .dh-side { display: flex; flex-direction: column; }
.sb .dh-nav { display: flex; flex-direction: column; flex: 1; }
.sb .dh-nav ul { list-style: none; margin: 0; padding: 0; }
.sb .dh-nav li { display: block; padding: 0; }
.sb .dh-nav button { padding: 6px 10px; font-size: 13.5px; }
.sb .dh-nav .ico { width: 16px; height: 16px; line-height: 0; flex: none; opacity: .85; }
.sb .dh-nav button.search { margin: 0 0 var(--s-1); padding: 7px 10px; background: rgba(255,255,255,.05); font-size: 13px; }
.sb .dh-nav button.search > span:not(.ico) { flex: 1; }
.sb .dh-nav .search kbd { font: inherit; font-size: 11.5px; font-weight: 600; color: var(--m-text-2); background: none; border: 0; padding: 0; }
.sb .dh-side .cap { margin: var(--s-3) 10px 4px; }
.sb .dh-recent li { display: flex; align-items: center; gap: 10px; padding: 4px 10px; font-size: 13px; color: var(--m-text); }
.sb .dh-recent i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: none; }
.sb .dh-recent span { margin-left: auto; font-size: 11.5px; color: var(--m-text-2); }
.sb .dh-foot { margin-top: auto; padding-top: var(--s-3); }
.sb .dh-user { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 6px 0; border-top: 1px solid var(--m-line); }
.sb .dh-user .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 700; color: var(--m-text); background: rgba(255,255,255,.08); }
.sb .dh-user .who { display: grid; min-width: 0; line-height: 1.25; }
.sb .dh-user b { font-size: 13px; color: var(--m-text); }
.sb .dh-user small { font-size: 11px; color: var(--m-text-2); white-space: nowrap; }
.sb .dh-user .eye { margin-left: auto; color: var(--m-text-2); line-height: 0; }
@media (max-width: 900px) {
  .sb .dh-nav { flex-direction: row; }
  .sb .dh-nav ul, .sb .dh-foot { display: contents; }
  .sb .dh-nav .dh-recent, .sb .dh-user, .sb .dh-nav button.search { display: none; }
}

/* ---------- Coding Agents mockup: Sessions tab + Recap, as in the app ---------- */
.mock .ca { font-size: 12.5px; color: var(--m-text); }
.mock .ca-title { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 var(--s-3); }
.mock .ca-bar { display: flex; gap: var(--s-3); align-items: center; margin-bottom: var(--s-3); }
.mock .ca-tabs { display: flex; padding: 2px; border-radius: 9px; background: rgba(255,255,255,.05); flex: none; }
.mock .ca-tabs span { padding: 5px 11px; border-radius: 7px; color: var(--m-text-2); white-space: nowrap; }
.mock .ca-tabs .on, .mock .ca-seg .on { background: #9b5fc4; color: #fff; font-weight: 600; }
.mock .ca-search { flex: 1; min-width: 0; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--m-line); color: var(--m-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .ca-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-3); align-items: stretch; }
.mock .ca-list { border: 1px solid var(--m-line); border-radius: 14px; background: rgba(255,255,255,.025); padding: var(--s-3) var(--s-2) var(--s-2); }
.mock .ca-filters { display: flex; gap: 6px; align-items: center; padding: 0 4px; margin-bottom: var(--s-2); }
.mock .ca-chip { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--m-text-2); white-space: nowrap; }
.mock .ca-chip.on { color: var(--m-text); }
.mock .ca-btn { margin-left: auto; padding: 3px 9px; border-radius: 8px; border: 1px solid var(--m-line); color: var(--m-text); font-weight: 600; white-space: nowrap; }
.mock .ca-scope { display: flex; gap: var(--s-3); padding: 0 6px; margin-bottom: var(--s-2); color: var(--m-text-2); font-weight: 600; white-space: nowrap; }
.mock .ca-scope .r { margin-left: auto; }
.mock .ca-proj { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 8px; background: rgba(255,255,255,.04); margin-bottom: 4px; }
.mock .ca-proj .badge { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 8.5px; font-weight: 800; color: #3a2207; background: linear-gradient(145deg, #ffcf86, #f2a33a); }
.mock .ca-proj b { color: #f2b25c; letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; }
.mock .ca-proj .dim { margin-left: auto; }
.mock .ca-row { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; padding: 7px 6px; border-radius: 9px; }
.mock .ca-row.on { background: rgba(217, 119, 75, .28); }
.mock .ca-row .ag-dot { margin-top: 1px; }
.mock .ca-row-top { display: flex; gap: 8px; align-items: baseline; }
.mock .ca-row-top strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .ca-row .when { margin-left: auto; color: var(--m-text-3); font-size: 11.5px; white-space: nowrap; }
.mock .ca-meta { margin-top: 2px; font-family: var(--font-mono); font-size: 10px; color: var(--m-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .ca-seg { display: inline-flex; padding: 2px; border-radius: 9px; background: rgba(255,255,255,.05); margin-bottom: var(--s-3); }
.mock .ca-seg span { padding: 4px 14px; border-radius: 7px; color: var(--m-text-2); }
.mock .ca-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: var(--s-3); }
.mock .ca-stats > div { position: relative; padding: 9px 11px; border-radius: 11px; background: rgba(255,255,255,.04); }
.mock .ca-stats b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; }
.mock .ca-stats span { font-size: 11.5px; color: var(--m-text-2); }
.mock .ca-stats .ok { position: absolute; top: 9px; right: 10px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-style: normal; font-weight: 800; color: #0f2a1d; background: var(--m-green); }
.mock .ca-road { display: block; margin: 0 0 var(--s-2); }
.mock .ca-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.mock .ca-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; }
.mock .ca-steps .n { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--m-text-3); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.mock .ca-step { padding: 8px; border-radius: 11px; background: rgba(255,255,255,.035); }
.mock .ca-prompt { padding: 8px 10px; border-radius: 9px; border: 1px solid var(--m-line); background: rgba(0,0,0,.18); }
.mock .ca-prompt-top { display: flex; justify-content: space-between; margin-bottom: 3px; }
.mock .ca-prompt .cap { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; }
.mock .ca-prompt .cap i { width: 10px; height: 8px; border-radius: 2px 2px 2px 0; background: var(--m-claude); }
.mock .ca-prompt p { margin: 0; line-height: 1.4; }
.mock .ca-reply { margin: 6px 2px 0; color: var(--m-text-2); font-size: 11.5px; }
@media (max-width: 720px) {
  .mock .ca-title { font-size: 20px; }
  .mock .ca-bar { overflow: hidden; }
  .mock .ca-search, .mock .ca-recap, .mock .ca-btn { display: none; }
  .mock .ca-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Projects mockup: overview cards, as in the app ---------- */
.mock .pj { font-size: 12.5px; color: var(--m-text); }
.mock .pj-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); }
.mock .pj-sort { padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--m-text-2); }
.mock .pj-miles { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; margin-bottom: var(--s-3); border-radius: 14px; border: 1px solid var(--m-line); background: rgba(255,255,255,.03); white-space: nowrap; }
.mock .pj-miles .star { color: var(--m-purple); font-size: 15px; }
.mock .pj-miles b { font-size: 13.5px; margin-right: 4px; }
.mock .pj-pill { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.06); font-weight: 600; font-size: 11.5px; }
.mock .pj-open { margin-left: auto; padding: 5px 11px; border-radius: 9px; border: 1px solid var(--m-line); font-weight: 600; }
.mock .pj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.mock .pj-card { padding: 14px 14px 12px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--pc) 30%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--pc) 14%, var(--m-card)), var(--m-card) 70%); }
.mock .pj-head { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.mock .pj-av { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #16121f;
  background: linear-gradient(145deg, color-mix(in srgb, var(--pc) 70%, #fff), var(--pc)); }
.mock .pj-name { display: grid; min-width: 0; line-height: 1.25; }
.mock .pj-name b { font-size: 16px; font-weight: 800; }
.mock .pj-name .mono { font-size: 10.5px; color: var(--m-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .pj-status { padding: 3px 8px; border-radius: 8px; font-size: 10.5px; font-weight: 700; text-align: center; line-height: 1.25; max-width: 92px;
  color: color-mix(in srgb, var(--pc) 60%, #fff); background: color-mix(in srgb, var(--pc) 22%, transparent); }
.mock .pj-prompt { margin: 10px 0 8px; color: var(--m-text-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.mock .pj-stats { display: flex; align-items: flex-end; gap: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--m-line); }
.mock .pj-stats b { display: block; font-size: 20px; font-weight: 800; line-height: 1.1; }
.mock .pj-stats span { font-size: 11px; color: var(--m-text-3); white-space: nowrap; }
.mock .pj-stats .c b { color: color-mix(in srgb, var(--pc) 75%, #fff); }
.mock .pj-bars { margin-left: auto; display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.mock .pj-bars i { width: 6px; height: calc(4px + var(--h) * 7.5px); border-radius: 3px; background: color-mix(in srgb, var(--pc) calc(25% + var(--h) * 18%), rgba(255,255,255,.08)); }
.mock .pj-foot { display: flex; align-items: center; gap: 6px; padding-top: 9px; font-size: 11.5px; }
.mock .pj-foot .mono { color: color-mix(in srgb, var(--pc) 70%, #fff); }
.mock .pj-view { margin-left: auto; font-weight: 700; color: color-mix(in srgb, var(--pc) 70%, #fff); }
@media (max-width: 720px) {
  .mock .pj-miles .pj-pill, .mock .pj-open { display: none; }
  .mock .pj-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Today mockup: "Pick up where you left off" session cards, as in the app ---------- */
.mock .tp-card { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.035); margin-top: var(--s-2); }
.mock .tp-card.tp-card-cold {
  padding: 14px 16px;
  border: 1px solid var(--m-line);
  background: rgba(255, 255, 255, 0.035);
}
.mock .tp-card-cold .tp-head strong { font-size: 15.5px; font-weight: 700; color: #fff; }
.mock .tp-card-cold .tp-head .dim { font-size: 12px; color: var(--m-text-3); }
.mock .tp-cold-say { margin: 10px 0 12px; }
.mock .tp-cold-title { font-size: 13.5px; font-weight: 700; color: #f3f2f8; margin: 0 0 3px; line-height: 1.35; }
.mock .tp-cold-desc { font-size: 12px; color: var(--m-text-2); margin: 0; line-height: 1.45; }
.mock .tp-dual-boxes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 12px 0 14px;
}
.mock .tp-dbox {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--m-line);
}
.mock .tp-dbox.cur { border-color: rgba(245, 158, 11, 0.25); }
.mock .tp-dbox.fresh { border-color: rgba(52, 211, 153, 0.25); }
.mock .tp-dbox-ico { font-size: 16px; line-height: 1.2; }
.mock .tp-dbox.cur .tp-dbox-ico { color: #f59e0b; }
.mock .tp-dbox.fresh .tp-dbox-ico { color: #34d399; }
.mock .tp-dbox-body { flex: 1; min-width: 0; }
.mock .tp-dbox-body .cap {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-text-3);
}
.mock .tp-dbox.fresh .cap { color: #34d399; }
.mock .tp-dbox-num {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 2px 0 3px;
}
.mock .tp-dbox-num.cur {
  background: linear-gradient(90deg, #ffcf4d, #f08a5d 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mock .tp-dbox-num.fresh { color: #6ee7b7; }
.mock .tp-dbox-sub { display: block; font-size: 11px; color: var(--m-text-2); white-space: nowrap; }
.mock .tp-dbox.cur .tp-dbox-sub { color: #f87171; font-weight: 500; }
.mock .tp-dbox-arrow { color: var(--m-text-3); font-size: 16px; }
.mock .tp-dbox-info {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--m-text-3);
  color: var(--m-text-3);
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.mock .tp-handoff-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  color: #ffffff;
  background: linear-gradient(180deg, #a78bfa, #8b5cf6);
  border: none;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.mock .tp-alt-act { margin: 7px 0 10px; text-align: center; font-size: 11.5px; color: var(--m-text-3); }
.mock .tp-alt-link { color: #c4b5fd; text-decoration: none; font-weight: 600; }
.mock .chip-not-pushed {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  margin-inline: 4px;
}
.mock .tp-val { color: var(--m-text); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .muted-btn {
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: #b9b6c6;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.mock .btn-m.tp-resume-btn {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mock .tp-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.mock .tp-head strong { display: block; font-size: 15px; }
.mock .tp-head .dim { font-size: 12px; }
.mock .tp .l2 .ag.codex { background: #2b8f6a; }
.mock .tp-meta { display: inline-flex; gap: 10px; align-self: start; font-size: 12px; font-weight: 600; }
.mock .tp-meta .amber { color: var(--m-amber); } .mock .tp-meta .green { color: var(--m-green); }
.mock .tp-say { margin: 10px 0 8px; display: grid; gap: 1px; }
.mock .tp-say b { font-size: 14px; }
.mock .tp-say span { color: var(--m-text-2); font-size: 12.5px; }
.mock .tp-say.ok b i { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 7px; border-radius: 50%; font-size: 10px; font-style: normal; color: #0f2a1d; background: var(--m-green); vertical-align: -2px; }
.mock .tp-say.ok em { font-style: normal; color: var(--m-green); }
.mock .tp-say.ok span { padding-left: 23px; }
.mock .tp-box { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--m-line); background: rgba(0,0,0,.15); }
.mock .tp-box .ico { color: var(--m-green); padding-top: 2px; }
.mock .tp-box .cap { display: block; font-size: 10.5px; }
.mock .tp-box b { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--m-green); letter-spacing: -0.01em; }
.mock .tp-box div > span:last-child { color: var(--m-text-2); font-size: 12.5px; }
.mock .tp-box .info { position: absolute; top: 10px; right: 10px; width: 15px; height: 15px; border-radius: 50%; border: 1.3px solid var(--m-text-3); color: var(--m-text-3); font-size: 9.5px; font-weight: 700; display: grid; place-items: center; }
.mock .tp-acts { display: flex; justify-content: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--m-line); color: var(--m-purple); font-weight: 600; font-size: 12.5px; }
.mock .tp-acts i { color: var(--m-text-3); font-style: normal; }
.mock .tp-recap { padding-top: 8px; }
.mock .tp-recap-top { display: flex; justify-content: space-between; margin-bottom: 4px; }
.mock .tp-recap .cap { font-size: 10.5px; }
.mock .tp-line { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 8px; padding: 2px 0; font-size: 12.5px; }
.mock .tp-line .k { color: var(--m-purple); white-space: nowrap; }
.mock .tp-line span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock .tp-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.mock .tp-foot .btn-m { margin-left: auto; }
.mock .tp-go { margin-top: 10px; padding: 9px; border-radius: 10px; text-align: center; font-weight: 700; color: #fff; background: #8a6fd4; }
@media (max-width: 720px) {
  .mock .tp-line { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mock .tp-acts { flex-wrap: wrap; } .mock .tp-acts i { display: none; }
  .sb #pane-today .dh-top, .sb #pane-today .dh-stats { display: none; } /* phones: lead with the pick-up card */
  .mock .tp > header .dim { white-space: nowrap; }
}
@media (max-width: 720px) { .bento-sec { padding: var(--s-7) 0; } }
@media (max-width: 1000px) { .icon-grid .b-context, .icon-grid .b-clipboard { grid-column: 1 / -1; grid-row: auto; } }
.cb-stage { position: relative; }
.cb-bubble.cb-float { position: absolute; right: -12px; bottom: -18px; margin: 0; width: 330px; z-index: 2; }
@media (max-width: 720px) { .cb-bubble.cb-float { position: relative; right: auto; bottom: auto; margin: 12px 0 0 auto; width: min(330px, 100%); } }
.cb-float .cb-pill, .cb-float .cb-menu { background: #1c1b24; }
/* From the blog */
.blog-band { padding: var(--s-8) 0; }
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); flex-wrap: wrap; }
.blog-head h2 { margin: 0; }
.blog-all { font-weight: 600; color: var(--accent); white-space: nowrap; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.blog-card { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); border-radius: 18px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shot-shadow); border-color: color-mix(in srgb, var(--c) 35%, transparent); color: var(--text); }
.blog-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.blog-tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: color-mix(in srgb, var(--c) 75%, #000); background: color-mix(in srgb, var(--c) 14%, var(--surface)); }
.blog-card h3 { font-family: var(--font-display); font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; margin: var(--s-1) 0 0; }
.blog-card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.5; flex: 1; }
.blog-meta { font-size: 13px; color: var(--text-3); margin-top: var(--s-2); }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .blog-band { padding: var(--s-7) 0; }
  .blog-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--s-4)); padding: var(--s-1) var(--s-4) var(--s-3); scroll-padding-inline: var(--s-4); }
  .blog-grid::-webkit-scrollbar { display: none; }
  .blog-card { flex: 0 0 78vw; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .blog-card { transition: none; } }
/* "Read more" row at the end of each feature slide */
.read-more { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--border); font-size: 15px; }
.read-more > span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.read-more a { font-weight: 600; color: var(--accent); }
.read-more a:hover { color: var(--accent-hover); }
