/*
 * Deep Current — main.css
 *
 * Mobile first. Breakpoints: 640px (tablet), 1025px (desktop; the burger gives
 * way to the full menu here).
 *
 *  1. Tokens          5. Hero, trust strip       9. Experts
 *  2. Base            6. Sections, tabs, cards  10. Steps, topics, FAQ
 *  3. Buttons, forms  7. News                   11. CTA, footer
 *  4. Header, drawer  8. Sample emails          12. Pages, sidebar, widgets
 *                                               13. Sign-up form
 */

/* 1. Tokens ─────────────────────────────────────────────────────────────── */
:root {
	--ink: #0a1b3d;
	--text: #3c4b6b;
	--muted: #52617f;
	--line: #dae4f6;
	--mist: #f3f7ff;
	--sky: #e4edff;
	--blue: #1650e8;
	--blue-dark: #0f3fc0;
	--navy: #0a2259;
	--white: #fff;

	--font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, sans-serif;
	--font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;

	--radius: 16px;
	--radius-s: 12px;
	--page: 1200px;
	--gutter: 20px;
	--band: 64px;
	--logo-h: 40px;
}

@media (min-width: 640px) {
	:root { --gutter: 32px; --band: 88px; }
}

@media (min-width: 1025px) {
	:root { --band: 112px; }
}

/* 2. Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}

body {
	margin: 0;
	font: 400 1rem/1.6 var(--font-body);
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ink);
}

p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

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

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

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 10px 16px;
	color: var(--white);
	background: var(--blue);
	border-radius: var(--radius-s);
	transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.current-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	stroke: var(--line);
	stroke-width: 1.25;
}

.current-lines path { vector-effect: non-scaling-stroke; }

.tag {
	display: inline-block;
	font: 500 0.75rem/1.4 var(--font-mono);
	color: var(--blue);
}

a.tag:hover { text-decoration: underline; }

.meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 14px;
	font: 400 0.75rem/1.5 var(--font-mono);
	color: var(--muted);
}

.meta a:hover { color: var(--blue); }

.empty-note {
	padding: 32px;
	color: var(--muted);
	text-align: center;
	background: var(--white);
	border: 1px dashed var(--line);
	border-radius: var(--radius);
}

.text-link {
	font-weight: 500;
	color: var(--blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 3. Buttons, step-1 form ───────────────────────────────────────────────── */
.btn,
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 24px;
	font: 600 1rem/1.2 var(--font-body);
	text-align: center;
	white-space: nowrap;
	border: 1px solid transparent;
	border-radius: var(--radius-s);
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn--small { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.btn--blue,
.wpcf7-submit { color: var(--white); background: var(--blue); }
.btn--blue:hover,
.wpcf7-submit:hover { background: var(--blue-dark); }

.btn--white { color: var(--blue-dark); background: var(--white); }
.btn--white:hover { background: var(--sky); }

.btn--ghost { color: var(--ink); background: var(--white); border-color: var(--line); }
.btn--ghost:hover { color: var(--blue); border-color: var(--blue); }

.btn:disabled { opacity: 0.6; cursor: default; }

.start-form {
	display: grid;
	gap: 8px;
	width: 100%;
	max-width: 520px;
}

.start-form input {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
}

.start-form input:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.start-form input::placeholder { color: var(--muted); opacity: 1; }
.start-form--blue input { border-color: transparent; }

@media (min-width: 480px) {
	.start-form { grid-template-columns: 1fr auto; }
	.widget-card .start-form { grid-template-columns: 1fr; }
}

/* 4. Header, drawer ─────────────────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(10px);
}

.masthead {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(var(--page) + var(--gutter) * 2);
	min-height: 72px;
	margin: 0 auto;
	padding: 10px var(--gutter);
}

.masthead__brand { flex: 0 1 auto; min-width: 0; margin-right: auto; }

.custom-logo-link { display: block; }

.custom-logo {
	width: auto;
	height: auto;
	max-width: min(210px, 100%);
	max-height: var(--logo-h);
}

@media (min-width: 640px) {
	.custom-logo { max-width: 300px; }
}

.site-logo {
	font: 700 1.25rem/1.2 var(--font-head);
	letter-spacing: -0.02em;
	color: var(--ink);
	white-space: nowrap;
}

.masthead__nav { display: none; }

.nav-list a {
	font-weight: 500;
	color: var(--ink);
}

.nav-list a:hover,
.nav-list .current-menu-item > a { color: var(--blue); }

.masthead__cta { flex: none; }

.menu-toggle {
	display: flex;
	flex: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	cursor: pointer;
}

.menu-toggle span {
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
}

@media (max-width: 379px) {
	.masthead__cta { display: none; }
}

@media (min-width: 1025px) {
	.masthead { gap: 32px; }
	.masthead__brand { margin-right: 0; }
	.masthead__nav { display: block; flex: 1; }
	.masthead__nav .nav-list { display: flex; justify-content: center; gap: 32px; }
	.masthead__nav a { font-size: 0.9375rem; white-space: nowrap; }
	.menu-toggle { display: none; }
}

.nav-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	z-index: 50;
	display: flex;
	flex-direction: column;
	width: min(100%, 400px);
	padding: 12px var(--gutter) 24px;
	overflow-y: auto;
	background: var(--white);
	visibility: hidden;
	transform: translateX(100%);
	transition: transform 0.25s ease, visibility 0s 0.25s;
}

/* Visible from the first frame of opening, so the close button can take focus. */
.nav-drawer.is-open { visibility: visible; transform: none; transition: transform 0.25s ease, visibility 0s; }

.nav-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 52px;
}

.nav-drawer__brand { min-width: 0; }

.nav-close {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--ink);
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	cursor: pointer;
}

.nav-drawer__nav { flex: 1; margin-top: 16px; }

.nav-drawer__nav a {
	display: block;
	padding: 16px 0;
	font: 600 1.375rem/1.2 var(--font-head);
	border-bottom: 1px solid var(--line);
}

.nav-drawer__foot { margin-top: 24px; }

.nav-scrim {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: rgba(10, 27, 61, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s;
}

.nav-scrim.is-open { opacity: 1; visibility: visible; }

@media (min-width: 1025px) {
	.nav-drawer, .nav-scrim { display: none; }
}

/* 5. Hero, trust strip ──────────────────────────────────────────────────── */
.hero {
	position: relative;
	overflow: hidden;
	padding: 72px var(--gutter) 64px;
	text-align: center;
}

.current-lines--hero {
	stroke: #bcd0f8;
	-webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 46%, transparent 45%, #000 100%);
	mask-image: radial-gradient(ellipse 62% 70% at 50% 46%, transparent 45%, #000 100%);
}

/* The page's one piece of motion: the lines draw in once, on load. */
.js .current-lines--hero path {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: st-draw 2.4s cubic-bezier(0.3, 0, 0.2, 1) forwards;
	animation-delay: calc(var(--i) * 70ms);
}

@keyframes st-draw {
	to { stroke-dashoffset: 0; }
}

.hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 920px;
	margin: 0 auto;
}

.hero__title {
	font-size: clamp(2.5rem, 7.2vw, 4.75rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.hero__sub {
	max-width: 640px;
	margin: 24px 0 32px;
	font-size: clamp(1.0625rem, 2vw, 1.25rem);
	line-height: 1.55;
	text-wrap: pretty;
}

.hero__note {
	margin-top: 14px;
	font: 400 0.75rem/1.5 var(--font-mono);
	color: var(--muted);
	text-wrap: balance;
}

@media (min-width: 1025px) {
	.hero { padding-top: 112px; padding-bottom: 104px; }
}

.trust {
	padding: 0 var(--gutter);
	background: var(--mist);
	border-block: 1px solid var(--line);
}

.trust__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 16px;
	max-width: var(--page);
	margin: 0 auto;
	padding: 24px 0;
}

.trust__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ink);
}

.trust__list .icon { flex: none; color: var(--blue); }

@media (min-width: 900px) {
	.trust__list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}

/* 6. Sections, tabs, cards ──────────────────────────────────────────────── */
.band { padding: var(--band) var(--gutter); }
.band--tight { padding-top: 48px; padding-bottom: var(--band); }
.band--mist { background: var(--mist); }

.band__inner { max-width: var(--page); margin: 0 auto; }
.band__inner--narrow { max-width: 760px; }
.band__inner--form { max-width: 960px; }

.band__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
	margin-bottom: 32px;
}

.band__title {
	font-size: clamp(1.875rem, 4.4vw, 3rem);
	letter-spacing: -0.03em;
	text-wrap: balance;
}

@media (min-width: 640px) {
	.band__head { margin-bottom: 48px; }
}

.tabs {
	display: flex;
	gap: 6px;
	max-width: 100%;
	padding: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tabs__tab {
	flex: none;
	min-height: 44px;
	padding: 8px 16px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--text);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.tabs__tab:hover { color: var(--blue); border-color: var(--blue); }

.tabs__tab[aria-selected="true"] {
	color: var(--white);
	background: var(--blue);
	border-color: var(--blue);
}

.tab-panel[hidden] { display: none; }

.card { position: relative; display: flex; flex-direction: column; min-width: 0; }

.card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--sky);
	border-radius: var(--radius);
}

.card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.card:hover .card__img { transform: scale(1.02); }

.card__placeholder { position: absolute; inset: 0; }
.card__placeholder .current-lines { stroke: #b4caf7; }

.card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding-top: 16px;
}

.card__title {
	font-size: 1.1875rem;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.card__title a:hover { color: var(--blue); }

.card__title a::after {
	/* The whole card is the target. */
	content: "";
	position: absolute;
	inset: 0;
}

.card .tag,
.card .meta a { position: relative; z-index: 1; }

.card__excerpt { font-size: 0.9375rem; line-height: 1.55; }

.card--large .card__title {
	font-size: clamp(1.5rem, 3vw, 2.125rem);
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.card--row {
	flex-direction: row-reverse;
	gap: 16px;
	padding: 20px 0;
	border-top: 1px solid var(--line);
}

.card--row .card__media {
	flex: none;
	width: 96px;
	height: 96px;
	aspect-ratio: auto;
	border-radius: var(--radius-s);
}

.card--row .card__body { padding-top: 0; gap: 6px; min-width: 0; }
.card--row .card__title { font-size: 1.0625rem; }

@media (min-width: 640px) {
	.card--row .card__media { width: 132px; height: 100px; }
}

.issues { display: grid; gap: 32px; }

.issues__rest { min-width: 0; }
.issues__rest .card--row:last-child { padding-bottom: 0; }

@media (min-width: 1025px) {
	.issues { grid-template-columns: 1.25fr 1fr; gap: 48px; }
	.issues__rest .card--row:first-child { padding-top: 0; border-top: 0; }
}

.grid { display: grid; gap: 40px 24px; }

@media (min-width: 640px) {
	.grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
	.grid:not(.grid--2) { grid-template-columns: repeat(3, 1fr); }
}

/* 7. News ───────────────────────────────────────────────────────────────── */
.news { display: grid; gap: 48px; }

.river { margin-bottom: 28px; }

.river__item {
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}

.river__item:first-child { padding-top: 0; }

.river__title {
	margin: 6px 0 8px;
	font-size: clamp(1.25rem, 2.4vw, 1.5rem);
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.river__title a:hover { color: var(--blue); }

.picks__title {
	margin-bottom: 20px;
	font-size: 1.25rem;
}

.picks { display: grid; gap: 28px; align-content: start; }
.picks__title { margin-bottom: -8px; }

.picks .card {
	padding: 16px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.picks .card__media { border-radius: var(--radius-s); }

@media (min-width: 640px) and (max-width: 1024px) {
	.picks { grid-template-columns: repeat(2, 1fr); }
	.picks__title { grid-column: 1 / -1; }
}

@media (min-width: 1025px) {
	.news:not(.news--solo) { grid-template-columns: 1fr 380px; gap: 64px; }
}

/* 8. Sample emails ──────────────────────────────────────────────────────── */
.sample {
	display: grid;
	gap: 40px;
	justify-items: center;
}

.issue-source { font-size: 0.9375rem; color: var(--muted); }

.phone {
	position: relative;
	width: min(100%, 320px);
	padding: 10px;
	background: var(--ink);
	border-radius: 42px;
}

/* A phone shows no scrollbar. The fade says there is more below; main.js
   drops it at the end of the email. */
.phone::after {
	content: "";
	position: absolute;
	inset: auto 10px 10px;
	height: 72px;
	background: linear-gradient(to bottom, rgb(255 255 255 / 0), var(--white));
	border-radius: 0 0 32px 32px;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.phone.is-end::after { opacity: 0; }

.phone__screen {
	height: 560px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--white);
	border-radius: 32px;
	scrollbar-width: none;
}

.phone__screen::-webkit-scrollbar { display: none; }

.phone__screen:focus-visible { outline-offset: 4px; }

.phone__head {
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 20px 20px 12px;
	background: var(--mist);
	border-bottom: 1px solid var(--line);
}

.phone__from { font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.phone__subject { font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }

.mail { padding: 20px; font-size: 0.875rem; line-height: 1.55; }

.mail__masthead {
	font: 700 1.5rem/1.15 var(--font-head);
	letter-spacing: -0.02em;
	color: var(--blue);
}

.mail__byline { margin-top: 2px; font: 400 0.6875rem/1.5 var(--font-mono); color: var(--muted); }
.mail__intro { margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mail__story { padding: 16px 0; border-bottom: 1px solid var(--line); }
.mail__tag { font: 500 0.6875rem/1.5 var(--font-mono); color: var(--blue); }
.mail__title { margin: 4px 0 6px; font-size: 1.0625rem; line-height: 1.25; }
.mail__source { margin-top: 6px; font-size: 0.8125rem; font-weight: 500; color: var(--blue); text-decoration: underline; }

.mail__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	padding-top: 16px;
	font-size: 0.75rem;
	color: var(--muted);
	text-decoration: underline;
}

.sample__info { width: 100%; max-width: 560px; }

.sample__name {
	font-size: clamp(1.625rem, 3vw, 2.25rem);
	letter-spacing: -0.025em;
}

.sample__preview { margin-top: 8px; font-size: 1.0625rem; }

.sample__facts { margin-top: 24px; border-top: 1px solid var(--line); }

.sample__facts > div {
	display: grid;
	grid-template-columns: 76px 1fr;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.sample__facts dt { font: 400 0.75rem/1.7 var(--font-mono); color: var(--muted); }
.sample__facts dd { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }

.sample__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.sample__note { margin-top: 16px; font-size: 0.8125rem; color: var(--muted); }

@media (min-width: 860px) {
	.sample {
		grid-template-columns: 320px minmax(0, 560px);
		align-items: center;
		justify-content: center;
		justify-items: stretch;
		gap: 72px;
	}
}

.sample-list { display: grid; gap: 72px; }
.sample-list section { scroll-margin-top: 96px; }

/* 9. Experts ───────────────────────────────────────────────────────────── */
.experts-band {
	position: relative;
	overflow: hidden;
	padding: var(--band) var(--gutter);
	background: var(--navy);
}

.experts-band .band__inner { position: relative; }
.experts-band .band__title { color: var(--white); }
.current-lines--navy { stroke: rgba(160, 190, 255, 0.14); }

.experts {
	display: grid;
	gap: 16px;
	margin-bottom: 40px;
}

.expert {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	grid-template-rows: auto 1fr auto;
	gap: 14px 16px;
	padding: 20px;
	color: #c9d6f2;
	background: #10306f;
	border: 1px solid rgba(160, 190, 255, 0.18);
	border-radius: var(--radius);
}

.expert__photo { overflow: hidden; border-radius: var(--radius-s); }
.expert__photo img { width: 80px; height: 80px; object-fit: cover; }

.expert__name { font-size: 1.125rem; color: var(--white); }
.expert__name a:hover { text-decoration: underline; }
.expert__role { margin-top: 2px; font-size: 0.875rem; }
.expert__beat { margin-top: 2px; font: 500 0.75rem/1.5 var(--font-mono); color: #9dbcff; }
.expert__bio { grid-column: 1 / -1; font-size: 0.9375rem; line-height: 1.5; }

.expert__links {
	grid-column: 1 / -1;
	display: flex;
	gap: 16px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--white);
}

.expert__links a { text-decoration: underline; text-underline-offset: 3px; }
.expert__links a:hover { color: #9dbcff; }

@media (min-width: 640px) {
	.experts { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
	.experts { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.expert-list { display: grid; gap: 40px; }

.expert-row {
	display: grid;
	gap: 20px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--line);
}

.expert-row__photo { width: 140px; overflow: hidden; border-radius: var(--radius); }
.expert-row__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.expert-row__name { font-size: 1.625rem; }
.expert-row__name a:hover { color: var(--blue); }
.expert-row .meta { margin-top: 6px; }
.expert-row .entry-content { margin-top: 14px; }

.expert-row--page { padding-bottom: 0; border: 0; }

@media (min-width: 640px) {
	.expert-row { grid-template-columns: 160px minmax(0, 1fr); gap: 32px; }
	.expert-row__photo { width: 160px; }
	.expert-row--page { grid-template-columns: 220px minmax(0, 720px); }
	.expert-row--page .expert-row__photo { width: 220px; }
}

/* 10. Steps, topics, FAQ ────────────────────────────────────────────────── */
.steps { display: grid; gap: 16px; }

.step {
	padding: 28px;
	background: var(--mist);
	border-radius: var(--radius);
}

.step__num {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 20px;
	font: 500 1rem/1 var(--font-mono);
	color: var(--white);
	background: var(--blue);
	border-radius: var(--radius-s);
}

.step__title { margin-bottom: 8px; font-size: 1.375rem; }

@media (min-width: 860px) {
	.steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.chips {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.chip {
	display: flex;
	align-items: center;
	min-height: 64px;
	padding: 14px 18px;
	font: 600 1rem/1.25 var(--font-head);
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	transition: color 0.15s, border-color 0.15s;
}

.chip:hover { color: var(--blue); border-color: var(--blue); }

@media (min-width: 860px) {
	.chips { grid-template-columns: repeat(4, 1fr); gap: 16px; }
	.chip { min-height: 80px; padding: 18px 22px; font-size: 1.125rem; }
}

.band__inner--faq { display: grid; gap: 24px; }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }

.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	font: 600 1.125rem/1.3 var(--font-head);
	color: var(--ink);
	list-style: none;
	cursor: pointer;
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue); }
.faq__item .icon { flex: none; color: var(--blue); transition: transform 0.2s; }
.faq__item[open] .icon { transform: rotate(180deg); }
.faq__item p { max-width: 64ch; padding-bottom: 22px; }

@media (min-width: 1025px) {
	.band__inner--faq { grid-template-columns: 1fr 2fr; gap: 64px; }
}

/* 11. CTA, footer ──────────────────────────────────────────────────────── */
.final-cta { padding: 0 var(--gutter) var(--band); }

.band--mist + .final-cta,
.final-cta--flush { padding-top: var(--band); }

.final-cta__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	max-width: var(--page);
	margin: 0 auto;
	padding: 56px 24px;
	overflow: hidden;
	text-align: center;
	background: var(--blue);
	border-radius: var(--radius);
}

.current-lines--blue { stroke: rgba(255, 255, 255, 0.16); }

.final-cta__title {
	position: relative;
	font-size: clamp(2rem, 5vw, 3.5rem);
	letter-spacing: -0.03em;
	color: var(--white);
	text-wrap: balance;
}

.final-cta .start-form { position: relative; }

@media (min-width: 1025px) {
	.final-cta__panel { padding: 88px 48px; }
}

.site-footer {
	padding: 56px var(--gutter) 32px;
	background: var(--mist);
	border-top: 1px solid var(--line);
}

.site-footer__inner { max-width: var(--page); margin: 0 auto; }

.footer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 36px 24px;
}

.footer-brand { grid-column: 1 / -1; }

.footer-col__heading {
	margin-bottom: 12px;
	font: 500 0.8125rem/1.4 var(--font-mono);
	letter-spacing: 0;
	color: var(--muted);
}

.footer-links { display: grid; gap: 2px; }

.footer-links a {
	padding: 5px 0;
	font-size: 0.9375rem;
	color: var(--ink);
}

.footer-links a:hover { color: var(--blue); }

.footer-base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	margin-top: 40px;
	padding-top: 24px;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--muted);
	border-top: 1px solid var(--line);
}

@media (min-width: 860px) {
	.footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
	.footer-brand { grid-column: auto; }
}

/* 12. Pages, sidebar, widgets ──────────────────────────────────────────── */
.page-header { margin-bottom: 32px; }

.page-title {
	font-size: clamp(2.125rem, 5vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.page-lede {
	max-width: 62ch;
	margin-top: 14px;
	font-size: 1.125rem;
	line-height: 1.55;
}

.content-sidebar { display: grid; gap: 48px; min-width: 0; }
.content-sidebar > * { min-width: 0; }

@media (min-width: 1025px) {
	.content-sidebar { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
}

.entry-header { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }

.entry-title {
	font-size: clamp(2rem, 4.4vw, 3rem);
	line-height: 1.12;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.entry-media { margin-bottom: 32px; }
.entry-media img { width: 100%; border-radius: var(--radius); }

.entry-content {
	max-width: 70ch;
	font-size: 1.0625rem;
	line-height: 1.7;
	overflow-wrap: break-word;
}

.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.8em; font-size: 1.625rem; line-height: 1.25; }
.entry-content h3 { margin-top: 1.6em; font-size: 1.3125rem; line-height: 1.3; }
.entry-content h4 { margin-top: 1.4em; font-size: 1.125rem; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius-s); }
.entry-content strong { color: var(--ink); }

.entry-content blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 20px;
	color: var(--ink);
	border-left: 3px solid var(--blue);
}

.entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 8px 12px; text-align: left; border: 1px solid var(--line); }

.share-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.share-row__label { margin-right: 6px; font: 400 0.8125rem/1 var(--font-mono); color: var(--muted); }

.share-row__link {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
}

.share-row__link:hover { color: var(--blue); border-color: var(--blue); }
.share-row__link svg { width: 18px; height: 18px; fill: currentColor; }

.related { margin-top: 72px; scroll-margin-top: 96px; }
.related__title { margin-bottom: 28px; font-size: 1.75rem; letter-spacing: -0.025em; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	font-weight: 500;
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
}

.pagination a.page-numbers:hover { color: var(--blue); border-color: var(--blue); }
.pagination .current { color: var(--white); background: var(--blue); border-color: var(--blue); }

.notice { text-align: center; }
.notice .page-lede { margin-inline: auto; }

.notice__icon {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 24px;
	color: var(--blue);
	background: var(--sky);
	border-radius: var(--radius);
}

.notice__icon .icon { width: 32px; height: 32px; }
.notice__hint { margin-top: 16px; color: var(--muted); }
.notice__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.notice__status { margin-top: 14px; font-weight: 500; color: var(--ink); }
.notice__link { margin-top: 18px; }
.notice__link a, .form-aside a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.notice strong { overflow-wrap: anywhere; }

.next-list {
	display: grid;
	gap: 12px;
	margin-top: 32px;
	text-align: left;
}

.next-list li {
	display: flex;
	gap: 14px;
	padding: 18px;
	background: var(--mist);
	border-radius: var(--radius-s);
}

.next-list .icon { flex: none; color: var(--blue); }
.next-list a { color: var(--blue); text-decoration: underline; }

.form-aside { margin-top: 24px; color: var(--muted); }

.sidebar { display: grid; gap: 20px; align-content: start; }

.widget-card {
	padding: 24px;
	background: var(--mist);
	border-radius: var(--radius);
}

.widget-card--blue { color: var(--white); background: var(--blue); }

.widget-card__title { margin-bottom: 6px; font-size: 1.25rem; }
.widget-card--blue .widget-card__title { color: var(--white); }
.widget-card__text { margin-bottom: 16px; font-size: 0.9375rem; line-height: 1.5; }

.topic-list { margin-top: 6px; }

.topic-list a {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	font-weight: 500;
	color: var(--ink);
	border-bottom: 1px solid var(--line);
}

.topic-list li:last-child a { border-bottom: 0; padding-bottom: 0; }
.topic-list a:hover { color: var(--blue); }
.topic-list__count { font: 400 0.8125rem/1.8 var(--font-mono); color: var(--muted); }

.range-field {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 6px 12px;
	margin-bottom: 18px;
}

.range-field__label { font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.range-field__value { font: 500 0.875rem/1.6 var(--font-mono); color: var(--blue); }
.range-field input { grid-column: 1 / -1; width: 100%; accent-color: var(--blue); }

.calc__result {
	margin-bottom: 16px;
	padding: 16px;
	background: var(--white);
	border-radius: var(--radius-s);
}

.calc__result strong {
	display: block;
	font: 700 2.25rem/1.1 var(--font-head);
	letter-spacing: -0.03em;
	color: var(--blue);
	overflow-wrap: anywhere;
}

.calc__result span { font-size: 0.875rem; }

.calc-panel {
	display: grid;
	gap: 32px;
	padding: 24px;
	background: var(--mist);
	border-radius: var(--radius);
}

.calc-panel__results {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.calc-panel__results > div {
	padding: 18px;
	background: var(--white);
	border-radius: var(--radius-s);
}

.calc-panel__results dt { font-size: 0.875rem; }

.calc-panel__results dd {
	margin-top: 4px;
	font: 700 clamp(1.375rem, 3.4vw, 2.125rem)/1.15 var(--font-head);
	letter-spacing: -0.025em;
	color: var(--blue);
}

.calc-panel__note { font-size: 0.8125rem; color: var(--muted); }

@media (min-width: 860px) {
	.calc-panel { grid-template-columns: 1fr 1.25fr; padding: 40px; gap: 32px 48px; }
	.calc-panel__note { grid-column: 1 / -1; }
}

.chart__title { font-size: clamp(1.625rem, 3.4vw, 2.25rem); letter-spacing: -0.025em; }
.chart__sub { margin: 8px 0 28px; }
.chart__table { width: 100%; border-collapse: collapse; }

.chart__table tr { display: grid; grid-template-columns: 52px 1fr; gap: 2px 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }

.chart__year { font: 400 0.8125rem/1.6 var(--font-mono); color: var(--muted); }
.chart__name { font-size: 0.9375rem; font-weight: 500; text-align: left; color: var(--ink); }
.chart__cell { grid-column: 1 / -1; }

.chart__bar {
	display: block;
	width: var(--w);
	height: 10px;
	background: var(--blue);
	border-radius: 0 4px 4px 0;
}

.chart__value { display: block; margin-top: 4px; font: 400 0.8125rem/1.5 var(--font-mono); color: var(--text); }

@media (min-width: 860px) {
	.chart__table tr { grid-template-columns: 56px 170px 1fr; align-items: center; gap: 16px; }
	.chart__cell { grid-column: auto; display: grid; grid-template-columns: 1fr 150px; align-items: center; gap: 16px; }
	.chart__value { margin-top: 0; text-align: right; }
}

/* 13. Sign-up form ───────────────────────────────────────────── */
.hidden-fields-container { display: none; }

.st-form__legal { margin-top: 12px; font-size: 0.75rem; color: var(--muted); }

.sub-field { margin-bottom: 24px; }

.sub-label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ink);
}

.sub-label--tz { margin-top: 12px; font-weight: 500; }

.st-form input[type="email"],
.sub-select {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
}

.st-form input[type="email"]:focus,
.sub-select:focus { outline: 2px solid var(--blue); outline-offset: -1px; }

.sub-block { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }

.sub-block legend {
	margin-bottom: 10px;
	padding: 0;
	font: 700 1.0625rem/1.3 var(--font-head);
	color: var(--ink);
}

.sub-cards, .sub-rows, .sub-times { display: grid; gap: 8px; }

@media (min-width: 640px) {
	.sub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 860px) {
	.sub-rows, .sub-times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.st-form .wpcf7-form-control-wrap { display: block; }
.st-form .wpcf7-list-item { display: block; height: 100%; margin: 0; }

.sub-block .wpcf7-list-item label {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	min-height: 52px;
	padding: 12px 14px;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s;
}

.sub-block .wpcf7-list-item label:hover { border-color: var(--blue); }

.sub-block .wpcf7-list-item label:has(input:checked) {
	background: var(--sky);
	border-color: var(--blue);
	box-shadow: inset 0 0 0 1px var(--blue);
}

.sub-block .wpcf7-list-item label:has(input:focus-visible) {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

.sub-block input[type="checkbox"],
.sub-block input[type="radio"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--blue);
}

.wpcf7-list-item-label strong { display: block; font-weight: 600; line-height: 1.3; }
.wpcf7-list-item-label small { display: block; font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }

/* The delivery cards carry an icon each, drawn from CSS because CF7 owns the
   markup of its choices. */
.sub-times .wpcf7-list-item-label { flex: 1; }

.sub-times label::after {
	content: "";
	flex: none;
	order: 3;
	width: 24px;
	height: 24px;
	background: var(--blue);
	-webkit-mask: var(--glyph) center / contain no-repeat;
	mask: var(--glyph) center / contain no-repeat;
}

.sub-times .wpcf7-list-item:nth-child(1) label {
	--glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3 18h18M6.500 18a5.500 5.500 0 0 1 11 0M12 5v4M4.500 10.500l2 2M19.500 10.500l-2 2'/%3E%3C/svg%3E");
}

.sub-times .wpcf7-list-item:nth-child(2) label {
	--glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 2v2m0 16v2M2 12h2m16 0h2M5 5l1.500 1.500M17.500 17.500 19 19M19 5l-1.500 1.500M6.500 17.500 5 19'/%3E%3C/svg%3E");
}

.sub-times .wpcf7-list-item:nth-child(3) label {
	--glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M20 14.500A8.500 8.500 0 1 1 9.500 4a7 7 0 0 0 10.500 10.500Z'/%3E%3C/svg%3E");
}

.sub-consent { margin-bottom: 20px; font-size: 0.875rem; line-height: 1.45; }
.sub-consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.sub-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.sub-consent .wpcf7-list-item-label { font-size: 0.875rem; }
.sub-consent a, .sub-note a { color: var(--blue); text-decoration: underline; }

.sub-submit { position: relative; }
.wpcf7-submit { width: 100%; }
.wpcf7-submit:disabled { opacity: 0.6; cursor: default; }
.st-form .wpcf7-spinner { position: absolute; top: 18px; right: 16px; margin: 0; }

.sub-note { margin-top: 12px; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); text-align: center; }

.wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #b3261e;
}

.st-form .wpcf7-response-output {
	margin: 14px 0 0;
	padding: 12px 14px;
	font-size: 0.875rem;
	color: var(--ink);
	background: var(--sky);
	border: 0;
	border-radius: var(--radius-s);
}

.st-form .wpcf7 form.init .wpcf7-response-output,
.st-form .wpcf7 form.sent .wpcf7-response-output:empty { display: none; }

.grecaptcha-badge { visibility: hidden; }

/* Reduced motion ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}

	.js .current-lines--hero path { stroke-dashoffset: 0; }
}
