/*
 * Landing page styles (front page only). Tokens, fonts, buttons and the
 * site chrome live in style.css; this file holds the sections, the agenda
 * sheets, the calculator, the form and the sticky CTA.
 */

/* ============================================================
   Sections and heading blocks
   ============================================================ */
.pfc-section { padding-block: var(--pfc-section-pad); }

.pfc-section--tint { background: var(--pfc-bg-tint); }

/* A single 1px rule inside the container separates same-background sections. */
.pfc-section--ruled { padding-top: 0; }

.pfc-section--ruled > .pfc-container {
	border-top: 1px solid var(--pfc-border);
	padding-top: var(--pfc-section-pad);
}

.pfc-section__head {
	max-width: var(--pfc-text);
	margin-bottom: 2.5rem;
}

.pfc-kicker {
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--pfc-ink-soft);
	margin-bottom: 0.75rem;
}

.pfc-section__lead {
	margin-top: 1rem;
	font-size: var(--fs-lead);
	line-height: 1.45;
	color: var(--pfc-ink-soft);
}

.pfc-section__body { margin-top: 1rem; }

@media (min-width: 960px) {
	.pfc-section__head { margin-bottom: 3.5rem; }

	/* The notebook margin stroke is the only ornament above a title. */
	.pfc-section__head::before {
		content: "";
		display: block;
		width: 1px;
		height: 40px;
		margin-bottom: 20px;
		background: var(--pfc-brand);
	}
}

/* ============================================================
   Hero
   ============================================================ */
.pfc-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 6rem) clamp(3rem, 2rem + 4vw, 6rem); }

.pfc-hero__grid {
	display: grid;
	gap: 2.5rem;
}

.pfc-hero__title { margin-top: 0.75rem; }

.pfc-hero__lead {
	margin-top: 1.25rem;
	font-size: var(--fs-lead);
	line-height: 1.45;
	color: var(--pfc-ink-soft);
	max-width: 52ch;
}

.pfc-hero__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 1.75rem;
}

.pfc-hero__actions .pfc-btn { width: 100%; }

.pfc-hero__trust {
	margin-top: 1.25rem;
	font-size: var(--fs-sm);
	color: var(--pfc-ink-soft);
	max-width: 50ch;
}

.pfc-hero__wa {
	margin-top: 1rem;
	font-size: var(--fs-sm);
}

.pfc-hero__wa a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	font-weight: 500;
}

.pfc-hero .pfc-sheet { max-width: 480px; }

@media (min-width: 600px) {
	.pfc-hero__actions {
		flex-direction: row;
		align-items: center;
		gap: 1.5rem;
	}

	.pfc-hero__actions .pfc-btn { width: auto; }
}

@media (min-width: 960px) {
	.pfc-hero__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 32px;
		align-items: start;
	}

	/* Seven columns so the 72px H1 settles in three lines; the sheet keeps 8–12. */
	.pfc-hero__text { grid-column: 1 / 8; }

	/* The sheet hangs from the top of the H1, 24px lower. */
	.pfc-hero .pfc-sheet {
		grid-column: 8 / 13;
		max-width: 440px;
		margin-top: calc(2.25rem + 24px);
	}
}

/* ============================================================
   Agenda sheet (hero, step 3 and the form share the surface)
   ============================================================ */
.pfc-sheet {
	position: relative;
	background: var(--pfc-surface);
	border: 1px solid var(--pfc-border);
	border-radius: var(--r-lg);
	box-shadow: var(--pfc-shadow-sheet);
	overflow: hidden;
}

/* The margin line, 1px of blue ink 56px from the left edge. */
.pfc-sheet::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--pfc-margin);
	width: 1px;
	background: var(--pfc-brand);
	pointer-events: none;
}

.pfc-sheet__title {
	font-family: var(--pfc-font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 1.25rem;
	padding: 18px 20px 12px calc(var(--pfc-margin) + 16px);
	border-bottom: 1px solid var(--pfc-border);
}

.pfc-sheet__table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: var(--fs-sm);
}

.pfc-sheet__table td {
	height: 56px;
	padding: 0;
	border-bottom: 1px solid var(--pfc-border);
	vertical-align: middle;
	overflow-wrap: anywhere;
}

.pfc-sheet__table .pfc-sheet__time {
	width: var(--pfc-margin);
	padding-right: 10px;
	text-align: right;
	color: var(--pfc-ink-soft);
	font-weight: 500;
	font-variant-numeric: tabular-nums lining-nums;
}

.pfc-sheet__table .pfc-sheet__name {
	padding: 6px 12px 6px 16px;
	font-weight: 500;
}

.pfc-sheet__note {
	display: none;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--pfc-ink-soft);
}

tr[data-state="cancelo"] .pfc-sheet__note { display: block; }

.pfc-sheet__table .pfc-state {
	padding-right: 20px;
	text-align: right;
	white-space: normal;
	font-weight: 600;
}

.pfc-sheet__summary {
	padding: 14px 20px 0 calc(var(--pfc-margin) + 16px);
	font-size: var(--fs-sm);
	font-weight: 500;
}

.pfc-sheet__foot {
	padding: 6px 20px 18px calc(var(--pfc-margin) + 16px);
	font-size: 0.875rem;
	color: var(--pfc-ink-soft);
}

@media (max-width: 599px) {
	.pfc-sheet__table td { height: 52px; }
}

/* Step 3 mini sheet: same partial, smaller scale, no animation. */
.pfc-sheet--mini {
	max-width: 360px;
	margin-top: 1.25rem;
	font-size: 0.875rem;
}

.pfc-sheet--mini .pfc-sheet__title {
	font-size: 1.0625rem;
	padding: 12px 16px 8px calc(var(--pfc-margin) + 12px);
}

.pfc-sheet--mini .pfc-sheet__table td { height: 48px; }

.pfc-sheet--mini .pfc-sheet__table tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------
   Semaphore: always a shape AND a word. Confirmó = filled green dot,
   Sin respuesta = hollow amber ring, Canceló = red dot with a white slash.
   State is read from the row's data-state; the modifier classes are
   honoured too so the JS can use either.
   ------------------------------------------------------------ */
.pfc-state__dot {
	position: relative;
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 8px;
	border: 2px solid transparent;
	border-radius: 50%;
	overflow: hidden;
	vertical-align: middle;
	transition: opacity 110ms ease;
}

.pfc-state__label {
	vertical-align: middle;
	transition: opacity 110ms ease, transform 110ms ease;
}

tr[data-state="ok"] .pfc-state__dot,
.pfc-state--ok .pfc-state__dot,
.pfc-state__dot--ok {
	background: var(--pfc-ok-fill);
	border-color: var(--pfc-ok-fill);
}

tr[data-state="ok"] .pfc-state__label,
.pfc-state--ok .pfc-state__label,
.pfc-state--ok { color: var(--pfc-ok); }

tr[data-state="pendiente"] .pfc-state__dot,
.pfc-state--pendiente .pfc-state__dot,
.pfc-state__dot--pendiente {
	background: transparent;
	border-color: var(--pfc-warn);
}

tr[data-state="pendiente"] .pfc-state__label,
.pfc-state--pendiente .pfc-state__label,
.pfc-state--pendiente { color: var(--pfc-warn); }

tr[data-state="cancelo"] .pfc-state__dot,
.pfc-state--cancelo .pfc-state__dot,
.pfc-state__dot--cancelo {
	background: var(--pfc-danger-fill);
	border-color: var(--pfc-danger-fill);
}

tr[data-state="cancelo"] .pfc-state__dot::after,
.pfc-state--cancelo .pfc-state__dot::after,
.pfc-state__dot--cancelo::after {
	content: "";
	position: absolute;
	left: -3px;
	top: 50%;
	width: 12px;
	height: 1.5px;
	margin-top: -1px;
	background: #fff;
	transform: rotate(-45deg);
}

tr[data-state="cancelo"] .pfc-state__label,
.pfc-state--cancelo .pfc-state__label,
.pfc-state--cancelo { color: var(--pfc-danger); }

/* Crossfade while the JS resolves a row (class added for ~220ms). */
.is-swapping .pfc-state__dot { opacity: 0; }

.is-swapping .pfc-state__label {
	opacity: 0;
	transform: translateY(4px);
}

/* ============================================================
   Problema + calculadora
   ============================================================ */
.pfc-calc {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	padding: clamp(1.25rem, 1rem + 2vw, 2.5rem) clamp(1.25rem, 1rem + 2vw, 2.5rem) clamp(1.25rem, 1rem + 2vw, 2.5rem) calc(var(--pfc-margin) + 16px);
}

.pfc-calc__controls,
.pfc-calc__result-col { min-width: 0; }

.pfc-calc__group + .pfc-calc__group { margin-top: 1.5rem; }

.pfc-calc__row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.pfc-calc__label {
	font-size: var(--fs-sm);
	font-weight: 500;
}

.pfc-calc__number {
	width: 5ch;
	padding: 0 2px 2px;
	border: 0;
	border-bottom: 1px solid var(--pfc-border-strong);
	border-radius: 0;
	background: transparent;
	color: var(--pfc-ink);
	font-family: var(--pfc-font-display);
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1.2;
	text-align: right;
	font-variant-numeric: tabular-nums lining-nums;
	-moz-appearance: textfield;
	appearance: textfield;
}

.pfc-calc__number::-webkit-outer-spin-button,
.pfc-calc__number::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pfc-calc__number:focus-visible {
	border-bottom: 2px solid var(--pfc-brand);
	padding-bottom: 1px;
}

#calc-valor { width: 8ch; }

/* Range: 2px track with the travelled part in ink (--fill set by JS), 24px thumb on a 44px touch area. */
.pfc-calc__range {
	--fill: 0%;
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 44px;
	margin: 4px 0 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
}

.pfc-calc__range::-webkit-slider-runnable-track {
	height: 2px;
	border-radius: 1px;
	background: linear-gradient(to right, var(--pfc-brand) 0 var(--fill), var(--pfc-border-strong) var(--fill) 100%);
}

.pfc-calc__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 24px;
	height: 24px;
	margin-top: -11px;
	border: 2px solid var(--pfc-brand);
	border-radius: 50%;
	background: var(--pfc-surface);
	transition: background-color var(--pfc-t);
}

.pfc-calc__range::-moz-range-track {
	height: 2px;
	border-radius: 1px;
	background: var(--pfc-border-strong);
}

.pfc-calc__range::-moz-range-progress {
	height: 2px;
	border-radius: 1px;
	background: var(--pfc-brand);
}

.pfc-calc__range::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border: 2px solid var(--pfc-brand);
	border-radius: 50%;
	background: var(--pfc-surface);
}

.pfc-calc__range:hover::-webkit-slider-thumb { background: var(--pfc-brand-soft); }

.pfc-calc__range:hover::-moz-range-thumb { background: var(--pfc-brand-soft); }

.pfc-calc__result {
	display: block;
	max-width: 60ch;
}

.pfc-calc__lead {
	font-size: var(--fs-base);
	color: var(--pfc-ink-soft);
}

/* The big figure sits on its own line inside the sentence. */
.pfc-figure {
	display: block;
	margin: 0.35rem 0 0.5rem;
	font-family: var(--pfc-font-display);
	/* Viewport cap keeps the amount on one line at 200% text size on phones. */
	font-size: min(var(--fs-figure), 13vw);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.01em;
	color: var(--pfc-brand);
	font-variant-numeric: tabular-nums lining-nums;
}

.pfc-calc__detail { margin-top: 1rem; }

.pfc-calc__recover {
	margin-top: 0.75rem;
	font-weight: 500;
}

.pfc-calc__note {
	margin-top: 1.25rem;
	font-family: var(--pfc-font-display);
	font-style: italic;
	font-size: var(--fs-sm);
	color: var(--pfc-ink-soft);
	max-width: 60ch;
}

.pfc-calc__cta { margin-top: 1.5rem; }

@media (min-width: 760px) {
	.pfc-calc {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		column-gap: 0;
		align-items: start;
	}

	.pfc-calc__result-col {
		border-left: 1px solid var(--pfc-border);
		padding-left: clamp(1.5rem, 1rem + 2vw, 2.5rem);
		margin-left: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	}
}

/* ============================================================
   Cómo funciona (a real sequence, so it gets numerals)
   ============================================================ */
.pfc-steps {
	list-style: none;
	padding: 0;
}

/* Mobile: numeral and icon in the 56px margin column, text beside them, the
   example (chat or mini sheet) on its own full-width row underneath. */
.pfc-step {
	display: grid;
	grid-template-columns: var(--pfc-margin) minmax(0, 1fr);
	grid-template-rows: max-content 1fr auto;
	grid-template-areas:
		"num body"
		"icon body"
		"extra extra";
	column-gap: 16px;
	padding-block: 1.75rem;
	border-top: 1px solid var(--pfc-border);
}

.pfc-step__extra { grid-area: extra; }

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

.pfc-step__num {
	grid-area: num;
	font-family: var(--pfc-font-display);
	font-size: 3rem;
	font-weight: 400;
	line-height: 1;
	color: var(--pfc-brand);
	font-variant-numeric: lining-nums;
}

.pfc-step__icon {
	grid-area: icon;
	width: 28px;
	height: 28px;
	margin-top: 14px;
	color: var(--pfc-brand);
}

.pfc-step__body { grid-area: body; }

.pfc-step__body > p { margin-top: 0.5rem; }

.pfc-pasos__note {
	margin-top: 2.5rem;
	padding-left: 20px;
	border-left: 2px solid var(--pfc-brand);
	max-width: 60ch;
}

@media (min-width: 960px) {
	.pfc-steps {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 32px;
		border-top: 1px solid var(--pfc-border);
	}

	.pfc-step {
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		grid-template-areas:
			"num icon"
			"body body"
			"extra extra";
		align-content: start; /* keep natural row heights when the columns stretch */
		align-items: center;
		padding-top: 2rem;
		border-top: 0;
	}

	.pfc-step:last-child { border-bottom: 0; }

	.pfc-step__icon {
		margin: 0 0 0 16px;
		align-self: center;
	}

	.pfc-step__body { margin-top: 1.25rem; }
}

/* Patient chat example (step 2): bubbles in blue ink, no WhatsApp green. */
.pfc-chat {
	display: grid;
	gap: 8px;
	max-width: 420px;
	margin-top: 1.25rem;
}

.pfc-chat__caption {
	font-size: var(--fs-sm);
	color: var(--pfc-ink-soft);
	margin-bottom: 4px;
}

.pfc-chat__msg,
.pfc-chat__reply {
	padding: 12px 14px;
	border-radius: 14px;
	font-size: var(--fs-sm);
	line-height: 1.45;
}

.pfc-chat__msg {
	justify-self: start;
	max-width: 92%;
	background: var(--pfc-brand);
	color: #fff;
	border-bottom-left-radius: 4px;
}

.pfc-chat__from {
	display: block;
	margin-bottom: 4px;
	font-size: var(--fs-xs);
	font-weight: 600;
}

.pfc-chat__reply {
	justify-self: end;
	background: var(--pfc-brand-soft);
	border: 1px solid var(--pfc-border);
	color: var(--pfc-ink);
	font-weight: 500;
	border-bottom-right-radius: 4px;
}

.pfc-chat p { max-width: none; }

/* ============================================================
   Para quién: a two-column list with rules, no chips, no icons
   ============================================================ */
.pfc-rubros__list {
	list-style: none;
	padding: 0;
	display: grid;
	border-top: 1px solid var(--pfc-border);
}

.pfc-rubros__item {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--pfc-border);
}

.pfc-rubros__item p {
	margin-top: 0.5rem;
	max-width: 48ch;
}

.pfc-rubros__other {
	margin-top: 1.5rem;
	font-weight: 500;
}

@media (min-width: 760px) {
	.pfc-rubros__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 48px;
	}
}

/* ============================================================
   Piloto: the one inverted block
   ============================================================ */
.pfc-piloto__block {
	position: relative;
	padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
	border-radius: var(--r-lg);
	background: var(--pfc-brand);
	color: #fff;
}

.pfc-piloto__block .pfc-kicker { color: var(--pfc-inverted-soft); }

.pfc-piloto__block h2 { color: #fff; }

.pfc-piloto__body { margin-top: 1rem; }

.pfc-piloto__list {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.75rem;
	max-width: 60ch;
	margin-top: 1.5rem;
}

.pfc-piloto__list li {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	column-gap: 12px;
	align-items: start;
}

.pfc-piloto__list .pfc-icon {
	width: 20px;
	height: 20px;
	margin-top: 0.2em;
}

.pfc-piloto__cta { margin-top: 2rem; }

.pfc-piloto__fine {
	margin-top: 1.25rem;
	font-size: var(--fs-sm);
	color: var(--pfc-inverted-soft);
}

.pfc-piloto__block a:not(.pfc-btn) { color: #fff; }

.pfc-piloto__block :focus-visible { outline-color: #fff; }

/* ============================================================
   FAQ: native details/summary
   ============================================================ */
.pfc-faq__list {
	max-width: var(--pfc-text);
	border-top: 1px solid var(--pfc-border);
}

.pfc-faq__item { border-bottom: 1px solid var(--pfc-border); }

.pfc-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding: 14px 0;
	list-style: none;
	cursor: pointer;
	font-size: var(--fs-h3);
	font-weight: 600;
	line-height: 1.3;
}

.pfc-faq__item summary::-webkit-details-marker { display: none; }

.pfc-faq__item summary:hover { color: var(--pfc-brand); }

.pfc-faq__q {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.pfc-faq__lock {
	width: 18px;
	height: 18px;
	color: var(--pfc-brand);
}

.pfc-faq__plus {
	width: 20px;
	height: 20px;
	color: var(--pfc-brand);
	transition: transform 220ms ease-out;
}

.pfc-faq__item[open] .pfc-faq__plus { transform: rotate(45deg); }

.pfc-faq__body {
	padding: 0 0 1.25rem;
	max-width: 60ch;
}

@supports selector(::details-content) {
	.pfc-faq__item {
		interpolate-size: allow-keywords;
	}

	.pfc-faq__item::details-content {
		block-size: 0;
		overflow-y: clip;
		transition: block-size 220ms ease-out, content-visibility 220ms allow-discrete;
	}

	.pfc-faq__item[open]::details-content { block-size: auto; }
}

/* ============================================================
   Lista de espera: the form sheet
   ============================================================ */
.pfc-sheet--form {
	max-width: var(--pfc-form);
	padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
	overflow: visible;
}

.pfc-sheet--form::before { display: none; }

@media (min-width: 600px) {
	.pfc-sheet--form { padding-left: calc(var(--pfc-margin) + 24px); }

	.pfc-sheet--form::before { display: block; }
}

.pfc-form {
	display: grid;
	gap: 20px;
}

.pfc-field {
	display: grid;
	gap: 6px;
}

.pfc-field__label {
	font-size: var(--fs-sm);
	font-weight: 500;
}

.pfc-field input:not([type="checkbox"]),
.pfc-field select {
	width: 100%;
	min-height: 52px;
	padding: 0 14px;
	border: 1px solid var(--pfc-border-strong);
	border-radius: var(--r-sm);
	background: var(--pfc-surface);
	color: var(--pfc-ink);
	font-size: 1.0625rem; /* ≥16px so iOS does not zoom */
	line-height: 1.3;
}

.pfc-field input::placeholder { color: var(--pfc-ink-soft); }

.pfc-select { position: relative; }

.pfc-select select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 44px;
	cursor: pointer;
}

.pfc-select__chevron {
	position: absolute;
	right: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	color: var(--pfc-ink-soft);
	pointer-events: none;
}

.pfc-field__hint {
	font-size: var(--fs-sm);
	color: var(--pfc-ink-soft);
}

.pfc-field__error {
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--pfc-danger);
}

.pfc-field input[aria-invalid="true"],
.pfc-field select[aria-invalid="true"] {
	border: 2px solid var(--pfc-danger);
	padding-inline: 13px;
}

/* Consent: native checkbox drawn as a 22px box with a tick. */
.pfc-check {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	column-gap: 12px;
	align-items: start;
	font-size: var(--fs-sm);
	line-height: 1.45;
	cursor: pointer;
}

.pfc-check input {
	-webkit-appearance: none;
	appearance: none;
	display: grid;
	place-content: center;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	border: 1px solid var(--pfc-border-strong);
	border-radius: var(--r-sm);
	background: var(--pfc-surface);
	cursor: pointer;
	transition: background-color var(--pfc-t), border-color var(--pfc-t);
}

.pfc-check input::after {
	content: "";
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) translate(-1px, -1px);
	opacity: 0;
}

.pfc-check input:checked {
	background: var(--pfc-brand);
	border-color: var(--pfc-brand);
}

.pfc-check input:checked::after { opacity: 1; }

.pfc-check input[aria-invalid="true"] { border: 2px solid var(--pfc-danger); }

.pfc-check span { max-width: none; }

/* Honeypot: off-screen, never display:none. */
.pfc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pfc-form__errors {
	padding: 14px 16px;
	border: 2px solid var(--pfc-danger);
	border-radius: var(--r-sm);
	color: var(--pfc-danger);
	font-size: var(--fs-sm);
	font-weight: 500;
}

.pfc-form__errors ul {
	margin: 0.5rem 0 0;
	padding-left: 1.2rem;
	font-weight: 400;
}

.pfc-form__errors a { color: var(--pfc-danger); }

.pfc-form__status {
	font-size: var(--fs-sm);
	max-width: none;
}

.pfc-form__status:empty { display: none; }

#pfc-submit { min-height: 56px; }

.pfc-form__alt {
	text-align: center;
	font-size: var(--fs-sm);
	max-width: none;
}

.pfc-form__alt a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	font-weight: 500;
}

.pfc-form__noscript {
	padding-left: 16px;
	border-left: 2px solid var(--pfc-brand);
	font-size: var(--fs-sm);
	max-width: none;
}

/* Success panel: the tick draws itself once when the panel appears. */
.pfc-success {
	padding: 1rem 0;
	text-align: center;
}

.pfc-success__tick {
	width: 64px;
	height: 64px;
	color: var(--pfc-ok);
	stroke-width: 3;
}

.pfc-success__tick path {
	stroke-dasharray: 100;
	stroke-dashoffset: 0;
}

.pfc-success:not([hidden]) .pfc-success__tick path { animation: pfc-draw 500ms ease-out both; }

@keyframes pfc-draw {
	from { stroke-dashoffset: 100; }
	to { stroke-dashoffset: 0; }
}

.pfc-success__title {
	margin-top: 1rem;
	font-family: var(--pfc-font-display);
	font-size: var(--fs-h2);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.015em;
}

.pfc-success p {
	margin: 1rem auto 0;
	max-width: 44ch;
}

.pfc-success .pfc-btn { margin-top: 1.5rem; }

/* ============================================================
   Sticky CTA (<960px): slides up when the hero CTA leaves the screen
   ============================================================ */
/* landing.js clears `hidden`, then adds .is-visible on the next frame
   (and removes it 200ms before hiding again), so the slide keys on the class. */
.pfc-sticky {
	position: fixed;
	inset: auto 0 0;
	z-index: 50;
	padding: 10px var(--pfc-gutter) calc(10px + env(safe-area-inset-bottom));
	background: var(--pfc-bg);
	border-top: 1px solid var(--pfc-border);
	transform: translateY(100%);
	transition: transform 200ms ease-out;
}

.pfc-sticky.is-visible { transform: none; }

body.has-sticky { padding-bottom: calc(73px + env(safe-area-inset-bottom)); }

@media (min-width: 960px) {
	.pfc-sticky { display: none !important; }

	body.has-sticky { padding-bottom: 0; }
}
