/* HardCopy Labs — one stylesheet for the whole site.
   No build step, no imports, no external requests. */

:root {
	--paper:      #faf8f4;
	--paper-2:    #f2ede5;
	--ink:        #17130f;
	--ink-2:      #4a423a;
	--ink-3:      #7d7266;
	--line:       #ddd4c7;
	--accent:     #c1441a;
	--accent-ink: #ffffff;
	--radius:     3px;

	--mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
	        "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper:   #12100e;
		--paper-2: #1c1916;
		--ink:     #f4efe8;
		--ink-2:   #bdb3a6;
		--ink-3:   #8a8074;
		--line:    #322c26;
		--accent:  #ff7043;
		--accent-ink: #1a0e08;
	}
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip {
	position: absolute; left: -9999px;
	background: var(--ink); color: var(--paper);
	padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: 62rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap--narrow { max-width: 44rem; }

/* ---------- header ---------- */

.site-head {
	border-bottom: 1px solid var(--line);
	position: sticky; top: 0; z-index: 50;
	background: var(--paper);
}
.site-head .wrap {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; min-height: 4rem; flex-wrap: wrap;
}
.wordmark {
	font-family: var(--mono);
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-flex; align-items: center; gap: .55rem;
	white-space: nowrap;
}
.wordmark .dot {
	width: .55rem; height: .55rem; border-radius: 50%;
	background: var(--accent);
	flex: none;
}
.site-nav {
	display: flex; gap: 1.35rem; flex-wrap: wrap;
	font-size: .82rem; font-family: var(--mono); letter-spacing: .04em;
}
.site-nav a { color: var(--ink-2); text-decoration: none; padding: .25rem 0; }
.site-nav a:hover, .site-nav a:focus { color: var(--accent); }
.site-nav a[aria-current="page"] {
	color: var(--ink);
	box-shadow: inset 0 -2px 0 var(--accent);
}

/* ---------- type ---------- */

.eyebrow {
	font-family: var(--mono);
	font-size: .72rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-3);
	margin: 0 0 1rem;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6rem; }
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 650; }
h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -.01em; }

.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-2); max-width: 40rem; }

.mono { font-family: var(--mono); }

/* ---------- sections ---------- */

section { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

.hero { padding-top: clamp(3.5rem, 9vw, 6.5rem); }
.hero h1 { max-width: 20ch; }
.hero .lede { margin-top: 1.25rem; }

/* ---------- status pill ---------- */

.pill {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--mono); font-size: .74rem; letter-spacing: .08em;
	text-transform: uppercase;
	border: 1px solid var(--line);
	border-radius: 100px;
	padding: .35rem .8rem;
	color: var(--ink-2);
	background: var(--paper-2);
}
.pill::before {
	content: ""; width: .45rem; height: .45rem; border-radius: 50%;
	background: var(--accent);
}

/* ---------- buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
	display: inline-block;
	font-family: var(--mono); font-size: .84rem; letter-spacing: .05em;
	text-decoration: none;
	padding: .75rem 1.35rem;
	border-radius: var(--radius);
	border: 1px solid var(--ink);
	background: var(--ink); color: var(--paper);
	transition: background .15s, color .15s, border-color .15s;
}
.btn:hover, .btn:focus { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover, .btn--ghost:focus { border-color: var(--accent); background: transparent; color: var(--accent); }

/* ---------- numbered steps ---------- */

.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: step; }
.step {
	counter-increment: step;
	display: grid;
	grid-template-columns: 3.2rem 1fr;
	gap: 0 1.25rem;
	padding: 1.5rem 0;
	border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
	content: counter(step, decimal-leading-zero);
	font-family: var(--mono); font-size: .82rem; letter-spacing: .05em;
	color: var(--accent);
	padding-top: .2rem;
}
.step p { margin: .35rem 0 0; color: var(--ink-2); }

/* ---------- spec table ---------- */

.specs { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: .85rem 1rem .85rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child td, .specs tr:last-child th { border-bottom: 1px solid var(--line); }
.specs th {
	font-family: var(--mono); font-size: .74rem; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-3); font-weight: 500;
	width: 34%; white-space: nowrap;
}
.specs td { color: var(--ink); }
.specs .mono { font-family: var(--mono); font-size: .88rem; }

.table-scroll { overflow-x: auto; }

/* ---------- price examples ---------- */

.prices { list-style: none; margin: 2rem 0 0; padding: 0; }
.prices li {
	display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
	padding: .8rem 0; border-top: 1px solid var(--line);
}
.prices li:last-child { border-bottom: 1px solid var(--line); }
.prices .amount { font-family: var(--mono); font-size: 1rem; color: var(--ink); white-space: nowrap; }
.prices .what { color: var(--ink-2); }

/* ---------- cards ---------- */

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2rem; }
@media (min-width: 46rem) {
	.grid--2 { grid-template-columns: 1fr 1fr; }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.card { background: var(--paper); padding: 1.5rem; }
.card p { margin: .4rem 0 0; color: var(--ink-2); font-size: .95rem; }

/* ---------- callout ---------- */

.note {
	border-left: 3px solid var(--accent);
	background: var(--paper-2);
	padding: 1.1rem 1.25rem;
	margin: 2rem 0 0;
	font-size: .95rem;
	color: var(--ink-2);
}
.note strong { color: var(--ink); }

/* ---------- prose (legal pages) ---------- */

.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.75rem; font-size: 1.3rem; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--accent); }
.prose .updated {
	font-family: var(--mono); font-size: .78rem; letter-spacing: .06em;
	text-transform: uppercase; color: var(--ink-3);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

/* ---------- footer ---------- */

.site-foot {
	border-top: 1px solid var(--line);
	background: var(--paper-2);
	padding: 3rem 0 4rem;
	font-size: .9rem;
	color: var(--ink-2);
}
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 44rem) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-foot h4 {
	font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--ink-3);
	margin: 0 0 .85rem; font-weight: 500;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .45rem; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover, .site-foot a:focus { color: var(--accent); }
.legal-line {
	margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
	font-size: .82rem; color: var(--ink-3);
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
