  :root { --bg:#f6f3ec; --fg:#1d2328; --muted:#5c656c; --accent:#b4532a; --line:#d9d3c6; }
  @media (prefers-color-scheme: dark) {
    :root { --bg:#14181b; --fg:#ece8df; --muted:#9aa3a9; --accent:#e07a4f; --line:#2c3338; }
  }
  * { box-sizing:border-box; }
  html,body { margin:0; background:var(--bg); color:var(--fg); }
  body { font-family:"Noto Sans", system-ui, sans-serif; line-height:1.55;
         min-height:100vh; display:flex; flex-direction:column; align-items:center; padding:48px 16px; }
  main { width:100%; max-width:560px; text-align:center; }
  svg { width:min(70vw, 260px); height:auto; cursor:pointer; display:block; margin:0 auto; }
  svg path { fill:none; stroke-linecap:round; stroke-linejoin:round; }
  .k { stroke:var(--fg); stroke-width:16; }
  .bar { stroke:var(--accent); stroke-width:16; }
  .draw { stroke-dasharray:var(--len); stroke-dashoffset:var(--len);
          animation:draw .7s ease-out forwards; animation-delay:var(--d); }
  .p1 { --len:210; --d:.2s; } .p2 { --len:110; --d:.8s; } .p3 { --len:90; --d:1.3s; } .p4 { --len:70; --d:1.9s; }
  @keyframes draw { to { stroke-dashoffset:0; } }
  h1 { font-size:2.4rem; font-weight:600; margin:24px 0 4px; letter-spacing:.01em; }
  .puny { font-family:ui-monospace, Menlo, monospace; color:var(--muted); font-size:.95rem; margin:0 0 28px; }
  .fade { opacity:0; animation:fade .8s ease-out 2.6s forwards; }
  @keyframes fade { to { opacity:1; } }
  p { margin:0 0 16px; }
  .lead { font-size:1.15rem; }
  ul { list-style:none; padding:0; margin:28px 0 0; border-top:1px solid var(--line); }
  li { border-bottom:1px solid var(--line); }
  a { color:var(--fg); text-decoration:none; display:block; padding:12px 4px; }
  a:hover { color:var(--accent); }
  a span { color:var(--muted); font-size:.9rem; display:block; }
  footer { margin-top:40px; font-size:.9rem; color:var(--muted); }
  footer a { display:inline; padding:0; color:var(--muted); text-decoration:underline; }
  .hint { font-size:.8rem; color:var(--muted); margin-top:6px; }
  @media (prefers-reduced-motion: reduce) {
    .draw { animation:none; stroke-dashoffset:0; }
    .fade { animation:none; opacity:1; }
  }
  article { text-align:left; margin-top:36px; }
  h2 { font-size:1.2rem; font-weight:600; margin:32px 0 10px; }
  .cousins { display:grid; grid-template-columns:auto 1fr; gap:10px 16px; margin:0; }
  .cousins dt { font-size:1.5rem; line-height:1.2; white-space:nowrap; }
  .cousins dd { margin:0; }
  .src { font-size:.85rem; color:var(--muted); margin-top:24px; }
