/* ==========================================================================
   HitRadar — design system
   Ported from design-idea/*.dc.html (inline styles extracted to tokens).
   ========================================================================== */

:root {
	/* Ink */
	--hr-ink: #171a24;
	--hr-muted: #5d6577;
	--hr-faint: #8a93a6;

	/* Ground */
	--hr-bg: #f7f8fb;
	--hr-surface: #ffffff;
	--hr-tint: #eef0f6;

	/* Lines */
	--hr-border: #e3e6ef;
	--hr-border-strong: #c9cedb;

	/* Accent */
	--hr-accent: #6d28d9;
	--hr-accent-alt: #7c3aed;
	--hr-accent-wash: #f3edfc;
	--hr-accent-fill: #ede4fb;

	/* Status */
	--hr-danger: #dc2626;
	--hr-danger-wash: #fceeee;
	--hr-danger-line: #f0d4d4;
	--hr-caution: #b45309;
	--hr-success: #16a34a;
	--hr-success-wash: #f2faf4;

	/* Grade scale for the analysis panel. The bright amber is graphics-only —
	   label text uses --hr-caution, which clears AA on white. */
	--hr-blue: #4f6bff;
	--hr-violet: #a855f7;
	--hr-warn: #f59e0b;
	--hr-warn-wash: #fff7ed;
	--hr-warn-line: #fde3c2;

	/* Gradient */
	--hr-grad: linear-gradient(90deg, #4338f0, #9333ea);
	--hr-grad-hover: linear-gradient(90deg, #5347f5, #a855f7);

	/* Type */
	--hr-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
	--hr-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	/* Metrics */
	--hr-shell: 1200px;
	--hr-shell-mid: 900px;
	--hr-shell-read: 840px;
	--hr-shell-narrow: 640px;
	--hr-gutter: 32px;
	--hr-section-y: 110px;
	--hr-section-y-sm: 100px;
	--hr-radius: 10px;
	--hr-radius-sm: 6px;
	--hr-header-h: 64px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--hr-header-h) + 16px);
}

body {
	margin: 0;
	padding: 0;
	background: var(--hr-bg);
	color: var(--hr-ink);
	font-family: var(--hr-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: var(--hr-ink);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--hr-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--hr-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

img {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4 {
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
}

p {
	margin: 0;
}

input,
select,
textarea,
button {
	font-family: inherit;
}

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

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.hr-page {
	min-height: 100vh;
	background: var(--hr-bg);
	display: flex;
	flex-direction: column;
}

.hr-main {
	flex: 1;
}

.hr-shell {
	max-width: var(--hr-shell);
	margin: 0 auto;
	padding-left: var(--hr-gutter);
	padding-right: var(--hr-gutter);
	width: 100%;
}

.hr-shell--mid {
	max-width: var(--hr-shell-mid);
}

.hr-shell--read {
	max-width: var(--hr-shell-read);
}

.hr-shell--narrow {
	max-width: var(--hr-shell-narrow);
}

.hr-section {
	border-bottom: 1px solid var(--hr-border);
}

.hr-section > .hr-shell {
	padding-top: var(--hr-section-y);
	padding-bottom: var(--hr-section-y);
}

.hr-section--sm > .hr-shell {
	padding-top: var(--hr-section-y-sm);
	padding-bottom: var(--hr-section-y-sm);
}

.hr-section--flush {
	border-bottom: 0;
}

.hr-center {
	text-align: center;
}

/* --------------------------------------------------------------------------
   Type scale
   -------------------------------------------------------------------------- */

.hr-eyebrow {
	font-family: var(--hr-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	color: var(--hr-accent);
	margin-bottom: 20px;
	text-transform: uppercase;
}

.hr-h1 {
	font-size: clamp(2.75rem, 5vw, 4.25rem);
	line-height: 1.04;
	letter-spacing: -0.03em;
	font-weight: 800;
	margin: 0 0 22px;
}

.hr-h1--sm {
	font-size: clamp(2.4rem, 4.5vw, 3.5rem);
	line-height: 1.08;
}

.hr-h2 {
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	letter-spacing: -0.02em;
	font-weight: 700;
	margin: 0 0 18px;
}

.hr-h2--lg {
	font-size: clamp(2rem, 3.5vw, 2.9rem);
}

.hr-h2--sm {
	font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.hr-h3 {
	font-size: 19px;
	margin: 0 0 12px;
}

.hr-lede {
	font-size: 17.5px;
	line-height: 1.65;
	color: var(--hr-muted);
	max-width: 62ch;
	margin: 0 0 32px;
}

.hr-body {
	font-size: 17px;
	line-height: 1.65;
	color: var(--hr-muted);
	max-width: 68ch;
}

.hr-note {
	font-size: 13px;
	color: var(--hr-muted);
	margin: 14px 0 0;
}

.hr-caption {
	font-size: 13px;
	color: var(--hr-muted);
}

/* Section label — mono, uppercase, used across the report page. */
.hr-label {
	font-family: var(--hr-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	color: var(--hr-muted);
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 18px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.hr-btn {
	display: inline-block;
	background: var(--hr-grad);
	color: #ffffff;
	border: none;
	border-radius: var(--hr-radius);
	padding: 13px 24px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.hr-btn:hover {
	background: var(--hr-grad-hover);
	color: #ffffff;
}

.hr-btn[disabled],
.hr-btn.is-busy {
	opacity: 0.6;
	cursor: progress;
}

.hr-btn--sm {
	padding: 9px 18px;
	font-weight: 600;
	white-space: nowrap;
}

.hr-btn--lg {
	padding: 14px 28px;
	font-size: 16px;
}

.hr-btn--block {
	display: block;
	width: 100%;
}

.hr-btn--ghost {
	background: transparent;
	border: 1px solid var(--hr-accent);
	color: var(--hr-accent);
	font-weight: 600;
	padding: 12px 22px;
}

.hr-btn--ghost:hover {
	background: var(--hr-grad);
	border-color: transparent;
	color: #ffffff;
}

.hr-link-quiet {
	font-size: 14px;
	color: var(--hr-muted);
	border-bottom: 1px solid var(--hr-border);
}

.hr-link-quiet:hover {
	color: var(--hr-accent);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.hr-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--hr-border);
}

.hr-header--static {
	position: static;
	background: transparent;
	backdrop-filter: none;
}

.hr-header__bar {
	height: var(--hr-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.hr-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 17px;
	letter-spacing: -0.01em;
	flex-shrink: 0;
}

.hr-brand img {
	height: 38px;
	width: auto;
	display: block;
}

.hr-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 15px;
}

.hr-nav a {
	color: var(--hr-muted);
}

.hr-nav a:hover,
.hr-nav .current-menu-item > a,
.hr-nav .hr-nav__link.is-current {
	color: var(--hr-ink);
}

.hr-nav ul {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hr-nav .hr-btn,
.hr-nav a.hr-btn:hover {
	color: #ffffff;
}

/* Mobile menu toggle */
.hr-nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius-sm);
	padding: 8px 10px;
	cursor: pointer;
	color: var(--hr-ink);
	line-height: 0;
}

.hr-nav-toggle svg {
	width: 18px;
	height: 18px;
	display: block;
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.hr-card {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 26px;
}

.hr-card--pad {
	padding: 30px;
}

.hr-card h3 {
	font-size: 17px;
	margin: 0 0 10px;
}

.hr-card p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--hr-muted);
	margin: 0;
}

.hr-grid {
	display: grid;
	gap: 20px;
}

/*
 * Grid and flex children default to min-width:auto, so a single nowrap child
 * can force a track wider than the viewport. This is what pushed the home page
 * into horizontal scroll at 390px.
 */
.hr-grid > *,
.hr-split > *,
.hr-compare > *,
.hr-plans > *,
.hr-contact > *,
.hr-form__row > * {
	min-width: 0;
}

.hr-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.hr-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.hr-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.hr-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.hr-split--hero {
	grid-template-columns: 1.1fr 1fr;
}

/* Numbered / ruled steps */
.hr-step {
	border-top: 1px solid var(--hr-border);
	padding-top: 24px;
}

.hr-step__num {
	font-family: var(--hr-mono);
	font-size: 13px;
	color: var(--hr-muted);
	margin-bottom: 12px;
}

.hr-step p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--hr-muted);
	margin: 0;
}

.hr-step--tight h3 {
	font-size: 16px;
	margin: 0 0 8px;
}

.hr-step--tight p {
	font-size: 14.5px;
	line-height: 1.6;
}

/* Pillar card with a footer caption */
.hr-pillar {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hr-pillar h3 {
	font-size: 20px;
	margin: 0;
}

.hr-pillar p {
	flex: 1;
	font-size: 15px;
	line-height: 1.65;
	color: var(--hr-muted);
	margin: 0;
}

.hr-pillar__class {
	font-family: var(--hr-mono);
	font-size: 12px;
	color: var(--hr-accent);
}

.hr-pillar__class--caution {
	color: var(--hr-caution);
}

/* Ruled list (honesty section, commitments) */
.hr-ruled {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0;
}

.hr-ruled > li {
	border-top: 1px solid var(--hr-border);
	padding: 20px 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--hr-muted);
}

.hr-ruled > li:last-child {
	border-bottom: 1px solid var(--hr-border);
}

.hr-ruled strong {
	color: var(--hr-ink);
}

.hr-bullets {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	display: grid;
	gap: 14px;
}

.hr-bullets > li {
	border-left: 1px solid var(--hr-border);
	padding-left: 18px;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--hr-muted);
}

/* --------------------------------------------------------------------------
   Factor readout (score bars)
   -------------------------------------------------------------------------- */

.hr-readout {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 28px;
}

.hr-readout__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 22px;
	gap: 14px;
}

.hr-readout__file {
	font-family: var(--hr-mono);
	font-size: 12px;
	color: var(--hr-muted);
	letter-spacing: 0.08em;
}

.hr-factors {
	display: grid;
	gap: 14px;
}

.hr-factor__top {
	display: flex;
	justify-content: space-between;
	font-family: var(--hr-mono);
	font-size: 12px;
	margin-bottom: 6px;
}

.hr-factor__name {
	color: var(--hr-muted);
}

.hr-factor__val {
	color: var(--hr-ink);
}

.hr-track {
	height: 6px;
	background: var(--hr-border);
	border-radius: 3px;
	overflow: hidden;
}

.hr-track__fill {
	height: 100%;
	background: var(--hr-accent-alt);
	transform-origin: left;
	animation: hr-grow 0.9s ease both;
}

.hr-factor--danger .hr-factor__name,
.hr-factor--danger .hr-factor__val {
	color: var(--hr-danger);
	font-weight: 700;
}

.hr-factor--danger .hr-track__fill {
	background: var(--hr-danger);
}

.hr-factor--caution .hr-track__fill {
	background: var(--hr-caution);
}

.hr-factor--good .hr-track__fill {
	background: var(--hr-success);
}

.hr-readout__foot {
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--hr-muted);
	border-top: 1px solid var(--hr-border);
	margin: 22px 0 0;
	padding-top: 16px;
}

/* Row variant used on the report page: label | bar | value */
.hr-factor-row {
	display: grid;
	grid-template-columns: 130px 1fr 48px;
	align-items: center;
	gap: 14px;
}

.hr-factor-row .hr-track {
	height: 8px;
	border-radius: 4px;
}

.hr-factor-row .hr-factor__name,
.hr-factor-row .hr-factor__val {
	font-family: var(--hr-mono);
	font-size: 12px;
}

.hr-factor-row .hr-factor__val {
	text-align: right;
}

.hr-factor-row--sm {
	grid-template-columns: 110px 1fr 44px;
}

.hr-factor-row--sm .hr-track {
	height: 6px;
	border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Hero figure
   -------------------------------------------------------------------------- */

/*
 * The artwork carries its own card edges and shadow on a transparent ground,
 * so it needs no frame of its own — just room to breathe.
 */
.hr-hero-figure {
	display: block;
	max-width: 560px;
	margin-left: auto;
}

.hr-hero-figure picture,
.hr-hero-figure img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 900px) {
	.hr-hero-figure {
		max-width: 520px;
		margin-left: 0;
		margin-right: auto;
	}
}

/* --------------------------------------------------------------------------
   Chips / badges
   -------------------------------------------------------------------------- */

.hr-chip {
	display: inline-block;
	font-family: var(--hr-mono);
	font-size: 12px;
	font-weight: 700;
	border-radius: var(--hr-radius-sm);
	padding: 4px 10px;
	border: 1px solid var(--hr-border);
	color: var(--hr-muted);
	white-space: nowrap;
}

.hr-chip--revise {
	color: var(--hr-danger);
	border-color: var(--hr-danger);
}

.hr-chip--revise-solid {
	color: #ffffff;
	background: var(--hr-danger);
	border-color: var(--hr-danger);
	font-size: 11px;
	padding: 5px 11px;
}

.hr-chip--accent {
	color: var(--hr-accent);
	border-color: var(--hr-accent);
}

.hr-chip--quiet {
	font-size: 11px;
	padding: 4px 9px;
}

.hr-chip--sev {
	font-size: 11px;
	padding: 3px 8px;
	flex-shrink: 0;
}

.hr-chip--block {
	color: var(--hr-danger);
	border-color: var(--hr-danger);
}

.hr-chip--warn {
	color: var(--hr-caution);
	border-color: var(--hr-caution);
}

.hr-chip--info {
	color: var(--hr-muted);
	border-color: var(--hr-border);
}

/* Redaction blocks in the sample report */
.hr-redacted {
	background: var(--hr-border-strong);
	color: transparent;
	border-radius: 3px;
	user-select: none;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.hr-form {
	display: grid;
	gap: 14px;
	text-align: left;
}

.hr-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.hr-field {
	display: grid;
	gap: 6px;
	font-size: 13px;
	color: var(--hr-muted);
}

/*
 * The label text and its asterisk must be one grid item, or the grid puts the
 * asterisk on its own row.
 */
.hr-field__label {
	display: block;
}

.hr-input,
.hr-select,
.hr-textarea {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 13px 16px;
	color: var(--hr-ink);
	font-size: 15px;
	width: 100%;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hr-select {
	padding: 13px 12px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235d6577' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.hr-textarea {
	resize: vertical;
	min-height: 92px;
}

.hr-input:focus,
.hr-select:focus,
.hr-textarea:focus {
	border-color: var(--hr-accent);
	box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.3);
	outline: none;
}

.hr-input[aria-invalid="true"],
.hr-select[aria-invalid="true"],
.hr-textarea[aria-invalid="true"] {
	border-color: var(--hr-danger);
}

.hr-input::placeholder,
.hr-textarea::placeholder {
	color: var(--hr-faint);
}

.hr-form__submit {
	margin-top: 6px;
	padding: 14px;
}

.hr-form__fineprint {
	font-size: 12.5px;
	color: var(--hr-muted);
	margin: 0;
	text-align: center;
}

/* Inline (hero) form: email + button on one line */
.hr-form--inline {
	display: flex;
	gap: 10px;
	max-width: 460px;
}

.hr-form--inline .hr-input {
	flex: 1;
}

.hr-form--inline .hr-btn {
	padding: 13px 22px;
	white-space: nowrap;
}

/* Honeypot — visually gone, still focusable-hidden from AT */
.hr-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Success / error panels */
.hr-notice {
	border: 1px solid var(--hr-accent);
	border-radius: var(--hr-radius);
	padding: 14px 18px;
	font-size: 15px;
	color: var(--hr-accent);
	font-family: var(--hr-mono);
	line-height: 1.5;
	max-width: 460px;
}

.hr-notice--block {
	max-width: none;
	padding: 18px 22px;
}

.hr-notice--error {
	border-color: var(--hr-danger);
	color: var(--hr-danger);
	background: var(--hr-danger-wash);
	font-family: var(--hr-sans);
}

.hr-field__error {
	font-size: 12.5px;
	color: var(--hr-danger);
}

.hr-required {
	color: var(--hr-accent);
}

/* --------------------------------------------------------------------------
   FAQ / details
   -------------------------------------------------------------------------- */

.hr-faq {
	display: grid;
	gap: 0;
}

.hr-faq details {
	border-top: 1px solid var(--hr-border);
}

.hr-faq details:last-child {
	border-bottom: 1px solid var(--hr-border);
}

.hr-faq summary {
	cursor: pointer;
	padding: 20px 0;
	font-size: 16.5px;
	font-weight: 600;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.hr-faq summary::-webkit-details-marker,
details summary::-webkit-details-marker {
	display: none;
}

.hr-faq summary::after {
	content: "+";
	font-family: var(--hr-mono);
	font-size: 18px;
	color: var(--hr-accent);
	flex-shrink: 0;
	line-height: 1;
}

.hr-faq details[open] summary::after {
	content: "\2212";
}

.hr-faq p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--hr-muted);
	margin: 0;
	padding: 0 0 22px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.hr-footer__inner {
	padding-top: 56px;
	padding-bottom: 56px;
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	justify-content: space-between;
	align-items: flex-start;
}

.hr-footer__about {
	max-width: 340px;
}

.hr-footer__about img {
	height: 30px;
	width: auto;
	display: block;
	margin-bottom: 12px;
}

.hr-footer__about p {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--hr-muted);
	margin: 0 0 10px;
}

.hr-footer__built {
	font-family: var(--hr-mono);
	font-size: 11.5px;
	color: var(--hr-muted);
	margin: 0;
}

.hr-footer__nav {
	display: flex;
	gap: 40px;
	font-size: 14px;
}

.hr-footer__nav ul {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hr-footer__nav a {
	color: var(--hr-muted);
}

.hr-footer__contact {
	font-size: 13px;
	color: var(--hr-muted);
	text-align: right;
}

.hr-footer__contact a {
	color: var(--hr-muted);
	font-family: var(--hr-mono);
	font-size: 12.5px;
}

.hr-footer__contact p {
	margin: 10px 0 0;
}

/* Slim footer (thanks page) */
.hr-footer--slim {
	border-top: 1px solid var(--hr-border);
}

.hr-footer--slim .hr-footer__inner {
	padding-top: 32px;
	padding-bottom: 32px;
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--hr-muted);
}

/* --------------------------------------------------------------------------
   Sticky CTA
   -------------------------------------------------------------------------- */

.hr-sticky {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 60;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-top: 1px solid var(--hr-border);
	padding: 12px 20px;
	display: flex;
	justify-content: center;
	transform: translateY(120%);
	transition: transform 0.35s ease;
	visibility: hidden;
}

.hr-sticky.is-visible {
	transform: translateY(0);
	visibility: visible;
}

.hr-sticky .hr-btn {
	padding: 11px 28px;
}

/* --------------------------------------------------------------------------
   Home — misc blocks
   -------------------------------------------------------------------------- */

.hr-strip {
	border-top: 1px solid var(--hr-border);
}

.hr-strip__inner {
	padding-top: 16px;
	padding-bottom: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	justify-content: space-between;
	font-family: var(--hr-mono);
	font-size: 12px;
	color: var(--hr-muted);
}

.hr-compare {
	display: grid;
	gap: 16px;
}

.hr-compare__row {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.hr-compare__label {
	font-family: var(--hr-mono);
	font-size: 12px;
	color: var(--hr-muted);
	margin-bottom: 6px;
}

.hr-compare__value {
	font-size: 22px;
	font-weight: 700;
	font-family: var(--hr-mono);
}

.hr-compare__badge {
	font-family: var(--hr-mono);
	font-size: 14px;
	font-weight: 700;
	color: var(--hr-accent);
	border: 1px solid var(--hr-accent);
	border-radius: var(--hr-radius-sm);
	padding: 8px 14px;
	white-space: nowrap;
}

.hr-compare__badge--quiet {
	color: var(--hr-muted);
	border-color: var(--hr-border);
}

.hr-honesty-close {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--hr-ink);
	margin: 0;
	border-top: 1px solid var(--hr-border);
	padding-top: 22px;
}

/* Sample report preview card on the home page */
.hr-preview {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	max-width: var(--hr-shell-read);
	margin: 0 auto;
}

.hr-preview__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 22px 28px;
	border-bottom: 1px solid var(--hr-border);
	gap: 14px;
}

.hr-preview__score {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--hr-mono);
	font-size: 20px;
	font-weight: 700;
}

.hr-preview__factors {
	padding: 24px 28px;
	display: grid;
	gap: 12px;
	border-bottom: 1px solid var(--hr-border);
}

.hr-preview__findings {
	padding: 24px 28px;
	display: grid;
	gap: 16px;
}

.hr-finding {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.hr-finding p {
	font-size: 14.5px;
	line-height: 1.6;
	margin: 0;
	color: var(--hr-ink);
}

.hr-finding__ts {
	font-family: var(--hr-mono);
	color: var(--hr-muted);
}

.hr-cta-stack {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.hr-plans {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: stretch;
}

.hr-plan {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 32px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.hr-plan--featured {
	border-color: var(--hr-accent);
}

.hr-plan__flag {
	position: absolute;
	top: -11px;
	left: 32px;
	background: var(--hr-grad);
	color: #ffffff;
	font-family: var(--hr-mono);
	font-size: 11px;
	font-weight: 700;
	border-radius: var(--hr-radius-sm);
	padding: 4px 10px;
}

.hr-plan__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	gap: 12px;
}

.hr-plan__head h2 {
	font-size: 21px;
	margin: 0;
}

.hr-plan__desc {
	font-size: 14.5px;
	color: var(--hr-muted);
	margin: 0 0 24px;
	line-height: 1.55;
}

.hr-plan__features {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	display: grid;
	gap: 11px;
	flex: 1;
}

.hr-plan__features li {
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--hr-ink);
	display: flex;
	gap: 10px;
}

.hr-plan__features li::before {
	content: "\00b7";
	color: var(--hr-accent);
	font-family: var(--hr-mono);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.hr-principle {
	border-top: 1px solid var(--hr-border);
	padding: 24px 0;
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 18px;
}

.hr-principle:last-child {
	border-bottom: 1px solid var(--hr-border);
}

.hr-principle__num {
	font-family: var(--hr-mono);
	font-size: 14px;
	color: var(--hr-accent);
}

.hr-principle h3 {
	font-size: 17px;
	margin: 0 0 8px;
}

.hr-principle p {
	font-size: 15px;
	line-height: 1.65;
	color: var(--hr-muted);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.hr-contact {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 48px;
	align-items: start;
}

.hr-contact__panel {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 32px;
}

.hr-contact__aside {
	display: grid;
	gap: 16px;
}

.hr-aside-card {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 24px;
}

.hr-aside-card h3 {
	font-size: 15px;
	margin: 0 0 8px;
}

.hr-aside-card p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--hr-muted);
	margin: 0;
}

.hr-aside-card a {
	font-family: var(--hr-mono);
	font-size: 13.5px;
	color: var(--hr-accent);
}

.hr-aside-card__meta {
	font-family: var(--hr-mono);
	font-size: 11.5px;
	letter-spacing: 0.08em;
	color: var(--hr-muted);
	text-transform: uppercase;
	margin-bottom: 10px;
	display: block;
}

/* --------------------------------------------------------------------------
   Thanks
   -------------------------------------------------------------------------- */

.hr-thanks__badge {
	font-family: var(--hr-mono);
	font-size: 12px;
	font-weight: 700;
	color: var(--hr-accent);
	border: 1px solid var(--hr-accent);
	border-radius: var(--hr-radius-sm);
	padding: 5px 12px;
	display: inline-block;
	margin-bottom: 22px;
}

.hr-thanks__position {
	font-family: var(--hr-mono);
	font-size: 15px;
	margin: 0 0 36px;
}

.hr-thanks__position strong {
	color: var(--hr-accent);
	font-weight: 700;
}

.hr-share {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 20px 24px;
	text-align: left;
}

.hr-share p {
	font-size: 14px;
	color: var(--hr-muted);
	margin: 0 0 12px;
}

.hr-share__row {
	display: flex;
	gap: 10px;
}

.hr-share__input {
	flex: 1;
	background: var(--hr-bg);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 11px 14px;
	color: var(--hr-ink);
	font-family: var(--hr-mono);
	font-size: 13px;
	outline: none;
	min-width: 0;
}

.hr-share__btn {
	padding: 11px 18px;
	font-size: 14px;
}

/* --------------------------------------------------------------------------
   Report page
   -------------------------------------------------------------------------- */

.hr-report__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 16px;
}

.hr-report__meta {
	font-family: var(--hr-mono);
	font-size: 13px;
	color: var(--hr-muted);
	margin: 0;
}

.hr-batch-row {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 18px 24px;
	display: flex;
	align-items: center;
	gap: 20px;
}

.hr-batch-row__name {
	font-weight: 700;
	font-family: var(--hr-mono);
	font-size: 14px;
}

.hr-batch-row__sub {
	font-size: 13px;
	color: var(--hr-muted);
}

.hr-verdict-note {
	background: var(--hr-accent-wash);
	border-left: 3px solid var(--hr-accent);
	border-radius: 0 var(--hr-radius) var(--hr-radius) 0;
	padding: 16px 20px;
	font-size: 14.5px;
	line-height: 1.6;
}

.hr-video-head {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.hr-video-head h2 {
	font-size: 26px;
	letter-spacing: -0.02em;
	margin: 0 0 6px;
	font-weight: 800;
	font-family: var(--hr-mono);
}

.hr-video-head__tech {
	font-family: var(--hr-mono);
	font-size: 12px;
	color: var(--hr-muted);
	margin-top: 8px;
}

.hr-video-head__row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 14px;
	color: var(--hr-muted);
}

.hr-panel {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 26px;
}

.hr-panel--flush {
	padding: 0;
	overflow: hidden;
}

.hr-issue {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-left: 3px solid var(--hr-caution);
	border-radius: var(--hr-radius);
	padding: 18px 22px;
}

.hr-issue--note {
	border-left-color: var(--hr-border-strong);
}

.hr-issue__title {
	font-weight: 600;
	font-size: 15px;
}

.hr-issue__ref {
	font-family: var(--hr-mono);
	font-size: 11px;
	color: var(--hr-muted);
}

.hr-issue__line {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--hr-muted);
	margin-top: 6px;
}

.hr-issue__tag {
	font-family: var(--hr-mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-right: 8px;
	color: var(--hr-muted);
}

.hr-issue__fix {
	color: var(--hr-ink);
	margin-top: 4px;
}

.hr-hook-current {
	background: var(--hr-danger-wash);
	border: 1px solid var(--hr-danger-line);
	border-radius: var(--hr-radius);
	padding: 16px 20px;
	font-size: 14px;
}

.hr-hook-current__tag {
	font-family: var(--hr-mono);
	font-size: 10px;
	background: var(--hr-border);
	color: var(--hr-muted);
	border-radius: 3px;
	padding: 2px 7px;
	letter-spacing: 0.03em;
	margin-right: 8px;
}

.hr-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
}

.hr-table thead th {
	font-family: var(--hr-mono);
	font-size: 10px;
	color: var(--hr-muted);
	letter-spacing: 0.06em;
	font-weight: 400;
	text-align: left;
	padding: 12px 20px;
	border-bottom: 1px solid var(--hr-border);
	text-transform: uppercase;
}

.hr-table td {
	padding: 13px 20px;
	border-bottom: 1px solid var(--hr-tint);
	vertical-align: top;
	line-height: 1.55;
}

.hr-table tbody tr:last-child td {
	border-bottom: 0;
}

.hr-table .hr-num,
.hr-table .hr-code {
	font-family: var(--hr-mono);
	font-size: 12px;
}

.hr-table .hr-right {
	text-align: right;
}

.hr-table .hr-delta {
	font-family: var(--hr-mono);
	font-size: 12px;
	text-align: right;
	color: var(--hr-success);
	font-weight: 700;
}

.hr-table tr.is-candidate {
	background: var(--hr-success-wash);
}

/*
 * Below this width the columns collapse into unreadable slivers, so the wrap
 * scrolls instead. Keeping the scrollbar visible is the affordance.
 */
.hr-table {
	min-width: 620px;
}

.hr-table__wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.hr-checklist {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
	padding: 10px 24px;
}

.hr-checklist__item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 14px 0;
	border-bottom: 1px solid var(--hr-tint);
}

.hr-checklist__item:last-child {
	border-bottom: 0;
}

.hr-checklist__box {
	width: 16px;
	height: 16px;
	border: 1.5px solid var(--hr-muted);
	border-radius: 3px;
	flex-shrink: 0;
	margin-top: 2px;
}

.hr-checklist__text {
	font-size: 14px;
	line-height: 1.55;
}

.hr-checklist__text span {
	font-size: 12.5px;
	color: var(--hr-muted);
}

.hr-collapse {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: var(--hr-radius);
}

.hr-collapse + .hr-collapse {
	margin-top: 14px;
}

.hr-collapse > summary {
	cursor: pointer;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	gap: 18px;
	list-style: none;
	flex-wrap: wrap;
}

.hr-collapse__name {
	font-family: var(--hr-mono);
	font-weight: 700;
	font-size: 14px;
}

.hr-collapse__sub {
	font-size: 13px;
	color: var(--hr-muted);
	flex: 1;
}

.hr-collapse__toggle {
	font-family: var(--hr-mono);
	font-size: 12px;
	color: var(--hr-accent);
}

.hr-collapse__body {
	padding: 6px 24px 24px;
	border-top: 1px solid var(--hr-tint);
}

.hr-dial {
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Editor / fallback content (page.php, index.php, 404)
   -------------------------------------------------------------------------- */

.hr-prose {
	font-size: 17px;
	line-height: 1.7;
	color: var(--hr-muted);
	max-width: 68ch;
}

.hr-prose h2,
.hr-prose h3 {
	color: var(--hr-ink);
	margin: 36px 0 14px;
}

.hr-prose p,
.hr-prose ul,
.hr-prose ol {
	margin: 0 0 18px;
}

.hr-prose a {
	color: var(--hr-accent);
	border-bottom: 1px solid var(--hr-border);
}

.hr-prose img {
	border-radius: var(--hr-radius);
}

.hr-archive-item {
	border-top: 1px solid var(--hr-border);
	padding: 28px 0;
}

.hr-archive-item h2 {
	font-size: 22px;
	margin: 0 0 8px;
}

.hr-archive-item time {
	font-family: var(--hr-mono);
	font-size: 12px;
	color: var(--hr-muted);
}

/* --------------------------------------------------------------------------
   Analysis panel — interactive factor breakdown
   -------------------------------------------------------------------------- */

.hr-analysis {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: 16px;
	overflow: hidden;
}

/* Head ------------------------------------------------------------------- */

.hr-analysis__head {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	gap: 22px;
	align-items: start;
	padding: 30px;
	border-bottom: 1px solid var(--hr-border);
}

.hr-analysis__mark {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--hr-accent-wash);
	color: var(--hr-accent);
	display: grid;
	place-items: center;
}

.hr-analysis__mark svg {
	width: 26px;
	height: 26px;
}

.hr-analysis__title {
	font-size: clamp(1.3rem, 2.2vw, 1.75rem);
	letter-spacing: -0.02em;
	margin: 0 0 10px;
}

.hr-analysis__desc {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--hr-muted);
	max-width: 62ch;
	margin: 0 0 14px;
}

.hr-analysis__note {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--hr-caution);
	margin: 0;
}

.hr-analysis__note-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--hr-warn-wash);
	display: grid;
	place-items: center;
	margin-top: 1px;
}

.hr-analysis__note-icon svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
	stroke-width: 1.2;
}

.hr-analysis__overall {
	border: 1px solid var(--hr-border);
	border-radius: 14px;
	padding: 18px 26px;
	text-align: center;
	min-width: 200px;
}

.hr-analysis__overall-label {
	font-size: 13.5px;
	color: var(--hr-muted);
	display: block;
	margin-bottom: 2px;
}

.hr-analysis__overall-value {
	margin: 0 0 12px;
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
	color: var(--hr-accent);
}

.hr-analysis__overall-value strong {
	font-size: 46px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.hr-analysis__overall-value span {
	font-size: 20px;
	font-weight: 500;
}

.hr-verdict {
	display: inline-block;
	font-size: 13.5px;
	font-weight: 600;
	border-radius: 999px;
	padding: 6px 16px;
}

.hr-verdict--pass {
	color: var(--hr-success);
	background: var(--hr-success-wash);
}

.hr-verdict--caution {
	color: var(--hr-caution);
	background: var(--hr-warn-wash);
}

.hr-verdict--revise {
	color: var(--hr-danger);
	background: var(--hr-danger-wash);
}

/* Gauges ----------------------------------------------------------------- */

.hr-analysis__gauges {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	border-bottom: 1px solid var(--hr-border);
}

.hr-gauge {
	appearance: none;
	background: none;
	border: 0;
	border-right: 1px solid var(--hr-border);
	padding: 26px 12px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	cursor: pointer;
	font: inherit;
	color: inherit;
	position: relative;
	transition: background 0.15s ease;
	min-width: 0;
}

.hr-gauge:last-child {
	border-right: 0;
}

.hr-gauge:hover {
	background: var(--hr-bg);
}

.hr-gauge[aria-selected="true"] {
	background: var(--hr-bg);
}

/* Selected marker sits on the panel edge rather than moving the content. */
.hr-gauge[aria-selected="true"]::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--hr-grade, var(--hr-accent));
}

.hr-gauge__head {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
}

.hr-gauge__icon {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--hr-tint);
	color: var(--hr-grade, var(--hr-accent));
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.hr-gauge__icon svg {
	width: 16px;
	height: 16px;
}

.hr-gauge__label {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hr-gauge__ring {
	position: relative;
	width: 84px;
	height: 84px;
	display: block;
}

.hr-gauge__ring svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.hr-gauge__track {
	fill: none;
	stroke: var(--hr-tint);
	stroke-width: 9;
}

.hr-gauge__fill {
	fill: none;
	stroke: var(--hr-grade, var(--hr-accent));
	stroke-width: 9;
	stroke-linecap: round;
}

.hr-gauge__score {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
	pointer-events: none;
}

.hr-gauge__score strong {
	font-size: 25px;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.hr-gauge__score span {
	font-size: 12px;
	color: var(--hr-muted);
	margin-top: 3px;
}

.hr-gauge__grade {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--hr-grade-text, var(--hr-accent));
}

/* Grade colour bands. Rings and icons take the vivid tone; the word beneath
   takes a darker one so it clears contrast on white. */
.hr-gauge--strong {
	--hr-grade: var(--hr-accent-alt);
	--hr-grade-text: var(--hr-accent);
}

.hr-gauge--good {
	--hr-grade: var(--hr-blue);
	--hr-grade-text: var(--hr-blue);
}

.hr-gauge--average {
	--hr-grade: var(--hr-violet);
	--hr-grade-text: var(--hr-accent-alt);
}

.hr-gauge--weak {
	--hr-grade: var(--hr-warn);
	--hr-grade-text: var(--hr-caution);
}

/* Detail row ------------------------------------------------------------- */

.hr-analysis__detail {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1.15fr;
	gap: 20px;
	padding: 26px 30px 30px;
	align-items: stretch;
}

.hr-analysis__detail > section {
	border: 1px solid var(--hr-border);
	border-radius: 12px;
	padding: 22px;
	min-width: 0;
}

.hr-analysis__sub {
	font-size: 16px;
	letter-spacing: -0.01em;
	margin: 0 0 18px;
}

.hr-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 18px;
}

.hr-chips__item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.hr-chip-value {
	font-family: var(--hr-mono);
	font-size: 13px;
	font-weight: 500;
	border: 1px solid var(--hr-border);
	border-radius: 8px;
	padding: 7px 9px;
	color: var(--hr-grade-text, var(--hr-ink));
	background: var(--hr-surface);
	transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.hr-chip-value--strong {
	--hr-grade-text: var(--hr-accent);
}

.hr-chip-value--good {
	--hr-grade-text: var(--hr-blue);
}

.hr-chip-value--average {
	--hr-grade-text: var(--hr-accent-alt);
}

.hr-chip-value--weak {
	--hr-grade-text: var(--hr-caution);
	background: var(--hr-warn-wash);
	border-color: var(--hr-warn-line);
}

.hr-chip-value.is-active {
	transform: translateY(-2px);
	border-color: currentColor;
}

.hr-chips__op {
	font-family: var(--hr-mono);
	font-size: 13px;
	color: var(--hr-faint);
}

.hr-analysis__result {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 6px;
}

/* Renders as ⁵√ — the index sits in the crook of the radical. */
.hr-analysis__root {
	font-size: 26px;
	line-height: 1;
	color: var(--hr-muted);
	align-self: center;
}

.hr-analysis__root sup {
	font-size: 12px;
	font-weight: 700;
	vertical-align: 0.55em;
	margin-right: -2px;
}

.hr-analysis__result strong {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--hr-accent);
	font-variant-numeric: tabular-nums;
}

.hr-analysis__result-note {
	font-size: 15px;
	color: var(--hr-muted);
}

.hr-analysis__formula {
	font-size: 13px;
	line-height: 1.55;
	color: var(--hr-muted);
	margin: 0 0 22px;
}

.hr-meter {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--hr-mono);
	font-size: 12px;
	color: var(--hr-muted);
}

.hr-meter__track {
	position: relative;
	flex: 1;
	height: 6px;
	border-radius: 3px;
	background: linear-gradient(90deg, #dc2626 0%, #f59e0b 38%, #8a93a6 55%, #4f6bff 78%, #6d28d9 100%);
}

.hr-meter__knob {
	position: absolute;
	top: 50%;
	left: var(--hr-meter-pos, 50%);
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--hr-accent);
	border: 3px solid var(--hr-surface);
	box-shadow: 0 0 0 1px var(--hr-border);
	transform: translate(-50%, -50%);
	transition: left 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Weakest / selected factor --------------------------------------------- */

.hr-analysis__weakest {
	background: var(--hr-warn-wash);
	border-color: var(--hr-warn-line) !important;
}

.hr-analysis__weakest .hr-analysis__sub {
	color: var(--hr-caution);
}

.hr-analysis__weakest-name {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
}

.hr-analysis__weakest-icon {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	color: var(--hr-caution);
}

.hr-analysis__weakest-icon svg {
	width: 100%;
	height: 100%;
}

.hr-analysis__weakest-name strong {
	display: block;
	font-size: 20px;
	letter-spacing: -0.02em;
}

.hr-analysis__weakest-score {
	font-family: var(--hr-mono);
	font-size: 15px;
	color: var(--hr-caution);
	font-weight: 700;
}

.hr-analysis__why-label {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 6px;
	padding-top: 14px;
	border-top: 1px solid var(--hr-warn-line);
}

.hr-analysis__why {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--hr-muted);
	margin: 0;
}

/* Radar ------------------------------------------------------------------ */

.hr-analysis__radar .hr-analysis__sub {
	text-align: center;
}

.hr-radar {
	width: 100%;
	height: auto;
	display: block;
	overflow: visible;
}

.hr-radar__grid {
	fill: none;
	stroke: var(--hr-border);
	stroke-width: 1;
}

.hr-radar__axis {
	stroke: var(--hr-border);
	stroke-width: 1;
}

.hr-radar__shape {
	fill: rgba(124, 58, 237, 0.22);
	stroke: var(--hr-accent);
	stroke-width: 2;
	stroke-linejoin: round;
}

.hr-radar__node {
	fill: var(--hr-surface);
	stroke: var(--hr-accent);
	stroke-width: 2.5;
	transition: r 0.15s ease, fill 0.15s ease;
}

.hr-radar__node.is-active {
	r: 6;
	fill: var(--hr-accent);
}

.hr-radar__label {
	font-family: var(--hr-sans);
	font-size: 11.5px;
	font-weight: 600;
	fill: var(--hr-ink);
}

/*
 * Reveal animation.
 *
 * The rings' final offset lives in the SVG attribute, so with JavaScript off
 * they simply render filled. The script empties them first and then adds
 * .is-live to animate, which means no-JS never sees a blank chart.
 */
.hr-analysis.is-live .hr-gauge__fill {
	transition: stroke-dashoffset 1s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--hr-ring-delay, 0s);
}

/* --------------------------------------------------------------------------
   Product showcase — tabs over the four panels
   -------------------------------------------------------------------------- */

.hr-showcase__tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.hr-showcase__tab {
	appearance: none;
	font: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--hr-muted);
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.hr-showcase__tab:hover {
	color: var(--hr-ink);
	border-color: var(--hr-border-strong);
}

.hr-showcase__tab[aria-selected="true"] {
	background: var(--hr-accent-wash);
	border-color: var(--hr-accent);
	color: var(--hr-accent);
}

.hr-showcase__tab-icon {
	display: grid;
	place-items: center;
	color: currentColor;
}

.hr-showcase__tab-icon svg {
	width: 17px;
	height: 17px;
}

/* Stacked fallback: without the tab bar each panel needs separating. */
.hr-showcase:not(.is-tabbed) .hr-showcase__panel + .hr-showcase__panel {
	margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Trend Radar panel
   -------------------------------------------------------------------------- */

.hr-analysis__detail--split {
	grid-template-columns: 1.5fr 1fr;
}

.hr-trend__rows {
	display: grid;
	gap: 8px;
}

.hr-trend__row {
	appearance: none;
	font: inherit;
	cursor: pointer;
	text-align: left;
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: 10px;
	padding: 12px 14px;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(60px, 1fr) auto;
	align-items: center;
	gap: 14px;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hr-trend__row:hover {
	border-color: var(--hr-border-strong);
}

.hr-trend__row[aria-selected="true"] {
	border-color: var(--hr-accent);
	background: var(--hr-accent-wash);
}

.hr-trend__meta {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.hr-trend__handle {
	font-family: var(--hr-mono);
	font-size: 12px;
	color: var(--hr-muted);
}

.hr-trend__title {
	font-size: 14.5px;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hr-trend__bar {
	display: block;
	height: 6px;
	border-radius: 3px;
	background: var(--hr-tint);
	overflow: hidden;
}

.hr-trend__bar-fill {
	display: block;
	height: 100%;
	width: var(--hr-bar, 0%);
	border-radius: 3px;
	background: var(--hr-tier, var(--hr-accent));
	transform-origin: left;
}

.is-live .hr-trend__bar-fill {
	animation: hr-grow 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: var(--hr-bar-delay, 0s);
}

.hr-trend__mult {
	font-family: var(--hr-mono);
	font-size: 15px;
	font-weight: 700;
	color: var(--hr-tier-text, var(--hr-ink));
	white-space: nowrap;
}

.hr-trend__row--model {
	--hr-tier: var(--hr-accent);
	--hr-tier-text: var(--hr-accent);
}

.hr-trend__row--deconstruct {
	--hr-tier: var(--hr-blue);
	--hr-tier-text: var(--hr-blue);
}

.hr-trend__row--watch {
	--hr-tier: var(--hr-border-strong);
	--hr-tier-text: var(--hr-muted);
}

.hr-trend__legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	font-size: 12.5px;
	color: var(--hr-muted);
	margin: 16px 0 0;
}

.hr-trend__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.hr-trend__key {
	width: 10px;
	height: 10px;
	border-radius: 3px;
	display: inline-block;
	flex-shrink: 0;
}

.hr-trend__key--model {
	background: var(--hr-accent);
}

.hr-trend__key--deconstruct {
	background: var(--hr-blue);
}

.hr-trend__key--watch {
	background: var(--hr-border-strong);
}

.hr-trend__detail {
	background: var(--hr-accent-wash);
	border-color: var(--hr-accent) !important;
}

.hr-trend__detail-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 4px;
}

.hr-trend__detail-head strong {
	font-family: var(--hr-mono);
	font-size: 15px;
}

.hr-trend__detail-mult {
	font-family: var(--hr-mono);
	font-size: 13px;
	color: var(--hr-accent);
	font-weight: 700;
}

.hr-trend__detail-title {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0 0 14px;
}

.hr-trend__pattern {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--hr-muted);
	margin: 0 0 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(109, 40, 217, 0.2);
}

.hr-trend__tags {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.hr-trend__tags li {
	font-family: var(--hr-mono);
	font-size: 11.5px;
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: 999px;
	padding: 5px 11px;
	color: var(--hr-accent);
}

/* --------------------------------------------------------------------------
   Hook & Packaging panel
   -------------------------------------------------------------------------- */

.hr-hooks__baseline {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	background: var(--hr-danger-wash);
	border: 1px solid var(--hr-danger-line);
	border-radius: 10px;
	padding: 11px 14px;
	margin: 0 0 14px;
	font-size: 14px;
}

.hr-hooks__baseline-tag {
	font-family: var(--hr-mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	background: var(--hr-border);
	color: var(--hr-muted);
	border-radius: 4px;
	padding: 3px 7px;
}

.hr-hooks__baseline-text {
	flex: 1;
	min-width: 0;
}

.hr-hooks__baseline-score {
	font-family: var(--hr-mono);
	font-size: 13px;
	color: var(--hr-caution);
	font-weight: 700;
}

.hr-hooks__rows {
	display: grid;
	gap: 8px;
}

.hr-hooks__row {
	appearance: none;
	font: inherit;
	cursor: pointer;
	text-align: left;
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: 10px;
	padding: 12px 14px;
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 12px;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hr-hooks__row:hover {
	border-color: var(--hr-border-strong);
}

.hr-hooks__row[aria-selected="true"] {
	border-color: var(--hr-accent);
	background: var(--hr-accent-wash);
}

.hr-hooks__rank {
	font-family: var(--hr-mono);
	font-size: 12px;
	color: var(--hr-muted);
}

.hr-hooks__text {
	font-size: 14.5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hr-hooks__score {
	font-family: var(--hr-mono);
	font-size: 13.5px;
	font-weight: 600;
}

.hr-hooks__lift {
	font-family: var(--hr-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--hr-success);
	min-width: 46px;
	text-align: right;
}

.hr-hooks__lift.is-negative {
	color: var(--hr-danger);
}

.hr-hooks__detail-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 16px;
}

.hr-hooks__archetype {
	font-family: var(--hr-mono);
	font-size: 12px;
	background: var(--hr-tint);
	border-radius: 999px;
	padding: 6px 12px;
	color: var(--hr-muted);
}

.hr-hooks__detail-score {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.hr-hooks__detail-score strong {
	font-family: var(--hr-mono);
	font-size: 24px;
	font-weight: 700;
	color: var(--hr-accent);
}

.hr-hooks__detail-score span {
	font-family: var(--hr-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--hr-success);
}

.hr-hooks__detail-score span.is-negative {
	color: var(--hr-danger);
}

.hr-checks {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	display: grid;
	gap: 10px;
}

.hr-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--hr-muted);
}

.hr-check__icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	margin-top: 1px;
}

.hr-check__icon svg {
	width: 12px;
	height: 12px;
}

.hr-check--pass .hr-check__icon {
	background: var(--hr-success-wash);
	color: var(--hr-success);
}

.hr-check--warn .hr-check__icon {
	background: var(--hr-warn-wash);
	color: var(--hr-caution);
}

.hr-check--fail .hr-check__icon {
	background: var(--hr-danger-wash);
	color: var(--hr-danger);
}

.hr-check--fail span:last-child {
	color: var(--hr-ink);
}

.hr-hooks__footnote {
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--hr-muted);
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid var(--hr-border);
}

/* --------------------------------------------------------------------------
   Breakout Detector panel
   -------------------------------------------------------------------------- */

.hr-breakout__tabs {
	grid-template-columns: repeat(3, 1fr);
}

.hr-signal {
	appearance: none;
	font: inherit;
	cursor: pointer;
	background: none;
	border: 0;
	border-right: 1px solid var(--hr-border);
	padding: 22px 18px;
	display: grid;
	gap: 4px;
	justify-items: start;
	text-align: left;
	position: relative;
	transition: background 0.15s ease;
	min-width: 0;
}

.hr-signal:last-child {
	border-right: 0;
}

.hr-signal:hover,
.hr-signal[aria-selected="true"] {
	background: var(--hr-bg);
}

.hr-signal[aria-selected="true"]::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--hr-tier, var(--hr-accent));
}

.hr-signal__label {
	font-size: 14px;
	color: var(--hr-muted);
}

.hr-signal__value {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.hr-signal__z {
	font-family: var(--hr-mono);
	font-size: 13px;
	font-weight: 700;
	color: var(--hr-tier-text, var(--hr-muted));
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.hr-signal__z span {
	font-family: var(--hr-sans);
	font-size: 12.5px;
	font-weight: 500;
	color: var(--hr-muted);
}

.hr-signal--pass {
	--hr-tier: var(--hr-success);
	--hr-tier-text: var(--hr-success);
}

.hr-signal--caution {
	--hr-tier: var(--hr-warn);
	--hr-tier-text: var(--hr-caution);
}

.hr-signal--neutral {
	--hr-tier: var(--hr-border-strong);
	--hr-tier-text: var(--hr-muted);
}

.hr-signal--revise {
	--hr-tier: var(--hr-danger);
	--hr-tier-text: var(--hr-danger);
}

.hr-analysis__detail--chart {
	grid-template-columns: 1.6fr 1fr;
}

.hr-spark {
	width: 100%;
	height: auto;
	display: block;
	overflow: visible;
}

.hr-spark__band {
	fill: var(--hr-tint);
}

.hr-spark__mid {
	stroke: var(--hr-border-strong);
	stroke-dasharray: 3 4;
}

.hr-spark__band-label,
.hr-spark__tick {
	font-family: var(--hr-mono);
	font-size: 9.5px;
	fill: var(--hr-faint);
}

/* Only the selected series is drawn; the others stay in the DOM so switching
   is instant and no-JS shows the first one. */
.hr-spark__series {
	display: none;
}

.hr-spark__series.is-active {
	display: block;
}

.hr-spark__area {
	fill: rgba(109, 40, 217, 0.1);
}

.hr-spark__line {
	fill: none;
	stroke: var(--hr-accent);
	stroke-width: 2.5;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.is-live .hr-spark__series.is-active .hr-spark__line {
	stroke-dasharray: 600;
	animation: hr-drawline 1.2s ease both;
}

.hr-spark__dot {
	fill: var(--hr-surface);
	stroke: var(--hr-accent);
	stroke-width: 2;
}

.hr-spark__dot--last {
	fill: var(--hr-accent);
}

.hr-breakout__note {
	font-size: 14px;
	line-height: 1.6;
	color: var(--hr-muted);
	margin: 16px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--hr-border);
}

.hr-breakout__note strong {
	color: var(--hr-ink);
	display: block;
	margin-bottom: 3px;
}

.hr-breakout__action {
	background: var(--hr-bg);
}

.hr-breakout__window {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--hr-muted);
}

.hr-breakout__window-value {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--hr-accent);
	line-height: 1;
}

.hr-breakout__copy {
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--hr-muted);
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid var(--hr-border);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes hr-grow {
	from {
		transform: scaleX(0);
	}
}

@keyframes hr-countin {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

@keyframes hr-drawline {
	from {
		stroke-dashoffset: 900;
	}
	to {
		stroke-dashoffset: 0;
	}
}

.hr-animate-in {
	animation: hr-countin 0.6s ease both;
}

.hr-curve {
	stroke-dasharray: 900;
	animation: hr-drawline 1.6s ease both;
}

/* Scroll reveal — JS adds .is-in when the section enters the viewport. */
.hr-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.hr-reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.hr-reveal {
		opacity: 1;
		transform: none;
	}

	.hr-sticky {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
	.hr-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.hr-split,
	.hr-split--hero {
		gap: 40px;
	}
}

/* Three-up card rows get too narrow to read before the layout stacks. */
@media (max-width: 900px) {
	.hr-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Analysis panel ---------------------------------------------------------- */

@media (max-width: 1180px) {
	.hr-analysis__detail {
		grid-template-columns: 1fr 1fr;
	}

	/* The radar needs the full row once the columns halve. */
	.hr-analysis__radar {
		grid-column: 1 / -1;
	}

	.hr-radar {
		max-width: 340px;
		margin: 0 auto;
	}
}

@media (max-width: 900px) {
	.hr-analysis__detail--split,
	.hr-analysis__detail--chart {
		grid-template-columns: 1fr;
	}

	.hr-breakout__tabs {
		grid-template-columns: 1fr;
	}

	.hr-signal {
		border-right: 0;
		border-bottom: 1px solid var(--hr-border);
		grid-template-columns: 1fr auto;
		align-items: center;
		padding: 16px 20px;
	}

	.hr-signal__label {
		grid-column: 1;
	}

	.hr-signal__value {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: center;
		justify-self: end;
	}

	.hr-signal__z {
		grid-column: 1;
	}

	.hr-signal:last-child {
		border-bottom: 0;
	}
}

@media (max-width: 620px) {
	.hr-trend__row {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 6px 12px;
	}

	/* The bar carries no information the multiplier does not; drop it first. */
	.hr-trend__bar {
		grid-column: 1 / -1;
	}

	.hr-hooks__row {
		grid-template-columns: 20px minmax(0, 1fr) auto;
		gap: 8px 10px;
	}

	.hr-hooks__lift {
		grid-column: 2 / -1;
		text-align: left;
		min-width: 0;
	}

	.hr-showcase__tabs {
		gap: 6px;
	}

	.hr-showcase__tab {
		padding: 9px 14px;
		font-size: 13.5px;
	}
}

@media (max-width: 1000px) {
	.hr-analysis__head {
		grid-template-columns: 48px 1fr;
	}

	.hr-analysis__mark {
		width: 48px;
		height: 48px;
	}

	.hr-analysis__overall {
		grid-column: 2;
		justify-self: start;
		display: flex;
		align-items: center;
		gap: 18px;
		text-align: left;
		padding: 14px 22px;
	}

	.hr-analysis__overall-value {
		margin: 0;
	}

	.hr-analysis__overall-value strong {
		font-size: 36px;
	}

	/* Five gauges in a row stop fitting; two rows of readable size beat five
	   crushed ones. */
	.hr-analysis__gauges {
		grid-template-columns: repeat(3, 1fr);
	}

	.hr-gauge:nth-child(3n) {
		border-right: 0;
	}

	.hr-gauge:nth-child(-n + 3) {
		border-bottom: 1px solid var(--hr-border);
	}
}

@media (max-width: 760px) {
	.hr-analysis__detail {
		grid-template-columns: 1fr;
		padding: 20px;
	}

	.hr-analysis__head {
		padding: 22px 20px;
		gap: 16px;
	}

	.hr-analysis__gauges {
		grid-template-columns: repeat(2, 1fr);
	}

	.hr-gauge {
		border-right: 1px solid var(--hr-border);
		border-bottom: 1px solid var(--hr-border);
		padding: 20px 10px;
	}

	.hr-gauge:nth-child(2n) {
		border-right: 0;
	}

	/* An odd final gauge spans the row rather than leaving a hole. */
	.hr-gauge:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		border-right: 0;
		border-bottom: 0;
	}
}

@media (max-width: 560px) {
	/* The score card runs out of room as a row long before the gauges do. */
	.hr-analysis__overall {
		display: block;
		text-align: center;
		width: 100%;
		min-width: 0;
	}

	.hr-analysis__overall-value {
		margin: 2px 0 10px;
	}
}

@media (max-width: 420px) {
	.hr-analysis__gauges {
		grid-template-columns: 1fr;
	}

	.hr-gauge,
	.hr-gauge:nth-child(2n) {
		border-right: 0;
	}

	.hr-gauge {
		flex-direction: row;
		justify-content: flex-start;
		gap: 16px;
		padding: 16px 20px;
	}

	.hr-gauge__head {
		order: 1;
		flex: 1;
	}

	.hr-gauge__ring {
		order: 0;
		width: 62px;
		height: 62px;
	}

	.hr-gauge__score strong {
		font-size: 19px;
	}

	.hr-gauge__score span {
		display: none;
	}

	.hr-gauge__grade {
		order: 2;
	}
}

@media (max-width: 760px) {
	.hr-grid--2,
	.hr-grid--3 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	:root {
		--hr-section-y: 72px;
		--hr-section-y-sm: 64px;
		--hr-gutter: 20px;
	}

	.hr-nav-toggle {
		display: inline-flex;
	}

	.hr-nav {
		position: absolute;
		top: var(--hr-header-h);
		left: 0;
		right: 0;
		background: var(--hr-surface);
		border-bottom: 1px solid var(--hr-border);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 20px 20px;
		display: none;
	}

	.hr-nav.is-open {
		display: flex;
	}

	.hr-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.hr-nav a {
		padding: 12px 0;
		display: block;
		border-bottom: 1px solid var(--hr-tint);
	}

	.hr-nav .hr-btn {
		margin-top: 12px;
		border-bottom: 0;
	}

	.hr-split,
	.hr-split--hero,
	.hr-plans,
	.hr-contact {
		grid-template-columns: 1fr;
	}

	.hr-contact {
		gap: 28px;
	}

	/* Stacked full-bleed plan cards read as a wall of text. */
	.hr-plans {
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
	}

	.hr-plan__flag {
		left: 20px;
	}

	/*
	 * The flag hangs 11px above the card. Once the plans stack it lands in the
	 * 20px grid gap and collides with the card above.
	 */
	.hr-plan--featured {
		margin-top: 14px;
	}

	/*
	 * Touch targets. Standalone links only — links sitting inside a sentence
	 * are exempt (WCAG 2.5.8) and padding them would break the line box.
	 */
	.hr-footer__nav a,
	.hr-footer__contact a,
	.hr-footer--slim a,
	.hr-aside-card > a {
		display: inline-block;
		padding: 9px 0;
	}

	.hr-footer__about > a,
	.hr-brand {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.hr-footer__nav ul {
		gap: 2px;
	}

	.hr-link-quiet {
		display: inline-block;
		padding: 7px 0;
	}

	.hr-footer__inner {
		flex-direction: column;
	}

	.hr-footer__contact {
		text-align: left;
	}

	.hr-factor-row,
	.hr-factor-row--sm {
		grid-template-columns: 96px 1fr 44px;
		gap: 10px;
	}

	.hr-preview__head,
	.hr-batch-row {
		flex-wrap: wrap;
	}
}

@media (max-width: 620px) {
	.hr-h1 {
		font-size: clamp(2.1rem, 8vw, 2.75rem);
	}

	/*
	 * iOS Safari zooms the page when a focused field's text is under 16px, and
	 * never zooms back out. 16px here is a functional requirement, not taste.
	 */
	.hr-input,
	.hr-select,
	.hr-textarea {
		font-size: 16px;
	}

	/* The 10px micro-tags are the hardest thing to read at phone size. */
	.hr-issue__tag {
		font-size: 11px;
	}

	/*
	 * SVG text scales with the viewBox, so these shrink with the chart: at
	 * phone width the 444-unit spark renders about 0.7×, taking 9.5px down to
	 * an unreadable 6.6px. These sizes are in user units, not CSS pixels.
	 */
	.hr-spark__tick,
	.hr-spark__band-label {
		font-size: 17px;
	}

	.hr-radar__label {
		font-size: 14px;
	}

	.hr-grid--4 {
		grid-template-columns: 1fr;
	}

	/*
	 * The badge is nowrap by design on wide screens; at phone width that floor
	 * is what forced the whole page into horizontal scroll.
	 */
	.hr-compare__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.hr-compare__badge {
		white-space: normal;
	}

	.hr-form--inline {
		flex-direction: column;
		max-width: none;
	}

	.hr-form__row {
		grid-template-columns: 1fr;
	}

	.hr-strip__inner {
		flex-direction: column;
		gap: 8px;
	}

	.hr-panel,
	.hr-card,
	.hr-plan,
	.hr-contact__panel,
	.hr-readout {
		padding: 20px;
	}

	.hr-preview__head,
	.hr-preview__factors,
	.hr-preview__findings {
		padding: 18px 20px;
	}

	.hr-share__row {
		flex-direction: column;
	}

	.hr-footer__nav {
		gap: 28px;
	}
}

/* Admin bar offset for the sticky header */
body.admin-bar .hr-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .hr-header {
		top: 46px;
	}
}
