/* GEO Engine — static site stylesheet
   No external fonts, no CDN, no framework. */

:root {
	--bg: #ffffff;
	--bg-soft: #f6f8f9;
	--surface: #ffffff;
	--border: #e3e8eb;
	--border-strong: #cfd8dd;
	--ink: #0b1220;
	--ink-2: #37454f;
	--muted: #67737e;
	--brand: #0f766e;
	--brand-ink: #0b5c56;
	--brand-soft: #e6f4f2;
	--accent: #b45309;
	--accent-soft: #fdf3e3;
	--code-bg: #0e1a21;
	--code-ink: #d5e3ea;
	--shadow-sm: 0 1px 2px rgba(11, 18, 32, .05);
	--shadow: 0 1px 2px rgba(11, 18, 32, .04), 0 10px 28px -14px rgba(11, 18, 32, .22);
	--radius: 12px;
	--radius-lg: 18px;
	--maxw: 1120px;
	--font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
		"Microsoft YaHei", "Source Han Sans SC", sans-serif;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0b1014;
		--bg-soft: #0f161b;
		--surface: #121a20;
		--border: #22303a;
		--border-strong: #2f4351;
		--ink: #e9eff3;
		--ink-2: #c2ced6;
		--muted: #92a1ac;
		--brand: #2dd4bf;
		--brand-ink: #6ee7d7;
		--brand-soft: #0e2b28;
		--accent: #fbbf24;
		--accent-soft: #2b2210;
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
		--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -16px rgba(0, 0, 0, .7);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--brand);
	text-decoration: none;
	text-underline-offset: 3px;
}

a:hover {
	text-decoration: underline;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.28;
	letter-spacing: -.015em;
	font-weight: 650;
}

p {
	margin: 0;
}

code,
kbd,
pre {
	font-family: var(--mono);
	font-size: .875em;
}

:not(pre) > code {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: 5px;
	padding: .12em .38em;
	color: var(--ink-2);
	white-space: nowrap;
}

.wrap {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: 24px;
}

/* ---------------------------------------------------------------- header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	/* Fallback first: browsers without color-mix() get an opaque bar instead
	   of a transparent one with text sliding underneath. */
	background: var(--bg);
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--border);
}

.site-header .wrap {
	display: flex;
	align-items: center;
	gap: 20px;
	height: 62px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--ink);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: -.01em;
	white-space: nowrap;
}

.brand:hover {
	text-decoration: none;
}

.brand-mark {
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background: linear-gradient(140deg, #0f766e, #0b1220 92%);
	display: grid;
	place-items: center;
	color: #7ff0e2;
	font-size: 12px;
	font-weight: 700;
	font-family: var(--mono);
}

.site-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 26px;
	font-size: 14.5px;
}

.site-nav a {
	color: var(--ink-2);
}

.site-nav a:hover {
	color: var(--brand);
	text-decoration: none;
}

.site-nav a[aria-current="page"] {
	color: var(--brand);
	font-weight: 600;
}

.nav-cta {
	border: 1px solid var(--border-strong);
	border-radius: 8px;
	padding: 6px 13px;
	color: var(--ink) !important;
	font-weight: 550;
	transition: border-color .15s, background .15s;
}

.nav-cta:hover {
	background: var(--bg-soft);
	border-color: var(--brand);
	text-decoration: none;
}

/* mobile nav via details, no JS */
.nav-mobile {
	display: none;
	margin-left: auto;
}

.nav-mobile > summary {
	list-style: none;
	cursor: pointer;
	border: 1px solid var(--border-strong);
	border-radius: 8px;
	padding: 5px 11px;
	font-size: 14px;
	color: var(--ink-2);
}

.nav-mobile > summary::-webkit-details-marker {
	display: none;
}

.nav-mobile[open] > summary {
	border-color: var(--brand);
	color: var(--brand);
}

.nav-mobile ul {
	position: absolute;
	right: 16px;
	top: 58px;
	min-width: 190px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.nav-mobile li a {
	display: block;
	padding: 9px 12px;
	border-radius: 7px;
	color: var(--ink-2);
	font-size: 14.5px;
}

.nav-mobile li a:hover {
	background: var(--bg-soft);
	text-decoration: none;
}

/* ------------------------------------------------------------------ hero */

.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(900px 420px at 82% -12%, rgba(45, 212, 191, .20), transparent 62%),
		radial-gradient(680px 380px at 8% 108%, rgba(56, 189, 248, .13), transparent 60%),
		linear-gradient(165deg, #071018 0%, #0a1a20 52%, #0b1220 100%);
	color: #eef4f7;
	border-bottom: 1px solid #16262f;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: radial-gradient(80% 60% at 50% 0%, #000 25%, transparent 78%);
	-webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 25%, transparent 78%);
	pointer-events: none;
}

.hero .wrap {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: 56px;
	align-items: center;
	padding-block: 86px 92px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: #6ee7d7;
	border: 1px solid rgba(110, 231, 215, .28);
	background: rgba(45, 212, 191, .08);
	border-radius: 999px;
	padding: 5px 12px 5px 10px;
	font-weight: 550;
}

.eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 0 3px rgba(52, 211, 153, .18);
}

.hero h1 {
	margin: 22px 0 0;
	font-size: clamp(32px, 4.4vw, 50px);
	line-height: 1.16;
	letter-spacing: -.03em;
	font-weight: 700;
	color: #ffffff;
}

.hero h1 em {
	font-style: normal;
	background: linear-gradient(96deg, #5eead4, #7dd3fc 55%, #a5b4fc);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-lead {
	margin-top: 20px;
	max-width: 44em;
	font-size: 16.5px;
	line-height: 1.78;
	color: #b7c7d1;
}

.hero-lead strong {
	color: #e6eef3;
	font-weight: 600;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border-radius: 10px;
	padding: 11px 20px;
	font-size: 15px;
	font-weight: 600;
	border: 1px solid transparent;
	transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease;
}

.btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.btn-primary {
	background: #10b981;
	color: #04140f;
	box-shadow: 0 8px 22px -10px rgba(16, 185, 129, .85);
}

.btn-primary:hover {
	background: #34d399;
}

.btn-ghost {
	border-color: rgba(255, 255, 255, .22);
	color: #e6eef3;
	background: rgba(255, 255, 255, .04);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, .09);
	border-color: rgba(255, 255, 255, .38);
}

.btn-solid {
	background: var(--brand);
	color: #fff;
}

.btn-solid:hover {
	background: var(--brand-ink);
}

.btn-line {
	border-color: var(--border-strong);
	color: var(--ink);
	background: var(--surface);
}

.btn-line:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.hero-meta {
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-size: 13px;
	color: #8fa3af;
	font-family: var(--mono);
}

.hero-meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.hero-meta span::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #34d399;
	opacity: .8;
}

/* terminal card */
.term {
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 14px;
	background: rgba(6, 15, 20, .72);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06);
	overflow: hidden;
	backdrop-filter: blur(6px);
}

.term-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	background: rgba(255, 255, 255, .03);
}

.term-dots {
	display: flex;
	gap: 5px;
}

.term-dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #33444e;
}

.term-dots i:first-child {
	background: #43555f;
}

.term-title {
	margin-left: 6px;
	font-family: var(--mono);
	font-size: 11.5px;
	color: #7f939e;
	letter-spacing: .02em;
}

.term-body {
	margin: 0;
	padding: 16px 18px 20px;
	font-size: 12.6px;
	line-height: 1.85;
	color: #b9ccd6;
	overflow-x: auto;
	white-space: pre;
	tab-size: 2;
}

.term-body .c-dim {
	color: #5d7380;
}

.term-body .c-key {
	color: #7dd3fc;
}

.term-body .c-str {
	color: #86efac;
}

.term-body .c-hi {
	color: #fcd34d;
}

/* --------------------------------------------------------------- section */

.section {
	padding-block: 82px;
}

.section.tight {
	padding-block: 62px;
}

.section.soft {
	background: var(--bg-soft);
	border-block: 1px solid var(--border);
}

.section-head {
	max-width: 720px;
	margin-bottom: 44px;
}

.section-head.center {
	margin-inline: auto;
	text-align: center;
}

.kicker {
	font-size: 12.5px;
	font-weight: 650;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--brand);
}

.section-head h2 {
	margin-top: 12px;
	font-size: clamp(24px, 2.7vw, 33px);
	letter-spacing: -.022em;
}

.section-head p {
	margin-top: 14px;
	color: var(--muted);
	font-size: 15.5px;
	line-height: 1.78;
}

/* ---------------------------------------------------------------- cards */

.grid {
	display: grid;
	gap: 20px;
}

.grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 26px 24px;
	box-shadow: var(--shadow-sm);
	transition: border-color .16s, box-shadow .16s, transform .16s;
}

.card:hover {
	border-color: var(--border-strong);
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}

.card-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--mono);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--brand);
	background: var(--brand-soft);
	border-radius: 6px;
	padding: 3px 9px;
}

.card-tag.free {
	color: var(--brand);
}

.card-tag.key {
	color: var(--accent);
	background: var(--accent-soft);
}

.card h3 {
	margin-top: 15px;
	font-size: 18px;
	letter-spacing: -.015em;
}

.card p {
	margin-top: 10px;
	color: var(--muted);
	font-size: 14.6px;
	line-height: 1.76;
}

.card ul {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
	font-size: 14px;
	color: var(--ink-2);
}

.card ul li {
	position: relative;
	padding-left: 20px;
}

.card ul li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .62em;
	width: 6px;
	height: 6px;
	border-radius: 2px;
	background: var(--brand);
	opacity: .55;
}

.card ul li code {
	white-space: normal;
	word-break: break-all;
}

/* --------------------------------------------------------------- feature */

.feature-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 40px;
}

.feature {
	display: flex;
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid var(--border);
}

.feature-icon {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	background: var(--brand-soft);
	color: var(--brand-ink);
}

.feature-icon svg {
	width: 17px;
	height: 17px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.feature h4 {
	font-size: 15px;
	font-weight: 620;
}

.feature p {
	margin-top: 5px;
	font-size: 14px;
	color: var(--muted);
	line-height: 1.7;
}

/* ---------------------------------------------------------------- steps */

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	counter-reset: step;
}

.step {
	position: relative;
	padding-top: 20px;
	border-top: 2px solid var(--border);
}

.step::before {
	counter-increment: step;
	content: "0" counter(step);
	display: block;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 700;
	color: var(--brand);
	letter-spacing: .08em;
}

.step h4 {
	margin-top: 8px;
	font-size: 16px;
}

.step p {
	margin-top: 8px;
	font-size: 14.2px;
	color: var(--muted);
	line-height: 1.74;
}

/* ----------------------------------------------------------------- code */

.code {
	position: relative;
	margin: 0;
	background: var(--code-bg);
	color: var(--code-ink);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .07);
}

.code-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	font-family: var(--mono);
	font-size: 11.5px;
	color: #7f939e;
	letter-spacing: .02em;
}

.code-copy {
	margin-left: auto;
	border: 1px solid rgba(255, 255, 255, .16);
	background: transparent;
	color: #a8bcc7;
	border-radius: 6px;
	padding: 2px 9px;
	font-family: var(--font);
	font-size: 11.5px;
	cursor: pointer;
	transition: color .15s, border-color .15s;
}

.code-copy:hover {
	color: #fff;
	border-color: rgba(255, 255, 255, .4);
}

.code pre {
	margin: 0;
	padding: 16px 18px 18px;
	overflow-x: auto;
	line-height: 1.82;
	white-space: pre;
	tab-size: 2;
}

.code .c-dim {
	color: #5d7380;
}

.code .c-key {
	color: #7dd3fc;
}

.code .c-str {
	color: #86efac;
}

.code .c-num {
	color: #fcd34d;
}

.code .c-hi {
	color: #f0abfc;
}

/* ---------------------------------------------------------------- table */

.table-wrap {
	overflow-x: auto;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.2px;
}

th,
td {
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--border);
}

th {
	font-weight: 620;
	font-size: 13px;
	letter-spacing: .01em;
	color: var(--ink-2);
	background: var(--bg-soft);
	white-space: nowrap;
}

tbody tr:last-child td {
	border-bottom: 0;
}

td code {
	white-space: nowrap;
}

/* ------------------------------------------------------------------- faq */

.faq {
	display: grid;
	gap: 10px;
}

.faq details {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0 20px;
	transition: border-color .15s;
}

.faq details[open] {
	border-color: var(--border-strong);
}

.faq summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 30px 16px 0;
	position: relative;
	font-weight: 600;
	font-size: 15.2px;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 24px;
	width: 8px;
	height: 8px;
	border-right: 1.8px solid var(--muted);
	border-bottom: 1.8px solid var(--muted);
	transform: rotate(45deg);
	transition: transform .18s;
}

.faq details[open] summary::after {
	transform: rotate(-135deg);
	top: 25px;
}

.faq .faq-a {
	padding: 0 0 18px;
	font-size: 14.6px;
	color: var(--muted);
	line-height: 1.78;
}

.faq .faq-a p + p {
	margin-top: 10px;
}

/* ---------------------------------------------------------------- notice */

.notice {
	display: flex;
	gap: 14px;
	border: 1px solid var(--border);
	border-left: 3px solid var(--brand);
	border-radius: 10px;
	background: var(--bg-soft);
	padding: 16px 18px;
	font-size: 14.4px;
	color: var(--ink-2);
	line-height: 1.74;
}

.notice strong {
	color: var(--ink);
}

.notice.warn {
	border-left-color: var(--accent);
}

/* ------------------------------------------------------------------- cta */

.cta-band {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background:
		radial-gradient(600px 260px at 88% 10%, rgba(45, 212, 191, .22), transparent 62%),
		linear-gradient(140deg, #08131a, #0c2027 60%, #0b1220);
	color: #eef4f7;
	padding: 46px 42px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 26px 40px;
	justify-content: space-between;
}

.cta-band h2 {
	font-size: clamp(22px, 2.5vw, 29px);
	letter-spacing: -.02em;
	max-width: 22em;
}

.cta-band p {
	margin-top: 10px;
	color: #a9bdc8;
	font-size: 14.8px;
	max-width: 34em;
}

.cta-band .btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
	border-top: 1px solid var(--border);
	background: var(--bg);
	padding-block: 42px 34px;
	font-size: 14px;
	color: var(--muted);
}

.footer-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 26px 48px;
}

.footer-brand p {
	margin-top: 12px;
	max-width: 30em;
	line-height: 1.74;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 34px 56px;
}

.footer-col h5 {
	margin: 0 0 12px;
	font-size: 12.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-2);
	font-weight: 650;
}

.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 9px;
}

.footer-col a {
	color: var(--muted);
}

.footer-col a:hover {
	color: var(--brand);
}

.footer-bottom {
	margin-top: 34px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	justify-content: space-between;
	font-size: 13px;
}

/* ------------------------------------------------------------------ docs */

.doc-hero {
	padding-block: 54px 44px;
	border-bottom: 1px solid var(--border);
	background: var(--bg-soft);
}

.doc-hero h1 {
	margin-top: 10px;
	font-size: clamp(27px, 3.4vw, 38px);
	letter-spacing: -.03em;
}

.doc-hero p {
	margin-top: 14px;
	max-width: 46em;
	color: var(--muted);
	font-size: 15.6px;
}

.doc-layout {
	display: grid;
	grid-template-columns: 236px minmax(0, 1fr);
	gap: 56px;
	padding-block: 52px 90px;
	align-items: start;
}

.doc-nav {
	position: sticky;
	top: 84px;
	font-size: 14px;
	max-height: calc(100vh - 110px);
	overflow-y: auto;
}

.doc-nav h5 {
	margin: 0 0 12px;
	font-size: 11.5px;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 650;
}

.doc-nav ol {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 2px;
	counter-reset: dn;
}

.doc-nav li a {
	display: block;
	padding: 6px 10px;
	border-radius: 7px;
	color: var(--ink-2);
	line-height: 1.5;
	border-left: 2px solid transparent;
}

.doc-nav li a:hover {
	background: var(--bg-soft);
	color: var(--brand);
	text-decoration: none;
}

.doc-body {
	min-width: 0;
}

.doc-body section {
	padding-bottom: 42px;
	margin-bottom: 42px;
	border-bottom: 1px solid var(--border);
}

.doc-body section:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.doc-body h2 {
	font-size: 23px;
	letter-spacing: -.02em;
	scroll-margin-top: 88px;
}

.doc-body h3 {
	margin-top: 28px;
	font-size: 17px;
	scroll-margin-top: 88px;
}

.doc-body h4 {
	margin-top: 22px;
	font-size: 15.2px;
	color: var(--ink-2);
}

.doc-body p {
	margin-top: 13px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.82;
}

.doc-body ul,
.doc-body ol {
	margin: 13px 0 0;
	padding-left: 22px;
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.82;
}

.doc-body li + li {
	margin-top: 7px;
}

.doc-body .table-wrap,
.doc-body .code,
.doc-body .notice {
	margin-top: 18px;
}

.doc-body blockquote {
	margin: 18px 0 0;
	padding: 2px 0 2px 16px;
	border-left: 3px solid var(--border-strong);
	color: var(--muted);
	font-size: 14.6px;
}

/* changelog */
.log-entry {
	padding-bottom: 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--border);
}

.log-entry:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.log-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px 14px;
}

.log-ver {
	font-family: var(--mono);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ink);
}

.log-date {
	font-family: var(--mono);
	font-size: 12.5px;
	color: var(--muted);
}

.pill {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 650;
	letter-spacing: .04em;
	border-radius: 999px;
	padding: 2px 10px;
	border: 1px solid var(--border-strong);
	color: var(--ink-2);
}

.pill.latest {
	border-color: var(--brand);
	color: var(--brand);
	background: var(--brand-soft);
}

.log-type {
	margin-top: 22px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--brand);
}

.log-entry ul {
	margin: 10px 0 0;
	padding-left: 20px;
	color: var(--ink-2);
	font-size: 14.8px;
	line-height: 1.8;
}

.log-entry li + li {
	margin-top: 8px;
}

/* -------------------------------------------------------- page level bits */

.anchor-link {
	opacity: 0;
	margin-left: 8px;
	font-size: 15px;
	color: var(--brand);
	transition: opacity .15s;
}

h2:hover .anchor-link,
h3:hover .anchor-link {
	opacity: 1;
}

.top-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	color: var(--muted);
}

.top-link:hover {
	color: var(--brand);
	text-decoration: none;
}

.lead-quote {
	font-size: 15.6px;
	color: var(--ink-2);
	border-left: 3px solid var(--brand);
	padding-left: 18px;
	line-height: 1.8;
}

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

@media (max-width: 960px) {
	.hero .wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
		padding-block: 64px 72px;
	}

	.grid-3,
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.feature-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.doc-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding-block: 36px 64px;
	}

	.doc-nav {
		position: static;
		max-height: none;
		border: 1px solid var(--border);
		border-radius: var(--radius);
		padding: 16px 18px;
		background: var(--bg-soft);
	}

	.doc-nav ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2px 12px;
	}

	.cta-band {
		padding: 34px 28px;
	}
}

@media (max-width: 760px) {
	.site-nav {
		display: none;
	}

	.nav-mobile {
		display: block;
		position: relative;
	}

	.grid-3,
	.grid-2,
	.steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.section {
		padding-block: 56px;
	}

	.section-head {
		margin-bottom: 30px;
	}

	.wrap {
		padding-inline: 18px;
	}

	.hero h1 {
		font-size: clamp(27px, 8vw, 36px);
	}

	.term-body {
		font-size: 11.6px;
	}

	.footer-links {
		gap: 26px 40px;
	}

	.doc-nav ol {
		grid-template-columns: minmax(0, 1fr);
	}

	.cta-band {
		padding: 28px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}
