:root {
	--void: #070a1f;
	--night: #0d1333;
	--dusk: #222a5e;
	--star: #f2f0e8;
	--haze: #a3a9cf;
	--aurora: #7ee0d0;
	--aurora-ink: #03211d;
	--ember: #f1cd8f;
	--bad: #ffb4a8;
	--serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
	--sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
	--wide: 1200px;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--section: clamp(4.5rem, 10vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html {
	scroll-behavior: smooth;
	background:
		radial-gradient(1100px 620px at 78% -8%, rgba(60, 76, 170, 0.32), transparent 65%),
		radial-gradient(900px 600px at -10% 8%, rgba(40, 52, 130, 0.22), transparent 60%),
		var(--void);
	background-attachment: fixed;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.nc {
	margin: 0;
	padding: 0 var(--gutter);
	color: var(--star);
	font: 400 1.125rem/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	background: transparent;
}
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.nc a { color: var(--aurora); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.nc a:hover { color: var(--star); }
.nc :focus-visible { outline: 2px solid var(--aurora); outline-offset: 3px; border-radius: 4px; }
.nc h1, .nc h2 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
.nc h2 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: 1.05; margin-bottom: 1.25rem; }
.nc h3 { font: 600 1.1rem/1.3 var(--sans); margin: 0 0 0.5rem; letter-spacing: -0.005em; }
.nc p { margin: 0 0 1rem; max-width: 60ch; text-wrap: pretty; }
.nc .small { font-size: 0.95rem; color: var(--haze); }

.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--aurora); color: var(--aurora-ink); padding: 0.5rem 1rem; }
.skip:focus { left: 0.5rem; z-index: 10; }

.top, .nc main > section, .foot { max-width: var(--wide); margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------ header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.6rem 0; }
.mark { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--star) !important; text-decoration: none; font: 600 1.15rem/1 var(--sans); letter-spacing: -0.01em; }
.mark svg { color: var(--aurora); }
.mark.small { font-size: 1rem; gap: 0.45rem; }
.top nav { display: flex; align-items: center; gap: 1.9rem; font-size: 0.98rem; }
.top nav a { color: var(--haze); text-decoration: none; position: relative; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--star); }
.top .menu a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -0.55rem; height: 1px; background: var(--aurora); }
.top nav a.nav-cta { color: var(--aurora-ink); background: var(--aurora); padding: 0.55rem 1rem; border-radius: 999px; font-weight: 600; }
.top nav a.nav-cta:hover { background: var(--star); }
.menu-small { display: none; position: relative; }
.menu-small summary { list-style: none; cursor: pointer; width: 2.75rem; height: 2.75rem; border: 1px solid var(--dusk); border-radius: 50%; display: grid; place-content: center; gap: 5px; }
.menu-small summary::-webkit-details-marker { display: none; }
.menu-small summary span { display: block; width: 16px; height: 1.5px; background: var(--star); transition: transform 0.2s; }
.menu-small[open] summary span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-small[open] summary span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu-small nav { position: absolute; right: 0; top: calc(100% + 0.6rem); z-index: 5; flex-direction: column; align-items: stretch; gap: 0; min-width: 15rem; padding: 0.5rem; background: #0b1030; border: 1px solid var(--dusk); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.menu-small nav a { padding: 0.75rem 0.9rem; border-radius: 8px; font-size: 1.05rem; }
.menu-small nav a[aria-current="page"] { background: rgba(126, 224, 208, 0.08); }
.menu-small nav a.nav-cta { margin-top: 0.4rem; text-align: center; padding: 0.8rem 1rem; }

/* ------------------------------------------------------------ buttons */
.button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 3.1rem; padding: 0 1.5rem;
	border-radius: 999px; border: 1px solid var(--aurora);
	background: var(--aurora); color: var(--aurora-ink) !important;
	font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.button:hover { background: var(--star); border-color: var(--star); }
.button.quiet { background: transparent; color: var(--star) !important; border-color: rgba(242, 240, 232, 0.28); }
.button.quiet:hover { border-color: var(--aurora); color: var(--aurora) !important; }

/* ------------------------------------------------------------ hero */
.hero {
	display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
	min-height: min(860px, calc(100vh - 6rem));
	padding: clamp(2rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero h1 { font-size: clamp(3.2rem, 6vw, 5.7rem); line-height: 0.96; letter-spacing: -0.02em; margin-bottom: 1.8rem; max-width: 12ch; text-wrap: balance; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--haze); max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }

/* The hatchery: operators answer, values hatch creatures, two make a child. */
.ring { width: min(100%, 440px); height: auto; overflow: visible; }
.ring-path { fill: none; stroke: var(--dusk); stroke-width: 1.2; stroke-dasharray: 2 7; }
.ring-inner { fill: none; stroke: rgba(126, 224, 208, 0.08); stroke-width: 1; }
.hatchery { margin: 0; display: grid; justify-items: center; gap: 0.6rem; }
.hatch-stage { position: relative; width: min(100%, 640px); }
.hatch { display: block; width: 100%; aspect-ratio: 1 / 0.78; }
.hatch-again { position: absolute; right: 0.25rem; bottom: 0.25rem; font: 500 0.85rem/1 var(--sans); color: var(--haze); background: rgba(7, 10, 31, 0.6); border: 1px solid var(--dusk); border-radius: 999px; padding: 0.5rem 0.85rem; cursor: pointer; }
.hatch-again:hover { color: var(--star); border-color: var(--haze); }
.hatch-again[hidden] { display: none; }
.nc .value-label { margin: 0; color: var(--haze); font-size: 0.9rem; text-align: center; min-height: 1.4em; }
.value-grid { font: 500 clamp(0.9rem, 1.3vw, 1.1rem)/1.75 var(--mono); letter-spacing: 0.03em; color: var(--star); text-align: center; font-variant-numeric: tabular-nums; }
.value-row { display: block; white-space: pre; }
.hatchery figcaption { color: var(--haze); font-size: 0.95rem; text-align: center; max-width: 46ch; }

/* The network at work: a simulation under the hero. */
.nc main > section.live { padding-top: clamp(3rem, 6vw, 5rem); }
.live-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 5vw, 4rem); align-items: end; }
.live-head h2 { margin: 0; }
.live-head p { color: var(--haze); margin: 0; }
.live-stage { position: relative; margin-top: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid rgba(162, 170, 220, 0.12); border-radius: 24px; background: radial-gradient(ellipse at center, rgba(34, 42, 94, 0.45), rgba(7, 10, 31, 0.2) 70%); overflow: hidden; }
.live-canvas { display: block; width: 100%; aspect-ratio: 16 / 8.6; }
.nc .live-note { margin: 1rem 0 0; }
@media (max-width: 900px) { .live-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .live-canvas { aspect-ratio: 1 / 1.15; } }

/* ------------------------------------------------------------ sections */
.nc main > section { padding: var(--section) 0; border-top: 1px solid rgba(162, 170, 220, 0.14); }
.nc main > section.hero { border-top: none; padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem); }

.statement p { font: 400 clamp(1.9rem, 3.6vw, 3rem)/1.18 var(--serif); max-width: 30ch; color: var(--star); margin: 0; letter-spacing: -0.005em; }

.flow { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); position: relative; }
.flow::before { content: ''; position: absolute; left: 24px; right: 24px; top: 24px; height: 1px; background: linear-gradient(90deg, var(--aurora), rgba(126, 224, 208, 0.1)); opacity: 0.5; }
.flow li { position: relative; }
.flow svg { width: 48px; height: 48px; fill: var(--void); stroke: var(--aurora); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.25rem; position: relative; background: var(--void); border-radius: 50%; }
.flow p { color: var(--haze); font-size: 1.02rem; margin: 0; }

.try { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.try-words p { color: var(--haze); }
.draw { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--dusk); border-radius: 16px; background: rgba(13, 19, 51, 0.7); }
.draw .button { justify-self: start; }
.draw-result { display: grid; gap: 0.35rem; padding-top: 1.25rem; border-top: 1px solid var(--dusk); }
.draw-result[hidden] { display: none; }
.draw-label { color: var(--haze); font-size: 0.95rem; }
.draw-winner { font: 400 clamp(2.4rem, 4.5vw, 3.4rem)/1 var(--serif); color: var(--aurora); }
.draw-proof { font: 400 0.78rem/1.7 var(--mono); color: var(--haze); word-break: break-all; white-space: pre-line; margin-top: 0.5rem; }

.use-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.use-list li { padding-top: 1.5rem; border-top: 1px solid var(--dusk); }
.use-list svg { width: 40px; height: 40px; fill: none; stroke: var(--aurora); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.use-list p { color: var(--haze); font-size: 1.02rem; margin: 0; }

.developers { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.dev-words p { color: var(--haze); }
.links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 1.5rem; }
.code { margin: 0; padding: clamp(1.25rem, 3vw, 2rem); background: rgba(5, 8, 26, 0.85); border: 1px solid var(--dusk); border-radius: 16px; overflow-x: auto; font: 400 0.86rem/1.75 var(--mono); color: var(--star); tab-size: 2; }
.code .k { color: var(--aurora); }
.code .s { color: var(--ember); }
.code .c { color: #7d84b2; }
.code .n { color: var(--ember); }

.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); }
.trust-words p { color: var(--haze); font-size: 1.15rem; }
.timeline { list-style: none; margin: 0.5rem 0 0; padding: 0 0 0 1.75rem; position: relative; }
.timeline::before { content: ''; position: absolute; left: 4px; top: 0.6rem; bottom: 0.6rem; width: 1px; background: linear-gradient(180deg, var(--aurora), var(--dusk)); }
.timeline li { position: relative; display: grid; gap: 0.15rem; padding-bottom: 1.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: calc(-1.75rem + 0px); top: 0.5rem; width: 9px; height: 9px; border-radius: 50%; background: var(--void); border: 1.5px solid var(--aurora); }
.timeline li:first-child::before { background: var(--aurora); box-shadow: 0 0 0 5px rgba(126, 224, 208, 0.15); }
.timeline time { color: var(--aurora); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.timeline span { color: var(--star); }
.trust .note { color: var(--haze); font-size: 0.98rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--dusk); }

.nc main > section.operators { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border: 1px solid var(--dusk); border-radius: 20px; padding: clamp(2rem, 5vw, 3.5rem); margin-bottom: var(--section); background: linear-gradient(135deg, rgba(34, 42, 94, 0.55), rgba(13, 19, 51, 0.4)); }
.operators h2 { margin-bottom: 0.75rem; }
.operators p { color: var(--haze); margin: 0; }
.operators .button { flex: none; }
.nc main > section.operators + section { border-top: none; padding-top: 0; }

.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.join-words p { color: var(--haze); }
.join-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; font-size: 0.98rem; }
.field em { font-style: normal; color: var(--haze); }
.field input, .field select, .field textarea {
	width: 100%; font: 400 1rem/1.45 var(--sans); color: var(--star);
	background: rgba(13, 19, 51, 0.85); border: 1px solid var(--dusk); border-radius: 10px; padding: 0.8rem 0.95rem;
}
.draw textarea { font-family: var(--mono); font-size: 0.92rem; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--aurora); outline-offset: 1px; border-color: transparent; }
.join-form .button { justify-self: start; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0; padding: 0.85rem 1rem; border-radius: 10px; border: 1px solid; }
.notice.good { color: var(--aurora); border-color: var(--aurora); }
.notice.bad { color: var(--bad); border-color: var(--bad); }

/* ------------------------------------------------------------ footer */
.foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2.5rem 3rem; padding: 3.5rem 0 3rem; border-top: 1px solid rgba(162, 170, 220, 0.14); font-size: 1rem; }
.foot-brand .small { margin-top: 0.9rem; max-width: 30ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.foot-cols div { display: grid; gap: 0.55rem; align-content: start; }
.nc .foot-cols h2 { font: 600 0.95rem/1.3 var(--sans); color: var(--star); margin: 0 0 0.35rem; letter-spacing: 0; }
.foot-cols a { color: var(--haze) !important; text-decoration: none; font-size: 0.98rem; }
.foot-cols a:hover { color: var(--star) !important; }
.nc .foot-note { grid-column: 1 / -1; margin: 0; padding-top: 1.75rem; border-top: 1px solid rgba(162, 170, 220, 0.1); max-width: none; }

/* ------------------------------------------------------------ shared pieces */
.section-lede { color: var(--haze); font-size: 1.15rem; margin-top: -0.25rem; }
.nc code { font: 400 0.88em/1.5 var(--mono); }
.tag { display: inline-flex; align-items: center; padding: 0.2rem 0.65rem; border-radius: 999px; border: 1px solid var(--dusk); color: var(--haze); font-size: 0.85rem; white-space: nowrap; }
.tag.good { color: var(--aurora); border-color: rgba(126, 224, 208, 0.45); background: rgba(126, 224, 208, 0.06); }
.tag.warn { color: var(--ember); border-color: rgba(241, 205, 143, 0.4); background: rgba(241, 205, 143, 0.05); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 0 4px rgba(126, 224, 208, 0.16); margin-right: 0.65rem; vertical-align: 0.1em; }
.copyable { display: inline-flex; align-items: center; gap: 0.5rem; max-width: 100%; }
.copyable code { overflow-wrap: anywhere; color: var(--star); }
.copy { flex: none; font: 500 0.82rem/1 var(--sans); color: var(--haze); background: transparent; border: 1px solid var(--dusk); border-radius: 999px; padding: 0.4rem 0.75rem; cursor: pointer; transition: color 0.15s, border-color 0.15s; }
.copy:hover { color: var(--star); border-color: var(--haze); }
.copy.done { color: var(--aurora); border-color: var(--aurora); }
.step-n { flex: none; display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid rgba(126, 224, 208, 0.5); color: var(--aurora); font: 500 0.95rem/1 var(--sans); font-variant-numeric: tabular-nums; background: var(--void); }
.nc table.ref { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ref th { text-align: left; font-weight: 500; color: var(--haze); font-size: 0.92rem; padding: 0 1rem 0.8rem 0; border-bottom: 1px solid var(--dusk); }
.ref td { padding: 0.95rem 1rem 0.95rem 0; border-bottom: 1px solid rgba(34, 42, 94, 0.7); vertical-align: top; color: var(--haze); }
.ref td:first-child { color: var(--star); }
.ref td code { color: var(--aurora); font-size: 0.84rem; white-space: nowrap; }

/* The home page's pulse: the network right now. */
.nc main > section.pulse { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 3rem; padding: 1.6rem 0; }
.nc .pulse-title { font: 500 0.98rem/1.3 var(--sans); color: var(--star); margin: 0; letter-spacing: 0; white-space: nowrap; }
.pulse-figures { display: flex; flex-wrap: wrap; gap: 0.75rem 2.75rem; margin: 0; }
.pulse-figures div { display: grid; gap: 0.1rem; }
.pulse-figures dt { color: var(--haze); font-size: 0.85rem; }
.pulse-figures dd { margin: 0; font: 400 1.35rem/1.2 var(--serif); }
.nc .pulse-link { white-space: nowrap; font-size: 0.98rem; }

/* ------------------------------------------------------------ inner pages */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.nc main > section.page-hero { border-top: none; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 6.5rem); }
.page-hero h1 { font-size: clamp(3rem, 5.6vw, 5.2rem); line-height: 0.98; letter-spacing: -0.02em; margin-bottom: 1.6rem; max-width: 14ch; text-wrap: balance; }
.page-hero.plain { grid-template-columns: minmax(0, 1fr); padding-bottom: 2rem; }
.crumb { font-size: 0.95rem; color: var(--haze); margin-bottom: 1.5rem !important; }
.crumb a { color: var(--haze) !important; text-decoration: none; }
.crumb a:hover { color: var(--star) !important; }
.crumb span { margin: 0 0.4rem; opacity: 0.6; }
.prose { max-width: 70ch !important; }

/* Developers */
.install { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 2rem; padding: 0.85rem 0.9rem 0.85rem 1.1rem; border: 1px solid var(--dusk); border-radius: 14px; background: rgba(5, 8, 26, 0.6); max-width: 40rem; }
.install-label { color: var(--haze); font-size: 0.9rem; }
.install .copyable { flex: 1; justify-content: space-between; min-width: 0; }
.install code { font-size: 0.84rem; white-space: nowrap; overflow-x: auto; overflow-wrap: normal; }
.install + .actions { margin-top: 1.5rem; }
.console { border: 1px solid var(--dusk); border-radius: 18px; background: rgba(5, 8, 26, 0.88); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(126, 224, 208, 0.04) inset; overflow: hidden; min-width: 0; }
.console-bar { display: flex; gap: 0.25rem; padding: 0.6rem; border-bottom: 1px solid var(--dusk); overflow-x: auto; background: rgba(13, 19, 51, 0.6); }
.console-bar button { flex: none; font: 500 0.9rem/1 var(--sans); color: var(--haze); background: transparent; border: 0; border-radius: 8px; padding: 0.65rem 0.9rem; cursor: pointer; }
.console-bar button:hover { color: var(--star); }
.console-bar button[aria-selected="true"] { color: var(--star); background: rgba(126, 224, 208, 0.09); box-shadow: inset 0 -2px 0 var(--aurora); }
.console .code { border: 0; border-radius: 0; background: transparent; min-height: 28.5rem; font-size: 0.82rem; }

.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); position: relative; }
.steps::before { content: ''; position: absolute; left: 1rem; right: 1rem; top: 1.05rem; height: 1px; background: linear-gradient(90deg, var(--aurora), rgba(126, 224, 208, 0.08)); opacity: 0.5; }
.steps li { position: relative; display: grid; align-content: start; }
.steps .step-n { position: relative; margin-bottom: 1.25rem; }
.steps p { color: var(--haze); font-size: 1.02rem; margin-bottom: 0.75rem; }
.nc .step-meta { color: var(--ember); font-size: 0.92rem; margin: 0; }
.nc .lifecycle-note { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--dusk); max-width: 80ch; }

.path-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.25rem; }
.path-list article { display: grid; grid-template-rows: auto 1fr auto; gap: 0.25rem; padding-top: 1.5rem; border-top: 1px solid var(--aurora); }
.path-list a { justify-self: start; }
.path-list h3 { font: 400 1.85rem/1.1 var(--serif); margin-bottom: 0.6rem; letter-spacing: -0.005em; }
.path-list p { color: var(--haze); font-size: 1.02rem; }
.path-list code { color: var(--star); }

.sdk { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.sdk-words { position: sticky; top: 2rem; }
.sdk-words p { color: var(--haze); }
.sdk-words .small { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--dusk); }

.dep-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.25rem; }
.dep { display: grid; align-content: start; gap: 1.1rem; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--dusk); border-radius: 18px; background: rgba(13, 19, 51, 0.55); }
.dep header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dep h3 { font: 600 1.3rem/1.2 var(--sans); margin: 0; letter-spacing: -0.01em; }
.dep .copyable { justify-content: space-between; padding: 0.7rem 0.75rem 0.7rem 0.95rem; border-radius: 10px; background: rgba(5, 8, 26, 0.7); }
.dep .copyable code { font-size: 0.84rem; }
.dep dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 0.25rem 0 0; }
.dep dt, .contract-facts dt { color: var(--haze); font-size: 0.88rem; }
.dep dd, .contract-facts dd { margin: 0.15rem 0 0; }
.dep .small { margin: 0.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--dusk); }
.nc .dep-foot { margin-top: 1.5rem; }

.limit-list { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 5vw, 4rem); }
.limit-list li { padding-left: 1.25rem; border-left: 1px solid var(--ember); }
.limit-list p { color: var(--haze); font-size: 1.02rem; margin: 0; }

.nc main > section.example { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border: 1px solid var(--dusk); border-radius: 20px; padding: clamp(1.75rem, 4vw, 3rem); margin: var(--section) auto; background: linear-gradient(135deg, rgba(34, 42, 94, 0.5), rgba(13, 19, 51, 0.35)); }
.example h2 { margin-bottom: 0.75rem; }
.example p { color: var(--haze); }
.example .small { margin: 0; }
.example .button { flex: none; }
.nc main > section.example + section { border-top: none; padding-top: 0; }
@media (max-width: 900px) { .nc main > section.example { flex-direction: column; align-items: flex-start; } }

/* Operators */
.ledger-card { margin: 0; justify-self: center; width: min(100%, 27rem); padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--dusk); border-radius: 20px; background: linear-gradient(160deg, rgba(34, 42, 94, 0.6), rgba(7, 10, 31, 0.9)); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7); }
.ledger-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--dusk); }
.ledger-title { font: 400 1.5rem/1.1 var(--serif); }
.ledger-rows { margin: 0; }
.ledger-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(34, 42, 94, 0.7); }
.ledger-rows dt { color: var(--haze); }
.ledger-rows dd { margin: 0; text-align: right; }
.ledger-rows code { color: var(--star); }
.ledger-rows .ledger-total { border-bottom: 0; padding-top: 1.1rem; align-items: baseline; }
.ledger-total dt { color: var(--star); }
.ledger-total dd { font: 400 2.6rem/1 var(--serif); color: var(--aurora); }
.ledger-card figcaption { color: var(--haze); font-size: 0.9rem; margin-top: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--dusk); }

.duty-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.duty-list li { padding-top: 1.5rem; border-top: 1px solid var(--dusk); }
.duty-list svg { width: 40px; height: 40px; fill: none; stroke: var(--aurora); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.duty-list p { color: var(--haze); font-size: 1.02rem; margin: 0; }

.needs { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.needs-words p { color: var(--haze); }
.need-list { margin: 0; }
.need-list div { display: grid; grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr); gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--dusk); }
.need-list div:first-child { border-top: 1px solid var(--dusk); }
.need-list dt { font-weight: 600; }
.need-list dd { margin: 0; color: var(--haze); }

.setup-list { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.setup-list li { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 1.25rem clamp(2rem, 5vw, 4rem); align-items: center; padding: 1.6rem 0; border-top: 1px solid var(--dusk); }
.setup-list li:last-child { border-bottom: 1px solid var(--dusk); }
.setup-words { display: flex; gap: 1.1rem; align-items: flex-start; }
.setup-words p { color: var(--haze); font-size: 1.02rem; margin: 0; }
.cmd { position: relative; min-width: 0; }
.cmd pre { margin: 0; padding: 1rem 5.5rem 1rem 1.15rem; background: rgba(5, 8, 26, 0.85); border: 1px solid var(--dusk); border-radius: 12px; overflow-x: auto; font: 400 0.82rem/1.7 var(--mono); color: var(--star); }
.cmd .k { color: var(--aurora); } .cmd .s, .cmd .n { color: var(--ember); } .cmd .c { color: #7d84b2; }
.cmd .copy { position: absolute; top: 0.7rem; right: 0.7rem; background: rgba(13, 19, 51, 0.95); }
.nc .setup-foot { margin-top: 1.75rem; }

.money-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 2.25rem 0 1.5rem; }
.money-col { padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--dusk); border-radius: 18px; background: rgba(13, 19, 51, 0.55); }
.money-col h3 { font: 400 1.75rem/1.1 var(--serif); margin-bottom: 1rem; color: var(--aurora); }
.money-col.fines h3 { color: var(--ember); }
.money-col dl { margin: 0; }
.money-col dl div { display: grid; gap: 0.2rem; padding: 0.9rem 0; border-top: 1px solid var(--dusk); }
.money-col dt { font-weight: 600; }
.money-col dd { margin: 0; color: var(--haze); }

.safety-list { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.safety-list li { padding-top: 1.5rem; border-top: 1px solid var(--aurora); }
.safety-list p { color: var(--haze); font-size: 1.02rem; margin: 0; }

/* Network */
.as-of { color: var(--haze); font-size: 0.98rem; margin-top: 2rem !important; }
.as-of time { color: var(--star); }
.committee { margin: 0; display: grid; justify-items: center; gap: 1.25rem; }
.committee .ring { width: min(100%, 460px); }
.committee .tie { stroke: var(--aurora); stroke-width: 1.2; opacity: 0.55; }
.seat .star { fill: var(--haze); opacity: 0.45; }
.seat .halo { fill: var(--aurora); opacity: 0; }
.seat.on .star { fill: var(--aurora); opacity: 1; }
.seat.on .halo { opacity: 0.15; }
.seat text { fill: var(--haze); font: 500 15px var(--sans); }
.seat.on text { fill: var(--star); }
.hub { fill: var(--void); stroke: rgba(126, 224, 208, 0.35); stroke-width: 1; }
.hub-small { fill: var(--haze); font: 500 17px var(--sans); }
.hub-big { fill: var(--star); font: 400 76px var(--serif); }
.committee figcaption { color: var(--haze); font-size: 0.95rem; text-align: center; max-width: 46ch; }
.committee figcaption strong { color: var(--star); font-weight: 600; }

.nc main > section.figures { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.figure-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin: 0; }
.figure-list div { display: grid; align-content: start; }
.figure-list dt { color: var(--haze); font-size: 0.95rem; order: 1; }
.figure-list dd { margin: 0 0 0.35rem; font: 400 clamp(3rem, 5vw, 4.4rem)/1 var(--serif); letter-spacing: -0.02em; order: 0; }
.figure-list dd span { font-size: 0.45em; color: var(--haze); letter-spacing: 0; }
.nc .figure-list dd.figure-note { order: 2; font: 400 0.92rem/1.5 var(--sans); letter-spacing: 0; color: var(--haze); margin: 0.35rem 0 0; opacity: 0.8; }

.value-list { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 1rem; }
.value-item { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr); grid-template-areas: "meta body" "story body"; gap: 0.9rem clamp(1.5rem, 4vw, 3.5rem); padding: 1.6rem clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--dusk); border-radius: 16px; background: rgba(13, 19, 51, 0.5); }
.value-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.value-num { font: 600 1.2rem/1.2 var(--sans); letter-spacing: -0.01em; margin-right: 0.15rem; }
.value-epoch { color: var(--haze); font-size: 0.92rem; flex-basis: 100%; }
.value-body { grid-area: body; display: grid; align-content: start; gap: 1.1rem; }
.nc .value-hex { margin: 0; font: 500 clamp(0.84rem, 1.25vw, 1.05rem)/1.75 var(--mono); letter-spacing: 0.02em; color: var(--star); max-width: none; word-spacing: 0.2em; }
.value-hex span { display: block; white-space: nowrap; }
.nc .value-hex.none { color: var(--haze); font-family: var(--sans); font-weight: 400; }
.nc .value-story { grid-area: story; color: var(--haze); font-size: 0.98rem; margin: 0; }
.nc .value-id { margin: 0; color: var(--haze); font-size: 0.9rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.value-id code { font-size: 0.82rem; }

.roster { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.roster-words p { color: var(--haze); }
.roster-words .note { font-size: 0.98rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--dusk); }
.seated { color: var(--aurora); }
.unseated { color: var(--haze); }

.epoch-list { list-style: none; margin: 2rem 0 1.5rem; padding: 0; }
.epoch-list li { display: grid; grid-template-columns: 7rem 5rem minmax(11rem, 0.6fr) minmax(0, 1fr); gap: 0.5rem 1.5rem; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid var(--dusk); }
.epoch-list li:last-child { border-bottom: 1px solid var(--dusk); }
.epoch-n { font: 600 1.1rem/1.2 var(--sans); letter-spacing: -0.01em; }
.epoch-size { color: var(--aurora); }
.epoch-list time { color: var(--star); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.epoch-note { color: var(--haze); font-size: 0.98rem; }
.epoch-list li:first-child .epoch-n::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 0.6rem; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 0 4px rgba(126, 224, 208, 0.15); vertical-align: 0.25em; }

.contract { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contract p { color: var(--haze); }
.contract-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 0; }
.contract-facts div:first-child { grid-column: 1 / -1; }
.contract-facts .copyable { justify-content: space-between; width: 100%; padding: 0.75rem 0.8rem 0.75rem 1rem; border: 1px solid var(--dusk); border-radius: 10px; background: rgba(5, 8, 26, 0.7); margin-top: 0.35rem; }

/* ------------------------------------------------------------ narrower screens */
@media (max-width: 1080px) {
	.flow, .use-list, .steps, .duty-list, .safety-list, .figure-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.flow::before, .steps::before { display: none; }
	.top .menu { gap: 1.4rem; }
	.nc main > section.pulse { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
	.epoch-list li { grid-template-columns: 6rem 4.5rem minmax(0, 1fr); }
	.epoch-note { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.hero, .try, .developers, .trust, .join, .page-hero, .sdk, .needs, .roster, .contract, .setup-list li { grid-template-columns: minmax(0, 1fr); }
	.path-list, .dep-list, .money-cols, .limit-list { grid-template-columns: minmax(0, 1fr); }
	.value-item { grid-template-columns: minmax(0, 1fr); grid-template-areas: "meta" "body" "story"; }
	.sdk-words { position: static; }
	.foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hero { min-height: 0; }
	.nc main > section.operators { flex-direction: column; align-items: flex-start; }
	.foot { grid-template-columns: minmax(0, 1fr); }
	.top .menu { display: none; }
	.menu-small { display: block; }
}
@media (max-width: 560px) {
	.flow, .use-list, .steps, .duty-list, .safety-list { grid-template-columns: minmax(0, 1fr); }
	.figure-list { gap: 1.75rem 1.25rem; }
	.need-list div { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
	.foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dep dl, .contract-facts { grid-template-columns: minmax(0, 1fr); }
	.ref td code { white-space: normal; overflow-wrap: anywhere; }
	.epoch-list li { grid-template-columns: minmax(0, 1fr) auto; }
	.epoch-list time { grid-column: 1 / -1; }
	.value-hex span { white-space: normal; }
	.install code { white-space: normal; overflow-wrap: anywhere; }
	.cmd { display: grid; gap: 0.5rem; }
	.cmd .copy { position: static; justify-self: end; order: -1; }
	.cmd pre { padding-right: 1.15rem; }
	.sdk .ref thead { display: none; }
	.sdk .ref tr { display: grid; gap: 0.3rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(34, 42, 94, 0.7); }
	.sdk .ref td { padding: 0; border: 0; }
	.roster-table th:nth-child(2), .roster-table td:nth-child(2) { display: none; }
	.roster-table td { white-space: nowrap; }
	.value-grid { font-size: clamp(0.8rem, 3.9vw, 1rem); }
}

/* Short laptop screens: everything in the first screen, the buttons and the value included. */
@media (max-height: 820px) and (min-width: 901px) {
	.nc main > section.hero { align-items: center; min-height: 0; padding-top: 0.5rem; }
	.hatch-stage { width: min(100%, 600px); }
	.hatch { aspect-ratio: 1 / 0.66; }
	.value-grid { font-size: 0.85rem; line-height: 1.5; }
	.hatchery { gap: 0.35rem; }
	.hatchery figcaption { font-size: 0.88rem; }
}
/* A plain page (Privacy, and any other page): its words follow the title closely, with no rule between. */
.nc main > section.page-hero.plain { padding-bottom: clamp(1rem, 2.5vw, 2rem); }
.nc main > section.page-hero.plain + section.prose { border-top: none; padding-top: 0; }
