/*
 * PicSuit theme styles.
 * Fonts are served from the theme (assets/fonts), not from a third-party CDN.
 */

@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
	font-family: "Instrument Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
	font-family: "Instrument Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ==========================================================================
   PicSuit — main stylesheet
   Navy ink on ivory paper. The amber accent is reserved for call-to-action buttons.
   ========================================================================== */

:root {
	--ink: #0F1B33;
	--paper: #FAF7F2;
	--white: #FFFFFF;
	--line: #E6DFD3;
	--line-strong: #CFC7B8;
	--muted: #5B6478;
	--soft: #3A4560;
	--tint: #F1ECE3;
	--accent: #FFB224;
	--accent-ink: #0F1B33;
	--navy-card: #17264A;
	--navy-line: #2B3A5E;
	--on-dark-muted: #C3CBDB;
	--on-dark-faint: #9AA6C0;
	--footer: #0B1529;
	--footer-line: #23314F;
	--font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
	--section-pad: clamp(56px, 8vw, 104px);
}

/* Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Anchors stop below the sticky header (and below the WordPress toolbar of logged-in users). */
	scroll-padding-top: calc(84px + var(--wp-admin--admin-bar--height, 0px));
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--ink);
}

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

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
}

.dark :focus-visible {
	outline-color: var(--paper);
}

.wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 40px);
}

.wrap--narrow {
	max-width: 800px;
}

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

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: 10px;
	background: var(--ink);
	color: var(--paper);
	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
	color: var(--paper);
}

.icon {
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.icon-fill {
	flex: none;
	fill: currentColor;
}

.stars {
	display: flex;
	gap: 2px;
	flex: none;
}

.stars__star {
	fill: currentColor;
}

.stars__star--off {
	opacity: 0.25;
}

/* Buttons and links
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 26px;
	border: 0;
	border-radius: 12px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: filter 0.15s;
}

.btn:hover {
	color: var(--accent-ink);
	filter: brightness(0.93);
}

.btn--lg {
	min-height: 58px;
	padding: 0 28px;
	font-size: 19px;
}

.btn--sm {
	min-height: 44px;
	padding: 0 18px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}

.btn--outline {
	border: 1.5px solid var(--paper);
	background: transparent;
	color: var(--paper);
}

.btn--outline:hover {
	background: rgba(250, 247, 242, 0.08);
	color: var(--paper);
	filter: none;
}

.link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 17px;
	font-weight: 600;
	text-underline-offset: 4px;
}

.link--light,
.link--light:hover {
	color: var(--paper);
}

.eyebrow {
	margin: 0 0 16px;
	color: var(--muted);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 8px;
	background: var(--tint);
	font-size: 14px;
	font-weight: 600;
}

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

/* Header
   ========================================================================== */

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

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 68px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--ink);
	text-decoration: none;
}

.logo:hover {
	color: var(--ink);
}

.logo__mark {
	flex: none;
}

.logo__word {
	font-family: var(--font-display);
	font-size: 23px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}

.logo--light,
.logo--light:hover {
	color: var(--paper);
}

.nav {
	min-width: 0;
}

/* A menu too long for the header wraps onto a second line instead of widening the page. */
.nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--ink);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-align: left;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.nav__link:hover,
.is-open > .nav__link {
	background: var(--tint);
	color: var(--ink);
}

.nav__list > .is-current > .nav__link,
.nav__list > .is-current-parent > .nav__link {
	text-decoration: underline;
	text-underline-offset: 6px;
}

.nav__chevron {
	transition: transform 0.15s;
}

.is-open > .nav__trigger .nav__chevron {
	transform: rotate(180deg);
}

/* Dropdown panels
   -------------------------------------------------------------------------- */

.site-header__inner {
	position: relative;
}

.nav__item--list,
.lang {
	position: relative;
}

.nav-panel,
.lang-panel {
	display: none;
	position: absolute;
	z-index: 30;
	top: calc(100% + 20px);
	left: 0;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	box-shadow: 0 24px 48px -16px rgba(15, 27, 51, 0.22), 0 2px 6px rgba(15, 27, 51, 0.06);
}

/* Flags of a Polylang language switcher placed in the menu sit on the text line. */
.nav .pll-switcher-flag {
	display: inline-block;
	vertical-align: -1px;
}

/* A panel taller than the window scrolls inside itself, because the header stays in place. */
.nav-panel,
.lang-panel {
	max-height: calc(100vh - 100px - var(--wp-admin--admin-bar--height, 0px));
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* Keeps the panel open while the pointer crosses the gap between the button and the panel. */
.nav__trigger {
	position: relative;
}

.is-open > .nav__trigger::after,
html:not(.js) [data-nav-item]:hover > .nav__trigger::after {
	content: "";
	position: absolute;
	left: -24px;
	right: -24px;
	top: 100%;
	height: 22px;
}

.is-open > .nav-panel,
.is-open > .lang-panel,
html:not(.js) [data-nav-item]:hover > [data-nav-panel],
html:not(.js) [data-nav-item]:focus-within > [data-nav-panel] {
	display: block;
}

.nav-panel.is-end,
.lang-panel {
	left: auto;
	right: 0;
}

.nav-panel--list {
	width: 380px;
	max-width: calc(100vw - 32px);
	padding: 10px;
}

.nav-panel__rows {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.nav-row {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: 12px;
	color: var(--ink);
	text-decoration: none;
}

.nav-row:hover,
.nav-panel__link:hover,
.nav-panel__more:hover,
.lang-menu__link:hover {
	background: var(--tint);
	color: var(--ink);
}

.nav-row__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: var(--tint);
}

.nav-row:hover .nav-row__icon {
	background: var(--white);
}

.nav-row__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.nav-row__title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
}

.nav-row__text {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.35;
}

/* The wide panel is centred under the header, not under its button. */
.nav-panel--wide {
	top: calc(100% + 8px);
	left: 50%;
	width: min(calc(var(--nav-cols, 2) * 262px + 20px), calc(100% - 2 * clamp(16px, 4vw, 40px)));
	padding: 26px 28px 14px;
	transform: translateX(-50%);
}

.nav-panel--wide.nav-panel--card {
	width: min(calc(var(--nav-cols, 2) * 262px + 356px), calc(100% - 2 * clamp(16px, 4vw, 40px)));
}

.nav-panel__cols {
	display: grid;
	grid-template-columns: repeat(var(--nav-cols, 2), minmax(0, 1fr));
	gap: 36px;
	align-items: start;
}

.nav-panel--card .nav-panel__cols {
	grid-template-columns: repeat(var(--nav-cols, 2), minmax(0, 1fr)) minmax(0, 300px);
}

.nav-panel__heading {
	margin-bottom: 6px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
}

.nav-panel__heading-link {
	color: inherit;
	text-decoration: none;
}

.nav-panel__heading-link:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.nav-panel__link {
	display: flex;
	align-items: center;
	min-height: 44px;
	margin: 0 -12px;
	padding: 6px 12px;
	border-radius: 10px;
	color: var(--ink);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}

.nav-panel__cards {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nav-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--paper);
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.15s;
}

.nav-card:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.nav-card__media {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.nav-card__media--1 {
	grid-template-columns: minmax(0, 1fr);
}

.nav-card__media--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-card__img {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 10px;
	object-fit: cover;
}

.nav-card__media--1 .nav-card__img {
	aspect-ratio: 16 / 9;
}

.nav-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nav-card__title {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.nav-card__text {
	color: var(--soft);
	font-size: 15px;
	line-height: 1.4;
}

.nav-card__more {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
}

.nav-panel__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
	margin-top: 16px;
	padding-top: 8px;
	border-top: 1px solid var(--line);
}

.nav-panel--list .nav-panel__foot {
	margin-top: 8px;
	padding: 6px 12px 0;
}

.nav-panel__more {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: 0 -12px;
	padding: 0 12px;
	border-radius: 10px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

/* Language dropdown
   -------------------------------------------------------------------------- */

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.lang-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 10px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.lang-btn:hover,
.is-open > .lang-btn {
	background: var(--tint);
}

.lang-panel {
	width: 348px;
	max-width: calc(100vw - 32px);
	padding: 10px;
}

.lang-panel .lang-menu {
	max-height: min(60vh, 420px);
	overflow-y: auto;
}

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

.lang-menu__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
}

.lang-menu__link.is-current {
	font-weight: 700;
}

.site-header__login {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.nav__extra,
.nav-toggle {
	display: none;
}

.nav-toggle {
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
}

.nav-toggle[aria-expanded="true"] {
	background: var(--tint);
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: block;
}

/* Keep the sticky header below the WordPress toolbar for logged-in users. */
.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

/* Hero
   ========================================================================== */

.hero {
	padding: clamp(40px, 6vw, 80px) 0 clamp(44px, 6vw, 80px);
}

.hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.hero__copy {
	flex: 1 1 440px;
	min-width: 0;
}

.hero__visual {
	flex: 1 1 420px;
	min-width: 0;
}

.hero__title {
	font-family: var(--font-display);
	font-size: clamp(38px, 5.4vw, 68px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.02;
}

.hero__text {
	max-width: 33em;
	margin-top: 22px;
	color: var(--soft);
	font-size: clamp(17px, 1.5vw, 20px);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 26px;
	margin-top: 32px;
}

.rating {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	min-height: 44px;
	margin-top: 20px;
	color: var(--ink);
	font-size: 16px;
	text-decoration: none;
}

a.rating .rating__source {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.checks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin-top: 26px;
	color: var(--soft);
	font-size: 15px;
}

.rating + .checks {
	margin-top: 14px;
}

.checks li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.demo {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(14px, 2vw, 22px);
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--white);
}

.demo__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3.4fr);
	gap: 14px;
	align-items: stretch;
}

.demo__top--single {
	grid-template-columns: minmax(0, 1fr);
}

.demo__selfies {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Small pictures are buttons: a selfie picks the person, a tile below picks the backdrop. */
.demo__pick {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: none;
	color: inherit;
	cursor: pointer;
}

.demo__pick img {
	outline: 2px solid transparent;
	outline-offset: 2px;
	transition: outline-color 0.15s;
}

.demo__pick:hover img {
	outline-color: var(--line-strong);
}

.demo__pick[aria-pressed="true"] img {
	outline-color: var(--ink);
}

.demo__pick:focus-visible {
	outline: 0;
}

.demo__pick:focus-visible img {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
}

.demo__pick--thumb {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border-radius: 10px;
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

.demo__pick--thumb[aria-pressed="true"] {
	color: var(--ink);
	font-weight: 600;
}

.demo__selfie {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	object-fit: cover;
}

.demo__arrow {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
}

.demo__main {
	position: relative;
}

.demo__headshot {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 16px;
	object-fit: cover;
	transition: opacity 0.18s;
}

/* While the next picture is being fetched the current one stays, dimmed. */
.demo__headshot.is-swapping {
	opacity: 0.45;
}

.demo__badge[hidden] {
	display: none;
}

.demo__badge {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
}

.demo__badge--result {
	bottom: 14px;
	left: 14px;
	background: var(--ink);
	color: var(--paper);
}

.demo__badge--time {
	top: 14px;
	right: 14px;
	background: var(--white);
	color: var(--ink);
}

.demo__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
	gap: 10px;
}

.demo__thumbs li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

.demo__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	object-fit: cover;
}

.demo__thumb--empty {
	background: var(--tint);
	outline: 2px solid transparent;
	outline-offset: 2px;
	transition: outline-color 0.15s;
}

.demo__pick:hover .demo__thumb--empty {
	outline-color: var(--line-strong);
}

.demo__pick[aria-pressed="true"] .demo__thumb--empty {
	outline-color: var(--ink);
}

/* Key facts
   ========================================================================== */

.facts {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--white);
}

.facts__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 8px 24px;
	padding: 26px 0;
}

.facts__item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.facts__item dd {
	order: -1;
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.facts__item dt {
	color: var(--muted);
	font-size: 15px;
}

/* Sections
   ========================================================================== */

.section {
	padding: var(--section-pad) 0;
}

.section--white {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--white);
}

.section--white + .section--white {
	border-top: 0;
}

.section--dark,
.final {
	background-color: var(--ink);
	background-image: repeating-linear-gradient(90deg, rgba(250, 247, 242, 0.04) 0, rgba(250, 247, 242, 0.04) 1px, transparent 1px, transparent 16px);
	color: var(--paper);
}

.section__head {
	max-width: 720px;
	margin-bottom: 40px;
}

.section__head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	max-width: none;
}

.section__head-copy {
	max-width: 720px;
}

.section__title {
	font-family: var(--font-display);
	font-size: clamp(28px, 3.6vw, 46px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.06;
}

.section__text {
	margin-top: 14px;
	color: var(--soft);
	font-size: 18px;
}

.dark .section__text {
	color: var(--on-dark-muted);
}

.section__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 26px;
	margin-top: 36px;
}

/* How it works
   ========================================================================== */

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 20px;
}

.step {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 26px;
	border-radius: 18px;
}

.step__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.step__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
}

.step__title {
	font-family: var(--font-display);
	font-size: 23px;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.15;
}

.step__text {
	color: var(--soft);
}

.step .chip {
	align-self: flex-start;
	margin-top: auto;
}

/* Examples gallery
   ========================================================================== */

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.filters__btn {
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.filters__btn:hover {
	border-color: var(--ink);
}

.filters__btn.is-active {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
}

.gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.gallery__item {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gallery__item[hidden] {
	display: none;
}

.gallery__media {
	position: relative;
}

.gallery__headshot {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 14px;
	object-fit: cover;
}

.gallery__selfie {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 30%;
	aspect-ratio: 1 / 1;
	border: 3px solid var(--white);
	border-radius: 10px;
	object-fit: cover;
}

.gallery__caption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 15px;
}

.gallery__name {
	font-weight: 600;
}

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

/* Comparison table
   ========================================================================== */

.compare {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
}

.compare__table {
	width: 100%;
	border-collapse: collapse;
	font-size: clamp(15px, 1.5vw, 17px);
	text-align: left;
}

.compare__table th,
.compare__table td {
	padding: 16px clamp(10px, 2vw, 24px);
	border-top: 1px solid var(--line);
	vertical-align: middle;
}

.compare__table thead th {
	padding-top: 18px;
	padding-bottom: 18px;
	border-top: 0;
	font-family: var(--font-display);
	font-size: clamp(17px, 1.8vw, 20px);
	font-weight: 700;
}

.compare__table th:first-child {
	width: 26%;
	font-weight: 600;
}

.compare__table .compare__ours {
	width: 37%;
	border-top-color: var(--navy-line);
	background: var(--ink);
	color: var(--paper);
	font-weight: 600;
}

.compare__table thead .compare__ours {
	font-weight: 700;
}

.compare__table .compare__theirs {
	width: 37%;
	color: var(--muted);
}

/* Where to use them
   ========================================================================== */

.mockups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
	gap: 20px;
	margin-bottom: 28px;
}

.mockup {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mockup figcaption {
	font-size: 15px;
	font-weight: 600;
}

.mockup__stage {
	display: flex;
	flex: 1;
	align-items: center;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--paper);
}

.mock {
	width: 100%;
	border: 1px solid var(--line);
	background: var(--white);
}

.mock__name {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.mock__meta {
	color: var(--soft);
	font-size: 14px;
}

.mock--profile {
	overflow: hidden;
	border-radius: 14px;
}

.mock__banner {
	height: 64px;
	background: #C9D2E0;
}

.mock__body {
	padding: 0 18px 18px;
}

.mock__avatar {
	width: 84px;
	height: 84px;
	margin-top: -42px;
	border: 4px solid var(--white);
	border-radius: 50%;
	object-fit: cover;
	object-position: center 18%;
}

.mock--profile .mock__name {
	margin-top: 10px;
}

.mock--profile .mock__meta {
	margin-top: 2px;
	font-size: 15px;
}

.mock__buttons {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

.mock__pill {
	padding: 6px 16px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
}

.mock__pill--solid {
	background: var(--ink);
	color: var(--paper);
}

.mock--cv {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
	border-radius: 6px;
}

.mock__cv-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}

.mock__cv-photo {
	flex: none;
	width: 72px;
	height: 86px;
	border-radius: 6px;
	object-fit: cover;
	object-position: center 18%;
}

.mock__lines {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.mock__line {
	display: block;
	height: 7px;
	border-radius: 4px;
	background: var(--line);
}

.mock__line--dark {
	height: 8px;
	background: var(--ink);
}

.mock__line--gap {
	margin-top: 6px;
}

.mock--email {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
	border-radius: 14px;
}

.mock__regards {
	font-size: 15px;
}

.mock__signature {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.mock__sig-photo {
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 18%;
}

.mock__sig-name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.use-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 16px;
}

.use-cards li {
	display: flex;
}

.use-card {
	display: flex;
	flex: 1;
	align-items: flex-start;
	gap: 16px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--paper);
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.15s;
}

a.use-card:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.use-card__copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.use-card__title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.use-card__text {
	color: var(--soft);
	font-size: 16px;
}

/* Outfits and backdrops
   ========================================================================== */

.style-groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 36px 56px;
}

.style-group .eyebrow {
	margin-bottom: 14px;
	font-size: 15px;
}

.style-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
	gap: 12px;
}

.style-tile {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.style-tile__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	object-fit: cover;
}

.style-tile__img--person {
	object-position: center 30%;
}

/* Reviews
   ========================================================================== */

.rating-summary {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rating-summary__row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rating-summary__value {
	font-family: var(--font-display);
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}

.rating-summary__count {
	color: var(--soft);
	font-size: 16px;
}

.reviews {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 20px;
}

.review {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--paper);
}

.review__quote {
	font-size: 18px;
	line-height: 1.5;
}

.review__author {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
}

.review__photo {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center 18%;
}

.review__who {
	display: flex;
	flex-direction: column;
}

.review__name {
	font-size: 16px;
	font-weight: 700;
}

.review__role {
	color: var(--soft);
	font-size: 15px;
}

/* Pricing
   ========================================================================== */

.plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
	gap: 20px;
	align-items: stretch;
}

.plan {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px;
	border: 1px solid var(--navy-line);
	border-radius: 20px;
	background: var(--navy-card);
}

.plan--featured {
	border-color: var(--paper);
	background: var(--paper);
	color: var(--ink);
}

.plan__name-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.plan__name {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.plan__badge {
	padding: 5px 12px;
	border-radius: 8px;
	background: var(--paper);
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.plan--featured .plan__badge {
	background: var(--ink);
	color: var(--paper);
}

.plan__desc {
	margin-top: 6px;
	color: var(--on-dark-muted);
	font-size: 16px;
}

.plan--featured .plan__desc,
.plan--featured .plan__note {
	color: var(--soft);
}

.plan__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}

.plan__amount {
	font-family: var(--font-display);
	font-size: 54px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.plan__note {
	color: var(--on-dark-muted);
	font-size: 16px;
}

.plan__features {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 17px;
}

.plan__features li {
	display: flex;
	gap: 10px;
}

.plan__features .icon {
	margin-top: 3px;
}

.plan__features .is-excluded {
	color: var(--on-dark-faint);
}

.plan--featured .plan__features .is-excluded {
	color: var(--muted);
}

.plan__btn {
	width: 100%;
	margin-top: auto;
}

.plans-extra {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 20px;
	margin-top: 28px;
}

.guarantee {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 22px 26px;
	border: 1px solid var(--navy-line);
	border-radius: 18px;
	background: var(--navy-card);
}

.guarantee > div {
	min-width: 0;
}

.guarantee__title {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
}

.guarantee__text {
	margin-top: 4px;
	color: var(--on-dark-muted);
	font-size: 16px;
}

.guarantee__text strong {
	color: var(--paper);
}

.guarantee__quote {
	font-size: 17px;
	line-height: 1.5;
}

.guarantee--quote .guarantee__text {
	margin-top: 8px;
	font-size: 15px;
}

/* Privacy
   ========================================================================== */

.points {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 16px;
}

.point {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	border-radius: 16px;
}

.point__title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.point__text {
	color: var(--soft);
	font-size: 16px;
}

/* FAQ
   ========================================================================== */

.faq {
	display: flex;
	flex-wrap: wrap;
	gap: 32px clamp(32px, 6vw, 88px);
}

.faq__head {
	flex: 1 1 280px;
	min-width: 0;
}

.faq__head .link {
	display: inline;
}

.faq__list {
	flex: 2 1 480px;
	min-width: 0;
	border-top: 1px solid var(--line);
}

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

.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding: 8px 0;
	list-style: none;
	cursor: pointer;
}

.faq__q::-webkit-details-marker {
	display: none;
}

.faq__q h3 {
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.faq__chevron {
	transition: transform 0.15s;
}

.faq__item[open] .faq__chevron {
	transform: rotate(180deg);
}

.faq__a {
	padding: 0 40px 22px 0;
	color: var(--soft);
}

.faq__a p + p {
	margin-top: 0.7em;
}

/* Closing call to action
   ========================================================================== */

.final {
	padding: clamp(56px, 8vw, 96px) 0;
}

.final__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 48px;
}

.final__copy {
	flex: 1 1 420px;
	min-width: 0;
}

.final__title {
	font-family: var(--font-display);
	font-size: clamp(30px, 4.2vw, 54px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.04;
}

.final .section__text {
	margin-top: 16px;
}

/* Footer
   ========================================================================== */

.site-footer {
	padding: 56px 0 32px;
	background: var(--footer);
	color: var(--paper);
}

.footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 36px 32px;
}

.footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.footer__tagline {
	max-width: 22em;
	color: var(--on-dark-muted);
	font-size: 15px;
}

.footer__title {
	margin: 0 0 8px;
	color: var(--on-dark-muted);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.footer__title--icon {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.footer__list a {
	display: block;
	padding: 6px 0;
	color: var(--paper);
	font-size: 16px;
	text-decoration: none;
}

.footer__list a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.footer__languages {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--footer-line);
}

.lang-list,
.social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lang-list__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--navy-line);
	border-radius: 10px;
	color: var(--paper);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.15s;
}

.lang-list__link:hover {
	border-color: var(--paper);
	color: var(--paper);
}

.lang-list__link.is-current,
.lang-list__link.is-current:hover {
	border-color: var(--paper);
	background: var(--paper);
	color: var(--footer);
	font-weight: 700;
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--footer-line);
}

.footer__copyright {
	color: var(--on-dark-muted);
	font-size: 14px;
}

.social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--navy-line);
	border-radius: 10px;
	color: var(--paper);
	transition: border-color 0.15s;
}

.social__link:hover {
	border-color: var(--paper);
	color: var(--paper);
}

/* Phone bottom bar
   ========================================================================== */

.mobile-cta {
	position: sticky;
	bottom: 0;
	z-index: 30;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 16px;
	border-top: 1px solid var(--line);
	background: var(--paper);
}

.mobile-cta__text {
	color: var(--soft);
	font-size: 14px;
	line-height: 1.3;
}

.mobile-cta__btn {
	flex: 1;
	max-width: 240px;
	min-height: 48px;
	margin-left: auto;
	padding: 0 12px;
	border-radius: 10px;
	font-size: 17px;
}

/* Generic content (pages and posts until they get their own templates)
   ========================================================================== */

.content {
	padding: clamp(40px, 6vw, 72px) 0;
}

.entry + .entry,
.content__title + .entry {
	margin-top: 40px;
}

.entry__title {
	font-family: var(--font-display);
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.08;
}

.entry__title a {
	text-decoration: none;
}

.entry__content {
	margin-top: 20px;
	line-height: 1.7;
}

.entry__content > * + * {
	margin-top: 1em;
}

.entry__content h2,
.entry__content h3 {
	margin-top: 1.6em;
	font-family: var(--font-display);
	line-height: 1.2;
}

.entry__content ul,
.entry__content ol {
	padding-left: 1.3em;
	list-style: revert;
}

/* Blog post
   ========================================================================== */

.btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 20px;
	border: 1.5px solid var(--line-strong);
	border-radius: 12px;
	background: var(--white);
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color 0.15s;
}

.btn-ghost:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.breadcrumb {
	margin-bottom: 14px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.4;
}

.breadcrumb p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
}

.breadcrumb a,
.breadcrumb .last {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.breadcrumb a {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.breadcrumb .last {
	color: var(--soft);
}

/* The separator typed in the SEO plugin is replaced by the theme's chevron. */
.breadcrumb .separator {
	flex: none;
	width: 14px;
	height: 14px;
	overflow: hidden;
	background: currentColor;
	color: var(--muted);
	font-size: 0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.post-head {
	border-bottom: 1px solid var(--line);
	background: var(--tint);
}

.post-head__inner {
	padding-top: 14px;
	padding-bottom: 44px;
}

.post-head__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
	gap: 48px;
	align-items: center;
}

.post-head__grid--text {
	grid-template-columns: minmax(0, 1fr);
}

.post-head__text {
	min-width: 0;
}

.post-head__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-bottom: 14px;
	color: var(--muted);
	font-size: 14px;
}

.post-head__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.post-head__title {
	font-family: var(--font-display);
	font-size: clamp(32px, 3.5vw, 48px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.08;
	text-wrap: balance;
}

.post-head__lead {
	max-width: 36em;
	margin-top: 18px;
	color: var(--soft);
	font-size: clamp(17px, 1.35vw, 19px);
	line-height: 1.55;
}

.post-head__image {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	object-fit: cover;
}

.post-people {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	margin-top: 26px;
}

.post-person {
	display: flex;
	align-items: center;
	gap: 10px;
}

.post-person__avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	font-size: 14px;
	font-weight: 700;
}

.post-person__text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.post-person__role {
	color: var(--muted);
	font-size: 13px;
}

.post-person__name {
	font-size: 15px;
	font-weight: 600;
}

.post-person__name a {
	text-underline-offset: 3px;
}

.post-layout {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr) 250px;
	gap: 36px;
	align-items: start;
	padding-top: 44px;
	padding-bottom: 56px;
}

/* Without the table of contents the text keeps a readable line length. */
.post-layout--no-toc {
	grid-template-columns: minmax(0, 700px) 250px;
	gap: 64px;
	justify-content: center;
}

.post-layout--no-aside {
	grid-template-columns: 190px minmax(0, 1fr);
}

.post-layout--no-toc.post-layout--no-aside {
	grid-template-columns: minmax(0, 720px);
	justify-content: center;
}

.post-body {
	min-width: 0;
}

.post-body .prose > :first-child {
	margin-top: 0;
}

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

.toc,
.post-aside {
	position: sticky;
	top: 92px;
}

.admin-bar .toc,
.admin-bar .post-aside {
	top: 124px;
}

.toc {
	max-height: calc(100vh - 116px);
	overflow-y: auto;
}

/* The list scrolls when it is long, so the focus ring is drawn inwards and never cut off. */
.toc__link:focus-visible {
	outline-offset: -3px;
}

/* On a low screen the side cards would not fit under the header, so they scroll with the page. */
@media (max-height: 780px) {
	.post-aside {
		position: static;
	}
}

.toc__title {
	margin-bottom: 12px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.toc__link {
	display: block;
	padding: 9px 0 9px 14px;
	border-left: 2px solid var(--line);
	color: var(--soft);
	font-size: 14.5px;
	line-height: 1.35;
	text-decoration: none;
}

.toc__link:hover {
	color: var(--ink);
}

.toc__link.is-active {
	border-left-color: var(--ink);
	color: var(--ink);
	font-weight: 600;
}

.toc-box {
	display: none;
	margin-bottom: 28px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--white);
}

.toc-box__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 0 18px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.toc-box__summary::-webkit-details-marker {
	display: none;
}

.toc-box__label {
	display: flex;
	align-items: center;
	gap: 10px;
}

.toc-box__chevron {
	transition: transform 0.15s;
}

.toc-box[open] .toc-box__chevron {
	transform: rotate(180deg);
}

.toc-box__list {
	padding: 0 18px 12px 40px;
	list-style: decimal;
}

.toc-box__list a {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-size: 16px;
	text-underline-offset: 3px;
}

.post-aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.side-card {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
}

.side-card--tint {
	padding: 20px 22px;
	background: var(--tint);
}

.side-card__pair {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	margin-bottom: 16px;
}

.side-card__img {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: 12px;
	object-fit: cover;
}

.side-card__title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.side-card__title--sm {
	font-size: 18px;
	letter-spacing: 0;
}

.side-card__text {
	margin-top: 8px;
	color: var(--soft);
	font-size: 15px;
	line-height: 1.5;
}

.side-card__btn {
	display: flex;
	width: 100%;
	margin-top: 16px;
}

.side-card .btn {
	min-height: 50px;
	padding: 0 16px;
	font-size: 17px;
}

.side-card__note {
	margin-top: 10px;
	color: var(--muted);
	font-size: 14px;
	text-align: center;
}

.related {
	padding: 48px 0 56px;
	border-top: 1px solid var(--line);
}

.related__title {
	margin-bottom: 24px;
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.related-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	color: var(--ink);
	text-decoration: none;
}

.related-card:hover {
	color: var(--ink);
}

.related-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 16px;
	object-fit: cover;
}

.related-card__img--empty {
	background: var(--tint);
}

.related-card__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.related-card__cat {
	margin-bottom: 6px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.related-card__title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
	text-underline-offset: 4px;
}

.related-card:hover .related-card__title {
	text-decoration: underline;
}

.related-card__meta {
	margin-top: 8px;
	color: var(--muted);
	font-size: 14px;
}

/* Lists of posts: the posts page and the archives
   ========================================================================== */

.blog-head {
	border-bottom: 1px solid var(--line);
	background: var(--tint);
}

.blog-head__inner {
	padding-top: 14px;
	padding-bottom: 40px;
}

.blog-head__title {
	font-family: var(--font-display);
	font-size: clamp(34px, 4.2vw, 54px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	text-wrap: balance;
}

.blog-head__lead {
	max-width: 36em;
	margin-top: 16px;
	color: var(--soft);
	font-size: clamp(17px, 1.35vw, 19px);
}

.blog-head__lead p + p {
	margin-top: 10px;
}

.blog-head__count {
	margin-top: 14px;
	color: var(--muted);
	font-size: 14px;
}

.blog-main {
	padding-top: 28px;
	padding-bottom: clamp(56px, 7vw, 88px);
}

.cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.cats__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.cats__link:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.cats__link[aria-current],
.cats__link[aria-current]:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
}

.feature {
	margin-bottom: 48px;
}

.feature__link {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
}

.feature__link:hover {
	color: var(--ink);
}

/* A featured post without a picture is a card of text. */
.feature--text .feature__link {
	grid-template-columns: minmax(0, 1fr);
}

.feature--text .feature__body {
	max-width: 820px;
}

/* The picture fills its half of the card whatever its own proportions are. */
.feature__media {
	position: relative;
	min-height: 320px;
	background: var(--tint);
}

.feature__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: clamp(24px, 3.4vw, 44px);
}

.feature__labels {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 14px;
}

.flag {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 8px;
	background: var(--ink);
	color: var(--paper);
	font-size: 13px;
	font-weight: 600;
}

.post-cat {
	color: var(--muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.feature__title {
	font-family: var(--font-display);
	font-size: clamp(26px, 2.8vw, 36px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.12;
	text-wrap: balance;
	text-underline-offset: 5px;
}

.feature__link:hover .feature__title {
	text-decoration: underline;
}

.feature__text {
	margin-top: 14px;
	color: var(--soft);
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 14px;
}

.posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 28px;
}

.post-card {
	min-width: 0;
}

.post-card__link {
	display: flex;
	flex-direction: column;
	gap: 14px;
	color: var(--ink);
	text-decoration: none;
}

.post-card__link:hover {
	color: var(--ink);
}

.post-card__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 16px;
	object-fit: cover;
}

.post-card__img--empty {
	background: var(--tint);
}

.post-card__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.post-card .post-cat {
	margin-bottom: 6px;
}

.post-card__title {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
	text-underline-offset: 4px;
}

.post-card__link:hover .post-card__title {
	text-decoration: underline;
}

.post-card__excerpt {
	margin-top: 8px;
	color: var(--soft);
	font-size: 15px;
	line-height: 1.5;
}

.post-card .post-meta {
	margin-top: 10px;
}

.posts-empty {
	padding: 24px 0;
	color: var(--muted);
}

.pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}

.pager__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
}

.pager__link:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.pager__link[aria-current],
.pager__link[aria-current]:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
}

.pager__back {
	transform: rotate(180deg);
}

.pager__gap {
	min-width: 24px;
	color: var(--muted);
	text-align: center;
}

.offer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 48px;
	margin-top: clamp(48px, 6vw, 72px);
	padding: clamp(28px, 4vw, 48px);
	border-radius: 20px;
	background-color: var(--ink);
	background-image: repeating-linear-gradient(90deg, rgba(250, 247, 242, 0.04) 0, rgba(250, 247, 242, 0.04) 1px, transparent 1px, transparent 16px);
	color: var(--paper);
}

.offer__copy {
	flex: 1 1 420px;
	min-width: 0;
}

.offer__title {
	font-family: var(--font-display);
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.08;
	text-wrap: balance;
}

.offer__text {
	max-width: 34em;
	margin-top: 12px;
	color: var(--on-dark-muted);
}

.offer__action {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.offer__note {
	color: var(--on-dark-muted);
	font-size: 14px;
}

@media (max-width: 980px) {
	.feature__link {
		grid-template-columns: minmax(0, 1fr);
	}

	.feature__media {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 20px;
	}
}

/* On phones a post is a row: a small square picture next to the title. */
@media (max-width: 640px) {
	.posts {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.post-card__link {
		flex-direction: row;
		align-items: flex-start;
		gap: 16px;
	}

	.post-card__img {
		flex: none;
		width: 112px;
		aspect-ratio: 1 / 1;
		border-radius: 12px;
	}

	.post-card__title {
		font-size: 18px;
	}

	.post-card__excerpt {
		display: none;
	}

	.offer__action {
		align-items: stretch;
		width: 100%;
	}

	.offer__note {
		text-align: center;
	}
}

/* Author page
   ========================================================================== */

.author-head {
	border-bottom: 1px solid var(--line);
	background: var(--tint);
}

.author-head__inner {
	padding-top: 14px;
	padding-bottom: 44px;
}

.author-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(20px, 3vw, 36px);
	align-items: start;
	padding: clamp(22px, 3.2vw, 40px);
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
}

.author-card__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 128px;
	height: 128px;
	border-radius: 50%;
	background: var(--tint);
	font-family: var(--font-display);
	font-size: 44px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.author-card__photo--photo {
	display: block;
	object-fit: cover;
}

.author-card__body {
	min-width: 0;
}

.author-card__role {
	margin-bottom: 6px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.author-card__name {
	font-family: var(--font-display);
	font-size: clamp(30px, 3.6vw, 46px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.06;
	text-wrap: balance;
}

.author-card__bio {
	max-width: 40em;
	margin-top: 14px;
	color: var(--soft);
}

.author-card__bio p + p {
	margin-top: 10px;
}

.author-card__topics {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
}

.author-card__label {
	margin-right: 4px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}

.topic {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 8px;
	background: var(--tint);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.topic:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.author-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.author-links__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	color: var(--ink);
	transition: border-color 0.15s;
}

.author-links__link:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.blog-main--author {
	padding-top: 44px;
}

.posts-title {
	margin-bottom: 24px;
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

/* The photo of a person next to the name on a post. */
.post-person__avatar--photo {
	display: block;
	border: 0;
	object-fit: cover;
}

@media (max-width: 640px) {
	.author-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.author-card__photo {
		width: 96px;
		height: 96px;
		font-size: 34px;
	}
}

/* Free tools page
   ========================================================================== */

.blog-main--tools {
	padding-top: 40px;
}

.tools {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tools li {
	display: flex;
	min-width: 0;
}

.tool {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 16px;
	min-width: 0;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.15s;
}

.tool:hover {
	border-color: var(--ink);
	color: var(--ink);
}

.tool__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: var(--tint);
}

/* A picture chosen instead of an icon of the theme. */
.tool__img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.tool__name {
	flex: 1;
	min-width: 0;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.tool__go {
	flex: none;
	color: var(--muted);
}

.tool:hover .tool__go {
	color: var(--ink);
}

@media (max-width: 980px) {
	.tools {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.tools {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.tool {
		padding: 16px;
	}

	.tool__name {
		font-size: 18px;
	}
}

/* Responsive
   ========================================================================== */

@media (max-width: 1200px) {
	.site-header__inner {
		gap: 16px;
	}

	.nav__list {
		gap: 0;
	}

	.nav__link {
		padding: 0 9px;
		font-size: 15px;
	}

	.site-header__actions {
		gap: 10px;
	}

	.site-header__cta {
		padding: 0 14px;
	}
}

/* Below this width the menu moves behind the menu button and its panels become accordions.
   The language button and the main button stay in the header until the phone layout. */
@media (max-width: 1080px) {
	/* Phone menu: the links drop below the header row. Without JavaScript they are simply always shown. */
	.site-header__inner {
		flex-wrap: wrap;
		row-gap: 12px;
		min-height: 0;
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.site-header:has(.nav.is-open) {
		box-shadow: 0 24px 40px -24px rgba(15, 27, 51, 0.28);
	}

	.nav {
		flex-basis: 100%;
		order: 3;
		border-top: 1px solid var(--line);
	}

	.js .nav {
		display: none;
	}

	/* A long menu scrolls inside the header instead of pushing its end off the screen. */
	.js .nav.is-open {
		display: block;
		max-height: calc(100vh - 82px - var(--wp-admin--admin-bar--height, 0px));
		max-height: calc(100dvh - 82px - var(--wp-admin--admin-bar--height, 0px));
		padding-bottom: 8px;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	/* Inside the scrolling menu the focus ring is drawn inwards, so it is not cut off at the edges. */
	.nav.is-open :focus-visible {
		outline-offset: -3px;
	}

	.js .nav-toggle {
		display: flex;
	}

	html:not(.js) .site-header {
		position: static;
	}

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

	.nav__item {
		border-bottom: 1px solid var(--line);
	}

	.nav__link,
	.nav__link:hover,
	.is-open > .nav__link {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		min-height: 54px;
		padding: 0;
		border-radius: 0;
		background: transparent;
		font-size: 17px;
		font-weight: 600;
		white-space: normal;
	}

	.nav__link .nav__chevron {
		width: 18px;
		height: 18px;
	}

	/* Panels become accordions inside the menu. */
	.nav-panel,
	.nav-panel--wide,
	.nav-panel--wide.nav-panel--card,
	.nav-panel--list {
		position: static;
		width: auto;
		max-width: none;
		max-height: none;
		overflow: visible;
		margin: 0 0 12px;
		padding: 0 0 0 14px;
		border: 0;
		border-left: 2px solid var(--line);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		transform: none;
	}

	.nav__trigger::after {
		content: none !important;
	}

	html:not(.js) .nav-panel {
		display: block;
	}

	.nav-panel__cols,
	.nav-panel--card .nav-panel__cols {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.nav-panel__heading {
		margin: 6px 0 0;
		padding-top: 4px;
	}

	.nav-panel__link {
		margin: 0;
		padding: 6px 0;
	}

	.nav-row {
		gap: 12px;
		padding: 8px 0;
		border-radius: 0;
	}

	.nav-row:hover,
	.nav-panel__link:hover,
	.nav-panel__more:hover,
	.lang-menu__link:hover {
		background: transparent;
	}

	.nav-row:hover .nav-row__icon {
		background: var(--tint);
	}

	/* The picture card is a plain link here: its title and arrow. */
	.nav-card {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 8px;
		min-height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.nav-card__media,
	.nav-card__text,
	.nav-card__more {
		display: none;
	}

	.nav-card__title {
		font-family: inherit;
		font-size: 16px;
		font-weight: 500;
		letter-spacing: 0;
	}

	.nav-panel__foot,
	.nav-panel--list .nav-panel__foot {
		flex-direction: column;
		margin-top: 4px;
		padding: 0;
		border-top: 0;
	}

	.nav-panel__more {
		margin: 0;
		padding: 0;
	}

	.nav__lang-label {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.nav__lang-current {
		color: var(--muted);
		font-weight: 500;
	}

	.nav-panel--lang {
		padding: 0;
		border-left: 0;
	}

	.nav-panel--lang .lang-menu {
		gap: 2px 20px;
	}

	.nav-panel--lang .lang-menu__link {
		padding: 0;
		font-size: 16px;
	}

	.nav-panel__heading-link {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	/* The open menu has its own main button, so the bottom bar steps aside. */
	.nav-open .is-home .mobile-cta,
	.nav-open .has-bottom-bar .mobile-cta {
		display: none;
	}

	/* Posts: the table of contents moves from the left column into a box above the text. */
	.post-layout,
	.post-layout--no-aside {
		grid-template-columns: minmax(0, 1fr) 260px;
	}

	.post-layout--no-aside,
	.post-layout--no-toc.post-layout--no-aside {
		grid-template-columns: minmax(0, 720px);
		justify-content: center;
	}

	.toc {
		display: none;
	}

	.toc-box {
		display: block;
	}
}

@media (max-width: 920px) {
	.post-head__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.post-layout,
	.post-layout--no-toc,
	.post-layout--no-aside {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-aside {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.post-aside > * {
		flex: 1 1 260px;
	}

	.related__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.related-card {
		flex-direction: row;
		align-items: center;
		gap: 16px;
	}

	.related-card__img {
		flex: none;
		width: 112px;
		aspect-ratio: 1 / 1;
	}
}

@media (max-width: 980px) {
	.plan--featured {
		order: -1;
	}
}

@media (max-width: 900px) {
	.gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

@media (max-width: 820px) {
	.lang,
	.site-header__cta {
		display: none;
	}

	.nav__extra {
		display: flex;
		flex-direction: column;
	}

	.nav__extra .btn {
		margin-top: 18px;
	}

	.is-home .mobile-cta,
	.has-bottom-bar .mobile-cta {
		display: flex;
	}

	/* Links reached with the keyboard stop above the bottom bar. */
	html {
		scroll-padding-bottom: 84px;
	}

	.faq__a {
		padding-right: 0;
	}
}

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

	.btn,
	.demo__headshot,
	.demo__pick img,
	.faq__chevron,
	.use-card,
	.lang-list__link,
	.nav__chevron,
	.nav-card,
	.btn-ghost,
	.toc-box__chevron,
	.author-links__link,
	.tool,
	.social__link {
		transition: none;
	}
}
