/*
 * BIMAV customer pages (mina.*) and passport pages (pass.*).
 *
 * Mobile first: one column, large touch targets (48 px and up), high contrast.
 * Everything is driven by classes; the pages carry no inline styles.
 */

:root {
	--bg: #f4f6f8;
	--surface: #ffffff;
	--ink: #14181d;
	--muted: #5b6672;
	--brand: #199cdb;
	--brand-strong: #0b6fa3;
	--brand-deep: #095a85;
	--header: #14181d;
	--ok: #1a7f4b;
	--ok-ink: #146c3e;
	--warn: #b76e00;
	--warn-ink: #7a4a00;
	--problem: #c0392b;
	--line: #d9dfe5;
	--edge: #7b8794;
	--ok-bg: #e8f5ee;
	--warn-bg: #fdf3e0;
	--problem-bg: #fdecea;
	--info-bg: #e8f4fb;
	--radius: 14px;
	--radius-small: 10px;
	--touch: 3rem;
}

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

html {
	font-size: 106.25%; /* 17 px at the usual browser setting */
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	/* Keeps a focused field clear of the sticky booking bar. */
	scroll-padding-bottom: 7rem;
	scroll-padding-top: 1rem;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.5;
}

[hidden] {
	display: none !important;
}

.wrap {
	width: 100%;
	max-width: 38rem;
	margin-inline: auto;
	padding-inline: 1rem;
}

main {
	flex: 1;
	padding-block: 1.5rem 3rem;
}

main:focus {
	outline: none;
}

h1,
h2,
h3 {
	line-height: 1.2;
	margin: 0 0 0.5rem;
	text-wrap: balance;
}

h1 {
	font-size: 1.75rem;
	letter-spacing: -0.01em;
}

h2 {
	font-size: 1.25rem;
}

h3 {
	font-size: 1.05rem;
	margin-top: 1.25rem;
}

p {
	margin: 0 0 0.75rem;
}

a {
	color: var(--brand-strong);
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--brand-deep);
}

:focus-visible {
	outline: 3px solid var(--brand-strong);
	outline-offset: 2px;
}

/* Containers that only receive focus so that the page opens at the right place. */
section[data-focus]:focus {
	outline: none;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.nowrap {
	white-space: nowrap;
}

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

.lead {
	font-size: 1.1rem;
	color: var(--muted);
	margin-bottom: 1rem;
}

.eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
}

.hint {
	font-size: 0.9rem;
	color: var(--muted);
	margin: 0.25rem 0 0.5rem;
}

.terms,
.aside {
	font-size: 0.9rem;
	color: var(--muted);
}

.aside {
	margin-top: 1.5rem;
	text-align: center;
}

.empty {
	color: var(--muted);
}

.plain {
	list-style: none;
	margin: 0;
	padding: 0;
}

.spaced li + li {
	margin-top: 0.6rem;
}

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

/* The staging environment says what it is at the top of every page. */
.test-environment {
	margin: 0;
	padding: 0.6rem 1rem;
	border-bottom: 2px solid var(--warn);
	background: var(--warn-bg);
	color: var(--warn-ink);
	font-size: 0.9rem;
	text-align: center;
}

.skip-link {
	position: absolute;
	left: 0.5rem;
	top: -4rem;
	z-index: 20;
	padding: 0.75rem 1rem;
	border-radius: var(--radius-small);
	background: var(--surface);
	color: var(--ink);
	font-weight: 600;
}

.skip-link:focus {
	top: 0.5rem;
}

.site-header {
	background: var(--header);
	color: #fff;
}

.header-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	min-height: 3.5rem;
}

.wordmark {
	display: inline-flex;
	align-items: center;
	min-height: var(--touch);
	color: #fff;
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-decoration: none;
}

.wordmark:hover {
	color: #fff;
}

.site-nav {
	display: flex;
	align-items: center;
	margin-right: -0.6rem;
}

.site-nav form {
	margin: 0;
}

.site-nav a,
.site-nav button {
	display: inline-flex;
	align-items: center;
	min-height: var(--touch);
	padding: 0 0.6rem;
	border: 0;
	border-radius: var(--radius-small);
	background: none;
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.site-nav a:hover,
.site-nav button:hover {
	color: #fff;
	text-decoration: underline;
}

.site-header :focus-visible {
	outline-color: #fff;
}

.site-footer {
	padding-block: 1.5rem 2rem;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9rem;
}

.site-footer p {
	margin: 0 0 0.25rem;
}

.site-footer a {
	display: inline-block;
	padding-block: 0.35rem;
}

.footer-brand {
	color: var(--ink);
	font-weight: 800;
	letter-spacing: 0.1em;
}

.footer-brand span {
	margin-left: 0.5rem;
	color: var(--muted);
	font-weight: 400;
	letter-spacing: 0;
}

/* ----------------------------------------------------------------- Cards */

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

.card > :first-child {
	margin-top: 0;
}

.card > :last-child {
	margin-bottom: 0;
}

.message h1 {
	font-size: 1.5rem;
}

.prose > :last-child {
	margin-bottom: 0;
}

.message-ok {
	border-top: 5px solid var(--ok);
}

.message-problem {
	border-top: 5px solid var(--problem);
}

.chosen {
	margin-block: 0.5rem 1rem;
	padding: 0.9rem 1rem;
	border-radius: var(--radius-small);
	background: var(--info-bg);
}

.chosen p {
	margin-bottom: 0.25rem;
}

.chosen-title {
	font-size: 1.1rem;
	font-weight: 700;
}

.chosen .chosen-note {
	margin-top: 0.5rem;
}

.plate {
	display: inline-block;
	padding: 0.05rem 0.55rem;
	border: 1.5px solid var(--ink);
	border-radius: 6px;
	background: var(--surface);
	color: var(--ink);
	font-weight: 700;
	letter-spacing: 0.08em;
}

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

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--touch);
	padding: 0.5rem 1.25rem;
	border: 2px solid transparent;
	border-radius: 12px;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.button.primary {
	background: var(--brand-strong);
	color: #fff;
}

.button.primary:hover {
	background: var(--brand-deep);
	color: #fff;
}

.button.secondary {
	border-color: var(--brand-strong);
	background: var(--surface);
	color: var(--brand-strong);
}

.button.secondary:hover {
	background: var(--info-bg);
}

.button.quiet {
	background: none;
	color: var(--brand-strong);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.button.danger {
	background: var(--problem);
	color: #fff;
}

.button.danger:hover {
	background: #a33024;
}

.button-large {
	width: 100%;
	min-height: 3.5rem;
	font-size: 1.1rem;
}

.button-small {
	flex: none;
	padding-inline: 1rem;
}

.button[aria-disabled="true"] {
	opacity: 0.6;
	cursor: progress;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.actions:empty {
	display: none;
}

.actions .button {
	flex: 1 1 12rem;
}

.actions + .terms,
.actions + .hint {
	margin-top: 0.9rem;
}

.actions-stack {
	flex-direction: column;
}

.actions-stack .button {
	flex: none;
	width: 100%;
}

/* Start page */

.choices {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
}

.choice-card {
	display: block;
	padding: 1.5rem 1.25rem;
	border: 2px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
}

.choice-card:hover {
	border-color: var(--brand-strong);
	color: var(--ink);
}

.choice-primary,
.choice-primary:hover {
	border-color: var(--brand-strong);
	background: var(--brand-strong);
	color: #fff;
}

.choice-primary:hover {
	background: var(--brand-deep);
}

.choice-title {
	display: block;
	font-size: 1.35rem;
	font-weight: 700;
}

.choice-text {
	display: block;
	margin-top: 0.3rem;
}

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

fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

legend {
	padding: 0;
	font-weight: 700;
}

.field {
	margin-block: 1.1rem;
}

label,
.label {
	font-weight: 700;
}

/* The label of a text field stands on its own line (labels that wrap a radio button or a tick box do not). */
.field > label[for] {
	display: block;
}

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

.input {
	display: block;
	width: 100%;
	min-height: var(--touch);
	margin-top: 0.3rem;
	padding: 0.6rem 0.85rem;
	border: 1.5px solid var(--edge);
	border-radius: var(--radius-small);
	background: var(--surface);
	color: var(--ink);
	font: inherit;
}

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

.input-reg {
	max-width: 12rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.input-code {
	max-width: 12rem;
	font-size: 1.5rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.25em;
	text-align: center;
}

.has-error .input {
	border: 2px solid var(--problem);
}

.field-error {
	margin: 0.25rem 0 0;
	color: var(--problem);
	font-weight: 700;
}

.field-row {
	display: grid;
	gap: 1.1rem 1rem;
	margin-block: 1.1rem;
}

.field-row > .field {
	margin-block: 0;
}

.recall {
	min-height: 0;
	margin: -0.5rem 0 0;
	color: var(--ok);
	font-size: 0.9rem;
	font-weight: 600;
}

.recall:empty {
	display: none;
}

.error-summary {
	margin-block: 1rem;
	padding: 1rem 1.25rem;
	border: 3px solid var(--problem);
	border-radius: var(--radius);
	background: var(--surface);
}

.error-summary h2 {
	color: var(--problem);
	font-size: 1.1rem;
}

.error-summary ul {
	margin: 0;
	padding-left: 1.1rem;
}

.error-summary a {
	color: var(--problem);
	font-weight: 600;
}

.notice {
	margin-block: 1rem;
	padding: 0.9rem 1rem;
	border-left: 5px solid var(--brand-strong);
	border-radius: var(--radius-small);
	background: var(--info-bg);
}

.notice > :last-child {
	margin-bottom: 0;
}

.notice-ok {
	border-color: var(--ok);
	background: var(--ok-bg);
}

.notice-warn {
	border-color: var(--warn);
	background: var(--warn-bg);
}

.notice-problem {
	border-color: var(--problem);
	background: var(--problem-bg);
}

/* Radio rows and tick boxes */

.choice,
.check {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: var(--touch);
	padding-block: 0.35rem;
	font-weight: 400;
	cursor: pointer;
}

.choice input,
.check input,
.option input {
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	margin: 0;
	accent-color: var(--brand-strong);
}

.check-text {
	flex: 1;
}

.check-note {
	color: var(--muted);
}

/* On/off switches (settings) */

.switch {
	flex-direction: row-reverse;
	justify-content: space-between;
	border-top: 1px solid var(--line);
}

.switch:first-child {
	border-top: 0;
}

.switch input {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	width: 3.25rem;
	height: 2rem;
	border-radius: 999px;
	background: var(--edge);
	cursor: pointer;
	transition: background-color 0.15s;
}

.switch input::after {
	content: "";
	position: absolute;
	top: 0.2rem;
	left: 0.2rem;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.15s;
}

.switch input:checked {
	background: var(--ok);
}

.switch input:checked::after {
	transform: translateX(1.25rem);
}

/* A field bots fill in and people never see. */
.trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------- Booking */

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5rem;
	margin: 1rem 0;
	padding: 0;
	list-style: none;
	font-size: 0.85rem;
}

.steps a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	min-height: 3rem;
	color: var(--ink);
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
}

.step-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
}

.step h2 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.booking .boat-only {
	display: none;
}

.booking.is-boat .boat-only {
	display: block;
}

.booking.is-boat .car-only {
	display: none;
}

/* The same without the script, where the browser can do it. */
.booking:has(input[name="kind"][value="boat"]:checked) .boat-only {
	display: block;
}

.booking:has(input[name="kind"][value="boat"]:checked) .car-only {
	display: none;
}

.segments {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	margin-top: 0.4rem;
}

.segment {
	position: relative;
	display: block;
}

.segment input,
.slot input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.segment span,
.slot span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: var(--touch);
	border: 1.5px solid var(--edge);
	border-radius: var(--radius-small);
	background: var(--surface);
	font-weight: 700;
}

.segment input:checked + span {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.slot input:checked + span {
	border-color: var(--brand-strong);
	background: var(--brand-strong);
	color: #fff;
}

.segment input:focus-visible + span,
.slot input:focus-visible + span {
	outline: 3px solid var(--brand-strong);
	outline-offset: 2px;
}

.garage {
	margin-block: 1rem;
}

.link-list {
	margin: 0.25rem 0;
	padding: 0;
	list-style: none;
}

.link-list a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: var(--touch);
	font-weight: 600;
}

/* Services and add-ons */

.options {
	display: grid;
	gap: 0.6rem;
	margin-top: 0.5rem;
}

.option {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 1rem;
	border: 1.5px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	font-weight: 400;
	cursor: pointer;
}

.option:hover {
	border-color: var(--edge);
}

.option:has(input:checked) {
	border-color: var(--brand-strong);
	background: #f3f9fd;
	box-shadow: inset 0 0 0 1px var(--brand-strong);
}

.option input {
	margin-top: 0.1rem;
}

.option-body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.option-name {
	font-size: 1.05rem;
	font-weight: 700;
}

.option-summary,
.option-for {
	color: var(--muted);
	font-size: 0.92rem;
}

.option-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.1rem 0.75rem;
	margin-top: 0.3rem;
}

.js .option-for {
	display: none;
}

/* A fixed price is solid; a starting price is marked as one in words, colour and line. */
.price {
	font-size: 1.1rem;
	font-weight: 700;
	white-space: nowrap;
}

.price-from {
	color: var(--warn-ink);
	border-bottom: 2px dashed var(--warn);
}

.price-prefix {
	font-size: 0.9rem;
	font-weight: 600;
	font-style: italic;
}

.price-kind {
	font-size: 0.85rem;
	font-weight: 600;
}

.price-kind-fixed {
	color: var(--ok);
}

.price-kind-from {
	color: var(--warn-ink);
}

.duration {
	color: var(--muted);
	font-size: 0.9rem;
}

/* Times */

.place {
	color: var(--muted);
}

.times[aria-busy="true"] {
	opacity: 0.55;
}

.day {
	margin-block: 0.5rem;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
}

.day summary {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 0.75rem;
	min-height: var(--touch);
	padding: 0.6rem 1rem;
	border-radius: 11px;
	cursor: pointer;
	list-style: none;
}

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

.day summary::after {
	content: "";
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 0.6rem;
	height: 0.6rem;
	margin-right: 0.25rem;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	transform: rotate(45deg) translate(-2px, -2px);
}

.day[open] summary::after {
	transform: rotate(-135deg) translate(-2px, -2px);
}

.day-name {
	grid-column: 1;
	font-weight: 700;
}

.day-count {
	grid-column: 1;
	color: var(--muted);
	font-size: 0.9rem;
}

.slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr));
	gap: 0.5rem;
	padding: 0.25rem 0.75rem 0.85rem;
}

.slot {
	position: relative;
	display: block;
	font-variant-numeric: tabular-nums;
}

/* Total and the final button stay in reach while the form is filled in. */
.summary-bar {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 1rem -1rem 0;
	padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: var(--surface);
	box-shadow: 0 -6px 18px rgba(20, 24, 29, 0.08);
}

.summary-total {
	display: flex;
	flex-direction: column;
	margin: 0;
	line-height: 1.25;
}

.summary-label,
.summary-note {
	color: var(--muted);
	font-size: 0.8rem;
}

.summary-amount {
	font-size: 1.25rem;
}

.summary-bar .button {
	flex: none;
	min-width: 8.5rem;
}

.js .nojs-only {
	display: none;
}

/* ---------------------------------------------------------- Facts, lists */

.facts {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.85rem 1.25rem;
	margin: 1rem 0 0;
}

.facts > div {
	display: contents;
}

.facts dt {
	color: var(--muted);
}

.facts dd {
	margin: 0;
	min-width: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.facts dd .muted,
.facts dd a {
	font-weight: 400;
}

.status,
.tag {
	display: inline-block;
	margin: 0 0 0.5rem;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: var(--info-bg);
	color: var(--brand-deep);
	font-size: 0.9rem;
	font-weight: 700;
}

.tag {
	margin: 0;
	font-size: 0.8rem;
}

.card > .tag {
	margin-bottom: 0.6rem;
}

.status-checked_in,
.status-in_progress,
.tag-warn {
	background: var(--warn-bg);
	color: var(--warn-ink);
}

.status-ready,
.tag-ok {
	background: var(--ok-bg);
	color: var(--ok-ink);
}

.status-done {
	background: #e9edf1;
	color: var(--muted);
}

.status-cancelled,
.status-no_show {
	background: var(--problem-bg);
	color: var(--problem);
}

.next {
	margin: 0.5rem 0 1rem;
	padding-left: 1.3rem;
}

.next li + li {
	margin-top: 0.5rem;
}

.rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.row-link {
	display: grid;
	gap: 0.15rem;
	padding: 0.9rem 0;
	border-top: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
}

.rows li:first-child .row-link {
	border-top: 0;
}

.row-link .status {
	justify-self: start;
	margin: 0.25rem 0 0;
}

.row-main {
	font-weight: 700;
}

.row-sub {
	color: var(--muted);
}

.row-action {
	color: var(--brand-strong);
	font-weight: 600;
}

.row-action::after {
	content: " →";
}

.row-link:hover .row-action {
	text-decoration: underline;
}

.timeline {
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

.timeline li {
	position: relative;
	padding: 0 0 1.1rem 1.4rem;
	border-left: 2px solid var(--line);
}

.timeline li:last-child {
	padding-bottom: 0;
	border-left-color: transparent;
}

.timeline li::before {
	content: "";
	position: absolute;
	left: -0.45rem;
	top: 0.3rem;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background: var(--brand-strong);
}

.timeline p {
	margin: 0 0 0.15rem;
}

.timeline-date {
	color: var(--muted);
	font-size: 0.9rem;
}

.timeline-title {
	font-weight: 700;
}

.done-list,
.checklist,
.advice {
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

.done-list li {
	margin-bottom: 0.75rem;
}

.done-list span {
	display: block;
	color: var(--muted);
}

.checklist li,
.advice li {
	position: relative;
	padding: 0.2rem 0 0.2rem 1.7rem;
}

.checklist li::before {
	content: "✓";
	position: absolute;
	left: 0.1rem;
	color: var(--ok);
	font-weight: 700;
}

.advice li::before {
	content: "";
	position: absolute;
	left: 0.4rem;
	top: 0.75rem;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--brand-strong);
}

.warranty {
	padding-block: 0.75rem;
	border-top: 1px solid var(--line);
}

.warranty:first-of-type {
	padding-top: 0;
	border-top: 0;
}

.warranty p {
	margin-bottom: 0.2rem;
}

.warranty-title {
	font-weight: 700;
}

.warranty-status.is-active {
	color: var(--ok);
	font-weight: 700;
}

/* Maintenance plan: what the warranty requires never looks like a mere recommendation. */

.plan-group {
	margin-top: 1rem;
	padding-left: 0.9rem;
	border-left: 4px solid var(--brand);
}

.plan-group h3 {
	margin-top: 0;
}

.plan-required {
	border-left-color: var(--warn);
}

.plan-required h3 {
	color: var(--warn-ink);
}

.plan {
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

.plan-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
	border-top: 1px solid var(--line);
}

.plan-item p {
	margin: 0;
}

.plan-what {
	flex: 1;
	min-width: 0;
}

.plan-recommended h3 {
	color: var(--brand-deep);
}

.plan-title {
	font-weight: 700;
}

.plan-due,
.plan-text {
	color: var(--muted);
	font-size: 0.92rem;
}

/* ------------------------------------------------------- Before and after */

.compare-block h3 {
	margin-bottom: 0.4rem;
}

.compare {
	display: grid;
	gap: 0.5rem;
	margin-block: 0.5rem 1rem;
}

.compare-shot,
.gallery-shot {
	position: relative;
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	background: #dfe5ea;
}

.compare-shot img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.compare-shot figcaption {
	position: absolute;
	top: 0.5rem;
	padding: 0.15rem 0.65rem;
	border-radius: 999px;
	background: rgba(20, 24, 29, 0.82);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
}

.compare-before figcaption {
	left: 0.5rem;
}

.compare-after figcaption {
	right: 0.5rem;
}

/* With the script the two pictures lie on top of each other and a handle moves the line between them. */
.compare.is-live {
	--split: 50%;
	position: relative;
	display: block;
	border-radius: 12px;
	overflow: hidden;
}

.compare.is-live .compare-shot {
	border-radius: 0;
}

.compare.is-live .compare-after {
	position: absolute;
	inset: 0;
	clip-path: inset(0 0 0 var(--split));
}

.compare.is-live .compare-after img {
	height: 100%;
}

.compare-range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	touch-action: pan-y;
}

.compare-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--split);
	width: 3px;
	margin-left: -1.5px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(20, 24, 29, 0.35);
	pointer-events: none;
}

.compare-handle::after {
	content: "‹ ›";
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: -1.375rem;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(20, 24, 29, 0.4);
	color: var(--ink);
	font-weight: 700;
	line-height: 1;
}

.compare-range:focus-visible + .compare-handle::after {
	outline: 3px solid var(--brand-strong);
	outline-offset: 2px;
}

.gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	margin-top: 1rem;
}

.gallery-shot {
	background: none;
	border-radius: 0;
}

.gallery-shot img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 12px;
	background: #dfe5ea;
}

.gallery-shot figcaption {
	padding-top: 0.25rem;
	color: var(--muted);
	font-size: 0.85rem;
}

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

@media (min-width: 30rem) {
	.field-row {
		grid-template-columns: 1fr 1fr;
	}

	.actions-stack {
		flex-direction: row;
	}

	.actions-stack .button {
		flex: 1 1 12rem;
		width: auto;
	}
}

@media (min-width: 40rem) {
	h1 {
		font-size: 2rem;
	}

	main {
		padding-top: 2.25rem;
	}

	.card {
		padding: 1.5rem;
	}

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

	.summary-bar {
		margin-inline: 0;
		border: 1px solid var(--line);
		border-bottom: 0;
		border-radius: var(--radius) var(--radius) 0 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	body {
		background: #fff;
	}

	.site-nav,
	.skip-link,
	.summary-bar,
	.actions,
	.compare-range,
	.compare-handle {
		display: none !important;
	}

	.card {
		break-inside: avoid;
	}
}
