/* ==========================================================================
   Fetelo — main stylesheet
   ========================================================================== */

:root {
	--bg: #000000;
	--surface: #161616;
	--surface-2: #1e1e1e;
	--line: #2a2a2a;
	--line-soft: rgba(255, 255, 255, 0.08);
	--text: #f2f2f2;
	--muted: #969696;
	--dim: #525252;
	--accent: #ff733a;
	--accent-deep: #e2551f;
	--grad-text: linear-gradient(90deg, #ffffff 0%, #a196ff 29%, #e1b8fe 55%, #ffcc6e 100%);

	--font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
	--mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--container: 1060px;
	--gutter: 24px;
	--header-h: 72px;
	--radius: 16px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	color-scheme: dark;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 12px);
	background: var(--bg);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

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

.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 {
	position: fixed; left: 12px; top: -60px; z-index: 1000;
	background: var(--accent); color: #000;
	padding: 10px 16px; border-radius: 8px; font-weight: 600;
	transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

.mono, .mono-note, .eyebrow {
	font-family: var(--mono);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.eyebrow {
	color: var(--accent);
	font-size: 11px;
	margin-bottom: 14px;
}

.mono-note {
	color: var(--accent);
	font-size: 10.5px;
	margin-top: 14px;
}

.section { padding-block: 120px; }

.section-head {
	text-align: center;
	margin-bottom: 56px;
}

.section-title {
	font-size: clamp(34px, 4.2vw, 50px);
	line-height: 1.12;
	font-weight: 400;
	letter-spacing: -0.035em;
	word-spacing: 0.04em;
	color: var(--text);
	text-wrap: balance;
}

.section-head .section-title { max-width: 560px; margin-inline: auto; }

/* Word-by-word reveal */
[data-reveal-words] .w {
	display: inline-block;
	opacity: var(--o, 0.18);
	transition: opacity .25s linear;
	white-space: pre;
}

/* Fade-in elements */
[data-fade] {
	opacity: 0;
	transform: translateY(28px);
	filter: blur(6px);
	transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
[data-fade].is-in { opacity: 1; transform: none; filter: none; }

/* Sparkle star */
.sparkle {
	position: absolute;
	width: 14px; height: 14px;
	color: #fff;
	z-index: 2;
	filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8));
	animation: twinkle 3.2s ease-in-out infinite;
}
.sparkle svg { width: 100%; height: 100%; }
@keyframes twinkle {
	0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
	50% { transform: scale(.65) rotate(45deg); opacity: .6; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 40px; padding: 0 20px;
	border-radius: 999px;
	font-size: 13.5px; font-weight: 600; letter-spacing: 0;
	white-space: nowrap;
	transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }

.btn--accent {
	color: #fff;
	background: linear-gradient(180deg, #ff7f4a 0%, var(--accent-deep) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 24px -6px rgba(255, 115, 58, .55);
}
.btn--accent:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 30px -6px rgba(255, 115, 58, .75); transform: translateY(-1px); }

.btn--dark {
	color: var(--text);
	background: var(--line);
	border: 1px solid #3a3a3a;
	height: 38px;
}
.btn--dark:hover { background: #363636; border-color: #4a4a4a; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	background: linear-gradient(#000 40%, rgba(0, 0, 0, 0));
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

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

.brand img, .custom-logo { height: 34px; width: auto; }
.custom-logo-link { display: inline-flex; }

.nav { position: absolute; left: 50%; transform: translateX(-50%); }
.nav__list { display: flex; gap: 30px; }
.nav__list a {
	font-size: 13.5px; font-weight: 500; color: var(--text);
	opacity: .85; transition: opacity .2s, color .2s;
}
.nav__list a:hover, .nav__list .current-menu-item > a { opacity: 1; color: #fff; }
.nav__mobile-cta { display: none; }

.nav-toggle {
	display: none;
	width: 40px; height: 40px;
	background: var(--line); border: 1px solid #3a3a3a; border-radius: 10px;
	cursor: pointer;
	flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle__bar { width: 16px; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-3.25px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	min-height: min(100vh, 860px);
	padding-top: calc(var(--header-h) + 40px);
	padding-bottom: 80px;
	display: flex; align-items: center;
	overflow: hidden;
}

.hero__ascii {
	position: absolute; inset: 0;
	opacity: .3;
	pointer-events: none;
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 55% 30%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 70% at 55% 30%, #000 20%, transparent 75%);
}
.hero__ascii canvas { width: 100%; height: 100%; }

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
	align-items: center;
	gap: 28px;
}

.hero__title {
	font-size: clamp(40px, 5vw, 64px);
	line-height: 1.06;
	font-weight: 500;
	letter-spacing: -0.04em;
	word-spacing: 0.03em;
	margin-bottom: 26px;
}
.hero__line {
	display: block;
	width: fit-content;
	white-space: nowrap;
	background: var(--grad-text);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	padding-bottom: .04em;
	animation: heroLine 1.2s var(--ease) both;
	animation-delay: calc(var(--i) * .12s + .1s);
}
@keyframes heroLine {
	from { opacity: 0; filter: blur(12px); transform: translateY(18px); }
	to { opacity: 1; filter: none; transform: none; }
}

.hero__sub {
	max-width: 470px;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.6;
	margin-bottom: 26px;
	animation: heroLine 1.2s var(--ease) .45s both;
}
.hero__actions { animation: heroLine 1.2s var(--ease) .55s both; }

.hero__visual {
	position: relative;
	margin-right: calc(var(--gutter) * -1 - 80px);
	animation: heroVisual 1.6s var(--ease) .3s both;
}
.hero__visual::before {
	content: "";
	position: absolute; left: 30%; top: -6%;
	width: 40%; height: 40%;
	background: radial-gradient(circle, rgba(185, 90, 255, .55), transparent 70%);
	filter: blur(40px);
	z-index: -1;
	animation: glow 6s ease-in-out infinite alternate;
}
.hero__sparkle { left: 1.5%; top: 2%; width: 18px; height: 18px; }
@keyframes heroVisual {
	from { opacity: 0; transform: translateY(40px) scale(.97); filter: blur(10px); }
	to { opacity: 1; transform: none; filter: none; }
}
@keyframes glow {
	from { opacity: .6; transform: translateX(-10px); }
	to { opacity: 1; transform: translateX(20px) scale(1.1); }
}

/* ==========================================================================
   Pain — sticky stacked cards
   ========================================================================== */
.pain { position: relative; height: 320vh; }
.pain__sticky {
	position: sticky; top: 0;
	height: 100vh;
	overflow: hidden;
	display: flex; flex-direction: column; align-items: center;
	padding-top: calc(var(--header-h) + 8vh);
}
.pain__title { text-align: center; max-width: 380px; position: relative; z-index: 0; }

.pain__stack {
	position: absolute; left: 50%; top: 62%;
	width: 270px; height: 350px;
	transform: translate(-50%, -50%);
}

.pain-card {
	position: absolute; inset: 0;
	padding: 22px 22px 20px;
	border-radius: 18px;
	background: linear-gradient(160deg, #2c2c2c 0%, #1a1a1a 45%, #111 100%);
	border: 1px solid rgba(255, 255, 255, .09);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px -20px rgba(0, 0, 0, .9);
	display: flex; flex-direction: column;
	will-change: transform;
	transform: translate3d(0, 120vh, 0);
}
.pain-card__quote {
	font-size: 25px; line-height: 1.18; font-weight: 400;
	letter-spacing: -0.04em;
	margin-bottom: 14px;
}
.pain-card__text { color: var(--muted); font-size: 13px; line-height: 1.5; }
.pain-card__role { margin-top: auto; font-size: 10px; color: var(--muted); }

/* ==========================================================================
   Features
   ========================================================================== */
.features { padding-top: 40px; }

.feature-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-card {
	position: relative;
	display: flex; flex-direction: column;
	padding: 20px 20px 0;
	border-radius: var(--radius);
	background: linear-gradient(180deg, #1b1b1b 0%, #0c0c0c 100%);
	border: 1px solid var(--line-soft);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
	overflow: hidden;
	transition: border-color .3s, transform .5s var(--ease);
}
.feature-card:hover { border-color: rgba(255, 255, 255, .16); }
.feature-card__title { font-size: 19px; font-weight: 400; letter-spacing: -0.03em; margin-bottom: 8px; }
.feature-card__text { color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 300px; margin-bottom: 22px; }

.feature-card__media { position: relative; margin-top: auto; }
.feature-card__media::before {
	content: "";
	position: absolute; left: 10%; top: -10%;
	width: 50%; height: 60%;
	background: radial-gradient(circle, rgba(170, 90, 255, .45), transparent 70%);
	filter: blur(30px);
}
.feature-card__media img { position: relative; width: 100%; transition: transform .8s var(--ease); }
.feature-card:hover .feature-card__media img { transform: translateY(-4px); }
.feature-card__media .sparkle { left: 6%; top: -4px; width: 10px; height: 10px; }
.feature-card--wide .feature-card__media { margin-inline: 12px; }

/* Ensuring workflow */
.ensure { margin-top: 96px; text-align: center; }
.ensure__title {
	font-size: clamp(24px, 2.6vw, 30px);
	font-weight: 400; letter-spacing: -0.04em;
	text-transform: uppercase;
	margin-bottom: 24px;
}
.ensure__box {
	position: relative;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	border-block: 1px dashed #3a3a3a;
	text-align: left;
}
.ensure__item { padding: 30px 34px; }
.ensure__item + .ensure__item { border-left: 1px dashed #3a3a3a; }
.ensure__icon { display: block; width: 20px; height: 20px; color: var(--muted); margin-bottom: 14px; }
.ensure__item h4 { font-size: 14.5px; font-weight: 500; margin-bottom: 6px; letter-spacing: -0.02em; }
.ensure__item p { color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 260px; }

.plus { position: absolute; width: 9px; height: 9px; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--dim); }
.plus::before { left: 4px; top: 0; width: 1px; height: 9px; }
.plus::after { top: 4px; left: 0; height: 1px; width: 9px; }
.plus--tl { left: -4px; top: -5px; } .plus--tr { right: -4px; top: -5px; }
.plus--bl { left: -4px; bottom: -5px; } .plus--br { right: -4px; bottom: -5px; }

/* ==========================================================================
   How it works — timeline
   ========================================================================== */
.how__steps { position: relative; padding-left: 40px; }
.how__rail {
	position: absolute; left: 3px; top: 0; bottom: 0;
	width: 1px; background: var(--line);
}
.how__rail-fill {
	position: absolute; left: 0; top: 0;
	width: 100%; height: var(--p, 0%);
	background: linear-gradient(180deg, rgba(255, 115, 58, .2), var(--accent));
}

.how-step {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
	align-items: center;
	gap: 40px;
	min-height: 78vh;
	padding-block: 6vh;
}
.how-step__copy {
	opacity: .3;
	transition: opacity .5s var(--ease), transform .5s var(--ease);
	transform: translateX(-6px);
}
.how-step.is-active .how-step__copy { opacity: 1; transform: none; }
.how-step__dot {
	position: absolute; left: -41px;
	width: 9px; height: 9px; border-radius: 2px;
	background: #3a3a3a;
	margin-top: 10px;
	transition: background-color .4s, box-shadow .4s;
}
.how-step.is-active .how-step__dot { background: var(--accent); box-shadow: 0 0 12px rgba(255, 115, 58, .7); }
.how-step h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.04em; margin-bottom: 6px; }
.how-step p { color: var(--muted); font-size: 13.5px; max-width: 260px; }

.how-step__media {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background:
		radial-gradient(60% 50% at 30% 15%, rgba(140, 60, 220, .22), transparent 70%),
		linear-gradient(180deg, #0b0b0b 0%, #181818 100%);
	border: 1px solid var(--line-soft);
	opacity: .45;
	transform: scale(.97);
	transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.how-step.is-active .how-step__media { opacity: 1; transform: none; }
.how-step__media img { width: 100%; }

/* ==========================================================================
   Comparison — 3D flip cards
   ========================================================================== */
.compare { position: relative; height: 260vh; }
.compare__sticky {
	position: sticky; top: 0;
	height: 100vh;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 40px;
	padding-top: var(--header-h);
	overflow: hidden;
}
.compare__title { text-align: center; }

.compare__cards {
	display: flex; gap: 26px;
	perspective: 1600px;
}
.flip {
	width: 340px; height: 420px;
	transform: rotate(var(--tilt, 0deg));
	transition: transform .1s linear;
}
.flip--old { --tilt: -4deg; }
.flip--new { --tilt: 3deg; }

.flip__inner {
	position: relative; width: 100%; height: 100%;
	transform-style: preserve-3d;
	transform: rotateY(var(--ry, 0deg));
	will-change: transform;
}
.flip__face {
	position: absolute; inset: 0;
	border-radius: 20px;
	backface-visibility: hidden; -webkit-backface-visibility: hidden;
	overflow: hidden;
}
.flip__front {
	display: grid; place-items: center;
	text-align: center;
	background-image: var(--pattern);
	background-size: cover; background-position: center;
}
.flip__front::before { content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; }
.flip__front h3 { position: relative; font-size: 30px; font-weight: 400; letter-spacing: -0.035em; padding: 20px; }
.flip--old .flip__front { background-color: #3d3d3d; background-blend-mode: luminosity; }
.flip--old .flip__front::before { background: rgba(70, 70, 70, .72); mix-blend-mode: normal; }
.flip--new .flip__front { background-color: #c8512a; }
.flip--new .flip__front::before { background: rgba(214, 88, 46, .78); mix-blend-mode: normal; }
.flip__front { border: 1px solid rgba(255, 255, 255, .12); }

.flip__back {
	transform: rotateY(180deg);
	padding: 26px 22px;
	background: linear-gradient(180deg, #161616 0%, #0b0b0b 100%);
	border: 1px solid var(--line-soft);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
.flip--new .flip__back {
	background: linear-gradient(180deg, #1a0f0b 0%, #0b0807 100%);
	border-color: rgba(255, 115, 58, .45);
	box-shadow: inset 0 0 40px rgba(255, 115, 58, .12), 0 0 40px -10px rgba(255, 115, 58, .35);
}
.flip__back h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.04em; margin-bottom: 26px; }
.flip__back li {
	display: flex; align-items: center; gap: 12px;
	color: #c8c8c8; font-size: 13.5px;
	padding-block: 9px;
}
.flip__icon {
	flex: none;
	display: grid; place-items: center;
	width: 18px; height: 18px; border-radius: 50%;
	background: #3a3a3a; color: #111;
}
.flip__icon svg { width: 12px; height: 12px; }
.flip--new .flip__icon { background: #b8492a; color: #1a0d08; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding-inline: 16px;
	max-width: 1320px;
	margin-inline: auto;
}
.t-card {
	padding: 24px 26px;
	min-height: 140px;
	display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
	border-radius: 18px;
	background: linear-gradient(180deg, #232323 0%, #111 100%);
	border: 1px solid var(--line-soft);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.t-card--wide { grid-column: 1 / -1; min-height: 150px; }
.t-card blockquote { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.3; letter-spacing: -0.035em; font-weight: 400; }
.t-card figcaption { font-size: 10px; color: var(--muted); }
.t-card:nth-child(2) { transition-delay: .08s; }
.t-card:nth-child(3) { transition-delay: .16s; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 40px;
	align-items: start;
}
.faq__title { max-width: 440px; position: sticky; top: calc(var(--header-h) + 40px); }

.faq-item { border-bottom: 1px dashed #333; }
.faq-item__q button {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 20px 0;
	background: none; border: 0; cursor: pointer;
	text-align: left;
	font-size: 18px; font-weight: 400; letter-spacing: -0.03em;
}
.faq-item__icon {
	position: relative; flex: none;
	width: 26px; height: 26px; border-radius: 6px;
	background: var(--line);
	border: 1px solid #3a3a3a;
	transition: background-color .3s;
}
.faq-item__icon::before, .faq-item__icon::after {
	content: ""; position: absolute; left: 50%; top: 50%;
	width: 10px; height: 1.5px; background: #ddd;
	transform: translate(-50%, -50%);
	transition: transform .35s var(--ease), background-color .3s;
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item__q button[aria-expanded="true"] .faq-item__icon::before,
.faq-item__q button[aria-expanded="true"] .faq-item__icon::after { background: var(--accent); }
.faq-item__q button[aria-expanded="true"] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item__q button:hover .faq-item__icon { background: #353535; }

.faq-item__a {
	overflow: hidden;
	transition: height .45s var(--ease), opacity .35s;
}
.faq-item__a p { color: var(--muted); font-size: 13.5px; line-height: 1.55; padding-bottom: 20px; max-width: 460px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; padding-top: 120px; text-align: center; overflow: hidden; }
.cta__copy { position: relative; z-index: 2; }
.cta__copy .section-title { max-width: 620px; margin: 0 auto 22px; }
.cta__art { position: relative; margin-top: -20px; height: clamp(360px, 48vw, 620px); }
.cta__swirl {
	position: absolute; left: 50%; top: 0;
	width: min(1400px, 140vw); transform: translateX(-50%);
	opacity: .55;
	-webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 30%, transparent 75%);
}
.cta__hands {
	position: absolute; left: 50%; bottom: -8%;
	width: min(620px, 90vw); transform: translateX(-50%);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; padding-top: 30px; overflow: hidden; }
.footer__links { display: flex; justify-content: center; gap: 36px; }
.footer__links a { color: var(--accent); font-size: 14px; font-weight: 500; transition: color .2s, opacity .2s; }
.footer__links a:hover { color: #ff9a6e; }
.footer__links .current-menu-item a, .footer__links a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }

.ascii-word {
	width: min(900px, 94vw);
	height: clamp(150px, 22vw, 280px);
	margin: 10px auto 0;
	cursor: crosshair;
}
.ascii-word canvas { width: 100%; height: 100%; }

/* ==========================================================================
   Legal pages (page.php)
   ========================================================================== */
.legal { padding-top: calc(var(--header-h) + 36px); padding-bottom: 90px; }
.container--legal { max-width: calc(860px + var(--gutter) * 2); }
.legal__title {
	font-size: clamp(40px, 5vw, 58px);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1.1;
	margin-bottom: 30px;
}
.legal__date { color: var(--muted); font-size: 13px; margin-bottom: 70px; }

.legal__content { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.legal__content > * + * { margin-top: 16px; }
.legal__content h2, .legal__content h3, .legal__content h4 {
	color: var(--text);
	font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
	margin-top: 26px;
}
.legal__content h2 + *, .legal__content h3 + * { margin-top: 16px; }
.legal__content strong { color: inherit; font-weight: 500; }
.legal__content a { color: inherit; text-decoration: none; }
.legal__content a:hover { color: var(--text); text-decoration: underline; }
.legal__content ul, .legal__content ol { padding-left: 18px; }
.legal__content ul li { list-style: none; position: relative; }
.legal__content ul li::before {
	content: ""; position: absolute; left: -16px; top: .72em;
	width: 3px; height: 3px; border-radius: 50%; background: var(--muted);
}
.legal__content ol li { list-style: decimal; }
.legal__content li + li { margin-top: 2px; }
.legal__content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.legal__content th, .legal__content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.legal__content th { color: var(--text); font-weight: 500; }

.legal + .site-footer .ascii-word { margin-top: 0; }

/* Blog list / 404 */
.post-list { display: grid; gap: 28px; }
.post-list__item h2 { font-size: 24px; font-weight: 400; letter-spacing: -0.03em; margin: 6px 0; }
.post-list__item p:last-child { color: var(--muted); }
.notfound { min-height: 70vh; display: grid; place-items: center; padding-top: var(--header-h); text-align: center; }
.notfound__text { color: var(--muted); margin: 16px 0 28px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.hero__visual { margin-right: calc(var(--gutter) * -1); }
	.feature-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature-grid--3 .feature-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	:root { --header-h: 64px; --gutter: 20px; }

	.site-header__cta { display: none; }
	.nav-toggle { display: inline-flex; }
	.nav {
		position: fixed; left: 0; right: 0; top: var(--header-h);
		transform: none;
		padding: 16px var(--gutter) 24px;
		background: rgba(0, 0, 0, .96);
		backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--line);
		opacity: 0; visibility: hidden;
		translate: 0 -8px;
		transition: opacity .3s var(--ease), translate .3s var(--ease), visibility .3s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav.is-open { opacity: 1; visibility: visible; translate: 0 0; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
	.nav__mobile-cta { display: inline-flex; margin-top: 20px; width: 100%; }

	.hero { min-height: auto; padding-top: calc(var(--header-h) + 50px); }
	.hero__inner { grid-template-columns: 1fr; gap: 50px; }
	.hero__visual { margin-right: 0; }

	.section { padding-block: 90px; }
	.ensure__box { grid-template-columns: 1fr; }
	.ensure__item + .ensure__item { border-left: 0; border-top: 1px dashed #3a3a3a; }

	.how__steps { padding-left: 28px; }
	.how-step { grid-template-columns: 1fr; gap: 20px; min-height: auto; padding-block: 36px; }
	.how-step__dot { left: -29px; }
	.how-step__copy, .how-step__media { opacity: 1; transform: none; }

	.compare { height: auto; }
	.compare__sticky { position: relative; height: auto; padding-block: 90px; }
	.compare__cards { flex-direction: column; width: 100%; max-width: 380px; padding-inline: var(--gutter); }
	.flip { width: 100%; height: auto; transform: none; }
	.flip__inner { transform: none !important; }
	.flip__front { display: none; }
	.flip__back { position: relative; transform: none; }

	.faq__inner { grid-template-columns: 1fr; }
	.faq__title { position: static; }
	.testimonials__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.hero__line { white-space: normal; }
	.feature-grid--3, .feature-grid--2 { grid-template-columns: 1fr; }
	.feature-grid--3 .feature-card:last-child { grid-column: auto; }
	.pain-card__quote { font-size: 22px; }
	.pain__stack { width: 240px; height: 320px; }
	.footer__links { gap: 22px; }
	.faq-item__q button { font-size: 16px; }
}

/* Reduced motion: static layouts, no scroll-driven transforms */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	[data-fade] { opacity: 1; transform: none; filter: none; }
	[data-reveal-words] .w { opacity: 1 !important; }
	.pain { height: auto; }
	.pain__sticky { position: relative; height: auto; padding-bottom: 80px; }
	.pain__stack { position: relative; left: auto; top: auto; transform: none; width: auto; height: auto; display: grid; gap: 16px; margin-top: 40px; padding-inline: var(--gutter); max-width: 340px; }
	.pain-card { position: relative; transform: none !important; min-height: 280px; }
}
