/* The site's look: the colors and type follow the design in design/site.pen. Dark is the default. */
:root,
[data-theme="dark"] {
  --bg: #1a1d24;
  --bg-inset: #151820;
  --bg-elevated: #1f2229;
  --bg-tertiary: #2a2e38;
  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-muted: #64748b;
  --accent: #22d3ee;
  --accent-muted: rgba(34, 211, 238, 0.12);
  --accent-2: #a78bfa;
  --accent-2-muted: rgba(167, 139, 250, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --error: #f87171;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #e8ecf0;
  --bg-inset: #dce0e5;
  --bg-elevated: #f0f4f8;
  --bg-tertiary: #d0d5db;
  --text: #1e293b;
  --text-2: #475569;
  --text-muted: #64748b;
  --accent: #0891b2;
  --accent-muted: rgba(8, 145, 178, 0.1);
  --accent-2: #7c3aed;
  --accent-2-muted: rgba(124, 58, 237, 0.1);
  --border: rgba(0, 0, 0, 0.1);
  --error: #dc2626;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Space Grotesk", "Zen Kaku Gothic New", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
:lang(ja) body, body:lang(ja) { font-family: "Zen Kaku Gothic New", "Space Grotesk", system-ui, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre, .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
h1, h2, h3 { text-wrap: balance; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; text-wrap: pretty; }
.wrap { max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.wrap.wide { max-width: 1328px; }

/* Header */
.header { border-bottom: 1px solid var(--border); background: var(--bg); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header .left { display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px; letter-spacing: -0.4px; }
.logo .provider { stroke: var(--accent); }
.logo .follower { stroke: var(--accent-2); }
.logo .knot { fill: var(--accent); }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text-2); font-weight: 500; font-size: 15px; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--text); }
.header .right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; padding: 3px; border-radius: 8px; background: var(--bg-inset); border: 1px solid var(--border); }
.lang > * { padding: 5px 10px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.lang > span { background: var(--bg-tertiary); color: var(--text); font-weight: 600; }
.lang a:hover { text-decoration: none; color: var(--text); }
.icon-button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-button:hover { color: var(--text); }
[data-theme="dark"] .when-light, [data-theme="light"] .when-dark { display: none; }

/* Shared pieces */
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.4px; margin: 0; }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: transform .2s var(--ease), background .2s; }
.button:hover { text-decoration: none; }
.button.primary:hover { transform: translateY(-1px); }
.button.secondary:hover { background: var(--bg-tertiary); }
.button.primary { background: var(--accent); color: var(--bg); }
.button.secondary { background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border); }
.chip { display: inline-block; padding: 3px 8px; border-radius: 6px; font: 12px/1.5 "JetBrains Mono", monospace; white-space: nowrap; }
.chip.provides { background: var(--accent-muted); color: var(--accent); }
.chip.follows { background: var(--accent-2-muted); color: var(--accent-2); }
.muted { color: var(--text-muted); }
.graph { background: var(--bg-inset); border: 1px solid var(--border); border-radius: 16px; padding: 24px; overflow-x: auto; display: flex; justify-content: center; }
.graph svg { display: block; max-width: none; }
.graph svg text { fill: var(--text); font: 14px "Space Grotesk", sans-serif; }
.graph .node rect { fill: var(--bg-elevated); stroke: var(--border); stroke-width: 1; }
.graph .node.current rect { stroke: var(--accent); stroke-width: 1.5; }
.graph .node.missing rect { stroke: var(--error); stroke-dasharray: 5 4; }
.graph .node .name { font-weight: 600; }
.graph .node .detail { fill: var(--text-2); font: 11px "JetBrains Mono", monospace; }
.graph .node a:hover rect { stroke: var(--accent); }
.graph .edge .line { fill: none; stroke: var(--text-muted); stroke-width: 1.5; stroke-linecap: round; }
.graph .edge .tail { fill: none; stroke: var(--accent); stroke-linecap: round; }
.graph .edge .dot { fill: #e6fbff; filter: drop-shadow(0 0 2px var(--accent)) drop-shadow(0 0 6px var(--accent)); }
[data-theme="light"] .graph .edge .dot { fill: var(--accent); }
.graph .edge .chevron { fill: none; stroke: var(--text-muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.graph .edge .chevron.flash { stroke: var(--accent); opacity: 0; filter: drop-shadow(0 0 4px var(--accent)); }
.graph .edge .port { fill: var(--bg-inset); stroke: var(--text-muted); stroke-width: 1.5; }
.graph .edge text { fill: var(--text-2); font: 11px "JetBrains Mono", monospace; }

/* Home */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 72px; align-items: center; padding: 88px 0 120px; }
.hero h1 { font-size: 56px; line-height: 1.05; letter-spacing: -1.6px; margin: 20px 0 24px; }
:lang(ja) .hero h1 { letter-spacing: -0.5px; line-height: 1.2; }
.hero .lead { color: var(--text-2); font-size: 18px; margin: 0 0 28px; max-width: 34em; }
.install { width: 440px; max-width: 100%; margin-bottom: 24px; border-radius: 12px; background: var(--bg-inset); border: 1px solid var(--border); overflow: hidden; }
.tabs { display: flex; gap: 20px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.tabs button { all: unset; cursor: pointer; padding: 10px 0 9px; font: 13px "JetBrains Mono", monospace; color: var(--text-muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.tabs button:hover { color: var(--text-2); }
.tabs button[aria-selected="true"] { color: var(--text); border-color: var(--accent); font-weight: 600; }
.tabs button:focus-visible, .copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cmd { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; font: 14px "JetBrains Mono", monospace; }
.cmd .p { color: var(--text-muted); }
.cmd .t { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; }
.copy { all: unset; cursor: pointer; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--text-muted); transition: background .2s, color .2s; }
.copy:hover { background: var(--bg-tertiary); color: var(--text); }
.copy.done { color: var(--accent); }

/* Home: the binding diagram */
.binding { position: relative; margin: 0; }
.card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.binding .provider { border-color: var(--accent); }
.binding .head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--text); }
.binding a.head:hover { text-decoration: none; background: var(--bg-tertiary); }
.binding .head .name { font-weight: 600; }
.prow { position: relative; display: flex; gap: 12px; align-items: center; padding: 10px 18px; font: 13px "JetBrains Mono", monospace; }
.prow > * { position: relative; }
.prow .c { color: var(--accent); font-size: 14px; }
.prow .v { color: var(--text-2); min-width: 3.6em; transition: color .3s; }
.prow .f { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); }
.prow .flash { position: absolute; inset: 0; background: var(--accent-muted); opacity: 0; transition: opacity .4s; }
.prow.changed .flash { opacity: 1; }
.prow.changed .v { color: var(--text); }
.badge { padding: 2px 7px; border-radius: 5px; font: 600 11px "Space Grotesk", "Zen Kaku Gothic New", sans-serif; color: var(--accent-2); background: var(--accent-2-muted); opacity: 0; transform: translateY(3px); transition: opacity .3s, transform .3s var(--ease); }
.prow.changed .badge { opacity: 1; transform: none; }
.cord { position: relative; height: 72px; display: grid; place-items: center; }
.cord .line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent); transform-origin: top; }
.cord .label { position: relative; z-index: 1; display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--accent); color: var(--accent); font: 12px "JetBrains Mono", monospace; }
.pulse { position: absolute; z-index: 2; left: 50%; top: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-muted), 0 0 14px var(--accent); opacity: 0; }
.frow { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--border); color: var(--text); font-size: 14px; font-weight: 500; }
.frow:last-child { border-bottom: 0; }
a.frow:hover { text-decoration: none; background: var(--bg-tertiary); }
.frow.more { color: var(--text-2); font: 12px "JetBrains Mono", monospace; }
.frow .bar { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--accent); opacity: 0; transition: opacity .3s; }
.frow .st { position: relative; flex: none; width: 16px; height: 16px; }
.frow .st svg { position: absolute; inset: 0; }
.frow .tick { stroke: var(--accent); }
.frow .tick path { stroke-dasharray: 12; stroke-dashoffset: 0; }
.frow .spin { opacity: 0; stroke: var(--accent-2); animation: spin .8s linear infinite; }
.frow .spin circle { stroke-dasharray: 26 40; }
.frow .n { flex: 1; }
.frow .s { font: 12px "JetBrains Mono", monospace; color: var(--text-muted); transition: color .3s; }
.frow.checking .tick { opacity: 0; }
.frow.checking .spin { opacity: 1; }
.frow.checking .s { color: var(--accent-2); }
.frow.checking .bar { background: var(--accent-2); opacity: 1; }
.frow.rechecked .tick path { animation: draw .5s var(--ease) both; }
.frow.rechecked .s { color: var(--accent); }
.frow.rechecked .bar { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { from { stroke-dashoffset: 12; } to { stroke-dashoffset: 0; } }

/* Home: the hero draws itself once, then the provider's version goes up in a loop */
.hero.motion .draw { animation: rise .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
.hero.motion .cord .line { animation: grow .6s var(--ease) .9s both; }
.hero.motion .cord .label { animation: pop .45s var(--ease) 1.3s both; }
.hero.motion .frow { animation: slide .5s var(--ease) both; animation-delay: calc(1500ms + var(--i, 0) * 110ms); }
.hero.motion .frow .tick path { animation: draw .5s var(--ease) both; animation-delay: calc(1800ms + var(--i, 0) * 110ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes slide { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* Home: sections */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2 { font-size: 36px; line-height: 1.15; letter-spacing: -.6px; margin: 20px 0 0; }
.sec-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 44px; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 120px; padding: 0; list-style: none; }
.step .num { font: 600 13px "JetBrains Mono", monospace; color: var(--accent); }
.step h3 { font-size: 20px; margin: 8px 0; }
.step p { color: var(--text-2); font-size: 15px; line-height: 1.55; margin: 0 0 16px; min-height: 4.65em; }
.code { border-radius: 12px; background: var(--bg-inset); border: 1px solid var(--border); overflow: hidden; }
.code .ch { padding: 10px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); font: 12px "JetBrains Mono", monospace; }
.code pre { margin: 0; padding: 14px 16px 16px; min-height: 200px; overflow-x: auto; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.code .key { color: var(--text); }
.code .k { color: var(--accent); }
.code .k2 { color: var(--accent-2); }
.code pre.term { white-space: pre-wrap; overflow-wrap: anywhere; }
.term .line-cmd { color: var(--text); }
.term .line-out { color: var(--text-muted); }
.term .line-err { color: var(--error); }
.term .line-ok { color: var(--accent); }
.caret { display: inline-block; width: 7px; height: 15px; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; margin-bottom: 120px; }
.col .chd { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 13px; font-weight: 600; letter-spacing: .3px; }
.col .empty { padding: 16px 18px; }
.irow { display: flex; gap: 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--border); color: var(--text); transition: background .2s; }
.irow:hover { text-decoration: none; background: var(--bg-tertiary); }
.irow .i { font: 12px "JetBrains Mono", monospace; color: var(--text-muted); }
.irow .t { flex: 1; min-width: 0; }
.irow .t b { display: block; font-size: 15px; }
.irow .t span { display: block; font: 12px "JetBrains Mono", monospace; color: var(--text-muted); overflow-wrap: anywhere; }
.irow .r { flex: none; font: 12px "JetBrains Mono", monospace; color: var(--accent); }
.nums { display: flex; gap: 32px; padding: 16px 18px 20px; }
.nums strong { display: block; font-size: 28px; letter-spacing: -.5px; }
.nums span { color: var(--text-2); font-size: 14px; }
.next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 96px; }
.ncard { display: block; padding: 28px; border-radius: 16px; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text); transition: transform .25s var(--ease), border-color .25s; }
.ncard:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--accent); }
.ncard > svg { color: var(--accent); }
.ncard h3 { font-size: 22px; margin: 14px 0 10px; }
.ncard p { color: var(--text-2); font-size: 15px; line-height: 1.55; margin: 0 0 14px; }
.ncard .go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }

/* Skills list */
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 56px 0 28px; }
.page-title h1 { font-size: 40px; letter-spacing: -0.8px; margin: 0 0 8px; }
.page-title p { margin: 0; color: var(--text-2); }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0 0 28px; }
.pager a, .pager span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); color: var(--text-2); font-size: 14px; font-weight: 500; }
.pager [aria-current="page"] { border-color: var(--accent); background: var(--accent-muted); color: var(--accent); font-weight: 600; }
.pager .disabled { color: var(--text-muted); }
.pager a:hover { text-decoration: none; color: var(--text); }
.skills { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin: 0 0 28px; }
.skills th { text-align: left; font-size: 13px; color: var(--text-muted); font-weight: 600; background: var(--bg-inset); padding: 12px 20px; }
.skills td { padding: 16px 20px; border-top: 1px solid var(--border); vertical-align: middle; transition: background .2s; }
.skills tbody tr:hover td { background: var(--bg-elevated); }
.skills .name { font-weight: 600; color: var(--text); display: block; }
.skills .repo { font: 12px "JetBrains Mono", monospace; color: var(--text-muted); }
.skills .stack { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.skills .inline { display: flex; flex-wrap: wrap; gap: 6px; }
.skills .count { font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Skill page */
.skill { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; padding: 40px 0 96px; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); margin-bottom: 28px; }
.title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.title-row h1 { font-size: 40px; letter-spacing: -0.8px; margin: 0; }
.role { padding: 4px 10px; border-radius: 6px; background: var(--accent-muted); color: var(--accent); font-size: 13px; font-weight: 600; }
.role.consumer { background: var(--accent-2-muted); color: var(--accent-2); }
.skill .description { color: var(--text-2); font-size: 17px; margin: 28px 0; }
.hint { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; margin-top: 16px; }
.panel { align-self: start; display: flex; flex-direction: column; gap: 28px; padding: 24px; border-radius: 16px; background: var(--bg-elevated); border: 1px solid var(--border); }
.panel h2 { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-muted); }
.panel .source { display: flex; align-items: center; gap: 10px; font: 13px "JetBrains Mono", monospace; color: var(--text); word-break: break-all; margin-bottom: 8px; }
.panel .source svg { flex: none; color: var(--text-2); }
.content { padding: 12px 14px; border-radius: 10px; background: var(--bg-inset); margin-bottom: 8px; }
.content .top { display: flex; justify-content: space-between; align-items: center; }
.content .top strong { font-size: 15px; }
.content .file { font: 12px "JetBrains Mono", monospace; color: var(--text-2); margin-top: 6px; }
.content .file.check { color: var(--text-muted); }
.people { list-style: none; margin: 0; padding: 0; }
.people li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.people li .repo { display: block; font: 11px "JetBrains Mono", monospace; color: var(--text-muted); font-weight: 400; }
.people a { color: var(--text); }
.empty { color: var(--text-muted); font-size: 14px; margin: 0; }

/* Definition */
.definition { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; padding: 56px 0 96px; }
.toc { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.toc strong { font-size: 13px; color: var(--text-muted); letter-spacing: 0.6px; margin-bottom: 4px; }
.toc a { padding: 7px 12px; border-radius: 8px; color: var(--text-2); font-size: 14px; font-weight: 500; border-left: 2px solid transparent; }
.toc a.sub { padding-left: 24px; font-size: 13px; }
.toc a:hover { text-decoration: none; color: var(--text); background: var(--bg-elevated); }
.article { max-width: 820px; }
.article .version { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.article .version .chip { background: var(--accent-2-muted); color: var(--accent-2); }
.article h1 { font-size: 44px; letter-spacing: -0.6px; margin: 20px 0; }
.article h2 { font-size: 28px; margin: 48px 0 16px; scroll-margin-top: 88px; }
.article h3 { font-size: 20px; margin: 32px 0 12px; scroll-margin-top: 88px; }
.article p, .article li { color: var(--text-2); line-height: 1.8; }
.article code { font-size: 0.88em; color: var(--text); background: var(--bg-elevated); padding: 1px 5px; border-radius: 5px; }
.article pre { background: var(--bg-inset); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; overflow-x: auto; }
.article pre code { background: none; padding: 0; font-size: 13px; line-height: 1.6; color: var(--text-2); }
.article .table { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; margin: 20px 0; }
.article table { border-collapse: collapse; width: 100%; }
.article th { text-align: left; background: var(--bg-inset); color: var(--text-muted); font-size: 12px; padding: 10px 16px; }
.article td { border-top: 1px solid var(--border); padding: 11px 16px; color: var(--text-2); font-size: 14px; vertical-align: top; }

/* Footer */
.footer { border-top: 1px solid var(--border); }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: var(--text-muted); }
.footer .versions { display: flex; gap: 20px; font-family: "JetBrains Mono", monospace; }

@media (max-width: 960px) {
  .hero, .skill, .definition { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { gap: 48px; padding: 48px 0 88px; }
  .hero h1 { font-size: 40px; }
  .steps, .cols, .next { grid-template-columns: minmax(0, 1fr); }
  .step p { min-height: 0; }
  .sec-row { display: block; }
  .toc { position: static; }
  .page-title { flex-direction: column; align-items: flex-start; }
  .header .left { gap: 20px; }
  .nav { gap: 16px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .header .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand right" "nav nav"; height: auto; padding-top: 12px; }
  .header .left { display: contents; }
  .brand { grid-area: brand; }
  .header .right { grid-area: right; gap: 8px; }
  .nav { grid-area: nav; gap: 20px; padding: 8px 0 10px; }
  .nav a { font-size: 14px; }
  .hero h1 { font-size: 36px; }
  .install { width: 100%; }
  .prow .f { display: none; }
  .skills th:nth-child(2), .skills td:nth-child(2), .skills th:nth-child(4), .skills td:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* The light on the graph's lines is SVG animation, which the rule above does not stop. */
  .graph .edge .tail, .graph .edge .dot, .graph .edge .flash { display: none; }
}
