/* ==========================================================================
   Resellas – main stylesheet (mobile-first)
   ========================================================================== */

/* Fonts (self-hosted, SIL OFL). Lithuanian letters live in latin-ext. ------ */
@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-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: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-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: "Newsreader";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/newsreader-latin-400-italic.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: "Newsreader";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/newsreader-latin-ext-400-italic.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;
}

/* Tokens ------------------------------------------------------------------ */
:root {
	--c-bg: #FAF9F6;
	--c-ink: #171717;
	--c-accent: #176B4D;
	--c-accent-soft: #EAF1EB;
	--c-paper: #FFFFFF;
	--c-on-dark: #F3F2EE;

	--c-muted: #5d5d58;
	--c-muted: color-mix(in srgb, var(--c-ink) 68%, var(--c-bg));
	--c-line: rgba(23, 23, 23, .12);
	--c-line: color-mix(in srgb, var(--c-ink) 12%, transparent);
	--c-line-strong: rgba(23, 23, 23, .24);
	--c-line-strong: color-mix(in srgb, var(--c-ink) 24%, transparent);
	--c-accent-strong: #11523b;
	--c-accent-strong: color-mix(in srgb, var(--c-accent) 78%, #000);
	--c-accent-on-dark: #9fceb6;
	--c-accent-on-dark: color-mix(in srgb, var(--c-accent) 38%, #fff);
	--c-focus: rgba(23, 107, 77, .35);
	--c-focus: color-mix(in srgb, var(--c-accent) 35%, transparent);

	--font-sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-serif: "Newsreader", Georgia, "Times New Roman", serif;

	--fs-h1: clamp(2.125rem, 1.35rem + 3.9vw, 4.25rem);
	--fs-h2: clamp(1.875rem, 1.35rem + 2.4vw, 3.125rem);
	--fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);

	--r-sm: 6px;
	--r: 10px;
	--r-lg: 16px;

	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(48px, 6vw + 22px, 112px);
	--container: 1200px;
	--header-h: 64px;
	--sticky-h: 72px;

	--shadow: 0 1px 2px rgba(23, 23, 23, .05), 0 12px 32px -16px rgba(23, 23, 23, .22);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 16px;
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--c-bg);
	color: var(--c-ink);
	font: 400 1.0625rem/1.6 var(--font-sans);
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.025em;
	text-wrap: balance;
}
h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.03em; }
h3 { font-size: 1.1875rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--c-accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-accent-strong); }

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

::selection { background: var(--c-accent); color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	position: fixed !important; top: 8px; left: 8px; z-index: 1000;
	padding: .75rem 1rem; background: var(--c-ink); color: #fff; border-radius: var(--r-sm);
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--text { max-width: calc(760px + var(--gutter) * 2); }

.icon { flex: none; }

/* Type helpers ------------------------------------------------------------- */
.kicker {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	margin: 0 0 1rem;
	color: var(--c-accent);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .07em;
	line-height: 1.3;
	text-transform: uppercase;
}
.kicker::before { content: ""; width: 20px; height: 1.5px; background: currentColor; }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-muted); max-width: 38rem; }

.note {
	margin: 2rem 0 0;
	max-width: 46rem;
	padding-left: 1rem;
	border-left: 2px solid var(--c-line-strong);
	color: var(--c-muted);
	font-size: .9375rem;
}

.tag {
	display: inline-flex;
	align-items: center;
	padding: .25em .6em;
	border-radius: 999px;
	background: var(--c-accent-soft);
	color: var(--c-accent-strong);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
	--btn-bg: var(--c-ink);
	--btn-fg: #fff;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	min-height: 48px;
	padding: .75em 1.35em;
	border: 1.5px solid transparent;
	border-radius: var(--r);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font: 600 1rem/1.2 var(--font-sans);
	letter-spacing: -.005em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.btn--primary { --btn-bg: var(--c-accent); }
.btn--primary:hover { --btn-bg: var(--c-accent-strong); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--c-ink); border-color: var(--c-line-strong); }
.btn--secondary:hover { border-color: var(--c-ink); }
.btn--lg { min-height: 56px; padding-inline: 1.6em; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: .55em 1.05em; font-size: .9375rem; }
.btn--block { width: 100%; }

.btn__icon { transition: transform .2s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn__spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: resellas-spin .7s linear infinite;
}
.btn.is-loading { cursor: progress; }
.btn.is-loading .btn__icon { display: none; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes resellas-spin { to { transform: rotate(360deg); } }

.link-arrow {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--c-ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--c-line-strong);
	text-decoration-thickness: 1.5px;
	text-underline-offset: .3em;
}
.link-arrow:hover { color: var(--c-ink); text-decoration-color: var(--c-accent); }

/* Price -------------------------------------------------------------------- */
.guide-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .15rem .55rem;
	line-height: 1.1;
}
.guide-price__now { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--c-ink); }
.guide-price__was { color: var(--c-muted); font-size: 1rem; font-weight: 500; text-decoration-thickness: 1.5px; }
.guide-price--lg .guide-price__now { font-size: 2rem; letter-spacing: -.03em; }
.guide-price--xl .guide-price__now { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 2.875rem); letter-spacing: -.035em; }
.guide-price--xl .guide-price__was { font-size: 1.125rem; }
.guide-price--sm .guide-price__now { font-size: 1.25rem; }
.guide-price--sm .guide-price__was { font-size: .875rem; }
.guide-price .woocommerce-Price-currencySymbol { font-weight: inherit; }

/* Header ------------------------------------------------------------------- */
.site-header {
	position: relative;
	z-index: 50;
	background: var(--c-bg);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: var(--header-h);
}
.site-header__brand { display: flex; align-items: center; min-width: 0; }
.site-header__cta { margin-left: auto; }

.wordmark {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--c-ink);
	font-size: 1.375rem;
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1;
	text-decoration: none;
}
.wordmark:hover { color: var(--c-ink); }
.wordmark__tld { color: var(--c-accent); }
.custom-logo-link { display: inline-flex; align-items: center; min-height: 44px; }
.custom-logo { width: auto; max-height: 34px; }

.site-nav { display: none; }
.site-nav__list { display: flex; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.site-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--c-ink);
	font-size: .9375rem;
	font-weight: 500;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1.5px no-repeat;
	transition: background-size .2s var(--ease);
}
.site-nav__list a:hover { background-size: 100% 1.5px; }

.site-header--minimal .site-header__inner { justify-content: space-between; }
.site-header__secure {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin: 0;
	color: var(--c-muted);
	font-size: .875rem;
	font-weight: 500;
}
.site-header__secure .icon { width: 18px; height: 18px; color: var(--c-accent); }

@media (min-width: 900px) {
	:root { --header-h: 72px; }
	html { scroll-padding-top: calc(var(--header-h) + 8px); }
	.site-header:not(.site-header--minimal) { position: sticky; top: 0; }
	.site-header.is-scrolled { border-bottom-color: var(--c-line); }
	.admin-bar .site-header:not(.site-header--minimal) { top: 32px; }
	.site-nav { display: block; margin-left: auto; }
	.site-header__cta { margin-left: 1.75rem; }
}

/* Sections ----------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section:not(.section--dark):not(.section--soft):not(.purchase) + .section:not(.section--dark):not(.section--soft) {
	border-top: 1px solid var(--c-line);
}
.section--dark { background: var(--c-ink); color: var(--c-on-dark); }
.section--dark .lead { color: rgba(243, 242, 238, .72); }
.section--soft { background: var(--c-accent-soft); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: .4em; }
.section-head .lead { margin-bottom: 0; }
.section-head--split { max-width: none; }
@media (min-width: 900px) {
	.section-head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: end; }
}

/* Hero --------------------------------------------------------------------- */
.hero { padding-block: clamp(16px, 3vw, 56px) clamp(48px, 7vw, 104px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
	max-width: 15ch;
	margin-bottom: .45em;
	font-size: var(--fs-h1);
	font-weight: 750;
	line-height: 1.02;
	letter-spacing: -.04em;
}
.hero__lead {
	max-width: 34rem;
	margin-bottom: 1.5rem;
	color: var(--c-muted);
	font-size: var(--fs-lead);
	line-height: 1.5;
}
.hero__buy { display: grid; gap: .875rem; }
.hero__price { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: .25rem; }
.hero__actions .link-arrow { align-self: center; }
.hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--c-muted);
	font-size: .9375rem;
}
.hero__badges li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__badges .icon { width: 18px; height: 18px; color: var(--c-accent); }

.hero__visual { position: relative; margin: 0; }
.hero__stage {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	max-width: 560px;
	margin-inline: auto;
	overflow: hidden;
	border-radius: var(--r-lg);
	background:
		radial-gradient(60% 60% at 50% 55%, rgba(255, 255, 255, .55), transparent 70%),
		var(--c-accent-soft);
}
.hero__stage .guide-visual__img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.hero__callouts { position: absolute; inset: 0; max-width: 560px; margin-inline: auto; pointer-events: none; }
.callout {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .45rem .75rem;
	border: 1px solid var(--c-line);
	border-radius: var(--r-sm);
	background: var(--c-paper);
	box-shadow: var(--shadow);
	color: var(--c-ink);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}
.callout::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.callout--1 { top: 7%; left: 5%; }
.callout--2 { right: 5%; bottom: 8%; }

@media (min-width: 600px) {
	.hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
	.hero__actions .link-arrow { align-self: auto; }
}
@media (min-width: 900px) {
	.hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
	.callout { font-size: .875rem; padding: .55rem .9rem; }
	.callout--1 { left: -4%; }
	.callout--2 { right: -3%; }
}

/* Typographic cover (fallback) */
.guide-visual--cover .hero__stage,
.purchase__visual.guide-visual--cover { background: var(--c-accent-soft); }
.cover {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(64%, 300px);
	aspect-ratio: 3 / 4;
	padding: 9% 9% 8% 13%;
	border-radius: 4px 8px 8px 4px;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .28) 0 3%, rgba(255, 255, 255, .08) 3% 4.5%, transparent 4.5%),
		#0f4a35;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .28) 0 3%, rgba(255, 255, 255, .08) 3% 4.5%, transparent 4.5%),
		color-mix(in srgb, var(--c-accent) 72%, #000);
	box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 24px 32px 48px -24px rgba(0, 0, 0, .45);
	color: var(--c-on-dark);
	transform: rotate(-2.5deg);
}
.cover__top { font-size: clamp(.55rem, .5rem + .3vw, .75rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.cover__title { margin-top: auto; font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); font-weight: 750; letter-spacing: -.04em; line-height: .98; }
.cover__subtitle { margin-top: .6em; font-family: var(--font-serif); font-style: italic; font-size: clamp(.95rem, .8rem + .6vw, 1.25rem); line-height: 1.15; color: var(--c-accent-on-dark); }
.cover__brand { margin-top: auto; padding-top: 1.5em; font-size: clamp(.55rem, .5rem + .3vw, .75rem); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* Story -------------------------------------------------------------------- */
.story__grid { display: grid; gap: 2rem; }
.story__title { font-size: var(--fs-h2); margin-bottom: 0; }
.story__media { position: relative; }
.story__figure { margin: 0; }
.story__img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--c-accent-soft); }
.story__figure figcaption { margin-top: .6rem; color: var(--c-muted); font-size: .8125rem; }
.story__figure--small {
	position: relative;
	width: 48%;
	margin: -22% 0 0 auto;
}
.story__figure--small .story__img { aspect-ratio: 4 / 5; border: 6px solid var(--c-bg); border-radius: calc(var(--r) + 4px); }
.story__media:not(:has(.story__figure:not(.story__figure--small))) .story__figure--small { width: 100%; margin: 0; }

.pullquote { margin: 0 0 1.75rem; padding-left: 1.25rem; border-left: 2px solid var(--c-accent); }
.pullquote p {
	margin: 0;
	font-family: var(--font-serif);
	font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.375rem);
	font-style: italic;
	line-height: 1.15;
	letter-spacing: -.01em;
}

.prose > *:last-child { margin-bottom: 0; }
.story__body { max-width: 36rem; }
.story__body p:first-child { font-size: 1.1875rem; line-height: 1.55; }
.story__signature { margin: 1.5rem 0 0; font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; }
.story__signature::before { content: "— "; }

.story__facts dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1.25rem;
	margin: 0;
	border-top: 1px solid var(--c-ink);
}
.story__facts dl > div { padding: .9rem 0; border-bottom: 1px solid var(--c-line); }
.story__facts dt { margin-bottom: .2rem; color: var(--c-muted); font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.story__facts dd { margin: 0; font-weight: 600; line-height: 1.35; }
.story__disclaimer { margin: 1rem 0 0; color: var(--c-muted); font-size: .8125rem; }

@media (min-width: 900px) {
	.story__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		grid-template-areas: "head head" "text facts";
		column-gap: clamp(32px, 5vw, 80px);
		row-gap: 2.5rem;
		align-items: start;
	}
	.story__head { grid-area: head; }
	.story__text { grid-area: text; }
	.story__facts { grid-area: facts; }
	.story--has-media .story__grid {
		grid-template-areas: "media head" "media text" "media facts";
		row-gap: 2rem;
	}
	.story--has-media .story__media { grid-area: media; position: sticky; top: calc(var(--header-h) + 24px); }
	.story:not(.story--has-media) .story__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
	.story:not(.story--has-media) .story__title { max-width: 18ch; }
}

/* Problems (dark) ---------------------------------------------------------- */
.problems__grid { display: grid; gap: 2.5rem; }
.problems__head h2 { color: #fff; }
.problems__list ul { margin: 0; padding: 0; list-style: none; }
.problems__labels { display: none; }
.problem { display: grid; gap: .5rem; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.problem:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.problem__issue { margin: 0; color: #fff; font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.problem__answer { display: flex; gap: .6rem; margin: 0; color: rgba(243, 242, 238, .74); }
.problem__answer::before { content: "→"; flex: none; color: var(--c-accent-on-dark); font-weight: 600; }
.problems__outro {
	margin: 2rem 0 0;
	color: #fff;
	font-family: var(--font-serif);
	font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem);
	font-style: italic;
	line-height: 1.3;
}
@media (min-width: 700px) {
	.problems__labels {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		padding-bottom: .75rem;
		color: rgba(243, 242, 238, .55);
		font-size: .75rem;
		font-weight: 600;
		letter-spacing: .08em;
		text-transform: uppercase;
	}
	.problem { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 1.5rem 0; }
}
@media (min-width: 900px) {
	.problems__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 5rem; align-items: start; }
	.problems__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Contents ----------------------------------------------------------------- */
.contents__grid { display: grid; gap: 2rem; }
.suppliers {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--r-lg);
	background: var(--c-accent);
	color: #fff;
}
.suppliers__number { margin: 0; font-size: clamp(3.5rem, 2.6rem + 4vw, 5.75rem); font-weight: 750; letter-spacing: -.055em; line-height: .9; }
.suppliers__label { margin: .5rem 0 1rem; font-size: 1.125rem; font-weight: 600; }
.suppliers__text { margin: 0; color: rgba(255, 255, 255, .84); font-size: .9375rem; line-height: 1.55; }
.contents__figure { margin: 1rem 0 0; }
.contents__img { width: 100%; height: auto; border-radius: var(--r); }

.toc { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-ink); }
.toc__item { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--c-line); }
.toc__num { padding-top: .05em; color: var(--c-accent); font-family: var(--font-serif); font-size: 1.75rem; font-style: italic; line-height: 1; }
.toc__title { margin: 0 0 .3rem; font-size: 1.1875rem; line-height: 1.25; }
.toc__body p { margin: 0; color: var(--c-muted); }
@media (min-width: 700px) {
	.toc__item { grid-template-columns: 4.5rem minmax(0, 1fr); padding: 1.5rem 0; }
	.toc__num { font-size: 2.25rem; }
	.toc__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.5rem; }
	.toc__title { margin: 0; }
}
@media (min-width: 900px) {
	.contents__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; align-items: start; }
	.contents__aside { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Steps -------------------------------------------------------------------- */
.steps__list { margin: 0; padding: 0; list-style: none; display: grid; }
.step { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1rem; padding-bottom: 2rem; }
.step:last-child { padding-bottom: 0; }
.step__num {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--c-accent);
	color: #fff;
	font-weight: 700;
}
.step:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 3.25rem;
	bottom: .5rem;
	left: calc(1.375rem - 1px);
	width: 2px;
	background: var(--c-line-strong);
}
.step__title { margin: .55rem 0 .35rem; font-size: 1.25rem; line-height: 1.25; }
.step__text { margin: 0; color: var(--c-muted); }
@media (min-width: 900px) {
	.steps__list { grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); gap: 2.5rem; }
	.step { grid-template-columns: 1fr; padding: 0; }
	.step__num { grid-row: auto; margin-bottom: 1.5rem; }
	.step:not(:last-child)::before { top: calc(1.375rem - 1px); bottom: auto; left: 3.75rem; right: -1.5rem; width: auto; height: 2px; }
	.step__title { margin-top: 0; }
}

/* Calculator --------------------------------------------------------------- */
.calc__grid { display: grid; gap: 2rem; }
.calc__head h2 { margin-bottom: .4em; }
.calc__card {
	display: grid;
	overflow: hidden;
	border: 1px solid var(--c-line);
	border-radius: var(--r-lg);
	background: var(--c-paper);
}
.calc__inputs { display: grid; gap: 1.1rem; min-width: 0; margin: 0; padding: clamp(1.25rem, 3vw, 2rem); border: 0; }
.field label { display: block; margin-bottom: .4rem; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.field__control { position: relative; }
.field input {
	width: 100%;
	min-height: 52px;
	padding: .75rem 3.25rem .75rem 1rem;
	border: 1.5px solid var(--c-line-strong);
	border-radius: var(--r);
	background: var(--c-bg);
	color: var(--c-ink);
	font: 600 1.125rem/1.2 var(--font-sans);
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s, box-shadow .15s;
}
.field input:hover { border-color: var(--c-ink); }
.field input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-focus); }
.field__unit { position: absolute; top: 50%; right: 1rem; transform: translateY(-50%); color: var(--c-muted); font-weight: 500; pointer-events: none; }
.field__hint { margin: .35rem 0 0; color: var(--c-muted); font-size: .8125rem; }

.calc__results { display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 2rem); background: var(--c-ink); color: var(--c-on-dark); }
.calc__label { margin: 0; color: rgba(243, 242, 238, .72); font-size: .875rem; }
.calc__total { margin: .35rem 0 1.25rem; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; }
.calc__total output { display: block; }
.calc__results.is-negative .calc__total { color: #f4b2a3; }
.calc__rows { display: grid; margin: 0; }
.calc__rows > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9375rem; }
.calc__rows dt { color: rgba(243, 242, 238, .74); }
.calc__rows dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.calc__badge { margin: auto 0 0; padding-top: 1.25rem; color: rgba(243, 242, 238, .55); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.calc__note { margin-top: 0; }
@media (min-width: 700px) {
	.calc__card { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}
@media (min-width: 900px) {
	.calc__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 4rem; row-gap: 1.5rem; align-items: start; }
	.calc__note { grid-column: 2; }
}

/* Preview ------------------------------------------------------------------ */
.preview__strip {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0 max(var(--gutter), calc((100% - var(--container)) / 2)) 1rem;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
	scrollbar-width: thin;
}
.preview__item { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
.preview__link { display: block; border-radius: var(--r); }
.preview__img { width: 100%; height: auto; border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.preview__link:hover .preview__img { transform: translateY(-3px); }

.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(12, 12, 12, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__img { max-width: min(92vw, 900px); max-height: 86vh; width: auto; height: auto; border-radius: var(--r-sm); background: #fff; }
.lightbox__btn {
	position: fixed;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	color: var(--c-ink);
	cursor: pointer;
}
.lightbox__close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Audience ----------------------------------------------------------------- */
.audience__grid { display: grid; gap: 2.5rem; }
.audience__list { display: grid; margin: 1.75rem 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--c-line); }
.audience__list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--c-line); }
.audience__mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-accent); }
.audience__mark .icon { width: 18px; height: 18px; }
.audience__list h3 { margin: .2rem 0 .2rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.audience__list p { margin: 0; color: var(--c-muted); font-size: .9375rem; }
.audience__not { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-paper); }
.audience__not-title { margin: 0 0 .9rem; font-size: 1.125rem; }
.audience__not ul { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.audience__not li { display: flex; gap: .65rem; color: var(--c-muted); }
.audience__not .icon { width: 18px; height: 18px; margin-top: .2em; color: var(--c-muted); }
@media (min-width: 900px) {
	.audience__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5rem; align-items: end; }
}

/* Testimonials ------------------------------------------------------------- */
.testimonials__list { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.testimonial figure { height: 100%; margin: 0; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-paper); }
.testimonial__quote { margin: 0 0 1.25rem; quotes: "„" "“"; }
.testimonial__quote p { margin: 0; font-size: 1.0625rem; line-height: 1.55; }
.testimonial__quote p::before { content: open-quote; }
.testimonial__quote p::after { content: close-quote; }
.testimonial__by { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; font-size: .875rem; }
.testimonial__name { font-weight: 600; }
.testimonial__detail { color: var(--c-muted); }
.rating { display: flex; gap: .15rem; margin: 0 0 .9rem; font-size: 1rem; line-height: 1; }
.rating__star { color: var(--c-line-strong); }
.rating__star.is-on { color: var(--c-accent); }
@media (min-width: 700px) {
	.testimonials__list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
.testimonials--single .testimonials__list { grid-template-columns: 1fr; }
.testimonials--single .testimonial figure { padding: 0; border: 0; background: none; }
.testimonials--single .testimonial__quote p { font-family: var(--font-serif); font-size: clamp(1.625rem, 1.15rem + 1.9vw, 2.625rem); font-style: italic; line-height: 1.2; letter-spacing: -.01em; }
@media (min-width: 900px) {
	.testimonials--single .container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; align-items: start; }
	.testimonials--single .section-head { margin-bottom: 0; }
}

/* Purchase ----------------------------------------------------------------- */
.purchase__card { display: grid; overflow: hidden; border-radius: var(--r-lg); background: var(--c-paper); border: 1px solid var(--c-line); }
.purchase__visual {
	display: grid;
	place-items: center;
	margin: 0;
	padding: clamp(1.25rem, 4vw, 3rem);
	background: var(--c-accent-soft);
}
.purchase__visual .guide-visual__img { width: min(100%, 420px); height: auto; max-height: 300px; object-fit: contain; }
.purchase__body { padding: clamp(1.5rem, 4vw, 3.5rem); }
.purchase__title { font-size: var(--fs-h2); margin-bottom: .35em; }
.purchase__product { margin: 0 0 1.5rem; color: var(--c-muted); font-weight: 500; }
.checklist { display: grid; gap: .7rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: .65rem; line-height: 1.45; }
.checklist .icon { width: 20px; height: 20px; margin-top: .05em; color: var(--c-accent); }
.purchase__buy { display: grid; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.purchase__price { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.purchase__meta { display: grid; gap: .6rem; margin: 1.25rem 0 0; padding: 0; list-style: none; color: var(--c-muted); font-size: .875rem; line-height: 1.45; }
.purchase__meta li { display: flex; align-items: flex-start; gap: .6rem; }
.purchase__meta .icon { width: 18px; height: 18px; margin-top: .05em; }
.notice-inline { margin: 0; padding: .9rem 1rem; border-radius: var(--r); background: var(--c-accent-soft); }
@media (min-width: 900px) {
	.purchase__card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
	.purchase__visual .guide-visual__img { max-height: 460px; }
}

/* FAQ ---------------------------------------------------------------------- */
.faq__grid { display: grid; gap: 2rem; }
.faq__contact { margin: 1.25rem 0 0; color: var(--c-muted); }
.faq__contact a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.faq__list { border-top: 1px solid var(--c-ink); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 60px;
	padding: 1rem 0;
	list-style: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; }
.faq__q:hover h3 { color: var(--c-accent); }
.faq__icon { position: relative; flex: none; width: 30px; height: 30px; border: 1.5px solid var(--c-line-strong); border-radius: 50%; transition: transform .2s var(--ease), background-color .2s; }
.faq__icon::before,
.faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s var(--ease); }
.faq__item[open] .faq__icon { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 2.75rem 1.4rem 0; color: var(--c-muted); }
.faq__a p:last-child { margin-bottom: 0; }
@supports (interpolate-size: allow-keywords) {
	@media (prefers-reduced-motion: no-preference) {
		.faq__item { interpolate-size: allow-keywords; }
		.faq__item::details-content { height: 0; overflow: clip; transition: height .25s var(--ease), content-visibility .25s allow-discrete; }
		.faq__item[open]::details-content { height: auto; }
	}
}
@media (min-width: 900px) {
	.faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; align-items: start; }
	.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Footer ------------------------------------------------------------------- */
.site-footer { padding: clamp(3rem, 6vw, 5rem) 0 2rem; background: var(--c-ink); color: rgba(243, 242, 238, .78); font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark__tld { color: var(--c-accent-on-dark); }
.site-footer__top { display: grid; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer__tagline { max-width: 26rem; margin: .75rem 0 0; }
.site-footer__heading { margin: 0 0 .75rem; color: rgba(243, 242, 238, .55); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__col p { margin: 0 0 .25rem; }
.site-footer__email { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.site-footer__muted { color: rgba(243, 242, 238, .6); }
.site-footer__links,
.site-footer__social { display: grid; margin: 0; padding: 0; list-style: none; }
.site-footer__links a,
.site-footer__social a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; }
.site-footer__social { margin-top: .5rem; }
.site-footer__social .icon { width: 20px; height: 20px; }
.site-footer__bottom { display: grid; gap: .5rem; padding-top: 1.5rem; color: rgba(243, 242, 238, .55); font-size: .8125rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__links--inline { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
@media (min-width: 768px) {
	.site-footer__top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
}

.site-footer--minimal { padding: 1.5rem 0 2rem; border-top: 1px solid var(--c-line); background: transparent; color: var(--c-muted); }
.site-footer--minimal a { color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-line-strong); }
.site-footer--minimal .site-footer__bottom { padding-top: 0; color: var(--c-muted); }

/* Sticky purchase bar ------------------------------------------------------ */
.sticky-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 60;
	padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom));
	border-top: 1px solid var(--c-line);
	background: var(--c-paper);
	box-shadow: 0 -10px 30px -18px rgba(23, 23, 23, .3);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform .28s var(--ease), visibility 0s linear .28s;
}
.sticky-bar.is-visible { transform: none; visibility: visible; transition: transform .28s var(--ease); }
.sticky-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 640px; margin: 0 auto; }
.sticky-bar__info { display: grid; gap: .1rem; min-width: 0; line-height: 1.2; }
.sticky-bar__name { overflow: hidden; color: var(--c-muted); font-size: .8125rem; text-overflow: ellipsis; white-space: nowrap; }
.sticky-bar__btn { flex: none; min-height: 48px; padding-inline: 1.25em; }
body.has-sticky-bar { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
	.sticky-bar { display: none; }
	body.has-sticky-bar { padding-bottom: 0; }
}

/* Pages, posts, legal ------------------------------------------------------ */
.page-main { padding-block: clamp(1.5rem, 4vw, 3.5rem) var(--section); }
.entry__header { margin-bottom: 2rem; }
.entry__title { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); line-height: 1.05; letter-spacing: -.035em; }
.entry__meta { margin: 0; color: var(--c-muted); font-size: .9375rem; }
.entry__thumb { margin: 0 0 2rem; }
.entry__thumb img { width: 100%; border-radius: var(--r); }
.entry__cta { margin-top: 3rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg); background: var(--c-accent-soft); }
.entry__cta-title { margin-bottom: .4rem; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }

.breadcrumbs { margin-bottom: 1.5rem; color: var(--c-muted); font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--c-line-strong); }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-ink); text-decoration: underline; }

.prose { font-size: 1.0625rem; line-height: 1.7; }
.prose h2 { margin: 2.25rem 0 .75rem; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; }
.prose h3 { margin: 1.75rem 0 .5rem; font-size: 1.1875rem; line-height: 1.3; }
.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }
.prose ul,
.prose ol { margin: 0 0 1.25em; padding-left: 1.25em; }
.prose li { margin-bottom: .35em; }
.prose li > p { margin: 0; }
.prose hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--c-line); }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1rem; border-left: 2px solid var(--c-accent); }
.prose table { width: 100%; margin: 0 0 1.5em; border-collapse: collapse; font-size: .9375rem; }
.prose th,
.prose td { padding: .6rem .5rem; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose img { border-radius: var(--r-sm); }
.prose iframe { max-width: 100%; }

.post-list { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.post-card { padding: 1.5rem 0; border-bottom: 1px solid var(--c-line); }
.post-card__title { margin: 0 0 .3rem; font-size: 1.375rem; }
.post-card__title a { color: var(--c-ink); text-decoration: none; }
.post-card__title a:hover { color: var(--c-accent); }
.post-card__meta { margin: 0 0 .5rem; color: var(--c-muted); font-size: .875rem; }
.post-card__excerpt p { margin: 0; color: var(--c-muted); }
.empty-state { color: var(--c-muted); }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.nav-links a,
.nav-links span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .75rem; border: 1px solid var(--c-line); border-radius: var(--r-sm); text-decoration: none; }
.nav-links .current { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.post-navigation { margin-top: 3rem; border-top: 1px solid var(--c-line); }
.post-navigation .nav-links { display: grid; gap: 1rem; }
.nav-label { display: block; color: var(--c-muted); font-size: .8125rem; }

.not-found { padding-block: var(--section); }

.comments { margin-top: 3rem; }
.comments__list { padding-left: 1.25rem; }
.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--c-line-strong); border-radius: var(--r); background: var(--c-paper); font: inherit; }
.comment-form .submit { min-height: 48px; padding: .75em 1.35em; border: 0; border-radius: var(--r); background: var(--c-accent); color: #fff; font: 600 1rem var(--font-sans); cursor: pointer; }

/* Reduced motion ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.btn__spinner { animation: resellas-spin 1.2s linear infinite !important; }
}
