/* Mayfly: warm and light, taken from the logo's dusk. */
@font-face { font-family: 'Fraunces'; src: url(fonts/fraunces.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url(fonts/nunito-sans.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }

/* Each section fills one screen and no more, so sizes follow the screen's height as well as its width. */
:root {
  --paper: #FFF8EB;
  --paper-2: #FFEFD3;
  --card: #FFFDF8;
  --line: #EBDCC0;
  --ink: #2A1E3F;
  --text: #54496B;
  --muted: #6E6382;
  --gold: #FFE7A8;
  --orange: #FF9A52;
  --rose: #E2475E;
  --rose-deep: #B8324A;
  --dusk: linear-gradient(180deg, #FFE7A8 0%, #FF9A52 58%, #E2475E 100%);
  --serif: 'Fraunces', Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --nav: 64px;
  --screen: calc(100svh - var(--nav));
  --pad: clamp(14px, 4svh, 56px);
  --gap: clamp(8px, 2.2svh, 22px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.5 'Nunito Sans', Arial, sans-serif; }
h1, h2, h3, h4, h5, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }

.wrap { width: min(100% - 40px, 1160px); margin-inline: auto; }
main > section, .close { display: flex; flex-direction: column; justify-content: center; min-height: var(--screen); padding-block: var(--pad); }
.center { text-align: center; }

/* Type. */
h1, h2 { font-family: var(--serif); font-weight: 600; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, min(1.2rem + 4.6vw, 9svh), 5.25rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, min(1rem + 3vw, 6.5svh), 3.5rem); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 1.0625rem; font-weight: 800; line-height: 1.25; color: var(--ink); }
.eyebrow { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-deep); }
.lede { font-size: clamp(1rem, min(0.9rem + 0.5vw, 2.9svh), 1.3125rem); line-height: 1.45; text-wrap: pretty; }
.note { font-size: 0.875rem; color: var(--muted); }
.head { display: grid; justify-items: center; gap: clamp(6px, 1.4svh, 14px); max-width: 960px; margin: 0 auto clamp(14px, 4svh, 48px); text-align: center; }

/* Data set apart, as in the product. */
.chip { font: 0.875rem/1.3 var(--mono); color: var(--ink); background: var(--paper-2); border-radius: 8px; padding: 3px 9px; white-space: nowrap; }
.chip.light { background: var(--card); }

/* Icons are Tabler's or drawn in their style, coloured by the text around them. */
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i .accent { stroke: var(--rose); }
.i .fill { fill: var(--orange); stroke: none; }

/* Buttons. */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: clamp(8px, 1.6svh, 12px) 22px; border: 2px solid var(--ink); border-radius: 999px; background: transparent; font-weight: 800; line-height: 1.2; text-decoration: none; color: var(--ink); cursor: pointer; transition: transform 140ms ease-out, background 140ms, color 140ms; }
.button.primary { background: var(--ink); color: var(--paper); }
.button.small { padding: 7px 15px; font-size: 0.9375rem; }
.button:hover { transform: translateY(-2px); }
:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 3px; }

/* Sections slide in as they arrive. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease-out, transform 700ms ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

/* The bar stays on top and turns to paper once the page scrolls. */
.nav { position: sticky; top: 0; z-index: 10; height: var(--nav); transition: background 200ms, box-shadow 200ms; }
.nav.scrolled { background: rgb(255 248 235 / 0.9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 1.5rem var(--serif); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.nav-end { display: flex; align-items: center; gap: 28px; }
.nav-end > a:not(.button) { font-weight: 700; color: var(--ink); text-decoration: none; }
.nav-end > a:not(.button):hover { text-decoration: underline; text-underline-offset: 4px; }

/* The cover: a sky at dusk, a sun that sets as the page scrolls, and Mayfly at work. */
.hero { position: relative; display: flex; align-items: center; min-height: 100svh; overflow: hidden; margin-top: calc(-1 * var(--nav)); padding: calc(var(--nav) + var(--pad)) 0 calc(var(--pad) + 30px); background: var(--dusk); color: var(--ink); }
.sun { position: absolute; right: -6vw; bottom: -30vw; width: 64vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: #FFF3D1; opacity: 0.75; }
.water { position: absolute; inset: auto 0 clamp(10px, 3svh, 28px); display: grid; justify-items: center; gap: clamp(6px, 1.4svh, 14px); }
.water span { height: clamp(5px, 0.9svh, 8px); border-radius: 4px; background: #FFF3D1; opacity: 0.75; }
.water span:nth-child(1) { width: min(70%, 820px); }
.water span:nth-child(2) { width: min(46%, 540px); }
.water span:nth-child(3) { width: min(22%, 260px); }
@supports (animation-timeline: scroll()) {
  .hero .sun { animation: set linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes set { to { transform: translateY(26%); opacity: 0.45; } }
}
.hero > .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-text { display: grid; justify-items: start; gap: clamp(10px, 2.4svh, 22px); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: rgb(255 253 248 / 0.6); font-size: 0.875rem; font-weight: 800; }
.hero .lede { max-width: 34ch; color: var(--ink); }

/* The recording, with the mayfly perched on top, as tall as the screen allows. */
.demo-wrap { --fly: clamp(56px, 13svh, 130px); position: relative; justify-self: center; width: fit-content; max-width: 100%; margin-top: calc(var(--fly) * 0.72); }
.fly { position: absolute; top: calc(var(--fly) * -0.76); right: 40px; width: var(--fly); pointer-events: none; }
.wing { transform-box: fill-box; transform-origin: 15% 100%; }
.demo-wrap video { width: auto; max-width: 100%; max-height: calc(100svh - var(--nav) - 2 * var(--pad) - 30px - var(--fly) * 0.72); border-radius: 18px; box-shadow: 0 40px 80px -30px rgb(42 30 63 / 0.55), 0 0 0 1px rgb(42 30 63 / 0.06); background: var(--card); }

/* Apps: the words and the choice of app beside two phones and the computer between them. */
.apps { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 4vw, 64px); }
.apps-text { display: grid; justify-items: start; gap: var(--gap); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 2px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 0.9375rem var(--mono); cursor: pointer; transition: background 140ms, border-color 140ms; }
.tab .i { width: 22px; height: 22px; stroke-width: 1.6; }
.tab[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); }
.pillars { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink); font-weight: 800; }
.pillars li { display: flex; align-items: center; gap: 10px; }
.pillars .i { color: var(--rose-deep); }

.duo { --phone-h: clamp(300px, calc(var(--screen) - 2 * var(--pad) - 48px), 540px); display: grid; grid-template-columns: auto clamp(56px, 8vw, 140px) auto; align-items: center; gap: 8px; }
.person { display: grid; justify-items: center; gap: 8px; }
.person p { font-size: 0.875rem; color: var(--ink); text-align: center; }

/* A phone is drawn in em, so it scales from one font size set by its height. */
.phone { width: calc(var(--phone-h) * 0.504); height: var(--phone-h); padding: 0.75em; border-radius: 2.8em; background: var(--ink); box-shadow: 0 30px 60px -28px rgb(42 30 63 / 0.6); font-size: calc(var(--phone-h) / 36); }
.screen { display: flex; flex-direction: column; height: 100%; border-radius: 2.1em; background: #fff; overflow: hidden; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; line-height: 1.4; color: #1E1E24; }
.statusbar { display: flex; justify-content: space-between; padding: 1em 1.8em 0.3em; font-size: 0.75em; font-weight: 700; }
.appbar { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5em; padding: 0.6em 1.2em 0.7em; }
.appbar h4 { font-size: 1.3em; }
.appbar a { font-size: 0.85em; color: #3B5BDB; }
.screen-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0.75em; padding: 0 1.2em 1.2em; overflow-y: auto; }
.screen h5 { margin-top: 0.4em; font-size: 0.75em; letter-spacing: 0.08em; text-transform: uppercase; color: #6B6B76; }
.app-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; padding: 0.65em 0.8em; border: 0; border-radius: 0.65em; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }
.app-button .i { width: 1.05em; height: 1.05em; stroke-width: 2.4; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.entries { display: grid; gap: 0.4em; }
.entry { display: flex; align-items: center; gap: 0.6em; padding: 0.55em 0.65em; border-radius: 0.65em; background: #F4F4F6; }
.entry .by { margin-left: auto; font-size: 0.8em; color: #6B6B76; }
.entry input { width: 1.15em; height: 1.15em; margin: 0; accent-color: var(--accent); }
.entry.done span:first-of-type { color: #8A8A94; text-decoration: line-through; }
.entry .tick { display: grid; color: var(--accent); }
.entry .tick .i { width: 1em; height: 1em; }
.entry .tick.no { color: #C4C4CC; }
.big { padding: 0.9em; border-radius: 0.9em; background: color-mix(in srgb, var(--accent) 12%, #fff); }
.big strong { display: block; font-size: 1.8em; line-height: 1.1; }
.bar { height: 0.65em; margin-top: 0.4em; border-radius: 0.33em; background: #EDEDF1; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); }
.add { display: flex; gap: 0.4em; }
.add input { flex: 1; width: 100%; min-width: 0; padding: 0.5em 0.65em; border: 1px solid #D5D5DC; border-radius: 0.65em; }
.flash { animation: flash 1200ms ease-out; }
@keyframes flash { from { background: var(--gold); } }

.link { position: relative; display: grid; justify-items: center; gap: 8px; color: var(--ink); font-size: 0.8125rem; font-weight: 800; text-align: center; }
.link::before { content: ""; position: absolute; top: 31px; left: 0; right: 0; border-top: 3px dashed var(--line); z-index: -1; }
.link .badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--card); border: 2px solid var(--line); }
.link .badge .i { width: 32px; height: 32px; stroke-width: 1.6; }
.beam { position: absolute; top: 25px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgb(255 154 82 / 0.25); opacity: 0; }
.beam.right { animation: beam-right 650ms ease-in-out; }
.beam.left { animation: beam-left 650ms ease-in-out; }
@keyframes beam-right { from { left: 0; opacity: 1; } to { left: calc(100% - 14px); opacity: 1; } }
@keyframes beam-left { from { left: calc(100% - 14px); opacity: 1; } to { left: 0; opacity: 1; } }

/* The problem: one leak in ten, and hosts that close. */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { display: grid; align-content: start; gap: clamp(8px, 1.8svh, 18px); padding: clamp(16px, 3.6svh, 44px); border: 2px solid var(--line); border-radius: 28px; background: var(--card); }
.num { font-family: var(--serif); font-size: clamp(2.25rem, min(2.5rem + 3vw, 8svh), 5rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--rose-deep); }
.panel .lede { color: var(--ink); font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(6px, 1.2svh, 10px); width: min(100%, clamp(200px, 42svh, 340px)); }
.tiles span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 22%; background: var(--paper-2); color: var(--muted); transition: background 500ms, color 500ms, transform 500ms; }
.tiles .i { width: 45%; height: 45%; stroke-width: 1.6; }
.tiles .leak .open { display: none; }
.tiles.in .leak { background: var(--rose); color: #fff; transform: scale(1.08); transition-delay: 600ms; }
.tiles.in .leak .open { display: block; }
.tiles.in .leak .shut { display: none; }
.timeline { position: relative; display: grid; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 7px; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 84px 1fr auto; align-items: baseline; gap: 0 12px; padding: clamp(2px, 0.7svh, 8px) 0; color: var(--ink); }
.timeline li::before { content: ""; position: absolute; left: -27px; top: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--rose-deep); background: var(--card); }
.timeline li.past::before { background: var(--rose-deep); }
.timeline time { font: 0.875rem var(--mono); color: var(--muted); }
.timeline a { font-weight: 800; }
.timeline .what { font-size: 0.875rem; color: var(--muted); }
.timeline li.past a { text-decoration-color: var(--rose); }
.timeline .today { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.timeline .today::before { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 0 5px rgb(255 154 82 / 0.25); }

/* How it works: the model's one file beside what Mayfly does. */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(16px, 2.5vw, 32px); align-items: start; }
.code { border-radius: 20px; background: var(--ink); color: #F1E8DA; box-shadow: 0 30px 60px -30px rgb(42 30 63 / 0.6); overflow: hidden; }
.code header { display: flex; align-items: center; gap: 10px; padding: clamp(8px, 1.8svh, 14px) 20px; border-bottom: 1px solid rgb(255 255 255 / 0.08); font-size: 0.875rem; }
.code header .chip { background: rgb(255 255 255 / 0.1); color: #F1E8DA; }
.code header p { margin-left: auto; color: #B9AECB; }
.code pre { margin: 0; padding: clamp(10px, 2.4svh, 20px) 20px; overflow-x: auto; font: clamp(0.625rem, 1.8svh, 0.8125rem)/1.55 var(--mono); }
.code .k { color: #FF9A52; }
.code .s { color: #FFD98A; }
.code .t { color: #F7A6B2; }
.code .c { color: #9C90B0; }
.duties { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.6svh, 14px); }
.duty { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 2px 12px; padding: clamp(10px, 2.2svh, 20px); border: 2px solid var(--line); border-radius: 18px; background: var(--card); transition: transform 160ms ease-out, border-color 160ms; }
.duty:hover { transform: translateY(-3px); border-color: var(--orange); }
.duty .i { grid-row: span 2; width: 28px; height: 28px; stroke-width: 1.6; color: var(--ink); }
.duty p { font-size: 0.875rem; line-height: 1.4; }

/* The architecture: pick a path and the rest of the drawing steps back. */
.hood { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3vw, 48px); }
.hood-text { display: grid; justify-items: start; gap: var(--gap); }
.flows { display: grid; gap: 10px; }
.flows .button { justify-content: flex-start; }
.flows .button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.flow-says { min-height: 3em; font-weight: 700; color: var(--ink); }
.scroll { overflow-x: auto; }
.arch { display: block; width: 100%; height: auto; max-height: calc(var(--screen) - 2 * var(--pad)); color: var(--ink); font-family: 'Nunito Sans', Arial, sans-serif; }
.arch .area { fill: var(--paper-2); }
.arch .podman { fill: var(--card); stroke: var(--line); stroke-width: 2; }
.arch .pod { fill: var(--gold); }
.arch .label { font-size: 24px; font-weight: 800; letter-spacing: 3px; fill: var(--rose-deep); }
.arch .node rect { fill: var(--card); stroke: var(--line); stroke-width: 2; }
.arch .node.gold rect { fill: var(--gold); stroke: var(--gold); }
.arch .node text { font-size: 30px; font-weight: 800; fill: var(--ink); text-anchor: middle; }
.arch .wire { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.arch .wire.rose { stroke: var(--rose-deep); }
.arch .node, .arch .wire { transition: opacity 300ms; }
.arch[data-flow] [data-in] { opacity: 0.22; }
.arch[data-flow="browser"] [data-in~="browser"], .arch[data-flow="phone"] [data-in~="phone"], .arch[data-flow="make"] [data-in~="make"] { opacity: 1; }
.arch[data-flow="browser"] .wire[data-in~="browser"], .arch[data-flow="phone"] .wire[data-in~="phone"], .arch[data-flow="make"] .wire[data-in~="make"] { stroke-dasharray: 12 10; animation: march 700ms linear infinite; }
@keyframes march { to { stroke-dashoffset: -22px; } }

/* The alternatives, a row each, Mayfly's row in gold. */
.compare { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; }
.compare :is(th, td) { padding: clamp(8px, 2.2svh, 18px) 16px; text-align: center; vertical-align: middle; }
.compare thead th { color: var(--ink); font-weight: 800; }
.compare tbody :is(th, td) { border-top: 2px solid var(--line); }
.compare tbody th { text-align: left; }
.compare .us :is(th, td) { background: var(--gold); border-top-color: var(--gold); color: var(--ink); font-weight: 700; }
.compare .us th { border-radius: 16px 0 0 16px; }
.compare .us td:last-child { border-radius: 0 16px 16px 0; }
.awake { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: clamp(14px, 4svh, 36px); color: var(--ink); font-weight: 700; }
.sources { margin-top: 10px; text-align: center; }

/* The close: dusk again, and how to start. */
.close { position: relative; overflow: hidden; background: var(--dusk); color: var(--ink); }
.close .sun { left: 50%; right: auto; bottom: -50vw; translate: -50% 0; }
.close .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(10px, 2.4svh, 22px); text-align: center; }
.close img { width: clamp(56px, 12svh, 112px); filter: drop-shadow(0 18px 30px rgb(42 30 63 / 0.3)); }
.close h2 { font-size: clamp(2rem, min(1.2rem + 5vw, 9svh), 5rem); }
.close .lede { color: var(--ink); }
.install { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(6px, 1.4svh, 10px); width: min(100%, 620px); padding: clamp(12px, 2.4svh, 18px); border-radius: 20px; background: rgb(255 253 248 / 0.75); }
.install p { font-size: 0.9375rem; font-weight: 700; }
.copy { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); }
.copy code { flex: 1; min-width: 0; overflow-x: auto; font: 0.875rem var(--mono); text-align: left; white-space: nowrap; }
.copy .button { border-color: var(--paper); color: var(--paper); }
.install .note { color: var(--ink); }

footer { padding-block: 24px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
footer .brand { font-size: 1.125rem; }
footer .brand img { width: 24px; height: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sun, .arch .wire, .beam, .flash { animation: none !important; }
}

/* Tablets: one column, with the drawing under its words. */
@media (max-width: 900px) {
  .hero > .wrap, .apps, .hood { grid-template-columns: minmax(0, 1fr); }
  .demo-wrap { --fly: clamp(56px, 8svh, 90px); }
  .demo-wrap video { max-height: calc(100svh - var(--nav) - 2 * var(--pad) - 30px - var(--fly) * 0.72 - 400px); }
  .hero .lede { max-width: 52ch; }
  .nav-end > a:not(.button) { display: none; }
  .sun { width: 120vw; right: -40vw; bottom: -40vw; }
  .apps-text, .hood-text { justify-items: center; text-align: center; }
  .apps .tabs { justify-content: center; }
  .pillars, .hood .note { display: none; }
  .duo { justify-content: center; --phone-h: clamp(300px, calc(var(--screen) - 2 * var(--pad) - 260px), 540px); }
  .flows { display: flex; flex-wrap: wrap; justify-content: center; }
  .flow-says { min-height: 0; }
  .arch { min-width: 760px; }
}

/* Phones: less around each section, two phones side by side, and cards to swipe. */
@media (max-width: 680px) {
  :root { --pad: clamp(12px, 3svh, 28px); }
  .wrap { width: min(100% - 32px, 1160px); }
  .hero .lede, .apps .lede { display: none; }
  .hero > .wrap { gap: var(--gap); }
  .hero .button { padding-inline: 16px; }
  .demo-wrap { --fly: 56px; }
  .demo-wrap video { max-height: none; border-radius: 12px; }

  .tab { padding: 6px 10px; font-size: 0.75rem; }
  .tab .i { display: none; }
  .duo { --phone-h: clamp(260px, min(calc((100vw - 68px) * 0.992), calc(var(--screen) - 2 * var(--pad) - 210px)), 540px); grid-template-columns: auto 24px auto; gap: 4px; }
  .phone { font-size: calc(var(--phone-h) / 31); }
  .person p { font-size: 0.75rem; }
  .person .chip { font-size: 0.6875rem; padding: 2px 6px; }
  .link > span:not(.badge) { display: none; }
  .link::before { top: 13px; }
  .link .badge { width: 28px; height: 28px; border-width: 1.5px; }
  .link .badge .i { width: 16px; height: 16px; }
  .beam { top: 9px; width: 10px; height: 10px; }
  @keyframes beam-right { from { left: 0; opacity: 1; } to { left: calc(100% - 10px); opacity: 1; } }
  @keyframes beam-left { from { left: calc(100% - 10px); opacity: 1; } to { left: 0; opacity: 1; } }

  .swipe { display: flex; gap: 12px; margin-inline: -16px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 86%; scroll-snap-align: center; }
  .num { font-size: 2.25rem; }
  .panel { gap: 8px; padding: 14px 16px; }
  .panel .lede { font-size: 0.9375rem; }
  .timeline li { grid-template-columns: 70px 1fr; padding-block: 3px; line-height: 1.3; }
  .timeline .what { grid-column: 2; font-size: 0.8125rem; }
  .split .lede { display: none; }
  #how .lede { display: none; }
  .duties { grid-template-columns: 1fr; gap: 4px; align-content: center; padding: 8px 16px; border: 2px solid var(--line); border-radius: 20px; background: var(--card); }
  .duty { padding: 4px 0; border: 0; background: none; }
  .duty p { line-height: 1.3; }
  .duty .i { width: 22px; height: 22px; }
  .duty h3 { font-size: 0.9375rem; }
  .duty p { font-size: 0.8125rem; }
  .code pre { font-size: 0.6875rem; }

  .flows .button { padding: 6px 10px; font-size: 0.8125rem; gap: 6px; }
  .arch { min-width: 700px; }
  .close .actions .button { padding-inline: 16px; }
}
