:root {
	--bg: #ffffff;
	--bg-alt: #f2f5f9;
	--surface: #ffffff;
	--border: #d8dee7;
	--text: #17202c;
	--muted: #4a5668;
	--night: #0e1a30;
	--night-2: #1b345d;
	--water: #0a78ba;
	--water-ink: #ffffff;
	--water-edge: #075a8c;
	--moss: #2f7d1f;
	--amber: #8a4b00;
	--amber-bg: #fff4e2;
	--shadow: 0 1px 2px rgba(14, 26, 48, .06), 0 8px 24px rgba(14, 26, 48, .08);
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
	--radius: 4px;
	--wide: 1120px;
	--sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0b1424;
		--bg-alt: #0f1b30;
		--surface: #13213a;
		--border: #26385a;
		--text: #e8eef7;
		--muted: #a9b7cc;
		--water: #3fb8f2;
		--water-ink: #04121f;
		--water-edge: #1d86c0;
		--moss: #7fcf55;
		--amber: #ffc56b;
		--amber-bg: #2b2210;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0;
	font: 400 17px/1.65 var(--sans);
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }
a { color: var(--water); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0 0 var(--s4); }
h1 { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 28px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 var(--s4); }
code, .mono { font-family: var(--mono); font-size: .92em; }
code { background: var(--bg-alt); border: 1px solid var(--border); padding: 1px 6px; border-radius: var(--radius); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--water); color: var(--water-ink); padding: 8px 12px; z-index: 10; border-radius: var(--radius); }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 20px; }
.prose { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); }
.meta { font-size: 14px; color: var(--muted); }
section { padding: var(--s8) 0; }
section.alt { background: var(--bg-alt); }

.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s5); height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: var(--s5); margin-left: auto; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--water); }
.nav .btn { color: var(--water-ink); }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-weight: 600; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: flex; }
.menu-panel { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: var(--s3) 20px var(--s5); gap: 2px; box-shadow: var(--shadow); }
.menu-panel a { padding: 10px 0; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); }
.menu-panel a:last-child { border-bottom: 0; }

.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 16px/1 var(--sans); padding: 13px 20px 12px; border-radius: var(--radius); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .06s, background-color .12s, box-shadow .06s; }
.btn-primary { background: var(--water); color: var(--water-ink); box-shadow: 0 3px 0 var(--water-edge); }
.btn-primary:hover { background: color-mix(in srgb, var(--water) 88%, white); text-decoration: none; }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 0 0 var(--water-edge); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); box-shadow: 0 3px 0 var(--border); }
.btn-secondary:hover { border-color: var(--water); color: var(--water); text-decoration: none; }
.btn-secondary:active { transform: translateY(3px); box-shadow: none; }
.btn-small { padding: 9px 14px 8px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.quiet { font-weight: 700; text-decoration: none; }
.quiet::after { content: " \2192"; }
.quiet:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; }

.hero { background: var(--night); color: #e8eef7; padding: 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: var(--s6); padding-top: var(--s8); padding-bottom: 0; }
.hero h1 { color: #ffffff; }
.hero .lead { color: #b9c8de; }
.hero .meta { color: #9fb2cf; margin-top: var(--s5); }
.hero .btn-secondary { color: #e8eef7; border-color: #3b5378; box-shadow: 0 3px 0 #243a5c; }
.hero .btn-secondary:hover { color: #ffffff; border-color: #6fd3ff; }
.hero .btn-primary { background: #25a9e6; color: #04121f; box-shadow: 0 3px 0 #1287c4; }
.hero .btn-primary:hover { background: #4ab9ee; }
.hero-art { width: 100vw; margin-left: calc(50% - 50vw); line-height: 0; }
.hero-art img { width: 100%; height: clamp(190px, 23.4vw, 440px); object-fit: cover; object-position: 22% 100%; display: block; }
.eyebrow { display: inline-block; font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #6fd3ff; margin-bottom: var(--s4); }

.row { display: grid; gap: var(--s6); align-items: center; padding: var(--s7) 0; border-top: 1px solid var(--border); }
.row:first-of-type { border-top: 0; padding-top: 0; }
.row .copy h3 { margin-bottom: var(--s3); }
.shot { margin: 0; }
.shot img { display: block; width: 100%; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--night); }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: var(--s2); }
.ticks { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.ticks li { position: relative; padding-left: 28px; margin-bottom: var(--s2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--moss); border-bottom: 3px solid var(--moss); transform: rotate(-45deg); }

.facts { display: grid; gap: var(--s5) var(--s7); grid-template-columns: 1fr; margin-top: var(--s6); }
.fact h3 { font-size: 18px; margin-bottom: var(--s2); display: flex; gap: 10px; align-items: center; }
.fact h3 svg { width: 24px; height: 24px; color: var(--water); flex: none; }
.fact p { color: var(--muted); margin: 0; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s5); }
.steps > li { counter-increment: step; position: relative; padding-left: 64px; min-height: 48px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; display: grid; place-items: center; font: 800 20px/1 var(--sans); color: var(--water-ink); background: var(--water); border-radius: var(--radius); box-shadow: 0 3px 0 var(--water-edge); }
.steps h3 { font-size: 19px; margin-bottom: var(--s1); }
.steps p { margin: 0; color: var(--muted); }

.guides { list-style: none; padding: 0; margin: var(--s5) 0 0; border-top: 1px solid var(--border); }
.guides li { border-bottom: 1px solid var(--border); }
.guides a { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s4); padding: var(--s4) 0; text-decoration: none; color: var(--text); }
.guides a strong { font-size: 18px; }
.guides a span { grid-column: 1; color: var(--muted); font-size: 15px; }
.guides a::after { content: "\2192"; grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--water); font-size: 20px; transition: transform .12s; }
.guides a:hover strong { color: var(--water); }
.guides a:hover::after { transform: translateX(4px); }

.callout { border: 1px solid var(--border); border-left: 4px solid var(--water); background: var(--surface); padding: var(--s4) var(--s5); border-radius: var(--radius); margin: var(--s5) 0; }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { border-left-color: var(--amber); background: var(--amber-bg); }
.callout.warn strong:first-child { color: var(--amber); }

.page-head { padding: var(--s7) 0 var(--s6); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: var(--s4); }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.article { display: grid; gap: var(--s6); padding-top: var(--s7); padding-bottom: var(--s8); }
.article h2 { margin-top: var(--s7); scroll-margin-top: 88px; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: var(--s6); font-size: 20px; }
.toc { font-size: 15px; }
.toc strong { display: block; margin-bottom: var(--s2); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc ol { padding-left: 1.2em; margin: 0; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--water); }
.side-cta { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s5); margin-top: var(--s6); background: var(--surface); }
.side-cta p { font-size: 15px; color: var(--muted); }
table { border-collapse: collapse; width: 100%; margin: 0 0 var(--s5); font-size: 16px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 700; background: var(--bg-alt); }
.table-scroll { overflow-x: auto; }

.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s4) 36px var(--s4) 0; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--water); border-bottom: 3px solid var(--water); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 var(--s4); max-width: 68ch; }

.dl { display: grid; gap: var(--s5); grid-template-columns: 1fr; margin-top: var(--s5); }
.dl-card { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s5); background: var(--surface); box-shadow: var(--shadow); }
.dl-card h3 { margin-bottom: var(--s2); }
.dl-card .meta { margin: var(--s3) 0 0; overflow-wrap: anywhere; }
.badge { display: inline-block; font: 700 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: 5px 8px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); color: var(--muted); vertical-align: middle; }

.cta-band { background: var(--night); color: #e8eef7; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c8de; }
.cta-band .wrap { display: grid; gap: var(--s5); align-items: center; }
.cta-band .btn-primary { background: #25a9e6; color: #04121f; box-shadow: 0 3px 0 #1287c4; }
.cta-band .btn-secondary { color: #e8eef7; border-color: #3b5378; box-shadow: 0 3px 0 #243a5c; }
.site-footer { background: #0a1322; color: #a9b7cc; padding: var(--s7) 0 var(--s6); font-size: 15px; }
.site-footer a { color: #d5e1f2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #6fd3ff; }
.foot-grid { display: grid; gap: var(--s6); grid-template-columns: 1fr 1fr; }
.foot-grid h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #7f93b3; margin-bottom: var(--s3); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { max-width: 46ch; margin-top: var(--s3); }
.legal { border-top: 1px solid #1d2c47; margin-top: var(--s6); padding-top: var(--s5); font-size: 13px; color: #7f93b3; }

@media (min-width: 720px) {
	.wrap { padding: 0 32px; }
	.facts { grid-template-columns: 1fr 1fr; }
	.dl { grid-template-columns: 1fr 1fr; }
	.foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
	.foot-brand { grid-column: auto; }
	.cta-band .wrap { grid-template-columns: 1fr auto; }
}

@media (min-width: 960px) {
	h1 { font-size: 48px; }
	section { padding: var(--s9) 0; }
	.hero .wrap { grid-template-columns: 1fr; padding-top: var(--s9); }
	.hero-copy { max-width: 720px; }
	.row { grid-template-columns: 5fr 7fr; gap: var(--s8); }
	.row.flip .copy { order: 2; }
	.facts { grid-template-columns: 1fr 1fr 1fr; }
	.article { grid-template-columns: minmax(0, 1fr) 260px; gap: var(--s8); }
	.article aside { position: sticky; top: 96px; align-self: start; order: 2; }
}

@media (max-width: 719px) {
	.article aside .side-cta { display: none; }
	.toc { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s4); }
	.nav { display: none; }
	.menu { display: block; }
	.site-header .wrap { position: relative; }
	h1 { font-size: 34px; }
	h2 { font-size: 25px; }
}

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

.prose .steps { padding-left: 0; }
.article .steps h3 { margin-top: 0; }
.article .steps { margin-bottom: var(--s5); }
.wrap.article { padding-top: var(--s7); padding-bottom: var(--s8); }
.faq h2 { margin-top: var(--s7); }
.faq h2:first-child { margin-top: 0; }
.shots-2 { display: grid; gap: var(--s5); grid-template-columns: 1fr; margin-top: var(--s6); }
@media (min-width: 720px) { .shots-2 { grid-template-columns: 1fr 1fr; } }
