/**
 * The reseller landing page, application form and account section.
 *
 * Reads the theme's own tokens with fallbacks, so the page belongs to the shop
 * rather than looking like a plugin dropped into it. Mobile first: every rule
 * here is the phone layout, and the media queries only add.
 *
 * Inputs are 16px on purpose. Anything smaller makes iOS Safari zoom the page
 * on focus, and a form that jumps when you tap it feels broken.
 */

.prs {
	--prs-ink: var(--color-ink, #14100f);
	--prs-soft: var(--color-ink-soft, #5b5b5b);
	--prs-line: var(--color-line, #e5e0dd);
	--prs-surface: var(--color-surface, #fff);
	--prs-sunken: var(--color-surface-alt, #faf7f5);
	/*
	 * --color-action, not --color-accent. The theme's "accent" is a pale
	 * blush meant for backgrounds (#fcd9de); using it for text put the
	 * eyebrow and the benefit icons at about 1.3:1 against white.
	 */
	--prs-accent: var(--color-action, #b91e4d);
	--prs-radius: var(--radius-lg, 1rem);

	color: var(--prs-ink);
}

/* -------------------------------------------------------------------------
 * Shared furniture
 * ---------------------------------------------------------------------- */

.prs-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.75rem 1.5rem;
	border: 1px solid var(--prs-line);
	border-radius: 999px;
	background: var(--prs-surface);
	color: var(--prs-ink);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.prs-button:hover,
.prs-button:focus-visible {
	background: var(--prs-sunken);
	color: var(--prs-ink);
}

/*
 * The primary call to action is the Buy now button, wearing the same clothes:
 * the theme's own primary gradient, action shadow and hover lift, read from
 * its tokens so a change to the brand reaches this button too. The hex
 * fallbacks are the current values, for the case where this form is used with
 * a theme that does not define them.
 *
 * A filled control states its own hover colour. Inheriting it is how a label
 * ends up invisible against its own fill the moment the pointer lands on it.
 */
.prs-button--primary {
	border-color: transparent;
	background-color: #b91e4d;
	background-image: var(--gradient-primary, linear-gradient(150deg, #d32258 0%, #b91e4d 60%, #a31a44 100%));
	color: #fff;
	box-shadow: var(--shadow-action, 0 4px 14px -6px rgb(66 33 46 / 0.38));
	transition:
		background-image 0.15s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.prs-button--primary:hover,
.prs-button--primary:focus-visible {
	background-color: #842643;
	background-image: var(--gradient-primary-hover, linear-gradient(150deg, #842643 0%, #801535 45%, #6e122e 100%));
	border-color: transparent;
	color: #fff;
	box-shadow: var(--shadow-action-lift, 0 10px 24px -8px rgb(66 33 46 / 0.45));
	transform: translateY(-1px);
}

.prs-button--primary:active {
	box-shadow: var(--shadow-action, 0 4px 14px -6px rgb(66 33 46 / 0.38));
	transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
	.prs-button--primary,
	.prs-button--primary:hover,
	.prs-button--primary:focus-visible,
	.prs-button--primary:active {
		transition: none;
		transform: none;
	}
}

.prs-button--ghost {
	border-color: transparent;
	background: transparent;
}

.prs-button[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

.prs-section__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 4vw, 2rem);
	line-height: 1.2;
}

.prs-section__intro {
	margin: 0 0 1.75rem;
	color: var(--prs-soft);
	max-width: 60ch;
}

/*
 * `hidden` has to beat the components' own `display`.
 *
 * The browser's `[hidden] { display: none }` is a user agent rule, so any
 * author rule setting display outranks it - and `.prs-button` sets
 * inline-flex. The result was Back, Continue and Submit application all on
 * screen at once on step one, with the form only *looking* broken because the
 * markup was right and the CSS was not. Scoped one level deeper so it wins on
 * specificity rather than on !important.
 */
.prs [hidden],
.prs-form [hidden],
.prs-form-wrap [hidden] {
	display: none;
}

/* -------------------------------------------------------------------------
 * Landing page
 * ---------------------------------------------------------------------- */

.prs-hero {
	padding: 2.5rem 0 2rem;
	text-align: center;
}

.prs-hero__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--prs-accent);
}

.prs-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 7vw, 3.25rem);
	line-height: 1.1;
}

.prs-hero__intro {
	margin: 0 auto 2rem;
	max-width: 52ch;
	font-size: 1.0625rem;
	color: var(--prs-soft);
}

.prs-hero__note {
	margin: 0.875rem 0 0;
	font-size: 0.875rem;
	color: var(--prs-soft);
}

.prs-benefits {
	padding: 2rem 0;
}

.prs-benefits__grid {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.prs-benefit {
	padding: 1.5rem 1.25rem;
	border: 1px solid var(--prs-line);
	border-radius: var(--prs-radius);
	background: var(--prs-surface);
}

.prs-benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 0.875rem;
	border-radius: 999px;
	background: var(--prs-sunken);
	color: var(--prs-accent);
}

.prs-benefit__icon svg {
	width: 1.375rem;
	height: 1.375rem;
}

.prs-benefit__title {
	margin: 0 0 0.375rem;
	font-size: 1.0625rem;
}

.prs-benefit__text {
	margin: 0;
	color: var(--prs-soft);
	font-size: 0.9375rem;
}

.prs-steps {
	padding: 1.5rem 0 2.5rem;
}

.prs-steps__list {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.prs-step {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.prs-step__number {
	display: flex;
	flex: 0 0 2.25rem;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: var(--prs-ink);
	color: #fff;
	font-weight: 700;
}

.prs-step__title {
	margin: 0.25rem 0 0.25rem;
	font-size: 1rem;
}

.prs-step__text {
	margin: 0;
	color: var(--prs-soft);
	font-size: 0.9375rem;
}

.prs-closed {
	padding: 2rem 1.5rem;
	border: 1px dashed var(--prs-line);
	border-radius: var(--prs-radius);
	text-align: center;
	color: var(--prs-soft);
}

/* -------------------------------------------------------------------------
 * The form
 * ---------------------------------------------------------------------- */

.prs-form-wrap {
	scroll-margin-top: 5rem;
	padding: 2rem 0 3rem;
}

.prs-form {
	padding: 1.25rem;
	border: 1px solid var(--prs-line);
	border-radius: var(--prs-radius);
	background: var(--prs-surface);
}

/* The honeypot: gone for people, gone for screen readers, present for bots. */
.prs-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.prs-progress {
	margin-bottom: 1.75rem;
}

.prs-progress__count {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--prs-soft);
}

/*
 * The labelled step list is desktop only. On a phone the numbered bar plus
 * "Step 2 of 5" says the same thing in a fifth of the height.
 */
.prs-progress__list {
	display: none;
}

.prs-progress__bar {
	height: 4px;
	border-radius: 999px;
	background: var(--prs-line);
	overflow: hidden;
}

.prs-progress__bar span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--prs-ink);
	transition: width 0.25s ease;
}

.prs-step-panel {
	margin: 0;
	padding: 0;
	border: 0;
}

.prs-step-panel__title {
	padding: 0;
	margin: 0 0 0.25rem;
	font-size: 1.25rem;
	font-weight: 700;
}

.prs-step-panel__intro {
	margin: 0 0 1.5rem;
	color: var(--prs-soft);
	font-size: 0.9375rem;
}

.prs-grid {
	display: grid;
	gap: 1.25rem;
}

.prs-label {
	display: block;
	margin-bottom: 0.4375rem;
	font-size: 0.9375rem;
	font-weight: 600;
}

.prs-required {
	margin-left: 0.125rem;
	color: var(--prs-accent);
}

.prs-optional {
	font-weight: 400;
	color: var(--prs-soft);
}

.prs-input {
	display: block;
	width: 100%;
	min-height: 3rem;
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--prs-line);
	border-radius: 0.625rem;
	background: var(--prs-surface);
	color: var(--prs-ink);
	/* 16px, or iOS Safari zooms the page when the field takes focus. */
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.4;
}

.prs-input:focus {
	outline: 2px solid var(--prs-ink);
	outline-offset: 1px;
	border-color: var(--prs-ink);
}

textarea.prs-input {
	min-height: 6rem;
	resize: vertical;
}

.prs-hint {
	margin: 0.4375rem 0 0;
	font-size: 0.875rem;
	color: var(--prs-soft);
}

.prs-note {
	margin: 0 0 1.25rem;
	padding: 0.875rem 1rem;
	border-radius: 0.625rem;
	background: var(--prs-sunken);
	font-size: 0.875rem;
	color: var(--prs-soft);
}

.prs-choices {
	display: grid;
	gap: 0.5rem;
}

.prs-choices--inline {
	grid-auto-flow: column;
	grid-auto-columns: max-content;
	gap: 0.75rem;
}

.prs-choice {
	display: flex;
	gap: 0.625rem;
	align-items: center;
	min-height: 3rem;
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--prs-line);
	border-radius: 0.625rem;
	cursor: pointer;
	font-size: 0.9375rem;
}

.prs-choice:hover {
	background: var(--prs-sunken);
}

.prs-choice input {
	width: 1.125rem;
	height: 1.125rem;
	accent-color: var(--prs-ink);
	flex: 0 0 auto;
}

.prs-conditional {
	margin-top: 0.875rem;
}

/* Documents */

.prs-documents {
	display: grid;
	gap: 1.25rem;
}

.prs-document {
	padding: 1rem;
	border: 1px solid var(--prs-line);
	border-radius: 0.75rem;
}

.prs-file {
	display: block;
	width: 100%;
	margin-top: 0.5rem;
	font-size: 0.9375rem;
}

.prs-document__preview:not(:empty) {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	margin-top: 0.875rem;
	padding: 0.625rem 0.75rem;
	border-radius: 0.5rem;
	background: var(--prs-sunken);
	font-size: 0.875rem;
}

.prs-document__preview img {
	width: 3rem;
	height: 3rem;
	border-radius: 0.375rem;
	object-fit: cover;
}

.prs-document__preview button {
	margin-left: auto;
	border: 0;
	background: none;
	color: var(--prs-soft);
	font-size: 0.875rem;
	text-decoration: underline;
	cursor: pointer;
}

/* Review */

.prs-review {
	margin-bottom: 1.5rem;
}

.prs-review__group {
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--prs-line);
}

.prs-review__group:last-child {
	border-bottom: 0;
}

.prs-review__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 0.625rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--prs-soft);
}

.prs-review__edit {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--prs-ink);
	background: none;
	border: 0;
	padding: 0;
	text-decoration: underline;
	cursor: pointer;
}

.prs-review__row {
	display: grid;
	gap: 0.125rem;
	padding: 0.375rem 0;
	font-size: 0.9375rem;
}

.prs-review__row dt {
	color: var(--prs-soft);
	font-size: 0.8125rem;
}

.prs-review__row dd {
	margin: 0;
}

.prs-consents {
	display: grid;
	gap: 0.75rem;
	margin: 1.5rem 0;
	padding: 1rem;
	border-radius: 0.75rem;
	background: var(--prs-sunken);
}

.prs-consent {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	font-size: 0.9375rem;
	cursor: pointer;
}

.prs-consent input {
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.1875rem;
	accent-color: var(--prs-ink);
	flex: 0 0 auto;
}

.prs-terms {
	margin: 1.25rem 0;
	font-size: 0.9375rem;
}

.prs-terms summary {
	cursor: pointer;
	font-weight: 600;
}

.prs-terms__body {
	margin-top: 0.75rem;
	max-height: 18rem;
	overflow-y: auto;
	padding: 1rem;
	border: 1px solid var(--prs-line);
	border-radius: 0.625rem;
	color: var(--prs-soft);
	font-size: 0.875rem;
}

/* Controls */

.prs-form__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--prs-line);
}

.prs-form__controls [data-prs-next],
.prs-form__controls [data-prs-submit] {
	margin-left: auto;
}

.prs-form__saved {
	font-size: 0.8125rem;
	color: var(--prs-soft);
}

.prs-form__error {
	margin: 1rem 0 0;
	padding: 0.875rem 1rem;
	border-radius: 0.625rem;
	background: #fee2e2;
	color: #7f1d1d;
	font-size: 0.9375rem;
}

.prs-field.is-invalid .prs-input {
	border-color: #b91c1c;
}

.prs-field__error {
	margin: 0.375rem 0 0;
	font-size: 0.875rem;
	color: #b91c1c;
}

.prs-is-sending {
	opacity: 0.6;
	pointer-events: none;
}

/* Success */

.prs-success {
	margin-bottom: 2rem;
	padding: 2rem 1.5rem;
	border: 1px solid var(--prs-line);
	border-radius: var(--prs-radius);
	background: var(--prs-sunken);
	text-align: center;
}

.prs-success__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: 999px;
	background: #dcfce7;
	color: #14532d;
	font-size: 1.5rem;
}

.prs-success__title {
	margin: 0 0 0.625rem;
	font-size: 1.375rem;
}

.prs-success__text {
	margin: 0 auto 1.25rem;
	max-width: 46ch;
	color: var(--prs-soft);
}

.prs-success__ref {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
}

.prs-success__ref strong {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	letter-spacing: 0.04em;
}

.prs-success__note {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	color: var(--prs-soft);
}

/* Gates */

.prs-gate {
	padding: 2rem 1.5rem;
	border: 1px solid var(--prs-line);
	border-radius: var(--prs-radius);
	text-align: center;
}

.prs-gate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin: 1.5rem 0 0;
}

.prs-gate__ref {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: center;
	margin: 0 0 1rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-weight: 700;
}

/* -------------------------------------------------------------------------
 * Homepage band and product line
 * ---------------------------------------------------------------------- */

.prs-home {
	padding: 3rem 1.25rem;
	background: var(--color-surface-alt, #faf7f5);
}

.prs-home__inner {
	max-width: 44rem;
	margin: 0 auto;
	text-align: center;
}

.prs-home__eyebrow {
	margin: 0 0 0.625rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-action, #b91e4d);
}

.prs-home__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 5vw, 2.25rem);
	line-height: 1.15;
}

.prs-home__text {
	margin: 0 0 1.5rem;
	color: var(--color-ink-soft, #5b5b5b);
}

.prs-product-cta {
	margin: 1rem 0 0;
	font-size: 0.875rem;
}

.prs-product-cta a {
	color: var(--color-ink-soft, #5b5b5b);
	text-underline-offset: 3px;
}

.prs-product-cta a:hover,
.prs-product-cta a:focus-visible {
	color: var(--color-ink, #14100f);
}

/* -------------------------------------------------------------------------
 * Account section
 * ---------------------------------------------------------------------- */

.prs-account-panel {
	margin-bottom: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--color-line, #e5e0dd);
	border-radius: var(--radius-lg, 1rem);
	background: var(--color-surface, #fff);
}

.prs-account-panel h3 {
	margin: 0 0 0.75rem;
	font-size: 1.0625rem;
}

.prs-account-panel h4 {
	margin: 0 0 0.375rem;
	font-size: 0.9375rem;
}

.prs-account-panel--reseller {
	border-color: var(--color-ink, #14100f);
}

.prs-account-head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.875rem;
}

.prs-account-ref {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.prs-account-explain {
	margin: 0 0 1rem;
	color: var(--color-ink-soft, #5b5b5b);
}

.prs-account-request,
.prs-account-message {
	margin-bottom: 1rem;
	padding: 1rem;
	border-radius: 0.75rem;
	background: var(--color-surface-alt, #faf7f5);
}

.prs-account-request {
	background: #fef3c7;
	color: #713f12;
}

.prs-account-request p,
.prs-account-message p {
	margin: 0;
}

.prs-account-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: 0.75rem 1.5rem;
	margin: 0;
}

.prs-account-facts dt {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-ink-soft, #6b6b6b);
}

.prs-account-facts dd {
	margin: 0.125rem 0 0;
}

.prs-account-invite {
	padding: 2rem 1.5rem;
	border: 1px dashed var(--color-line, #e5e0dd);
	border-radius: var(--radius-lg, 1rem);
	text-align: center;
}

.prs-account-invite__list {
	display: grid;
	gap: 0.375rem;
	margin: 1rem auto 1.5rem;
	padding: 0;
	max-width: 28rem;
	list-style: none;
	color: var(--color-ink-soft, #5b5b5b);
	font-size: 0.9375rem;
}

.prs-account-answers summary {
	cursor: pointer;
	font-weight: 600;
}

.prs-account-answers .prs-account-facts {
	margin-top: 1rem;
}

.prs-thread {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.prs-thread__item {
	padding: 0.875rem 1rem;
	border-radius: 0.75rem;
	background: var(--color-surface-alt, #faf7f5);
}

.prs-thread__item--mine {
	background: var(--color-surface, #fff);
	border: 1px solid var(--color-line, #e5e0dd);
}

.prs-thread__who {
	margin: 0 0 0.25rem;
	font-size: 0.8125rem;
	font-weight: 700;
}

.prs-thread__body {
	margin: 0;
}

.prs-thread__when {
	margin: 0.375rem 0 0;
	font-size: 0.75rem;
	color: var(--color-ink-soft, #6b6b6b);
}

.prs-reply {
	display: grid;
	gap: 0.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--color-line, #e5e0dd);
}

.prs-reply button {
	justify-self: start;
	margin-top: 0.5rem;
}

.prs-files {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.prs-file-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	align-items: baseline;
	justify-content: space-between;
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--color-line, #e5e0dd);
	border-radius: 0.625rem;
}

.prs-file-row__meta {
	font-size: 0.8125rem;
	color: var(--color-ink-soft, #6b6b6b);
}

.prs-reseller-links {
	display: grid;
	gap: 0.75rem;
	margin-top: 1rem;
}

.prs-reseller-link {
	display: grid;
	gap: 0.125rem;
	padding: 0.875rem 1rem;
	border: 1px solid var(--color-line, #e5e0dd);
	border-radius: 0.75rem;
	text-decoration: none;
	color: inherit;
}

.prs-reseller-link:hover,
.prs-reseller-link:focus-visible {
	background: var(--color-surface-alt, #faf7f5);
}

.prs-reseller-link span {
	font-size: 0.875rem;
	color: var(--color-ink-soft, #5b5b5b);
}

.prs-notice {
	margin-bottom: 1rem;
	padding: 0.875rem 1rem;
	border-radius: 0.625rem;
	font-size: 0.9375rem;
}

.prs-notice--ok {
	background: #dcfce7;
	color: #14532d;
}

.prs-notice--bad {
	background: #fee2e2;
	color: #7f1d1d;
}

/* Status pills, matching the dashboard's six tones. */

.prs-status {
	display: inline-flex;
	align-items: center;
	padding: 0.3125rem 0.6875rem;
	border-radius: 999px;
	background: #f1f0ef;
	color: #3f3b39;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.prs-status--ok { background: #dcfce7; color: #14532d; }
.prs-status--warn { background: #fef3c7; color: #713f12; }
.prs-status--bad { background: #fee2e2; color: #7f1d1d; }
.prs-status--info { background: #dbeafe; color: #1e3a8a; }
.prs-status--brand { background: #fce7f3; color: #831843; }

/* -------------------------------------------------------------------------
 * Wider screens
 * ---------------------------------------------------------------------- */

@media (min-width: 40rem) {
	.prs-form {
		padding: 2rem;
	}

	.prs-grid {
		grid-template-columns: 1fr 1fr;
	}

	.prs-field--wide {
		grid-column: 1 / -1;
	}

	.prs-benefits__grid {
		grid-template-columns: 1fr 1fr;
	}

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

	.prs-choices {
		grid-template-columns: 1fr 1fr;
	}

	.prs-reseller-links {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 56rem) {
	.prs-benefits__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 72rem) {
	.prs-benefits__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 60rem) {
	.prs-choices {
		grid-template-columns: repeat(3, 1fr);
	}

	.prs-progress__list {
		display: flex;
		gap: 0.5rem;
		margin: 0 0 1rem;
		padding: 0;
		list-style: none;
	}

	.prs-progress__item {
		display: flex;
		flex: 1;
		gap: 0.5rem;
		align-items: center;
		font-size: 0.875rem;
		color: var(--prs-soft);
	}

	.prs-progress__dot {
		display: flex;
		flex: 0 0 1.75rem;
		align-items: center;
		justify-content: center;
		width: 1.75rem;
		height: 1.75rem;
		border: 1px solid var(--prs-line);
		border-radius: 999px;
		font-size: 0.8125rem;
		font-weight: 700;
	}

	.prs-progress__item.is-current {
		color: var(--prs-ink);
		font-weight: 600;
	}

	.prs-progress__item.is-current .prs-progress__dot,
	.prs-progress__item.is-done .prs-progress__dot {
		border-color: var(--prs-ink);
		background: var(--prs-ink);
		color: #fff;
	}
}

/* Someone who asked for less motion gets less motion. */
@media (prefers-reduced-motion: reduce) {
	.prs-progress__bar span,
	.prs-button {
		transition: none;
	}
}


/* -------------------------------------------------------------------------
 * Standing up to the theme's editorial styles
 *
 * The reseller page has its own full-width template, so none of this applies
 * there. It matters when somebody drops [reseller_application] into an
 * ordinary page: that content is wrapped in `.pon-prose`, whose rules are
 * element-qualified — `.pon-prose ul`, `.pon-prose h2` — and therefore beat a
 * single class of ours. Bullets appeared beside every benefit card, and the
 * card titles took editorial heading sizing.
 *
 * The fix is specificity, not !important: each rule is restated one level
 * deeper so it wins on its own merits and can still be overridden by anyone
 * who means to.
 * ---------------------------------------------------------------------- */

.prs ul[class],
.prs ol[class],
.prs-account-panel ul[class],
.prs-account-invite ul[class] {
	margin: 0;
	padding: 0;
	list-style: none;
}

.prs .prs-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 7vw, 3.25rem);
	line-height: 1.1;
}

.prs .prs-section__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 4vw, 2rem);
	line-height: 1.2;
}

.prs .prs-benefit__title,
.prs .prs-step__title {
	margin: 0 0 0.375rem;
	font-family: inherit;
	font-size: 1.0625rem;
	line-height: 1.35;
}

.prs .prs-step-panel__title {
	font-family: inherit;
	font-size: 1.25rem;
	line-height: 1.3;
}

/* `.pon-prose a` underlines every link, including the ones that are buttons. */
.prs .prs-button,
.prs-account-panel .prs-button,
.prs-account-invite .prs-button {
	text-decoration: none;
}

/* `.pon-prose p` carries its own vertical rhythm, which doubles the gaps. */
.prs .prs-benefit__text,
.prs .prs-step__text,
.prs .prs-hint {
	margin-block: 0;
}

.prs .prs-hint {
	margin-top: 0.4375rem;
}
