/* idleoss. Plain CSS, no build step. Fonts are self-hosted (OFL, licenses next to the files). */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/geist-mono-400.woff2") format("woff2");
}

:root {
  --page: #F8F7F3;
  --card: #F0EEE8;
  --line: #E3E0D8;
  --ink: #1C1B19;
  --ink-2: #5C5852;
  --pill: #E6E3DB;
  --pill-hover: #DCD8CE;
  --accent: #A8492A;
  --accent-soft: #E9C9B8;
  --gray: #E3E0D8;

  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: 20px;
  --max: 1100px;
  --gap: clamp(64px, 8vw, 112px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #1A1917;
    --card: #232220;
    --line: #34322E;
    --ink: #F2F0EA;
    --ink-2: #A8A39A;
    --pill: #2E2D2A;
    --pill-hover: #3A3835;
    --accent: #D98A6A;
    --accent-soft: #5E3A2B;
    --gray: #2F2D2A;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -80px; z-index: 10;
  background: var(--ink); color: var(--page);
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.wordmark { font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; text-decoration: none; }
.top-nav { display: flex; gap: 24px; }
.top-link { font-size: 0.9375rem; text-decoration: none; }
.top-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }

/* Hero */
.hero { padding-top: clamp(40px, 9vw, 120px); }
h1 {
  font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.375rem);
  line-height: 1.04;
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-art { width: 100%; max-width: 320px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 40px; }
  .hero-art { max-width: 480px; justify-self: end; }
}

/* Illustrations, inlined by _src/inline-svgs.py; colors follow the tokens */
.art { display: block; width: 100%; height: auto; }
.f-ink { fill: var(--ink); } .s-ink { stroke: var(--ink); }
.f-card { fill: var(--card); } .s-card { stroke: var(--card); }
.f-gray { fill: var(--gray); } .s-gray { stroke: var(--gray); }
.f-accent { fill: var(--accent); } .s-accent { stroke: var(--accent); }
.f-accent-soft { fill: var(--accent-soft); } .s-accent-soft { stroke: var(--accent-soft); }

/* Runs on */
.runs-on { margin: clamp(36px, 5vw, 56px) 0 clamp(32px, 4vw, 48px); }
.runs-label { font-size: 0.9375rem; color: var(--ink-2); margin-bottom: 12px; }
.tools { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.tools li { display: inline-flex; align-items: center; gap: 10px; }
.tool-name { font-weight: 500; font-size: 1.0625rem; }
.logo { display: block; width: 28px; height: 28px; border-radius: 7px; }
@media (prefers-color-scheme: dark) { .logo-mono { filter: invert(1); } }
.tag {
  display: inline-block;
  background: var(--card);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.75rem; font-weight: 500;
  white-space: nowrap;
}
.sub {
  margin: 24px 0 0;
  max-width: 30em;
  font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* Cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column;
  background: var(--card);
  border-radius: 24px;
  padding: clamp(24px, 2.5vw, 34px);
}
.card-art { height: 132px; margin-bottom: 20px; }
.card-art .art { width: auto; height: 100%; max-width: 100%; }
.card-title { font-size: clamp(1.5rem, 1.3rem + 0.5vw, 1.75rem); line-height: 1.2; margin-bottom: 10px; }
.card p { color: var(--ink-2); }
.card > p { margin-bottom: 28px; }
.card > .pill, .card > .agent-pill { margin-top: auto; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px;
  background: var(--pill); color: var(--ink);
  font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none;
  transition: background-color 120ms ease;
}
.pill:hover { background: var(--pill-hover); }
.pill-wide { width: 100%; }
.pill-ink { background: var(--ink); color: var(--page); }
.pill-ink:hover { background: var(--ink); opacity: 0.88; }

.agent-pill {
  display: flex; align-items: center; gap: 12px;
  background: var(--page);
  border-radius: 16px;
  padding: 8px 8px 8px 16px;
  min-height: 46px;
}
.agent-pill code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 0.8125rem; line-height: 1.45; }
.copy {
  flex-shrink: 0;
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 999px;
  background: var(--pill); color: var(--ink);
  cursor: pointer;
}
.copy:hover { background: var(--pill-hover); }
.copy .i-done { display: none; }
.copy.is-done .i-copy { display: none; }
.copy.is-done .i-done { display: block; color: var(--accent); }
.snippet-wrap { position: relative; margin-top: 16px; }
.snippet-wrap .snippet { margin: 0; padding-right: 64px; }
.snippet-wrap .copy { position: absolute; top: 10px; right: 10px; }

/* Sections: spacing only, no rules */
.section { margin-top: var(--gap); }
.section h2 {
  font-size: clamp(2rem, 1.45rem + 2.2vw, 3rem);
  line-height: 1.1;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.body { text-wrap: pretty; max-width: 50rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--ink-2); }
.body + .pill, .body + .actions { margin-top: 28px; }

/* Steps: four soft cards joined by arrows */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.steps li { position: relative; background: var(--card); border-radius: 20px; padding: 26px 24px 28px; }
.steps h3 { font-size: 1.375rem; line-height: 1.25; margin-bottom: 8px; }
.steps p { color: var(--ink-2); }
@media (min-width: 960px) {
  .steps li:not(:last-child)::after {
    content: "\2192"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%);
    width: 14px; text-align: center; color: var(--ink-2); font-size: 1.125rem; line-height: 1;
  }
}

/* Story: one paragraph */
.story { max-width: 44rem; font-size: clamp(1.1875rem, 1.1rem + 0.5vw, 1.4375rem); line-height: 1.5; text-wrap: pretty; }

/* Respects: a checklist, no cards */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 48px; }
@media (min-width: 720px) { .rows { grid-template-columns: repeat(2, 1fr); } }
.rows li {
  position: relative;
  padding-left: 44px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 28px;
}
.rows li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft);
}
.rows li::after {
  content: ""; position: absolute; left: 10px; top: 6px;
  width: 6px; height: 11px;
  border: solid var(--accent); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* Maintainers panel */
.panel {
  display: grid; gap: 32px; align-items: center;
  background: var(--card);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 56px);
}
.panel h2 { margin-bottom: 20px; }
.panel-art { width: 100%; max-width: 240px; }
@media (min-width: 900px) {
  .panel { grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; }
  .panel-art { max-width: 260px; justify-self: end; }
}

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details { background: var(--card); border-radius: 18px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 20px 24px;
  border-radius: 18px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-2); font-weight: 400; font-size: 1.375rem; line-height: 1; }
.faq details[open] > summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); max-width: 40em; padding: 0 24px 22px; }
.faq summary:focus-visible { outline-offset: 2px; }

/* Closing */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.foot {
  margin-top: var(--gap);
  padding-top: 28px; padding-bottom: 48px;
  background: linear-gradient(var(--line), var(--line)) no-repeat center top / calc(100% - 2 * var(--gutter)) 1px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

/* Agents page */
.doc { max-width: 44rem; }
.doc h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); margin-bottom: 24px; }
.doc h2 { font-size: 1.375rem; margin: 48px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.doc a { text-underline-offset: 0.2em; }
.doc .actions { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  .pill { transition: none; }
}

.maint { margin-top: 28px; color: var(--ink-2); max-width: 44rem; }
.maint a { color: var(--ink); text-underline-offset: 0.2em; }

.doc code { font-family: var(--mono); font-size: 0.9em; }
.guide-copy { background: var(--card); margin-top: 12px; }
.snippet { margin: 16px 0 0; padding: 16px 20px; background: var(--card); border-radius: 16px; overflow-x: auto; }
.snippet code { font-size: 0.8125rem; line-height: 1.6; color: var(--ink); }
.doc .actions { margin-top: 12px; }
.doc .actions + p { margin-top: 20px; }
.snippet code { display: block; line-height: 1.5; white-space: pre; }

.hero-cta { margin-top: 28px; }
.foot a { text-underline-offset: 0.2em; }

/* MOTION start (generated by _src/motion.py) */
@media (prefers-reduced-motion: no-preference) {
  .art [data-a] { transform-box: fill-box; transform-origin: center; }
  .art [data-a="h-type"] { animation: m-h-type 9s linear infinite; stroke-dasharray: 1; }
  .art [data-a="h-draw0"] { animation: m-h-draw0 9s linear infinite; stroke-dasharray: 1; }
  .art [data-a="h-n0"] { animation: m-h-n0 9s linear infinite; }
  .art [data-a="h-n1"] { animation: m-h-n1 9s linear infinite; }
  .art [data-a="h-draw1"] { animation: m-h-draw1 9s linear infinite; stroke-dasharray: 1; }
  .art [data-a="h-n2"] { animation: m-h-n2 9s linear infinite; }
  .art [data-a="h-n3"] { animation: m-h-n3 9s linear infinite; }
  .art [data-a="h-draw2"] { animation: m-h-draw2 9s linear infinite; stroke-dasharray: 1; }
  .art [data-a="h-n4"] { animation: m-h-n4 9s linear infinite; }
  .art [data-a="h-merge"] { animation: m-h-merge 9s linear infinite; }
  .art [data-a="h-ripple"] { animation: m-h-ripple 9s linear infinite; }
  .art [data-a="d-p1"] { animation: m-d-p1 7s linear infinite; }
  .art [data-a="d-l1"] { animation: m-d-l1 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="d-p2"] { animation: m-d-p2 7s linear infinite; }
  .art [data-a="d-l2"] { animation: m-d-l2 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="d-l3"] { animation: m-d-l3 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="d-c1"] { animation: m-d-c1 7s linear infinite; }
  .art [data-a="d-k1"] { animation: m-d-k1 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="d-c2"] { animation: m-d-c2 7s linear infinite; }
  .art [data-a="d-k2"] { animation: m-d-k2 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="d-c3"] { animation: m-d-c3 7s linear infinite; }
  .art [data-a="d-k3"] { animation: m-d-k3 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="n-l1"] { animation: m-n-l1 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="n-l2"] { animation: m-n-l2 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="n-badge"] { animation: m-n-badge 7s linear infinite; }
  .art [data-a="n-ripple"] { animation: m-n-ripple 7s linear infinite; }
  .art [data-a="a-l1"] { animation: m-a-l1 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="a-l2"] { animation: m-a-l2 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="a-l3"] { animation: m-a-l3 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="a-t1"] { animation: m-a-t1 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="a-t2"] { animation: m-a-t2 7s linear infinite; stroke-dasharray: 1; }
  .art [data-a="h-cursor"] { animation: art-blink 1s steps(1) infinite; }
  .art [data-a="a-cursor"] { animation: art-blink 1s steps(1) infinite; }
  .art [data-a="h-star"] { animation: art-twinkle 3s ease-in-out infinite; }
  .art [data-a="a-dot"] { animation: art-twinkle 1.6s ease-in-out infinite; }
  .art [data-a="h-flow"] { animation: art-flow9 1.1s linear infinite; }
  .art [data-a="a-flow"] { animation: art-flow8 1s linear infinite; }
  .art [data-a="a-spin"] { animation: art-spin 1.4s linear infinite; }
  .art [data-a="d-tap"] { animation: d-tap 7s ease-in-out infinite; }
  .art [data-a="a-spin"] { transform-box: view-box; transform-origin: 52px 132px; }
  .art [data-a="d-tap"] { transform-box: fill-box; transform-origin: top left; }
}
@keyframes m-h-type { 0%, 3% { stroke-dashoffset: 1; opacity: 0; } 3.01% { stroke-dashoffset: 1; opacity: 1; } 14% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-h-draw0 { 0%, 10% { stroke-dashoffset: 1; opacity: 0; } 10.01% { stroke-dashoffset: 1; opacity: 1; } 30% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-h-n0 { 0%, 12% { transform: scale(0); opacity: 0; } 12.01% { transform: scale(0); opacity: 1; } 15.25% { transform: scale(1.3); opacity: 1; } 17% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-h-n1 { 0%, 22% { transform: scale(0); opacity: 0; } 22.01% { transform: scale(0); opacity: 1; } 25.25% { transform: scale(1.3); opacity: 1; } 27% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-h-draw1 { 0%, 28% { stroke-dashoffset: 1; opacity: 0; } 28.01% { stroke-dashoffset: 1; opacity: 1; } 52% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-h-n2 { 0%, 34% { transform: scale(0); opacity: 0; } 34.01% { transform: scale(0); opacity: 1; } 37.25% { transform: scale(1.3); opacity: 1; } 39% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-h-n3 { 0%, 44% { transform: scale(0); opacity: 0; } 44.01% { transform: scale(0); opacity: 1; } 47.25% { transform: scale(1.3); opacity: 1; } 49% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-h-draw2 { 0%, 40% { stroke-dashoffset: 1; opacity: 0; } 40.01% { stroke-dashoffset: 1; opacity: 1; } 56% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-h-n4 { 0%, 54% { transform: scale(0); opacity: 0; } 54.01% { transform: scale(0); opacity: 1; } 57.25% { transform: scale(1.3); opacity: 1; } 59% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-h-merge { 0%, 58% { transform: scale(0); opacity: 0; } 58.01% { transform: scale(0); opacity: 1; } 62.55% { transform: scale(1.3); opacity: 1; } 65% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-h-ripple { 0%, 60% { transform: scale(1); opacity: 0; } 60.01% { transform: scale(1); opacity: 0.9; } 88%, 100% { transform: scale(3); opacity: 0; } }
@keyframes m-d-p1 { 0%, 4% { transform: scale(0); opacity: 0; } 4.01% { transform: scale(0); opacity: 1; } 7.25% { transform: scale(1.3); opacity: 1; } 9% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-d-l1 { 0%, 6% { stroke-dashoffset: 1; opacity: 0; } 6.01% { stroke-dashoffset: 1; opacity: 1; } 20% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-d-p2 { 0%, 18% { transform: scale(0); opacity: 0; } 18.01% { transform: scale(0); opacity: 1; } 21.25% { transform: scale(1.3); opacity: 1; } 23% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-d-l2 { 0%, 20% { stroke-dashoffset: 1; opacity: 0; } 20.01% { stroke-dashoffset: 1; opacity: 1; } 34% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-d-l3 { 0%, 34% { stroke-dashoffset: 1; opacity: 0; } 34.01% { stroke-dashoffset: 1; opacity: 1; } 46% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-d-c1 { 0%, 52% { transform: scale(0); opacity: 0; } 52.01% { transform: scale(0); opacity: 1; } 55.25% { transform: scale(1.3); opacity: 1; } 57% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-d-k1 { 0%, 55% { stroke-dashoffset: 1; opacity: 0; } 55.01% { stroke-dashoffset: 1; opacity: 1; } 61% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-d-c2 { 0%, 62% { transform: scale(0); opacity: 0; } 62.01% { transform: scale(0); opacity: 1; } 65.25% { transform: scale(1.3); opacity: 1; } 67% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-d-k2 { 0%, 65% { stroke-dashoffset: 1; opacity: 0; } 65.01% { stroke-dashoffset: 1; opacity: 1; } 71% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-d-c3 { 0%, 72% { transform: scale(0); opacity: 0; } 72.01% { transform: scale(0); opacity: 1; } 75.25% { transform: scale(1.3); opacity: 1; } 77% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-d-k3 { 0%, 75% { stroke-dashoffset: 1; opacity: 0; } 75.01% { stroke-dashoffset: 1; opacity: 1; } 81% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-n-l1 { 0%, 5% { stroke-dashoffset: 1; opacity: 0; } 5.01% { stroke-dashoffset: 1; opacity: 1; } 16% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-n-l2 { 0%, 16% { stroke-dashoffset: 1; opacity: 0; } 16.01% { stroke-dashoffset: 1; opacity: 1; } 46% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-n-badge { 0%, 52% { transform: scale(0); opacity: 0; } 52.01% { transform: scale(0); opacity: 1; } 57.2% { transform: scale(1.3); opacity: 1; } 60% { transform: scale(1); opacity: 1; } 93% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes m-n-ripple { 0%, 56% { transform: scale(1); opacity: 0; } 56.01% { transform: scale(1); opacity: 0.9; } 86%, 100% { transform: scale(3); opacity: 0; } }
@keyframes m-a-l1 { 0%, 5% { stroke-dashoffset: 1; opacity: 0; } 5.01% { stroke-dashoffset: 1; opacity: 1; } 16% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-a-l2 { 0%, 16% { stroke-dashoffset: 1; opacity: 0; } 16.01% { stroke-dashoffset: 1; opacity: 1; } 27% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-a-l3 { 0%, 27% { stroke-dashoffset: 1; opacity: 0; } 27.01% { stroke-dashoffset: 1; opacity: 1; } 38% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-a-t1 { 0%, 44% { stroke-dashoffset: 1; opacity: 0; } 44.01% { stroke-dashoffset: 1; opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes m-a-t2 { 0%, 60% { stroke-dashoffset: 1; opacity: 0; } 60.01% { stroke-dashoffset: 1; opacity: 1; } 68% { stroke-dashoffset: 0; opacity: 1; } 93% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes art-blink { 50% { opacity: 0; } }
@keyframes art-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.15; transform: scale(0.6); } }
@keyframes art-flow9 { to { stroke-dashoffset: -9; } }
@keyframes art-flow8 { to { stroke-dashoffset: -8; } }
@keyframes art-spin { to { transform: rotate(360deg); } }
@keyframes d-tap { 0%, 100% { transform: translate(-10px, -8px); } 42% { transform: translate(0, 0); } 47% { transform: translate(1px, 2px) scale(0.85); } 52% { transform: translate(0, 0); } 70% { transform: translate(0, 0); } }
/* MOTION end */

/* Projects page */
.page-title { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); margin-bottom: 20px; }
.proj-note { margin-top: 10px; font-size: 1rem; }
.hero h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin: clamp(48px, 6vw, 72px) 0 20px; line-height: 1.15; }
.projects { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .projects { grid-template-columns: repeat(3, 1fr); } }
.projects li { display: flex; flex-direction: column; gap: 6px; background: var(--card); border-radius: 18px; padding: 20px 22px; }
.proj-name { font-weight: 500; font-size: 1.0625rem; text-decoration: none; overflow-wrap: anywhere; }
.proj-name:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.projects p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }
.projects .proj-meta { font-size: 0.8125rem; margin-top: auto; padding-top: 4px; }
.projects .tag { align-self: flex-start; background: var(--accent-soft); color: var(--ink); }

.cta-lead { max-width: 40em; margin: -12px 0 clamp(28px, 4vw, 44px); font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); line-height: 1.4; letter-spacing: -0.005em; text-wrap: pretty; }

.example { margin: 16px 0 0; padding: 20px 22px; background: var(--card); border-radius: 18px; display: grid; gap: 10px; }
.example p { color: var(--ink); }
.example strong { font-weight: 500; }
.doc p + .example, .doc .example + p { margin-top: 16px; }
.doc p + ul { margin-top: 12px; }
.doc ul + p { margin-top: 16px; }
.snippet-wrap + p { margin-top: 20px; }
