/* ==========================================================================
   agno docs — dark, content-first theme
   ========================================================================== */

:root {
  --bg: #07080b;
  --bg-soft: #0a0c11;
  --panel: #0e1117;
  --panel-2: #12161e;
  --panel-3: #171c26;
  --text: #e9ecf3;
  --text-soft: #c3c9d6;
  --muted: #98a1b3;
  --faint: #6d7688;
  --line: #1c222d;
  --line-strong: #2a3341;
  --accent: #7ee2b8;
  --accent-strong: #4fd3a0;
  --accent-soft: rgba(126, 226, 184, 0.12);
  --accent-line: rgba(126, 226, 184, 0.32);
  --amber: #f0bd7c;
  --violet: #b4a2ff;
  --danger: #f28b82;
  --code-bg: #0a0d13;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 13px;
  --radius-sm: 8px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --topbar: 64px;
  --max: 1540px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-locked { overflow: hidden; }

::selection { background: rgba(126, 226, 184, 0.28); color: #fff; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #a7f0d2; }

img, svg { max-width: 100%; }
img { height: auto; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--panel-2);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

/* Background layers ------------------------------------------------------- */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 15%, transparent 72%);
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(720px 420px at 76% -8%, rgba(126, 226, 184, 0.12), transparent 65%),
    radial-gradient(680px 500px at 12% 4%, rgba(104, 125, 255, 0.08), transparent 68%),
    var(--bg);
}

/* Topbar ------------------------------------------------------------------ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--topbar);
  border-bottom: 1px solid transparent;
  background: rgba(7, 8, 11, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.topbar.scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 8, 11, 0.9);
}

.topbar-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.02em;
  flex: none;
}
.brand:hover { color: var(--text); }
.brand-mark {
  display: grid;
  place-items: center;
  color: var(--accent);
  width: 26px;
  height: 26px;
}
.brand-name { font-size: 1.14rem; }
.brand-tag {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.14rem 0.42rem;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  transform: translateY(1px);
}

.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  margin-left: -0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--text-soft);
  cursor: pointer;
  place-items: center;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.75rem;
}
.topnav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.68rem;
  border-radius: 7px;
  transition: color 0.15s ease, background 0.15s ease;
}
.topnav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.topnav a.active { color: var(--text); background: rgba(255, 255, 255, 0.055); }

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 36px;
  padding: 0 0.5rem 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.83rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.search-trigger:hover { border-color: var(--line-strong); color: var(--text-soft); background: var(--panel-2); }
.search-trigger kbd { margin-left: 0.35rem; }
.search-trigger svg { color: var(--faint); }

kbd {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1;
  padding: 0.24rem 0.4rem;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--panel-2);
  color: var(--muted);
}

.icon-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: var(--panel);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.icon-link:hover { color: var(--text); border-color: var(--line-strong); }

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

.layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.content-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 214px;
  gap: 3rem;
  align-items: start;
  min-width: 0;
}
.layout.no-toc .content-col { grid-template-columns: minmax(0, 1fr); }

.doc {
  min-width: 0;
  padding: 2.4rem 0 4.5rem;
  max-width: 860px;
}
.docs-index .doc { max-width: 1000px; }

/* Sidebar ----------------------------------------------------------------- */

.sidebar {
  position: sticky;
  top: var(--topbar);
  height: calc(100vh - var(--topbar));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2rem 1.5rem 2.5rem 0;
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }

.sidebar-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.sidebar-kicker {
  flex-basis: 100%;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.sidebar-title {
  color: var(--text);
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.sidebar-title:hover { color: var(--accent); }
.version-chip {
  font-family: var(--mono);
  font-size: 0.63rem;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  padding: 0.12rem 0.38rem;
  border-radius: 4px;
}

.sidebar-nav { display: grid; gap: 1.55rem; }
.nav-group { display: grid; gap: 0.1rem; }
.nav-group h3 {
  margin: 0 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.nav-group a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.58rem;
  padding: 0.34rem 0.55rem;
  margin-left: -0.55rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.4;
  transition: color 0.13s ease, background 0.13s ease;
}
.nav-group a span {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--faint);
  transition: color 0.13s ease;
}
.nav-group a:hover { color: var(--text); background: rgba(255, 255, 255, 0.035); }
.nav-group a.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 550;
}
.nav-group a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.nav-group a.active span { color: var(--accent); }

.sidebar-cta {
  margin-top: 2rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
}
.sidebar-cta p { margin: 0 0 0.55rem; color: var(--muted); font-size: 0.8rem; line-height: 1.5; }
.sidebar-cta code {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.7rem;
}
.sidebar-cta a { font-size: 0.8rem; font-weight: 550; }

/* Right TOC --------------------------------------------------------------- */

.toc {
  position: sticky;
  top: calc(var(--topbar) + 2rem);
  max-height: calc(100vh - var(--topbar) - 4rem);
  overflow-y: auto;
  padding-top: 2.6rem;
  font-size: 0.8rem;
  scrollbar-width: thin;
}
.toc-inner { border-left: 1px solid var(--line); padding-left: 1.1rem; }
.toc h2 {
  margin: 0 0 0.65rem;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.toc ul ul { padding-left: 0.7rem; margin-top: 0.1rem; }
.toc li { margin: 0; }
.toc a {
  display: block;
  color: var(--muted);
  padding: 0.22rem 0;
  line-height: 1.45;
  transition: color 0.13s ease;
}
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--accent); }

/* Breadcrumb, doc head ---------------------------------------------------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:last-child { color: var(--text-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.doc-head { margin-bottom: 2.6rem; }
.doc-head h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 680;
  color: #f4f6fa;
}
.lede {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 64ch;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--faint);
}
.doc-meta span { position: relative; }
.doc-meta span + span::before {
  content: "·";
  position: absolute;
  left: -0.7rem;
  color: var(--line-strong);
}

/* Prose ------------------------------------------------------------------- */

.prose { color: var(--text-soft); font-size: 0.985rem; line-height: 1.78; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }

.prose h2, .prose h3, .prose h4, .prose h5 {
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.28;
  scroll-margin-top: calc(var(--topbar) + 20px);
}
.prose h2 {
  margin: 3.2rem 0 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  font-size: 1.55rem;
  font-weight: 650;
}
.prose h3 { margin: 2.2rem 0 0.7rem; font-size: 1.18rem; font-weight: 620; }
.prose h4 { margin: 1.7rem 0 0.5rem; font-size: 1rem; font-weight: 600; }
.prose h2:target, .prose h3:target { color: var(--accent); }

.prose p { margin: 0.95rem 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: rgba(126, 226, 184, 0.34); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { margin: 0.9rem 0; padding-left: 1.4rem; }
.prose li { margin: 0.35rem 0; }
.prose li::marker { color: var(--faint); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

.prose blockquote {
  margin: 1.4rem 0;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border-left: 2px solid var(--accent-line);
  color: var(--muted);
}
.prose blockquote p { margin: 0.55rem 0; }

.prose :not(pre) > code {
  font-family: var(--mono);
  font-size: 0.84em;
  color: #bdf3dc;
  background: rgba(126, 226, 184, 0.075);
  border: 1px solid rgba(126, 226, 184, 0.14);
  border-radius: 5px;
  padding: 0.13em 0.38em;
  white-space: nowrap;
}

.prose pre {
  position: relative;
  margin: 1.35rem 0;
  padding: 1.05rem 1.2rem;
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.83rem;
  line-height: 1.68;
  color: #d5dbe7;
}
.prose pre.code { padding-top: 1.05rem; }
.prose pre code {
  font-family: var(--mono);
  font-size: inherit;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  white-space: pre;
}
.prose pre::-webkit-scrollbar { height: 8px; }
.prose pre::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }

.copy-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  padding: 0.28rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--muted);
  background: rgba(18, 22, 30, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.prose pre:hover .copy-btn, .copy-btn:focus-visible { opacity: 1; }
.copy-btn:hover { color: var(--accent); border-color: var(--accent-line); }
.copy-btn.copied { color: var(--accent); opacity: 1; }

.prose table {
  display: block;
  width: max-content;
  min-width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.55;
}
.prose th {
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
.prose td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover { background: rgba(255, 255, 255, 0.018); }
.prose td code { white-space: nowrap; }

.prose img {
  display: block;
  margin: 1.6rem auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Task lists / footnotes */
.prose .task-list-item { list-style: none; }
.prose .task-list-item input { margin-right: 0.45rem; accent-color: var(--accent); }
.prose .footnote-definition { margin-top: 1.2rem; color: var(--muted); font-size: 0.88rem; }
.prose .footnote-definition-label { color: var(--accent); font-family: var(--mono); }
.prose sup a { font-family: var(--mono); font-size: 0.72em; }

/* Callouts */
.callout {
  margin: 1.5rem 0;
  padding: 0.95rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout .callout-title {
  margin: 0 0 0.3rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.callout p { font-size: 0.92rem; color: var(--text-soft); }
.callout.warn { border-left-color: var(--amber); }
.callout.warn .callout-title { color: var(--amber); }
.callout.danger { border-left-color: var(--danger); }
.callout.danger .callout-title { color: var(--danger); }
.callout.tip { border-left-color: var(--violet); }
.callout.tip .callout-title { color: var(--violet); }

/* Pager ------------------------------------------------------------------- */

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.pager-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.pager-link:hover { border-color: var(--accent-line); background: var(--panel-2); transform: translateY(-1px); }
.pager-link.next { text-align: right; align-items: flex-end; }
.pager-link.empty { background: none; border-color: transparent; pointer-events: none; }
.pager-label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.pager-title { color: var(--text); font-size: 0.94rem; font-weight: 550; line-height: 1.4; }

.doc-foot {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.82rem;
}
.doc-foot p { margin: 0; }

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

.docs-hero { padding: 1rem 0 2rem; }
.docs-hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.docs-hero .lede { max-width: 62ch; font-size: 1.1rem; }
.docs-hero .hero-actions { margin-top: 1.7rem; }

.docs-intro { margin-bottom: 2.5rem; }

.chapter-grid {
  counter-reset: chapter;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.chapter-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  color: var(--text-soft);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.chapter-card::after {
  content: "→";
  position: absolute;
  top: 1.2rem;
  right: 1.25rem;
  font-family: var(--mono);
  color: var(--faint);
  transition: color 0.18s ease, transform 0.18s ease;
}
.chapter-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
  color: var(--text-soft);
}
.chapter-card:hover::after { color: var(--accent); transform: translateX(2px); }
.chapter-num {
  counter-increment: chapter;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.chapter-num::before { content: counter(chapter, decimal-leading-zero); }
.chapter-card h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  padding-right: 1.4rem;
}
.chapter-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}
.chapter-meta {
  margin-top: auto;
  padding-top: 0.55rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Term list --------------------------------------------------------------- */

.term-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.35rem; }
.term-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}
.term-list a { font-weight: 550; text-decoration: none; }
.term-list .count { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); }

/* Home: hero -------------------------------------------------------------- */

.home main { overflow: clip; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.2rem 2rem 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 4.5rem;
  align-items: center;
}
.hero-copy { max-width: 640px; animation: rise 0.6s ease both; }
.hero-copy h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.7rem, 5.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.grad {
  background: linear-gradient(105deg, #d9fff0 0%, var(--accent) 52%, #52c99b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(126, 226, 184, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.9rem; }
.hero-actions.center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 42px;
  padding: 0 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 550;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, color 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #05130d;
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(79, 211, 160, 0.2);
}
.btn-primary:hover { background: #96efcb; border-color: #96efcb; color: #05130d; }
.btn-ghost {
  background: var(--panel);
  border-color: var(--line-strong);
  color: var(--text-soft);
}
.btn-ghost:hover { border-color: var(--accent-line); color: var(--text); background: var(--panel-2); }
.btn-ghost kbd { margin-left: 0.15rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.69rem;
  color: var(--faint);
}
.hero-meta li { position: relative; }
.hero-meta li + li::before {
  content: "";
  position: absolute;
  left: -0.78rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* Terminal */
.hero-visual {
  position: relative;
  animation: rise 0.6s 0.12s ease both;
}
.terminal {
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: linear-gradient(180deg, #0d1118, #090c11);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}
.terminal-dots { display: flex; gap: 0.34rem; }
.terminal-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a3341;
}
.terminal-dots i:nth-child(1) { background: #e06c75; }
.terminal-dots i:nth-child(2) { background: #e5c07b; }
.terminal-dots i:nth-child(3) { background: #98c379; }
.terminal-title {
  margin-left: 0.25rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--faint);
}
.terminal-body {
  margin: 0;
  padding: 1.3rem 1.35rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.79rem;
  line-height: 1.85;
  color: #c8d0de;
  overflow-x: auto;
}
.terminal-body code { font-family: inherit; }
.t-prompt { color: var(--accent); font-weight: 600; }
.t-dim { color: #5f687b; }
.t-ok { color: #9ee7c7; }
.t-link { color: #82b7ff; text-decoration: underline; text-decoration-color: rgba(130, 183, 255, 0.35); text-underline-offset: 2px; }
.t-cursor { color: var(--accent); animation: blink 1.1s steps(2) infinite; }

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(16, 20, 27, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  font-family: var(--mono);
  font-size: 0.67rem;
  color: var(--muted);
}
.badge-speed { right: -1.1rem; top: -1.2rem; flex-direction: column; align-items: flex-start; gap: 0.1rem; padding: 0.65rem 0.85rem; }
.badge-k { font-size: 1rem; color: var(--accent); font-weight: 600; letter-spacing: -0.02em; }
.badge-v { font-size: 0.64rem; color: var(--faint); }
.badge-rss { left: -1.2rem; bottom: -1.1rem; }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(126, 226, 184, 0.14); }

/* Stats ------------------------------------------------------------------- */

.stats-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 1.7rem 1.6rem 1.7rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stat + .stat { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.stat-value {
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-value span { font-size: 0.55em; color: var(--accent); margin-left: 0.15rem; font-weight: 500; letter-spacing: 0; }
.stat-label { font-size: 0.78rem; line-height: 1.5; color: var(--muted); max-width: 26ch; }

/* Home sections ----------------------------------------------------------- */

.section-block {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.2rem 2rem;
}
.section-head { max-width: 700px; margin-bottom: 2.4rem; }
.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.section-head.split > div { max-width: 660px; }
.section-head h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.038em;
  font-weight: 680;
}
.section-head p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.68; max-width: 62ch; }
.section-head code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: #bdf3dc;
}
.text-link {
  flex: none;
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--accent);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--accent-line);
  white-space: nowrap;
}
.text-link:hover { border-bottom-color: var(--accent); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card {
  position: relative;
  padding: 1.45rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.022), transparent 60%), var(--panel);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.feature-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border: 1px solid rgba(126, 226, 184, 0.2);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}
.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.feature-card p { margin: 0; font-size: 0.86rem; line-height: 1.62; color: var(--muted); }
.feature-card code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: #bdf3dc;
}

/* Benchmark --------------------------------------------------------------- */

.bench-block { padding-top: 4.6rem; padding-bottom: 4.6rem; }
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow-x: auto;
}
.bench-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 580px; }
.bench-table th {
  padding: 0.85rem 1.1rem;
  text-align: right;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
}
.bench-table th:first-child, .bench-table td:first-child { text-align: left; }
.bench-table td {
  padding: 0.8rem 1.1rem;
  text-align: right;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.bench-table tr:last-child td { border-bottom: 0; }
.bench-table td:first-child { color: var(--text-soft); }
.bench-table .agno-col { background: rgba(126, 226, 184, 0.055); color: var(--accent); }
.bench-table th.agno-col { color: var(--accent); }
.bench-table strong { font-weight: 600; color: var(--accent); }
.bench-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }
.bench-table tbody tr:hover .agno-col { background: rgba(126, 226, 184, 0.09); }
.bench-note { margin: 0.9rem 0 0; font-size: 0.78rem; color: var(--faint); }

/* Authoring --------------------------------------------------------------- */

.authoring-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.2rem;
  align-items: stretch;
}
.code-panel, .preview-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--code-bg);
  overflow: hidden;
  min-width: 0;
}
.code-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--faint);
}
.code-lang { color: var(--accent); }
.code-panel pre {
  margin: 0;
  padding: 1.15rem 1.25rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.8;
  color: #c8d0de;
}
.code-panel code { font-family: inherit; }
.code-panel .c { color: #5f687b; }
.code-panel .s { color: #a8d8a0; }
.code-panel .k { color: var(--accent); }
.code-panel .hl { color: #e5c07b; }

.preview-panel { background: var(--bg-soft); display: flex; flex-direction: column; }
.preview-chrome {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--faint);
}
.preview-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}
.preview-chrome span { margin-left: 0.45rem; }
.preview-body { padding: 1.4rem 1.5rem 1.6rem; }
.preview-kicker { margin: 0 0 0.5rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.preview-body h3 { margin: 0 0 0.3rem; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--text); }
.preview-lede { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.9rem; }
.preview-body h4 { margin: 0 0 0.35rem; font-size: 0.95rem; color: var(--text); }
.preview-body p { margin: 0.4rem 0; font-size: 0.86rem; color: var(--text-soft); }
.preview-body code { font-family: var(--mono); font-size: 0.85em; color: #bdf3dc; background: rgba(126, 226, 184, 0.08); padding: 0.1em 0.32em; border-radius: 4px; }
.preview-code {
  margin: 0.6rem 0 0.9rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--code-bg);
  font-family: var(--mono);
  font-size: 0.74rem;
  color: #c8d0de;
  overflow-x: auto;
}
.preview-quote {
  margin: 0.7rem 0;
  padding: 0.45rem 0.7rem;
  border-left: 2px solid var(--accent-line);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.8rem;
}
.preview-tags { display: flex; gap: 0.4rem; margin-top: 0.9rem; }
.preview-tags span {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.12rem 0.4rem;
}

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

.cta-block {
  max-width: var(--max);
  margin: 0 auto 5rem;
  padding: 0 2rem;
}
.cta-inner {
  position: relative;
  padding: 4rem 2rem;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    radial-gradient(600px 240px at 50% -20%, rgba(126, 226, 184, 0.14), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  text-align: center;
  overflow: hidden;
}
.cta-inner h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.cta-inner > p:not(.eyebrow) { margin: 0 auto; max-width: 56ch; color: var(--muted); }
.cta-inner code { font-family: var(--mono); font-size: 0.88em; color: #bdf3dc; }
.cta-code {
  display: inline-flex;
  margin: 1.5rem auto 0;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--code-bg);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-soft);
  overflow-x: auto;
  max-width: 100%;
}
.cta-code span { color: var(--accent); margin-right: 0.4rem; }
.cta-inner .hero-actions { margin-top: 1.6rem; }

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  margin-top: 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.4rem 2rem 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
.footer-brand p { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.6; max-width: 34ch; }
.footer-brand .footer-note { margin-top: 0.65rem; font-family: var(--mono); font-size: 0.68rem; color: var(--faint); }
.footer-col { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col h3 {
  margin: 0 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
.footer-col a { color: var(--muted); font-size: 0.86rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem 2rem 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--faint);
}

/* Search ------------------------------------------------------------------ */

.search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 4, 7, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade 0.14s ease both;
}
.search-modal {
  position: fixed;
  z-index: 100;
  top: 12vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, calc(100vw - 2rem));
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #0c0f15;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: modal 0.16s ease both;
}
.search-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
}
.search-head input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.98rem;
  outline: none;
}
.search-head input::placeholder { color: var(--faint); }
.search-close { border: 0; background: none; padding: 0; cursor: pointer; }
.search-results { overflow-y: auto; padding: 0.5rem; }
.search-empty { margin: 0; padding: 1.4rem 1rem; color: var(--faint); font-size: 0.86rem; text-align: center; }
.search-result {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
}
.search-result:hover, .search-result.selected {
  background: var(--accent-soft);
  color: var(--text);
}
.search-result h3 { margin: 0 0 0.18rem; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.search-result p { margin: 0; font-size: 0.78rem; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-result .search-tag {
  display: inline-block;
  margin-top: 0.3rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--accent);
}
.search-foot {
  display: flex;
  gap: 1.1rem;
  padding: 0.55rem 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.63rem;
  color: var(--faint);
}
.search-foot kbd { font-size: 0.6rem; padding: 0.15rem 0.32rem; }

/* 404 --------------------------------------------------------------------- */

.notfound { padding-top: 5rem; }
.notfound h1 { margin: 0 0 0.9rem; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.06; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.4rem; }
.notfound-links a {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.84rem;
}
.notfound-links a:hover { color: var(--accent); border-color: var(--accent-line); }

/* Scrim for mobile nav ---------------------------------------------------- */

.nav-scrim {
  position: fixed;
  inset: var(--topbar) 0 0;
  z-index: 45;
  background: rgba(3, 4, 7, 0.6);
  backdrop-filter: blur(3px);
}

/* Animations -------------------------------------------------------------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal { from { opacity: 0; transform: translate(-50%, -8px) scale(0.99); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(126, 226, 184, 0.1); }
  50% { box-shadow: 0 0 0 7px rgba(126, 226, 184, 0.03); }
}
@keyframes blink { 50% { opacity: 0; } }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1240px) {
  .content-col { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .hero { gap: 3rem; }
}

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 640px; }
  .badge-speed { right: 0.6rem; }
  .badge-rss { left: 0.6rem; }
  .authoring-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --topbar: 60px; }
  .topbar-inner { padding: 0 1.15rem; gap: 0.8rem; }
  .menu-btn { display: grid; }
  .topnav { display: none; }
  .brand-tag { display: none; }
  .search-trigger > span { display: none; }
  .search-trigger kbd { display: none; }
  .search-trigger { padding: 0 0.6rem; }

  .layout { grid-template-columns: 1fr; padding: 0 1.15rem; gap: 0; }
  .content-col { gap: 0; }

  .sidebar {
    position: fixed;
    top: var(--topbar);
    left: 0;
    bottom: 0;
    z-index: 50;
    width: min(310px, 86vw);
    height: auto;
    padding: 1.5rem 1.2rem 2rem;
    background: #0a0d13;
    border-right: 1px solid var(--line-strong);
    transform: translateX(-102%);
    transition: transform 0.22s ease;
    box-shadow: 30px 0 80px rgba(0, 0, 0, 0.5);
  }
  body.nav-open .sidebar { transform: none; }

  .doc { padding-top: 1.6rem; }
  .hero { padding: 3.6rem 1.15rem 3.4rem; }
  .stats-strip { padding: 0 1.15rem; grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1.35rem 1rem 1.35rem 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 1.1rem; border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section-block { padding: 3.8rem 1.15rem; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-block { padding: 0 1.15rem; margin-bottom: 3.5rem; }
  .cta-inner { padding: 3rem 1.3rem; }
  .footer-inner { padding: 2.6rem 1.15rem 2rem; grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 1.1rem 1.15rem 1.8rem; }
  .docs-hero { padding-top: 0.6rem; }
}

@media (max-width: 620px) {
  .hero-copy h1 { font-size: clamp(2.35rem, 10vw, 3rem); }
  .hero-lede { font-size: 0.98rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .chapter-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat { padding: 1.2rem 0; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 0; border-left: 0; }
  .pager { grid-template-columns: 1fr; }
  .pager-link.next { text-align: left; align-items: flex-start; }
  .pager-link.empty { display: none; }
  .float-badge { display: none; }
  .terminal-body { font-size: 0.7rem; padding: 1rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .doc-head h1 { font-size: 1.95rem; }
  .search-modal { top: 6vh; max-height: 82vh; }
  .prose pre { font-size: 0.76rem; }
  .prose table { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
