/*
 * mcp.recallr-ai.org: Recallr's docs, demos, forum and reviews, in the same Pixel Paper look as recallr-ai.org
 * (src/components/v4/v4.css in the website repo): white paper, ink, white cards, one amber accent, Bricolage Grotesque
 * for headlines and numbers, the system face for text, a mono face for labels, the 3 x 3 pixel mark. Light only, like
 * the site (owner 2026-10-14: "white and orange"). No gradients, no glows, no tilted or blurred words.
 */
@font-face { font-family: "Bricolage Grotesque"; src: url("/static/fonts/BricolageGrotesque-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/static/fonts/BricolageGrotesque-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/static/fonts/BricolageGrotesque-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/static/fonts/BricolageGrotesque-ExtraBold.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #ffffff;
  --mist: #f6f4f0;
  --mist-2: #efece6;
  --card: #ffffff;
  --ink: #141312;
  --ink-2: #5b5751;
  --ink-3: #8e8a84;
  --line: rgb(20 19 18 / 0.08);
  --line-2: rgb(20 19 18 / 0.15);
  --amber: #ff7a1a;
  --amber-ink: #b4530f;
  --amber-soft: rgb(255 122 26 / 0.12);
  --amber-line: rgb(255 122 26 / 0.35);
  --green: #1f9d57;
  --green-soft: rgb(31 157 87 / 0.1);
  --red-ink: #a8431a;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-card: 28px;
  --r-inner: 18px;
  --r-small: 12px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 8vw, 112px);
  --shadow: 0 1px 2px rgb(20 19 18 / 0.04), 0 18px 40px -24px rgb(20 19 18 / 0.18);
  --shadow-float: 0 2px 6px rgb(20 19 18 / 0.06), 0 24px 60px -24px rgb(20 19 18 / 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { max-width: 100%; }
a { color: inherit; }
p a, li a, td a, .link { color: var(--amber-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a:hover, li a:hover, .link:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgb(255 122 26 / 0.22); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- layout and type */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section--mist { background: var(--mist); }
h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}
.h1 { font-size: clamp(42px, 6.2vw, 84px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 800; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; }
.h3 { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.18; font-weight: 650; letter-spacing: -0.015em; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; margin: 0; }
.body { color: var(--ink-2); font-size: 16px; line-height: 1.55; margin: 0; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.muted { color: var(--ink-3); }
.accent { color: var(--amber-ink); }
code, kbd, pre { font-family: var(--mono); }
:not(pre) > code {
  font-size: 0.86em;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 1px 6px;
  color: var(--ink);
  overflow-wrap: anywhere;
}
kbd { font-size: 0.82em; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; background: var(--card); }

/* the section eyebrow: the 3 x 3 cell mark (one cell amber) and a short mono label */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--card);
  color: var(--ink-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
.cells { display: inline-grid; grid-template-columns: repeat(3, 3px); gap: 1.5px; flex: none; }
.cells i { width: 3px; height: 3px; background: var(--ink-3); }
.cells i.on { background: var(--amber); }
.intro { display: grid; justify-items: center; text-align: center; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
.intro--left { justify-items: start; text-align: left; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--ink); color: var(--paper); padding-right: 8px; }
.btn--ink.btn--plain { padding-right: 24px; }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--amber { background: var(--amber); color: #1c0d02; }
.btn--sm { height: 40px; font-size: 14.5px; padding: 0 16px; gap: 8px; }
.btn--ink.btn--sm { padding-right: 6px; }
.btn--danger { background: var(--card); color: var(--red-ink); border-color: rgb(168 67 26 / 0.3); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: default; }
.btn-arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: rgb(255 255 255 / 0.14); transition: transform 0.3s var(--ease); }
.btn--sm .btn-arrow { width: 28px; height: 28px; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.textbtn { border: 0; background: none; padding: 0; font: 600 14px/1.4 var(--text); color: var(--amber-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px var(--gutter) 0; }
.nav-bar {
  max-width: calc(var(--max) + 24px); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  height: 64px; padding: 0 10px 0 12px;
  border-radius: 20px; border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 2px rgb(20 19 18 / 0.04), 0 12px 32px -20px rgb(20 19 18 / 0.25);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { width: 38px; height: 38px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--line); }
.word { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.word em { font-style: normal; color: var(--amber); }
.logo-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-ink); background: var(--amber-soft); border-radius: 6px; padding: 3px 6px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); background: var(--mist); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--mist); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-signin { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav-signin:hover { background: var(--mist); }
.me { position: relative; }
.me > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 4px; border-radius: 999px; }
.me > summary::-webkit-details-marker { display: none; }
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-ink); font: 700 13px/1 var(--display); flex: none; }
.avatar--team { background: var(--ink); color: var(--paper); }
.me-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.me-menu p { margin: 6px 10px 10px; font-size: 13.5px; color: var(--ink-2); }
.me-menu p b { display: block; color: var(--ink); font-size: 15px; }
.me-menu a, .me-menu button { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 10px; border: 0; background: none; font: 500 15px/1.3 var(--text); color: var(--ink); text-decoration: none; cursor: pointer; }
.me-menu a:hover, .me-menu button:hover { background: var(--mist); }
.burger { display: none; }
.burger > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); }
.burger > summary::-webkit-details-marker { display: none; }
.burger-lines { width: 18px; height: 12px; display: grid; align-content: space-between; }
.burger-lines i { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.burger-sheet { position: absolute; left: var(--gutter); right: var(--gutter); top: 84px; padding: 10px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-float); display: grid; gap: 2px; }
.burger-sheet a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--ink); }
.burger-sheet a:hover { background: var(--mist); }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .burger { display: block; }
}
@media (max-width: 520px) {
  .nav-bar { gap: 10px; height: 58px; }
  .word { font-size: 18px; }
  .logo img { width: 34px; height: 34px; }
  .nav-get .label-long { display: none; }
  .nav-signin { padding: 8px 6px; font-size: 14.5px; }
}
@media (max-width: 380px) { .logo-tag { display: none; } }

/* ---------------------------------------------------------------- cards and grids */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.span-12 { grid-column: span 12; } .span-8 { grid-column: span 8; } .span-7 { grid-column: span 7; } .span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; }
@media (max-width: 900px) { .span-8, .span-7, .span-6, .span-5, .span-4 { grid-column: span 12; } .span-3 { grid-column: span 6; } }
@media (max-width: 520px) { .span-3 { grid-column: span 12; } }
.card {
  position: relative; min-width: 0; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(22px, 2.6vw, 34px);
  display: flex; flex-direction: column; gap: 10px;
}
.card--mist { background: var(--mist); border-color: transparent; }
.card--link { text-decoration: none; color: inherit; transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.card--link:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card .h3 + .body { margin-top: 2px; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.icon-tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--amber-soft); color: var(--amber-ink); flex: none; }
.icon-tile svg { width: 22px; height: 22px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font: 600 12.5px/1 var(--text); background: var(--mist); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.tag--amber { background: var(--amber-soft); color: var(--amber-ink); border-color: transparent; }
.tag--green { background: var(--green-soft); color: var(--green); border-color: transparent; }
.tag--ink { background: var(--ink); color: var(--paper); border-color: transparent; }
.notice { border-radius: var(--r-inner); padding: 14px 16px; font-size: 15px; line-height: 1.5; border: 1px solid var(--line); background: var(--mist); color: var(--ink); }
.notice--ok { background: var(--green-soft); border-color: rgb(31 157 87 / 0.25); }
.notice--warn { background: var(--amber-soft); border-color: var(--amber-line); color: #6a2f06; }
.notice p { margin: 0; }
.notice p + p { margin-top: 6px; }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero .h1 { max-width: 11.5em; }
.hl { color: var(--amber-ink); background: rgb(255 122 26 / 0.13); box-shadow: inset 0 0 0 1px rgb(180 83 15 / 0.13); border-radius: 0.17em; padding: 0 0.12em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ctas--center { justify-content: center; margin-top: 18px; }
.urlbox {
  display: flex; align-items: center; gap: 10px; width: 100%; max-width: 520px;
  padding: 8px 8px 8px 16px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card);
}
.urlbox code { all: unset; font-family: var(--mono); font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.urlbox .label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); flex: none; }
.copy {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; flex: none;
  border-radius: 10px; border: 1px solid var(--line-2); background: var(--mist); color: var(--ink);
  font: 600 13px/1 var(--text); cursor: pointer; transition: background-color 0.2s var(--ease);
}
.copy:hover { background: var(--mist-2); }
.copy.is-done { background: var(--green-soft); color: var(--green); border-color: transparent; }
.works { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-3); font-size: 14px; margin: 0; padding: 0; list-style: none; }
.works li { display: inline-flex; align-items: center; gap: 7px; }
.works li::before { content: ""; width: 6px; height: 6px; background: var(--amber); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero .h1 { max-width: none; } }

/* ---------------------------------------------------------------- stats */
.stats-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.stat { grid-column: span 3; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-inner); padding: 22px 22px 20px; display: grid; gap: 6px; align-content: start; }
.stat--wide { grid-column: span 6; }
.stat--hero { grid-column: span 6; grid-row: span 2; padding: 28px; border-radius: var(--r-card); }
.stat-n { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat--hero .stat-n { font-size: clamp(56px, 7vw, 96px); }
.stat-l { font-weight: 650; font-size: 15.5px; color: var(--ink); }
.stat-d { font-size: 14px; color: var(--ink-2); line-height: 1.45; margin: 0; }
.stat .mono { color: var(--ink-3); font-size: 11px; }
.stat-cells { display: grid; grid-template-columns: repeat(auto-fill, 9px); gap: 3px; margin-top: 10px; }
.stat-cells i { width: 9px; height: 9px; background: var(--line-2); }
.stat-cells i.on { background: var(--amber); }
.stat-cells i.half { background: rgb(255 122 26 / 0.38); }
.spark { width: 100%; height: 86px; display: block; margin-top: 8px; }
.spark rect { fill: rgb(255 122 26 / 0.3); }
.spark rect.now { fill: var(--amber); }
.mix { display: flex; height: 14px; border-radius: 4px; overflow: hidden; margin-top: 12px; gap: 2px; }
.mix i { display: block; height: 100%; background: var(--amber); }
.mix i:nth-child(2) { background: rgb(255 122 26 / 0.7); } .mix i:nth-child(3) { background: rgb(255 122 26 / 0.5); }
.mix i:nth-child(4) { background: rgb(255 122 26 / 0.34); } .mix i:nth-child(5) { background: rgb(20 19 18 / 0.5); }
.mix i:nth-child(6) { background: rgb(20 19 18 / 0.32); } .mix i:nth-child(n+7) { background: rgb(20 19 18 / 0.16); }
.mix-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.mix-legend li { display: inline-flex; align-items: center; gap: 6px; }
.mix-legend b { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 650; }
.kinds { display: grid; gap: 8px; margin-top: 10px; }
.kind { display: grid; grid-template-columns: 112px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.kind-bar { height: 8px; border-radius: 3px; background: var(--mist); overflow: hidden; }
.kind-bar i { display: block; height: 100%; background: var(--amber); border-radius: 3px; }
.kind b { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 650; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.stats-foot { margin: 18px 4px 0; font-size: 13px; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 1000px) { .stat { grid-column: span 6; } .stat--hero, .stat--wide { grid-column: span 12; } .stat--hero { grid-row: auto; } }
@media (max-width: 520px) { .stat { grid-column: span 12; } .kind { grid-template-columns: 96px 1fr auto; } }

/* ---------------------------------------------------------------- tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 16px; background: var(--mist); width: fit-content; max-width: 100%; }
.tabs [role="tab"] {
  border: 0; background: none; cursor: pointer; padding: 10px 16px; border-radius: 12px;
  font: 600 14.5px/1.2 var(--text); color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px;
}
.tabs [role="tab"][aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgb(20 19 18 / 0.08), inset 0 0 0 1px var(--line); }
.tabs [role="tab"] .n { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.tabpanel[hidden] { display: none; }
.tabpanel { margin-top: 22px; }

/* ---------------------------------------------------------------- demos */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.demo-side { display: grid; gap: 14px; }
.demo-video { border-radius: var(--r-card); overflow: hidden; background: var(--mist); border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.demo-video video { width: 100%; height: 100%; display: block; object-fit: cover; background: var(--mist); }
.demo-copy h3 { margin-bottom: 6px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: s; }
.steps li { position: relative; padding-left: 38px; color: var(--ink-2); font-size: 15.5px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 8px; background: var(--card); border: 1px solid var(--line-2); font: 600 12.5px/24px var(--mono); text-align: center; color: var(--ink); }
.steps li b { color: var(--ink); }
@media (max-width: 980px) { .demo { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- code blocks */
.code { position: relative; border-radius: var(--r-inner); background: #151413; color: #ece8e2; border: 1px solid #2a2724; margin: 16px 0; }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 16px; border-bottom: 1px solid #2a2724; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #a29c95; }
.code .copy { background: #24211f; color: #ece8e2; border-color: #3a3632; height: 30px; }
.code .copy.is-done { background: rgb(108 192 143 / 0.15); color: #6cc08f; }
.code .k { color: #ffb37a; } .code .s { color: #a8d4a0; } .code .c { color: #8e8780; }

/* ---------------------------------------------------------------- docs */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr) 200px; gap: clamp(24px, 3vw, 48px); padding-top: 32px; padding-bottom: 96px; align-items: start; }
.docs-nav { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow: auto; padding: 4px 4px 24px 0; }
.docs-search { position: relative; margin-bottom: 18px; }
.docs-search input { width: 100%; height: 42px; padding: 0 42px 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); font: 15px var(--text); color: var(--ink); }
.docs-search input:focus { outline: none; border-color: var(--amber); }
.docs-search kbd { position: absolute; right: 10px; top: 10px; }
.docs-results { position: absolute; left: 0; right: 0; top: 48px; z-index: 20; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-float); padding: 6px; display: grid; gap: 2px; max-height: 60vh; overflow: auto; }
.docs-results[hidden] { display: none; }
.docs-results a { display: block; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 14.5px; }
.docs-results a small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.docs-results a:hover, .docs-results a.is-active { background: var(--mist); }
.docs-results p { margin: 8px 10px; font-size: 14px; color: var(--ink-3); }
.docs-group { margin-bottom: 20px; }
.docs-group h2 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 0 0 8px 10px; }
.docs-group a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; line-height: 1.35; }
.docs-group a:hover { color: var(--ink); background: var(--mist); }
.docs-group a[aria-current="page"] { color: var(--ink); background: var(--amber-soft); font-weight: 600; }
.doc { min-width: 0; }
.doc-crumb { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.doc h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 14px; }
.doc .doc-lede { font-size: 19px; color: var(--ink-2); margin: 0 0 28px; line-height: 1.55; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; letter-spacing: -0.02em; scroll-margin-top: 96px; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; font-weight: 650; scroll-margin-top: 96px; }
.doc h2 a.anchor, .doc h3 a.anchor { color: var(--ink-3); text-decoration: none; margin-left: 8px; opacity: 0; font-weight: 500; }
.doc h2:hover a.anchor, .doc h3:hover a.anchor, .doc a.anchor:focus { opacity: 1; }
.doc p, .doc li { color: #2d2a27; font-size: 16.5px; line-height: 1.65; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 16px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--ink-3); }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.doc td code { white-space: nowrap; }
.doc .callout { border-radius: var(--r-inner); border: 1px solid var(--line); background: var(--mist); padding: 14px 16px 2px; margin: 18px 0; }
.doc .callout--amber { background: var(--amber-soft); border-color: var(--amber-line); }
.doc .callout b:first-child { display: block; margin-bottom: 4px; }
.doc .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.doc .grid2 a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-inner); text-decoration: none; color: var(--ink); background: var(--card); transition: border-color 0.2s var(--ease); }
.doc .grid2 a:hover { border-color: var(--amber-line); }
.doc .grid2 a b { display: block; font-size: 16px; margin-bottom: 4px; }
.doc .grid2 a span { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; display: block; }
.doc .demo-inline { margin: 18px 0; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.prevnext a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-inner); text-decoration: none; color: var(--ink); }
.prevnext a:hover { border-color: var(--line-2); background: var(--mist); }
.prevnext a small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.prevnext .next { text-align: right; grid-column: 2; }
.doc-help { margin-top: 28px; font-size: 14.5px; color: var(--ink-3); }
.toc { position: sticky; top: 96px; font-size: 13.5px; }
.toc h2 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 0 0 10px; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--amber); }
.toc a.sub { padding-left: 24px; }
.docs-mobile-nav { display: none; margin-bottom: 18px; }
.docs-mobile-nav summary { cursor: pointer; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.docs-mobile-nav summary::-webkit-details-marker { display: none; }
@media (max-width: 1180px) { .docs { grid-template-columns: 230px minmax(0, 1fr); } .toc { display: none; } }
@media (max-width: 860px) {
  .docs { grid-template-columns: 1fr; padding-top: 20px; }
  .docs-nav { display: none; }
  .docs-mobile-nav { display: block; }
  .docs-mobile-nav .docs-nav { display: block; position: static; max-height: none; padding-top: 14px; }
  .doc .grid2 { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- forum */
.forum { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding-top: 28px; padding-bottom: 96px; align-items: start; }
.forum-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.cats { display: grid; gap: 2px; }
.cats a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.cats a:hover { background: var(--mist); color: var(--ink); }
.cats a[aria-current="page"] { background: var(--amber-soft); color: var(--ink); font-weight: 650; }
.cats a .count { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.cat-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--ink-3); }
.cat-dot[data-cat="announcements"] { background: var(--amber); }
.cat-dot[data-cat="getting-started"] { background: #2f7de1; }
.cat-dot[data-cat="mcp"] { background: var(--ink); }
.cat-dot[data-cat="show-and-tell"] { background: #c2410c; }
.cat-dot[data-cat="feature-requests"] { background: var(--green); }
.cat-dot[data-cat="help"] { background: #7c5cd6; }
.forum-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.forum-head h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.forum-head p { margin: 8px 0 0; color: var(--ink-2); }
.searchbar { display: flex; gap: 8px; margin-bottom: 16px; }
.searchbar input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); font: 15.5px var(--text); color: var(--ink); }
.searchbar input:focus { outline: none; border-color: var(--amber); }
.threads { border: 1px solid var(--line); border-radius: var(--r-inner); overflow: hidden; background: var(--card); }
.trow { display: grid; grid-template-columns: minmax(0, 1fr) 90px 120px; gap: 16px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; transition: background-color 0.2s var(--ease); }
.trow:first-child { border-top: 0; }
.trow:hover { background: #fcfbf9; }
.trow-title { font-weight: 650; font-size: 16.5px; color: var(--ink); line-height: 1.35; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trow-meta { margin-top: 5px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13.5px; color: var(--ink-3); }
.trow-meta .cat { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.trow-num { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 14px; }
.trow-num b { display: block; color: var(--ink); font-size: 16px; }
.trow-when { text-align: right; font-size: 13.5px; color: var(--ink-3); }
.badge-pin, .badge-lock, .badge-hidden { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; font: 600 11.5px/1 var(--text); }
.badge-pin { background: var(--amber-soft); color: var(--amber-ink); }
.badge-lock { background: var(--mist); color: var(--ink-2); border: 1px solid var(--line); }
.badge-hidden { background: #fbe9e2; color: var(--red-ink); }
.badge-team { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--ink); color: var(--paper); font: 600 11px/1 var(--mono); letter-spacing: 0.04em; }
.empty { padding: 48px 20px; text-align: center; color: var(--ink-2); }
.empty b { display: block; font-family: var(--display); font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.pager { display: flex; justify-content: space-between; margin-top: 16px; }
@media (max-width: 860px) {
  .forum { grid-template-columns: 1fr; }
  .forum-side { position: static; }
  .forum-side > .card { display: none; }
  .cats { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 4px; }
  .trow { grid-template-columns: minmax(0, 1fr) auto; }
  .trow-when { display: none; }
}

/* a thread */
.post { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.post:first-of-type { border-top: 0; }
.post .avatar { width: 44px; height: 44px; font-size: 15px; }
.post-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--ink-3); }
.post-head b { color: var(--ink); font-size: 15.5px; }
.post-body { margin-top: 8px; font-size: 16px; line-height: 1.65; color: #2d2a27; overflow-wrap: anywhere; }
.post-body p { margin: 0 0 12px; }
.post-body ul, .post-body ol { margin: 0 0 12px; padding-left: 22px; }
.post-body blockquote { margin: 0 0 12px; padding: 4px 0 4px 14px; border-left: 3px solid var(--amber-line); color: var(--ink-2); }
.post-body pre { background: #151413; color: #ece8e2; border-radius: 12px; padding: 12px 14px; overflow-x: auto; font-size: 13.5px; margin: 0 0 12px; }
.post-body a { color: var(--amber-ink); }
.post-body h3, .post-body h4 { font-size: 18px; margin: 18px 0 8px; }
.post-actions { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.react { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font: 600 13px/1 var(--text); color: var(--ink-2); cursor: pointer; }
.react svg { width: 15px; height: 15px; }
.react:hover { border-color: var(--ink-3); color: var(--ink); }
.react[aria-pressed="true"] { background: var(--amber-soft); border-color: var(--amber-line); color: var(--amber-ink); }
.react b { font-variant-numeric: tabular-nums; }
.inline-form { display: inline; margin: 0; }
.post-tools { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.minibtn { height: 30px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); color: var(--ink-3); font: 500 12.5px/1 var(--text); cursor: pointer; }
.minibtn:hover { color: var(--ink); border-color: var(--line-2); }
.post.is-hidden { opacity: 0.55; }
.thread-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.thread-head h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; margin: 10px 0 10px; }
.mod-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 10px; border-radius: 14px; background: var(--mist); }
.mod-bar .mono { color: var(--ink-3); align-self: center; margin-right: 4px; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 650; font-size: 14.5px; color: var(--ink); padding: 0; }
.field .hint { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.input, .textarea, .select {
  width: 100%; font: 16px/1.5 var(--text); color: var(--ink); background: var(--card);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 14px;
}
.textarea { min-height: 180px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgb(255 122 26 / 0.15); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b5751' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 3vw, 32px); }
.composer-tabs { display: flex; gap: 4px; }
.composer-tabs button { border: 0; background: none; padding: 6px 10px; border-radius: 8px; font: 600 13px/1 var(--text); color: var(--ink-3); cursor: pointer; }
.composer-tabs button[aria-pressed="true"] { background: var(--mist); color: var(--ink); }
.preview { min-height: 180px; border: 1px dashed var(--line-2); border-radius: 14px; padding: 12px 14px; }
.starpick { display: flex; gap: 6px; align-items: center; }
.starpick input { position: absolute; opacity: 0; pointer-events: none; }
.starpick label { cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; }
.starpick label svg { width: 26px; height: 26px; fill: var(--line-2); transition: fill 0.15s; }
.starpick input:focus-visible + label { outline: 2px solid var(--amber); }
.starpick[data-value] label svg { fill: var(--line-2); }
.starpick[data-value="1"] label:nth-of-type(-n+1) svg, .starpick[data-value="2"] label:nth-of-type(-n+2) svg,
.starpick[data-value="3"] label:nth-of-type(-n+3) svg, .starpick[data-value="4"] label:nth-of-type(-n+4) svg,
.starpick[data-value="5"] label:nth-of-type(-n+5) svg { fill: var(--amber); }
.err { color: var(--red-ink); font-size: 14px; margin: 0; }

/* sign in */
.auth { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 40px 0 80px; }
.auth .form-card { width: min(100%, 440px); }
.auth h1 { font-size: 30px; letter-spacing: -0.025em; font-weight: 800; margin-bottom: 6px; }
.auth .lede { font-size: 16px; margin-bottom: 18px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 12px; margin: 4px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social { display: grid; gap: 8px; }
.social .btn { width: 100%; }

/* ---------------------------------------------------------------- reviews */
.rv-summary { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.rv-score { font-family: var(--display); font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -0.04em; }
.stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.stars svg { width: 16px; height: 16px; fill: var(--line-2); }
.stars svg.on { fill: var(--amber); }
.stars--lg svg { width: 22px; height: 22px; }
.dist { display: grid; gap: 6px; }
.dist-row { display: grid; grid-template-columns: 52px 1fr 40px; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.dist-bar { height: 8px; background: var(--mist); border-radius: 4px; overflow: hidden; }
.dist-bar i { display: block; height: 100%; background: var(--amber); }
.reviews { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-inner); padding: 20px; display: grid; gap: 12px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }
.review footer { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-3); }
.review footer b { display: block; color: var(--ink); font-size: 15px; }
.review-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between; }
.example { break-inside: avoid; margin: 0 0 16px; border: 1px dashed var(--line-2); border-radius: var(--r-inner); padding: 20px; display: grid; gap: 10px; background: var(--card); }
.example h3 { font-size: 18px; }
.example p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.example-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-ink); background: var(--amber-soft); padding: 4px 8px; border-radius: 6px; width: fit-content; }
@media (max-width: 760px) { .rv-summary { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- moderation */
.modlist { display: grid; gap: 12px; }
.moditem { border: 1px solid var(--line); border-radius: var(--r-inner); padding: 16px; display: grid; gap: 8px; background: var(--card); }
.moditem .mono { color: var(--ink-3); }
.moditem p { margin: 0; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
.moditem .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: baseline; padding: 18px 2px; font-weight: 650; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .mono { color: var(--ink-3); flex: none; }
.qa summary::after { content: "+"; margin-left: auto; font: 500 22px/1 var(--text); color: var(--ink-3); transition: transform 0.25s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa div { padding: 0 2px 18px 38px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.qa div p { margin: 0 0 10px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .qa div { padding-left: 2px; } }

/* ---------------------------------------------------------------- closing + footer */
.closing { border-radius: var(--r-card); border: 1px solid var(--line-2); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; overflow: hidden; position: relative; }
.closing h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; }
.closing .lede { margin: 16px 0 26px; }
.closing-art { position: relative; height: 260px; display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; align-content: center; }
.closing-art i { aspect-ratio: 1; background: rgb(20 19 18 / 0.05); transition: background-color 0.6s; }
.closing-art i.on { background: var(--amber); }
.closing-art i.half { background: rgb(255 122 26 / 0.38); }
@media (max-width: 860px) { .closing { grid-template-columns: 1fr; } .closing-art { height: 160px; } }
.ft { padding: clamp(56px, 7vw, 96px) 0 28px; border-top: 1px solid var(--line); background: var(--paper); }
.ft-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); }
.ft-tag { margin: 14px 0 0; max-width: 340px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.ft-mail { display: inline-grid; gap: 4px; margin-top: 24px; padding: 14px 18px; border-radius: var(--r-inner); background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.ft-mail span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ft-col { display: grid; align-content: start; gap: 10px; }
.ft-col h2 { margin: 0 0 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.ft-col a { width: fit-content; font-size: 15px; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.ft-col a:hover { color: var(--ink); }
.ft-word { margin-top: clamp(48px, 7vw, 96px); font-family: var(--display); font-weight: 700; font-size: clamp(64px, 17vw, 228px); line-height: 0.8; letter-spacing: -0.055em; white-space: nowrap; user-select: none; color: var(--ink); overflow: hidden; }
.ft-word em { font-style: normal; color: var(--amber); }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font: 12px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--ink-3); }
@media (max-width: 900px) { .ft-top { grid-template-columns: 1fr; } .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }

/* ---------------------------------------------------------------- page heads for inner pages */
.pagehead { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.pagehead .h2 { margin-top: 16px; }
.pagehead .lede { margin-top: 14px; }

/* reveal on scroll: visible at rest; JS adds .js, then lifts each block in once */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------------- additions for the pages in src/site (2026-10-16) */
.center { text-align: center; }
.hint { font-size: 13.5px; color: var(--ink-3); margin: 0; }
/* bars drawn as SVG (the CSP allows no inline styles) */
svg.hbar { width: 100%; height: 8px; display: block; }
svg.hbar .bg { fill: var(--mist-2); }
svg.hbar .fg { fill: var(--amber); }
svg.mix { width: 100%; height: 14px; display: block; margin-top: 12px; border-radius: 4px; }
.mix rect.m1, .sw.m1 { fill: var(--amber); background: var(--amber); }
.mix rect.m2, .sw.m2 { fill: rgb(255 122 26 / 0.7); background: rgb(255 122 26 / 0.7); }
.mix rect.m3, .sw.m3 { fill: rgb(255 122 26 / 0.48); background: rgb(255 122 26 / 0.48); }
.mix rect.m4, .sw.m4 { fill: rgb(255 122 26 / 0.3); background: rgb(255 122 26 / 0.3); }
.mix rect.m5, .sw.m5 { fill: rgb(20 19 18 / 0.55); background: rgb(20 19 18 / 0.55); }
.mix rect.m6, .sw.m6 { fill: rgb(20 19 18 / 0.32); background: rgb(20 19 18 / 0.32); }
.mix rect.m7, .sw.m7 { fill: rgb(20 19 18 / 0.14); background: rgb(20 19 18 / 0.14); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; flex: none; }
.kind svg.hbar { height: 8px; }

/* the live strip under the hero */
.strip { border-block: 1px solid var(--line); background: var(--mist); }
.strip-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 16px; align-items: center; padding-block: 22px; }
.strip-row > div { display: grid; gap: 4px; }
.strip-row .stat-n { font-size: clamp(26px, 2.6vw, 36px); }
.strip-row span:not(.stat-n) { font-size: 13.5px; color: var(--ink-2); }
.strip-link { font-size: 14px; white-space: nowrap; }
@media (max-width: 860px) { .strip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip-link { grid-column: span 2; } }

/* home sections */
.trust { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding: 18px 20px; border-radius: var(--r-inner); background: var(--mist); }
.trust .body b { color: var(--ink); }
.tabs--center { margin-inline: auto; }
.connect-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.connect-panel .urlbox { max-width: none; }
@media (max-width: 900px) { .connect-panel { grid-template-columns: 1fr; } }
.doclinks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.doclinks a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 550; }
.doclinks a:hover { color: var(--amber-ink); }
.card .threads { margin-top: 10px; }
.faq-list { display: grid; }
.closing h2 { margin-top: 16px; }

/* reviews */
.review-body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.review-by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.review-by > span:nth-child(2) { display: grid; }
.review-by b { color: var(--ink); font-size: 15px; }
.review-by .tag { margin-left: auto; }
.review-by .tag svg { width: 12px; height: 12px; }
.review-feature { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.rv-summary { margin-bottom: 28px; }
.rv-score { display: grid; gap: 10px; justify-items: start; font-size: inherit; letter-spacing: normal; }
.rv-score .stat-n { font-size: 72px; }
.dist-row svg:not(.hbar) { width: 14px; height: 14px; fill: var(--amber); }
.dist-row { grid-template-columns: 14px 16px 1fr 32px; }
.examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.examples .example { margin: 0; }
@media (max-width: 760px) { .examples { grid-template-columns: 1fr; } }
.rv-write .card-foot { gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.starpick legend { font-weight: 650; font-size: 14.5px; margin-bottom: 6px; width: 100%; }
.starpick { flex-wrap: wrap; flex-direction: row-reverse; justify-content: flex-end; }
.starpick legend { order: 1; }
.starpick label:hover svg, .starpick label:hover ~ label svg, .starpick input:checked ~ label svg { fill: var(--amber); }

/* sign in */
.auth-card { display: grid; gap: 16px; }
.auth-head { display: grid; gap: 10px; justify-items: start; }
.auth-foot { margin-top: 4px; }
.auth .err { padding: 10px 12px; border-radius: 12px; background: #fbe9e2; }

/* moderation */
.mod-h { margin: 36px 0 12px; display: flex; gap: 10px; align-items: baseline; }
.moditem { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.moditem.is-hidden { opacity: 0.6; }
.minibtn.danger { color: var(--red-ink); border-color: rgb(168 67 26 / 0.3); }
.modlog { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 600px) { .moditem { grid-template-columns: 1fr; } }
.faq-list .qa div { padding-left: 2px; }

.auth .wrap--narrow { display: grid; justify-items: center; }
.card-foot code { font-size: 12px; overflow-wrap: anywhere; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy > * { max-width: 100%; }
.urlbox code { min-width: 0; }
.hero-copy { grid-template-columns: minmax(0, 1fr); }
.nav-signin { white-space: nowrap; }
@media (max-width: 400px) { .nav-get { display: none; } }

/* ================================================================ 2026-11-05 redesign (home), in recallr-ai.org's language:
   page rails, numbered nav, the orange pixel sky behind real product films, mono kickers, bento tiles, live numbers.
   Motion: GSAP in site.js (transforms and opacity only); everything here reads at rest and with Reduce Motion. */
.nav-n { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.02em; color: var(--amber-ink); margin-right: 6px; }
.burger-sheet .nav-n { display: none; }
.home main { position: relative; }
.home main::before, .home main::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none; z-index: 0; }
.home main::before { left: max(var(--gutter), calc(50% - var(--max) / 2 - 24px)); }
.home main::after { right: max(var(--gutter), calc(50% - var(--max) / 2 - 24px)); }
@media (max-width: 700px) { .home main::before, .home main::after { display: none; } }
.x-sec { position: relative; padding-block: var(--section); }
.x-sec + .x-sec { border-top: 1px solid var(--line); }
.x-sec + .x-sec::before { content: "+"; position: absolute; top: -0.72em; left: max(var(--gutter), calc(50% - var(--max) / 2 - 24px)); transform: translateX(-50%); font: 400 15px/1 var(--mono); color: var(--ink-3); background: var(--paper); padding: 0 2px; }
.x-sec--mist { background: var(--mist); }
.x-sec--mist + .x-sec::before, .x-sec--mist::before { background: transparent; }
.x-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 4.5vw, 56px); }
.x-head .h2 { margin-top: 18px; max-width: 12em; }
.x-head .lede { justify-self: end; max-width: 30em; }
@media (max-width: 900px) { .x-head { grid-template-columns: 1fr; } .x-head .lede { justify-self: start; } }

/* hero */
.x-hero { position: relative; padding-top: clamp(32px, 4.6vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.x-hero-top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px clamp(32px, 5vw, 80px); align-items: end; }
.x-hero-copy { display: grid; gap: 22px; justify-items: start; }
.x-h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: 0.95; letter-spacing: -0.046em; max-width: 11em; }
.x-h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.x-h1 .w > span { display: inline-block; will-change: transform; }
.x-hero-side { display: grid; gap: 18px; padding-bottom: 6px; min-width: 0; }
.x-hero-side .urlbox { max-width: 100%; width: 100%; }
.x-hero-side .ctas { justify-content: flex-start; }
@media (max-width: 980px) { .x-hero-top { grid-template-columns: minmax(0, 1fr); } .x-h1 { max-width: none; } }

/* the orange pixel sky with a real film in front */
.x-stage { position: relative; z-index: 1; overflow: hidden; border-radius: var(--r-card); background: var(--amber); isolation: isolate; }
.x-field { position: absolute; left: 0; top: 0; z-index: 0; image-rendering: pixelated; image-rendering: crisp-edges; display: block; pointer-events: none; }
.x-stage--hero { margin-top: clamp(28px, 3.6vw, 48px); padding: clamp(64px, 6vw, 80px) clamp(14px, 6vw, 96px) clamp(76px, 7vw, 92px); }
.x-stage-tag { position: absolute; z-index: 2; left: clamp(14px, 2vw, 28px); top: clamp(14px, 2vw, 26px); display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--card); color: var(--ink); font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 0 1px 2px rgb(20 19 18 / 0.08); }
.x-stage-cta { position: absolute; z-index: 2; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 24px); display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font: 600 14.5px/1 var(--text); transition: transform 0.25s var(--ease); }
.x-stage-cta span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: rgb(255 255 255 / 0.14); }
.x-stage-cta svg { width: 15px; height: 15px; }
.x-stage-cta:hover { transform: translateY(-2px); }
.x-window { position: relative; z-index: 1; margin: 0 auto; max-width: 1100px; border-radius: 16px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10;
  box-shadow: 0 0 0 1px rgb(20 19 18 / 0.14), 0 2px 6px rgb(60 24 0 / 0.12), 0 40px 90px -36px rgb(70 26 0 / 0.6); }
.x-window video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.x-stage-ascii { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; }
@media (max-width: 700px) {
  .x-stage--hero { padding: 62px 12px 66px; border-radius: 22px; }
  .urlbox .label { display: none; }
  .urlbox code { font-size: 13px; }
  .x-window { border-radius: 10px; }
  .x-stage-tag { height: 30px; font-size: 10.5px; padding: 0 12px; }
  .x-stage-cta { display: none; }
  .x-stage--hero { padding-bottom: 40px; }
}

/* the live ticker under the hero */
.x-ticker { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; margin-top: 20px; padding: 16px 20px; border-radius: var(--r-inner); border: 1px solid var(--line); background: var(--card); }
.x-tk { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink-2); font-size: 14px; }
.x-tk-n { font-family: var(--display); font-weight: 750; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.x-tk-link { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.x-tk-link:hover { color: var(--amber-ink); }
.x-live { display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.x-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.x-live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--green); opacity: 0; animation: x-ping 2.2s var(--ease) infinite; }
@keyframes x-ping { 0% { transform: scale(0.5); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 700px) { .x-ticker { gap: 10px 18px; } .x-tk-link { margin-left: 0; } }
.x-works { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--ink-3); font: 500 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.x-works li { display: inline-flex; align-items: center; gap: 8px; }
.x-works li::before { content: ""; width: 5px; height: 5px; background: var(--amber); }

/* use cases: the list and the film */
.x-uc { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.x-uc-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.x-uc-list li { border-bottom: 1px solid var(--line); }
.x-uc-item { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; width: 100%; padding: 20px 6px 22px 2px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink-3); font: inherit; }
.x-uc-n { font: 500 12px/1.9 var(--mono); color: var(--ink-3); }
.x-uc-text { display: grid; gap: 8px; min-width: 0; }
.x-uc-text b { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink-3); transition: color 0.3s var(--ease); }
.x-uc-text > span:not(.x-uc-tools) { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.x-uc-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.x-uc-tools code { font-size: 12px; }
.x-uc-item:hover b, .x-uc-item[aria-selected="true"] b { color: var(--ink); }
.x-uc-item[aria-selected="true"] .x-uc-n { color: var(--amber-ink); }
.js .x-uc-item[aria-selected="false"] .x-uc-text > span { display: none; }
.x-uc-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.x-uc-bar i { display: block; height: 100%; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; }
.x-uc-item[aria-selected="false"] .x-uc-bar i { transform: scaleX(0) !important; }
.x-uc-stage { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--amber); padding: clamp(14px, 3vw, 40px); isolation: isolate; }
.x-uc-panel { position: relative; z-index: 1; }
.x-uc-panel[hidden] { display: none; }
.x-more { position: relative; z-index: 1; margin-top: 14px; }
.x-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--card); font: 600 13.5px/1 var(--text); color: var(--ink); }
.x-more summary::-webkit-details-marker { display: none; }
.x-more summary::after { content: "+"; font: 500 17px/1 var(--text); color: var(--ink-3); }
.x-more[open] summary::after { content: "−"; }
.x-tr { list-style: none; margin: 12px 0 0; padding: 18px 20px; border-radius: var(--r-inner); background: var(--card); display: grid; gap: 14px; }
.x-tr li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.x-tr li p { margin: 0 0 6px; }
.x-tr .mono { color: var(--ink-3); font-size: 11px; padding-top: 3px; }
.x-tr-you p { color: var(--ink); font-weight: 600; }
.x-tr-tool code { font-size: 12.5px; }
.x-note { margin: 20px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink-3); max-width: 64em; }
@media (max-width: 980px) { .x-uc { grid-template-columns: minmax(0, 1fr); } .x-uc-list { order: 2; } .x-uc-stage { order: 1; } }
@media (max-width: 600px) { .x-tr li { grid-template-columns: 1fr; gap: 2px; } }

/* tools */
.x-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.x-tool-col { display: grid; align-content: start; gap: 10px; }
.x-tool-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 8px; }
.x-tool-head .h3 { flex: 1; }
.x-tool { position: relative; display: grid; gap: 6px; padding: 18px 18px 16px; border-radius: var(--r-inner); background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.x-tool:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.x-tool code { justify-self: start; font-size: 12.5px; }
.x-tool b { font-family: var(--display); font-weight: 650; font-size: 17.5px; letter-spacing: -0.012em; padding-right: 76px; }
.x-tool span { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.x-tool .tag { position: absolute; right: 14px; top: 14px; font-style: normal; height: 24px; font-size: 12px; }
@media (max-width: 1000px) { .x-tools { grid-template-columns: minmax(0, 1fr); } }

/* live stats */
.x-stats .stat { grid-column: auto; border-radius: 22px; }
.x-stats > .span-8 { grid-column: span 8; } .x-stats > .span-6 { grid-column: span 6; } .x-stats > .span-4 { grid-column: span 4; } .x-stats > .span-3 { grid-column: span 3; }
.x-stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.x-stat-hero { padding: clamp(24px, 3vw, 36px); gap: 12px; }
.x-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.x-big { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 6px 16px; }
.x-big-n { font-size: clamp(64px, 10vw, 152px) !important; line-height: 0.88 !important; letter-spacing: -0.055em !important; }
.x-delta { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font: 600 14px/1 var(--mono); opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); margin-top: 8px; }
.x-delta.is-on { opacity: 1; transform: none; }
.x-today { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
.x-today b { font: 750 22px/1 var(--display); color: var(--amber-ink); letter-spacing: -0.02em; }
.x-cells { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 4px; margin-top: 6px; }
.x-cells i { aspect-ratio: 1; background: var(--mist-2); border-radius: 1px; }
.x-cells i.on { background: var(--amber); }
.x-cells i.new { background: var(--ink); }
.x-inline-n { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.x-stats .stat-n { font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .x-stats > .span-8, .x-stats > .span-6, .x-stats > .span-4 { grid-column: span 12; } .x-stats > .span-3 { grid-column: span 6; } .x-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .x-stats > .span-3 { grid-column: span 12; } .x-stack { grid-template-columns: minmax(0, 1fr); } .x-cells { grid-template-columns: repeat(16, minmax(0, 1fr)); } .x-cells i:nth-child(n+81) { display: none; } }

/* motion hooks: nothing is hidden unless GSAP is running (html.has-motion), and never with Reduce Motion */
@media (prefers-reduced-motion: no-preference) {
  .has-motion [data-rise], .has-motion [data-tile] { visibility: hidden; }
  .has-motion .x-h1[data-split] { visibility: hidden; }
  .has-motion .x-h1.is-split { visibility: visible; }
}
