/* Astro Lord — site styles
   Dark is the night sky; light is dawn. Both follow the visitor's system setting,
   and the moon/sun button overrides it (remembered in localStorage). */

:root {
	--bg: #07070c;
	--bg-2: #0d0c16;
	--surface: rgba(255, 255, 255, 0.045);
	--surface-2: rgba(255, 255, 255, 0.075);
	--line: rgba(255, 255, 255, 0.10);
	--line-2: rgba(255, 255, 255, 0.18);
	--text: #f3efe6;
	--text-2: rgba(243, 239, 230, 0.72);
	--text-3: rgba(243, 239, 230, 0.5);
	--gold: #e8b86b;
	--gold-2: #f6d9a1;
	--gold-ink: #1a1206;
	--violet: #9a8cff;
	--warn: #ff8a6b;
	--glow: rgba(232, 184, 107, 0.28);
	--sky-a: #120f2a;
	--sky-b: #07070c;
	--planet-a: #3b2a6e;
	--planet-b: #0d0a1e;
	--temple: #05050a;
	--shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
	--glass-blur: saturate(160%) blur(18px);

	--serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Devanagari", sans-serif;

	--r-s: 12px;
	--r-m: 20px;
	--r-l: 32px;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	color-scheme: dark;
}

/* Light (dawn) — used when the system is light, unless the visitor chose dark. */
@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) {
		--bg: #f6f2ea;
		--bg-2: #efe8db;
		--surface: rgba(255, 255, 255, 0.62);
		--surface-2: rgba(255, 255, 255, 0.85);
		--line: rgba(40, 28, 10, 0.10);
		--line-2: rgba(40, 28, 10, 0.18);
		--text: #17131d;
		--text-2: rgba(23, 19, 29, 0.74);
		--text-3: rgba(23, 19, 29, 0.52);
		--gold: #a8690f;
		--gold-2: #c98a2b;
		--gold-ink: #fffaf0;
		--violet: #5b4bd6;
		--warn: #c2410c;
		--glow: rgba(214, 150, 52, 0.25);
		--sky-a: #f9dcc0;
		--sky-b: #f6f2ea;
		--planet-a: #e9c48c;
		--planet-b: #f3e2c6;
		--temple: #2a1d14;
		--shadow: 0 30px 80px -36px rgba(60, 35, 5, 0.45);
		color-scheme: light;
	}
}
:root[data-theme="light"] {
	--bg: #f6f2ea;
	--bg-2: #efe8db;
	--surface: rgba(255, 255, 255, 0.62);
	--surface-2: rgba(255, 255, 255, 0.85);
	--line: rgba(40, 28, 10, 0.10);
	--line-2: rgba(40, 28, 10, 0.18);
	--text: #17131d;
	--text-2: rgba(23, 19, 29, 0.74);
	--text-3: rgba(23, 19, 29, 0.52);
	--gold: #a8690f;
	--gold-2: #c98a2b;
	--gold-ink: #fffaf0;
	--violet: #5b4bd6;
	--warn: #c2410c;
	--glow: rgba(214, 150, 52, 0.25);
	--sky-a: #f9dcc0;
	--sky-b: #f6f2ea;
	--planet-a: #e9c48c;
	--planet-b: #f3e2c6;
	--temple: #2a1d14;
	--shadow: 0 30px 80px -36px rgba(60, 35, 5, 0.45);
	color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--gold-ink); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--text-3); }
.center { text-align: center; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 10px; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	transition: background .3s, border-color .3s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-open {
	background: color-mix(in srgb, var(--bg) 72%, transparent);
	-webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
	border-bottom-color: var(--line);
}
.site-header__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter);
	display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__mark { width: 32px; height: 32px; color: var(--text); flex: none; }
.brand__logo { width: 32px; height: 32px; object-fit: contain; }
.brand__name { font: 600 15px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }

.site-nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu--primary { display: flex; gap: 6px; }
.site-nav .menu a {
	display: block; padding: 8px 14px; border-radius: 999px;
	color: var(--text-2); text-decoration: none; font-size: 15px;
}
.site-nav .menu a:hover { color: var(--text); background: var(--surface); }
.site-nav .current-menu-item > a { color: var(--text); background: var(--surface-2); }

.site-header__actions { display: flex; gap: 6px; }
.icon-btn {
	width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
	background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer;
	-webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) .theme-toggle .i-sun { display: block; }
	:root:not([data-theme="dark"]) .theme-toggle .i-moon { display: none; }
}
.nav-toggle { display: none; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .25s; grid-area: 1 / 1; }
.nav-toggle span:first-child { transform: translateY(-3.5px); }
.nav-toggle span:last-child { transform: translateY(3.5px); }
.is-open .nav-toggle span:first-child { transform: rotate(45deg); }
.is-open .nav-toggle span:last-child { transform: rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: grid; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0; margin: 0;
		background: color-mix(in srgb, var(--bg) 94%, transparent);
		-webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
		border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 20px;
		display: none;
	}
	.is-open .site-nav { display: block; }
	.menu--primary { flex-direction: column; gap: 2px; }
	.site-nav .menu a { font-size: 18px; padding: 12px 4px; border-radius: 10px; }
	.site-header__actions { margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 28px 0 0; }
.btn-row--center { justify-content: center; }
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 50px; padding: 0 22px; border-radius: 999px;
	font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
	border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.98); }
.btn__icon { width: 18px; height: 18px; }
.btn--primary {
	background: linear-gradient(180deg, var(--gold-2), var(--gold));
	color: var(--gold-ink);
	box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { color: var(--gold-ink); box-shadow: 0 14px 40px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary.is-soon { cursor: default; opacity: .92; }
.btn--ghost {
	color: var(--text); border-color: var(--line-2); background: var(--surface);
	-webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.btn--ghost:hover { color: var(--text); background: var(--surface-2); }
.btn--small { min-height: 42px; padding: 0 16px; font-size: 14px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; margin-top: 28px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- eyebrow ---------- */
.eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.eyebrow--chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
	border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2);
	letter-spacing: .08em; -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #5ee08a; box-shadow: 0 0 0 4px rgba(94, 224, 138, .18); }
@media (prefers-reduced-motion: no-preference) { .dot { animation: pulse 2.4s infinite; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(94, 224, 138, 0); } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; margin-top: -69px; padding: 150px 0 120px; overflow: hidden; }
.sky { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 70% 0%, var(--sky-a), var(--sky-b) 70%); }
.sky__stars {
	position: absolute; inset: 0; opacity: .9;
	background-image:
		radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 28% 64%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 42% 18%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 55% 42%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 66% 12%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 78% 58%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 88% 28%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 8% 80%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 94% 74%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 35% 36%, rgba(255,255,255,.7) 50%, transparent 51%),
		radial-gradient(1px 1px at 50% 76%, rgba(255,255,255,.6) 50%, transparent 51%),
		radial-gradient(1px 1px at 20% 48%, rgba(255,255,255,.6) 50%, transparent 51%);
	background-size: 520px 520px;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .sky__stars { opacity: 0; } }
:root[data-theme="light"] .sky__stars { opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .sky__stars { animation: drift 120s linear infinite; } }
@keyframes drift { to { background-position: 520px 260px; } }
.sky__planet {
	position: absolute; width: min(70vw, 760px); aspect-ratio: 1; right: -18%; top: -26%;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 30%, var(--planet-a), var(--planet-b) 62%);
	box-shadow: 0 0 120px 10px var(--glow), inset -40px -60px 120px rgba(0,0,0,.35);
	opacity: .9;
}
.sky__ring {
	position: absolute; inset: 38% -22%; border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
	transform: rotate(-18deg);
	box-shadow: 0 0 40px -6px var(--glow);
}
.sky__temple { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 160px; color: var(--temple); opacity: .9; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .sky__temple { opacity: .1; } }
:root[data-theme="light"] .sky__temple { opacity: .1; }

.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__title { font: 500 clamp(40px, 6.4vw, 78px)/1.02 var(--serif); letter-spacing: -0.025em; margin: 18px 0 22px; }
.hero__title em, .cta__title em, .section__title em { font-style: italic; color: var(--gold); }
.hero__lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 34em; }
.hero__note { font-size: 14px; margin-top: 16px; }

.hero__device { position: relative; justify-self: center; }
.phone {
	width: 290px; border-radius: 48px; padding: 12px;
	background: linear-gradient(160deg, #2a2733, #0b0a10);
	box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08) inset;
	position: relative;
}
.phone__notch { position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 2; }
.phone__screen {
	border-radius: 38px; padding: 58px 20px 22px; min-height: 560px;
	background: radial-gradient(120% 70% at 50% 0%, #2a1f52 0%, #0d0b18 60%);
	color: #f3efe6;
}
.phone__top { display: flex; justify-content: space-between; font-size: 12px; color: rgba(243,239,230,.6); }
.phone__label { text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,239,230,.6); margin: 18px 0 8px; }
.ring { position: relative; width: 170px; margin: 0 auto; }
.ring svg { display: block; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring__track { stroke: rgba(255,255,255,.08); }
.ring__value { stroke: #e8b86b; stroke-linecap: round; stroke-dasharray: var(--score) 100; }
.ring::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; box-shadow: 0 0 50px 6px rgba(232,184,107,.18); }
.ring__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__center strong { font: 600 46px/1 var(--serif); }
.ring__center span { font-size: 13px; color: #9be7b4; margin-top: 4px; }
.phone__status { text-align: center; font-size: 13px; color: rgba(243,239,230,.75); margin: 10px 0 16px; }
.phone__list { list-style: none; margin: 0; padding: 4px 14px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.phone__list li { display: flex; justify-content: space-between; padding: 9px 0; font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,.06); }
.phone__list li:last-child { border-bottom: 0; }
.phone__list span { color: rgba(243,239,230,.6); }
.phone__list b { font-weight: 600; }
.phone__list .is-warn { color: #ff9f80; }
.phone__curve { margin-top: 14px; color: #e8b86b; height: 48px; }
.phone__curve svg { width: 100%; height: 48px; }
.phone__curve .now { stroke: rgba(255,255,255,.35); stroke-dasharray: 2 3; }

.float-card {
	position: absolute; padding: 12px 16px; border-radius: 16px; min-width: 160px;
	background: var(--surface-2); border: 1px solid var(--line-2);
	-webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
	box-shadow: var(--shadow); display: grid; gap: 2px;
}
.float-card__k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.float-card__v { font-weight: 600; }
.float-card--a { left: -190px; top: 110px; }
.float-card--b { right: -110px; bottom: 36px; }
@media (prefers-reduced-motion: no-preference) {
	.float-card--a { animation: bob 7s ease-in-out infinite; }
	.float-card--b { animation: bob 8s ease-in-out -3s infinite; }
}
@keyframes bob { 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
	.hero { padding: 130px 0 90px; }
	.hero__grid { grid-template-columns: 1fr; }
	.float-card--a { left: -40px; }
	.float-card--b { right: -30px; }
}
@media (max-width: 520px) {
	.phone { width: 260px; }
	.phone__screen { min-height: 500px; }
	.float-card { min-width: 0; padding: 10px 12px; }
	.float-card--a { left: -12px; top: 60px; }
	.float-card--b { right: -12px; }
	.btn-row .btn { width: 100%; justify-content: center; }
}

/* ---------- facts ---------- */
.facts { border-block: 1px solid var(--line); background: var(--bg-2); }
.facts__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__row > div { padding: 28px 20px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.facts__row > div:first-child { border-left: 0; }
.facts strong { font: 500 28px/1.1 var(--serif); color: var(--gold); }
.facts span { font-size: 14px; color: var(--text-2); }
@media (max-width: 760px) {
	.facts__row { grid-template-columns: 1fr 1fr; }
	.facts__row > div:nth-child(3) { border-left: 0; }
	.facts__row > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section__title { font: 500 clamp(32px, 4.4vw, 54px)/1.08 var(--serif); letter-spacing: -0.02em; }
.section__lede { color: var(--text-2); font-size: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split p { color: var(--text-2); }
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; }
	.split--reverse > :first-child { order: 2; }
}

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
	position: relative; padding: 28px; border-radius: var(--r-m);
	background: var(--surface); border: 1px solid var(--line);
	-webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
	transition: border-color .2s, transform .2s;
	overflow: hidden;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { font: 600 19px/1.3 var(--sans); margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.card--wide { grid-column: span 2; display: grid; grid-template-columns: 160px 1fr; column-gap: 28px; align-items: center; }
.card--wide .card__art { grid-row: span 2; }
.card__icon {
	width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
	font-size: 22px; color: var(--gold);
	background: color-mix(in srgb, var(--gold) 12%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 25%, transparent);
}
.card__art { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; }
.card__art--score { position: relative; }
.card__art--score::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background: conic-gradient(from -90deg, var(--gold) 0 78%, var(--line-2) 78% 100%);
	-webkit-mask: radial-gradient(circle, transparent 60%, #000 61%); mask: radial-gradient(circle, transparent 60%, #000 61%);
	filter: drop-shadow(0 0 10px var(--glow));
}
.card__art--score span { position: relative; font: 600 40px/1 var(--serif); color: var(--text); }
.card--wide .card__art--score { width: 140px; }
.card__art--notch {
	aspect-ratio: auto; border-radius: 0 0 22px 22px; background: #000; color: #f3efe6;
	padding: 12px 16px; font-size: 13px; font-weight: 600; text-align: center; white-space: nowrap;
	box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 16px 40px -12px var(--glow);
}
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
	.cards { grid-template-columns: 1fr; }
	.card--wide { grid-column: auto; grid-template-columns: 1fr; }
	.card--wide .card__art { grid-row: auto; margin-bottom: 18px; }
	.card--wide .card__art--score { width: 110px; }
	.card__art--notch { justify-self: start; }
}

/* steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
	counter-increment: s; position: relative; padding: 22px 22px 22px 74px; border-radius: var(--r-m);
	background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.steps li::before {
	content: counter(s); position: absolute; left: 22px; top: 20px; width: 34px; height: 34px; border-radius: 50%;
	display: grid; place-items: center; font: 600 15px/1 var(--sans);
	background: var(--gold); color: var(--gold-ink);
}
.steps strong { color: var(--text); display: block; margin-bottom: 2px; }

/* orbit art */
.orbit-art { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin: 0 auto; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); inset: 0; }
.orbit--2 { inset: 16%; }
.orbit--3 { inset: 32%; }
.orbit span { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--text); box-shadow: 0 0 16px var(--glow); }
.orbit--2 span { background: var(--violet); width: 10px; height: 10px; }
.orbit--3 span { background: var(--gold); }
.orbit__sun { position: absolute; inset: 43%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe2a6, #d98a1c); box-shadow: 0 0 60px 10px var(--glow); }
@media (prefers-reduced-motion: no-preference) {
	.orbit--1 { animation: spin 60s linear infinite; }
	.orbit--2 { animation: spin 32s linear infinite reverse; }
	.orbit--3 { animation: spin 18s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* promise list */
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promise li {
	padding: 18px 20px 18px 54px; border-radius: var(--r-m); position: relative;
	background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.promise li::before {
	content: "✓"; position: absolute; left: 18px; top: 17px; width: 24px; height: 24px; border-radius: 50%;
	display: grid; place-items: center; font-size: 13px; font-weight: 700;
	color: #0b2a17; background: #6fe39a;
}
.promise strong { color: var(--text); }

/* plans strip (home) */
.plan-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plan-strip > div {
	padding: 24px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line);
	display: grid; gap: 6px; align-content: start;
}
.plan-strip span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.plan-strip strong { font: 500 32px/1.1 var(--serif); }
.plan-strip strong small { font: 400 15px var(--sans); color: var(--text-3); }
.plan-strip > div > small { color: var(--text-2); font-size: 14.5px; }
.plan-strip .is-rec { border-color: color-mix(in srgb, var(--gold) 60%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent), 0 20px 50px -24px var(--glow); }
.plan-strip .is-rec span { color: var(--gold); }
@media (max-width: 900px) { .plan-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .plan-strip { grid-template-columns: 1fr; } }

/* CTA */
.cta { padding: 0 0 clamp(72px, 10vw, 120px); }
.cta__inner {
	text-align: center; padding: clamp(48px, 8vw, 96px) var(--gutter); border-radius: var(--r-l);
	background:
		radial-gradient(80% 120% at 50% 120%, color-mix(in srgb, var(--gold) 26%, transparent), transparent 60%),
		var(--surface);
	border: 1px solid var(--line);
}
.cta__title { font: 500 clamp(30px, 4.4vw, 52px)/1.1 var(--serif); letter-spacing: -0.02em; }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); position: relative; }
.page-hero::before {
	content: ""; position: absolute; inset: -69px 0 0; z-index: -1;
	background: radial-gradient(70% 100% at 80% 0%, color-mix(in srgb, var(--violet) 18%, transparent), transparent 60%);
}
.page-hero--center { text-align: center; padding: 140px 0; }
.page-hero__title { font: 500 clamp(36px, 5.2vw, 64px)/1.05 var(--serif); letter-spacing: -0.02em; max-width: 18em; }
.page-hero--center .page-hero__title { margin-inline: auto; }
.page-hero__lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 40em; }

/* content blocks (Features, Pricing, API pages) */
.content-blocks { padding-bottom: clamp(64px, 9vw, 110px); }
.content-blocks > * + * { margin-top: 1em; }
.content-blocks h2 { font: 500 clamp(26px, 3vw, 36px)/1.15 var(--serif); margin-top: 64px; }
.content-blocks h3 { font-size: 19px; }
.content-blocks p, .content-blocks li { color: var(--text-2); }
.content-blocks .lede { font-size: 19px; max-width: 46em; }

.feature-group {
	display: grid; grid-template-columns: 280px 1fr; gap: 40px;
	padding: 44px 0; border-top: 1px solid var(--line); margin: 0 !important;
}
.feature-group:first-child { border-top: 0; padding-top: 8px; }
.feature-group > h2 { margin: 0 !important; font: 500 28px/1.15 var(--serif); position: sticky; top: 100px; align-self: start; }
.feature-group > h2 small { display: block; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
.feature-list li {
	padding: 20px; border-radius: var(--r-s); background: var(--surface); border: 1px solid var(--line);
	color: var(--text-2); font-size: 15.5px;
}
.feature-list strong { display: block; color: var(--text); font-size: 16.5px; margin-bottom: 4px; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; vertical-align: 2px; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
@media (max-width: 860px) {
	.feature-group { grid-template-columns: 1fr; gap: 20px; }
	.feature-group > h2 { position: static; }
	.feature-list { grid-template-columns: 1fr; }
}

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 0 !important; }
.plan {
	padding: 28px 24px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line);
	display: flex; flex-direction: column; gap: 10px; position: relative;
}
.plan h2 { margin: 0 !important; font: 600 15px/1.3 var(--sans) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.plan .price { font: 500 40px/1 var(--serif); color: var(--text); margin: 6px 0 0; }
.plan .price small { font: 400 15px var(--sans); color: var(--text-3); }
.plan .for { font-size: 15px; margin: 0; }
.plan ul { list-style: none; margin: 10px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.plan--rec { border-color: color-mix(in srgb, var(--gold) 60%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 40%, transparent), 0 24px 60px -28px var(--glow); }
.plan--rec h2 { color: var(--gold) !important; }
.plan .badge { position: absolute; top: -12px; left: 24px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--gold); color: var(--gold-ink); }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

.note-box {
	padding: 22px 24px; border-radius: var(--r-m); border: 1px solid var(--line);
	background: color-mix(in srgb, var(--violet) 7%, var(--surface));
}
.note-box p:last-child, .note-box ul:last-child { margin-bottom: 0; }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 18px; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.compare th { color: var(--text-3); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.compare td { color: var(--text-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-s); }

.code {
	font: 13.5px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; padding: 18px 20px; border-radius: var(--r-s);
	background: var(--bg-2); border: 1px solid var(--line); color: var(--text); overflow-x: auto; white-space: pre;
}

/* ---------- docs (policies, support) ---------- */
.doc__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-bottom: clamp(64px, 9vw, 110px); }
.doc__toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; font-size: 14px; }
.doc__toc-title { list-style: none; display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.doc__toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.doc__toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-3); text-decoration: none; line-height: 1.35; }
.doc__toc a:hover { color: var(--text); }
.doc__toc a.is-active { color: var(--text); border-left-color: var(--gold); }
@media (min-width: 901px) { .doc__toc-title { pointer-events: none; } }
.doc__toc-title::-webkit-details-marker { display: none; }
@media (max-width: 900px) {
	.doc__toc-title { margin: 0; cursor: pointer; }
	.doc__toc-title::after { content: " ▾"; }
	.doc__toc[open] .doc__toc-title { margin-bottom: 10px; }
	.doc__layout { grid-template-columns: 1fr; gap: 16px; }
	.doc__toc { position: static; max-height: none; padding: 16px 18px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
	.doc__toc ol { columns: 2; column-gap: 20px; border: 0; }
	.doc__toc a { padding-left: 0; border: 0; }
}
@media (max-width: 520px) { .doc__toc ol { columns: 1; } }

.prose { max-width: 720px; font-size: 17px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font: 600 24px/1.25 var(--sans); margin: 2.4em 0 .7em; padding-top: 4px; letter-spacing: -0.01em; }
.prose h3 { font: 600 18.5px/1.35 var(--sans); margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); font-weight: 600; background: var(--surface); }
.prose td { color: var(--text-2); }
.prose .note-box { margin: 0 0 1.6em; }
.prose .contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 1.6em; }
.prose .contact-cards > div { padding: 20px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
.prose .contact-cards p { margin: 0; }
.prose .contact-cards .k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.prose .contact-cards .v { font-size: 18px; font-weight: 600; color: var(--text); word-break: break-word; }
@media (max-width: 560px) { .prose .contact-cards { grid-template-columns: 1fr; } }
.prose details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.prose summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 600; color: var(--text); list-style: none; position: relative; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; font-weight: 400; color: var(--text-3); transition: transform .2s; }
.prose details[open] summary::after { transform: rotate(45deg); }
.prose details > :not(summary) { margin-top: 0; }
.steps-inline { counter-reset: s; list-style: none; padding: 0; }
.steps-inline li { counter-increment: s; padding-left: 40px; position: relative; margin-bottom: .8em; }
.steps-inline li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--gold); color: var(--gold-ink); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer__brand p { margin: 16px 0 18px; }
.site-footer__h { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.site-footer .menu { display: block; }
.site-footer .menu li { margin-bottom: 10px; }
.site-footer .menu a { color: var(--text-2); text-decoration: none; }
.site-footer .menu a:hover { color: var(--text); }
.site-footer__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer__base p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* WordPress bits */
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: var(--r-m); }

/* two-plan layout */
.plans--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.plan-strip--two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
@media (max-width: 560px) { .plans--two, .plan-strip--two { grid-template-columns: 1fr; } }

/* =====================================================================
   v1.1 — matches the Astro Lord API portal (api.astrolord.in):
   near-black with indigo/orange/pink aura, SF/Inter sans, glass cards
   with a bright rim, orange gradient buttons.
   ===================================================================== */
:root {
	--bg: #06060a; --bg-2: #0a0a10;
	--surface: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
	--surface-2: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.07));
	--line: rgba(255,255,255,.10); --line-2: rgba(255,255,255,.18);
	--text: #fff; --text-2: rgba(235,235,245,.64); --text-3: rgba(235,235,245,.40);
	--gold: #FF9F0A; --gold-2: #FFC94D; --gold-ink: #fff;
	--violet: #5E5CE6; --pink: #FF375F; --green: #30D158; --warn: #FF453A;
	--glow: rgba(255,140,40,.35);
	--shadow: 0 20px 50px rgba(0,0,0,.45), inset 0 1px 1px rgba(255,255,255,.22);
	--serif: -apple-system, "SF Pro Display", Inter, system-ui, "Segoe UI", Roboto, sans-serif;
	--sans: -apple-system, "SF Pro Text", Inter, system-ui, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
	--r-m: 24px; --r-l: 32px;
}
@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) {
		--bg: #f3f3f7; --bg-2: #ececf2;
		--surface: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
		--surface-2: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.7));
		--line: rgba(0,0,0,.08); --line-2: rgba(0,0,0,.14);
		--text: #0b0b12; --text-2: rgba(60,60,67,.72); --text-3: rgba(60,60,67,.45);
		--gold: #F28A00; --gold-2: #FFB340; --gold-ink: #fff;
		--violet: #5856D6; --pink: #FF2D55; --green: #34C759; --warn: #FF3B30;
		--glow: rgba(255,140,40,.28);
		--shadow: 0 20px 50px rgba(40,30,80,.12), inset 0 1px 1px #fff;
	}
}
:root[data-theme="light"] {
	--bg: #f3f3f7; --bg-2: #ececf2;
	--surface: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
	--surface-2: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.7));
	--line: rgba(0,0,0,.08); --line-2: rgba(0,0,0,.14);
	--text: #0b0b12; --text-2: rgba(60,60,67,.72); --text-3: rgba(60,60,67,.45);
	--gold: #F28A00; --gold-2: #FFB340; --gold-ink: #fff;
	--violet: #5856D6; --pink: #FF2D55; --green: #34C759; --warn: #FF3B30;
	--glow: rgba(255,140,40,.28);
	--shadow: 0 20px 50px rgba(40,30,80,.12), inset 0 1px 1px #fff;
}

body { font-family: var(--sans); background: var(--bg); }
/* the aura behind every page */
body::before {
	content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
	background:
		radial-gradient(40vw 36vw at 10% 5%, color-mix(in srgb, var(--violet) 30%, transparent), transparent 70%),
		radial-gradient(36vw 30vw at 90% 15%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%),
		radial-gradient(50vw 40vw at 50% 110%, color-mix(in srgb, var(--pink) 18%, transparent), transparent 70%);
}
a { color: var(--gold); }

/* headings: bold, tight, sans */
.hero__title, .section__title, .page-hero__title, .cta__title, .content-blocks h2, .feature-group > h2 {
	font-family: var(--serif); font-weight: 700; letter-spacing: -0.045em;
}
.hero__title { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; }
.section__title { letter-spacing: -0.035em; }
.page-hero__title { letter-spacing: -0.04em; }
.hero__title em, .cta__title em, .section__title em {
	font-style: normal;
	background: linear-gradient(100deg, #FFD27A, #FF9F0A 45%, #FF375F);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { color: var(--gold); }
.eyebrow--chip { color: var(--text-2); }

/* glass surfaces with a bright rim (same as the portal's .glass) */
.card, .plan, .plan-strip > div, .steps li, .promise li, .feature-list li, .note-box,
.prose .contact-cards > div, .float-card, .cta__inner, .facts__row > div, .eyebrow--chip, .icon-btn, .btn--ghost {
	background: var(--surface); border: 0; box-shadow: var(--shadow); position: relative;
	-webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
}
.card::before, .plan::before, .plan-strip > div::before, .steps li::after, .promise li::after, .feature-list li::before,
.note-box::before, .prose .contact-cards > div::before, .float-card::before, .cta__inner::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
	background: linear-gradient(145deg, rgba(255,255,255,.5), rgba(255,255,255,.06) 35%, rgba(255,255,255,0) 60%, rgba(255,255,255,.2));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}
.card, .plan, .plan-strip > div, .note-box, .cta__inner { border-radius: var(--r-m); }
.feature-list li { border-radius: 18px; }
.card:hover { transform: translateY(-2px); }
.plan--rec, .plan-strip .is-rec { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.plan li::before, .promise li::before { color: var(--green); }
.promise li::before { background: var(--green); color: #fff; }
.plan .badge { background: linear-gradient(100deg, #FFC94D, #FF9F0A 50%, #FF6A2C); color: #fff; }
.tag { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }

/* buttons */
.btn { min-height: 46px; font-size: 15px; }
.btn--primary {
	background: linear-gradient(100deg, #FFC94D, #FF9F0A 50%, #FF6A2C); color: #fff;
	box-shadow: 0 10px 28px rgba(255,140,40,.35);
}
.btn--primary:hover { color: #fff; box-shadow: 0 14px 36px rgba(255,140,40,.45); filter: brightness(1.05); }
.btn--ghost { color: var(--text); }
.btn--ghost:hover { color: var(--text); filter: brightness(1.15); }
.link-arrow { color: var(--gold); }

/* brand tile (gradient square like the portal) */
.brand__tile {
	width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
	background: linear-gradient(140deg, #FFD60A, #FF9F0A 50%, #FF375F);
	box-shadow: 0 6px 18px rgba(255,120,40,.35);
}
.brand__tile svg { width: 22px; height: 22px; }
.brand__name { font: 650 17px/1 var(--sans); letter-spacing: -0.02em; text-transform: none; }

/* header */
.site-header.is-scrolled, .site-header.is-open { background: color-mix(in srgb, var(--bg) 70%, transparent); }

/* hero: the aura replaces the painted planet; keep a faint temple line for the Indian feel */
.sky { background: transparent; }
.sky__planet { display: none; }
.sky__stars { opacity: .35; }
.sky__temple { opacity: .5; color: #000; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .sky__temple { opacity: .05; color: #000; } }
:root[data-theme="light"] .sky__temple { opacity: .05; color: #000; }
.phone__screen { background: radial-gradient(120% 70% at 50% 0%, #1d1a3a 0%, #0a0910 60%); }
.ring__value { stroke: #FF9F0A; }
.ring::before { box-shadow: 0 0 50px 6px rgba(255,159,10,.2); }
.phone__curve { color: #FF9F0A; }
.ring__center span { color: #30D158; }

/* facts row becomes four glass tiles like the portal's stats */
.facts { border: 0; background: transparent; padding: 8px 0; }
.facts__row { gap: 12px; }
.facts__row > div { border-radius: 20px; border-left: 0 !important; border-top: 0 !important; padding: 22px 20px; }
.facts strong { font: 650 30px/1.1 var(--sans); letter-spacing: -0.03em; color: var(--text); }
.facts span { font-size: 13px; }
@media (max-width: 760px) { .facts__row { gap: 10px; } }

/* sections lose their bands; the aura shows through */
.section--alt { background: transparent; border-top: 0; }
.site-footer { background: transparent; border-top: 1px solid var(--line); }
.page-hero::before { display: none; }

/* coloured icon tiles on cards, like the portal's endpoint cards */
.card__icon { color: #fff; border: 0; border-radius: 11px; width: 38px; height: 38px; font-size: 18px; }
.cards .card:nth-child(2) .card__icon { background: var(--violet); }
.cards .card:nth-child(3) .card__icon { background: #0A84FF; }
.cards .card:nth-child(4) .card__icon { background: #FFD60A; color: #3a2a00; }
.cards .card:nth-child(5) .card__icon { background: var(--green); }
.cards .card:nth-child(6) .card__icon { background: var(--pink); }
.card__art--notch { background: #000; }

/* steps numbers */
.steps li::before, .steps-inline li::before { background: linear-gradient(140deg, #FFC94D, #FF9F0A 55%, #FF6A2C); color: #fff; }

/* docs */
.prose th { background: transparent; }
.doc__toc a.is-active { border-left-color: var(--gold); }
@media (max-width: 900px) { .doc__toc { background: var(--surface); border: 0; box-shadow: var(--shadow); } }
.compare th, .prose th { color: var(--text-2); }
.code { background: #0d0d14; color: #e8e8f0; border: 0; border-radius: 20px; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.float-card { position: absolute; }
.sky__temple { opacity: .22; height: 120px; }
