/*
 * The public pages (src/control/home.ts) in the control plane's tokens (app.css): paper by day,
 * navy at night, gold for the one thing to do. Left-aligned, one column of reading width, and the
 * family's three marks on a waterline as the one decorative moment.
 */
body.site { font-size: 17px; line-height: 1.6; }
.site main { max-width: none; padding: 0; }
.site .wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.skip { position: absolute; left: -999px; top: 0.5rem; z-index: 50; background: var(--card); padding: 0.5rem 0.8rem; border-radius: var(--radius); }
.skip:focus { left: 0.5rem; }
.site a:focus-visible { outline: 3px solid color-mix(in srgb, var(--ring) 50%, transparent); outline-offset: 2px; border-radius: 2px; }

.site-top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--header) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hair); }
.site-top .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 3.75rem; }
.site-top nav { display: flex; gap: 1.25rem; margin-left: auto; font-size: 0.95rem; }
.site-top nav a { text-decoration: none; color: var(--muted-foreground); }
.site-top nav a:hover, .site-top nav a[aria-current] { color: var(--foreground); }
.site-top nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.4em; }

.site h1 { font: 400 clamp(2.4rem, 5.4vw, 4.1rem)/1.04 var(--font-title); letter-spacing: -0.015em; max-width: 18ch; margin: 0 0 1.1rem; }
.site h2 { font: 400 clamp(1.9rem, 3.4vw, 2.6rem)/1.1 var(--font-title); letter-spacing: -0.01em; margin: 0 0 1rem; }
.site h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.35rem; }
.site p { margin: 0 0 1rem; max-width: 40rem; }
.site .lede { font-size: 1.2rem; line-height: 1.55; max-width: 38rem; color: var(--muted-foreground); }
.site .intro { color: var(--muted-foreground); }
.site .links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.95rem; }
.site .links a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--gold); text-decoration: none; }
.site .links a:hover { text-decoration: underline; }

/* ---- the hero and the family on its waterline ---- */
.hero { padding: 4.5rem 0 2rem; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.banner { margin: 0; }
.banner img { box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.35); }
.cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.75rem 0 0; }
.cta .button { min-height: 2.75rem; padding: 0 1.15rem; font-size: 1rem; }
.family {
	list-style: none; margin: 4.5rem 0 0; padding: 2.75rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem;
	/* The waterline the three marks sit on: the wave from Fleetyard's own mark, drawn long. */
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='12' viewBox='0 0 96 12'%3E%3Cpath d='M0 6c8 5 16 5 24 0s16-5 24 0 16 5 24 0 16-5 24 0' fill='none' stroke='%23a87412' stroke-opacity='.45' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x 0 0 / 96px 12px;
}
.family li { position: relative; }
.family .mark {
	position: absolute; top: -4.15rem; display: flex; width: 2.8rem; height: 2.8rem; align-items: center; justify-content: center; border-radius: 9999px;
	border: 1.5px solid color-mix(in srgb, var(--gold) 70%, transparent); background: var(--background); color: var(--gold);
	box-shadow: 0 0 0 5px var(--background);
}
.family h2 { font: 400 1.8rem/1.1 var(--font-title); margin: 0.6rem 0 0.4rem; }
.family p { color: var(--muted-foreground); margin: 0 0 0.6rem; }
.family a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--gold); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.family a:hover { text-decoration: underline; }

/* ---- sections ---- */
.band { padding: 5rem 0; border-top: 1px solid var(--hair); scroll-margin-top: 3.75rem; }
.hero + .band { border-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.facts-list { padding: 0; margin: 0 0 1.25rem; list-style: none; max-width: 40rem; }
.facts-list li { position: relative; padding: 0.3rem 0 0.3rem 1.4rem; color: var(--muted-foreground); }
.facts-list.aside { margin-top: 4.2rem; }
.facts-list li::before { content: ''; position: absolute; left: 0.2rem; top: 0.95rem; width: 0.45rem; height: 0.45rem; border-radius: 9999px; background: var(--teal); }

.cmd { display: flex; align-items: center; gap: 0.5rem; max-width: 34rem; margin: 0 0 1rem; padding: 0.3rem 0.35rem 0.3rem 0.9rem; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--card); }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 0.86rem; }
.cmd button { min-height: 1.9rem; font-size: 0.85rem; flex-shrink: 0; }

/* Who does what, in order: a chain, joined by a line. */
.chain { list-style: none; margin: 0.5rem 0 0; padding: 0; counter-reset: chain; }
.chain li { position: relative; padding: 0 0 1.5rem 2.6rem; }
.chain li::before {
	counter-increment: chain; content: counter(chain); position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.7rem; border-radius: 9999px;
	display: flex; align-items: center; justify-content: center; font: 500 0.8rem var(--font-mono); color: var(--gold);
	border: 1.5px solid color-mix(in srgb, var(--gold) 60%, transparent); background: var(--background);
}
.chain li:not(:last-child)::after { content: ''; position: absolute; left: 0.84rem; top: 1.85rem; bottom: 0.15rem; border-left: 1.5px solid var(--hair); }
.chain p { color: var(--muted-foreground); margin: 0; }

/* ---- Wheelhouse ---- */
.banner img, .shot img, .player video, .clips video { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--hair); background: var(--console); }
.tour { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 2rem; margin: 4rem 0 0; align-items: start; }
.chapters ol, .transcript { list-style: none; margin: 0.5rem 0 1rem; padding: 0; }
.chapters li button, .transcript button {
	display: flex; width: 100%; justify-content: flex-start; gap: 0.75rem; min-height: 2.1rem; padding: 0.2rem 0.5rem; white-space: normal; text-align: left; font-weight: 400; font-size: 0.92rem; line-height: 1.3;
}
.chapters li[aria-current] button { background: color-mix(in srgb, var(--gold) 10%, transparent); color: var(--foreground); }
.chapters .t, .transcript .t { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted-foreground); min-width: 2.4rem; padding-top: 0.1rem; }
.clips { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 2rem; margin: 3rem 0 0; }
.clips figure { margin: 0; }
.clips figcaption { margin-top: 0.75rem; color: var(--muted-foreground); font-size: 0.95rem; max-width: 36rem; }
.clips figcaption strong { color: var(--foreground); font-weight: 600; }

.features { display: grid; gap: 3.5rem; margin: 5rem 0 0; }
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.feature:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.feature:nth-child(even) > .shot { order: 2; }
.feature h3 { font: 400 1.75rem/1.15 var(--font-title); margin: 0 0 0.9rem; }
.feature dl { margin: 0; }
.feature dt { font-weight: 600; }
.feature dd { margin: 0.1rem 0 0.85rem; color: var(--muted-foreground); font-size: 0.97rem; }
.shot { display: block; }
.shot:hover img { border-color: color-mix(in srgb, var(--gold) 50%, var(--hair)); }

.start { margin: 5rem 0 0; padding: 2rem 2rem 1rem; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--card); }
.start h3 { font: 400 1.75rem/1.15 var(--font-title); margin: 0 0 1.25rem; }
.steps-list { margin: 0 0 1rem; padding-left: 1.4rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.steps-list li::marker { color: var(--gold); font-family: var(--font-mono); }
.steps-list p { color: var(--muted-foreground); font-size: 0.95rem; min-height: 3rem; }

/* ---- plugins ---- */
.plugins { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.plugin { display: flex; flex-direction: column; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.plugin .shot img { border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.plugin .body { padding: 1.1rem 1.2rem 0.4rem; display: flex; flex-direction: column; flex: 1; }
.plugin .body > p { font-size: 0.95rem; }
.plugin .body > p:not(.tagline):not(.links) { color: var(--muted-foreground); }
.plugin .tagline { font-size: 0.85rem; color: var(--teal); margin: 0 0 0.6rem; }
.plugin .cmd { margin-top: auto; }
.plugin .cmd code { font-size: 0.78rem; white-space: normal; overflow-wrap: anywhere; line-height: 1.45; padding: 0.2rem 0; }
.plugin.own { border-style: dashed; background: transparent; }
.slots { list-style: none; margin: 0 0 1rem; padding: 0; font-size: 0.9rem; color: var(--muted-foreground); }
.slots li { padding: 0.15rem 0; }
.slots code { color: var(--foreground); }

/* ---- Fleetyard and asking for an invite ---- */
.yard { background: color-mix(in srgb, var(--gold) 5%, transparent); }
.request { padding: 1.75rem; margin: 0; }
.request h3 { font: 400 1.6rem/1.15 var(--font-title); margin: 0 0 0.4rem; }
.access { margin-top: 1.25rem; }
.access .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.access button { min-height: 2.6rem; padding: 0 1.2rem; }
.access .error { margin: -0.25rem 0 1rem; }
.site .wrap.narrow-page { max-width: 38rem; padding-top: 4rem; padding-bottom: 4rem; }
.narrow-page h1 { font-size: 2.3rem; max-width: none; }

/* ---- what is available now, and what is coming soon ---- */
.soon { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.15rem 0.65rem; border-radius: 9999px; font: 500 0.72rem/1.6 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle;
	color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.soon::before { content: ''; width: 0.4rem; height: 0.4rem; border-radius: 9999px; background: currentColor; }
.soon.now { color: var(--teal); background: color-mix(in srgb, var(--teal) 10%, transparent); border-color: color-mix(in srgb, var(--teal) 35%, transparent); }
.family h2 .soon { margin-left: 0.35rem; font-size: 0.62rem; }
.site .eyebrow { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.9rem; }
.mark.small { display: inline-flex; width: 2.1rem; height: 2.1rem; align-items: center; justify-content: center; border-radius: 9999px; color: var(--gold); border: 1.5px solid color-mix(in srgb, var(--gold) 60%, transparent); }
.page-hero { padding-bottom: 4rem; }
.page-hero .split { align-items: center; }
.clip-figure { margin: 0; }
.clip-figure video { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--hair); background: var(--console); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.35); }
.clip-figure figcaption, .pair figcaption { margin-top: 0.7rem; color: var(--muted-foreground); font-size: 0.9rem; }
.site .links.stacked { flex-direction: column; gap: 0.6rem; }
.start-cmds .cmd { max-width: none; }
.start-cmds .cmd code { white-space: normal; overflow-wrap: anywhere; line-height: 1.45; padding: 0.2rem 0; }

/* The flow, step by step, each over its screenshot. */
.flow-steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; counter-reset: step; }
.flow-steps li { counter-increment: step; }
.flow-steps .shot img { box-shadow: 0 18px 40px -28px rgb(0 0 0 / 0.4); }
.flow-steps h3 { margin-top: 1rem; display: flex; align-items: baseline; gap: 0.6rem; }
.flow-steps h3::before { content: counter(step); font: 500 0.8rem var(--font-mono); color: var(--gold); }
.flow-steps p { color: var(--muted-foreground); font-size: 0.95rem; }

.feature-grid { list-style: none; margin: 2rem 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.feature-grid li { background: var(--card); padding: 1.25rem 1.3rem; border: 1px solid var(--hair); border-radius: var(--radius); }
.feature-grid p { color: var(--muted-foreground); font-size: 0.93rem; margin: 0; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.pair figure { margin: 0; }
.facts-list.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; max-width: none; margin-top: 1.5rem; }

/* Firstmate's parts. */
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 3.5rem; }
.parts h3 { font: 400 1.75rem/1.15 var(--font-title); margin: 0 0 0.75rem; }
.parts p { color: var(--muted-foreground); }
.axi-list { margin: 0.5rem 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.55rem 1rem; }
.axi-list dt code { font-size: 0.85rem; color: var(--gold); }
.axi-list dd { margin: 0; color: var(--muted-foreground); font-size: 0.93rem; }

/* ---- the diagrams (diagrams.ts), in the page's own tokens ---- */
.diagram { margin: 2.5rem 0 0; padding: 1.5rem; border: 1px solid var(--hair); border-radius: calc(var(--radius) * 2); overflow-x: auto;
	background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--gold) 6%, var(--card)), var(--card) 70%); }
.dia { display: block; width: 100%; min-width: 46rem; height: auto; font-family: var(--font-sans); }
.dia text { fill: var(--foreground); }
.dia .t { font-size: 15px; font-weight: 600; }
.dia .s { font-size: 12.5px; fill: var(--muted-foreground); }
.dia .zt { font: 400 22px var(--font-title); }
.dia .mono, .dia .lab { font: 500 10.5px var(--font-mono); letter-spacing: 0.12em; fill: var(--gold); }
.dia .lab.teal { fill: var(--teal); }
.dia .code { font: 500 13px var(--font-mono); fill: var(--foreground); }
.dia .zone { fill: color-mix(in srgb, var(--background) 70%, transparent); stroke: var(--hair); stroke-width: 1.2; }
.dia .z-gw { fill: color-mix(in srgb, var(--gold) 8%, var(--card)); stroke: color-mix(in srgb, var(--gold) 50%, var(--hair)); stroke-width: 1.5; }
.dia .z-mach { fill: color-mix(in srgb, var(--teal) 6%, var(--card)); stroke: color-mix(in srgb, var(--teal) 40%, var(--hair)); }
.dia .z-you { fill: var(--card); stroke: color-mix(in srgb, var(--foreground) 25%, var(--hair)); }
.dia .z-ext { fill: var(--background); stroke-dasharray: 4 4; }
.dia .box, .dia .row { fill: var(--card); stroke: var(--hair); stroke-width: 1.2; }
.dia .row { fill: var(--background); }
.dia .row.hub, .dia .row.lead, .dia .box.lead { stroke: color-mix(in srgb, var(--teal) 60%, var(--hair)); }
.dia .box.soon { fill: transparent; stroke: color-mix(in srgb, var(--gold) 55%, var(--hair)); stroke-dasharray: 6 5; }
.dia .note { fill: none; stroke: var(--hair); stroke-dasharray: 3 4; }
.dia .chip { fill: var(--background); stroke: var(--hair); }
.dia .chip.mate, .dia .chip.tree { stroke: color-mix(in srgb, var(--gold) 50%, var(--hair)); }
.dia .chip.axi { fill: var(--card); }
.dia .a { fill: none; stroke-width: 1.6; }
.dia .a-https { stroke: var(--gold); }
.dia .a-socket { stroke: var(--teal); stroke-width: 3.5; stroke-linejoin: round; opacity: 0.35; }
.dia .flow { fill: none; stroke: var(--teal); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 11; }
.dia .a-api, .dia .a-local { stroke: var(--muted-foreground); }
.dia .a-api { stroke-dasharray: 5 5; }
.dia .a-bad { stroke: var(--danger); stroke-dasharray: 4 4; }
.dia .a-soon { stroke: var(--gold); stroke-dasharray: 7 7; }
.dia .mk-https, .dia .mk-soon { fill: var(--gold); }
.dia .mk-socket { fill: var(--teal); }
.dia .mk-api, .dia .mk-local { fill: var(--muted-foreground); }
.dia .mk-bad { fill: var(--danger); }
.dia .bad-x { font-size: 16px; font-weight: 700; fill: var(--danger); }
.dia .s.bad { fill: var(--danger); }
@media (prefers-reduced-motion: no-preference) {
	.dia .flow { animation: dia-flow 1.2s linear infinite; }
	@keyframes dia-flow { to { stroke-dashoffset: -24; } }
}

/* ---- bigger buttons, the lightbox (home.js) and the way on ---- */
.site .button.big { min-height: 3.1rem; padding: 0 1.5rem; font-size: 1.05rem; font-weight: 600; }
.family .button { margin-top: 0.2rem; min-height: 2.5rem; padding: 0 1rem; font-size: 0.98rem; color: var(--foreground); }
.family .button:hover { text-decoration: none; border-color: var(--gold); }
.shot, .diagram[data-zoom] { cursor: zoom-in; }
.diagram { position: relative; }
.diagram .enlarge { position: absolute; top: 0.75rem; right: 0.75rem; min-height: 2rem; padding: 0 0.8rem; font-size: 0.85rem; }
.lightbox { box-sizing: border-box; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 4rem 1.25rem 1.25rem; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgb(5 8 12 / 0.86); backdrop-filter: blur(3px); }
.lightbox-body { height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox-body img { display: block; max-width: min(100%, 1440px); max-height: 100%; width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgb(0 0 0 / 0.5); }
.lightbox-diagram { width: min(100%, 1500px); max-height: 100%; overflow: auto; padding: 1.25rem; border-radius: calc(var(--radius) * 2); background: var(--card); }
.lightbox-diagram .dia { min-width: 56rem; }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 9999px; font-size: 1.6rem; line-height: 1; color: #fff; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.3); }
.lightbox-close:hover { background: rgb(255 255 255 / 0.22); }
html:has(dialog.lightbox[open]) { overflow: hidden; }

.next-band { padding: 3.5rem 0; }
.next-page { position: relative; display: grid; gap: 0.35rem; padding: 1.75rem 4.5rem 1.75rem 1.75rem; border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--hair)); border-radius: calc(var(--radius) * 2); background: var(--card); color: var(--foreground); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.next-page:hover { border-color: var(--gold); transform: translateY(-2px); }
.next-label { font: 500 0.75rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.next-title { font: 400 clamp(1.8rem, 3.4vw, 2.5rem)/1.1 var(--font-title); }
.next-text { color: var(--muted-foreground); }
.next-arrow { position: absolute; right: 1.75rem; top: 50%; transform: translateY(-50%); font-size: 2rem; color: var(--gold); }
.next-band .small { margin-top: 1rem; }

.site .credit { margin: 1rem 0; padding: 0.8rem 1rem; max-width: 40rem; border-left: 3px solid var(--gold); background: color-mix(in srgb, var(--gold) 6%, transparent); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.95rem; color: var(--muted-foreground); }
.site .credit a { color: var(--foreground); text-decoration-color: var(--gold); }

/* A YouTube video, its thumbnail first, then its player in the same box (home.js). */
.yt-figure { margin: 0; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--hair); background: var(--console); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.35); }
.yt img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 5.5rem; height: 5.5rem; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; padding-left: 0.3rem; border-radius: 9999px; color: #fff; background: rgb(10 16 22 / 0.78); border: 2px solid rgb(255 255 255 / 0.85); box-shadow: 0 10px 30px rgb(0 0 0 / 0.4); transition: background 0.2s, transform 0.2s; }
a.yt:hover .play, a.yt:focus-visible .play { background: var(--gold); transform: translate(-50%, -50%) scale(1.06); }
a.yt:hover img { transform: scale(1.02); }
.yt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.yt iframe { display: block; width: 100%; height: 100%; border: 0; }
.yt-figure figcaption { margin-top: 0.7rem; color: var(--muted-foreground); font-size: 0.9rem; }

/* ---- the tour page ---- */
.site .wrap.tour-page { padding-top: 4rem; padding-bottom: 4rem; max-width: 60rem; }
.tour-page .player { margin: 2rem 0 1rem; }
.tour-page h2 { margin-top: 3rem; }
.transcript li { padding: 0.75rem 0; border-top: 1px solid var(--hair); }
.transcript li p { margin: 0.35rem 0 0 3.7rem; color: var(--muted-foreground); }
.transcript button { font-weight: 600; font-size: 1rem; }

.site-foot { border-top: 1px solid var(--hair); padding: 2.5rem 0 3rem; font-size: 0.92rem; color: var(--muted-foreground); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-foot a { color: inherit; }
.site-foot a:hover { color: var(--foreground); }

@media (max-width: 900px) {
	.split, .tour, .feature, .feature:nth-child(even), .clips, .hero-head, .pair, .parts, .facts-list.columns { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.facts-list.columns { gap: 0; }
	.flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts-list.aside { margin-top: 0; }
	.feature:nth-child(even) > .shot { order: 0; }
	.steps-list { grid-template-columns: minmax(0, 1fr); }
	.steps-list p { min-height: 0; }
}
@media (max-width: 760px) {
	.site .wrap { padding: 0 1rem; }
	.cmd code { white-space: normal; overflow-wrap: anywhere; line-height: 1.45; padding: 0.2rem 0; }
	.site-top nav { display: none; }
	.site-top .button { margin-left: auto; }
	.hero { padding-top: 3rem; }
	.family { grid-template-columns: minmax(0, 1fr); gap: 3.75rem; margin-top: 3.5rem; background: none; padding-top: 1.5rem; }
	.family li { padding-left: 3.75rem; }
	.family .mark { top: 0; left: 0; }
	.family h2 { margin-top: 0; }
	.band { padding: 3.5rem 0; }
	.start { padding: 1.5rem 1.1rem 0.5rem; }
	.request { padding: 1.25rem; }
	.flow-steps { grid-template-columns: minmax(0, 1fr); }
	.diagram { padding: 0.75rem; margin-left: -0.25rem; margin-right: -0.25rem; }
	.axi-list { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
	.axi-list dd { margin-bottom: 0.6rem; }
}
@media (prefers-color-scheme: dark) {
	.family { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='12' viewBox='0 0 96 12'%3E%3Cpath d='M0 6c8 5 16 5 24 0s16-5 24 0 16 5 24 0 16-5 24 0' fill='none' stroke='%23e8b04a' stroke-opacity='.4' stroke-width='1.5'/%3E%3C/svg%3E"); }
}
@media (prefers-color-scheme: dark) and (max-width: 760px) { .family { background: none; } }
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
