    /*
 * HelloRing shared block components.
 * Consumes --hr-* design tokens only (generated from Master Settings).
 * No brand colour values live in this file.
 */

/* ---------- Section chrome ---------- */
.hr-section {
	--hr-section-bg: transparent;
	--hr-space-top: var(--hr-section-space);
	--hr-space-bottom: var(--hr-section-space);
	position: relative;
	padding-top: var(--hr-space-top);
	padding-bottom: var(--hr-space-bottom);
	background: var(--hr-section-bg);
	color: var(--hr-text);
	isolation: isolate;
	overflow-x: clip;
}
.hr-bg-surface { --hr-section-bg: var(--hr-surface); }
.hr-bg-surface-alt { --hr-section-bg: var(--hr-surface-alt); }
.hr-bg-soft-accent { --hr-section-bg: var(--hr-soft-accent); }
.hr-bg-primary { --hr-section-bg: var(--hr-primary); }
.hr-bg-dark { --hr-section-bg: var(--hr-dark-surface); }
.hr-space-t-none { --hr-space-top: 0px; }
.hr-space-t-xs { --hr-space-top: calc(var(--hr-section-space) * 0.2); }
.hr-space-t-sm { --hr-space-top: calc(var(--hr-section-space) * 0.45); }
.hr-space-t-md { --hr-space-top: calc(var(--hr-section-space) * 0.7); }
.hr-space-t-xl { --hr-space-top: calc(var(--hr-section-space) * 1.4); }
.hr-space-b-none { --hr-space-bottom: 0px; }
.hr-space-b-xs { --hr-space-bottom: calc(var(--hr-section-space) * 0.2); }
.hr-space-b-sm { --hr-space-bottom: calc(var(--hr-section-space) * 0.45); }
.hr-space-b-md { --hr-space-bottom: calc(var(--hr-section-space) * 1); }
.hr-space-b-xl { --hr-space-bottom: calc(var(--hr-section-space) * 1.4); }

/* Adjacent sections that share the default background tighten up. */
.hr-section.hr-bg-default + .hr-section.hr-bg-default { --hr-space-top: 100px; }

/* Text on dark / primary grounds. */
.hr-on-dark {
	--hr-heading: var(--hr-dark-text);
	--hr-text: var(--hr-dark-text);
	--hr-muted: var(--hr-dark-muted);
	--hr-border-color: var(--hr-dark-border);
	--hr-primary-ink: var(--hr-primary-ink-on-dark);
	color: var(--hr-dark-text);
}
.hr-bg-primary.hr-on-dark { --hr-primary-ink: var(--hr-dark-text); }
.hr-bg-primary:not(.hr-on-dark) {
	--hr-heading: var(--hr-on-primary);
	--hr-text: var(--hr-on-primary);
	--hr-muted: var(--hr-on-primary);
	--hr-primary-ink: var(--hr-on-primary);
	color: var(--hr-on-primary);
}

.hr-container {
	width: min(100% - 2 * var(--hr-gutter, 20px), var(--hr-container));
	margin-inline: auto;
}
.hr-container--narrow { width: min(100% - 2 * var(--hr-gutter, 20px), var(--hr-narrow)); }
.hr-container--wide { width: min(100% - 2 * var(--hr-gutter, 20px), var(--hr-wide)); }
.hr-container--full { width: 100%; padding-inline: var(--hr-gutter, 20px); }
.hr-align-center { text-align: center; }
.hr-align-center .hr-heading-group,
.hr-align-center .hr-lede { margin-inline: auto; }
.hr-align-center .hr-actions { justify-content: center; }

/* Device visibility (presentation only). */
@media (min-width: 1025px) { .hr-hide-desktop { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .hr-hide-tablet { display: none !important; } }
@media (max-width: 767px) { .hr-hide-mobile { display: none !important; } }

/* Decorations — drawn with gradients and pseudo-elements, never images. */
.hr-deco::before {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}
.hr-deco-rings::before {
	inset: -20% -10% auto auto;
	width: min(720px, 90vw);
	aspect-ratio: 1;
	background: repeating-radial-gradient(circle at center, transparent 0 58px, var(--hr-primary-tint) 58px 60px);
	mask-image: radial-gradient(circle, #000 20%, transparent 70%);
	opacity: 0.8;
}
.hr-deco-dots::before {
	inset: 0;
	background-image: radial-gradient(var(--hr-border-color) 1.2px, transparent 1.4px);
	background-size: 22px 22px;
	mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hr-deco-glow::before {
	inset: -10% 10% auto;
	height: 70%;
	background: radial-gradient(ellipse at top, var(--hr-primary-tint), transparent 65%);
}
.hr-deco-wave::before {
	inset: auto 0 0;
	height: 90px;
	background: repeating-linear-gradient(90deg, var(--hr-primary-tint) 0 3px, transparent 3px 12px);
	mask-image: linear-gradient(to top, #000, transparent);
	opacity: 0.9;
}

/* ---------- Typography helpers ---------- */
.hr-heading-group { max-width: 46rem; display: grid; gap: 0.9rem; }
.hr-section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.hr-align-center .hr-section-head { text-align: center; }
.hr-eyebrow {
	margin: 0;
	font: 600 var(--hr-fs-sm) / 1.3 var(--hr-font-body);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hr-primary-ink);
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
}
.hr-eyebrow::before {
	content: "";
	width: 0.55em;
	height: 0.55em;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 0.25em var(--hr-primary-tint);
}
.hr-align-center .hr-eyebrow { justify-content: center; }
.hr-heading {
	margin: 0;
	font-family: var(--hr-font-heading);
	font-weight: var(--hr-fw-heading);
	font-size: var(--hr-fs-h2);
	line-height: var(--hr-lh-heading);
	letter-spacing: var(--hr-ls-heading);
	color: var(--hr-heading);
	text-wrap: balance;
	overflow-wrap: anywhere;
}
h1.hr-heading { font-size: var(--hr-fs-h1); }
h3.hr-heading { font-size: var(--hr-fs-h3); }
.hr-lede {
	margin: 0;
	max-width: 40rem;
	font-size: calc(var(--hr-fs-base) * 1.12);
	color: var(--hr-muted);
	text-wrap: pretty;
}
.hr-prose > * + * { margin-top: 1em; }
.hr-prose a { color: var(--hr-primary-ink); }
.hr-empty { color: var(--hr-muted); font-size: var(--hr-fs-base); max-width: 40rem; }
.hr-footnote { margin-top: 1rem; font-size: var(--hr-fs-xs); color: var(--hr-muted); }
.hr-evidence { display: inline-block; margin-top: 0.4rem; font-size: var(--hr-fs-xs); color: var(--hr-muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Buttons ---------- */
.hr-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.75rem; }
.hr-section-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(2rem, 4vw, 3rem); }
.hr-align-center .hr-section-actions { justify-content: center; }
.hr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: var(--hr-btn-height);
	max-width: 100%;
	padding: 0.55em var(--hr-btn-px);
	border: 1.5px solid transparent;
	border-radius: var(--hr-radius-button);
	font: var(--hr-fw-button) var(--hr-fs-base) / 1.2 var(--hr-font-button);
	text-transform: var(--hr-btn-transform);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
	overflow-wrap: anywhere;
}
.hr-btn:hover { transform: translateY(var(--hr-btn-lift)); }
.hr-btn:active { transform: translateY(0); }
.hr-btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.hr-btn--primary { background: var(--hr-header-primary-button, var(--hr-primary)); color: var(--hr-primary-button-text-color, var(--hr-on-primary)); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 6px 18px var(--hr-primary-tint); }
.hr-btn--primary:hover { background: var(--hr-header-primary-btn-hover-color, var(--hr-primary-hover)); color: var(--hr-primary-button-text-color, var(--hr-on-primary)); }
.hr-btn--primary:active { background: var(--hr-header-primary-btn-hover-color, var(--hr-primary-active)); }
.hr-btn--secondary { background: var(--hr-surface); color: var(--hr-heading); border-color: var(--hr-border-color); }
.hr-btn--secondary:hover { border-color: var(--hr-primary); color: var(--hr-heading); }
.hr-btn--text { min-height: auto; padding: 0.25em 0; border-radius: 0; background: none; color: var(--hr-primary-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.hr-btn--text:hover { transform: none; color: var(--hr-heading); }
.hr-btn--dark { background: var(--hr-dark-surface); color: var(--hr-dark-text); }
.hr-btn--dark:hover { background: var(--hr-heading); color: var(--hr-dark-text); }
.hr-btn--light { background: var(--hr-dark-text); color: var(--hr-dark-surface); }
.hr-on-dark .hr-btn--secondary { background: transparent; color: var(--hr-dark-text); border-color: var(--hr-dark-border); }
.hr-on-dark .hr-btn--secondary:hover { border-color: var(--hr-dark-text); }
.hr-bg-primary .hr-btn--primary { background: var(--hr-dark-surface); color: var(--hr-dark-text); box-shadow: none; }
.hr-bg-primary .hr-btn--primary:hover { background: var(--hr-heading); }
.hr-bg-primary:not(.hr-on-dark) .hr-btn--secondary { background: transparent; color: var(--hr-on-primary); border-color: currentColor; }
.hr-btn-hover-none .hr-btn:hover { transform: none; }
.hr-link-arrow { display: inline-flex; align-items: center; gap: 0.35em; font-weight: 600; color: var(--hr-primary-ink); text-decoration: none; }
.hr-link-arrow::after { content: "→"; transition: transform 160ms ease; }
.hr-link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Badges, chips, icons ---------- */
.hr-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2em 0.65em;
	border-radius: 999px;
	font: 600 var(--hr-fs-xs) / 1.4 var(--hr-font-body);
	letter-spacing: 0.02em;
	white-space: nowrap;
	vertical-align: middle;
	background: var(--hr-primary-soft);
	color: var(--hr-heading);
	border: 1px solid var(--hr-primary-tint);
}
.hr-badge--early-access { background: var(--hr-primary-soft); color: var(--hr-heading); }
.hr-badge--coming-soon { background: transparent; color: var(--hr-muted); border: 1px dashed var(--hr-border-color); }
.hr-on-dark .hr-badge { background: transparent; color: var(--hr-dark-text); border-color: var(--hr-dark-border); }
.hr-icon { width: 1.35em; height: 1.35em; flex: none; }
.hr-icon-chip {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 14px;
	background: var(--hr-primary-soft);
	color: var(--hr-primary-ink);
	flex: none;
}
.hr-on-dark .hr-icon-chip { background: rgba(255, 255, 255, 0.08); color: var(--hr-primary-ink-on-dark); }
.hr-chip { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.15em 0.6em; border-radius: 999px; font-size: var(--hr-fs-xs); font-weight: 600; background: var(--hr-primary-soft); color: var(--hr-heading); }
.hr-chip .hr-icon { width: 1em; height: 1em; }
.hr-checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.6rem; }
.hr-checklist li { display: flex; gap: 0.6rem; align-items: flex-start; }
.hr-checklist__icon { color: var(--hr-primary-ink); margin-top: 0.15em; width: 1.15em; height: 1.15em; }
.hr-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* ---------- Grid + cards ---------- */
.hr-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
@media (min-width: 900px) {
	.hr-cols-2 .hr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hr-cols-3 .hr-grid, .hr-grid.hr-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hr-cols-4 .hr-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 899px) {
	.hr-cols-3 .hr-grid, .hr-cols-4 .hr-grid, .hr-grid.hr-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hr-grid__item { display: flex; min-width: 0; }
.hr-grid__item > * { flex: 1; }
.hr-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: clamp(1.25rem, 2.2vw, 1.75rem);
	border-radius: var(--hr-radius-card);
	background: var(--hr-surface);
	border: 1px solid var(--hr-border-color);
	box-shadow: var(--hr-shadow);
	color: var(--hr-text);
	min-width: 0;
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.hr-cards-outlined .hr-card { box-shadow: none; background: transparent; }
.hr-cards-plain .hr-card { box-shadow: none; background: transparent; border-color: transparent; padding-inline: 0; }
.hr-on-dark .hr-card { background: rgba(255, 255, 255, 0.04); border-color: var(--hr-dark-border); box-shadow: none; }
.hr-card__media { margin: calc(-1 * clamp(1.25rem, 2.2vw, 1.75rem)) calc(-1 * clamp(1.25rem, 2.2vw, 1.75rem)) 0.25rem; border-radius: var(--hr-radius-card) var(--hr-radius-card) 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--hr-surface-alt); }
.hr-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hr-card__body { display: grid; gap: 0.55rem; }
.hr-card__badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hr-card__badges:empty { display: none; }
.hr-card__title { margin: 0; font: var(--hr-fw-heading) var(--hr-fs-h5) / 1.25 var(--hr-font-heading); letter-spacing: var(--hr-ls-heading); color: var(--hr-heading); overflow-wrap: anywhere; }
.hr-card__title a { color: inherit; text-decoration: none; }
.hr-card__text { margin: 0; color: var(--hr-muted); }
.hr-card__meta { margin: 0; font-size: var(--hr-fs-xs); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hr-muted); display: flex; gap: 0.4rem; flex-wrap: wrap; }
.hr-stretched::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hr-card--link:focus-within { outline: 3px solid var(--hr-focus-ring); outline-offset: 3px; }
.hr-card--link .hr-stretched:focus { outline: none; }
.hr-motion-on:not(.hr-no-card-hover) .hr-card-hover:hover { transform: translateY(-3px); box-shadow: var(--hr-shadow-lift); border-color: var(--hr-primary-tint); }

/* ---------- Ring visual ---------- */
.hr-ring { position: relative; display: grid; place-items: center; width: 100%; max-width: var(--hr-ring-size, 420px); margin-inline: auto; aspect-ratio: 1; }
.hr-ring--sm { --hr-ring-size: 200px; }
.hr-ring--md { --hr-ring-size: 340px; }
.hr-ring--lg { --hr-ring-size: 460px; }
.hr-ring__art { position: absolute; inset: 0; display: grid; place-items: center; }
.hr-ring__wave, .hr-ring__orbit { position: absolute; border-radius: 50%; }
.hr-ring__wave { inset: 18%; border: 1.5px solid var(--hr-primary); opacity: 0.5; }
.hr-ring__wave--2 { inset: 8%; opacity: 0.28; }
.hr-ring__wave--3 { inset: 0; opacity: 0.14; }
.hr-ring__orbit { inset: 30%; background: radial-gradient(circle, var(--hr-primary-soft) 0 55%, transparent 56%); }
.hr-ring__core { position: relative; display: grid; place-items: center; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--hr-primary); color: var(--hr-on-primary); box-shadow: 0 10px 30px var(--hr-primary-tint); }
.hr-ring__icon { width: 42%; height: 42%; }
.hr-ring__logo-img { width: 52%; height: 52%; object-fit: contain; display: block; border-radius: 4px; }
.hr-ring__labels { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; }
.hr-ring__label { position: absolute; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.8rem; border-radius: 999px; background: var(--hr-surface); border: 1px solid var(--hr-border-color); box-shadow: var(--hr-shadow); font-size: var(--hr-fs-sm); font-weight: 600; color: var(--hr-heading); white-space: nowrap; }
.hr-ring__label .hr-icon { color: var(--hr-primary-ink); width: 1.1em; height: 1.1em; }
.hr-ring__label--1 { top: 6%; left: 2%; }
.hr-ring__label--2 { top: 20%; right: -2%; }
.hr-ring__label--3 { bottom: 18%; left: -4%; }
.hr-ring__label--4 { bottom: 4%; right: 6%; }
@media (max-width: 480px) { .hr-ring__label { font-size: var(--hr-fs-xs); padding: 0.35rem 0.6rem; } .hr-ring__label--3 { left: 0; } .hr-ring__label--2 { right: 0; } }

/* ---------- Waveform ---------- */
.hr-wave { display: flex; align-items: center; gap: 3px; height: 44px; }
.hr-wave span { flex: 1; min-width: 2px; max-width: 6px; height: var(--h); border-radius: 3px; background: var(--hr-primary); opacity: 0.75; transform-origin: center; }

/* ---------- Call card ---------- */
.hr-callcard {
	position: relative;
	width: 100%;
	max-width: 520px;
	margin-inline: auto;
	padding: 1.1rem;
	border-radius: calc(var(--hr-radius-card) + 6px);
	background: var(--hr-surface);
	border: 1px solid var(--hr-border-color);
	box-shadow: var(--hr-shadow-lift);
	color: var(--hr-text);
	text-align: left;
}
.hr-callcard__top { display: flex; align-items: center; gap: 0.75rem; padding: 0.35rem 0.35rem 0.9rem; border-bottom: 1px solid var(--hr-border-color); }
.hr-callcard__top .hr-wave { width: 84px; height: 26px; margin-left: auto; gap: 2px; }
.hr-callcard__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hr-primary); color: var(--hr-on-primary); flex: none; }
.hr-callcard__avatar .hr-icon { width: 20px; height: 20px; }
.hr-callcard__who { display: grid; min-width: 0; }
.hr-callcard__who strong { color: var(--hr-heading); font-size: var(--hr-fs-sm); overflow-wrap: anywhere; }
.hr-callcard__status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--hr-fs-xs); color: var(--hr-muted); }
.hr-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hr-success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hr-success) 22%, transparent); }
.hr-callcard__lines { list-style: none; margin: 0; padding: 1rem 0.35rem 0.35rem; display: grid; gap: 0.6rem; }
.hr-line { display: grid; gap: 0.2rem; max-width: 88%; }
.hr-line__who { font-size: var(--hr-fs-xs); font-weight: 600; color: var(--hr-muted); }
.hr-line__msg { padding: 0.6rem 0.85rem; border-radius: 16px 16px 16px 4px; background: var(--hr-surface-alt); color: var(--hr-heading); line-height: 1.45; overflow-wrap: anywhere; }
.hr-line--agent { justify-self: end; text-align: right; }
.hr-line--agent .hr-line__msg { border-radius: 16px 16px 4px 16px; background: var(--hr-primary-soft); text-align: left; }
.hr-line--system { max-width: 100%; justify-self: center; grid-auto-flow: column; align-items: center; gap: 0.5rem; }
.hr-line--system .hr-line__who { display: none; }
.hr-line--system .hr-line__msg { padding: 0.3rem 0.7rem; border-radius: 999px; background: transparent; border: 1px dashed var(--hr-border-color); font-size: var(--hr-fs-xs); color: var(--hr-muted); }
.hr-line .hr-chip { justify-self: start; }
.hr-callcard__events { list-style: none; margin: 0.6rem 0 0; padding: 0.8rem 0.35rem 0.2rem; border-top: 1px solid var(--hr-border-color); display: flex; flex-wrap: wrap; gap: 0.45rem; }
.hr-event { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; border-radius: 999px; font-size: var(--hr-fs-xs); font-weight: 600; background: var(--hr-surface-alt); color: var(--hr-heading); }
.hr-event .hr-icon { width: 1.05em; height: 1.05em; color: var(--hr-primary-ink); }
.hr-event--appointment { background: var(--hr-primary-soft); }
/* Light "islands" keep light-ground colours inside dark or primary sections. */
.hr-on-dark .hr-callcard, .hr-bg-primary .hr-callcard,
.hr-on-dark .hr-form, .hr-bg-primary .hr-form,
.hr-on-dark .hr-ring__label, .hr-bg-primary .hr-ring__label {
	--hr-heading: var(--hr-heading-base);
	--hr-text: var(--hr-text-base);
	--hr-muted: var(--hr-muted-base);
	--hr-primary-ink: var(--hr-primary-ink-base);
	--hr-border-color: var(--hr-border-base);
	color: var(--hr-text-base);
}
.hr-on-dark .hr-callcard { border-color: transparent; }

/* Staged reveal (only once JS arms the card and motion is allowed). */
@media (prefers-reduced-motion: no-preference) {
	.hr-motion-on .hr-callcard.is-armed [data-hr-step]:not(.is-shown) { opacity: 0; transform: translateY(8px); }
	.hr-callcard [data-hr-step] { transition: opacity 360ms ease, transform 360ms ease; }
}

/* ---------- Phone frame (device chrome around a call card) ---------- */
.hr-phone-frame {
	position: relative; width: min(100%, 380px); padding: 14px; border-radius: 44px;
	background: var(--hr-surface-alt);
	border: 1px solid var(--hr-border-color);
	box-shadow: var(--hr-shadow-lift), inset 0 0 0 6px var(--hr-dark-surface);
}
.hr-phone-frame__notch { position: absolute; top: 18px; left: 50%; width: 36%; height: 22px; transform: translateX(-50%); border-radius: 999px; background: var(--hr-dark-surface); z-index: 1; }
.hr-phone-frame .hr-callcard { margin: 0; padding: 3rem 1rem 1.25rem; border: 0; box-shadow: none; border-radius: 32px; max-width: none; min-height: 400px; background: var(--hr-surface); }
.hr-phone-frame .hr-callcard__top { border-bottom-color: var(--hr-border-color); }
.hr-phone-frame .hr-line { max-width: 92%; }
.hr-on-dark .hr-phone-frame, .hr-bg-primary .hr-phone-frame { border-color: transparent; background: var(--hr-dark-border); }

/* ---------- Pill tab list (shared by tabbed sections) ---------- */
.hr-pills { display: flex; gap: 0.35rem; padding: 0.35rem; border-radius: 999px; background: var(--hr-surface-alt); border: 1px solid var(--hr-border-color); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; width: fit-content; max-width: 100%; }
.hr-pills::-webkit-scrollbar { display: none; }
.hr-pills[hidden] { display: none; }
.hr-pill {
	display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 1.05rem; border: 0; border-radius: 999px;
	background: transparent; color: var(--hr-muted); font: 600 var(--hr-fs-sm) / 1.2 var(--hr-font-body); white-space: nowrap; cursor: pointer;
	transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.hr-pill .hr-icon { width: 1.1em; height: 1.1em; }
.hr-pill:hover { color: var(--hr-heading); }
.hr-pill[aria-selected="true"], .hr-pill.is-active { background: var(--hr-surface); color: var(--hr-heading); box-shadow: var(--hr-shadow), inset 0 0 0 1.5px var(--hr-primary); }
.hr-pill[aria-selected="true"] .hr-icon, .hr-pill.is-active .hr-icon { color: var(--hr-primary-ink); }
.hr-on-dark .hr-pills { background: rgba(255, 255, 255, 0.06); border-color: var(--hr-dark-border); }
.hr-on-dark .hr-pill[aria-selected="true"] { background: var(--hr-dark-surface); color: var(--hr-dark-text); }

/* ---------- Ambient stage (gradient panel derived from brand tokens) ---------- */
.hr-stage {
	position: relative; isolation: isolate; overflow: hidden;
	border-radius: calc(var(--hr-radius-card) + 8px); border: 1px solid var(--hr-border-color);
	background:
		radial-gradient(70% 60% at 85% 10%, var(--hr-soft-accent), transparent 70%),
		radial-gradient(60% 55% at 10% 90%, var(--hr-primary-tint), transparent 70%),
		linear-gradient(160deg, var(--hr-surface) 0%, var(--hr-surface-alt) 100%);
	box-shadow: var(--hr-shadow);
}
.hr-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(var(--hr-border-color) 1px, transparent 1.3px); background-size: 20px 20px; opacity: 0.45; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%); }
.hr-on-dark .hr-stage { background: rgba(255, 255, 255, 0.04); border-color: var(--hr-dark-border); }

/* ---------- Forms ---------- */
.hr-form { display: grid; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--hr-radius-card); background: var(--hr-surface); border: 1px solid var(--hr-border-color); box-shadow: var(--hr-shadow); color: var(--hr-text); text-align: left; }
.hr-form__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.hr-field { display: grid; gap: 0.4rem; min-width: 0; }
.hr-field--full { grid-column: 1 / -1; }
.hr-field label { font-weight: 600; font-size: var(--hr-fs-sm); color: var(--hr-heading); }
.hr-req { color: var(--hr-error); }
.hr-optional { font-weight: 400; color: var(--hr-muted); }
.hr-field input:not([type="checkbox"]), .hr-field select, .hr-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	border: 1.5px solid var(--hr-border-color);
	border-radius: var(--hr-radius-input);
	background: var(--hr-background);
	color: var(--hr-heading);
	font: inherit;
}
.hr-field textarea { min-height: 120px; resize: vertical; }
.hr-field input:focus, .hr-field select:focus, .hr-field textarea:focus { outline: 3px solid var(--hr-focus-ring); outline-offset: 1px; border-color: var(--hr-primary); }
.hr-field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.65rem; }
.hr-field--check input { width: 20px; height: 20px; margin-top: 0.15em; accent-color: var(--hr-primary); }
.hr-field--check label { font-weight: 400; color: var(--hr-text); }
.hr-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hr-form__privacy { margin: 0; font-size: var(--hr-fs-xs); color: var(--hr-muted); flex: 1 1 14rem; }
.hr-form__msg { color: var(--hr-error); font-weight: 600; font-size: var(--hr-fs-sm); }
.hr-form__msg:empty { display: none; }
.hr-form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hr-form__notice { padding: 1.25rem 1.5rem; border-radius: var(--hr-radius-card); font-weight: 600; }
.hr-form__notice--success { background: color-mix(in srgb, var(--hr-success) 12%, var(--hr-surface)); color: var(--hr-heading); border: 1px solid color-mix(in srgb, var(--hr-success) 35%, transparent); }

/* ---------- Embeds ---------- */
.hr-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--hr-radius-card); overflow: hidden; background: var(--hr-dark-surface); }
.hr-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Marquee (shared) ---------- */
.hr-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hr-marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(2rem, 5vw, 4rem); width: max-content; align-items: center; }
@media (prefers-reduced-motion: no-preference) {
	.hr-motion-on:not(.hr-no-marquee) .hr-marquee__track { animation: hr-marquee 42s linear infinite; }
	.hr-marquee:hover .hr-marquee__track, .hr-marquee:focus-within .hr-marquee__track, .hr-marquee:focus .hr-marquee__track { animation-play-state: paused; }
}
@keyframes hr-marquee { to { transform: translateX(-50%); } }

/* ---------- Signature motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	.hr-motion-on:not(.hr-no-ring-pulse) .hr-ring__wave { animation: hr-ring 3.2s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
	.hr-motion-on:not(.hr-no-ring-pulse) .hr-ring__wave--2 { animation-delay: 0.5s; }
	.hr-motion-on:not(.hr-no-ring-pulse) .hr-ring__wave--3 { animation-delay: 1s; }
	.hr-motion-on:not(.hr-no-waveform) .hr-wave span { animation: hr-wave 1.6s ease-in-out infinite alternate; animation-delay: var(--d); }
	.hr-motion-on:not(.hr-no-hero-motion) .hr-hero .hr-ring__label { animation: hr-float 6s ease-in-out infinite; }
	.hr-motion-on:not(.hr-no-hero-motion) .hr-hero .hr-ring__label--2 { animation-delay: -1.5s; }
	.hr-motion-on:not(.hr-no-hero-motion) .hr-hero .hr-ring__label--3 { animation-delay: -3s; }
	.hr-motion-on:not(.hr-no-hero-motion) .hr-hero .hr-ring__label--4 { animation-delay: -4.5s; }
	.hr-motion-on .hr-live-dot { animation: hr-blink 1.8s ease-in-out infinite; }
}
@keyframes hr-ring { 0% { transform: scale(0.94); opacity: 0.55; } 70% { transform: scale(1.04); opacity: 0.12; } 100% { transform: scale(1.06); opacity: 0; } }
@keyframes hr-wave { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }
@keyframes hr-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hr-blink { 50% { opacity: 0.45; } }

/* Section reveal: content is visible by default; hidden only when JS runs,
 * motion is on and the visitor has not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
	.hr-js .hr-motion-on:not(.hr-no-reveal) [data-hr-reveal]:not(.is-revealed) { opacity: 0; }
	.hr-js .hr-motion-on:not(.hr-no-reveal) [data-hr-reveal="fade-up"]:not(.is-revealed) { transform: translateY(var(--hr-motion-distance)); }
	.hr-js .hr-motion-on:not(.hr-no-reveal) [data-hr-reveal="scale"]:not(.is-revealed) { transform: scale(0.97); }
	.hr-js .hr-motion-on [data-hr-reveal] { transition: opacity var(--hr-motion-duration) ease, transform var(--hr-motion-duration) cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--hr-reveal-delay, 0ms); }
}

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
