/* ReachZone site. Plain CSS, system fonts, no external requests. */
:root {
	--bg: #fbfaf7;
	--surface: #ffffff;
	--ink: #1c2321;
	--muted: #55605c;
	--line: #dcd9d0;
	--accent: #0b6b63;
	--accent-ink: #ffffff;
	--accent-soft: #e2f1ee;
	--warn-bg: #fff4d6;
	--warn-ink: #5a4300;
	--err: #a4262c;
	--radius: 10px;
	--max: 1040px;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #12171a;
		--surface: #1a2125;
		--ink: #e8ecea;
		--muted: #a2aeaa;
		--line: #2c373c;
		--accent: #4cc2b5;
		--accent-ink: #08201d;
		--accent-soft: #17302d;
		--warn-bg: #3a3014;
		--warn-ink: #f2dca0;
		--err: #ff9aa0;
	}
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 18px; }
nav.main a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { border-bottom-color: var(--accent); }

main { padding: 32px 0 56px; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; line-height: 1.25; margin: 40px 0 12px; }
h3 { font-size: 1.15rem; margin: 24px 0 8px; }
p, ul, ol { margin: 0 0 16px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--accent-soft); padding: 1px 5px; border-radius: 4px; }
pre { background: var(--accent-soft); padding: 12px 14px; border-radius: var(--radius); overflow-x: auto; }
pre code { background: none; padding: 0; }

.hero { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; padding: 8px 0 8px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr 1fr; } }
.btn {
	display: inline-block; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--accent);
	padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn.secondary { background: transparent; color: var(--accent); }
.btn[disabled], .btn.soon { opacity: 0.6; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }

.notice { background: var(--warn-bg); color: var(--warn-ink); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 20px; }
.notice strong { font-weight: 700; }

figure { margin: 0; }
figure img { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.frame { max-height: 520px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.frame img { border: 0; border-radius: 0; }
.shots { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .shots.two { grid-template-columns: 1fr 1fr; } }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; display: flex; flex-direction: column; }
.card h3 { margin-top: 0; }
.card ul { padding-left: 1.1rem; }
.card .price { font-size: 2rem; font-weight: 700; margin: 4px 0; letter-spacing: -0.02em; }
.card .price small { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.card .push { margin-top: auto; }
.card.pick { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.tag { display: inline-block; font-size: 0.78rem; background: var(--accent-soft); color: var(--accent); padding: 1px 8px; border-radius: 999px; font-weight: 600; margin-left: 6px; vertical-align: middle; }

table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
.table-scroll { overflow-x: auto; }

.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); margin: 0 0 16px; }
.toggle label { padding: 6px 16px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle input:checked + span { font-weight: 700; color: var(--accent); }
.toggle label:has(input:checked) { background: var(--accent-soft); }
.toggle label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: -3px; }

form.checkout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; max-width: 640px; }
.field { margin: 0 0 14px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 4px; }
.field input[type=text], .field input[type=email], .field select {
	width: 100%; padding: 9px 10px; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
}
.field .hint { font-size: 0.88rem; color: var(--muted); margin-top: 3px; }
.field.check label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.field.check input { margin-top: 6px; }
.status { min-height: 1.6em; margin-top: 12px; }
.status.error { color: var(--err); font-weight: 600; }
.keybox { font: 1.15rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--accent-soft); padding: 12px 16px; border-radius: var(--radius); display: inline-block; word-break: break-all; }

details { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; background: var(--surface); margin: 0 0 10px; }
summary { cursor: pointer; font-weight: 600; }

.doc-layout { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .doc-layout { grid-template-columns: 220px 1fr; } }
.doc-nav { font-size: 0.95rem; }
.doc-nav ul { list-style: none; padding: 0; margin: 0; }
.doc-nav li { margin: 0 0 6px; }
.doc-nav a[aria-current="page"] { font-weight: 700; }
.doc article { max-width: 44rem; }

footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 0.92rem; }
footer.site p { margin: 0 0 6px; }
footer.site a { color: var(--muted); }

dl.details { display: grid; grid-template-columns: 1fr; gap: 2px 24px; margin: 0 0 24px; }
dl.details dt { font-weight: 600; margin-top: 10px; }
dl.details dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) { dl.details { grid-template-columns: 12rem 1fr; } dl.details dt { margin-top: 0; } }
