/* ==========================================================================
   TechBound SEO — main stylesheet
   Tokens → base → layout → components → sections → blog → utilities
   ========================================================================== */

:root {
	--brand: #3d5afe;
	--brand-600: #2f47d6;
	--mint: #12c99b;
	--mint-soft: #7cf2d0;
	--amber: #ffb020;
	--deep: #0b1437;
	--deep-2: #131d4d;

	--bg: #f6f7fb;
	--surface: #ffffff;
	--surface-2: #eef1f9;
	--ink: #0b1233;
	--ink-2: #4a5375;
	--line: #e1e5f2;
	--shadow: 0 1px 2px rgba(11, 18, 51, .05), 0 12px 32px -12px rgba(11, 18, 51, .16);

	--font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
	--font-body: 'Instrument Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 22px;
	--header-h: 72px;
}

[data-theme='dark'] {
	--bg: #070c22;
	--surface: #0e1533;
	--surface-2: #141c40;
	--ink: #eef1ff;
	--ink-2: #a2abcf;
	--line: #1f2952;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -14px rgba(0, 0, 0, .6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
[data-theme='dark'] a { color: #8fa0ff; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--brand); color: #fff !important; padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--flush { padding-top: 24px; }
.section--tint { background: var(--surface-2); }
.section--deep { background: var(--deep); color: #dfe4ff; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .section__head p { color: #a9b3e6; }

.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head p { color: var(--ink-2); font-size: 1.15rem; margin: 0; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: .3em; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 600 1rem/1 var(--font-body); padding: 14px 22px; border-radius: 12px;
	border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
	transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 16px; font-size: .95rem; border-radius: 10px; }
.btn--lg { padding: 17px 28px; font-size: 1.05rem; }
.btn--primary { background: var(--brand); color: #fff !important; }
.btn--primary:hover { background: var(--brand-600); }
.btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--ghost-dark { background: rgba(255, 255, 255, .06); color: #fff !important; border-color: rgba(255, 255, 255, .22); }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, .13); }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; background: transparent; color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.icon-btn:hover { border-color: var(--ink-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink) !important; }
.brand__name { font: 800 1.28rem/1 var(--font-display); letter-spacing: -.03em; }
.brand__sub { margin-left: 5px; color: var(--brand); }
[data-theme='dark'] .brand__sub { color: var(--mint-soft); }
.custom-logo { max-height: 42px; width: auto; }
.footer__brand .brand { color: #fff !important; }
.footer__brand .brand__sub { color: var(--mint-soft); }

.nav { margin-left: auto; }
.nav__list, .nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 500; text-decoration: none; }
.nav a:hover, .nav .current-menu-item > a { color: var(--ink); background: var(--surface-2); }
.nav__cta-mobile { display: none !important; }
.nav ul ul { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.theme-icon--sun { display: none; }
[data-theme='dark'] .theme-icon--sun { display: block; }
[data-theme='dark'] .theme-icon--moon { display: none; }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__close { display: block; }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: linear-gradient(90deg, var(--brand), var(--mint)); transform: scaleX(0); transform-origin: left; opacity: 0; }
.progress.is-on { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(900px 520px at 78% 30%, rgba(61, 90, 254, .5), transparent 65%),
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 56px,
		var(--deep);
	padding-block: clamp(56px, 7vw, 100px) clamp(72px, 9vw, 128px);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { color: #fff; margin-bottom: .4em; max-width: 12ch; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #b8c1ee; max-width: 52ch; margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero__tags li { font-size: .9rem; color: #c9d1f7; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px 14px; background: rgba(255, 255, 255, .04); }

/* Hero dashboard */
.hero__visual { position: relative; }
.dash { position: relative; background: linear-gradient(180deg, #121c4a, #0d1540); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03) inset; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.dash__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .09); color: #8792c9; font-size: .8rem; }
.dash__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.dash__bar span { margin-left: 10px; }
.dash__body { padding: 20px; }
.dash__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.dash__kpis > div { background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 12px 14px; display: grid; }
.dash__kpis small { color: #8f9ad1; font-size: .78rem; }
.dash__kpis b { font: 700 1.7rem/1.2 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.dash__kpis em { font-style: normal; font-size: .82rem; color: var(--mint-soft); }
.dash__chart { width: 100%; height: 170px; display: block; margin-bottom: 8px; }
.dash__grid path { stroke: rgba(255, 255, 255, .08); stroke-width: 1; fill: none; }
.dash__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.dash__area { opacity: 0; }
.dash.is-live .dash__line { animation: draw 1.9s cubic-bezier(.3, .6, .2, 1) .35s forwards; }
.dash.is-live .dash__area { animation: fadein 1s ease 1.6s forwards; }
.dash.is-static .dash__line { animation: none; stroke-dashoffset: 0; }
.dash.is-static .dash__area { animation: none; opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.dash__ranks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dash__ranks li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; font-size: .92rem; color: #cbd3f6; }
.dash__ranks li:nth-child(odd) { background: rgba(255, 255, 255, .04); }
.rank { min-width: 42px; text-align: center; padding: 3px 10px; border-radius: 8px; font-weight: 700; color: #06281f; background: var(--mint-soft); font-variant-numeric: tabular-nums; }
.rank::before { content: '#'; opacity: .6; }
.chip { position: absolute; left: -26px; top: 46%; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #0b1233; font-weight: 600; font-size: .88rem; padding: 10px 14px; border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); }
.chip .icon { color: #0aa67e; }
.dash-note { margin: 16px 0 0; text-align: center; color: #7f8ac2; font-size: .82rem; }

/* ---------- Services: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento__item { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; overflow: hidden; display: flex; flex-direction: column; }
.bento__item--span-3 { grid-column: span 3; }
.bento__item--span-2 { grid-column: span 2; }
.bento__item h3 { margin-bottom: .4em; }
.bento__item > p { color: var(--ink-2); margin: 0; }
.bento__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); margin-bottom: 20px; }
[data-theme='dark'] .bento__icon { color: #9fb0ff; }
.bento__item:nth-child(3) .bento__icon, .bento__item:nth-child(6) .bento__icon { background: color-mix(in srgb, var(--mint) 16%, transparent); color: #0a9a76; }
.bento__item:nth-child(5) .bento__icon { background: color-mix(in srgb, var(--amber) 22%, transparent); color: #b9770a; }
.viz { margin-top: auto; padding-top: 22px; }
.viz--ring { display: flex; align-items: center; gap: 22px; }
.viz--ring ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink-2); font-size: .95rem; }
.viz--ring li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); margin-right: 10px; }
.viz--chips { list-style: none; padding: 22px 0 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.viz--chips li { font-size: .88rem; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.viz--bars { display: grid; gap: 10px; }
.viz--bars div { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.viz--bars i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--brand), var(--mint)); width: var(--w); }

/* ---------- Process ---------- */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__lead { position: sticky; top: calc(var(--header-h) + 32px); }
.split__lead p { color: var(--ink-2); font-size: 1.15rem; margin-bottom: 1.6em; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 23px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.steps__item { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding-bottom: 36px; }
.steps__item:last-child { padding-bottom: 0; }
.steps__num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 1.1rem var(--font-display); box-shadow: 0 0 0 6px var(--surface-2); }
.steps h3 { margin: 6px 0 .3em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.steps small { font: 500 .9rem var(--font-body); color: var(--ink-2); letter-spacing: 0; }
.steps p { color: var(--ink-2); margin: 0; max-width: 56ch; }

/* ---------- Measure ---------- */
.measure { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.measure__lead p { color: var(--ink-2); font-size: 1.15rem; }
.measure__list { margin: 0; border-top: 1px solid var(--line); }
.measure__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.measure__row dt { font: 700 1.2rem/1.3 var(--font-display); letter-spacing: -.02em; }
.measure__row dd { margin: 0; color: var(--ink-2); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .13); }
.plan h3 { font-size: 1.4rem; margin-bottom: .2em; }
.plan__blurb { color: #a9b3e6; min-height: 3.3em; font-size: .98rem; }
.plan__price { margin: 8px 0 24px; display: flex; align-items: baseline; gap: 4px; }
.plan__price strong { font: 800 2.9rem/1 var(--font-display); letter-spacing: -.04em; color: #fff; }
.plan__price span { color: #a9b3e6; }
.plan ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: #d5dbfa; }
.plan li .icon { flex: none; margin-top: 3px; color: var(--mint-soft); }
.plan--featured { background: linear-gradient(180deg, #ffffff, #eaeeff); color: var(--ink); border-color: #fff; transform: translateY(-14px); padding-block: 46px 32px; box-shadow: 0 40px 80px -30px rgba(61, 90, 254, .7); }
.plan--featured h3, .plan--featured .plan__price strong { color: var(--ink); }
.plan--featured .plan__blurb, .plan--featured .plan__price span { color: var(--ink-2); }
.plan--featured li { color: #27305a; }
.plan--featured li .icon { color: #0aa67e; }
.plan__badge { position: absolute; top: 16px; right: 20px; font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--brand); color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__lead p { color: var(--ink-2); font-size: 1.1rem; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font: 700 1.08rem/1.35 var(--font-display); letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; transition: transform .25s; color: var(--ink-2); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding: 0 22px 22px; margin: 0; color: var(--ink-2); max-width: 62ch; }

/* ---------- CTA + form ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(28px, 5vw, 64px); border-radius: 30px; color: #fff; background: radial-gradient(700px 400px at 100% 0%, rgba(124, 242, 208, .22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(61, 90, 254, .6), transparent 60%), var(--deep); }
.cta h2 { color: #fff; }
.cta__copy p { color: #b8c1ee; font-size: 1.1rem; }
.audit-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); }
.cta .field label { color: #dfe4ff; }
.cta .field input, .cta .field textarea { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); color: #fff; }
.cta .field input::placeholder { color: #8f9ad1; }
.form-note { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.form-note--ok { background: rgba(18, 201, 155, .16); color: #0b7a5d; }
.form-note--err { background: rgba(255, 90, 90, .15); color: #b3261e; }
.cta .form-note--ok { color: #9af5da; }
.cta .form-note--err { color: #ffb4ad; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.assure { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: var(--ink-2); }
.assure li { display: flex; gap: 10px; align-items: center; }
.assure .icon { color: var(--mint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #b3bce8; padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__title { font: 700 1rem var(--font-display); color: #fff; letter-spacing: 0; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #b3bce8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .btn { color: #fff; }
.footer__brand p { margin: 16px 0; max-width: 34ch; }
.social { display: flex !important; gap: 16px !important; flex-wrap: wrap; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.footer__bottom p { margin: 0; }

/* ---------- Page heroes ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 88px) 24px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.page-hero p { color: var(--ink-2); font-size: 1.2rem; max-width: 60ch; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center p { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
[data-theme='dark'] .eyebrow { color: #9fb0ff; }
.page-hero--glow { position: relative; overflow: hidden; }
.page-hero--glow::before, .page-hero--glow::after { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(100px); z-index: -1; pointer-events: none; }
.page-hero--glow::before { background: var(--brand); opacity: .28; top: -200px; right: -140px; }
.page-hero--glow::after { background: var(--mint); opacity: .2; bottom: -240px; left: -180px; }

/* ---------- Services page: service rows ---------- */
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: 56px; border-bottom: 1px solid var(--line); }
.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: 0; padding-bottom: 0; }
.service-row--reverse .service-row__visual { order: -1; }
.service-row__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); margin-bottom: 22px; }
[data-theme='dark'] .service-row__icon { color: #9fb0ff; }
.service-row__copy p { color: var(--ink-2); font-size: 1.08rem; }
.service-row__features { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.service-row__features li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.service-row__features .icon { color: var(--mint); flex: none; margin-top: 3px; }
.service-row__visual { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; place-items: center; min-height: 260px; }
.service-row__medallion { width: 100px; height: 100px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--mint)); color: #fff; }
.service-row__visual .viz { margin-top: 0; padding-top: 0; width: 100%; }
.service-row__visual .viz--ring { justify-content: center; }
.service-row__visual .viz--chips { justify-content: center; }

/* ---------- About page: stats, values, comparison ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 32px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.stat b { display: block; font: 800 clamp(2.1rem, 4vw, 2.9rem)/1 var(--font-display); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__suffix { color: var(--brand); }
[data-theme='dark'] .stat__suffix { color: #9fb0ff; }
.stat p { margin: 10px 0 0; color: var(--ink-2); font-size: .95rem; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.value__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); margin-bottom: 18px; }
[data-theme='dark'] .value__icon { color: #9fb0ff; }
.value h3 { margin-bottom: .4em; }
.value p { color: var(--ink-2); margin: 0; font-size: .97rem; }

.compare { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare__head, .compare__row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.compare__head > div, .compare__row > div { background: var(--surface); padding: 18px 22px; display: flex; gap: 10px; align-items: flex-start; }
.compare__head { font: 700 1rem var(--font-display); }
.compare__head > div:first-child { color: var(--ink-2); }
.compare__head > div:last-child { color: var(--brand); }
[data-theme='dark'] .compare__head > div:last-child { color: #9fb0ff; }
.compare__row { color: var(--ink-2); font-size: .97rem; }
.compare__row .icon { flex: none; margin-top: 3px; }
.compare__row > div:first-child .icon { color: #c23b3b; }
[data-theme='dark'] .compare__row > div:first-child .icon { color: #ff9b90; }
.compare__row > div:last-child .icon { color: var(--mint); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 18px; align-content: start; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.info-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); flex: none; }
[data-theme='dark'] .info-card__icon { color: #9fb0ff; }
.info-card h3 { margin: 0 0 .3em; font-size: 1.05rem; }
.info-card p { margin: 0; color: var(--ink-2); }
.info-card a { color: var(--ink) !important; font-weight: 600; text-decoration: none; }
.info-card a:hover { color: var(--brand) !important; }

.field select { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); }

/* ---------- Scroll reveal (progressive enhancement; content is visible without JS) ---------- */
.js-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
.err-code { font: 800 clamp(5rem, 14vw, 9rem)/1 var(--font-display); color: var(--brand); letter-spacing: -.06em; margin: 0 !important; }
.searchform { display: flex; align-items: center; gap: 10px; max-width: 520px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 16px; margin: 24px 0; }
.page-hero--center .searchform { margin-inline: auto; }
.searchform:focus-within { border-color: var(--brand); }
.searchform input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 8px 0; }
.searchform input:focus { outline: none; }
.searchform .icon { color: var(--ink-2); flex: none; }

/* ---------- Blog ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2) !important; font-weight: 500; font-size: .95rem; text-decoration: none; }
.pill:hover { border-color: var(--ink-2); color: var(--ink) !important; }
.pill.is-active { background: var(--ink); color: var(--bg) !important; border-color: var(--ink); }

.featured { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.featured__media { display: block; min-height: 340px; background: var(--surface-2); }
.featured__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.featured h2 a { color: var(--ink); text-decoration: none; }
.featured h2 a:hover { color: var(--brand); }
.featured p { color: var(--ink-2); }
.featured .meta { margin-bottom: 24px; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, var(--deep), var(--deep-2)); }
.card__ph svg { width: 56px; height: 56px; opacity: .9; }
.card__ph--lg svg { width: 96px; height: 96px; }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.card__title { font-size: 1.28rem; margin: 10px 0 .4em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--brand); }
.card__excerpt { color: var(--ink-2); font-size: .98rem; margin-bottom: 18px; }
.card .meta { margin: auto 0 0; }
.tag { display: inline-block; font-size: .82rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand) !important; text-decoration: none; }
[data-theme='dark'] .tag { color: #a9b7ff !important; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--ink-2); font-size: .88rem; margin: 0; }
.meta__sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.meta .icon { vertical-align: -2px; }
.empty { text-align: center; padding: 72px 24px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); background: var(--surface); }
.empty p { color: var(--ink-2); }

.pagination ul { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 0; margin: 56px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: block; min-width: 42px; text-align: center; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink) !important; text-decoration: none; }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff !important; }
.pagination a:hover { border-color: var(--ink-2); }

/* ---------- Single post ---------- */
.article__head { padding-block: clamp(40px, 6vw, 72px) 32px; }
.article__head h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin: 18px 0 24px; max-width: 20ch; }
.byline { display: flex; align-items: center; gap: 14px; }
.byline img { border-radius: 50%; }
.byline strong { display: block; line-height: 1.3; }
.article__cover img { width: 100%; border-radius: 24px; display: block; aspect-ratio: 2 / 1; object-fit: cover; }
.article__layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; justify-content: center; gap: 64px; padding-block: 56px 72px; }
.article__side { position: relative; }
.toc, .side-cta { position: sticky; top: calc(var(--header-h) + 24px); }
.toc[hidden] { display: none; }
.toc { border-left: 2px solid var(--line); padding-left: 20px; margin-bottom: 32px; position: static; }
.toc h2 { font: 700 .95rem var(--font-display); letter-spacing: 0; margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.toc a { display: block; color: var(--ink-2); font-size: .93rem; line-height: 1.4; padding: 5px 0; text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--brand); }
[data-theme='dark'] .toc a:hover, [data-theme='dark'] .toc a.is-active { color: #a9b7ff; }
.toc .is-sub a { padding-left: 14px; font-size: .88rem; }
.side-cta { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; position: sticky; }
.side-cta h2 { font-size: 1.15rem; }
.side-cta p { color: var(--ink-2); font-size: .95rem; }

.prose { font-size: 1.14rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-size: 1.85rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.9em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 88%, var(--bg)); }
.prose li + li { margin-top: .4em; }
.prose img, .prose figure { border-radius: 16px; }
.prose figcaption { color: var(--ink-2); font-size: .9rem; text-align: center; margin-top: 8px; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--brand); font: 500 1.35rem/1.5 var(--font-display); letter-spacing: -.015em; }
.prose blockquote p { color: var(--ink); }
.prose code { font-size: .88em; background: var(--surface-2); padding: 2px 7px; border-radius: 6px; }
.prose pre { background: var(--deep); color: #dfe4ff; padding: 20px 22px; border-radius: 14px; overflow-x: auto; font-size: .92rem; line-height: 1.65; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface-2); font-weight: 700; }
.prose .alignwide { max-width: 100%; }
.taglist { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.taglist a { display: block; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2) !important; font-size: .9rem; text-decoration: none; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 32px 0; padding-block: 20px; border-block: 1px solid var(--line); }
.share > span { font-weight: 700; margin-right: 6px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink) !important; font: 600 .92rem var(--font-body); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ink-2); }
.author-box { display: flex; gap: 20px; align-items: flex-start; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.author-box img { border-radius: 50%; flex: none; }
.author-box h2 { font-size: 1.2rem; margin-bottom: .2em; }
.author-box p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* Comments */
.comments { margin-top: 56px; }
.comments h2 { font-size: 1.6rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.comment-metadata { font-size: .85rem; }
.comment-metadata a { color: var(--ink-2); }
.comment-form { display: grid; gap: 14px; }
.comment-form input[type='text'], .comment-form input[type='email'], .comment-form input[type='url'], .comment-form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.comment-form input[type='submit'] { justify-self: start; background: var(--brand); color: #fff; font: 600 1rem var(--font-body); padding: 14px 24px; border: 0; border-radius: 12px; cursor: pointer; }

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor { display: block; }
.gallery { display: grid; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__title { max-width: 16ch; }
	.dash { transform: none; }
	.chip { left: 12px; }
	.bento__item--span-2 { grid-column: span 3; }
	.plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
	.plan--featured { transform: none; padding-block: 32px; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.article__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.article__side { order: -1; }
	.toc, .side-cta { position: static; }
	.side-cta { display: none; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.featured { grid-template-columns: 1fr; }
	.featured__media { min-height: 240px; aspect-ratio: 16 / 9; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.values { grid-template-columns: repeat(2, 1fr); }
	.service-row { grid-template-columns: 1fr; }
	.service-row__visual { order: -1; min-height: 200px; }
	.service-row--reverse .service-row__visual { order: -1; }
}

@media (max-width: 860px) {
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
	.split, .measure, .faq, .cta { grid-template-columns: 1fr; }
	.split__lead { position: static; }
	.contact-grid { grid-template-columns: 1fr; }
	.compare__head, .compare__row { grid-template-columns: 1fr; }
	.compare__row > div:first-child { border-bottom: 1px solid var(--line); }
	.nav-toggle { display: grid; }
	.header__cta { display: none; }
	.nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: var(--bg); padding: 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list, .nav ul { flex-direction: column; gap: 2px; }
	.nav a { font-size: 1.25rem; padding: 14px 8px; font-family: var(--font-display); color: var(--ink); }
	.nav__cta-mobile { display: inline-flex !important; margin-top: 20px; width: 100%; color: #fff !important; font-family: var(--font-body); font-size: 1rem !important; }
	.header__actions { margin-left: auto; }
}

@media (max-width: 640px) {
	.container { padding-inline: 18px; }
	.bento { grid-template-columns: 1fr; }
	.bento__item--span-3, .bento__item--span-2 { grid-column: auto; }
	.grid--3 { grid-template-columns: 1fr; }
	.audit-form { grid-template-columns: 1fr; }
	.measure__row { grid-template-columns: 1fr; gap: 6px; }
	.footer__grid { grid-template-columns: 1fr; }
	.dash__kpis b { font-size: 1.3rem; }
	.hero__actions .btn { flex: 1 1 100%; }
	.author-box { flex-direction: column; }
	.stats { grid-template-columns: 1fr; }
	.values { grid-template-columns: 1fr; }
	.page-hero--glow::before, .page-hero--glow::after { width: 300px; height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
