/* ==========================================================================
   Tradply — main stylesheet
   Order: tokens, reset, base, layout, components, page types, utilities.
   Colour tokens mirror theme.json so the editor and the front end agree.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
	--tp-navy:        #0B3155;
	--tp-navy-dark:   #07203A;
	--tp-navy-light:  #12456F;
	--tp-green:       #22854A;
	--tp-green-dark:  #186236;
	--tp-green-bright:#3E9C53;
	--tp-green-soft:  #E8F5ED;
	--tp-gold:        #F9C430;
	--tp-gold-dark:   #E0AE1F;

	--tp-ink:         #0B1F33;
	--tp-body:        #41566B;
	--tp-muted:       #5B7186;
	--tp-line:        #E2E8F0;
	--tp-line-soft:   #EEF2F7;
	--tp-surface:     #FFFFFF;
	--tp-surface-alt: #F6F9FC;

	--tp-radius-sm: 6px;
	--tp-radius:    10px;
	--tp-radius-lg: 16px;
	--tp-radius-xl: 24px;
	--tp-pill:      999px;

	--tp-shadow-sm: 0 1px 2px rgb(11 31 51 / .06), 0 1px 3px rgb(11 31 51 / .05);
	--tp-shadow-md: 0 2px 4px rgb(11 31 51 / .04), 0 8px 20px rgb(11 31 51 / .07);
	--tp-shadow-lg: 0 4px 8px rgb(11 31 51 / .04), 0 18px 44px rgb(11 31 51 / .10);
	--tp-shadow-xl: 0 8px 16px rgb(11 31 51 / .05), 0 32px 72px rgb(11 31 51 / .14);

	--tp-gutter:  clamp(1.25rem, 5vw, 2.5rem);
	--tp-wide:    1200px;
	--tp-narrow:  760px;
	--tp-section: clamp(4rem, 9vw, 7rem);

	--tp-header-h: 76px;

	--tp-font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI",
	           system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

	--tp-ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Anchor targets must clear the sticky header. */
	scroll-padding-top: calc(var(--tp-header-h) + 16px);
}

body {
	margin: 0;
	/* Safety net: no component should ever push the page sideways. */
	overflow-x: hidden;
	background: var(--tp-surface);
	color: var(--tp-body);
	font-family: var(--tp-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	letter-spacing: -.005em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img, svg, video, canvas, iframe {
	display: block;
	max-width: 100%;
}
img, video { height: auto; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--tp-ink);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.022em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.25rem); }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.5rem); }
h4 { font-size: 1.1875rem; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
	color: var(--tp-green);
	text-underline-offset: .18em;
	text-decoration-thickness: .07em;
	transition: color .18s var(--tp-ease);
}
a:hover { color: var(--tp-navy); }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .35em; }

hr { height: 1px; margin: 2.5rem 0; border: 0; background: var(--tp-line); }

strong, b { font-weight: 650; color: var(--tp-ink); }

:focus-visible {
	outline: 3px solid var(--tp-green-bright);
	outline-offset: 2px;
	border-radius: 3px;
}

::selection { background: var(--tp-green-soft); color: var(--tp-navy); }

/* --------------------------------------------------------------------------
   3. Accessibility helpers
   -------------------------------------------------------------------------- */

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

.skip-link:focus {
	position: fixed !important;
	top: 12px; left: 12px;
	z-index: 999;
	width: auto; height: auto;
	padding: .75rem 1.25rem;
	clip-path: none;
	background: var(--tp-navy);
	color: #fff;
	border-radius: var(--tp-radius);
	text-decoration: none;
	box-shadow: var(--tp-shadow-lg);
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.container {
	width: 100%;
	max-width: calc(var(--tp-wide) + var(--tp-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--tp-gutter);
}
.container--narrow { max-width: calc(var(--tp-narrow) + var(--tp-gutter) * 2); }

.section { padding-block: var(--tp-section); }
.section--alt { background: var(--tp-surface-alt); }
.section--navy {
	background: linear-gradient(160deg, var(--tp-navy) 0%, var(--tp-navy-dark) 100%);
	color: rgb(255 255 255 / .78);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.site-main { display: block; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: .8rem 1.4rem;
	border: 1px solid transparent;
	border-radius: var(--tp-radius);
	font: inherit;
	font-weight: 600;
	font-size: .9875rem;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .18s var(--tp-ease), border-color .18s var(--tp-ease),
	            color .18s var(--tp-ease), transform .18s var(--tp-ease), box-shadow .18s var(--tp-ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .tp-icon { flex: none; }

.btn--primary {
	background: var(--tp-green);
	border-color: var(--tp-green);
	color: #fff;
	box-shadow: 0 1px 2px rgb(11 31 51 / .12);
}
.btn--primary:hover {
	background: var(--tp-green-dark);
	border-color: var(--tp-green-dark);
	color: #fff;
	box-shadow: 0 6px 18px rgb(34 133 74 / .3);
}

.btn--gold {
	background: var(--tp-gold);
	border-color: var(--tp-gold);
	color: var(--tp-navy-dark);
}
.btn--gold:hover {
	background: var(--tp-gold-dark);
	border-color: var(--tp-gold-dark);
	color: var(--tp-navy-dark);
	box-shadow: 0 6px 18px rgb(249 196 48 / .34);
}

.btn--outline {
	background: transparent;
	border-color: var(--tp-line);
	color: var(--tp-navy);
}
.btn--outline:hover {
	border-color: var(--tp-green);
	background: var(--tp-green-soft);
	color: var(--tp-green-dark);
}

.btn--ghost {
	background: rgb(255 255 255 / .1);
	border-color: rgb(255 255 255 / .32);
	color: #fff;
	backdrop-filter: blur(6px);
}
.btn--ghost:hover {
	background: rgb(255 255 255 / .19);
	border-color: rgb(255 255 255 / .55);
	color: #fff;
}

.btn--ghost-light {
	background: transparent;
	border-color: rgb(255 255 255 / .35);
	color: #fff;
}
.btn--ghost-light:hover { background: rgb(255 255 255 / .12); color: #fff; }

.btn--lg { padding: .95rem 1.7rem; font-size: 1.0625rem; }
.btn--sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn--block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   6. Site header
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgb(255 255 255 / .88);
	border-bottom: 1px solid var(--tp-line);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	transition: background-color .25s var(--tp-ease), border-color .25s var(--tp-ease),
	            box-shadow .25s var(--tp-ease);
}

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

/* Over the hero video the header starts transparent, then solidifies on scroll. */
.has-transparent-header .site-header {
	position: fixed;
	inset-inline: 0;
	background: transparent;
	border-bottom-color: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}
.has-transparent-header .site-header.is-stuck {
	position: fixed;
	background: rgb(255 255 255 / .92);
	border-bottom-color: var(--tp-line);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	box-shadow: 0 1px 20px rgb(11 31 51 / .07);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	flex: none;
	text-decoration: none;
	color: var(--tp-navy);
}
.site-logo__img { width: auto; height: 38px; }
.site-logo__text { font-size: 1.3rem; font-weight: 700; letter-spacing: -.03em; }

/* White-out the logo while the header floats over the dark hero. */
.has-transparent-header .site-header:not(.is-stuck) .site-logo__img {
	filter: brightness(0) invert(1);
}
.has-transparent-header .site-header:not(.is-stuck) .site-logo__text { color: #fff; }

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	margin-left: auto;
}

.site-nav .menu {
	display: flex;
	align-items: center;
	gap: .35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav .menu li { position: relative; margin: 0; }

.menu-link {
	display: inline-block;
	padding: .55rem .8rem;
	border-radius: var(--tp-radius-sm);
	color: var(--tp-navy);
	font-size: .9625rem;
	font-weight: 550;
	text-decoration: none;
	transition: background-color .16s var(--tp-ease), color .16s var(--tp-ease);
}
.menu-link:hover { background: var(--tp-surface-alt); color: var(--tp-green-dark); }

.current-menu-item > .menu-link { color: var(--tp-green-dark); }

.has-transparent-header .site-header:not(.is-stuck) .menu-link { color: rgb(255 255 255 / .92); }
.has-transparent-header .site-header:not(.is-stuck) .menu-link:hover {
	background: rgb(255 255 255 / .14);
	color: #fff;
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	padding: .35rem;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 10;
	min-width: 220px;
	margin: 0;
	padding: .45rem;
	list-style: none;
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	box-shadow: var(--tp-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s var(--tp-ease), transform .18s var(--tp-ease), visibility .18s;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.submenu-toggle[aria-expanded="true"] + .sub-menu,
.sub-menu.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.sub-menu .menu-link { display: block; color: var(--tp-navy) !important; }

.site-nav__actions {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: var(--tp-radius);
	color: var(--tp-navy);
	text-decoration: none;
	transition: background-color .16s var(--tp-ease);
}
.cart-link:hover { background: var(--tp-surface-alt); }
.has-transparent-header .site-header:not(.is-stuck) .cart-link { color: #fff; }
.has-transparent-header .site-header:not(.is-stuck) .cart-link:hover { background: rgb(255 255 255 / .14); }

.cart-link__count {
	position: absolute;
	top: 3px; right: 2px;
	min-width: 18px;
	padding: 0 4px;
	background: var(--tp-green);
	color: #fff;
	border-radius: var(--tp-pill);
	font-size: .6875rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	opacity: 0;
	transform: scale(.6);
	transition: opacity .18s var(--tp-ease), transform .18s var(--tp-ease);
}
.cart-link.is-filled .cart-link__count { opacity: 1; transform: scale(1); }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	margin-left: auto;
	padding: 0;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	background: #fff;
	color: var(--tp-navy);
	cursor: pointer;
}
.nav-toggle__box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 18px;
}
.nav-toggle__bar {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .22s var(--tp-ease), opacity .18s var(--tp-ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(90vh, 860px);
	padding-block: calc(var(--tp-header-h) + clamp(3.5rem, 9vw, 7rem)) clamp(3.5rem, 9vw, 7rem);
	background: linear-gradient(155deg, var(--tp-navy) 0%, var(--tp-navy-dark) 100%);
	color: rgb(255 255 255 / .84);
	isolation: isolate;
	overflow: hidden;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.hero__poster,
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__video { opacity: 0; transition: opacity .8s var(--tp-ease); }
.hero__video.is-playing { opacity: 1; }

/* Two stacked gradients: one darkens hardest behind the copy column so the
   headline always clears contrast, the other seats the section into the page
   at top and bottom. */
.hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(97deg, rgb(6 28 51 / .93) 0%, rgb(6 28 51 / .84) 38%, rgb(6 28 51 / .6) 72%, rgb(6 28 51 / .5) 100%),
		linear-gradient(180deg, rgb(6 28 51 / .55) 0%, rgb(6 28 51 / .2) 28%, rgb(6 28 51 / .35) 68%, rgb(7 32 58 / .8) 100%);
}

.hero__inner { position: relative; }
.hero__copy { max-width: 46rem; }

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1.35rem;
	padding: .42rem .95rem .42rem .75rem;
	background: rgb(255 255 255 / .1);
	border: 1px solid rgb(255 255 255 / .2);
	border-radius: var(--tp-pill);
	color: #fff;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .01em;
	backdrop-filter: blur(6px);
}
.hero__eyebrow .tp-icon { color: var(--tp-gold); }

.hero__title {
	margin: 0 0 1.1rem;
	color: #fff;
	font-size: clamp(2.4rem, 1.2rem + 5vw, 4.15rem);
	line-height: 1.06;
	letter-spacing: -.035em;
}

.hero__text {
	max-width: 40rem;
	margin: 0 0 2.1rem;
	color: rgb(255 255 255 / .82);
	font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem);
	line-height: 1.6;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
	margin-bottom: 1.6rem;
}

.hero__trust {
	display: flex;
	align-items: flex-start;
	gap: .55rem;
	margin: 0;
	color: rgb(255 255 255 / .74);
	font-size: .9375rem;
}
/* Nudged to the cap height of the first line so it stays put when the text wraps. */
.hero__trust .tp-icon { flex: none; margin-top: .18em; color: var(--tp-green-bright); }

/* Portrait viewports get a vertical scrim: the horizontal gradient above only
   helps when the copy sits in a left-hand column. */
@media (max-width: 48rem) {
	.hero__scrim {
		background: linear-gradient(180deg,
			rgb(6 28 51 / .82) 0%,
			rgb(6 28 51 / .86) 40%,
			rgb(7 32 58 / .94) 100%);
	}
}

@media (max-width: 30rem) {
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn,
	.cta-band__actions .btn,
	.error-404__actions .btn { width: 100%; }
	.cta-band__actions,
	.error-404__actions { flex-direction: column; align-items: stretch; }
}

/* Anchored to the section, not the copy column, so it sits in the corner of the
   video it controls rather than floating beside the text. */
.hero__video-toggle {
	position: absolute;
	right: var(--tp-gutter);
	bottom: 1.25rem;
	z-index: 2;
	padding: .4rem .8rem;
	border: 1px solid rgb(255 255 255 / .28);
	border-radius: var(--tp-pill);
	background: rgb(7 32 58 / .45);
	color: rgb(255 255 255 / .85);
	font: inherit;
	font-size: .75rem;
	cursor: pointer;
	backdrop-filter: blur(6px);
}
.hero__video-toggle:hover { background: rgb(7 32 58 / .7); color: #fff; }

/* --------------------------------------------------------------------------
   8. Section heading
   -------------------------------------------------------------------------- */

.section-head { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head--center { max-width: 46rem; margin-inline: auto; text-align: center; }
.section-head--start { max-width: 34rem; }

.section-head__eyebrow {
	margin: 0 0 .8rem;
	color: var(--tp-green);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}
.section-head--dark .section-head__eyebrow { color: var(--tp-gold); }

.section-head__title { margin: 0 0 .75rem; }

.section-head__intro {
	margin: 0;
	color: var(--tp-muted);
	font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
	line-height: 1.62;
}
.section-head--center .section-head__intro { margin-inline: auto; max-width: 40rem; }
.section-head--dark .section-head__intro { color: rgb(255 255 255 / .74); }

/* --------------------------------------------------------------------------
   9. Feature cards
   -------------------------------------------------------------------------- */

/* Explicit breakpoints rather than auto-fit: with six items, auto-fit lands on
   4 + 2 at desktop widths and leaves two orphans. */
.card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 34rem) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2rem);
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	box-shadow: var(--tp-shadow-sm);
	transition: transform .22s var(--tp-ease), box-shadow .22s var(--tp-ease), border-color .22s var(--tp-ease);
}
.card:hover {
	transform: translateY(-3px);
	border-color: rgb(34 133 74 / .3);
	box-shadow: var(--tp-shadow-md);
}

.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px; height: 48px;
	margin-bottom: 1.15rem;
	background: var(--tp-green-soft);
	border-radius: var(--tp-radius);
	color: var(--tp-green-dark);
}

.card__title { margin: 0 0 .5rem; font-size: 1.1875rem; }
.card__body { color: var(--tp-muted); font-size: .9875rem; }
.card__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   9b. Showcase — real screenshots of the journal
   -------------------------------------------------------------------------- */

/* Two columns, not three: at three across the screenshots shrink below the
   point where the figures inside them are legible. */
.showcase {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 48rem) { .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.showcase__item {
	display: flex;
	flex-direction: column;
	margin: 0;
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	overflow: hidden;
	box-shadow: var(--tp-shadow-sm);
	transition: transform .22s var(--tp-ease), box-shadow .22s var(--tp-ease), border-color .22s var(--tp-ease);
}
.showcase__item:hover {
	transform: translateY(-3px);
	border-color: rgb(34 133 74 / .28);
	box-shadow: var(--tp-shadow-md);
}

/* No fixed aspect ratio — the panels range from a 3.9:1 strip to a 0.9:1 chart
   stack, and forcing one box shrinks the wide ones past readability. A minimum
   height keeps short panels from looking cramped instead. */
.showcase__figure {
	display: flex;
	align-items: center;
	justify-content: center;
	/* Grid rows stretch to the tallest card; letting the figure take the slack
	   centres the screenshot instead of leaving a void under the caption. */
	flex: 1 1 auto;
	min-height: clamp(190px, 20vw, 260px);
	margin: 0;
	padding: clamp(.85rem, 2vw, 1.35rem);
	background: var(--tp-surface-alt);
	border-bottom: 1px solid var(--tp-line-soft);
}
.showcase__img {
	width: auto;
	height: auto;
	max-width: 100%;
	border-radius: var(--tp-radius-sm);
	box-shadow: 0 1px 2px rgb(11 31 51 / .07);
}

.showcase__body { padding: 1.1rem clamp(1.1rem, 2vw, 1.35rem) 1.35rem; }
.showcase__title { margin: 0 0 .4rem; font-size: 1.0625rem; }
.showcase__body p { margin: 0; color: var(--tp-muted); font-size: .9375rem; }

.showcase__note {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: .5rem;
	max-width: 54rem;
	margin: clamp(1.5rem, 3vw, 2rem) auto 0;
	color: var(--tp-muted);
	font-size: .8125rem;
	line-height: 1.55;
}
.showcase__note .tp-icon { flex: none; margin-top: .1rem; }

/* --------------------------------------------------------------------------
   10. Steps
   -------------------------------------------------------------------------- */

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps__item {
	position: relative;
	display: flex;
	gap: 1rem;
	margin: 0;
}

.steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 42px; height: 42px;
	background: linear-gradient(140deg, var(--tp-navy) 0%, var(--tp-navy-light) 100%);
	border-radius: var(--tp-radius);
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 700;
}

.steps__title { margin: .35rem 0 .4rem; font-size: 1.125rem; }
.steps__text { margin: 0; color: var(--tp-muted); font-size: .9875rem; }

/* --------------------------------------------------------------------------
   11. Split / reasons
   -------------------------------------------------------------------------- */

.split {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: start;
}
@media (min-width: 62rem) {
	/* Centred rather than top-aligned: the reasons column is much taller, and a
	   short lead pinned to the top leaves an obvious void beneath it. */
	.split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
}

.split__lead .section-head { margin-bottom: 1.75rem; }

.reasons {
	display: grid;
	gap: 1.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 40rem) {
	.reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.reasons__item {
	display: flex;
	gap: .9rem;
	margin: 0;
	padding: 1.35rem;
	background: rgb(255 255 255 / .055);
	border: 1px solid rgb(255 255 255 / .1);
	border-radius: var(--tp-radius-lg);
	transition: background-color .2s var(--tp-ease), border-color .2s var(--tp-ease);
}
.reasons__item:hover {
	background: rgb(255 255 255 / .09);
	border-color: rgb(255 255 255 / .2);
}

.reasons__icon {
	display: inline-flex;
	flex: none;
	color: var(--tp-gold);
}

.reasons__title { margin: 0 0 .3rem; color: #fff; font-size: 1.0625rem; }
.reasons__body { color: rgb(255 255 255 / .72); font-size: .9375rem; }
.reasons__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. Plans
   -------------------------------------------------------------------------- */

.section--plans { background: var(--tp-surface); }

.plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
	gap: clamp(.85rem, 1.6vw, 1.25rem);
	align-items: stretch;
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	padding: .75rem 0 0; /* headroom for the badge overhanging the card top */
	list-style: none;
}

.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 1.75rem 1.35rem 1.5rem;
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	text-align: center;
	transition: transform .22s var(--tp-ease), box-shadow .22s var(--tp-ease), border-color .22s var(--tp-ease);
}
.plan:hover {
	transform: translateY(-4px);
	border-color: rgb(34 133 74 / .35);
	box-shadow: var(--tp-shadow-md);
}

.plan--featured {
	border-color: var(--tp-green);
	box-shadow: var(--tp-shadow-lg);
}

/* The badge is centred on the card's top border. Half sits above it, so the
   list needs headroom or the pill would collide with the section intro. */
.plan__badge {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 1;
	transform: translate(-50%, -50%);
	margin: 0;
	padding: .3rem .85rem;
	background: var(--tp-gold);
	border-radius: var(--tp-pill);
	box-shadow: 0 1px 2px rgb(11 31 51 / .14);
	color: var(--tp-navy-dark);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.plan__name {
	margin: .35rem 0 .9rem;
	color: var(--tp-navy);
	font-size: 1.0625rem;
	font-weight: 650;
	letter-spacing: -.01em;
}

.plan__price {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .1rem;
	margin: 0 0 .5rem;
}
.plan__was { color: var(--tp-muted); font-size: .875rem; }
.plan__amount {
	color: var(--tp-ink);
	font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.375rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.035em;
}
.plan__amount .woocommerce-Price-currencySymbol { font-size: .62em; vertical-align: .32em; margin-right: .06em; }
.plan__once {
	color: var(--tp-muted);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.plan__tax {
	margin: -.15rem 0 .5rem;
	color: var(--tp-muted);
	font-size: .75rem;
	line-height: 1.35;
}

.plan__monthly { margin: 0 0 .35rem; color: var(--tp-body); font-size: .8125rem; }
.plan__monthly .woocommerce-Price-amount { font-weight: 650; color: var(--tp-ink); }

.plan__saving {
	display: inline-block;
	margin: 0 auto .95rem;
	padding: .2rem .55rem;
	background: var(--tp-green-soft);
	border-radius: var(--tp-radius-sm);
	color: var(--tp-green-dark);
	font-size: .75rem;
	font-weight: 650;
}

.plan__summary {
	margin-bottom: 1rem;
	color: var(--tp-muted);
	font-size: .875rem;
}

.plan .btn { margin-top: auto; }

.includes {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--tp-surface-alt);
	border: 1px solid var(--tp-line-soft);
	border-radius: var(--tp-radius-lg);
}
.includes__title {
	margin: 0 0 1.15rem;
	color: var(--tp-navy);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	text-align: center;
}
.includes__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: .7rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.includes__item {
	display: flex;
	align-items: flex-start;
	gap: .55rem;
	margin: 0;
	color: var(--tp-body);
	font-size: .9375rem;
}
.includes__item .tp-icon { flex: none; margin-top: .15rem; color: var(--tp-green); }

.plans__footnote {
	max-width: 46rem;
	margin: 1.75rem auto 0;
	color: var(--tp-muted);
	font-size: .875rem;
	text-align: center;
}

.plans__assurance {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	max-width: 46rem;
	margin: 1rem auto 0;
	color: var(--tp-muted);
	font-size: .875rem;
	text-align: center;
}
.plans__assurance .tp-icon { flex: none; color: var(--tp-green); }

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */

.quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.quote {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2rem);
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	box-shadow: var(--tp-shadow-sm);
}

.quote__rating { display: flex; gap: .15rem; margin: 0 0 .9rem; color: var(--tp-gold); }
.quote__rating .tp-icon { fill: currentColor; }

.quote__body {
	margin: 0 0 1.25rem;
	padding: 0;
	border: 0;
	color: var(--tp-ink);
	font-size: 1.0625rem;
	line-height: 1.6;
}
.quote__body p:last-child { margin-bottom: 0; }

.quote__author {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--tp-line-soft);
}
.quote__avatar { border-radius: var(--tp-pill); }
.quote__name { display: block; color: var(--tp-navy); font-weight: 650; font-size: .9375rem; }
.quote__role { display: block; color: var(--tp-muted); font-size: .8125rem; }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */

.faq {
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	background: #fff;
	overflow: hidden;
}

.faq__item + .faq__item { border-top: 1px solid var(--tp-line-soft); }

.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem clamp(1.1rem, 2.5vw, 1.6rem);
	color: var(--tp-ink);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.45;
	cursor: pointer;
	list-style: none;
	transition: background-color .16s var(--tp-ease), color .16s var(--tp-ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--tp-surface-alt); color: var(--tp-green-dark); }

.faq__chevron {
	flex: none;
	color: var(--tp-muted);
	transition: transform .22s var(--tp-ease);
}
.faq__item[open] .faq__chevron { transform: rotate(180deg); }

.faq__a {
	padding: 0 clamp(1.1rem, 2.5vw, 1.6rem) 1.35rem;
	color: var(--tp-muted);
	font-size: .9875rem;
}
.faq__a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   15. Closing CTA
   -------------------------------------------------------------------------- */

.section--cta { padding-block: 0 var(--tp-section); }

.cta-band {
	display: grid;
	gap: clamp(1.75rem, 4vw, 3rem);
	padding: clamp(2rem, 5vw, 3.5rem);
	background: linear-gradient(150deg, var(--tp-navy) 0%, var(--tp-navy-dark) 100%);
	border-radius: var(--tp-radius-xl);
	color: rgb(255 255 255 / .8);
	box-shadow: var(--tp-shadow-xl);
}
@media (min-width: 56rem) {
	.cta-band { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; }
}

.cta-band__title { margin: 0 0 .65rem; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.25rem); }
.cta-band__text { margin: 0 0 1.6rem; color: rgb(255 255 255 / .78); font-size: 1.0625rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.cta-band__aside {
	padding: 1.5rem;
	background: rgb(255 255 255 / .07);
	border: 1px solid rgb(255 255 255 / .14);
	border-radius: var(--tp-radius-lg);
}
.cta-band__aside-label {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 .5rem;
	color: var(--tp-gold);
	font-size: .8125rem;
	font-weight: 650;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.cta-band__email { margin: 0 0 .5rem; font-size: 1.125rem; font-weight: 650; word-break: break-word; }
.cta-band__email a { color: #fff; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .35); }
.cta-band__email a:hover { color: var(--tp-gold); border-color: var(--tp-gold); }
.cta-band__aside-note { margin: 0; color: rgb(255 255 255 / .65); font-size: .875rem; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */

.site-footer {
	padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
	background: var(--tp-surface-alt);
	border-top: 1px solid var(--tp-line);
	color: var(--tp-muted);
	font-size: .9375rem;
}

.site-footer__top {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: clamp(2rem, 4vw, 3rem);
	padding-bottom: 2.5rem;
}
@media (min-width: 60rem) {
	.site-footer__top { grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); }
}

.site-footer__brand .site-logo__img { height: 34px; }
.site-footer__tagline { max-width: 30ch; margin: 1rem 0 1.25rem; }

.site-footer__heading {
	margin: 0 0 1rem;
	color: var(--tp-navy);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin: 0 0 .6rem; }
.footer-menu a { color: var(--tp-muted); text-decoration: none; }
.footer-menu a:hover { color: var(--tp-green-dark); text-decoration: underline; }

.site-footer__address { font-style: normal; }
.site-footer__address p { margin: 0 0 .55rem; }
.site-footer__address a { color: var(--tp-navy); font-weight: 600; text-decoration: none; }
.site-footer__address a:hover { color: var(--tp-green-dark); text-decoration: underline; }
.site-footer__muted { color: var(--tp-muted); font-size: .875rem; }
.site-footer__todo {
	padding: .5rem .7rem;
	border: 1px dashed #dba617;
	border-radius: var(--tp-radius-sm);
	background: #fff8e5;
	color: #7a5c00;
	font-size: .8125rem;
}

.social-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.social-list li { margin: 0; }
.social-list a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .35rem .7rem;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-pill);
	background: #fff;
	color: var(--tp-navy);
	font-size: .8125rem;
	text-decoration: none;
}
.social-list a:hover { border-color: var(--tp-green); color: var(--tp-green-dark); }

.site-footer__note { padding: 1.25rem 0; border-top: 1px solid var(--tp-line); }

.site-footer__disclaimer {
	padding: 1.25rem 1.35rem;
	margin-bottom: 1.5rem;
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	color: var(--tp-muted);
	font-size: .8125rem;
	line-height: 1.6;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	padding-top: 1.5rem;
	border-top: 1px solid var(--tp-line);
}
.site-footer__copy { margin: 0; font-size: .875rem; }
.site-footer__payments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .85rem;
	margin: 0;
	font-size: .8125rem;
}
.site-footer__payments p {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 0;
}
.site-footer__payments .tp-icon { flex: none; color: var(--tp-green); }

/* Accepted card marks — Stripe's checklist asks for these to be shown. */
.payment-marks {
	display: flex;
	align-items: center;
	gap: .4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.payment-marks li { margin: 0; display: flex; }
.payment-marks img {
	display: block;
	height: 22px;
	width: auto;
	border: 1px solid var(--tp-line);
	border-radius: 4px;
	background: #fff;
}
.payment-marks--center {
	justify-content: center;
	margin: clamp(1.25rem, 2.5vw, 1.75rem) auto 0;
}

/* --------------------------------------------------------------------------
   17. Page + prose
   -------------------------------------------------------------------------- */

.page-hero {
	padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
	background: var(--tp-surface-alt);
	border-bottom: 1px solid var(--tp-line);
}
.has-transparent-header .page-hero { padding-top: calc(var(--tp-header-h) + clamp(2.5rem, 6vw, 4rem)); }

.page-hero__title { margin: 0 0 .5rem; }
.page-hero__intro { margin: 0; color: var(--tp-muted); font-size: 1.125rem; }
.page-hero__meta { margin: 0; color: var(--tp-muted); font-size: .875rem; }
.page-hero__meta a { color: var(--tp-muted); }
.page-hero__search { margin-top: 1.25rem; }

.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .3rem .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .8125rem;
}
.breadcrumbs__item { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--tp-muted); }
.breadcrumbs__item a { color: var(--tp-muted); text-decoration: none; }
.breadcrumbs__item a:hover { color: var(--tp-green-dark); text-decoration: underline; }
.breadcrumbs__sep { transform: rotate(-90deg); opacity: .5; }

.page-figure { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
.page-figure img { border-radius: var(--tp-radius-lg); }

.prose { padding-block: clamp(2rem, 5vw, 3.5rem); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 2.25em; font-size: clamp(1.375rem, 1.15rem + .9vw, 1.75rem); }
.prose h3 { margin-top: 1.75em; font-size: 1.25rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: var(--tp-radius); }

.prose blockquote {
	margin: 1.75em 0;
	padding: .35rem 0 .35rem 1.35rem;
	border-left: 3px solid var(--tp-green);
	color: var(--tp-ink);
	font-size: 1.125rem;
}

.prose table {
	width: 100%;
	margin: 1.75em 0;
	border-collapse: collapse;
	font-size: .9375rem;
}
.prose th, .prose td { padding: .7rem .9rem; border: 1px solid var(--tp-line); text-align: left; }
.prose th { background: var(--tp-surface-alt); color: var(--tp-ink); font-weight: 650; }

/* Wide content must scroll inside itself, never widen the page. */
.prose > table,
.prose > pre { display: block; max-width: 100%; overflow-x: auto; }

.prose--legal { font-size: 1rem; }
.prose--legal h2 {
	padding-top: 1.5rem;
	border-top: 1px solid var(--tp-line-soft);
}
.prose--legal h2:first-child { padding-top: 0; border-top: 0; }

.page-hero--legal { background: #fff; }

.legal-contact {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	padding: clamp(1.35rem, 3vw, 1.85rem);
	background: var(--tp-surface-alt);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
}
.legal-contact__title { margin: 0 0 .5rem; font-size: 1.125rem; }
.legal-contact__list { margin: 1rem 0 0; padding: 0; list-style: none; font-size: .9375rem; }
.legal-contact__list li { margin-bottom: .45rem; }

.editor-hint {
	padding: 1rem 1.25rem;
	border: 1px dashed var(--tp-line);
	border-radius: var(--tp-radius);
	background: var(--tp-surface-alt);
	color: var(--tp-muted);
	font-size: .9375rem;
	text-align: center;
}

/* --------------------------------------------------------------------------
   18. Blog listing
   -------------------------------------------------------------------------- */

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
	margin: clamp(2rem, 5vw, 3.5rem) 0;
	padding: 0;
	list-style: none;
}
.post-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
	overflow: hidden;
	transition: transform .22s var(--tp-ease), box-shadow .22s var(--tp-ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--tp-shadow-md); }
.post-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__body { padding: 1.35rem; }
.post-card__title { margin: 0 0 .35rem; font-size: 1.1875rem; }
.post-card__title a { color: var(--tp-ink); text-decoration: none; }
.post-card__title a:hover { color: var(--tp-green-dark); }
.post-card__meta { margin: 0 0 .6rem; color: var(--tp-muted); font-size: .8125rem; }
.post-card__excerpt { margin: 0; color: var(--tp-muted); font-size: .9375rem; }

.pagination { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 .75rem;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-sm);
	color: var(--tp-navy);
	text-decoration: none;
}
.pagination .page-numbers:hover { border-color: var(--tp-green); color: var(--tp-green-dark); }
.pagination .page-numbers.current { background: var(--tp-navy); border-color: var(--tp-navy); color: #fff; }

.empty-state { padding: clamp(3rem, 8vw, 5rem) 0; text-align: center; }

/* --------------------------------------------------------------------------
   19. 404
   -------------------------------------------------------------------------- */

.error-404 { text-align: center; }
.has-transparent-header .error-404 { padding-top: calc(var(--tp-header-h) + var(--tp-section)); }
.error-404__code {
	margin: 0;
	background: linear-gradient(135deg, var(--tp-navy) 0%, var(--tp-green) 70%, var(--tp-gold) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(4.5rem, 14vw, 8rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.05em;
}
.error-404__title { margin: .5rem 0 .75rem; }
.error-404__text { max-width: 34rem; margin: 0 auto 2rem; color: var(--tp-muted); }
.error-404__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.error-404__search { max-width: 26rem; margin: 2.5rem auto 0; }

/* --------------------------------------------------------------------------
   20. Forms
   -------------------------------------------------------------------------- */

input[type="text"], input[type="email"], input[type="url"], input[type="tel"],
input[type="number"], input[type="password"], input[type="search"], textarea, select {
	width: 100%;
	padding: .7rem .9rem;
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius);
	background: #fff;
	color: var(--tp-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color .16s var(--tp-ease), box-shadow .16s var(--tp-ease);
}
input:focus, textarea:focus, select:focus {
	outline: 0;
	border-color: var(--tp-green);
	box-shadow: 0 0 0 3px rgb(34 133 74 / .16);
}
textarea { min-height: 8rem; resize: vertical; }
label { display: block; margin-bottom: .35rem; color: var(--tp-ink); font-size: .9375rem; font-weight: 600; }

.search-form { display: flex; gap: .5rem; }
.search-form__input { flex: 1; }
.search-form__submit { flex: none; }

/* Contact form */

.contact-form {
	margin-top: 2rem;
	padding: clamp(1.35rem, 3vw, 2rem);
	background: var(--tp-surface-alt);
	border: 1px solid var(--tp-line);
	border-radius: var(--tp-radius-lg);
}
.contact-form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
}
.contact-form__field { margin-bottom: 1rem; }
.contact-form__optional { color: var(--tp-muted); font-weight: 400; }

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.contact-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px; height: 1px;
	overflow: hidden;
}

.contact-form__consent { margin: .25rem 0 1.25rem; color: var(--tp-muted); font-size: .875rem; }

.contact-form__notice {
	margin: 0 0 1.25rem;
	padding: .9rem 1.1rem;
	border-radius: var(--tp-radius);
	border-left: 3px solid;
	font-size: .9375rem;
}
.contact-form__notice--ok { border-color: var(--tp-green); background: var(--tp-green-soft); color: var(--tp-green-dark); }
.contact-form__notice--error { border-color: #b32d2e; background: #fdf3f3; color: #8a2224; }

/* Contact page detail cards */

.contact-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* --------------------------------------------------------------------------
   21. Responsive — mobile navigation
   -------------------------------------------------------------------------- */

@media (max-width: 60rem) {
	.nav-toggle { display: inline-flex; }

	.has-transparent-header .site-header:not(.is-stuck) .nav-toggle {
		background: rgb(255 255 255 / .12);
		border-color: rgb(255 255 255 / .3);
		color: #fff;
	}

	.site-nav {
		position: fixed;
		inset: var(--tp-header-h) 0 auto;
		z-index: 99;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100dvh - var(--tp-header-h));
		margin: 0;
		padding: 1rem var(--tp-gutter) 2rem;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff;
		border-bottom: 1px solid var(--tp-line);
		box-shadow: var(--tp-shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s var(--tp-ease), transform .2s var(--tp-ease), visibility .2s;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { border-bottom: 1px solid var(--tp-line-soft); }

	.menu-link,
	.has-transparent-header .site-header:not(.is-stuck) .menu-link {
		display: block;
		padding: .9rem .25rem;
		color: var(--tp-navy);
		font-size: 1.0625rem;
	}

	.menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
	.menu-item-has-children > .menu-link { flex: 1; }
	.submenu-toggle { padding: .9rem .5rem; }

	.sub-menu {
		position: static;
		display: none;
		width: 100%;
		margin: 0 0 .5rem;
		padding: 0 0 0 .75rem;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.sub-menu.is-open { display: block; }
	.sub-menu .menu-link { font-size: 1rem; color: var(--tp-muted) !important; }

	.site-nav__actions {
		flex-direction: row-reverse;
		justify-content: space-between;
		margin-top: 1.25rem;
	}
	.site-nav__cta { flex: 1; }
	.has-transparent-header .site-header:not(.is-stuck) .cart-link { color: var(--tp-navy); }
}

@media (min-width: 60.0625rem) {
	.nav-toggle { display: none; }
}

/* --------------------------------------------------------------------------
   22. Motion & print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	.btn:hover, .card:hover, .plan:hover, .post-card:hover { transform: none; }
}

@media print {
	.site-header, .site-nav, .nav-toggle, .cta-band, .site-footer__payments,
	.hero__media, .hero__actions { display: none !important; }
	body { color: #000; font-size: 11pt; }
	.hero { min-height: 0; background: none; color: #000; padding-block: 1rem; }
	.hero__title, .hero__text { color: #000; }
	a { color: #000; text-decoration: underline; }
}
