/**
 * AgePal — main stylesheet.
 * UI kit "Modern Luxury": navy #132B45 · gold #D5B56A · ivory #F8F6F1 · beige #CFC7B6 · ink #404040
 * Mobile-first. Body text ≥ 18px, high contrast, large touch targets (audience 65+, WCAG 2.1 AA).
 */

:root {
	--navy: #132b45;
	--navy-deep: #0c1d31;
	--navy-soft: #1d3d61;
	--gold: #d5b56a;
	--gold-dark: #c2a052;
	--bronze: #8a6b2e; /* accessible gold for small text on light backgrounds */
	--ivory: #f8f6f1;
	--beige: #cfc7b6;
	--ink: #404040;
	--white: #ffffff;
	--line: #e5e0d3;
	--light-warm: #ece5d4; /* body text on navy */
	--radius: 20px;
	--radius-lg: 28px;
	--shadow: 0 10px 30px rgba(19, 43, 69, 0.08);
	--shadow-lg: 0 18px 50px rgba(19, 43, 69, 0.14);
	--font-head: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
	--font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
	--header-h: 5rem;
}

/* ---------- Reset & base ---------- */

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

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.125rem; /* 18px */
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.2;
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--navy);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--bronze);
}

:focus-visible {
	outline: 3px solid var(--gold-dark);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -100%;
	z-index: 200;
	background: var(--navy);
	color: var(--white);
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 12px 12px;
}

.skip-link:focus {
	top: 0;
	clip: auto;
	width: auto;
	height: auto;
}

.container {
	width: 100%;
	max-width: 75rem; /* 1200px */
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.container--narrow {
	max-width: 50rem; /* 800px */
}

.ap-icon {
	display: inline-block;
	vertical-align: middle;
	flex: none;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.0625rem;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	padding: 0.875rem 1.75rem;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--lg {
	padding: 1.05rem 2.25rem;
	font-size: 1.125rem;
}

.btn--gold {
	background: var(--gold);
	color: var(--navy);
}

.btn--gold:hover {
	background: var(--gold-dark);
	color: var(--navy-deep);
}

.btn--navy {
	background: var(--navy);
	color: var(--white);
}

.btn--navy:hover {
	background: var(--navy-soft);
	color: var(--white);
}

.btn--outline-light {
	background: transparent;
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.65);
}

.btn--outline-light:hover {
	border-color: var(--gold);
	color: var(--gold);
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--header-h);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.site-logo__text {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.75rem;
	letter-spacing: 0.16em;
	color: var(--bronze);
}

.site-logo__text span {
	color: var(--navy);
}

.site-logo img {
	max-height: 3.25rem;
	width: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list a {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 1.0625rem;
	color: var(--navy);
	text-decoration: none;
	padding: 0.5rem 0;
}

.site-nav__list a:hover {
	color: var(--bronze);
}

.site-header__burger {
	display: none;
	background: none;
	border: 0;
	padding: 0.5rem;
	color: var(--navy);
	cursor: pointer;
}

.site-header__burger .ap-icon--close {
	display: none;
}

@media (max-width: 56.25em) {
	.site-header__burger {
		display: inline-flex;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lg);
		padding: 1rem 1.25rem 1.5rem;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav__list a {
		display: block;
		font-size: 1.185rem;
		padding: 0.85rem 0.25rem;
		border-bottom: 1px solid var(--line);
	}

	.site-nav__cta {
		margin-top: 1rem;
	}

	.nav-open .site-nav {
		display: flex;
	}

	.nav-open .site-header__burger .ap-icon--menu {
		display: none;
	}

	.nav-open .site-header__burger .ap-icon--close {
		display: inline-block;
	}
}

/* ---------- Sections ---------- */

.section {
	padding-block: clamp(4rem, 8vw, 6.5rem);
	scroll-margin-top: var(--header-h);
}

.section--ivory {
	background: var(--ivory);
}

.eyebrow {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bronze);
	margin-bottom: 1rem;
}

.eyebrow--gold {
	color: var(--gold);
}

.section__title {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 700;
	max-width: 46rem;
}

.section__head {
	max-width: 46rem;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section__lead,
.section__text {
	font-size: 1.125rem;
	max-width: 44rem;
}

.highlight-line {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(1.25rem, 2.4vw, 1.5rem);
	color: var(--navy);
	border-left: 4px solid var(--gold);
	padding: 0.5rem 0 0.5rem 1.25rem;
	margin-top: 2rem;
}

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

.hero {
	background:
		radial-gradient(56rem 30rem at 85% -10%, rgba(213, 181, 106, 0.16), transparent 60%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
	color: var(--light-warm);
	padding-block: clamp(4rem, 9vw, 7.5rem);
}

.hero__inner {
	display: grid;
	gap: 3rem;
	align-items: center;
}

.hero__eyebrow {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1.25rem;
}

.hero__title {
	color: var(--white);
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 700;
	line-height: 1.12;
	max-width: 15em;
}

.hero__text {
	font-size: 1.1875rem;
	max-width: 36rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.hero__note {
	margin-top: 1.5rem;
	font-size: 1rem;
	color: var(--beige);
}

.hero__card {
	justify-self: center;
	width: min(100%, 26rem);
}

.hero-chat {
	background: var(--ivory);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 1.75rem;
	display: grid;
	gap: 0.9rem;
}

.hero-chat__bubble {
	max-width: 88%;
	padding: 0.8rem 1.1rem;
	border-radius: 18px;
	font-size: 1rem;
	line-height: 1.5;
}

.hero-chat__bubble--in {
	background: var(--white);
	color: var(--ink);
	border: 1px solid var(--line);
	border-bottom-left-radius: 6px;
	justify-self: start;
}

.hero-chat__bubble--out {
	background: var(--navy);
	color: var(--white);
	border-bottom-right-radius: 6px;
	justify-self: end;
}

.hero-chat__who {
	display: block;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0.2rem;
}

.hero-chat__bubble--in .hero-chat__who {
	color: var(--bronze);
}

.hero-chat__bubble--out .hero-chat__who {
	color: var(--gold);
}

@media (min-width: 62em) {
	.hero__inner {
		grid-template-columns: 1.15fr 0.85fr;
	}
}

/* ---------- Who we are ---------- */

.who__inner {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.who__quote {
	margin: 0;
	background: var(--navy);
	color: var(--white);
	border-radius: var(--radius-lg);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	box-shadow: var(--shadow-lg);
}

.who__quote .ap-icon {
	color: var(--gold);
	margin-bottom: 0.75rem;
}

.who__quote p {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(1.375rem, 2.6vw, 1.75rem);
	line-height: 1.35;
	margin: 0;
}

@media (min-width: 62em) {
	.who__inner {
		grid-template-columns: 1.2fr 0.8fr;
	}
}

/* ---------- What we do ---------- */

.what__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.what-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow);
}

.what-card__icon,
.pal-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 14px;
	background: rgba(213, 181, 106, 0.18);
	color: var(--bronze);
	margin-bottom: 1.1rem;
}

.what-card__title {
	font-size: 1.1875rem;
	margin-bottom: 0.6rem;
}

.what-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.what-card__list li {
	position: relative;
	padding-left: 1.25rem;
	margin-bottom: 0.45rem;
}

.what-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--gold);
}

.what__outro {
	max-width: 46rem;
	margin-top: 2.5rem;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 1.25rem;
	color: var(--navy);
}

.what__outro p {
	margin: 0;
}

/* ---------- How it works (vertical timeline) ---------- */

.how__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 46rem;
}

.how-step {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 1.5rem;
	padding-bottom: 2.25rem;
}

/* Gold connector between the step numbers. */
.how-step::before {
	content: "";
	position: absolute;
	left: calc(1.375rem - 1px);
	top: 3rem;
	bottom: 0.25rem;
	width: 2px;
	background: linear-gradient(var(--gold), var(--beige));
	opacity: 0.6;
}

.how-step:last-child {
	padding-bottom: 0;
}

.how-step:last-child::before {
	display: none;
}

.how-step__number {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--gold);
	color: var(--navy);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.25rem;
}

.how-step__title {
	grid-column: 2;
	align-self: center;
	font-size: 1.25rem;
	margin: 0;
	min-height: 2.75rem;
	display: flex;
	align-items: center;
}

.how-step__text {
	grid-column: 2;
	font-size: 1.0625rem;
	margin-top: 0.4rem;
	max-width: 38rem;
}

.how-step__text p {
	margin: 0;
}

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

.pricing__payg {
	display: grid;
	gap: 2.5rem;
	align-items: center;
	margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.pricing__subtitle {
	font-size: clamp(1.375rem, 2.6vw, 1.75rem);
}

.pricing__note {
	font-family: var(--font-head);
	font-weight: 600;
	color: var(--navy);
}

.pricing__table-wrap {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow-x: auto;
}

.pricing__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.125rem;
}

.pricing__table th,
.pricing__table td {
	text-align: left;
	padding: 1rem 1.5rem;
	border-bottom: 1px solid var(--line);
}

.pricing__table thead th {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bronze);
	background: var(--ivory);
}

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

.pricing__price {
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--navy);
}

@media (min-width: 62em) {
	.pricing__payg {
		grid-template-columns: 1fr 1fr;
	}
}

.pricing__packages-head {
	max-width: 46rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.pricing__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	align-items: stretch;
}

.package {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 2.25rem 1.9rem;
	box-shadow: var(--shadow);
}

.package--featured {
	background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
	border-color: var(--gold);
	box-shadow: var(--shadow-lg);
}

.package__flag {
	position: absolute;
	top: -0.9rem;
	left: 50%;
	transform: translateX(-50%);
	background: var(--gold);
	color: var(--navy);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.3rem 1.1rem;
	border-radius: 999px;
	white-space: nowrap;
}

.package__name {
	font-size: 1.5rem;
	margin-bottom: 0.35rem;
}

.package__tagline {
	font-size: 1rem;
	margin-bottom: 1.5rem;
}

.package--featured .package__name {
	color: var(--white);
}

.package--featured .package__tagline {
	color: var(--light-warm);
}

.package__price {
	margin-bottom: 1.5rem;
}

.package__amount {
	display: block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 2.5rem;
	color: var(--navy);
	line-height: 1.1;
}

.package__per {
	font-size: 1rem;
	color: var(--bronze);
	font-weight: 500;
}

.package--featured .package__amount {
	color: var(--gold);
}

.package--featured .package__per {
	color: var(--beige);
}

.package__features {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: grid;
	gap: 0.7rem;
	font-size: 1.0625rem;
}

.package__features li {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}

.package__features .ap-icon {
	color: var(--bronze);
	margin-top: 0.15em;
}

.package--featured .package__features {
	color: var(--light-warm);
}

.package--featured .package__features .ap-icon {
	color: var(--gold);
}

.package__btn {
	margin-top: auto;
}

.package:not(.package--featured) .package__btn:hover {
	background: var(--navy-soft);
}

/* ---------- Trust badges ---------- */

.trust-badges {
	list-style: none;
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

.trust-badges li {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.7rem 1.4rem;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 1rem;
	color: var(--navy);
	box-shadow: var(--shadow);
}

.trust-badges .ap-icon {
	color: var(--bronze);
}

.trust-badges--footer {
	margin-top: 2.5rem;
	justify-content: flex-start;
}

.trust-badges--footer li {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(207, 199, 182, 0.3);
	color: var(--light-warm);
	box-shadow: none;
}

.trust-badges--footer .ap-icon {
	color: var(--gold);
}

/* ---------- Why AgePal ---------- */

.why__grid {
	display: grid;
	gap: 1.25rem 2rem;
	grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.why-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background: var(--ivory);
	border-radius: var(--radius);
	padding: 1.4rem 1.5rem;
}

.why-item__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: rgba(213, 181, 106, 0.2);
	color: var(--bronze);
	flex: none;
}

.why-item__title {
	font-size: 1.125rem;
	margin-bottom: 0.25rem;
}

.why-item__text {
	font-size: 1.03125rem;
	margin: 0;
}

/* ---------- Testimonials ---------- */

.testimonials__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
}

.testimonial {
	margin: 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
}

.testimonial__mark {
	color: var(--gold);
	margin-bottom: 0.75rem;
}

.testimonial__quote {
	margin: 0 0 1.25rem;
	font-size: 1.0625rem;
	font-style: italic;
}

.testimonial__author {
	margin-top: auto;
	font-family: var(--font-head);
}

.testimonial__name {
	display: block;
	font-weight: 600;
	color: var(--navy);
}

.testimonial__meta {
	font-size: 0.9375rem;
	color: var(--bronze);
}

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

.cta .cta__inner {
	background:
		radial-gradient(30rem 16rem at 90% 0%, rgba(213, 181, 106, 0.2), transparent 60%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
	border-radius: var(--radius-lg);
	padding: clamp(2.75rem, 6vw, 4.5rem);
	text-align: center;
	color: var(--light-warm);
	box-shadow: var(--shadow-lg);
}

.cta__title {
	color: var(--white);
	font-size: clamp(1.875rem, 4vw, 2.75rem);
}

.cta__text {
	max-width: 38rem;
	margin-inline: auto;
	font-size: 1.125rem;
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-top: 2rem;
}

.cta__tagline {
	margin: 2rem 0 0;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.1875rem;
	color: var(--gold);
}

/* ---------- Eco System ---------- */

.eco {
	background:
		radial-gradient(50rem 26rem at -10% 110%, rgba(213, 181, 106, 0.12), transparent 60%),
		linear-gradient(200deg, var(--navy) 0%, var(--navy-deep) 100%);
	color: var(--light-warm);
}

.eco__grid {
	display: grid;
	gap: 3rem;
	align-items: start;
}

.eco__title {
	color: var(--white);
}

.eco__text {
	max-width: 40rem;
}

.eco__list-title {
	color: var(--gold);
	font-size: 1.25rem;
	margin-top: 2rem;
}

.eco__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
	font-size: 1.0625rem;
}

.eco__list li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.eco__list .ap-icon {
	color: var(--gold);
	margin-top: 0.2em;
}

.eco__done-label {
	display: inline-block;
	font-style: normal;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--navy);
	background: var(--gold);
	border-radius: 999px;
	padding: 0.1rem 0.7rem;
	margin-left: 0.5rem;
}

.eco__more {
	margin-top: 2rem;
	font-size: 1.0625rem;
	color: var(--beige);
}

.eco__founder {
	background: var(--ivory);
	color: var(--ink);
	border-radius: var(--radius-lg);
	padding: clamp(2rem, 4vw, 2.75rem);
	box-shadow: var(--shadow-lg);
}

.eco__founder-title {
	font-size: 1.5rem;
}

.eco__founder-text {
	font-size: 1.0625rem;
	margin-bottom: 1.75rem;
}

.eco__small {
	margin: 1.25rem 0 0;
	font-size: 0.9375rem;
	color: var(--ink);
}

@media (min-width: 62em) {
	.eco__grid {
		grid-template-columns: 1.2fr 0.8fr;
	}
}

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

.faq__list {
	display: grid;
	gap: 1rem;
}

.faq-item {
	background: var(--ivory);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.faq-item__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	list-style: none;
	cursor: pointer;
	padding: 1.25rem 1.5rem;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.1875rem;
	color: var(--navy);
}

.faq-item__question::-webkit-details-marker {
	display: none;
}

.faq-item__marker {
	position: relative;
	width: 1.4rem;
	height: 1.4rem;
	flex: none;
}

.faq-item__marker::before,
.faq-item__marker::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	background: var(--bronze);
	border-radius: 2px;
	transition: transform 0.2s ease;
}

.faq-item__marker::before {
	width: 100%;
	height: 3px;
}

.faq-item__marker::after {
	width: 3px;
	height: 100%;
}

.faq-item[open] .faq-item__marker::after {
	transform: rotate(90deg);
}

.faq-item__answer {
	padding: 0 1.5rem 1.4rem;
	font-size: 1.0625rem;
	max-width: 44rem;
}

.faq-item__answer p:last-child {
	margin-bottom: 0;
}

/* ---------- Become a Pal ---------- */

.pal__grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
}

.pal-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.9rem;
	box-shadow: var(--shadow);
}

.pal-card__title {
	font-size: 1.25rem;
}

.pal-card__text,
.pal-card__list {
	font-size: 1.0625rem;
}

.pal-card__text p:last-child {
	margin-bottom: 0;
}

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

.pal-card__list li {
	position: relative;
	padding-left: 1.4rem;
	margin-bottom: 0.55rem;
}

.pal-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--gold);
}

.pal__pay {
	margin-top: 2.5rem;
	background: var(--white);
	border: 1px solid var(--gold);
	border-radius: var(--radius-lg);
	padding: clamp(1.9rem, 4vw, 2.75rem);
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 3rem;
	align-items: center;
	justify-content: space-between;
	box-shadow: var(--shadow);
}

.pal__pay > div {
	flex: 1 1 26rem;
}

.pal__pay-title {
	font-size: 1.375rem;
}

.pal__pay-text {
	font-size: 1.0625rem;
}

.pal__cta-text {
	font-family: var(--font-head);
	font-weight: 600;
	color: var(--navy);
	margin-bottom: 0;
}

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

.site-footer {
	background: var(--navy-deep);
	color: var(--light-warm);
	padding-block: clamp(3.5rem, 7vw, 5rem) 2rem;
	font-size: 1.0625rem;
}

.site-footer__top {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.site-logo__text--footer {
	font-size: 2rem;
	color: var(--gold);
}

.site-logo__text--footer span {
	color: var(--white);
}

.site-footer__tagline {
	margin-top: 1.25rem;
	max-width: 24rem;
}

.site-footer__eco {
	font-size: 0.9375rem;
	color: var(--beige);
	max-width: 24rem;
}

.site-footer__heading {
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 1.25rem;
}

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

.site-footer__contacts li {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
}

.site-footer__contacts .ap-icon {
	color: var(--gold);
	margin-top: 0.2em;
}

.site-footer a {
	color: var(--white);
}

.site-footer a:hover {
	color: var(--gold);
}

.site-footer__company {
	font-size: 0.9375rem;
	color: var(--beige);
}

.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.site-footer__menu a {
	text-decoration: none;
}

.site-footer__menu a:hover {
	text-decoration: underline;
}

.site-footer__bottom {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(207, 199, 182, 0.25);
	font-size: 0.9375rem;
	color: var(--beige);
}

.site-footer__bottom p {
	margin: 0;
}

/* ---------- Text pages (Terms, Privacy, Cookies) ---------- */

.text-page__hero {
	background: var(--ivory);
	border-bottom: 1px solid var(--line);
	padding-block: clamp(3rem, 6vw, 4.5rem);
}

.text-page__title {
	font-size: clamp(2rem, 4.5vw, 3rem);
	margin: 0;
}

.text-page__content {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.entry-content h2 {
	font-size: 1.625rem;
	margin-top: 2.25em;
}

.entry-content h2:first-child {
	margin-top: 0;
}

.entry-content h3 {
	font-size: 1.25rem;
	margin-top: 1.75em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.25em;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 1rem;
	display: block;
	overflow-x: auto;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--line);
	padding: 0.75rem 1rem;
	text-align: left;
	vertical-align: top;
	min-width: 9rem;
}

.entry-content thead th {
	background: var(--ivory);
	font-family: var(--font-head);
	font-weight: 600;
	color: var(--navy);
}

/* ---------- Enquiry popup ---------- */

.ap-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.ap-modal[hidden] {
	display: none;
}

.ap-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 29, 49, 0.6);
	backdrop-filter: blur(3px);
}

.ap-modal__dialog {
	position: relative;
	width: min(100%, 33rem);
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: clamp(1.75rem, 4vw, 2.5rem);
}

.ap-modal-open {
	overflow: hidden;
}

.ap-modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: 50%;
	background: var(--ivory);
	color: var(--navy);
	cursor: pointer;
}

.ap-modal__close:hover {
	background: var(--line);
}

.ap-modal__title {
	font-size: 1.625rem;
	margin: 0 2.5rem 1.25rem 0;
}

.ap-form__hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.ap-form__field {
	margin: 0 0 1.1rem;
}

.ap-form__field label {
	display: block;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1rem;
	color: var(--navy);
	margin-bottom: 0.35rem;
}

.ap-form__req {
	color: var(--bronze);
}

.ap-form__field input,
.ap-form__field select,
.ap-form__field textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	color: var(--ink);
	background: var(--white);
	border: 1.5px solid var(--beige);
	border-radius: 12px;
	padding: 0.75rem 1rem;
	min-height: 3rem;
}

.ap-form__field textarea {
	resize: vertical;
}

.ap-form__field input:focus,
.ap-form__field select:focus,
.ap-form__field textarea:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(213, 181, 106, 0.35);
}

.ap-form__submit {
	width: 100%;
	border: 0;
	margin-top: 0.25rem;
}

.ap-form__note {
	margin: 0.9rem 0 0;
	font-size: 0.9375rem;
	color: var(--ink);
	text-align: center;
}

.ap-form__status {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	border-radius: 12px;
	background: #faeaea;
	border: 1px solid #e5b8b8;
	color: #8a2424;
	font-size: 1rem;
}

.ap-form__success {
	text-align: center;
	padding: 1.5rem 0 0.5rem;
}

.ap-form__success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	background: rgba(213, 181, 106, 0.22);
	color: var(--bronze);
	margin-bottom: 1rem;
}

.ap-form__success p {
	font-size: 1.125rem;
	color: var(--navy);
	max-width: 24rem;
	margin: 0 auto 1.5rem;
}

/* ---------- Archive fallback ---------- */

.archive-item {
	padding-block: 1.5rem;
	border-bottom: 1px solid var(--line);
}

.archive-item__title a {
	font-family: var(--font-head);
	color: var(--navy);
	text-decoration: none;
}
