/* ajhkit storefront styles.
   Same visual system as ajh.wtf (black, Verdana, hairline rules, 8px radii) so the store feels
   like the same hand made it. Everything here is first party: no webfonts, no CDN, no images.
   Mobile first, because this traffic arrives from a TikTok profile link on a phone. */

:root {
	--bg: #000;
	--fg: #e6e6e6;
	--muted: #9a9a9a;
	--dim: #8f8f8f;
	--faint: #7d7d7d;
	--hair: #141414;      /* row separators */
	--line: #1a1a1a;      /* box borders */
	--fill: #101010;      /* button + input fill */
	--fill-line: #2a2a2a; /* button + input border */
	--ok: #7ddc9b;
	--warn: #e0b458;
	--bad: #e07a7a;
	--r: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
	background: var(--bg);
	color: var(--fg);
	font: 14px/1.55 Verdana, Geneva, Tahoma, sans-serif;
	padding: 22px 16px 40px;
	-webkit-font-smoothing: antialiased;
	/* Long order codes and download URLs must never push the layout sideways on a 375px screen. */
	overflow-wrap: anywhere;
}
.wrap { max-width: 620px; margin: 0 auto; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }

/* Keyboard users get a real skip target; it stays out of the way until focused. */
.skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--fill);
	border: 1px solid var(--fill-line);
	border-radius: var(--r);
	padding: 10px 14px;
	z-index: 5;
}
.skip:focus { left: 16px; top: 16px; }

header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.brand { font-weight: bold; display: inline-block; padding: 12px 0; } /* 44px tall tap target on a phone */
nav a { color: var(--faint); font-size: 13px; margin-left: 14px; padding: 12px 0; display: inline-block; }
nav a:hover, nav a[aria-current="page"] { color: var(--fg); }

h1 { font-size: 16px; }
.lede { font-weight: normal; font-size: 15px; color: var(--fg); margin: 0 0 6px; line-height: 1.5; }
.tagline { color: var(--dim); font-size: 13px; margin-bottom: 14px; }
h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--dim); font-weight: bold; margin: 24px 0 8px; }
h3 { font-size: 14px; font-weight: bold; margin: 0; }
p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }
.desc { color: var(--muted); font-size: 13px; }
.meta { color: var(--dim); font-size: 12px; }
.faint { color: var(--faint); }
strong { font-weight: bold; }

/* Row lists (what is inside, FAQ, contact) reuse the apex site's hairline rows. */
.items { list-style: none; }
.item { padding: 11px 0; border-top: 1px solid var(--hair); }
.item:first-child { border-top: 0; }
.name { font-weight: bold; font-size: 14px; }
.t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

.box { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.box + .box { margin-top: 10px; }
.box h3 { margin-bottom: 4px; }
.box.warn { border-color: #3a2f16; }
.box.bad { border-color: #3a1f1f; }
.box.ok { border-color: #1c3527; }

/* Price + call to action */
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.price .amount { font-size: 22px; font-weight: bold; }
.price .per { color: var(--dim); font-size: 12px; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 48px;
	padding: 13px 18px;
	background: var(--fill);
	border: 1px solid var(--fill-line);
	border-radius: var(--r);
	color: var(--fg);
	font: inherit;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.btn:hover { border-color: #3a3a3a; text-decoration: none; }
.btn:disabled { color: var(--faint); cursor: not-allowed; }
.btn.small { min-height: 44px; padding: 10px 14px; font-weight: normal; font-size: 13px; width: auto; }
.btn.quiet { background: transparent; font-weight: normal; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.btn-row .btn { width: 100%; }
/* Secondary buttons keep their natural width so a row of them wraps instead of stacking. */
.btn-row .btn.small { width: auto; }
.after-btn { color: var(--dim); font-size: 12px; margin-top: 8px; }

/* Status chips: the only place colour is allowed to mean something. */
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	padding: 3px 9px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--dim);
}
.chip.ok { color: var(--ok); border-color: #1c3527; }
.chip.warn { color: var(--warn); border-color: #3a2f16; }
.chip.bad { color: var(--bad); border-color: #3a1f1f; }

/* Numbered steps ("how buying works"). Counters keep the markup a plain <ol>. */
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--hair); }
.steps li:first-child { border-top: 0; }
.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 10px;
	width: 20px;
	height: 20px;
	border: 1px solid var(--fill-line);
	border-radius: 999px;
	font-size: 11px;
	line-height: 18px;
	text-align: center;
	color: var(--dim);
}

/* Monospace blocks for the order code and the one-time link. */
.code {
	font: 15px/1.4 ui-monospace, Menlo, Consolas, "Courier New", monospace;
	letter-spacing: 1px;
	background: var(--fill);
	border: 1px solid var(--fill-line);
	border-radius: var(--r);
	padding: 12px;
	display: block;
	word-break: break-all;
}
.code.big { font-size: 19px; text-align: center; }
.linkbox {
	font: 12px/1.5 ui-monospace, Menlo, Consolas, "Courier New", monospace;
	background: var(--fill);
	border: 1px solid var(--fill-line);
	border-radius: var(--r);
	padding: 10px;
	word-break: break-all;
	color: var(--muted);
}

/* Forms */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--faint); margin-top: 6px; }
input[type="text"], select, textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px;
	background: #0a0a0a;
	border: 1px solid var(--fill-line);
	border-radius: var(--r);
	color: var(--fg);
	font: inherit;
	font-size: 16px; /* 16px stops iOS Safari zooming in when the field is focused */
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--fg); outline-offset: 1px; }
/* Honeypot: off screen rather than display:none, since simple bots skip hidden inputs. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: var(--bad); font-size: 13px; margin-top: 10px; }

/* Question and answer blocks */
.qa { padding: 12px 0; border-top: 1px solid var(--hair); }
.qa:first-child { border-top: 0; }
.qa h3 { font-size: 13px; margin-bottom: 4px; }

.rule { border: 0; border-top: 1px solid var(--hair); margin: 22px 0; }
.prose p { color: var(--muted); font-size: 13px; }
.prose li { color: var(--muted); font-size: 13px; margin: 0 0 6px 18px; }
.prose h2 + p, .prose h2 + ul { margin-top: 0; }
.prose ul { margin-bottom: 10px; }

footer {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin-top: 28px;
	padding-top: 12px;
	border-top: 1px solid var(--hair);
	color: var(--dim);
	font-size: 12px;
}
footer a { color: var(--faint); margin-left: 12px; padding: 12px 0; display: inline-block; }
footer nav a:first-child { margin-left: 0; }
footer a:hover { color: var(--fg); }

/* One shared toast for copy confirmations and errors. */
.toast {
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	max-width: calc(100% - 32px);
	background: var(--fill);
	border: 1px solid var(--fill-line);
	border-radius: var(--r);
	padding: 10px 14px;
	font-size: 13px;
	z-index: 10;
}

@media (min-width: 520px) {
	.btn { width: auto; min-width: 240px; }
	.btn-row .btn { width: auto; }
}
@media (max-width: 420px) {
	body { padding: 18px 13px 32px; }
	.t { flex-direction: column; gap: 3px; }
	header { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
