/* ==========================================================================
   ReturnDeck design system
   Ported 1:1 from design_handoff_returndeck/designs/*.dc.html
   Token reference: see design_handoff_returndeck/README.md
   ========================================================================== */

:root {
	--rd-ink: #15181d;
	--rd-body: #3a4049;
	--rd-muted: #5a6470;
	--rd-muted-2: #7b8694;
	--rd-muted-3: #9aa6b4;
	--rd-muted-4: #a8b2bf;
	--rd-white: #ffffff;
	--rd-field-bg: #f6f9fb;
	--rd-field-border: #e1e9f1;
	--rd-border: #d6dee7;
	--rd-border-dotted: #cfd9e4;
	--rd-row-divider: #eef3f8;

	/* highlighter pack */
	--np: #FF2E88;  /* neon pink */
	--ng: #9DFF2E;  /* neon green */
	--nb: #00D0FF;  /* neon blue */
	--nyl: #FFF200; /* neon yellow */
}

/* ---------- page shell ---------- */

.rd-page {
	min-height: 100vh;
	background-color: #fff;
	background-image:
		linear-gradient(#e7eef5 1px, transparent 1px),
		linear-gradient(90deg, #e7eef5 1px, transparent 1px),
		linear-gradient(#d3e0ec 1px, transparent 1px),
		linear-gradient(90deg, #d3e0ec 1px, transparent 1px);
	background-size: 25px 25px, 25px 25px, 125px 125px, 125px 125px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: var(--rd-ink);
	-webkit-font-smoothing: antialiased;
}

.rd-page input {
	font-family: 'JetBrains Mono', monospace;
}

.rd-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 32px;
}

@media (max-width: 480px) {
	.rd-container { padding: 0 18px; }
}

/* ---------- nav ---------- */

.rd-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 22px;
	padding-bottom: 22px;
	flex-wrap: wrap;
	gap: 14px;
}

.rd-nav-logo-link { display: flex; align-items: center; text-decoration: none; }
.rd-nav-logo { height: 58px; width: auto; display: block; }

.rd-nav-links { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.rd-nav-link {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--rd-body);
	text-decoration: none;
}

.rd-nav-link--active {
	font-weight: 600;
	color: var(--rd-ink);
	background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--ng) 75%, transparent) 60%);
	padding: 0 3px;
}

/* ---------- header row + mode toggle ---------- */

.rd-header-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding-top: 34px;
}

.rd-kicker {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rd-muted);
}

.rd-h1 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 38px;
	font-weight: 700;
	letter-spacing: -.025em;
	margin: 8px 0 0;
}

.rd-mode-toggle {
	display: flex;
	align-items: center;
	gap: 4px;
	background: #fff;
	border: 1.5px solid var(--rd-ink);
	border-radius: 999px;
	padding: 4px;
	box-shadow: 0 3px 0 var(--rd-ink);
}

.rd-mode-tab {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--rd-muted-2);
	padding: 9px 18px;
	cursor: pointer;
	white-space: nowrap;
	border-radius: 999px;
}

.rd-mode-tab--active {
	font-weight: 600;
	color: var(--rd-ink);
	background: var(--nyl);
}

/* ---------- two-column grid ---------- */

.rd-grid-2col {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	flex-wrap: wrap;
	padding-top: 26px;
}

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

.rd-card {
	flex: 1;
	min-width: 330px;
	background: #fff;
	border: 2px solid var(--rd-ink);
	border-radius: 16px;
	box-shadow: 0 6px 0 var(--rd-ink);
	overflow: hidden;
}

.rd-card--wide { flex: 1.3; min-width: 360px; }

.rd-card-strip { display: flex; height: 6px; }
.rd-strip-seg { flex: 1; }
.rd-strip-seg--nb { background: var(--nb); }
.rd-strip-seg--ng { background: var(--ng); }
.rd-strip-seg--np { background: var(--np); }
.rd-strip-seg--nyl { background: var(--nyl); }

.rd-card-body { padding: 24px 26px; }

.rd-card-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 18px;
	font-weight: 700;
}

.rd-card-sub { font-size: 13px; color: var(--rd-muted-2); margin-top: 3px; }

/* ---------- source figure fields ---------- */

.rd-field-group { margin-top: 20px; display: flex; flex-direction: column; gap: 13px; }

.rd-field-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.rd-field-label { font-size: 14px; color: #2a2f37; }
.rd-field-note { color: var(--rd-muted-3); }

.rd-input-wrap { position: relative; }

.rd-currency-sign {
	position: absolute;
	left: 11px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--rd-muted-3);
	font-size: 13px;
	pointer-events: none;
}

.rd-field-input {
	width: 150px;
	text-align: right;
	font-size: 14px;
	color: var(--rd-ink);
	background: var(--rd-field-bg);
	border: 1.5px solid var(--rd-field-border);
	border-radius: 8px;
	padding: 9px 12px 9px 22px;
	outline: none;
}

.rd-field-input:focus { border-color: var(--nb); background: #fff; }

.rd-field-divider { height: 1px; background: var(--rd-row-divider); margin: 4px 0; }

.rd-field-section-label {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rd-muted-3);
}

.rd-field-note-block { font-size: 12px; color: var(--rd-muted-3); line-height: 1.5; }

/* ---------- answer rows ---------- */

.rd-answer-block { margin-top: 20px; }
.rd-answer-block--bordered {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px dotted var(--rd-border-dotted);
}

.rd-answer-row { display: flex; align-items: center; gap: 14px; }

.rd-answer-label { flex: 1; display: flex; align-items: center; gap: 8px; }
.rd-answer-title { font-size: 14.5px; font-weight: 600; color: var(--rd-ink); }
.rd-answer-ref {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10.5px;
	color: var(--rd-muted-4);
	margin-top: 1px;
}

.rd-hint-btn {
	width: 19px;
	height: 19px;
	border-radius: 50%;
	border: 1.5px solid #c2cdd9;
	color: var(--rd-muted-2);
	font-family: 'Caveat', cursive;
	font-weight: 700;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}

.rd-answer-input-wrap { --bd: var(--rd-border); --gl: transparent; }

.rd-answer-input {
	width: 180px;
	text-align: right;
	font-size: 15px;
	color: var(--rd-ink);
	background: #fff;
	border: 2px solid var(--bd);
	border-radius: 9px;
	padding: 11px 14px 11px 26px;
	box-shadow: 0 0 0 4px var(--gl);
	outline: none;
}

.rd-tick {
	width: 24px;
	display: flex;
	justify-content: center;
	flex-shrink: 0;
}

.rd-tick-ok, .rd-tick-err {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
}

.rd-tick-ok { background: var(--ng); color: var(--rd-ink); }
.rd-tick-err { border: 2px solid var(--np); color: var(--np); font-size: 12px; }

/* ---------- post-it hints ---------- */

.rd-postit {
	margin-top: 10px;
	padding: 13px 16px;
	box-shadow: 0 8px 20px rgba(20, 30, 48, .16);
	font-family: 'Caveat', cursive;
	font-size: 18px;
	line-height: 1.3;
	max-width: 430px;
}

.rd-postit--yellow { background: var(--nyl); color: #2a2410; }
.rd-postit--blue { background: var(--nb); color: #0a2e36; }

/* ---------- status / actions bar ---------- */

.rd-status-bar {
	margin-top: 24px;
	background: var(--rd-ink);
	border-radius: 14px;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.rd-status-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.rd-status-kicker {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rd-muted-2);
}

.rd-status-score {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	margin-top: 2px;
}

.rd-progress-track {
	width: 160px;
	height: 9px;
	background: #2a2f37;
	border-radius: 99px;
	overflow: hidden;
}

.rd-progress-fill {
	height: 100%;
	background: var(--ng);
	border-radius: 99px;
	transition: width .25s;
}

.rd-status-allok { font-family: 'Caveat', cursive; font-size: 22px; color: var(--ng); }

.rd-status-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.rd-btn {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	font-size: 14px;
	padding: 12px 22px;
	border-radius: 9px;
	cursor: pointer;
	white-space: nowrap;
}

.rd-btn--primary { color: var(--rd-ink); background: var(--nyl); }
.rd-btn--outline { color: #fff; background: transparent; border: 1.5px solid #3a4049; }
.rd-btn--text { font-weight: 500; color: #aeb8c4; padding: 12px 14px; background: transparent; }

/* ---------- worked solution ---------- */

.rd-solution-card { margin-top: 20px; }
.rd-solution-card .rd-card-body { padding: 26px 30px; }

.rd-sol-block { margin-top: 16px; max-width: 520px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }

.rd-sol-row {
	display: flex;
	justify-content: space-between;
	padding-bottom: 9px;
	border-bottom: 1px dotted var(--rd-border-dotted);
}

.rd-sol-row--bold { padding: 4px 0; border-bottom: none; font-weight: 700; }
.rd-sol-row--muted { color: var(--rd-muted-2); font-size: 13px; padding-top: 8px; border-top: 1px dotted var(--rd-border-dotted); border-bottom: none; }

.rd-sol-label { color: #2a2f37; }
.rd-sol-row--bold .rd-sol-label { font-weight: 700; color: var(--rd-ink); }
.rd-sol-note { color: var(--rd-muted-3); font-size: 12px; }
.rd-sol-tapered { color: var(--np); font-size: 12px; }

.rd-sol-value { font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.rd-sol-row--bold .rd-sol-value { font-weight: 700; }

.rd-highlight-green { background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--ng) 75%, transparent) 55%); padding: 0 3px; }
.rd-highlight-yellow { background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--nyl) 80%, transparent) 55%); padding: 0 3px; }
.rd-highlight-blue { background: linear-gradient(180deg, transparent 58%, color-mix(in srgb, var(--nb) 65%, transparent) 58%); padding: 0 3px; }

.rd-sol-ratelabel {
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rd-muted-3);
}

.rd-sol-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nb); }

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

.rd-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	padding: 34px 0 50px;
}

.rd-footer-logo-link { display: flex; align-items: center; text-decoration: none; }
.rd-footer-logo { height: 40px; width: auto; display: block; }
.rd-footer-text { font-size: 12.5px; color: var(--rd-muted-2); }

@media (max-width: 480px) {
	.rd-h1 { font-size: 30px; }
	.rd-answer-input { width: 130px; }
	.rd-field-input { width: 120px; }
}

/* ---- sub-toggle (VAT scheme / SA region) ---- */

.rd-subtoggle-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.rd-subtoggle { display: flex; align-items: center; gap: 3px; background: #fff; border: 1.5px solid var(--rd-ink); border-radius: 999px; padding: 3px; }
.rd-subtoggle-tab { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 500; color: var(--rd-muted-2); padding: 7px 14px; cursor: pointer; border-radius: 999px; white-space: nowrap; }
.rd-subtoggle-tab--active { font-weight: 600; color: var(--rd-ink); background: var(--nb); }

/* ---- checkbox row (advanced toggles, limited cost, first year) ---- */

.rd-check-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; cursor: pointer; }
.rd-check-box { width: 18px; height: 18px; border: 1.5px solid var(--rd-ink); border-radius: 4px; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.rd-check-box--on { background: var(--ng); }
.rd-check-label { font-size: 13.5px; color: #2a2f37; line-height: 1.4; }
.rd-check-sub { font-size: 12px; color: var(--rd-muted-2); margin-top: 2px; }

/* ---- inline info note (NI-only boxes, sector rate reference) ---- */

.rd-info-note { font-size: 12px; color: var(--rd-muted-2); line-height: 1.45; background: var(--rd-field-bg); border: 1px solid var(--rd-field-border); border-radius: 8px; padding: 10px 12px; margin-top: 4px; }

.rd-section-divider-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-muted-3); margin-top: 16px; margin-bottom: 4px; }

/* ---- collapsible sections (CT600's page-by-page structure) ---- */

.rd-collapsible { border: 1.5px solid var(--rd-border); border-radius: 10px; margin-top: 14px; overflow: hidden; }
.rd-collapsible:first-child { margin-top: 0; }

.rd-collapsible-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 16px;
	cursor: pointer;
	background: var(--rd-field-bg);
}

.rd-collapsible--open .rd-collapsible-header { background: #fff; border-bottom: 1px solid var(--rd-row-divider); }

.rd-collapsible-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: var(--rd-ink); }
.rd-collapsible-subtitle { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--rd-muted-3); margin-top: 2px; }

.rd-collapsible-chevron {
	width: 22px; height: 22px;
	border: 1.5px solid var(--rd-border);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 700; color: var(--rd-muted-2);
	flex-shrink: 0;
}

.rd-collapsible-body { padding: 16px; }
.rd-collapsible-body .rd-field-group { margin-top: 0; }

/* ==========================================================================
   Marketing pages: Home / How it works / Tax rates
   ========================================================================== */

.rd-section { max-width: 1240px; margin: 0 auto; padding: 46px 32px 10px; }
.rd-nav-cta { padding: 10px 20px; background: var(--nyl); border-radius: 7px; border: 1.5px solid var(--rd-ink); box-shadow: 0 3px 0 var(--rd-ink); font-weight: 600; font-size: 14px; }

.rd-section-kicker-center {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rd-muted-3);
	text-align: center;
}

.rd-section-h2-center {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -.02em;
	text-align: center;
	margin: 0;
}

.rd-section-eyebrow { display: flex; align-items: center; gap: 11px; }
.rd-section-eyebrow-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ---- hero ---- */

.rd-hero { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; padding: 54px 32px 30px; }
.rd-hero-left { flex: 1; min-width: 380px; }

.rd-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rd-muted);
	border: 1px solid #d3deea;
	background: #fff;
	padding: 7px 13px;
	border-radius: 999px;
}

.rd-badge-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.rd-hero-h1 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(32px, 5vw, 58px);
	line-height: 1.06;
	font-weight: 700;
	letter-spacing: -.025em;
	margin: 22px 0 0;
}

.rd-hero-p { font-size: 17px; line-height: 1.55; color: var(--rd-body); max-width: 520px; margin: 22px 0 0; }
.rd-hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.rd-hero-stats { display: flex; gap: 20px; margin-top: 26px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--rd-muted); flex-wrap: wrap; }

.rd-btn-lg {
	text-decoration: none;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: var(--rd-ink);
	padding: 15px 28px;
	border-radius: 9px;
	border: 1.5px solid var(--rd-ink);
	white-space: nowrap;
	display: inline-block;
}

.rd-btn-lg--green { background: var(--ng); box-shadow: 0 4px 0 var(--rd-ink); }
.rd-btn-lg--white { background: #fff; box-shadow: 0 4px 0 #c9d3df; }
.rd-btn-lg--dark { color: #fff; background: transparent; border: 1.5px solid #3a4049; box-shadow: none; }

/* ---- hero worksheet preview ---- */

.rd-hero-right { flex: 1; min-width: 380px; position: relative; padding: 30px 10px; }

.rd-worksheet-card {
	background: #fff;
	border: 2.5px solid var(--rd-ink);
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(20, 30, 48, .16);
	overflow: hidden;
	transform: rotate(-1.5deg);
}

.rd-worksheet-body { padding: 20px 22px; }
.rd-worksheet-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; }
.rd-worksheet-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.rd-worksheet-row { display: flex; align-items: center; justify-content: space-between; }
.rd-worksheet-label { font-size: 13.5px; color: #2a2f37; }
.rd-worksheet-val-wrap { display: flex; align-items: center; gap: 8px; }

.rd-worksheet-val {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13.5px;
	background: var(--rd-field-bg);
	border: 1px solid var(--rd-field-border);
	border-radius: 4px;
	padding: 6px 10px;
	width: 120px;
	text-align: right;
}

.rd-worksheet-val--err { background: #fff; border: 1.5px solid var(--np); }

.rd-mini-tick { width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.rd-mini-tick--ok { background: var(--ng); color: var(--rd-ink); }
.rd-mini-tick--err { border: 2px solid var(--np); color: var(--np); font-size: 10px; }
.rd-mini-tick--blank { width: 17px; height: 17px; }

.rd-worksheet-result {
	margin-top: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--rd-ink);
	border-radius: 6px;
	border-left: 5px solid var(--ng);
	padding: 11px 14px;
}

.rd-worksheet-result-label { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: #fff; }
.rd-worksheet-result-val { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 700; color: var(--ng); }

.rd-floating-postit {
	position: absolute;
	padding: 13px 15px;
	box-shadow: 0 8px 20px rgba(20, 30, 48, .18);
	font-family: 'Caveat', cursive;
	font-size: 18px;
	line-height: 1.2;
}

/* ---- feature / recap card grids ---- */

.rd-feature-grid, .rd-recap-grid { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.rd-feature-card, .rd-recap-card {
	flex: 1;
	min-width: 230px;
	background: #fff;
	border: 1.5px solid var(--rd-ink);
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 0 var(--rd-ink);
}

.rd-feature-icon {
	width: 30px;
	height: 30px;
	border-radius: 7px;
	border: 1.5px solid var(--rd-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.rd-feature-title, .rd-recap-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; margin-top: 16px; }
.rd-feature-desc, .rd-recap-desc { font-size: 14px; line-height: 1.5; color: var(--rd-body); margin-top: 8px; }
.rd-recap-title { font-size: 16px; margin-top: 0; }
.rd-recap-desc { font-size: 13.5px; margin-top: 7px; }

/* ---- "pick a return" path cards ---- */

.rd-path-grid { display: flex; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.rd-path-card {
	flex: 1;
	min-width: 340px;
	background: #fff;
	border: 2.5px solid var(--rd-ink);
	border-radius: 16px;
	padding: 30px;
	box-shadow: 0 8px 0 var(--rd-ink);
	position: relative;
	overflow: hidden;
}

.rd-path-strip { position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.rd-path-kicker { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-muted); }
.rd-path-title { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; }
.rd-path-desc { font-size: 14.5px; line-height: 1.55; color: var(--rd-body); margin-top: 12px; }
.rd-path-list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.rd-path-list-item { font-size: 13.5px; color: #2a2f37; display: flex; gap: 9px; align-items: center; }
.rd-path-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.rd-path-cta {
	margin-top: 24px;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: var(--rd-ink);
	padding: 13px 24px;
	border-radius: 9px;
	border: 1.5px solid var(--rd-ink);
	box-shadow: 0 3px 0 var(--rd-ink);
	display: inline-block;
	white-space: nowrap;
	text-decoration: none;
}

/* ---- numbered step rows (How it works) ---- */

.rd-steps { display: flex; flex-direction: column; }
.rd-step-row { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; padding: 26px 0; }
.rd-step-row--rev { flex-direction: row-reverse; }
.rd-step-col { flex: 1; min-width: 360px; }
.rd-step-head { display: flex; align-items: center; gap: 14px; }

.rd-step-num {
	font-family: 'JetBrains Mono', monospace;
	font-size: 14px;
	font-weight: 700;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--rd-ink);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.rd-step-kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rd-muted-3); }
.rd-step-title { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin: 18px 0 0; }
.rd-step-desc { font-size: 15.5px; line-height: 1.6; color: var(--rd-body); margin: 12px 0 0; max-width: 480px; }
.rd-step-legend { display: flex; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.rd-step-legend-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--rd-body); }

.rd-mock-card { background: #fff; border: 2px solid var(--rd-ink); border-radius: 14px; box-shadow: 0 8px 0 var(--rd-ink); padding: 22px; }
.rd-mock-split { display: flex; gap: 16px; }
.rd-mock-tile { flex: 1; border: 1.5px solid var(--rd-ink); border-radius: 10px; padding: 18px; position: relative; overflow: hidden; }
.rd-mock-tile-strip { position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.rd-mock-tile-kicker { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-muted); }
.rd-mock-tile-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; margin-top: 6px; }
.rd-mock-tile-sub { font-size: 12.5px; color: var(--rd-muted-2); margin-top: 6px; }
.rd-mock-rows { display: flex; flex-direction: column; gap: 12px; }
.rd-mock-solution-row { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px dotted var(--rd-border-dotted); font-size: 13.5px; }
.rd-mock-solution-row--total { padding-top: 4px; border-bottom: none; }

/* ---- CTA band ---- */

.rd-cta-band {
	background: var(--rd-ink);
	border-radius: 18px;
	padding: 48px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
	margin: 54px auto 0;
	max-width: 1240px;
}

.rd-cta-stripe { display: flex; height: 100%; position: absolute; top: 0; left: 0; bottom: 0; width: 8px; flex-direction: column; }
.rd-cta-title { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.rd-cta-sub { font-size: 15px; color: #aeb8c4; margin-top: 8px; }
.rd-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- stat cards (Tax rates) ---- */

.rd-stat-grid { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.rd-stat-card {
	flex: 1;
	min-width: 200px;
	background: #fff;
	border: 2px solid var(--rd-ink);
	border-radius: 14px;
	padding: 26px;
	box-shadow: 0 6px 0 var(--rd-ink);
	position: relative;
	overflow: hidden;
}

.rd-stat-strip { position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.rd-stat-kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-muted-2); }
.rd-stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 52px; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; }
.rd-stat-num--sm { font-size: 46px; }
.rd-stat-desc { font-size: 13.5px; line-height: 1.5; color: var(--rd-body); margin-top: 6px; }

/* ---- marginal-relief band visual ---- */

.rd-band-visual { margin-top: 22px; background: #fff; border: 1.5px solid var(--rd-ink); border-radius: 14px; padding: 24px 26px; box-shadow: 0 4px 0 var(--rd-ink); }
.rd-band-track { display: flex; height: 16px; border-radius: 6px; overflow: hidden; border: 1.5px solid var(--rd-ink); }
.rd-band-labels { display: flex; justify-content: space-between; margin-top: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--rd-muted); }
.rd-band-sublabels { display: flex; justify-content: space-between; margin-top: 2px; font-size: 12.5px; color: #2a2f37; font-weight: 600; }

/* ---- formula block ---- */

.rd-formula-row { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; align-items: stretch; }
.rd-formula-block { flex: 2; min-width: 340px; background: var(--rd-ink); border-radius: 14px; padding: 26px; position: relative; overflow: hidden; }
.rd-formula-edge { position: absolute; top: 0; left: 0; bottom: 0; width: 6px; }
.rd-formula-kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-muted-2); }
.rd-formula-text { font-family: 'JetBrains Mono', monospace; font-size: 16px; line-height: 1.7; color: #fff; margin-top: 14px; }
.rd-formula-note { font-size: 13px; color: #aeb8c4; margin-top: 14px; line-height: 1.5; max-width: 460px; }
.rd-formula-postit-wrap { flex: 1; min-width: 240px; display: flex; align-items: center; justify-content: center; }

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

.rd-threshold-grid { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.rd-threshold-card { flex: 1; min-width: 260px; background: #fff; border: 1.5px solid var(--rd-ink); border-radius: 12px; padding: 22px; box-shadow: 0 4px 0 var(--rd-ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rd-threshold-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; }
.rd-threshold-desc { font-size: 13px; color: var(--rd-body); margin-top: 4px; }
.rd-threshold-val { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; white-space: nowrap; }

/* ---- deadlines list ---- */

.rd-deadlines { margin-top: 22px; background: #fff; border: 1.5px solid var(--rd-ink); border-radius: 14px; box-shadow: 0 4px 0 var(--rd-ink); overflow: hidden; }
.rd-deadline-row { display: flex; align-items: center; padding: 18px 24px; border-bottom: 1px dotted var(--rd-border-dotted); flex-wrap: wrap; gap: 6px; }
.rd-deadline-row:last-child { border-bottom: none; }
.rd-deadline-label { flex: 1; font-size: 14.5px; color: #2a2f37; }
.rd-deadline-val { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; font-weight: 500; color: var(--rd-ink); white-space: nowrap; }

/* ---- capital allowance cards ---- */

.rd-allowance-grid { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.rd-allowance-card { flex: 1; min-width: 220px; background: #fff; border: 1.5px solid var(--rd-ink); border-radius: 12px; padding: 22px; box-shadow: 0 4px 0 var(--rd-ink); }
.rd-allowance-num { font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; }
.rd-allowance-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; margin-top: 6px; }
.rd-allowance-desc { font-size: 13px; color: var(--rd-body); margin-top: 6px; line-height: 1.5; }

.rd-fine-print { margin-top: 14px; font-size: 12.5px; color: var(--rd-muted-3); line-height: 1.5; }

@media (max-width: 480px) {
	.rd-hero { padding-top: 36px; gap: 30px; }
	.rd-step-row, .rd-step-row--rev { flex-direction: column; }
	.rd-cta-band { padding: 32px 24px; }
}
