:root {
	color-scheme: dark;
	--page: #0b0e14;
	--ink: #f2f4f8;
	--muted: #a0a9b9;
	--accent: #a6b0ff;
	--line: #252b38;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
	&::before {
		content: "";
		position: fixed;
		inset: 0;
		pointer-events: none;
		background: radial-gradient(ellipse at 83% 32%, #6261bd12, transparent 48%);
		z-index: -1;
	}
}
.page-shell {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
}
.container {
	max-width: 1240px;
	padding-left: 32px;
	padding-right: 32px;
}
.font-mono {
	font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
	display: flex;
	align-items: center;
}
.site-header {
	padding-top: 20px;
	padding-bottom: 0;
}
.brand {
	color: var(--ink);
	text-decoration: none;
	font-weight: 650;
	font-size: 1.15rem;
	letter-spacing: -.04em;
	&:hover {
		color: var(--accent);
	}
}
.domain {
	color: var(--muted);
	font-weight: 400;
}
.brand-icon {
	width: 42px;
	height: 42px;
	border: 1px solid #40465e;
	border-radius: 12px;
	display: grid;
	place-items: center;
	color: var(--accent);
	background: #161a29;
	svg {
		width: 28px;
		height: 28px;
	}
}
.header-note {
	font-size: .9rem;
	color: var(--muted);
}
.hero {
	flex: 1;
	padding-top: 0;
	padding-bottom: 56px;
}
.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--accent);
	font-size: .7rem;
	letter-spacing: .14em;
	margin-bottom: 27px;
}
.status-dot {
	width: 6px;
	height: 6px;
	background: var(--accent);
	border-radius: 50%;
	box-shadow: 0 0 0 5px #a6b0ff0d;
}
.row {
  margin-top:0;
}
h1 {
	font-size: clamp(2.7rem, 5.15vw, 4.5rem);
	line-height: 1.08;
	font-weight: 650;
	letter-spacing: -.055em;
	max-width: 800px;
	margin: 0 0 27px;
}
.accent {
	color: var(--accent);
}
p,
.hero-description {
	font-size: clamp(1.1rem, 1.7vw, 1.3rem);
	font-weight: 400;
	color: #d0d5df;
	margin-bottom: 15px;
	line-height: 1.5;
}
.hero-detail {
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.8;
	max-width: 570px;
	margin-bottom: 34px;
}
.launch-label {
	display: inline-block;
	padding: 10px 17px;
	border: 1px solid #4b5275;
	border-radius: 6px;
	color: #cbd1ff;
	background: #a6b0ff0a;
	font-weight: 550;
	font-size: .875rem;
	white-space: nowrap;
}
.launch-line {
	width: 24px;
	height: 1px;
	background: #4b5275;
}
.launch-note {
	font-size: .7rem;
	color: var(--muted);
}
.engine-visual {
	position: relative;
	isolation: isolate;
	height: 340px;
	width: 100%;
	max-width: 380px;
	margin-inline: auto;
	overflow: hidden;
}
.visual-grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(#a6b0ff0b 1px, transparent 1px), linear-gradient(90deg, #a6b0ff0b 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: radial-gradient(ellipse, #000 20%, transparent 70%);
  vertical-align: top !important;
}
.visual-caption {
	position: absolute;
	top: 3px;
	left: 0;
	right: 0;
	text-align: center;
	color: #7d87a0;
	font-size: .6rem;
	letter-spacing: .2em;
}
.engine-orbit {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 1px solid #353b54;
	border-radius: 50%;
	z-index: -1;
}
.orbit-outer {
	width: 282px;
	height: 282px;
	border-style: dashed;
	border-color: #2a3045;
}
.orbit-inner {
	width: 210px;
	height: 210px;
	background: radial-gradient(circle, #a6b0ff10, transparent 70%);
}
.engine-core {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-7deg);
	width: 112px;
	height: 112px;
	border: 1px solid #6870a3;
	border-radius: 25px;
	background: linear-gradient(135deg, #242942, #121725);
	box-shadow: 0 0 60px #8288f51a, inset 0 1px 0 #c5caff1a;
	display: grid;
	place-items: center;
	color: #b7c0ff;
	svg {
		width: 75px;
		height: 75px;
		transform: rotate(7deg);
	}
}
.diagram-node {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	padding: 7px 13px;
	background: #10141f;
	border: 1px solid #343c54;
	border-radius: 5px;
	font-size: .75rem;
	color: #aab4cf;
	white-space: nowrap;
}
.node-top {
	top: 42px;
}
.node-bottom {
	bottom: 39px;
	font-size: .65rem;
}
.orbit-point {
	position: absolute;
	top: 50%;
	right: calc(50% - 108px);
	width: 7px;
	height: 7px;
	background: var(--accent);
	border-radius: 50%;
	box-shadow: 0 0 16px #a6b0ff66;
}
.principles {
	margin-top: 74px;
	padding-top: 31px;
	border-top: 1px solid var(--line);
	h2 {
		font-size: 1rem;
		font-weight: 550;
		letter-spacing: -.015em;
		margin-bottom: 10px;
	}
	p {
		color: var(--muted);
		font-size: .83rem;
		line-height: 1.65;
		max-width: 290px;
		margin-bottom: 0;
	}
}
.principle-number {
	display: block;
	color: #7e88a1;
	letter-spacing: .08em;
	font-size: .6rem;
	margin-bottom: 14px;
}
.site-footer {
	border-top: 1px solid var(--line);
	padding-top: 22px;
	padding-bottom: 25px;
	font-size: .7rem;
	color: #8d97ab;
  a {
    text-decoration: none;
  }
	.font-mono {
		font-size: .65rem;
	}
}
.skip-link {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 10;
	transform: translateY(-150%);
	background: var(--ink);
	color: var(--page);
	padding: 10px 15px;
	border-radius: 5px;
	&:focus {
		transform: translateY(0);
	}
}
a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 5px;
}
@media(min-width:1600px) {
	.hero {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}
@media(max-width:991.98px) {
	.hero {
		padding-top: 42px;
	}
	.engine-visual {
		height: 285px;
		max-width: 340px;
	}
	.visual-caption {
		top: 0;
	}
	.orbit-outer {
		width: 250px;
		height: 250px;
	}
	.orbit-inner {
		width: 190px;
		height: 190px;
	}
	.node-top {
		top: 24px;
	}
	.node-bottom {
		bottom: 23px;
	}
	.orbit-point {
		right: calc(50% - 98px);
	}
	.principles {
		margin-top: 40px;
	}
}
@media(max-width:575.98px) {
	.container {
		padding-left: 24px;
		padding-right: 24px;
	}
	.site-header {
		padding-top: 24px;
		padding-bottom: 24px;
	}
	.brand {
		font-size: 1rem;
	}
	.brand-icon {
		width: 36px;
		height: 36px;
	}
	.hero {
		padding-top: 32px;
		padding-bottom: 36px;
	}
	h1 {
		font-size: clamp(2.45rem, 10.5vw, 3.8rem);
	}
	.hero-description {
		max-width: 300px;
	}
	.hero-detail {
		font-size: .93rem;
	}
	.launch {
		flex-wrap: wrap;
	}
	.launch-note {
		font-size: .65rem;
	}
	.launch-line {
		width: 14px;
	}
	.principles {
		margin-top: 30px;
	}
	.site-footer {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}
@media(prefers-reduced-motion:no-preference) {
	.engine-core {
		animation: arrive .8s ease-out both;
	}
	@keyframes arrive {
		from {
			opacity: 0;
			translate: 0 8px;
		}
		to {
			opacity: 1;
			translate: 0 0;
		}
	}
}
/* Shared navigation and About page */
.btn-engine {
    --bs-btn-color: var(--accent);
    --bs-btn-bg: #a6b0ff0a;
    --bs-btn-border-color: #4b5275;
    --bs-btn-hover-color: var(--ink);
    --bs-btn-hover-bg: #242942;
    --bs-btn-hover-border-color: var(--accent);
    --bs-btn-active-color: var(--ink);
    --bs-btn-active-bg: #242942;
    --bs-btn-active-border-color: var(--accent);
    --bs-btn-focus-shadow-rgb: 166, 176, 255;
    padding: .55rem .95rem;
    font-size: .8rem;
    font-weight: 550;
    white-space: nowrap;
}
.about-story { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.about-story h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); letter-spacing: -.035em; font-weight: 550; }
.about-copy p { max-width: 680px; color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 18px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-principles { margin-top: 36px; }
@media (max-width: 575.98px) {
    .site-header { flex-wrap: wrap; }
    .site-header nav { margin-left: auto; }
    .about-story { margin-top: 32px; }
}
/* Features page and shared launch links */
a.launch-label { text-decoration: none; transition: background-color .15s, border-color .15s; }
a.launch-label:hover { color: var(--ink); background: #242942; border-color: var(--accent); }
.features-page { padding-top: 56px; }
.features-intro .hero-detail { max-width: 720px; }
.feature-jumps { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 26px 0; }
.feature-jumps a { color: var(--accent); text-decoration: none; font-size: .9rem; }
.feature-jumps a:hover { text-decoration: underline; }
.release-note { display: flex; align-items: baseline; gap: 16px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 10px; background: #10141f; max-width: 840px; }
.release-note .status-dot { flex: 0 0 6px; }
.release-note p { font-size: .9rem; line-height: 1.7; color: var(--muted); margin: 0; }
.release-note strong { color: var(--ink); }
.feature-section { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.features-page h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.035em; font-weight: 550; margin-bottom: 16px; }
.section-heading > p { max-width: 720px; font-size: 1rem; color: var(--muted); margin-bottom: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(135deg, #161b29, #10141d); }
.feature-symbol { display: inline-flex; align-items: center; min-height: 36px; color: var(--accent); font-size: .85rem; margin-bottom: 24px; }
.features-page h3 { font-size: 1.15rem; font-weight: 550; letter-spacing: -.02em; margin-bottom: 12px; }
.feature-card p, .foundation-section p, .features-closing p { font-size: .95rem; line-height: 1.8; color: var(--muted); margin: 0; }
.message-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; padding: 28px 20px; margin-top: 20px; border: 1px dashed #343c54; border-radius: 10px; font-size: .85rem; color: var(--muted); }
.message-flow strong { color: var(--accent); font-weight: 550; }
.foundation-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.foundation-section strong { color: var(--ink); }
.foundation-details .btn { margin-top: 24px; }
.features-closing { margin-top: 64px; padding: 36px; border: 1px solid #40465e; border-radius: 12px; background: #161a29; }
.features-closing p { max-width: 680px; margin-bottom: 24px; }
@media (max-width: 575.98px) {
  .site-header nav { flex-wrap: wrap; }
  .features-page { padding-top: 32px; }
  .feature-section, .features-closing { margin-top: 40px; }
  .feature-grid, .foundation-section { grid-template-columns: 1fr; }
  .foundation-section { gap: 28px; }
  .feature-card, .features-closing { padding: 24px; }
  .release-note { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { a.launch-label { transition: none; } }

/* Detailed feature inventory */
.feature-index { padding: 24px 0 0; gap: 14px 24px; }
.feature-list { margin: 18px 0 0; padding-left: 20px; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.feature-list li { padding-left: 4px; margin-bottom: 10px; overflow-wrap: anywhere; }
.feature-list li:last-child { margin-bottom: 0; }
.feature-list li::marker { color: var(--accent); }
.feature-grid > .feature-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.feature-grid > .feature-card:last-child:nth-child(odd) .feature-list { columns: 2; column-gap: 40px; }
.feature-list li { break-inside: avoid; }
@media (max-width: 767.98px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid > .feature-card:last-child:nth-child(odd) .feature-list { columns: 1; }
}
