/* omp 介绍站 — 共享样式 */
:root {
	--bg: #0a0b0d;
	--bg-soft: #0d1014;
	--panel: #10141a;
	--panel-2: #151a22;
	--border: #232a34;
	--border-soft: #1a2028;
	--fg: #ece9e4;
	--fg-soft: #c3c6cc;
	--muted: #8b94a2;
	--accent: #ff6b3d;
	--accent-soft: rgba(255, 107, 61, 0.12);
	--mint: #63e6c2;
	--mint-soft: rgba(99, 230, 194, 0.1);
	--yellow: #ffcf6b;
	--radius: 14px;
	--radius-sm: 8px;
	--wrap: 1128px;
	--mono: "SFMono-Regular", "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
	--sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
	--shadow: 0 24px 80px -32px rgba(0, 0, 0, 0.9);
}

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(900px 500px at 82% -8%, rgba(255, 107, 61, 0.1), transparent 62%),
		radial-gradient(700px 420px at 0% 18%, rgba(99, 230, 194, 0.05), transparent 60%),
		linear-gradient(180deg, #0a0b0d 0%, #090a0c 100%);
	pointer-events: none;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
	pointer-events: none;
}

::selection {
	background: var(--accent);
	color: #140a06;
}

a {
	color: var(--fg);
	text-decoration-color: rgba(255, 107, 61, 0.55);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--accent);
}

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

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

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

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

code {
	padding: 0.12em 0.4em;
	border: 1px solid var(--border-soft);
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--fg-soft);
}

pre code {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: inherit;
}

hr {
	border: 0;
	border-top: 1px solid var(--border-soft);
	margin: 3rem 0;
}

.wrap {
	width: min(var(--wrap), calc(100% - 3rem));
	margin-inline: auto;
}

.skip-link {
	position: fixed;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.6rem 1rem;
	border-radius: var(--radius-sm);
	background: var(--accent);
	color: #140a06;
	font-weight: 700;
	text-decoration: none;
}

.skip-link:focus {
	top: 1rem;
}

/* ---------- header ---------- */
.site-head {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(35, 42, 52, 0.75);
	background: rgba(10, 11, 13, 0.78);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
}

.head-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 68px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--mono);
	font-size: 1.18rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	text-decoration: none;
	color: var(--fg);
}

.brand:hover {
	color: var(--fg);
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--panel);
	color: var(--accent);
	font-size: 1rem;
	line-height: 1;
}

.brand-sup {
	color: var(--accent);
	font-size: 0.7em;
	transform: translateY(-0.45em);
}

.nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.nav a {
	padding: 0.45rem 0.7rem;
	border-radius: 7px;
	color: var(--muted);
	font-size: 0.9rem;
	text-decoration: none;
	transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
	color: var(--fg);
	background: rgba(255, 255, 255, 0.04);
}

.nav a.is-active {
	color: var(--fg);
	background: rgba(255, 255, 255, 0.06);
}

.nav .nav-cta {
	margin-left: 0.5rem;
	border: 1px solid rgba(255, 107, 61, 0.4);
	background: var(--accent-soft);
	color: var(--accent);
}

.nav .nav-cta:hover {
	background: var(--accent);
	color: #140a06;
}

.nav-toggle {
	display: none;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--panel);
	color: var(--fg);
	font: inherit;
	font-size: 0.85rem;
	padding: 0.4rem 0.75rem;
	cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
	padding: clamp(4rem, 9vw, 8.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.4rem;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--accent);
}

h1.hero-title {
	font-size: clamp(3.1rem, 7.4vw, 6.3rem);
	line-height: 0.98;
	letter-spacing: -0.05em;
}

.hero-title .outline {
	color: transparent;
	-webkit-text-stroke: 1px var(--muted);
}

.hero-title .grad {
	background: linear-gradient(100deg, var(--accent) 10%, var(--yellow) 50%, var(--mint) 96%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-lede {
	max-width: 34em;
	margin-top: 1.6rem;
	color: var(--fg-soft);
	font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.hero-lede strong {
	color: var(--fg);
	font-weight: 600;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem;
	margin-top: 2.1rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.78rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 9px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary {
	background: var(--accent);
	color: #140a06;
}

.btn-primary:hover {
	background: #ff7f58;
	color: #140a06;
}

.btn-ghost {
	border-color: var(--border);
	background: rgba(255, 255, 255, 0.02);
	color: var(--fg);
}

.btn-ghost:hover {
	border-color: #3a4350;
	background: rgba(255, 255, 255, 0.05);
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
	margin-top: 1.6rem;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.75rem;
}

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

.hero-meta span::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--mint);
}

/* ---------- terminal ---------- */
.terminal {
	position: relative;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: linear-gradient(180deg, #11151b 0%, #0d1116 100%);
	box-shadow: var(--shadow), 0 0 0 1px rgba(255, 107, 61, 0.06);
	overflow: hidden;
}

.terminal::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(500px 180px at 80% 0%, rgba(255, 107, 61, 0.08), transparent 70%);
	pointer-events: none;
}

.term-bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 0.9rem;
	border-bottom: 1px solid var(--border-soft);
	background: rgba(255, 255, 255, 0.02);
}

.dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #2b333e;
}

.dot.r {
	background: #ff5f57;
}

.dot.y {
	background: #febc2e;
}

.dot.g {
	background: #28c840;
}

.term-title {
	margin-left: 0.4rem;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.72rem;
}

.term-body {
	padding: 1.15rem 1.2rem 1.35rem;
	font-family: var(--mono);
	font-size: 0.79rem;
	line-height: 1.85;
	white-space: pre-wrap;
	word-break: break-word;
}

.term-body .ln {
	display: block;
}

.tp {
	color: var(--accent);
}

.tc {
	color: #6c7787;
}

.tg {
	color: var(--mint);
}

.ty {
	color: var(--yellow);
}

.tw {
	color: var(--fg);
}

.term-cursor {
	display: inline-block;
	width: 8px;
	height: 15px;
	margin-left: 2px;
	background: var(--accent);
	vertical-align: -2px;
	animation: blink 1.2s steps(2, start) infinite;
}

@keyframes blink {
	50% {
		opacity: 0;
	}
}

/* ---------- sections ---------- */
.section {
	padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.section + .section {
	border-top: 1px solid var(--border-soft);
}

.section-head {
	max-width: 50rem;
	margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

.kicker {
	display: block;
	margin-bottom: 0.9rem;
	color: var(--accent);
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.section-head h2 {
	font-size: clamp(2rem, 4vw, 3.1rem);
	letter-spacing: -0.04em;
}

.section-head p {
	margin-top: 1rem;
	color: var(--muted);
	font-size: 1.02rem;
}

.grid {
	display: grid;
	gap: 1rem;
}

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

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

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

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: 1.4rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0));
	transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.card:hover {
	border-color: #38424f;
	transform: translateY(-2px);
}

.card-num {
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
}

.card h3 {
	font-size: 1.06rem;
}

.card p {
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.6;
}

.card .card-link {
	margin-top: auto;
	color: var(--accent);
	font-family: var(--mono);
	font-size: 0.78rem;
	text-decoration: none;
}

.card .card-link:hover {
	text-decoration: underline;
}

.card-accent {
	border-color: rgba(255, 107, 61, 0.34);
	background: linear-gradient(180deg, rgba(255, 107, 61, 0.08), rgba(255, 107, 61, 0.015));
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.22rem 0.55rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.68rem;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.pill.mint {
	border-color: rgba(99, 230, 194, 0.3);
	background: var(--mint-soft);
	color: var(--mint);
}

.pill.orange {
	border-color: rgba(255, 107, 61, 0.32);
	background: var(--accent-soft);
	color: var(--accent);
}

/* ---------- stats ---------- */
.stats {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--panel);
}

.stat {
	padding: 1.4rem 1.1rem;
	border-right: 1px solid var(--border-soft);
}

.stat:last-child {
	border-right: 0;
}

.stat b {
	display: block;
	color: var(--fg);
	font-family: var(--mono);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 600;
	letter-spacing: -0.04em;
}

.stat span {
	display: block;
	margin-top: 0.3rem;
	color: var(--muted);
	font-size: 0.76rem;
	line-height: 1.4;
}

/* ---------- page hero ---------- */
.page-hero {
	padding: clamp(3.4rem, 7vw, 6.2rem) 0 clamp(2.2rem, 4vw, 3.4rem);
}

.page-hero h1 {
	font-size: clamp(2.4rem, 5.4vw, 4.4rem);
	letter-spacing: -0.045em;
}

.page-hero .lede {
	max-width: 46rem;
	margin-top: 1.1rem;
	color: var(--muted);
	font-size: 1.06rem;
}

.breadcrumb {
	margin-bottom: 1.1rem;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
}

.breadcrumb a {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--accent);
}

/* ---------- feature rows ---------- */
.feature-row {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(1.5rem, 4vw, 4rem);
	padding: clamp(2rem, 4vw, 3.2rem) 0;
	border-top: 1px solid var(--border-soft);
	align-items: start;
}

.feature-row:first-of-type {
	border-top: 0;
}

.feature-row.rev {
	grid-template-columns: 1.15fr 0.85fr;
}

.feature-row.rev .feature-copy {
	order: 2;
}

.feature-row.rev .feature-side {
	order: 1;
}

.feature-copy h2 {
	font-size: clamp(1.45rem, 2.6vw, 2.1rem);
	letter-spacing: -0.03em;
}

.feature-copy h2 .idx {
	display: inline-block;
	margin-right: 0.55rem;
	color: var(--accent);
	font-family: var(--mono);
	font-size: 0.62em;
	vertical-align: 0.28em;
}

.feature-copy p {
	margin-top: 0.85rem;
	color: var(--muted);
}

.feature-copy ul {
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.5rem;
}

.feature-copy li {
	position: relative;
	padding-left: 1.15rem;
	color: var(--fg-soft);
	font-size: 0.93rem;
}

.feature-copy li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--accent);
	font-family: var(--mono);
}

.feature-side {
	padding: 1.2rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-soft);
}

.feature-side .side-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.9rem;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.feature-side pre {
	margin: 0;
	overflow-x: auto;
	color: var(--fg-soft);
	font-size: 0.78rem;
	line-height: 1.7;
}

.feature-side .note {
	margin-top: 0.9rem;
	padding-top: 0.8rem;
	border-top: 1px solid var(--border-soft);
	color: var(--muted);
	font-size: 0.78rem;
}

/* ---------- code ---------- */
.codeblock {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-soft);
	overflow: hidden;
}

.code-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.55rem 0.8rem 0.55rem 1rem;
	border-bottom: 1px solid var(--border-soft);
	background: rgba(255, 255, 255, 0.025);
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.7rem;
}

.copy {
	border: 1px solid var(--border);
	border-radius: 6px;
	background: transparent;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.68rem;
	padding: 0.25rem 0.55rem;
	cursor: pointer;
}

.copy:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.codeblock pre {
	margin: 0;
	padding: 1rem 1.1rem 1.15rem;
	overflow-x: auto;
	line-height: 1.75;
	color: var(--fg-soft);
	font-size: 0.8rem;
}

.codeblock .c {
	color: #66707e;
}

.codeblock .k {
	color: var(--accent);
}

.codeblock .s {
	color: var(--mint);
}

.codeblock .f {
	color: var(--yellow);
}

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

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

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

th {
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.02);
	white-space: nowrap;
}

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

td {
	color: var(--fg-soft);
}

td code {
	white-space: nowrap;
}

/* ---------- steps ---------- */
.steps {
	display: grid;
	gap: 0;
	counter-reset: step;
}

.step {
	position: relative;
	display: grid;
	grid-template-columns: 3.4rem 1fr;
	gap: 1.2rem;
	padding: 1.5rem 0;
	border-top: 1px solid var(--border-soft);
}

.step:first-child {
	border-top: 0;
	padding-top: 0;
}

.step::before {
	counter-increment: step;
	content: counter(step, decimal-leading-zero);
	color: var(--accent);
	font-family: var(--mono);
	font-size: 0.85rem;
	padding-top: 0.25rem;
}

.step h3 {
	font-size: 1.1rem;
}

.step p {
	margin-top: 0.45rem;
	color: var(--muted);
	font-size: 0.93rem;
}

/* ---------- callout ---------- */
.callout {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.9rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--border);
	border-left: 2px solid var(--accent);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: rgba(255, 107, 61, 0.045);
	color: var(--fg-soft);
	font-size: 0.9rem;
}

.callout .mark {
	color: var(--accent);
	font-family: var(--mono);
	font-weight: 700;
}

.callout.mint {
	border-left-color: var(--mint);
	background: var(--mint-soft);
}

.callout.mint .mark {
	color: var(--mint);
}

/* ---------- quote ---------- */
.quote {
	margin: 0;
	padding: 1.5rem 1.6rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--panel);
}

.quote p {
	color: var(--fg);
	font-size: 1.1rem;
	line-height: 1.55;
}

.quote footer {
	margin-top: 0.9rem;
	color: var(--muted);
	font-family: var(--mono);
	font-size: 0.72rem;
}

/* ---------- diagram ---------- */
.diagram {
	padding: 1.2rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg-soft);
	overflow-x: auto;
}

.diagram svg {
	display: block;
	width: 100%;
	min-width: 560px;
	height: auto;
}

.diagram text {
	font-family: var(--mono);
	fill: var(--fg-soft);
	font-size: 11px;
}

.diagram .dim {
	fill: var(--muted);
	font-size: 9.5px;
	letter-spacing: 0.08em;
}

.diagram .box {
	fill: var(--panel);
	stroke: var(--border);
}

.diagram .box-accent {
	fill: rgba(255, 107, 61, 0.08);
	stroke: rgba(255, 107, 61, 0.45);
}

.diagram .box-mint {
	fill: var(--mint-soft);
	stroke: rgba(99, 230, 194, 0.35);
}

.diagram .line {
	stroke: #3a4350;
	stroke-width: 1;
	fill: none;
}

.diagram .arrow {
	fill: #5a6573;
}

.diagram .label-accent {
	fill: var(--accent);
}

.diagram .label-mint {
	fill: var(--mint);
}

/* ---------- faq ---------- */
.faq {
	display: grid;
	gap: 0.7rem;
}

details {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--panel);
	overflow: hidden;
}

details[open] {
	border-color: #38424f;
}

summary {
	position: relative;
	padding: 1rem 2.8rem 1rem 1.1rem;
	cursor: pointer;
	font-size: 0.98rem;
	font-weight: 550;
	list-style: none;
}

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

summary::after {
	content: "+";
	position: absolute;
	right: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--accent);
	font-family: var(--mono);
	font-size: 1.1rem;
	line-height: 1;
}

details[open] summary::after {
	content: "−";
}

details .faq-body {
	padding: 0 1.1rem 1.15rem;
	color: var(--muted);
	font-size: 0.92rem;
}

details .faq-body p {
	margin-top: 0.35rem;
}

/* ---------- footer ---------- */
.site-foot {
	margin-top: clamp(3rem, 6vw, 6rem);
	border-top: 1px solid var(--border);
	background: #090a0c;
}

.foot-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 2rem;
	padding: 2.6rem 0 2rem;
}

.foot-grid p {
	max-width: 28rem;
	margin-top: 0.8rem;
	color: var(--muted);
	font-size: 0.87rem;
}

.foot-links {
	display: flex;
	flex-wrap: wrap;
	align-content: start;
	justify-content: flex-end;
	gap: 0.4rem 1.2rem;
	font-size: 0.86rem;
}

.foot-links a {
	color: var(--muted);
	text-decoration: none;
}

.foot-links a:hover {
	color: var(--accent);
}

.foot-note {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	padding: 1rem 0 1.4rem;
	border-top: 1px solid var(--border-soft);
	color: #626b78;
	font-family: var(--mono);
	font-size: 0.68rem;
}

/* ---------- reveal ---------- */
.reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.term-cursor {
		animation: none;
	}

	.btn:hover,
	.card:hover {
		transform: none;
	}
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		padding-top: 3.4rem;
	}

	.hero-lede {
		max-width: 40rem;
	}

	.terminal {
		max-width: 680px;
	}

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

	.stat:nth-child(3n) {
		border-right: 0;
	}

	.stat:nth-child(-n + 3) {
		border-bottom: 1px solid var(--border-soft);
	}

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

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

	.feature-row,
	.feature-row.rev {
		grid-template-columns: 1fr;
	}

	.feature-row.rev .feature-copy,
	.feature-row.rev .feature-side {
		order: initial;
	}

	.foot-grid {
		grid-template-columns: 1fr;
	}

	.foot-links {
		justify-content: flex-start;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
	}

	.wrap {
		width: min(var(--wrap), calc(100% - 2rem));
	}

	.nav-toggle {
		display: inline-flex;
	}

	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0.2rem;
		padding: 0.7rem 1rem 1rem;
		border-bottom: 1px solid var(--border);
		background: rgba(10, 11, 13, 0.98);
	}

	.nav.open {
		display: flex;
	}

	.nav a {
		padding: 0.65rem 0.7rem;
	}

	.nav .nav-cta {
		margin-left: 0;
		margin-top: 0.35rem;
		text-align: center;
	}

	.grid-2,
	.grid-3,
	.grid-4 {
		grid-template-columns: 1fr;
	}

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

	.stat:nth-child(3n) {
		border-right: 1px solid var(--border-soft);
	}

	.stat:nth-child(2n) {
		border-right: 0;
	}

	.stat:nth-child(-n + 3) {
		border-bottom: 0;
	}

	.stat:nth-child(-n + 4) {
		border-bottom: 1px solid var(--border-soft);
	}

	.step {
		grid-template-columns: 2.2rem 1fr;
		gap: 0.9rem;
	}

	.term-body {
		font-size: 0.72rem;
	}

	.page-hero h1 {
		font-size: clamp(2.1rem, 9vw, 3rem);
	}

	.foot-note {
		flex-direction: column;
	}
}

@media (max-width: 460px) {
	.hero-title {
		font-size: clamp(2.7rem, 13vw, 3.6rem);
	}

	.stats {
		grid-template-columns: 1fr;
	}

	.stat {
		border-right: 0 !important;
		border-bottom: 1px solid var(--border-soft);
	}

	.stat:last-child {
		border-bottom: 0;
	}
}
