/* fella website one shared stylesheet, no build step.
   Structure (spacing scale, radii, type scale, primitives, motion) follows the
   same disciplined approach as the app (fella/src/app.css, fella/docs/DESIGN.md).
   The COLOR identity is the site's own: black ground, bright teal accent
   (#3fc7bc), teal brand (#008080) reserved for the landing hero panel.

   The site is dark only there is no light mode. Every page reads the same
   token set: a near-black page (--bg #000), near-black raised cards
   (--bg-raised #0c0c0d), light text, teal links. The landing page adds a
   full-bleed solid-teal hero with a Poolside-style stacked nav; sub-pages
   (/docs.html, /packs/) use a plain horizontal header and their own page
   <style>, all on the same black tokens.

   One copy, linked absolutely as /style.css by every page. */

@font-face {
	font-family: 'Geist';
	font-weight: 100 900;
	font-display: swap;
	src:
		local('Geist'),
		url('fonts/Geist-Variable.woff2') format('woff2-variations');
}
@font-face {
	font-family: 'Geist Mono';
	font-weight: 100 900;
	font-display: swap;
	src:
		local('Geist Mono'),
		url('fonts/GeistMono-Variable.woff2') format('woff2-variations');
}

/* ---- tokens ------------------------------------------------------------- */

:root {
	color-scheme: dark;

	--bg: #000000;
	--bg-raised: #0c0c0d;
	--bg-inset: #151517;
	--border: #232326;
	--border-strong: #34343a;
	--text: #f4f4f5;
	--text-dim: #a1a1a6;
	--text-faint: #74747a;

	--brand: #3fc7bc;
	--brand-dark: #74d8cf;
	--brand-tint: #10312e;
	--accent: var(--brand);
	--link: #4fd1c5;
	--ok: #6fcf9e;
	--warn: #d8a640;
	--err: #e06c6c;

	--sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
	--mono: 'Geist Mono', ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo,
		Consolas, 'DejaVu Sans Mono', monospace;

	--fs: 14px;
	--fs-sm: 12.5px;
	--fs-xs: 11.5px;
	--fs-lg: 15.5px;
	--fs-xl: 22px;
	--lh: 1.55;
	--fs-hero: clamp(1.5rem, 1rem + 2vw, 2rem);

	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 56px;
	--space-8: 96px;
	--pad: 28px;

	--radius: 12px;
	--radius-sm: 8px;
	--radius-chip: 5px;

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.45);
	--shadow-pop: 0 4px 12px rgba(0, 0, 0, 0.5), 0 20px 56px rgba(0, 0, 0, 0.6);
	--shadow-window: 0 2px 10px rgba(0, 0, 0, 0.45), 0 28px 72px rgba(0, 0, 0, 0.65);
	--focus-ring: 0 0 0 3px color-mix(in srgb, var(--brand) 45%, transparent);

	--dur-fast: 110ms;
	--dur: 170ms;
	--ease: cubic-bezier(0.32, 0.72, 0, 1);

	--measure: 66ch;
}

/* ---- reset & base ---------------------------------------------------------- */

* {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: var(--fs);
	line-height: var(--lh);
	letter-spacing: -0.006em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

h1,
h2,
h3,
h4 {
	color: var(--text);
	font-weight: 600;
	letter-spacing: -0.014em;
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0;
}

a {
	color: var(--link);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

button {
	font: inherit;
	color: inherit;
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

img,
svg {
	display: block;
	max-width: 100%;
}

code,
kbd,
samp {
	font-family: var(--mono);
	font-size: 0.92em;
}

kbd {
	font-size: 0.82em;
	color: var(--text-dim);
	background: var(--bg-inset);
	border: 1px solid var(--border);
	border-radius: var(--radius-chip);
	padding: 1px 5px;
}

::selection {
	background: color-mix(in srgb, var(--brand) 26%, transparent);
}

:focus-visible {
	outline: none;
	box-shadow: var(--focus-ring);
	border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

* {
	scrollbar-width: thin;
	scrollbar-color: transparent transparent;
}
*:hover {
	scrollbar-color: var(--border-strong) transparent;
}
*::-webkit-scrollbar {
	width: 9px;
	height: 9px;
}
*::-webkit-scrollbar-thumb {
	background: transparent;
	border-radius: 5px;
	border: 2px solid transparent;
	background-clip: padding-box;
	transition: background var(--dur) var(--ease);
}
:hover::-webkit-scrollbar-thumb,
:focus-within::-webkit-scrollbar-thumb {
	background: var(--border-strong);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip {
	position: absolute;
	left: var(--space-3);
	top: -48px;
	z-index: 50;
	background: var(--bg-raised);
	color: var(--text);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	padding: var(--space-2) var(--space-3);
	transition: top var(--dur) var(--ease);
}
.skip:focus {
	top: var(--space-3);
}

/* ---- shared primitives -------------------------------------------------- */

.pill {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	color: var(--text);
	background: var(--bg-raised);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	padding: 8px 16px;
	font: inherit;
	transition:
		background var(--dur-fast) var(--ease),
		border-color var(--dur-fast) var(--ease),
		box-shadow var(--dur-fast) var(--ease),
		transform var(--dur-fast) var(--ease);
}
.pill:hover {
	background: var(--bg-inset);
	text-decoration: none;
}
.pill:active {
	transform: translateY(0.5px);
}
.pill.ghost {
	background: transparent;
	border-color: var(--border);
	color: var(--text-dim);
}
.pill.primary {
	background: var(--brand);
	color: #fff;
	border-color: var(--brand);
	font-weight: 600;
}
.pill.primary:hover {
	background: var(--brand-dark);
	border-color: var(--brand-dark);
}

.link-arrow::after {
	content: ' \2192';
	color: var(--text-faint);
}

.card {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: var(--space-5);
}

.rich code {
	font-family: var(--mono);
	font-size: 0.92em;
	background: var(--bg-inset);
	border-radius: var(--radius-chip);
	padding: 0.1em 0.35em;
}
.rich pre {
	font-family: var(--mono);
	font-size: var(--fs-xs);
	margin: var(--space-2) 0;
	padding: var(--space-3) var(--space-4);
	background: var(--bg-inset);
	border-radius: var(--radius);
	overflow-x: auto;
	white-space: pre;
	color: var(--text);
}
.rich pre code {
	background: none;
	padding: 0;
	font-size: inherit;
}
.rich table {
	border-collapse: collapse;
	font-family: var(--mono);
	font-size: var(--fs-xs);
	font-variant-numeric: tabular-nums;
}
.rich th,
.rich td {
	border: 1px solid var(--border);
	padding: 1px 7px;
	text-align: left;
}
.rich th {
	background: var(--bg-inset);
	color: var(--text-dim);
}

/* ---- page frame (sub-pages use these) --------------------------------- */

.wrap {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 var(--space-6);
}

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--space-1) var(--space-4);
	min-height: 60px;
	border-bottom: 1px solid var(--border);
}

/* The fella wordmark: lowercase Geist, tight tracking, sized up per context.
   The homepage corner-nav pairs it with the app icon (.brand-mark) — same
   character as the desktop app icon, recolored solid white with teal
   (the hero's own #008080) eyes instead of its gradient, since it sits
   directly on the solid-teal hero rather than a neutral card. Other pages
   keep the wordmark alone. */
.brand {
	color: var(--text);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: -0.03em;
	text-transform: lowercase;
}
.brand:hover {
	text-decoration: none;
}
.brand-mark {
	/* viewBox is a tight crop around the character (not the full 512x512
	   art board it was cut from), so 1em here maps to the visible shape
	   itself, not to a mostly-empty bounding box. 1.6em roughly matches the
	   wordmark's cap-height + a little, tuned by eye against the bold text
	   next to it -- much bigger reads as competing with "fella" rather
	   than accompanying it. */
	width: 1.6em;
	height: 1.6em;
	flex: none;
}

.site-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
}
.site-nav a {
	color: var(--text-faint);
	letter-spacing: 0.01em;
}
.site-nav a:hover {
	color: var(--text);
	text-decoration: none;
}
.site-nav a.here {
	color: var(--text);
}

.site-footer {
	border-top: 1px solid var(--border);
	margin-top: var(--space-8);
	padding: var(--space-5) 0 var(--space-8);
	color: var(--text-faint);
	font-size: var(--fs-sm);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2) var(--space-4);
}
.site-footer a {
	color: var(--text-faint);
}
.site-footer a:hover {
	color: var(--text);
	text-decoration: none;
}
.site-footer .foot-links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: var(--space-4);
}

/* =========================================================================
   Landing hero one full-bleed teal panel: a stacked nav top-left, a little
   copy, the white fella window, and a frosted dock.
   ========================================================================= */

.hero-stage {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(80px, 12vw, 148px) clamp(20px, 5vw, 64px) clamp(48px, 8vw, 96px);
	overflow: hidden;
	background: #008080;
}
.hero-stage > * {
	position: relative;
}

/* Poolside-style stacked nav, pinned to the top-left corner of the hero */
.corner-nav {
	position: absolute;
	top: clamp(20px, 4vw, 40px);
	left: clamp(20px, 4vw, 44px);
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 11px;
	font-size: 14px;
	line-height: 1;
}
.corner-nav .brand {
	display: flex;
	align-items: center;
	gap: 0.3em;
	color: #fff;
	font-weight: 600;
	font-size: clamp(20px, 1rem + 1.4vw, 26px);
	letter-spacing: -0.035em;
	margin-bottom: 12px;
}
.corner-nav a:not(.brand) {
	color: rgba(255, 255, 255, 0.72);
	font-weight: 500;
	transition: color var(--dur-fast) var(--ease);
}
.corner-nav a:hover {
	color: #fff;
	text-decoration: none;
}

.hero-copy {
	text-align: center;
	max-width: 620px;
	margin-bottom: clamp(30px, 5vw, 48px);
}
.hero-copy h1 {
	color: #fff;
	font-size: var(--fs-hero);
	line-height: 1.18;
	letter-spacing: -0.02em;
	max-width: 20ch;
	margin: 0 auto 12px;
}
.hero-copy .lede {
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--fs-lg);
	max-width: 44ch;
	margin: 0 auto 20px;
	text-wrap: balance;
}
.cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-4);
}
.hero-copy .cta .pill.primary {
	background: #fff;
	color: #000;
	border-color: #fff;
}
.hero-copy .cta .pill.primary:hover {
	background: rgba(255, 255, 255, 0.88);
}
.hero-copy .cta .link-arrow {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.hero-copy .cta .link-arrow::after {
	color: rgba(255, 255, 255, 0.7);
}
.hero-meta {
	color: rgba(255, 255, 255, 0.64);
	font-size: var(--fs-sm);
	margin: 14px 0 0;
}

/* ------ the white fella window (a clean recreation, not the real app) ---- */

.wd-window {
	width: 100%;
	max-width: 620px;
	/* fixed size: clicking the dock only changes what's inside, never the box */
	height: 412px;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-window);
	/* self-contained light palette; the theme dock button flips it to dark */
	--wbg: #ffffff;
	--wfg: #1b1d21;
	--wfg-soft: #8a8f96;
	--wline: #ececef;
	--wpill: #f1f2f4;
	--wfield: #ffffff;
	--wup: #c0392b;
	--wdown: #2f8f6a;
	background: var(--wbg);
	color: var(--wfg);
	font-size: 13px;
	line-height: 1.6;
	transition: background var(--dur) var(--ease);
}
.wd-window.dark {
	--wbg: #232427;
	--wfg: #ecedef;
	--wfg-soft: #91959c;
	--wline: #37383c;
	--wpill: #2c2d31;
	--wfield: #1e1f22;
	--wup: #e06c6c;
	--wdown: #7cc07c;
}

.wd-titlebar {
	position: relative;
	display: flex;
	align-items: center;
	padding: 12px 14px;
	background: var(--wbg);
}
.wd-traffic {
	display: flex;
	gap: 8px;
}
.wd-traffic i {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: block;
}
.wd-traffic i:nth-child(1) {
	background: #ff5f57;
}
.wd-traffic i:nth-child(2) {
	background: #febc2e;
}
.wd-traffic i:nth-child(3) {
	background: #28c840;
}
.wd-wintitle {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	font-size: 12px;
	font-weight: 500;
	color: var(--wfg-soft);
}

.wd-tabbar {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0 12px 8px;
	overflow-x: auto;
	scrollbar-width: none;
}
.wd-tabbar::-webkit-scrollbar {
	display: none;
}
.wd-window.zen .wd-tabbar {
	display: none;
}
.wd-tab {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 13px;
	color: var(--wfg-soft);
	white-space: nowrap;
	max-width: 132px;
}
.wd-tab .lbl {
	overflow: hidden;
	text-overflow: ellipsis;
}
.wd-tab.active {
	background: var(--wbg);
	color: var(--wfg);
	font-weight: 500;
	box-shadow: inset 0 0 0 1px rgba(20, 23, 28, 0.12);
}
.wd-window.dark .wd-tab.active {
	background: #38393e;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.wd-tab .x {
	width: 13px;
	height: 13px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	opacity: 0.55;
	font-size: 12px;
	line-height: 1;
}
.wd-tabadd {
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	color: var(--wfg-soft);
	border-radius: 6px;
	font-size: 15px;
	line-height: 1;
}

.wd-body {
	padding: 14px 20px 6px;
	color: var(--wfg);
	/* the window height is fixed; this pane takes the slack and scrolls */
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
}
.wd-msg.user .wd-you {
	color: var(--wfg-soft);
}
.wd-you::before {
	content: '';
	display: inline-block;
	width: 3px;
	height: 1em;
	margin-right: 8px;
	border-radius: 1px;
	background: currentColor;
	opacity: 0.5;
	vertical-align: -2px;
}
.wd-speaker {
	margin: 12px 0 4px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wfg-soft);
}
.wd-answer .up {
	color: var(--wup);
	font-weight: 600;
}
.wd-answer .down {
	color: var(--wdown);
	font-weight: 600;
}
.wd-evsummary {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 9px;
	font-size: 12px;
	color: var(--wfg-soft);
}
.wd-evsummary:hover {
	color: var(--wfg);
	background: transparent;
}
.wd-evsummary .caret {
	display: inline-flex;
	transition: transform var(--dur-fast) var(--ease);
}
.wd-evsummary[aria-expanded='true'] .caret {
	transform: rotate(90deg);
}
.wd-evsummary .ok {
	color: var(--wdown);
}
.wd-evbody {
	margin-top: 9px;
	padding-left: 10px;
	border-left: 2px solid var(--wline);
	font-size: 12px;
	color: var(--wfg-soft);
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.wd-evbody ol {
	margin: 0;
	padding-left: 1.5em;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.wd-evbody .line {
	color: var(--wfg);
}
.wd-evbody code {
	font-family: var(--mono);
	font-size: 0.92em;
	background: var(--wpill);
	border-radius: 4px;
	padding: 0.1em 0.35em;
}
.wd-evbody pre {
	margin: 4px 0 0;
	padding: 8px 10px;
	background: var(--wpill);
	border-radius: 8px;
	font-family: var(--mono);
	font-size: 11px;
	color: var(--wfg);
	overflow-x: auto;
	white-space: pre;
}
.wd-evbody .chk {
	display: flex;
	gap: 8px;
	align-items: baseline;
}
.wd-evbody .chk .mk {
	color: var(--wdown);
	flex: none;
}

.wd-composer {
	padding: 8px 16px 12px;
}
.wd-field {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 8px 8px 14px;
	background: var(--wfield);
	border: 1px solid var(--wline);
	border-radius: 10px;
}
.wd-field input {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	background: transparent;
	font: inherit;
	font-size: 13px;
	color: var(--wfg);
}
.wd-field input::placeholder {
	color: var(--wfg-soft);
}
.wd-field input:focus-visible {
	box-shadow: none;
}
.wd-send {
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border-radius: 6px;
	color: var(--wfg-soft);
	flex: none;
}
.wd-send svg {
	width: 14px;
	height: 14px;
}

.wd-status {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-top: 1px solid var(--wline);
	font-size: 10.5px;
	color: var(--wfg-soft);
	white-space: nowrap;
	overflow: hidden;
}
.wd-status .hdot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wdown);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wdown) 22%, transparent);
	flex: none;
}
.wd-status.offline .hdot {
	background: var(--wup);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wup) 22%, transparent);
}
.wd-status .model {
	color: var(--wfg-soft);
	font-family: var(--mono);
}
.wd-status .note::before {
	content: '\00b7';
	margin: 0 6px 0 2px;
}

/* ------ the frosted dock: 4 controls, mirrors the reference pill bar ----- */

.wd-dock {
	margin-top: 22px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px;
	padding: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(14px) saturate(130%);
	-webkit-backdrop-filter: blur(14px) saturate(130%);
	box-shadow: 0 8px 30px rgba(0, 40, 40, 0.18);
}
.dock-seg {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 30px;
	padding: 0 14px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	transition:
		background var(--dur-fast) var(--ease),
		color var(--dur-fast) var(--ease);
}
.dock-seg svg {
	width: 15px;
	height: 15px;
	flex: none;
}
.dock-seg:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}
.dock-seg[aria-pressed='true'] {
	background: rgba(255, 255, 255, 0.24);
	color: #fff;
}
.dock-seg .moon,
.dock-seg .eye-off {
	display: none;
}
.dock-seg[aria-pressed='true'] .sun,
.dock-seg[aria-pressed='true'] .eye {
	display: none;
}
.dock-seg[aria-pressed='true'] .moon,
.dock-seg[aria-pressed='true'] .eye-off {
	display: block;
}

.wd-caption {
	margin-top: 16px;
	max-width: 46ch;
	text-align: center;
	font-size: var(--fs-sm);
	color: rgba(255, 255, 255, 0.62);
}
.wd-caption code {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.92em;
}

/* ---- landing: the sections below the teal hero ----------------------- */

.features {
	margin-top: clamp(64px, 10vw, 104px);
}
.features-h2 {
	font-size: clamp(1.15rem, 0.9rem + 1vw, 1.35rem);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.01em;
	max-width: 42ch;
	margin: 0 auto var(--space-6);
	text-align: center;
	color: var(--text);
}
.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-4);
	max-width: 900px;
	margin: 0 auto;
}
.feat {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: var(--space-5);
}
.feat .fc-icon {
	display: block;
	width: 20px;
	height: 20px;
	color: var(--brand);
	margin-bottom: 10px;
}
.feat .fc-icon svg {
	width: 100%;
	height: 100%;
}
.feat h3 {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.005em;
	color: var(--text);
	margin: 0 0 4px;
}
.feat p {
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--text-dim);
	margin: 0;
}

.local {
	max-width: 640px;
	margin: clamp(64px, 9vw, 92px) auto;
	padding: clamp(36px, 5vw, 52px) var(--space-5);
	background: var(--brand-tint);
	border: 1px solid color-mix(in srgb, var(--brand) 26%, transparent);
	border-radius: 20px;
	text-align: center;
}
.local h2 {
	font-size: clamp(1.15rem, 0.9rem + 1vw, 1.35rem);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--text);
	margin: 0 0 var(--space-2);
}
.local p {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--text-dim);
	max-width: 46ch;
	margin: 0 auto;
}
.local code {
	font-family: var(--mono);
	font-size: 0.9em;
	color: var(--text-dim);
}

.contrib {
	text-align: center;
	color: var(--text-faint);
	font-size: var(--fs-sm);
	margin-top: clamp(56px, 9vw, 96px);
}
.contrib a {
	color: var(--text-dim);
}
.contrib a:hover {
	color: var(--text);
}

/* ---- responsive ------------------------------------------------------------ */

@media (max-width: 860px) {
	.feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.corner-nav {
		position: static;
		align-self: stretch;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: var(--space-2) var(--space-4);
		margin-bottom: clamp(28px, 8vw, 48px);
	}
	.corner-nav .brand {
		margin-bottom: 0;
	}
}

@media (max-width: 560px) {
	.wrap {
		padding: 0 var(--space-4);
	}
	.feature-grid {
		grid-template-columns: 1fr;
	}
	.hero-stage {
		padding-top: clamp(40px, 12vw, 80px);
	}
	.wd-window {
		height: 452px;
	}
	.wd-dock {
		gap: 4px;
	}
	.dock-seg {
		height: 34px;
		width: 34px;
		padding: 0;
		gap: 0;
		justify-content: center;
	}
	.dock-seg span {
		display: none;
	}
	.site-footer {
		justify-content: center;
		text-align: center;
	}
}
