/* DropLock — design v3: "Hype Drop Operator Manual"
   Big brutal type, caution-tape yellow, noise grain, marquee, receipt motifs.
   No frameworks. */

/* ============================================================
   Design tokens
   ============================================================ */
:root {
	/* Surfaces */
	--bg:           #0a0a0a;
	--bg-soft:      #111111;
	--bg-elev:      #161616;
	--paper:        #f5e8c4;       /* cream for receipt sections */
	--paper-deep:   #e8d8a4;

	/* Ink */
	--ink:          #fafafa;
	--ink-muted:    #888;
	--ink-faint:    #4a4a4a;
	--ink-paper:    #1a1a1a;       /* ink on cream */

	/* Anchors */
	--rule:         #1a1a1a;
	--rule-bright:  #2a2a2a;

	/* Brand */
	--lemon:        #fff200;       /* electric caution-tape yellow */
	--lemon-deep:   #f0d600;
	--blocked:      #ff3b30;       /* sneaker red, danger */
	--ok:           #4ade80;

	/* Layout */
	--maxw:         1280px;
	--gutter:       32px;
	--r:            6px;
	--r-pill:       999px;

	/* Backward-compat aliases (docs/blog/legal/welcome/press) */
	--bg-elev-1:    var(--bg-soft);
	--bg-elev-2:    var(--bg-elev);
	--bg-alt:       var(--bg-soft);
	--panel:        var(--bg-elev);
	--rule-soft:    var(--rule);
	--accent:       var(--lemon);
	--accent-soft:  #fff8a8;
	--accent-deep:  var(--lemon-deep);
	--accent-ink:   #0a0a0a;
	--ink-soft:     #b8b8b8;
	--ink-mute:     var(--ink-muted);
	--radius:       var(--r);
	--radius-lg:    var(--r);
	--radius-pill:  var(--r-pill);
	--danger:       var(--blocked);

	/* Type */
	--font-display: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
	--font-body:    'Inter', system-ui, sans-serif;
	--font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============================================================
   Fonts (Google Fonts: preload via HTML, declared here as families)
   ============================================================ */

/* ============================================================
   Base / reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
	font-family: var(--font-body);
	background: var(--bg);
	color: var(--ink);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--lemon); text-decoration: none; transition: color 0.15s, background 0.15s; }
a:hover { color: var(--ink); }
button { font-family: inherit; }
h1, h2, h3, h4 {
	margin: 0 0 0.4em;
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 0.95;
}
p { margin: 0 0 1em; color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================================
   Global noise grain overlay
   ============================================================ */
body::before {
	content: '';
	position: fixed; inset: 0;
	z-index: 1000;
	pointer-events: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
	opacity: 0.05;
	mix-blend-mode: overlay;
}

/* Mono utility text */
.mono { font-family: var(--font-mono); font-feature-settings: 'liga' 0; }

/* ============================================================
   Header (manifest bar)
   ============================================================ */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10, 10, 10, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--rule);
}
.header-inner {
	display: flex; align-items: center; gap: 28px;
	padding: 14px var(--gutter);
	max-width: var(--maxw);
	margin: 0 auto;
}
.brand {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -0.04em;
	color: var(--ink);
	text-transform: uppercase;
}
.brand:hover { color: var(--ink); }
.brand img { width: 28px; height: 28px; }
.site-header nav { margin-left: auto; display: flex; gap: 22px; }
.site-header nav a {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	color: var(--ink-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.site-header nav a:hover { color: var(--ink); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 22px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: -0.01em;
	border: 2px solid var(--ink);
	border-radius: 0;
	cursor: pointer;
	transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s, color 0.15s;
	white-space: nowrap;
	text-transform: uppercase;
	position: relative;
}
.btn:hover {
	transform: translate(-2px, -2px);
	box-shadow: 4px 4px 0 0 var(--ink);
	text-decoration: none;
}
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 0 var(--ink); }
.btn-primary {
	background: var(--lemon);
	color: var(--bg);
	border-color: var(--lemon);
}
.btn-primary:hover {
	background: var(--lemon);
	color: var(--bg);
	box-shadow: 4px 4px 0 0 var(--ink);
}
.btn-ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}
.btn-ghost:hover {
	background: var(--ink);
	color: var(--bg);
	box-shadow: 4px 4px 0 0 var(--lemon);
}
.btn-link {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--ink-muted);
	background: transparent;
	border: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 14px 8px;
}
.btn-link:hover { color: var(--lemon); background: transparent; transform: none; box-shadow: none; }
.btn-lg { padding: 18px 30px; font-size: 17px; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Ticker tape (just below header)
   ============================================================ */
.ticker {
	background: var(--lemon);
	color: var(--bg);
	border-bottom: 2px solid var(--bg);
	overflow: hidden;
	padding: 10px 0;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.ticker-track {
	display: flex;
	gap: 0;
	white-space: nowrap;
	animation: tick 40s linear infinite;
	width: max-content;
}
.ticker-track span {
	padding: 0 32px;
	border-right: 1px solid rgba(0,0,0,0.2);
}
.ticker-track .star { color: var(--bg); font-weight: 800; }
@keyframes tick {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
	position: relative;
	padding: 80px 0 100px;
	overflow: hidden;
	border-bottom: 2px solid var(--lemon);
}
.hero::before {
	content: '';
	position: absolute;
	top: 50%; right: -120px;
	width: 720px; height: 720px;
	background: var(--lemon);
	opacity: 0.06;
	transform: translateY(-50%) rotate(15deg);
	clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
	z-index: 0;
	pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.hero-stamp {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lemon);
	padding: 6px 12px;
	border: 1px solid var(--lemon);
	margin-bottom: 32px;
}
.hero-stamp::before {
	content: '';
	width: 7px; height: 7px;
	background: var(--lemon);
	border-radius: 50%;
	animation: blink 1.5s steps(2) infinite;
}
@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

.hero h1 {
	font-size: clamp(64px, 12vw, 180px);
	letter-spacing: -0.06em;
	line-height: 0.85;
	font-weight: 900;
	margin: 0 0 24px;
	text-transform: uppercase;
	color: var(--ink);
}
.hero h1 .lemon { color: var(--lemon); }
.hero h1 .strike {
	display: inline-block;
	position: relative;
}
.hero h1 .strike::after {
	content: '';
	position: absolute;
	left: -4%; right: -4%; top: 48%;
	height: 8px;
	background: var(--lemon);
	transform: rotate(-3deg);
}

.hero .subhead {
	font-family: var(--font-display);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 500;
	color: var(--ink);
	margin: 32px 0 16px;
	max-width: 680px;
	line-height: 1.15;
	letter-spacing: -0.02em;
}
.hero .lede {
	font-size: 17px;
	color: var(--ink-muted);
	max-width: 580px;
	margin: 0 0 36px;
}

.cta-row {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
}

.micro {
	margin-top: 28px;
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--ink-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.micro .dot { color: var(--ink-faint); }

/* Floating stamp - blocked notice in hero */
.blocked-stamp {
	position: absolute;
	top: 80px;
	right: 40px;
	width: 360px;
	max-width: 50vw;
	background: var(--bg-soft);
	border: 2px solid var(--blocked);
	padding: 22px 24px;
	transform: rotate(2deg);
	z-index: 2;
	box-shadow: 8px 8px 0 0 rgba(255, 59, 48, 0.2);
	font-family: var(--font-mono);
}
.blocked-stamp .stamp-label {
	display: flex; align-items: center; gap: 8px;
	color: var(--blocked);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.blocked-stamp .stamp-label::before {
	content: '';
	width: 14px; height: 14px;
	border: 2px solid var(--blocked);
	border-radius: 50%;
	display: inline-block;
	position: relative;
}
.blocked-stamp .stamp-product {
	font-family: var(--font-display);
	font-size: 18px;
	color: var(--ink);
	margin-bottom: 10px;
	font-weight: 700;
	line-height: 1.1;
}
.blocked-stamp .stamp-msg {
	color: var(--ink-muted);
	font-size: 12px;
	margin-bottom: 16px;
	line-height: 1.5;
}
.blocked-stamp .stats {
	display: flex; gap: 24px;
	font-family: var(--font-mono);
	border-top: 1px dashed var(--rule-bright);
	padding-top: 14px;
}
.blocked-stamp .stat-key { font-size: 9px; color: var(--ink-faint); letter-spacing: 0.12em; text-transform: uppercase; }
.blocked-stamp .stat-val { font-size: 20px; color: var(--ink); font-weight: 700; font-family: var(--font-display); }
.blocked-stamp .stat-val.bad { color: var(--blocked); }

/* ============================================================
   Marquee band (full-width scrolling)
   ============================================================ */
.marquee {
	background: var(--lemon);
	color: var(--bg);
	padding: 24px 0;
	overflow: hidden;
	transform: rotate(-1.2deg);
	margin: 0 -2vw;
	border-top: 3px solid var(--bg);
	border-bottom: 3px solid var(--bg);
	white-space: nowrap;
}
.marquee-track {
	display: flex;
	gap: 0;
	animation: marq 50s linear infinite;
	width: max-content;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(28px, 4vw, 56px);
	letter-spacing: -0.02em;
	text-transform: uppercase;
	line-height: 1;
}
.marquee-track span {
	padding: 0 24px;
	display: inline-flex; align-items: center; gap: 24px;
}
.marquee-track .sep { color: var(--bg); }
.marquee-track .x { color: var(--bg); font-weight: 900; transform: scale(0.7); display: inline-block; }
@keyframes marq {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ============================================================
   Chapters / section headings
   ============================================================ */
.chapter {
	padding: 80px 0 60px;
	border-bottom: 1px dashed var(--rule-bright);
}
.chapter-head {
	display: flex;
	align-items: baseline;
	gap: 32px;
	margin-bottom: 60px;
	padding-bottom: 24px;
	border-bottom: 2px solid var(--ink);
}
.chapter-num {
	font-family: var(--font-mono);
	font-size: 14px;
	color: var(--lemon);
	font-weight: 600;
	letter-spacing: 0.2em;
	white-space: nowrap;
}
.chapter-title {
	font-size: clamp(36px, 6vw, 80px);
	font-weight: 900;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	line-height: 0.9;
	margin: 0;
	flex: 1;
}
.chapter-title em {
	font-style: normal;
	color: var(--lemon);
}
.chapter-meta {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--ink-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	white-space: nowrap;
}

/* ============================================================
   Chapter I — Problem (torn cards)
   ============================================================ */
.problems {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.problem-card {
	padding: 28px 30px;
	background: var(--bg-soft);
	border: 1px solid var(--rule-bright);
	position: relative;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s;
}
.problem-card:nth-child(odd) { transform: rotate(-0.4deg); }
.problem-card:nth-child(even) { transform: rotate(0.3deg); }
.problem-card:hover {
	background: var(--bg-elev);
	border-color: var(--blocked);
	transform: rotate(0) translateY(-3px);
}
.problem-card .pcard-num {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--blocked);
	letter-spacing: 0.12em;
	font-weight: 700;
	margin-bottom: 14px;
}
.problem-card p {
	font-size: 17px;
	color: var(--ink);
	margin: 0;
	line-height: 1.4;
}
.problem-note {
	margin-top: 32px;
	padding: 20px 28px;
	background: var(--lemon);
	color: var(--bg);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 19px;
	letter-spacing: -0.01em;
	border: 2px solid var(--bg);
	transform: rotate(0.2deg);
}

/* ============================================================
   Chapter II — Features (spec sheet)
   ============================================================ */
.specsheet {
	border-top: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
}
.spec-row {
	display: grid;
	grid-template-columns: 64px 220px 1fr 140px;
	gap: 24px;
	padding: 24px 12px;
	border-bottom: 1px solid var(--rule-bright);
	align-items: center;
	transition: background 0.15s ease;
	font-family: var(--font-mono);
}
.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: var(--bg-soft); }
.spec-num {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--lemon);
	letter-spacing: 0.1em;
}
.spec-name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 21px;
	color: var(--ink);
	letter-spacing: -0.02em;
}
.spec-desc {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink-muted);
}
.spec-status {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--ok);
	text-transform: uppercase;
	text-align: right;
	display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end;
}
.spec-status::before {
	content: '';
	width: 8px; height: 8px;
	background: var(--ok);
	border-radius: 50%;
	box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

/* ============================================================
   Use cases
   ============================================================ */
.usecases {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0;
	border: 2px solid var(--ink);
}
.usecases > div {
	padding: 24px 26px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.01em;
	color: var(--ink);
	border-right: 1px solid var(--rule-bright);
	border-bottom: 1px solid var(--rule-bright);
	background: var(--bg-soft);
	transition: background 0.15s, color 0.15s, transform 0.15s;
	position: relative;
}
.usecases > div:hover {
	background: var(--lemon);
	color: var(--bg);
}
.usecases > div::before {
	content: counter(uc, decimal-leading-zero);
	counter-increment: uc;
	display: block;
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--ink-muted);
	letter-spacing: 0.14em;
	margin-bottom: 12px;
	font-weight: 600;
}
.usecases > div:hover::before { color: var(--bg); }
.usecases { counter-reset: uc; }

/* ============================================================
   How it works
   ============================================================ */
.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.step {
	position: relative;
	padding: 28px 26px;
	background: var(--bg-soft);
	border: 1px solid var(--rule-bright);
}
.step .step-num {
	font-family: var(--font-display);
	font-size: 72px;
	font-weight: 900;
	color: var(--lemon);
	line-height: 0.8;
	letter-spacing: -0.06em;
	margin-bottom: 14px;
}
.step h3 {
	font-size: 20px;
	margin-bottom: 8px;
}
.step p {
	font-size: 14px;
	color: var(--ink-muted);
	margin: 0;
}

/* ============================================================
   Chapter — Testimonials (ticket stubs)
   ============================================================ */
.tickets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.ticket {
	background: var(--paper);
	color: var(--ink-paper);
	padding: 24px 28px 28px;
	position: relative;
	font-family: var(--font-mono);
	transition: transform 0.15s ease;
	box-shadow: 4px 4px 0 0 var(--ink);
}
.ticket::before, .ticket::after {
	content: '';
	position: absolute;
	left: 0; right: 0;
	height: 14px;
	background: radial-gradient(circle at 7px 50%, transparent 6px, var(--paper) 6px);
	background-size: 14px 14px;
	background-position: 0 50%;
}
.ticket::before { top: -7px; transform: rotate(180deg); }
.ticket::after { bottom: -7px; }
.ticket:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); }
.ticket-label {
	font-size: 10px;
	letter-spacing: 0.14em;
	color: var(--ink-paper);
	font-weight: 700;
	border-bottom: 1px dashed rgba(0,0,0,0.4);
	padding-bottom: 10px;
	margin-bottom: 16px;
	display: flex;
	justify-content: space-between;
}
.ticket-label .stub {
	background: var(--blocked);
	color: var(--ink);
	padding: 2px 6px;
	font-size: 9px;
	letter-spacing: 0.1em;
}
.ticket blockquote {
	margin: 0 0 18px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.35;
	color: var(--ink-paper);
	letter-spacing: -0.01em;
}
.ticket .who {
	display: flex; align-items: center; gap: 12px;
	border-top: 1px dashed rgba(0,0,0,0.4);
	padding-top: 14px;
}
.ticket .avatar {
	width: 36px; height: 36px;
	background: var(--ink-paper);
	color: var(--paper);
	border-radius: 0;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800;
	font-size: 13px;
	font-family: var(--font-display);
}
.ticket .meta-name { font-weight: 700; color: var(--ink-paper); font-size: 13px; }
.ticket .meta-role { color: rgba(0,0,0,0.6); font-size: 11px; }

/* ============================================================
   Pricing — drop-tier receipt
   ============================================================ */
.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 32px;
}
.plan {
	background: var(--bg-soft);
	border: 2px solid var(--ink);
	padding: 32px 30px;
	position: relative;
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.plan:hover {
	transform: translate(-3px, -3px);
	box-shadow: 6px 6px 0 0 var(--lemon);
}
.plan-num {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	color: var(--ink-muted);
	margin-bottom: 12px;
}
.plan h3 {
	font-size: 24px;
	margin: 0 0 4px;
	letter-spacing: -0.02em;
}
.plan-tag {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--ink-muted);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 28px;
}
.plan .price {
	font-family: var(--font-display);
	font-size: 64px;
	color: var(--ink);
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 0.9;
	margin: 4px 0 0;
}
.plan .price span { font-size: 28px; vertical-align: top; line-height: 1; color: var(--ink-muted); }
.plan .price small { font-size: 16px; color: var(--ink-muted); font-weight: 500; }
.plan ul {
	list-style: none;
	padding: 0;
	margin: 28px 0;
	flex: 1;
	border-top: 1px dashed var(--rule-bright);
	border-bottom: 1px dashed var(--rule-bright);
	padding: 18px 0;
}
.plan ul li {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--ink);
	padding: 6px 0;
	display: flex; align-items: center; gap: 10px;
}
.plan ul li::before {
	content: '+';
	color: var(--lemon);
	font-weight: 700;
	font-size: 16px;
}
.plan-featured {
	background: var(--lemon);
	border-color: var(--lemon);
	color: var(--bg);
}
.plan-featured h3, .plan-featured .price { color: var(--bg); }
.plan-featured .price span, .plan-featured .price small, .plan-featured .plan-num, .plan-featured .plan-tag {
	color: rgba(0,0,0,0.7);
}
.plan-featured ul {
	border-color: rgba(0,0,0,0.3);
}
.plan-featured ul li { color: var(--bg); }
.plan-featured ul li::before { color: var(--bg); }
.plan-featured:hover { box-shadow: 6px 6px 0 0 var(--ink); }
.ribbon {
	position: absolute;
	top: -14px;
	left: 24px;
	background: var(--bg);
	color: var(--lemon);
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
	padding: 5px 12px;
	border: 2px solid var(--lemon);
}
.plan .btn { width: 100%; justify-content: center; margin-top: 8px; }
.plan-featured .btn-primary {
	background: var(--bg);
	color: var(--lemon);
	border-color: var(--bg);
}
.plan-featured .btn-primary:hover { background: var(--bg); color: var(--lemon); box-shadow: 4px 4px 0 0 var(--ink); }
.plan-featured .btn-ghost {
	background: transparent;
	color: var(--bg);
	border-color: var(--bg);
}

.vault {
	background: var(--bg-soft);
	border: 2px dashed var(--lemon);
	padding: 24px 28px;
	font-family: var(--font-mono);
	font-size: 13px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}

/* ---- Billing terms strip ---- */
.terms-strip {
	margin-top: 24px;
	border: 2px solid var(--ink);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
.terms-strip > div {
	padding: 20px 24px;
	border-right: 1px solid var(--rule-bright);
	border-bottom: 1px solid var(--rule-bright);
}
.terms-strip .tkey {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	color: var(--lemon);
	text-transform: uppercase;
	margin-bottom: 8px;
}
.terms-strip .tval {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--ink);
	line-height: 1.45;
}

/* ---- Free vs Pro comparison ---- */
.compare-wrap { margin-top: 24px; border: 2px solid var(--ink); overflow-x: auto; }
table.compare {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-body);
	min-width: 560px;
}
table.compare th, table.compare td {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid var(--rule-bright);
	font-size: 14px;
}
table.compare thead th {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
	background: var(--bg-soft);
	border-bottom: 2px solid var(--ink);
}
table.compare thead th:nth-child(3) { color: var(--lemon); }
table.compare td:first-child { color: var(--ink); font-weight: 500; }
table.compare td.col-mark { text-align: center; width: 110px; font-family: var(--font-mono); }
table.compare .yes { color: var(--ok); font-weight: 700; }
table.compare .no  { color: var(--ink-faint); }
table.compare .partial { color: var(--ink-muted); font-size: 12px; }
table.compare tbody tr:hover { background: var(--bg-soft); }
table.compare tr.section-row td {
	background: var(--bg-elev);
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-muted);
	border-bottom: 1px solid var(--rule-bright);
}
.compare-note {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--ink-muted);
	margin-top: 16px;
	line-height: 1.6;
}

/* ---- GPL note ---- */
.gpl-note {
	margin-top: 24px;
	padding: 24px 28px;
	background: var(--bg-soft);
	border-left: 4px solid var(--lemon);
}
.gpl-note h3 {
	font-family: var(--font-display);
	font-size: 20px;
	margin-bottom: 10px;
	letter-spacing: -0.02em;
}
.gpl-note p { color: var(--ink-muted); font-size: 14.5px; margin: 0 0 10px; line-height: 1.6; }
.gpl-note p:last-child { margin-bottom: 0; }
.vault-label {
	color: var(--lemon);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 11px;
}
.vault-options { display: flex; gap: 24px; flex-wrap: wrap; }
.vault-options a {
	color: var(--ink);
	font-weight: 600;
}
.vault-options a:hover { color: var(--lemon); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
	border-top: 1px solid var(--rule-bright);
	padding: 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--rule-bright); }
.faq-list summary {
	cursor: pointer;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 22px;
	color: var(--ink);
	list-style: none;
	padding: 26px 60px 26px 12px;
	letter-spacing: -0.02em;
	position: relative;
	transition: color 0.15s, padding-left 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--lemon); padding-left: 18px; }
.faq-list summary::after {
	content: '+';
	position: absolute;
	right: 12px; top: 26px;
	color: var(--lemon);
	font-family: var(--font-mono);
	font-size: 26px;
	font-weight: 700;
	transition: transform 0.2s;
	line-height: 1;
}
.faq-list details[open] summary { color: var(--lemon); padding-left: 18px; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
	margin: 0;
	padding: 0 60px 26px 18px;
	color: var(--ink-muted);
	font-size: 16px;
	line-height: 1.55;
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
	padding: 140px 0;
	text-align: center;
	background: var(--bg);
	position: relative;
	overflow: hidden;
	border-top: 2px solid var(--lemon);
}
.final-cta::before {
	content: 'LIMIT 1';
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%) rotate(-8deg);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(120px, 20vw, 280px);
	color: var(--lemon);
	opacity: 0.04;
	white-space: nowrap;
	pointer-events: none;
	letter-spacing: -0.06em;
}
.final-cta h2 {
	font-size: clamp(40px, 7vw, 96px);
	letter-spacing: -0.04em;
	margin: 0 auto 24px;
	max-width: 1000px;
	text-transform: uppercase;
	line-height: 0.92;
	position: relative;
}
.final-cta h2 em {
	font-style: normal;
	color: var(--lemon);
}
.final-cta p {
	font-family: var(--font-mono);
	font-size: 14px;
	color: var(--ink-muted);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin: 0 auto 40px;
}
.final-cta .btn { position: relative; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
	background: var(--bg);
	border-top: 2px solid var(--lemon);
	padding: 60px 0 40px;
	position: relative;
	overflow: hidden;
}
.footer-mark {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(80px, 14vw, 200px);
	letter-spacing: -0.06em;
	line-height: 0.85;
	color: var(--ink);
	text-transform: uppercase;
	margin: 0 0 36px;
}
.footer-mark .lemon { color: var(--lemon); }
.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--rule-bright);
}
.footer-grid h4 {
	color: var(--lemon);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	margin: 0 0 14px;
	text-transform: uppercase;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul a {
	color: var(--ink-muted);
	font-size: 14px;
	transition: color 0.15s;
}
.footer-grid ul a:hover { color: var(--ink); }
.footer-tagline {
	font-family: var(--font-mono);
	color: var(--ink-muted);
	font-size: 12px;
	letter-spacing: 0.08em;
	margin: 16px 0 0;
	max-width: 280px;
	text-transform: uppercase;
}
.footer-bottom {
	display: flex; justify-content: space-between; align-items: center;
	margin-top: 40px; padding-top: 24px;
	border-top: 1px solid var(--rule-bright);
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--ink-faint);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* Backward-compat footer for non-landing pages */
.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--ink-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.footer-inner p { margin: 4px 0; color: var(--ink-muted); font-size: 12px; }
.footer-inner a { color: var(--ink-muted); }
.footer-inner a:hover { color: var(--lemon); }

/* ============================================================
   Code
   ============================================================ */
code {
	background: var(--bg-soft);
	padding: 3px 8px;
	border-radius: 0;
	font-size: 0.88em;
	font-family: var(--font-mono);
	color: var(--lemon);
	border: 1px solid var(--rule-bright);
}

/* ============================================================
   Article / docs / blog (shared)
   ============================================================ */
.article, .doc, .press { position: relative; z-index: 1; }
.article h1, .doc h1, .press h1 { font-family: var(--font-display); }

/* ============================================================
   Blog index — resource library
   ============================================================ */
.blog-hero {
	padding: 64px 0 32px;
	border-bottom: 1px solid var(--rule-bright);
}
.blog-hero .kicker {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--lemon);
	margin-bottom: 16px;
}
.blog-hero h1 {
	font-size: clamp(34px, 5vw, 52px);
	letter-spacing: -0.03em;
	margin: 0 0 14px;
	line-height: 0.95;
}
.blog-hero p {
	font-size: 17px;
	color: var(--ink-muted);
	max-width: 600px;
	margin: 0;
}

.blog-body { padding: 48px 0 80px; }

.blog-section-label {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-muted);
	display: flex; align-items: center; gap: 16px;
	margin: 0 0 24px;
}
.blog-section-label::after {
	content: '';
	flex: 1; height: 1px;
	background: var(--rule-bright);
}
.blog-section-label .count { color: var(--ink-faint); }
.blog-section-label.second { margin-top: 64px; }

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 20px;
}
.post-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-soft);
	border: 1px solid var(--rule-bright);
	padding: 24px 26px 22px;
	transition: transform 0.12s ease, border-color 0.12s ease;
	position: relative;
}
a.post-card:hover {
	transform: translateY(-3px);
	border-color: var(--lemon);
	text-decoration: none;
}
.post-card .post-meta {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin-bottom: 16px;
}
.post-card .post-cat {
	color: var(--bg);
	background: var(--lemon);
	padding: 3px 8px;
	font-weight: 600;
}
.post-card h3 {
	font-size: 21px;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
	color: var(--ink);
}
.post-card p {
	font-size: 14.5px;
	color: var(--ink-muted);
	line-height: 1.55;
	margin: 0 0 18px;
	flex: 1;
}
.post-card .read-more {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--lemon);
	display: inline-flex; align-items: center; gap: 6px;
}
a.post-card:hover .read-more .arrow { transform: translateX(4px); }
.post-card .read-more .arrow { transition: transform 0.2s; }

.post-card.upcoming {
	background: transparent;
	border-style: dashed;
	border-color: var(--rule-bright);
}
.post-card.upcoming h3 { color: var(--ink-muted); }
.post-card.upcoming .post-cat {
	background: transparent;
	color: var(--ink-faint);
	border: 1px solid var(--ink-faint);
}

.blog-cta {
	margin-top: 56px;
	padding: 32px;
	border: 2px solid var(--ink);
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; flex-wrap: wrap;
}
.blog-cta .bc-text h3 { font-size: 24px; margin: 0 0 6px; letter-spacing: -0.02em; }
.blog-cta .bc-text p { margin: 0; color: var(--ink-muted); font-size: 14px; }

/* ============================================================
   Article template (long-form posts)
   ============================================================ */
.post-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 56px;
	max-width: 1020px;
	margin: 0 auto;
	padding: 48px 28px 96px;
	position: relative;
	z-index: 1;
}
.post-toc {
	position: sticky;
	top: 96px;
	align-self: start;
	font-family: var(--font-mono);
	font-size: 12.5px;
}
.post-toc .toc-label {
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-faint);
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--rule-bright);
}
.post-toc ul { list-style: none; padding: 0; margin: 0; }
.post-toc li { margin-bottom: 4px; }
.post-toc a {
	color: var(--ink-muted);
	display: block;
	padding: 5px 0 5px 12px;
	border-left: 2px solid var(--rule-bright);
	line-height: 1.3;
	transition: color 0.15s, border-color 0.15s;
}
.post-toc a:hover { color: var(--lemon); border-left-color: var(--lemon); }

.post-article { min-width: 0; }
.post-article .post-kicker {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lemon);
	margin-bottom: 14px;
	display: flex; gap: 12px; flex-wrap: wrap;
}
.post-article .post-kicker .sep { color: var(--ink-faint); }
.post-article h1 {
	font-size: clamp(32px, 4.6vw, 50px);
	letter-spacing: -0.03em;
	line-height: 1.0;
	margin: 0 0 28px;
}
.post-article h2 {
	font-size: 27px;
	letter-spacing: -0.02em;
	margin: 48px 0 14px;
	scroll-margin-top: 90px;
}
.post-article h3 {
	font-size: 19px;
	margin: 30px 0 10px;
	color: var(--ink);
}
.post-article p, .post-article li {
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink-soft);
}
.post-article a { color: var(--lemon); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.post-article a:hover { color: var(--ink); }
.post-article ul, .post-article ol { padding-left: 22px; }
.post-article li { padding: 3px 0; }
.post-article strong { color: var(--ink); }
.post-article .lede {
	font-size: 20px;
	line-height: 1.55;
	color: var(--ink);
	margin-bottom: 28px;
}
.post-article .tldr {
	background: var(--bg-soft);
	border-left: 3px solid var(--lemon);
	padding: 16px 20px;
	margin: 28px 0;
	font-size: 15.5px;
	color: var(--ink);
	line-height: 1.6;
}
.post-article .tldr strong { color: var(--lemon); }
.post-article pre {
	background: #07070a;
	border: 1px solid var(--rule-bright);
	border-radius: var(--r);
	padding: 18px 20px;
	overflow-x: auto;
	margin: 22px 0;
	font-size: 13.5px;
	line-height: 1.6;
}
.post-article pre code {
	background: none; border: none; padding: 0;
	color: #e8e8e8;
	font-family: var(--font-mono);
}
.post-article :not(pre) > code {
	font-size: 0.88em;
	padding: 2px 6px;
}
.post-article table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 15px;
}
.post-article th, .post-article td {
	border: 1px solid var(--rule-bright);
	padding: 10px 14px;
	text-align: left;
	color: var(--ink-soft);
}
.post-article th { background: var(--bg-soft); color: var(--ink); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.post-article blockquote {
	border-left: 3px solid var(--lemon);
	margin: 24px 0;
	padding: 6px 20px;
	color: var(--ink);
	background: var(--bg-soft);
}
.post-article figure { margin: 28px 0; }
.post-article figure img {
	width: 100%;
	border: 1px solid var(--rule-bright);
	border-radius: var(--r);
}
.post-article figcaption {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--ink-faint);
	margin-top: 8px;
	text-align: center;
}
.post-article .screenshot-placeholder {
	border: 2px dashed var(--rule-bright);
	border-radius: var(--r);
	padding: 48px 24px;
	text-align: center;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--ink-faint);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 28px 0;
}
.post-cta {
	margin: 40px 0;
	padding: 28px 30px;
	border: 2px solid var(--lemon);
	background: var(--bg-soft);
}
.post-cta h3 { font-size: 22px; margin: 0 0 8px; letter-spacing: -0.02em; }
.post-cta p { font-size: 15px; color: var(--ink-muted); margin: 0 0 18px; }
.post-next {
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--rule-bright);
}
.post-next .pn-label {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-faint);
	margin-bottom: 16px;
}
.post-next ul { list-style: none; padding: 0; margin: 0; }
.post-next li { margin-bottom: 10px; }
.post-next a { font-family: var(--font-body); font-size: 16px; }

@media (max-width: 860px) {
	.post-layout { grid-template-columns: 1fr; gap: 0; padding: 32px 24px 72px; }
	.post-toc { display: none; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
	.blocked-stamp { position: static; transform: rotate(0); width: auto; max-width: none; margin-top: 40px; }
	.problems { grid-template-columns: 1fr; }
	.spec-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 8px; }
	.spec-status { text-align: left; justify-content: flex-start; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.tickets { grid-template-columns: 1fr; }
	.pricing-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.chapter-head { flex-direction: column; gap: 12px; align-items: flex-start; }
	.terms-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.chapter { padding: 64px 0 48px; }
	.steps { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
	.usecases { grid-template-columns: 1fr; }
	.site-header nav { display: none; }
	.hero { padding: 56px 0 72px; }
	.marquee-track { font-size: clamp(20px, 7vw, 36px); }
}
