/*
Theme Name: Trustyy
Theme URI: https://trustyyapp.com/
Author: Easy Commerce Apps
Description: Marketing theme for the Trustyy Shopify review app. Landing page, blog listing with live topic filter/search, and long-form blog posts with an auto-generated table of contents. Built from the TRUSTYY Figma design (desktop 1440, tablet 760, mobile 393).
Version: 2.2.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trustyy
*/

/* ==========================================================================
   Fonts (self-hosted, latin subset)
   ========================================================================== */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/geist-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #1e1e1e;
	--ink-2: #140018;
	--muted: #545454;
	--muted-2: #6e6e6e;
	--muted-3: #737373;
	--date: #7d7d7d;
	--yellow: #decb21;
	--gold: #e2cb05;
	--brand: #a69817;
	--olive-dark: #393303;
	--olive-btn: #97947c;
	--beige: #f4f2ec;
	--line: #ededed;
	--white: #fff;

	--f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
	--f-dm: "DM Sans", "Manrope", system-ui, sans-serif;
	--f-nav: "Geist", "Manrope", system-ui, sans-serif;

	--gutter: 128px;
	--container: 1184px;
	--container-wide: 1312px;
	--header-top: 40px;
}

@media (max-width: 1439px) {
	:root { --gutter: 64px; }
}
@media (max-width: 599px) {
	:root { --gutter: 20px; --header-top: 16px; }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	top: 8px; left: 8px; padding: 12px 16px; background: var(--white); color: var(--ink); border-radius: 8px;
}

.t-container {
	width: min(var(--container), calc(100% - (var(--gutter) * 2)));
	margin-inline: auto;
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Shared components
   ========================================================================== */

/* Eyebrow tag */
.t-eyebrow {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 11px 15px; /* + 1px border = Figma 12/16 inside stroke */
	background: var(--white);
	border: 1px solid var(--gold);
	border-radius: 4px;
	font: 500 18px/28px var(--f-body);
	color: var(--ink);
	white-space: nowrap;
}
.t-eyebrow--r8 { border-radius: 8px; }

/* Section heading block */
.t-head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.t-head--center { align-items: center; text-align: center; }
.t-head__text { display: flex; flex-direction: column; width: 100%; }
.t-h2 {
	font: 700 48px/69px var(--f-body);
	letter-spacing: -1px;
	color: var(--ink);
}

/* Plain buttons */
.t-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 16px;
	border-radius: 8px;
	font: 600 18px/normal var(--f-dm);
	font-variation-settings: "opsz" 14;
	white-space: nowrap;
	transition: filter .2s ease, transform .2s ease;
}
.t-btn:hover { filter: brightness(.95); }
.t-btn:active { transform: translateY(1px); }
.t-btn--yellow { background: var(--yellow); color: var(--ink); }
.t-btn--olive { background: var(--olive-btn); color: var(--white); }
.t-btn--dark { background: var(--olive-dark); color: var(--white); }
.t-btn--sq {
	border-radius: 4px;
	font: 500 18px/28px var(--f-body);
	white-space: pre;
}

/* Button with square arrow box */
.t-btn-arrow {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 12px 16px;
	border-radius: 12px;
	font: 500 18px/28px var(--f-body);
	white-space: nowrap;
	transition: filter .2s ease;
}
.t-btn-arrow:hover { filter: brightness(1.12); }
.t-btn-arrow__icon {
	display: flex; align-items: center; justify-content: center;
	padding: 8px; border-radius: 8px;
	transition: transform .2s ease;
}
.t-btn-arrow:hover .t-btn-arrow__icon { transform: translateX(2px); }
.t-btn-arrow__icon svg { width: 24px; height: 24px; }
.t-btn-arrow--dark { background: var(--olive-dark); color: var(--white); }
.t-btn-arrow--dark .t-btn-arrow__icon { background: var(--yellow); color: var(--ink); }
.t-btn-arrow--header { background: var(--yellow); color: var(--ink); padding: 8px 16px; }
.t-btn-arrow--header:hover { filter: brightness(.96); }
.t-btn-arrow--header .t-btn-arrow__icon { background: var(--olive-dark); color: var(--white); }

/* Tags */
.t-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.t-tag {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 16px; border-radius: 8px;
	background: rgba(81, 74, 5, .12);
	font: 400 16px/22px var(--f-body); letter-spacing: -.18px;
	color: var(--ink-2); white-space: nowrap;
}
.t-tag--latest { background: rgba(105, 205, 255, .12); }
.t-tag svg { width: 16px; height: 16px; flex: none; }
.t-tags__date { font: 500 14px/24px var(--f-body); color: var(--date); white-space: nowrap; }

/* Pills (topic filter) */
.t-pill {
	display: inline-flex; align-items: center;
	padding: 8px 16px; border-radius: 8px;
	background: rgba(81, 74, 5, .12); color: var(--ink-2);
	font: 400 16px/22px var(--f-body); letter-spacing: -.18px;
	transition: background-color .2s ease, color .2s ease;
}
.t-pill:hover { background: rgba(81, 74, 5, .2); }
.t-pill.is-active { background: var(--ink); color: var(--white); }
.t-pill--more { background: var(--ink); color: var(--white); padding: 12px 24px; }
.t-pill--more:hover { background: #000; }
.t-pill--more[disabled] { opacity: .6; cursor: progress; }

/* Stars */
.t-stars { display: flex; gap: 6.6px; }
.t-stars svg { width: 33px; height: 33px; }

/* White rounded panel (How it works / AI) */
.t-panel {
	background: var(--white);
	border-radius: 40px;
	padding: 48px 40px;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px;
}

/* Square media with cross-fading items */
.t-media-square {
	position: relative;
	min-width: 0; width: 100%;
	max-width: 700px; justify-self: end;
	aspect-ratio: 1 / 1;
	border-radius: 24px;
	overflow: hidden;
}
.t-media-square__item {
	position: absolute; inset: 0;
	opacity: 0; visibility: hidden;
	transition: opacity .35s ease, visibility .35s;
}
.t-media-square__item.is-active { opacity: 1; visibility: visible; }
.t-media-square__item img,
.t-media-square__item video { width: 100%; height: 100%; object-fit: cover; }
.t-media-square__item img.is-contain { object-fit: contain; }

/* Decorative isometric cubes */
.t-cube { position: absolute; z-index: 0; pointer-events: none; user-select: none; max-width: none; }

/* Post image */
.t-post-img {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: #f0eee6;
}
.t-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.t-post-img__ph { position: absolute; inset: 0; background: linear-gradient(135deg, #f4f2ec, #e9e4cf); }

/* Sections */
.t-section { position: relative; padding-block: 40px; }
.t-section--beige { background: var(--beige); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 16px;
	z-index: 100;
	width: fit-content;
	margin: var(--header-top) auto 0;
}
.admin-bar .site-header { top: 48px; }

.site-header__bar {
	display: flex; align-items: center; gap: 71px;
	padding: 15px;
	background: var(--white);
	border: 1px solid #c8c1c1;
	border-radius: 12px;
	filter: drop-shadow(0 8px .75px rgba(137, 125, 18, .2));
	transition: filter .25s ease;
}
.site-header.is-scrolled .site-header__bar { filter: drop-shadow(0 8px .75px rgba(137, 125, 18, .2)) drop-shadow(0 12px 24px rgba(30, 30, 30, .08)); }

.site-header__brand { display: block; flex: none; }
.site-header__logo { width: 135.62px; height: 44px; object-fit: contain; }

.site-header__menu { display: flex; align-items: center; gap: 12px; list-style: none; }
.site-header__menu a {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 12px; border-radius: 7px;
	font: 400 16px/normal var(--f-nav);
	color: var(--ink);
	white-space: nowrap;
	transition: background-color .2s ease;
}
.site-header__menu a svg { width: 24px; height: 24px; flex: none; }
.site-header__menu a:hover,
.site-header__menu a[aria-current="page"],
.site-header__menu .current-menu-item > a { background: rgba(81, 74, 5, .08); }

.site-header__toggle {
	display: none;
	width: 40px; height: 40px;
	align-items: center; justify-content: center;
	border-radius: 8px; color: var(--ink);
}
.site-header__toggle svg path { transition: transform .25s ease, opacity .2s ease; transform-origin: 12px 12px; }
.site-header.is-open .site-header__toggle .i-top { transform: translateY(5px) rotate(45deg); }
.site-header.is-open .site-header__toggle .i-mid { opacity: 0; }
.site-header.is-open .site-header__toggle .i-bot { transform: translateY(-5px) rotate(-45deg); }

.site-header__panel {
	margin-top: 8px;
	padding: 12px;
	background: var(--white);
	border: 1px solid #c8c1c1;
	border-radius: 12px;
	box-shadow: 0 8px 0 rgba(137, 125, 18, .2), 0 16px 32px rgba(30, 30, 30, .08);
}
.site-header__panel-menu { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.site-header__panel-menu a {
	display: flex; align-items: center; gap: 10px;
	padding: 12px; border-radius: 8px;
	font: 400 16px/normal var(--f-nav);
}
.site-header__panel-menu a:hover,
.site-header__panel-menu a[aria-current="page"] { background: rgba(81, 74, 5, .08); }
.site-header__panel .t-btn-arrow { width: 100%; justify-content: space-between; }

@media (max-width: 799px) {
	.site-header { width: calc(100% - 40px); }
	.site-header__bar { justify-content: space-between; gap: 16px; padding: 10px 12px 10px 16px; }
	.site-header__logo { width: 111px; height: 36px; }
	.site-header__nav,
	.site-header__bar > .t-btn-arrow { display: none; }
	.site-header__toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 94px 0; overflow: hidden; }
@supports (overflow: clip) { .hero { overflow: clip; } }
.hero__inner { display: flex; flex-direction: column; gap: 40px; }

.hero__top { display: flex; align-items: center; justify-content: space-between; }
.hero__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero__badge { width: 172.52px; height: 27.24px; }
.hero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 0; }
.hero__title-line,
.hero__title-mark {
	font: 800 64px/69px var(--f-body);
	letter-spacing: -2px;
	color: var(--ink);
}
.hero__title-mark {
	display: inline-flex;
	padding: 16px;
	background: #fefad7;
	border-bottom: 5px solid var(--brand);
	border-radius: 11px;
	white-space: nowrap;
}
.hero__subtitle { font: 500 20px/normal var(--f-body); color: var(--muted-2); }
.hero__copy .hero__subtitle { margin-top: 0; }
.hero__actions { display: flex; gap: 16px; align-items: stretch; flex: none; }

.hero__logos { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.hero__logos::-webkit-scrollbar { display: none; }
.hero__logos-track { display: flex; width: max-content; }
.hero__logos-set { display: flex; align-items: center; gap: 62px; padding-right: 62px; flex: none; }
.hero__logos-set img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
[data-marquee].is-dragging { cursor: grabbing; user-select: none; }
.hero__logos-set img:first-child { width: 86px; height: 22px; }
.hero__logos-set img { width: 157.55px; height: 47.27px; object-fit: contain; }

.hero__mockup {
	position: relative; z-index: 1;
	padding: 56px 56px 0;
	border-radius: 24px;
	background: #e9f6fb center / cover no-repeat;
	overflow: hidden;
}
.hero__mockup img { width: 100%; aspect-ratio: 1714 / 1291; object-fit: cover; }

/* Cubes are anchored to the mockup (container edges) */
.hero__stage { position: relative; }
.hero__cube--cyan { width: 277.48px; height: 320.5px; right: -193px; top: 157px; }
.hero__cube--yellow { width: 373.43px; height: 431.3px; left: -208px; top: 249px; }

/* ==========================================================================
   How it works
   ========================================================================== */
.how { overflow: hidden; }
@supports (overflow: clip) { .how { overflow: clip; } }
.how__inner { display: flex; flex-direction: column; gap: 40px; }
.how__head-text { gap: 11px; letter-spacing: -1px; }
.how__subtitle { font: 500 20px/normal var(--f-dm); font-variation-settings: "opsz" 14; color: var(--muted-2); letter-spacing: -1px; }

.how__steps { min-width: 0; display: flex; flex-direction: column; }
.how__step { position: relative; box-shadow: inset 0 -1px 0 var(--line); padding: 24px; display: flex; flex-direction: column; }

/* Progress bar for the auto-advancing step / tab */
.t-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; pointer-events: none; }
.t-progress > span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left center; will-change: transform; }
.how__step:not(.is-open) .t-progress { visibility: hidden; }
.t-progress--tab { left: 8px; right: 8px; bottom: 4px; border-radius: 2px; }
.ai__tab:not(.is-active) .t-progress { visibility: hidden; }
.how__step:last-child { border-radius: 8px; }
.how__step-head { display: flex; flex-direction: column; gap: 32px; text-align: left; width: 100%; }
.how__step:not(.is-open) .how__step-head:hover .how__step-title { color: var(--brand); }
.how__num {
	font: 600 48px/58px var(--f-display);
	font-variation-settings: "opsz" 14, "wdth" 100;
	letter-spacing: -.4px;
	color: var(--ink);
}
.how__step-title {
	font: 600 24px/normal var(--f-dm);
	font-variation-settings: "opsz" 14;
	letter-spacing: -.15px;
	color: var(--ink);
	transition: color .2s ease;
}
.how__step-body { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; margin-top: 8px; }
.how__step-body:not([hidden]) { animation: t-fade-in .35s ease both; }
.how__step-text { font: 500 18px/28px var(--f-body); color: var(--muted); }
.how__step-body .t-btn-arrow__label { font-family: var(--f-display); font-variation-settings: "opsz" 14, "wdth" 100; }

.how__cube { width: 600.78px; height: 693.7px; }
@media (min-width: 1200px) {
	.how__cube { left: calc(50% + (var(--container) / 2) + 352px - 600.78px); top: 789px; }
}

.cta-banner {
	position: relative; z-index: 1;
	display: flex; align-items: center;
	height: 475px; padding: 64px;
	border-radius: 26px;
	background: #4f8ea6 center / cover no-repeat;
	overflow: hidden;
}
.cta-banner__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta-banner__title { font: 600 48px/normal var(--f-body); letter-spacing: -.15px; color: var(--white); }

@keyframes t-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Features
   ========================================================================== */
.features { overflow: hidden; }
@supports (overflow: clip) { .features { overflow: clip; } }
.features__inner { display: flex; flex-direction: column; gap: 56px; }
.features__head { padding-inline: 32px; }
.features__head-text { gap: 12px; }
.features__subtitle { font: 500 18px/normal var(--f-body); color: var(--muted); }

.features__grid {
	list-style: none;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px; row-gap: 32px;
}
.features__item { display: flex; flex-direction: column; gap: 16px; padding-block: 24px; }
.features__label { font: 600 18px/24px var(--f-body); color: var(--ink); }
.features__n { display: inline-block; min-width: 27px; }
.features__img { aspect-ratio: 3200 / 1800; border-radius: 8px; overflow: hidden; }
.features__img img { width: 100%; height: 100%; object-fit: cover; }

.features__cube { width: 334.8px; height: 386.6px; }
@media (min-width: 1200px) {
	.features__cube { left: calc(50% - (var(--container) / 2) - 355px); top: 586px; }
}

/* ==========================================================================
   AI automation
   ========================================================================== */
.ai { background: linear-gradient(180deg, #fff 34.497%, var(--brand) 144.5%); overflow: hidden; }
@supports (overflow: clip) { .ai { overflow: clip; } }
.ai__inner { display: flex; flex-direction: column; gap: 40px; }
.ai__head { padding-block: 40px; }
.ai__head-text { gap: 12px; }
.ai__title { line-height: 54px; }
.ai__subtitle { font: 500 20px/normal var(--f-body); color: var(--muted); }

.ai__tabs { display: flex; gap: 24px; }
.ai__tab {
	position: relative;
	flex: 1 1 0; min-width: 0;
	display: flex; align-items: center; justify-content: center;
	padding: 12px; border-radius: 8px;
	font: 500 16px/24px var(--f-body);
	color: var(--ink);
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease;
}
.ai__tab:hover { background: rgba(30, 30, 30, .06); }
.ai__tab.is-active { background: var(--ink); color: var(--white); font-weight: 700; }

.ai__panel { display: block; padding: 48px 40px; }
.ai__pane { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.ai__pane.is-active { animation: t-fade-in .35s ease both; }
.ai__copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding: 24px; }
.ai__text { display: flex; flex-direction: column; gap: 8px; }
.ai__pane-title { font: 700 24px/normal var(--f-body); letter-spacing: -.15px; color: var(--ink); }
.ai__pane-desc { font: 500 18px/28px var(--f-body); color: var(--muted); }
.ai__media { background: #fff; }

.ai__deco { position: absolute; z-index: 0; pointer-events: none; max-width: none; }
.ai__deco--left { left: 0; top: calc(50% - 240px); width: 238px; height: 481px; }
.ai__deco--right { right: 0; top: calc(50% - 60px); width: 307px; height: 416px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials__inner { display: flex; flex-direction: column; gap: 40px; }
.testimonials__body { display: flex; align-items: flex-start; justify-content: center; gap: 32px; }

.testimonials__cta {
	flex: 1 1 0; min-width: 0;
	aspect-ratio: 400 / 300;
	display: flex; align-items: flex-start; justify-content: space-between; gap: 9px;
	padding: 64px 27px;
	border-radius: 26px;
	background: #6b5d4f center / cover no-repeat;
}
.testimonials__cta-title { flex: 1 1 0; font: 600 28px/normal var(--f-body); letter-spacing: -.15px; color: var(--white); }

.testimonials__viewport {
	flex: 1 1 0; min-width: 0; max-width: 800px;
	height: 641px;
	overflow: hidden;
}
.testimonials__viewport { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; cursor: grab; }
.testimonials__viewport::-webkit-scrollbar { display: none; }
.testimonials__viewport:focus-visible { outline-offset: 4px; border-radius: 24px; }
.testimonials__track { display: flex; flex-direction: column; }
.testimonials__set { display: flex; flex-direction: column; gap: 56px; padding-bottom: 56px; }

@keyframes t-scroll-y { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes t-scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.review-card {
	display: flex; flex-direction: column; gap: 24px;
	padding: 24px;
	background: var(--white);
	border: 1px solid #fff9c5;
	border-radius: 24px;
}
.review-card__top { display: flex; flex-direction: column; gap: 13px; }
.review-card__text { margin: 0; font: 400 16px/22px var(--f-body); letter-spacing: -.18px; color: #000; }
.review-card__rule { margin: 0; border: 0; border-top: 1px solid #e6e6e6; }
.review-card__author { display: flex; flex-direction: column; gap: 13px; }
.review-card__avatar {
	display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 8px;
	background: #fbcffb; color: #791a79;
	font: 600 13px/28px "Inter", var(--f-body);
}
.review-card__who { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.review-card__name { font: 600 24px/30px var(--f-display); font-variation-settings: "opsz" 14, "wdth" 100; letter-spacing: -.15px; }
.review-card__store { font: 500 16px/22px var(--f-body); letter-spacing: -.18px; }

/* ==========================================================================
   Posts (cards, featured, grid)
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; row-gap: 56px; }
.post-grid.is-loading { opacity: .45; pointer-events: none; transition: opacity .2s ease; }

.post-card, .post-card__link { display: flex; flex-direction: column; height: 100%; }
.post-card__link { gap: 24px; }
.post-card__body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.post-card__title { font: 500 18px/normal var(--f-body); color: var(--ink); transition: color .2s ease; }
.post-card__link:hover .post-card__title { color: var(--brand); }
.post-card__link:hover .t-post-img img,
.post-featured__link:hover .t-post-img img { transform: scale(1.03); }

.post-featured__link { display: flex; align-items: center; gap: 56px; }
.post-featured__link > .t-post-img { flex: 1 1 0; min-width: 0; }
.post-featured__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.post-featured__title { font: 500 32px/normal var(--f-body); color: var(--ink); transition: color .2s ease; }
.post-featured__link:hover .post-featured__title { color: var(--brand); }

/* Home blog section */
.home-blog__inner { display: flex; flex-direction: column; gap: 56px; }
.home-blog__head-text { gap: 12px; }
.home-blog__title { line-height: 54px; }
.home-blog__subtitle { font: 500 20px/normal var(--f-body); color: var(--muted); }
.home-blog__grid .post-card__link { gap: 16px; }
.home-blog__grid .post-card__body { min-height: 129px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-block: 80px; }
.faq__inner { display: flex; flex-direction: column; gap: 40px; }
.faq__head { gap: 24px; }
.faq__head-text { gap: 8px; }
.faq__title { line-height: 54px; }
.faq__subtitle { font: 500 18px/28px var(--f-body); color: var(--muted); }

.faq__list { display: flex; flex-direction: column; gap: 32px; }
.faq__item { background: var(--white); border-radius: 12px; transition: box-shadow .2s ease; }
.faq__item:hover { box-shadow: 0 4px 16px rgba(30, 30, 30, .04); }
.faq__q { margin: 0; }
.faq__btn {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	width: 100%; padding: 24px; text-align: left;
	font: 500 16px/22px var(--f-display);
	font-variation-settings: "opsz" 14, "wdth" 100;
	letter-spacing: -.18px; color: var(--ink);
}
.faq__icon {
	flex: none;
	display: flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; padding: 6px;
	background: var(--white);
	border: .75px solid #dedede; border-radius: 6px;
	filter: drop-shadow(0 .75px 0 rgba(0, 0, 0, .25));
	color: #000;
}
.faq__icon svg { width: 18px; height: 18px; }
.faq__icon .i-v { transition: transform .25s ease; transform-origin: center; transform-box: fill-box; }
.faq__item.is-open .faq__icon .i-v { transform: scaleY(0); }
.faq__a { padding: 0 24px 24px; margin-top: -8px; }
.faq__a:not([hidden]) { animation: t-fade-in .3s ease both; }
.faq__a p { font: 500 16px/24px var(--f-body); color: var(--muted); max-width: 900px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	display: flex; flex-direction: column; align-items: center; gap: 24px;
	padding: 134.5px 0 133.5px;
	background: linear-gradient(180deg, #1f1c01 37.745%, #857804 155.89%);
	color: var(--white);
}
.site-footer__inner,
.site-footer__rule { width: min(1128px, calc(100% - (var(--gutter) * 2))); }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1200px; }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px; }
.site-footer__logo { width: 225px; height: 73px; object-fit: contain; }
.site-footer__tagline { font: 500 16px/24px var(--f-body); white-space: nowrap; }
.site-footer__cols { display: flex; align-items: flex-start; gap: 51px; }
.site-footer__col { width: 106px; display: flex; flex-direction: column; gap: 24px; }
.site-footer__title {
	font: 600 16px/22px var(--f-display);
	font-variation-settings: "opsz" 14, "wdth" 100;
	letter-spacing: -.18px; color: var(--yellow);
}
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { font: 500 14px/20px var(--f-body); letter-spacing: -.16px; color: var(--white); transition: color .2s ease; }
.site-footer__col a:hover { color: var(--yellow); }
.site-footer__rule { height: 1px; background: #727272; }

/* ==========================================================================
   Blog listing
   ========================================================================== */
.blog-index .t-container { width: min(var(--container-wide), calc(100% - 128px)); }
.blog-index__featured { padding-block: 80px; }
.blog-index .post-featured__link > .t-post-img { flex: 1 1 0; }
.blog-index .post-featured__body { flex: 0 1 636px; }

.blog-topics { display: flex; flex-direction: column; align-items: center; gap: 32px; padding-block: 40px; }
.blog-topics__top { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.blog-topics__title { font: 500 24px/normal var(--f-body); letter-spacing: -.4px; color: var(--ink); }
.blog-search {
	display: flex; align-items: center; gap: 8px;
	width: 100%; max-width: 640px;
	padding: 12px 15px;
	background: #f3f3f3; border-radius: 1234px;
	transition: box-shadow .2s ease;
}
.blog-search:focus-within { box-shadow: 0 0 0 2px rgba(166, 152, 23, .5); }
.blog-search__icon { width: 24px; height: 24px; flex: none; }
.blog-search input[type="search"] {
	flex: 1 1 auto; min-width: 0;
	border: 0; background: transparent; outline: 0;
	font: 400 16px/22px var(--f-body); letter-spacing: -.18px; color: var(--ink);
	-webkit-appearance: none; appearance: none;
}
.blog-search input::placeholder { color: #999; opacity: 1; }
.blog-search input::-webkit-search-cancel-button { cursor: pointer; }
.blog-topics__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.blog-index__grid-wrap { padding-block: 40px; }
.blog-index__empty { text-align: center; font: 500 16px/24px var(--f-body); color: var(--muted); padding: 24px 0; }
.blog-index__more { display: flex; justify-content: center; margin-top: 56px; }
.blog-index__more [hidden] { display: none; }

.page-head { padding-block: 64px 24px; }
.page-head__title { font: 700 48px/1.15 var(--f-body); letter-spacing: -1px; }
.page-head__desc { margin-top: 12px; color: var(--muted); font: 500 18px/28px var(--f-body); }

.t-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.t-pagination .page-numbers { display: inline-flex; padding: 8px 14px; border-radius: 8px; background: rgba(81, 74, 5, .12); font: 500 16px/22px var(--f-body); }
.t-pagination .page-numbers.current { background: var(--ink); color: var(--white); }

/* ==========================================================================
   Single post
   ========================================================================== */
.single-post__wrap { width: min(var(--container-wide), calc(100% - 128px)); margin: 0 auto; padding: 40px 0 40px; }
.single-post__back {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 16px; border-radius: 8px;
	font: 400 16px/22px var(--f-body); letter-spacing: -.18px; color: var(--ink-2);
	transition: background-color .2s ease;
}
.single-post__back:hover { background: rgba(81, 74, 5, .08); }
.single-post__back svg { width: 24px; height: 24px; transition: transform .2s ease; }
.single-post__back:hover svg { transform: translateX(-3px); }

.single-post__layout { display: grid; grid-template-columns: 369px minmax(0, 1fr); gap: 32px; margin-top: 32px; align-items: start; }
.single-post__aside { border-right: 1px solid #e2e2e2; padding-inline: 24px; align-self: stretch; }
.single-post__aside-inner { position: sticky; top: 128px; display: flex; flex-direction: column; gap: 32px; }
.admin-bar .single-post__aside-inner { top: 160px; }

.toc { background: var(--white); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.toc__head { display: flex; align-items: center; justify-content: space-between; padding: 12px; }
.toc__title { font: 600 20px/24px var(--f-body); color: var(--ink); }
.toc__mobile-toggle { display: none; color: var(--muted-3); }
.toc__mobile-toggle svg { transform: rotate(90deg); transition: transform .2s ease; }
.toc__list { list-style: none; display: flex; flex-direction: column; gap: 5px; max-height: calc(100vh - 560px); min-height: 160px; overflow-y: auto; scrollbar-width: thin; }
.toc__item { border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 10px; transition: background-color .2s ease; }
.toc__item:hover { background: #faf9f4; }
.toc__link { display: flex; align-items: flex-start; gap: 10px; font: 500 16px/24px var(--f-body); color: var(--muted-3); }
.toc__n { flex: none; min-width: 24px; }
.toc__text { flex: 1 1 auto; }
.toc__chev { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--muted-3); transition: transform .2s ease; }
.toc__item.is-open > .toc__link .toc__chev { transform: rotate(90deg); }
.toc__link.is-active { color: var(--ink); }
.toc__sub { list-style: none; display: none; flex-direction: column; gap: 4px; }
.toc__item.is-open .toc__sub { display: flex; }
.toc__sub a { display: block; padding: 0 24px; font: 500 14px/24px var(--f-body); color: var(--muted-3); }
.toc__sub a.is-active, .toc__sub a:hover { color: var(--ink); }

.side-cta { background: #fff2aa; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.side-cta__img { width: 100%; aspect-ratio: 1703 / 1290; object-fit: cover; }
.side-cta__body { display: flex; flex-direction: column; gap: 32px; }
.side-cta__text { font: 500 20px/normal var(--f-body); color: var(--ink); }
.side-cta__btn { width: 100%; }

.single-post__article { min-width: 0; max-width: 911px; }
.single-post__header { display: flex; flex-direction: column; gap: 32px; }
.single-post__heading { display: flex; flex-direction: column; gap: 16px; }
.single-post__title { font: 600 32px/normal var(--f-body); color: var(--ink); }
.single-post__excerpt { font: 500 16px/24px var(--f-body); color: var(--muted); }
.single-post__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.single-post__byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.single-post__author { display: inline-flex; align-items: center; gap: 19px; font: 500 14px/20px var(--f-body); color: var(--ink); }
.single-post__avatar { width: 34px; height: 34px; border-radius: 2px; object-fit: cover; }
.single-post__byline time,
.single-post__read { font: 500 14px/24px var(--f-body); color: var(--muted); }
.single-post__cover { margin-top: 32px; }
.single-post__cover img { width: 100%; height: auto; border-radius: 8px; }

/* Long-form content */
.entry-content { margin-top: 32px; font: 500 16px/24px var(--f-body); color: var(--muted); overflow-wrap: break-word; }
.entry-content > * + * { margin-top: 24px; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { color: var(--ink); font-family: var(--f-body); font-weight: 600; scroll-margin-top: 128px; }
.entry-content h2 { font-size: 24px; line-height: normal; margin-top: 32px; }
.entry-content h3 { font-size: 20px; line-height: 28px; margin-top: 28px; }
.entry-content h4 { font-size: 18px; line-height: 26px; }
.entry-content h2 + *,
.entry-content h3 + *,
.entry-content h4 + * { margin-top: 16px; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > * { margin-bottom: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content p:empty { display: none; }
.entry-content .wp-block-image,
.entry-content .wp-block-table,
.entry-content .wp-block-embed,
.entry-content .wp-block-columns,
.entry-content .wp-block-group { margin-inline: 0; margin-bottom: 0; }
.entry-content .wp-block-columns { gap: 24px; }
.entry-content br:last-child { display: none; }
.entry-content strong, .entry-content b { font-weight: 600; color: var(--ink); }
.entry-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--olive-dark); }
.entry-content ul, .entry-content ol { padding-left: 24px; }
.entry-content li + li { margin-top: 24px; }
.entry-content li::marker { color: var(--ink); }
.entry-content img { border-radius: 8px; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { margin-top: 8px; font-size: 14px; color: var(--date); text-align: center; }
.entry-content blockquote { padding: 16px 24px; border-left: 4px solid var(--yellow); background: #fffbe0; border-radius: 0 12px 12px 0; color: var(--ink); }
.entry-content hr { border: 0; border-top: 1px solid #e3e3e3; }
.entry-content code { font-size: .9em; padding: 2px 6px; border-radius: 4px; }
.entry-content pre { background: #1e1e1e; color: #f5f5f5; padding: 16px; border-radius: 12px; overflow-x: auto; }

.entry-content table,
.entry-content .wp-block-table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.entry-content .wp-block-table,
.entry-content > table { border: 1px solid #e3e3e3; border-radius: 11px; overflow: hidden; background: var(--white); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .wp-block-table table { border: 0; }
.entry-content th { background: #f5f5f5; padding: 15px 24px; text-align: left; font: 700 16px/normal var(--f-body); color: var(--ink); white-space: nowrap; }
.entry-content td { padding: 22px 24px; border-top: 1px solid #e3e3e3; font: 400 14px/normal var(--f-body); color: #333340; vertical-align: middle; }
.entry-content td:first-child { font-weight: 500; color: var(--ink); }
.entry-content tr:first-child td { border-top: 0; }
.entry-content thead + tbody tr:first-child td { border-top: 0; }
.entry-content .wp-block-table thead { border: 0; }
.entry-content .wp-block-table th,
.entry-content .wp-block-table td { border: 0; }
.entry-content .wp-block-table td { border-top: 1px solid #e3e3e3; }
.entry-content .wp-block-table tbody tr:first-child td { border-top: 0; }
.entry-content .wp-block-table th { border-bottom: 0; }

.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content .wp-block-image img { width: 100%; }
.entry-content .wp-block-button__link { background: var(--olive-dark); color: var(--white); border-radius: 12px; padding: 12px 20px; text-decoration: none; font-weight: 500; }

/* Yoast FAQ block as accordion */
.schema-faq.is-enhanced { display: flex; flex-direction: column; gap: 16px; }
.schema-faq.is-enhanced .schema-faq-section { background: var(--beige); border-radius: 12px; margin: 0; }
.schema-faq.is-enhanced .schema-faq-question { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-family: var(--f-display); font-weight: 500; color: var(--ink); }
.schema-faq.is-enhanced .schema-faq-question::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .2s ease; }
.schema-faq.is-enhanced .is-open .schema-faq-question::after { transform: rotate(45deg); }
.schema-faq.is-enhanced .schema-faq-answer { display: none; padding: 0 24px 20px; margin: 0; }
.schema-faq.is-enhanced .is-open .schema-faq-answer { display: block; }

/* Related posts */
.related { border-top: 1px solid #d3d3d3; }
.related__inner { width: min(var(--container-wide), calc(100% - 128px)); margin: 0 auto; padding: 40px 0; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.related__title { font: 500 24px/normal var(--f-body); letter-spacing: -.4px; color: var(--ink); text-align: center; }
.related .post-grid { width: 100%; }

/* Comments */
.comments-area { margin-top: 56px; padding-top: 32px; border-top: 1px solid #e3e3e3; }
.comments-area h2, .comment-reply-title { font: 600 24px/normal var(--f-body); color: var(--ink); margin-bottom: 16px; }
.comment-list { list-style: none; }
.comment-list .comment { margin-bottom: 24px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea, .search-form input[type="search"] {
	width: 100%; padding: 12px 16px; border: 1px solid #e3e3e3; border-radius: 12px; font: 400 16px/22px var(--f-body);
}
.comment-form .submit { background: var(--olive-dark); color: var(--white); border: 0; border-radius: 12px; padding: 12px 20px; font: 500 16px/24px var(--f-body); cursor: pointer; }
.search-form { display: flex; gap: 8px; }

/* Pages */
.page-default__inner { width: min(911px, calc(100% - (var(--gutter) * 2))); padding-bottom: 80px; }
.page-404__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-block: 120px; }
.page-404__text { color: var(--muted); font: 500 18px/28px var(--f-body); max-width: 520px; }
.page-404__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ==========================================================================
   ≤ 1199px — tablet layout (Figma 760 frame)
   ========================================================================== */
@media (max-width: 1199px) {
	.t-container { width: calc(100% - (var(--gutter) * 2)); }

	/* Hero */
	.hero { padding: 94px 0; }
	.hero__top { flex-direction: column; align-items: stretch; gap: 40px; }
	.hero__actions { justify-content: flex-start; }
	.hero__logos { margin-inline: calc(var(--gutter) * -1); }
	.hero__logos-set { gap: 49px; padding-right: 49px; }
	.hero__cube--cyan { right: -130px; top: 158px; }
	.hero__cube--yellow { left: -144px; top: 250px; }

	/* Panels stack: media on top */
	.t-panel, .ai__pane { grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 64px; }
	.t-media-square { order: -1; width: 100%; max-width: 700px; justify-self: center; }
	.how__panel { padding: 48px 40px; }
	.how__cube { display: none; }

	/* Features: one column */
	.features__grid { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
	.features__item:nth-child(odd):not(:first-child) { margin-top: 8px; }
	.features__cube { display: none; }

	/* AI */
	.ai__deco { display: none; }
	.ai__tabs { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
	.ai__tabs::-webkit-scrollbar { display: none; }
	.ai__tab { flex: none; scroll-snap-align: center; }
	.ai__media { aspect-ratio: auto; max-width: 100%; }
	.ai__media .t-media-square__item { position: relative; inset: auto; }
	.ai__media img, .ai__media video { height: auto; max-height: 520px; }
	.ai__panel { padding: 48px 40px; }
	.ai__pane { gap: 64px; }
	.ai__copy { padding: 24px; }

	/* Testimonials: horizontal marquee above the photo card */
	.testimonials__body { flex-direction: column; align-items: stretch; gap: 32px; }
	.testimonials__viewport { order: -1; flex: none; height: auto; max-width: none; margin-inline: calc(var(--gutter) * -1); }
	.testimonials__viewport { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; }
	.testimonials__track { flex-direction: row; width: max-content; }
	.testimonials__set { flex-direction: row; gap: 24px; padding-bottom: 0; padding-right: 24px; }
	.review-card { width: 632px; flex: none; }
	.testimonials__cta { flex: none; width: 100%; }

	/* Blog (home): featured only, stacked */
	.home-blog__grid { display: none; }
	.post-featured__link { flex-direction: column; align-items: stretch; gap: 56px; }
	.post-featured__link > .t-post-img { flex: none; width: 100%; }
	.blog-index .post-featured__body { flex: none; }

	/* Blog listing / single */
	.blog-index .t-container,
	.single-post__wrap,
	.related__inner { width: calc(100% - (var(--gutter) * 2)); }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 48px; }

	.single-post__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.single-post__aside, .single-post__aside-inner { display: contents; }
	.toc { order: 0; border: 1px solid #e2e2e2; }
	.single-post__article { order: 1; max-width: none; }
	.side-cta { order: 2; flex-direction: row; align-items: center; gap: 32px; }
	.side-cta__img { width: 45%; flex: none; }
	.single-post__widgets { order: 3; }
	.toc__mobile-toggle { display: inline-flex; }
	.toc__list { display: none; max-height: none; min-height: 0; }
	.toc.is-expanded .toc__list { display: flex; }
	.toc.is-expanded .toc__mobile-toggle svg { transform: rotate(-90deg); }

	/* Footer (tablet frame) */
	.site-footer { padding: 43px 0; }
	.site-footer__inner { flex-direction: column; align-items: stretch; gap: 26px; }
	.site-footer__brand { padding: 32px 0 0; }
	.site-footer__tagline { white-space: normal; }
	.site-footer__cols { justify-content: space-between; }
}

/* ==========================================================================
   ≤ 599px — mobile layout (Figma 393 frame)
   ========================================================================== */
@media (max-width: 599px) {
	.t-h2 { font-size: 32px; line-height: normal; }

	/* Hero */
	.hero { padding: 40px 0 64px; }
	.hero__inner { gap: 40px; }
	.hero__top { gap: 40px; }
	.hero__title-line, .hero__title-mark { font-size: 40px; line-height: 69px; }
	.hero__title { width: 100%; }
	.hero__title-mark { display: flex; justify-content: center; width: 100%; padding: 16px 8px; }
	.hero__actions { flex-direction: column; gap: 16px; }
	.hero__actions .t-btn { width: 100%; }
	.hero__mockup { padding: 56px 56px 0; }
	.hero__cube--cyan { right: -130px; top: 98px; }
	.hero__cube--yellow { left: -144px; top: 190px; }

	/* How it works */
	.how__title { line-height: 69px; }
	.t-panel, .how__panel, .ai__panel { padding: 48px 40px; border-radius: 40px; }
	.how__step { padding: 24px; }
	.cta-banner { height: auto; padding: 64px; align-items: flex-start; }
	.cta-banner__title { font-size: 24px; }

	/* Features */
	.features__head { padding-inline: 32px; }
	.features__subtitle { font-size: 18px; }

	/* AI */
	.ai__title br { display: none; }
	.ai__copy { padding: 24px; }

	/* Testimonials */
	.review-card { width: min(632px, calc(100vw - 60px)); }
	.testimonials__cta { flex-direction: column; justify-content: flex-start; aspect-ratio: 400 / 300; }
	.testimonials__cta-title { flex: none; font-size: 24px; }

	/* Blog */
	.home-blog__title, .faq__title { line-height: 54px; }
	.post-featured__title { font-size: 24px; }
	.post-grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
	.blog-index__featured { padding-block: 40px; }
	.page-head__title { font-size: 32px; }

	/* Single */
	.single-post__wrap { padding-top: 24px; }
	.single-post__back { margin-left: -16px; }
	.single-post__title { font-size: 26px; }
	.side-cta { flex-direction: column; align-items: stretch; }
	.side-cta__img { width: 100%; }
	.entry-content th, .entry-content td { padding-inline: 16px; }
	.related__inner { gap: 32px; }

	/* FAQ */
	.faq { padding-block: 80px; }
	.faq__btn { gap: 16px; }

	/* Footer (mobile frame) */
	.site-footer__inner { align-items: center; text-align: center; gap: 40px; }
	.site-footer__brand { align-items: center; padding: 32px 32px 0; }
	.site-footer__cols { flex-direction: column; align-items: center; gap: 51px; }
	.site-footer__col { align-items: center; }
	.site-footer__col ul { align-items: center; }
}

/* ==========================================================================
   Ambient motion: background photos, cubes, AI circles
   ========================================================================== */

/* Background photos sit on a ::before layer that slowly zooms and pans. */
.t-bg-anim { position: relative; isolation: isolate; overflow: hidden; }
.t-bg-anim::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: var(--bg) center / cover no-repeat;
	border-radius: inherit;
	transform-origin: 50% 50%;
	animation: t-kenburns 26s ease-in-out infinite alternate;
	will-change: transform;
}
.cta-banner.t-bg-anim::before { transform-origin: 70% 40%; animation-duration: 22s; }
.testimonials__cta.t-bg-anim::before { transform-origin: 60% 45%; animation-duration: 24s; animation-delay: -6s; }
.hero__mockup.t-bg-anim::before { animation-name: t-drift; animation-duration: 16s; }

@keyframes t-kenburns {
	0%   { transform: scale(1.02) translate3d(0, 0, 0); }
	100% { transform: scale(1.12) translate3d(-1.5%, -1.2%, 0); }
}
@keyframes t-drift {
	0%   { transform: scale(1.05) translate3d(0, 0, 0) rotate(0deg); }
	50%  { transform: scale(1.18) translate3d(-3%, 2%, 0) rotate(1.5deg); }
	100% { transform: scale(1.1) translate3d(2.5%, -2.5%, 0) rotate(-1deg); }
}

/* Cubes float (scroll parallax is added by JS through the `translate` property). */
.t-cube { animation: t-float 9s ease-in-out infinite; will-change: transform, translate; }
.hero__cube--yellow { animation-duration: 11s; animation-delay: -4s; }
.how__cube { animation-duration: 13s; animation-delay: -2s; }
.features__cube { animation-duration: 10s; animation-delay: -6s; }
@keyframes t-float {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
	50%      { transform: translate3d(0, -18px, 0) rotate(.8deg); }
}

/* AI circles sway around their centre; sparkles twinkle. */
.ai__deco { overflow: visible; will-change: transform, translate; }
.ai__deco--left { transform-origin: 0 50%; animation: t-sway 12s ease-in-out infinite; }
.ai__deco--right { transform-origin: 67% 50%; animation: t-sway 14s ease-in-out infinite reverse; }
.ai__deco path:nth-of-type(n+2) {
	transform-box: fill-box; transform-origin: center;
	animation: t-twinkle 3.6s ease-in-out infinite;
}
.ai__deco path:nth-of-type(3) { animation-duration: 3s; animation-delay: -1.4s; }
@keyframes t-sway {
	0%, 100% { transform: rotate(0deg) translate3d(0, 0, 0); }
	50%      { transform: rotate(7deg) translate3d(0, -12px, 0); }
}
@keyframes t-twinkle {
	0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
	50%      { transform: scale(.78) rotate(18deg); opacity: .85; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
	.t-bg-anim::before, .t-cube, .ai__deco, .ai__deco path { animation: none !important; }
	[data-parallax] { translate: none !important; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.ai__media video { object-fit: contain; background: #fff; }

textarea#comment {
    margin: 9px 0 0 0;
}

p.comment-form-comment {
    margin-top: 15px;
}