
:root {
	--brand: #1a8fe3;
	--brand-strong: #0f6fc0;
	--brand-soft: #e6f3fd;
	--ink: #0f1b2a;
	--ink-2: #33475b;
	--muted: #5d6e80;
	--bg: #f5f8fc;
	--surface: #ffffff;
	--surface-2: #eef3f9;
	--line: #dfe6ef;
	--ok: #13a36b;
	--warn-bg: #fff6e0;
	--warn-line: #f2c55c;
	--shadow-sm: 0 1px 2px rgba(15, 27, 42, .06), 0 1px 3px rgba(15, 27, 42, .08);
	--shadow-lg: 0 20px 50px -12px rgba(15, 27, 42, .25);
	--radius: 14px;
	--radius-sm: 9px;
	--wrap: 1120px;
	--prose: 720px;
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root {
		--brand: #4aa8f0;
		--brand-strong: #7cc0f5;
		--brand-soft: #12304b;
		--ink: #e9eff6;
		--ink-2: #c3cfdc;
		--muted: #93a4b7;
		--bg: #0b121d;
		--surface: #121c2a;
		--surface-2: #182435;
		--line: #243349;
		--warn-bg: #2d2513;
		--warn-line: #8a6b1f;
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
		--shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, .6);
		color-scheme: dark;
	}
}


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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 17px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main { flex: 1; }

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

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

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


.announce {
	background: var(--ink);
	color: #fff;
	font-size: .875rem;
	text-align: center;
	padding: 8px 16px;
}
.announce a { color: #fff; }
.announce u { text-decoration-color: rgba(255, 255, 255, .5); }
.announce br { display: none; }
@media (prefers-color-scheme: dark) { .announce { background: #050a12; } }


.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--surface) 85%, transparent);
	backdrop-filter: saturate(1.6) blur(14px);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: .95rem; font-weight: 550; }
.nav a:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.nav a.active { background: var(--brand-soft); color: var(--brand-strong); }

.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--ink); cursor: pointer; }
.nav-toggle svg { display: block; }

@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.site-header .nav-cta { display: none; }
	.nav { position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); display: none; margin: 0; }
	.nav.open { display: block; }
	.nav ul { flex-direction: column; padding: 8px 12px 16px; }
	.nav a { border-radius: var(--radius-sm); padding: 12px 14px; }
}


.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	font: 650 1rem/1.2 var(--font);
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
	white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary, .btn-primary:hover { color: #04121f; } }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-lg { padding: 16px 30px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }


.hero { padding: 72px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.hero h1 .accent { color: var(--brand); }
.hero .lede { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.hero .btn-row { margin: 28px 0 16px; }
.hero-shot { position: relative; }
.hero-shot img { border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.hero-shot::before {
	content: "";
	position: absolute;
	inset: -12% -20% -12% 10%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 35%, transparent), transparent);
	z-index: -1;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 650; color: var(--brand-strong); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow:hover { text-decoration: none; }

@media (max-width: 900px) {
	.hero { padding: 48px 0 32px; }
	.hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}


.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font: 600 .8rem/1 var(--font-mono); padding: 7px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }


.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 0 36px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	box-shadow: var(--shadow-sm);
}
.section-alt .card { background: var(--bg); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
	width: 44px; height: 44px; border-radius: 12px;
	display: grid; place-items: center;
	background: var(--brand-soft); color: var(--brand-strong);
	margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }
.card .fine { font-size: .8rem; color: var(--muted); margin-top: 10px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.qr { width: 160px; height: 160px; background: #fff; padding: 10px; border-radius: 12px; border: 1px solid var(--line); }


.page-head { padding: 56px 0 28px; }
.page-head h1 { margin-bottom: .25em; }
.page-head .lede { font-size: 1.15rem; color: var(--ink-2); max-width: 44em; }

.page-body { padding: 8px 0 72px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.aside { position: sticky; top: 88px; display: grid; gap: 20px; }
@media (max-width: 960px) { .aside { position: static; } }
.aside .card { padding: 22px; }
.aside .logo { width: 72px; margin-bottom: 8px; }

.prose { max-width: var(--prose); color: var(--ink-2); }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent); text-underline-offset: 3px; }
.prose a.btn { text-decoration: none; }
.prose strong { color: var(--ink); }
.prose code, .prose kbd { font: .9em var(--font-mono); background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose img { border-radius: var(--radius-sm); }

.legal { font-size: .95rem; white-space: pre-line; font-family: var(--font); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; overflow-wrap: anywhere; }
.legal pre { white-space: pre-wrap; font: inherit; margin: 0; }

.steps { list-style: none; counter-reset: step; padding: 0 !important; margin: 1.2em 0 1.6em !important; }
.steps > li { counter-increment: step; position: relative; padding: 2px 0 18px 52px; margin: 0 !important; }
.steps > li::before {
	content: counter(step);
	position: absolute; left: 0; top: 0;
	width: 34px; height: 34px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--brand); color: #fff; font-weight: 750; font-size: .95rem;
}
@media (prefers-color-scheme: dark) { .steps > li::before { color: #04121f; } }
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 16.5px; top: 40px; bottom: 4px; width: 1px; background: var(--line); }
.steps > li strong:first-child { display: block; color: var(--ink); }

.callout { border: 1px solid var(--line); border-left: 4px solid var(--brand); background: var(--surface); border-radius: var(--radius-sm); padding: 16px 18px; margin: 1.4em 0; }
.callout p:last-child { margin: 0; }
.callout.warn { border-left-color: var(--warn-line); background: var(--warn-bg); }

.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .97rem; margin: 0 0 1.5em; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table th { font-weight: 650; color: var(--ink); width: 40%; }

.spec { list-style: none; padding: 0 !important; margin: 0 0 1.4em !important; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); margin: 0 !important; }
.spec li:last-child { border-bottom: 0; }
.spec span:first-child { color: var(--muted); }
.spec span:last-child { color: var(--ink); font-weight: 600; text-align: right; }

.dl-card { display: flex; flex-direction: column; gap: 14px; }
.dl-card .btn-row { margin-top: auto; padding-top: 8px; }
.dl-card h3 { display: flex; align-items: center; gap: 10px; margin: 0; }
.tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-strong); }

.faq { display: grid; gap: 14px; }
.faq section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.faq section h2 { font-size: 1.15rem; margin: 0 0 .6em; }
.faq section p:last-child { margin-bottom: 0; }
.faq .label { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }

.changelog { list-style: none; padding: 0 !important; margin: 0 !important; border-left: 2px solid var(--line); }
.changelog li { position: relative; padding: 0 0 18px 22px; margin: 0 !important; }
.changelog li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); }
.changelog time { display: block; font-size: .85rem; color: var(--muted); }
.changelog strong { color: var(--ink); }
.changelog .gap { color: var(--muted); padding-bottom: 18px; }
.changelog .gap::before { border-style: dotted; background: transparent; border-color: var(--line); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.gallery.compact { grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .15s ease; }
.gallery a:hover { transform: translateY(-2px); }
.gallery img { display: block; width: 100%; }
.gallery figcaption { font-size: .9rem; padding: 10px 14px; color: var(--ink-2); }
.gallery.compact figcaption { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 10, 18, .85); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }

.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); }


.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: inherit; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.post-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.post-card h2, .post-card h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.post-card p { color: var(--muted); font-size: .97rem; margin: 0 0 16px; }
.post-card .more { margin-top: auto; font-weight: 650; color: var(--brand-strong); font-size: .95rem; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filters button { font: 600 .9rem var(--font); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; }

.post-head { padding: 48px 0 24px; max-width: var(--prose); }
.post-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }

.cta-card { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #fff; border-radius: var(--radius); padding: 28px; margin: 2.4em 0 0; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.cta-card h2, .cta-card h3 { color: #fff; margin: 0 0 4px; font-size: 1.3rem; }
.cta-card p { color: rgba(255, 255, 255, .88); margin: 0; }
.cta-card .btn { background: #fff; color: var(--brand-strong); margin-left: auto; }
@media (prefers-color-scheme: dark) { .cta-card { background: linear-gradient(135deg, #165f9c, #0e3f6b); } .cta-card .btn { color: #0e3f6b; } }
.cta-card img { width: 56px; }

.toc { font-size: .95rem; }
.toc ol { padding-left: 1.2em; margin: 0; }
.toc li { margin: .3em 0; }
.toc a { color: var(--ink-2); }

.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }


.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 32px; font-size: .9rem; color: var(--muted); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; font-size: .82rem; }


.modal-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(5, 10, 18, .6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 28px; max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); }
.modal h3 { font-size: 1.1rem; font-weight: 650; line-height: 1.45; letter-spacing: 0; }
.modal .btn-row { justify-content: center; margin-top: 20px; }


.input { font: 1rem var(--font); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; max-width: 420px; }
.input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin: .2em 0 .4em; }
.narrow { max-width: 640px; margin: 0 auto; }
.prose .lede { font-size: 1.15rem; color: var(--ink); }
