/* Indaloop LLC — site styles (version J · Kinetic, built on G · Zen) */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --line: #f4f4f5;
  --border: #e4e4e7;
  --fg: #18181b;
  --fg-body: #3f3f46;
  --fg-2: #52525b;
  --fg-muted: #71717a;
  --fg-faint: #a1a1aa;
  --ok: #15803d;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.15, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #fff; color-scheme: light; }

/* Same-origin page switches cross-fade instead of flashing; the header stays put. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans);
  line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--fg); }
a:hover { color: var(--fg-2); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--mono); }
.muted { color: var(--fg-muted); }
.label { font-family: var(--mono); font-size: 13px; color: var(--fg-muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--fg); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }

/* ---------- Underline-on-hover links ---------- */
.ul { position: relative; text-decoration: none; }
.ul::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-io);
}
.ul:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line); view-transition-name: site-header;
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 17px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-size: 14px; }
.nav a { color: var(--fg-2); padding: 12px 2px; }
.nav a:hover { color: var(--fg); }
.nav .nav-cta { display: none; }
.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 18px; height: 18px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* ---------- Pill buttons with fill sweep ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--fg);
  font-weight: 500; font-size: 15px; text-decoration: none; color: var(--fg);
  background: linear-gradient(var(--fg), var(--fg)) no-repeat left / 0% 100%;
  transition: background-size 0.45s var(--ease-io), color 0.45s var(--ease-io);
}
.pill:hover { background-size: 100% 100%; color: #fff; }
.pill-light { border-color: var(--border); }
.pill .arr { transition: transform 0.35s var(--ease); }
.pill:hover .arr { transform: translateX(4px); }

/* ---------- Hero ---------- */
.k-hero { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(40px, 6vw, 72px); }
.k-hero .eyebrow { margin-bottom: 28px; }
.k-title { font-size: clamp(56px, 11vw, 168px); line-height: 0.92; letter-spacing: -0.06em; font-weight: 600; }
.m { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.06em; }
.w { display: inline-block; }
.loopword { position: relative; display: inline-block; }
.loopword .underline { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: 0.26em; overflow: visible; }
.glyph { vertical-align: middle; margin-left: 0.15em; }
.glyph svg { width: 1.2em; height: 0.68em; }
.k-hero-foot { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-end; justify-content: space-between; margin-top: clamp(36px, 5vw, 56px); }
.lede { flex: 1 1 420px; max-width: 560px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; color: var(--fg-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cue { margin-top: 56px; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--fg-faint); }
.cue-track { width: 1px; height: 40px; background: var(--line); overflow: hidden; display: block; }
.cue-bar { display: block; width: 1px; height: 40px; background: var(--fg); }

/* ---------- Marquee ---------- */
.mq-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; display: flex; flex-direction: column; gap: 6px; }
.mq, .mqr { display: flex; width: max-content; white-space: nowrap; }
.mq { font-size: clamp(40px, 6vw, 84px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.mq > span { padding-right: 0.5em; }
.mqr { font-family: var(--mono); font-size: 14px; color: var(--fg-muted); }
.mqr > span { padding-right: 40px; }
.outline { color: transparent; -webkit-text-stroke: 1.2px var(--fg); }

/* ---------- Sections ---------- */
.section { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 36px; }
.section-head > p { font-size: 15px; color: var(--fg-muted); max-width: 380px; }
.h2xl { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.05em; font-weight: 600; line-height: 1; }
.band { background: var(--bg-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.swipe-hint { display: none; }

/* ---------- Concept cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: #fff;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: perspective(900px) rotateX(4deg) translateY(-6px); box-shadow: 0 24px 48px -24px rgba(24, 24, 27, 0.25); }
.demo-wrap { height: 220px; background: var(--bg-subtle); border-bottom: 1px solid var(--line); overflow: hidden; }
.stage { height: 100%; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.6s var(--ease); }
.card:hover .stage { transform: scale(1.04); }
.stage-center { align-items: center; }
.stage-row { flex-direction: row; align-items: center; gap: 18px; justify-content: flex-start; }
.card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-title h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.tag { font-family: var(--mono); font-size: 11px; padding: 3px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--fg-2); }
.card-desc { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.card-loop { font-size: 14px; line-height: 1.6; color: var(--fg-body); }
.status { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fg); display: inline-block; flex: none; }

.bars { display: flex; align-items: center; gap: 4px; height: 48px; }
.bars span { width: 4px; height: 44px; border-radius: 2px; background: var(--fg); display: block; transform-origin: center; }
.subs { position: relative; height: 44px; font-size: 15px; line-height: 1.45; }
.subs > div { position: absolute; inset: 0; }
.subs small { font-family: var(--mono); font-size: 11px; color: var(--fg-muted); display: block; }
.key { align-self: flex-start; font-family: var(--mono); font-size: 12px; padding: 4px 10px; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.figure { width: 100px; height: 143px; overflow: visible; }
.stage-center { gap: 6px; padding-top: 14px; padding-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-family: var(--mono); font-size: 11px; }
.chips span { padding: 3px 8px; border-radius: 999px; background: #f4f4f5; color: var(--fg-2); }
.board { width: 96px; height: 120px; flex: none; }
.log { font-family: var(--mono); font-size: 12px; line-height: 1.9; color: var(--fg-body); min-width: 0; }
.log .pass { color: var(--ok); }

/* ---------- Approach ---------- */
.statement { font-size: clamp(32px, 5vw, 68px); line-height: 1.08; letter-spacing: -0.045em; font-weight: 600; max-width: 1080px; margin-top: 28px; }
.cols { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.col h3 { font-size: 22px; font-weight: 600; }
.col p { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.rule { height: 1px; background: var(--fg); }
.rule-light { background: var(--border); }

/* ---------- Company ---------- */
/* The address is always one line: sized from the section's width (≈ 8.8em wide), never wrapped. */
#company { container-type: inline-size; }
.mail-xl {
  position: relative; display: inline-block; margin-top: 16px; padding-bottom: 0.08em;
  font-size: clamp(26px, 10.6cqi, 112px); font-weight: 600; letter-spacing: -0.055em; line-height: 1;
  text-decoration: none; white-space: nowrap;
}
.mail-xl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: max(2px, 0.04em); background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease-io);
}
.mail-xl:hover { color: var(--fg); }
.mail-xl:hover::after { transform: scaleX(1); transform-origin: left; }
.facts-grid { margin: clamp(40px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.fact { padding: 0 0 22px; }
.fact .rule { margin-bottom: 18px; }
.fact dt { font-size: 12px; color: var(--fg-muted); margin-bottom: 6px; }
.fact dd { margin: 0; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-row { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13px; line-height: 1.6; color: var(--fg-muted); }
.footer-row a { color: var(--fg-2); }
.footer-row .ul::after { bottom: 0; }

/* ---------- Privacy page ---------- */
.legal-head { padding-top: clamp(40px, 7vw, 88px); display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.legal-head h1 { font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.055em; line-height: 0.98; font-weight: 600; }
.legal-head .dates { font-size: 15px; color: var(--fg-muted); }
.legal-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 40px; padding-bottom: clamp(56px, 8vw, 96px); margin-top: 40px; position: relative; }
.legal-grid > .rule { position: absolute; left: 0; right: 0; top: 0; }
.toc { flex: 1 1 220px; min-width: 0; font-size: 14px; position: sticky; top: 88px; }
.toc p { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); margin-bottom: 8px; }
.toc a { display: block; padding: 6px 0; color: var(--fg-2); text-decoration: none; transition: transform 0.3s var(--ease), color 0.3s; }
.toc a:hover { color: var(--fg); transform: translateX(4px); }
.legal { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 36px; }
.legal section { scroll-margin-top: 88px; }
.legal h2 { font-size: 22px; letter-spacing: -0.015em; font-weight: 600; margin-bottom: 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--fg-body); }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal address { font-style: normal; font-size: 16px; line-height: 1.7; color: var(--fg-body); padding: 20px 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-subtle); }

/* ---------- 404 ---------- */
.nf { padding-top: clamp(80px, 14vw, 180px); padding-bottom: clamp(80px, 12vw, 160px); display: flex; flex-direction: column; gap: 24px; }

/* ================= Motion ================= */
@keyframes up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes blurin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes chase { to { stroke-dashoffset: -1; } }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes mqr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@keyframes hl { from { color: #a1a1aa; } to { color: #18181b; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes slide-in { from { transform: translateY(32px); } to { transform: none; } }
@keyframes bar { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
@keyframes swap1 { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes swap2 { 0%, 45% { opacity: 0; } 50%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes key { 0%, 100% { box-shadow: 0 0 0 0 rgba(24, 24, 27, 0); } 40%, 60% { box-shadow: 0 0 0 6px rgba(24, 24, 27, 0.08); } }
@keyframes chip { 0%, 18% { background: #18181b; color: #fff; } 20%, 100% { background: #f4f4f5; color: #52525b; } }
@keyframes cam {
  0%, 16% { transform: translate(60px, 140px); } 20%, 36% { transform: translate(104px, 134px); }
  40%, 56% { transform: translate(114px, 74px); } 60%, 76% { transform: translate(60px, -6px); }
  80%, 96% { transform: translate(92px, 152px); } 100% { transform: translate(60px, 140px); }
}
@keyframes led { 0%, 49% { fill: #16a34a; } 50%, 100% { fill: #d4d4d8; } }
@keyframes line-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* Load-in (above the fold only) */
.w { animation: up 1.1s var(--ease-io) both; }
.w.d1 { animation-delay: 0.15s; } .w.d2 { animation-delay: 0.25s; } .w.d3 { animation-delay: 0.33s; }
.w.d4 { animation-delay: 0.45s; } .w.d5 { animation-delay: 0.6s; }
.blur { animation: blurin 1.1s var(--ease) both; }
.blur.b1 { animation-delay: 0.1s; } .blur.b2 { animation-delay: 0.2s; } .blur.b3 { animation-delay: 0.8s; }
.blur.b4 { animation-delay: 0.95s; } .blur.b5 { animation-delay: 1.2s; }
.underline path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(0.6, 0.1, 0.2, 1) 0.9s forwards; }
.glyph .chase { stroke-dasharray: 0.18 0.82; animation: chase 3.2s linear infinite; }
.cue-bar { animation: cue 1.8s cubic-bezier(0.6, 0, 0.4, 1) infinite; }

/* Loops */
.mq { animation: mq 36s linear infinite; }
.mqr { animation: mqr 42s linear infinite; }
.mq-band:hover .mq, .mq-band:hover .mqr { animation-play-state: paused; }
.bars span { animation: bar 1.1s ease-in-out infinite; }
.bars span:nth-child(2) { animation-delay: -0.2s; } .bars span:nth-child(3) { animation-delay: -0.5s; }
.bars span:nth-child(4) { animation-delay: -0.8s; } .bars span:nth-child(5) { animation-delay: -0.3s; }
.bars span:nth-child(6) { animation-delay: -0.65s; } .bars span:nth-child(7) { animation-delay: -0.1s; }
.bars span:nth-child(8) { animation-delay: -0.9s; } .bars span:nth-child(9) { animation-delay: -0.4s; }
.bars span:nth-child(10) { animation-delay: -0.75s; } .bars span:nth-child(11) { animation-delay: -0.15s; }
.subs .s1 { animation: swap1 6s ease infinite; }
.subs .s2 { animation: swap2 6s ease infinite; }
.key { animation: key 3s ease-in-out infinite; }
.chips span { animation: chip 5s step-end infinite; }
.chips span:nth-child(2) { animation-delay: -4s; } .chips span:nth-child(3) { animation-delay: -3s; }
.chips span:nth-child(4) { animation-delay: -2s; } .chips span:nth-child(5) { animation-delay: -1s; }
.cam { animation: cam 5s cubic-bezier(0.6, 0, 0.3, 1) infinite; }
.led { animation: led 1s step-end infinite; }
.log div { animation: line-in 0.5s ease both; }
.log div:nth-child(1) { animation-delay: 0.4s; } .log div:nth-child(2) { animation-delay: 0.9s; }
.log div:nth-child(3) { animation-delay: 1.4s; } .log div:nth-child(4) { animation-delay: 1.9s; }
.dot { animation: pulse 2s ease-in-out infinite; }
.swipe-hint span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }

/* Scroll-driven: movement and colour only — content is never hidden, so screenshots and crawlers see everything. */
@supports (animation-timeline: view()) {
  .rise-v { animation: slide-in linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
  .grow-v { transform-origin: left; animation: grow linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  .hw { animation: hl linear both; animation-timeline: view(); }
  .h2xl .hw:nth-child(1) { animation-range: entry 20% cover 30%; }
  .h2xl .hw:nth-child(2) { animation-range: entry 30% cover 34%; }
  .h2xl .hw:nth-child(3) { animation-range: entry 40% cover 38%; }
  .statement .hw:nth-child(1) { animation-range: cover 10% cover 22%; }
  .statement .hw:nth-child(2) { animation-range: cover 12% cover 24%; }
  .statement .hw:nth-child(3) { animation-range: cover 14% cover 26%; }
  .statement .hw:nth-child(4) { animation-range: cover 16% cover 28%; }
  .statement .hw:nth-child(5) { animation-range: cover 18% cover 30%; }
  .statement .hw:nth-child(6) { animation-range: cover 20% cover 32%; }
  .statement .hw:nth-child(7) { animation-range: cover 22% cover 34%; }
  .statement .hw:nth-child(8) { animation-range: cover 24% cover 36%; }
  .statement .hw:nth-child(9) { animation-range: cover 26% cover 38%; }
  .statement .hw:nth-child(10) { animation-range: cover 28% cover 40%; }
  .statement .hw:nth-child(11) { animation-range: cover 30% cover 42%; }
  .statement .hw:nth-child(12) { animation-range: cover 34% cover 46%; }
  .statement .hw:nth-child(13) { animation-range: cover 36% cover 48%; }
  .statement .hw:nth-child(14) { animation-range: cover 38% cover 50%; }
  .statement .hw:nth-child(15) { animation-range: cover 40% cover 52%; }
  .statement .hw:nth-child(16) { animation-range: cover 42% cover 54%; }
  .statement .hw:nth-child(17) { animation-range: cover 44% cover 56%; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .underline path { stroke-dashoffset: 0; }
  .subs .s2 { opacity: 0; }
}

/* ================= Tablet / small laptop: one card per row, demo beside text ================= */
@media (min-width: 721px) and (max-width: 1099px) {
  .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { flex-direction: row; }
  .card:hover { transform: translateY(-4px); }
  .demo-wrap { flex: 0 0 42%; height: auto; min-height: 230px; border-bottom: 0; border-right: 1px solid var(--line); }
  .card-body { padding: 28px 32px; justify-content: center; }
  .card-desc { font-size: 16px; }
  .status { margin-top: 8px; }
}

/* ================= Mobile ================= */
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; font-size: 17px;
  }
  .nav.open { display: flex; animation: blurin 0.3s ease both; }
  .nav a { color: var(--fg); font-weight: 500; min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line); padding: 0; }
  .nav a.ul::after { display: none; }
  .nav .nav-cta { display: flex; justify-content: center; margin-top: 16px; min-height: 48px; background: var(--fg); color: #fff; border-radius: 12px; border: 0; font-size: 16px; }

  .k-hero { padding-top: 40px; }
  .k-title { font-size: clamp(48px, 15vw, 72px); }
  .actions { flex-direction: column; align-self: stretch; width: 100%; }
  .actions .pill { width: 100%; }
  .cue { display: none; }
  .mq { font-size: 40px; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .swipe-hint { display: block; font-size: 13px; color: var(--fg-muted); }
  .cards {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 min(300px, 82vw); scroll-snap-align: start; }
  .card:hover { transform: none; box-shadow: none; }
  .card:hover .stage { transform: none; }
  .demo-wrap { height: 180px; }
  .figure { width: 80px; height: 115px; }
  .stage { padding: 18px; }
  .card-body { padding: 18px; }

  .footer-row { flex-direction: column; }
  .toc { position: static; }
}

/* Load-time rule draw (privacy page header) */
.grow-load { transform-origin: left; animation: grow 1.2s var(--ease-io) 0.3s both; }
@media (prefers-reduced-motion: reduce) { .grow-load { animation: none; } }
