/*!
Theme Name: SaaS Link Building Agency
Theme URI: https://saaslinkbuildingagency.co/
Author: SaaSLBA
Description: A dependency-free custom theme for a premium SaaS link building & digital PR agency. No page builder, no SEO/form/schema plugins — all hand-coded. Built for Core Web Vitals, AEO/GEO, and founder-focused CRO. Design language inspired by the Geist / neon-lime "Temlis" system.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: saaslba
*/

/* ============================================================
   SELF-HOSTED FONTS (Geist variable — no render-blocking Google Fonts)
   ============================================================ */
@font-face {
	font-family: "Geist";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("assets/fonts/geist-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Geist Mono";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("assets/fonts/geist-mono-latin.woff2") format("woff2");
}

/* ============================================================
   DESIGN TOKENS  (Temlis-inspired: near-black olive + neon lime, Geist)
   ============================================================ */
:root {
	/* brand */
	--ink:        #101604;   /* near-black olive — primary text + dark surfaces */
	--ink-soft:   #1b2310;   /* slightly lifted dark surface */
	--neon:       #b7fe02;   /* signature accent — backgrounds/highlights only */
	--neon-700:   #a0e000;   /* neon hover */
	--olive:      #a0c347;   /* muted green */
	--body:       #2f3a22;   /* body text on light */
	--muted:      #5d6c7b;   /* secondary text */
	--muted-2:    #758696;
	--line:       #e7eadf;   /* hairline borders */
	--bg:         #ffffff;
	--bg-soft:    #f7f9f2;   /* warm off-white sections */
	--on-neon:    #101604;   /* text on neon */

	/* layout */
	--maxw:        1160px;
	--maxw-narrow: 780px;
	--radius:      16px;   /* cards */
	--radius-sm:   12px;
	--radius-lg:   28px;
	--pill:        999px;

	/* spacing scale (rem-ish, 8pt) */
	--space-1: 8px;  --space-2: 16px; --space-3: 24px;
	--space-4: 32px; --space-5: 48px; --space-6: 64px;
	--space-7: 96px; --space-8: 130px;

	/* type */
	--font:  "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--shadow: 0 1px 2px rgba(16,22,4,.04), 0 12px 32px rgba(16,22,4,.07);
	--shadow-sm: 0 1px 2px rgba(16,22,4,.05), 0 4px 14px rgba(16,22,4,.05);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	font-family: var(--font);
	color: var(--body);
	background: var(--bg);
	line-height: 1.6;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: "ss01";
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--body); }
h1, h2, h3, h4 {
	color: var(--ink); font-weight: 500; letter-spacing: -.03em; line-height: 1.07;
}
strong { color: var(--ink); font-weight: 600; }
ul, ol { padding-left: 1.2em; }

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

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-3); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--space-7); }
.section--alt { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.78); }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }

/* mono eyebrow */
.eyebrow {
	font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em;
	font-size: .72rem; font-weight: 500; color: var(--muted); margin-bottom: var(--space-2);
}
.eyebrow::before { content: "// "; color: var(--olive); }
.section--dark .eyebrow { color: var(--neon); }
.section--dark .eyebrow::before { color: var(--neon); }

.section-title { font-size: clamp(1.9rem, 4.5vw, 3.25rem); letter-spacing: -.035em; margin-bottom: var(--space-3); }
.lead { font-size: 1.18rem; color: var(--muted); margin-bottom: var(--space-3); }

/* ============================================================
   BUTTONS  (pill; primary = neon-lime with dark text)
   ============================================================ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--font); font-weight: 500; font-size: 1rem; line-height: 1;
	padding: 15px 26px; border-radius: var(--pill); border: 1.5px solid transparent;
	cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
	min-height: 46px; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--neon); color: var(--on-neon); }
.btn--primary:hover { background: var(--neon-700); color: var(--on-neon); box-shadow: 0 8px 24px rgba(183,254,2,.32); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section--dark .btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--space-3); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: var(--neon); box-shadow: inset 0 0 0 4px var(--ink); }
.brand-logo { height: 23px; width: auto; display: block; }
.footer-brand .brand-logo { height: 24px; margin-bottom: 4px; }
.brand-text { font-size: 1.05rem; letter-spacing: -.03em; }
.brand-text strong { color: var(--ink); }
.site-nav { margin-left: auto; }
.nav-menu { display: flex; gap: var(--space-3); list-style: none; padding: 0; margin: 0; }
.nav-menu a { color: var(--body); font-weight: 400; font-size: .97rem; }
.nav-menu a:hover { color: var(--ink); }
.header-cta { padding: 11px 20px; min-height: 42px; }
.nav-toggle { display: none; }

@media (max-width: 980px) {
	.header-cta { display: none; }
	.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
	.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
	.nav-toggle-bar { position: relative; }
	.nav-toggle-bar::before { position: absolute; top: -7px; }
	.nav-toggle-bar::after  { position: absolute; top: 7px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-7px) rotate(-45deg); }
	.site-nav { position: absolute; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .25s ease; margin: 0; }
	.site-nav.is-open { max-height: 80vh; }
	.nav-menu { flex-direction: column; gap: 0; padding: var(--space-2); }
	.nav-menu li { border-bottom: 1px solid var(--line); }
	.nav-menu a { display: block; padding: 14px 6px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: var(--space-8) var(--space-5); background:
	radial-gradient(70% 60% at 50% -20%, rgba(183,254,2,.14), transparent 60%), var(--bg); }
.hero-inner { max-width: 900px; margin-inline: auto; text-align: center; }
.hero-title { font-size: clamp(2.4rem, 6.5vw, 4.6rem); letter-spacing: -.045em; line-height: 1.02; margin-bottom: var(--space-3); font-weight: 500; }
.hero-title em { font-style: normal; background: linear-gradient(180deg, transparent 62%, var(--neon) 62%); padding: 0 .08em; }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 660px; margin: 0 auto var(--space-4); }
.hero-cta { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; }
.hero-micro { margin-top: var(--space-3); color: var(--muted); font-size: .92rem; font-family: var(--mono); }

/* hero two-column + product snapshot visual */
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: var(--space-6); align-items: center; }
.hero-copy { text-align: left; }
.hero-copy .hero-title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.hero-copy .hero-sub { margin-inline: 0; }
.hero-copy .hero-cta, .hero-copy .feature-pills { justify-content: flex-start; }
.hero-copy .hero-micro { text-align: left; }
.hero-visual { display: flex; justify-content: center; }
.snap {
	width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--line);
	border-radius: 20px; padding: var(--space-4);
	box-shadow: 0 32px 64px -28px rgba(16,22,4,.30), 0 10px 24px rgba(16,22,4,.06);
}
.snap-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.snap-title { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.snap-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .72rem; color: var(--ink); }
.snap-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 3px rgba(183,254,2,.3); }
.snap-chart { width: 100%; height: auto; display: block; }
.snap-legend { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-top: 10px; letter-spacing: .01em; }
.snap-cited { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.sc-label { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: block; margin-bottom: 10px; }
.snap-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.snap-chips .chip { font-family: var(--mono); font-size: .72rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; color: var(--ink); }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; gap: var(--space-5); }
	.hero-copy { text-align: center; }
	.hero-copy .hero-sub { margin-inline: auto; }
	.hero-copy .hero-cta, .hero-copy .feature-pills, .hero-copy .hero-micro { justify-content: center; text-align: center; }
	.hero-visual { order: 2; }
}

/* card icons */
.card-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: var(--space-3); color: var(--ink); transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.card-icon svg { width: 23px; height: 23px; }
.card:hover .card-icon, .feature:hover .card-icon { background: var(--neon); border-color: var(--neon); }

/* split section (heading/intro left, content right) */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--space-6); align-items: start; }
.split-aside .section-title { margin-bottom: var(--space-2); }
.split-aside .lead { margin-bottom: 0; }
.pain-rows { display: grid; gap: 12px; }
.pain-row { display: flex; gap: 14px; align-items: flex-start; padding: var(--space-3); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s ease, box-shadow .18s ease; }
.pain-row:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.pain-row .pr-x { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.pain-row p { margin: 0; color: var(--body); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: var(--space-4); } }

/* engine chips row (AI section) */
.engine-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-4); }
.engine-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .82rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; }
.engine-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 3px rgba(183,254,2,.22); }

/* card depth polish */
.card, .feature, .testimonial { box-shadow: 0 1px 2px rgba(16,22,4,.04); }

/* animated logo marquee */
.logo-marquee { overflow: hidden; margin-top: var(--space-3); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; gap: var(--space-4); width: max-content; animation: saaslba-marquee 34s linear infinite; }
.logo-track:hover { animation-play-state: paused; }
@keyframes saaslba-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* outcome mini-cards (intro) */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
.outcome { display: flex; gap: 14px; align-items: flex-start; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.outcome .card-icon { margin: 0; width: 42px; height: 42px; }
.outcome h3 { font-size: 1rem; margin: 0 0 3px; font-weight: 600; }
.outcome p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .outcomes { grid-template-columns: 1fr; } }

/* bento grid (why choose) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
.bento-cell { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow-sm); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.bento-cell:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: var(--shadow); }
.bento-cell h3 { font-size: 1.1rem; margin-bottom: 6px; font-weight: 600; }
.bento-cell p { color: var(--muted); margin: 0; }
.bento-cell--feature { grid-column: span 2; grid-row: span 2; background: var(--ink); color: rgba(255,255,255,.78); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4); position: relative; overflow: hidden; }
.bento-cell--feature::after { content: ""; position: absolute; right: -20%; top: -30%; width: 60%; height: 75%; background: radial-gradient(circle, rgba(183,254,2,.22), transparent 70%); pointer-events: none; }
.bento-cell--feature > * { position: relative; z-index: 1; }
.bento-cell--feature .bento-tag { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--neon); }
.bento-cell--feature h3 { color: #fff; font-size: 1.6rem; letter-spacing: -.02em; }
.bento-cell--feature p { color: rgba(255,255,255,.72); font-size: 1.02rem; }
.bento-cell .card-icon { margin-bottom: var(--space-3); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento-cell--feature { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento-cell--feature { grid-column: auto; } }

/* founder card */
.founder-card { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow); }
.founder-avatar { width: 88px; height: 88px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: .64rem; text-align: center; line-height: 1.3; }
.founder-card blockquote { margin: 0 0 10px; color: var(--ink); font-size: 1.05rem; line-height: 1.5; }
.founder-meta { color: var(--muted); font-size: .92rem; }
.founder-meta strong { color: var(--ink); }
.cred-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cred-chips span { font-family: var(--mono); font-size: .72rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; color: var(--ink); }
@media (max-width: 560px) { .founder-card { grid-template-columns: 1fr; text-align: center; } .founder-avatar { margin: 0 auto; } .cred-chips { justify-content: center; } }

/* feature pills */
.feature-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: var(--space-5); }
.feature-pills .pill {
	font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; color: var(--ink);
	background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--pill);
	padding: 9px 16px; display: inline-flex; align-items: center; gap: 7px;
}
.feature-pills .pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 3px rgba(183,254,2,.25); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { padding-block: var(--space-4); border-block: 1px solid var(--line); background: var(--bg-soft); }
.trust-label { text-align: center; color: var(--muted); font-size: .82rem; letter-spacing: .04em; margin-bottom: var(--space-3); font-family: var(--mono); }
.logo-row { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; align-items: center; list-style: none; padding: 0; margin: 0; }
.logo-ph { width: 110px; height: 34px; border-radius: 8px; background: #fff; border: 1px dashed var(--line); display: grid; place-items: center; color: var(--muted-2); font-size: .8rem; font-family: var(--mono); }

/* ============================================================
   CONTENT BLOCKS
   ============================================================ */
.answer-block {
	background: var(--bg-soft); border-left: 3px solid var(--neon);
	padding: var(--space-3) var(--space-4); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-size: 1.12rem; color: var(--ink); margin-block: var(--space-3);
}
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; font-weight: 700; color: var(--on-neon); width: 22px; height: 22px; border-radius: 50%; background: var(--neon); display: grid; place-items: center; font-size: .78rem; }
.check-list--x li::before { content: "✕"; color: #fff; background: var(--ink); }

/* comparison table */
.compare { overflow-x: auto; margin-top: var(--space-3); border-radius: var(--radius); border: 1px solid var(--line); }
.compare table { width: 100%; border-collapse: collapse; min-width: 480px; }
.compare th, .compare td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--ink); color: rgba(255,255,255,.7); font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.compare thead th:last-child { color: var(--neon); }
.compare tbody td:first-child { color: var(--muted); }
.compare tbody td:last-child { color: var(--ink); font-weight: 600; }

/* framework — premium dark panel with a connected neon "system" stepper */
.fw-panel {
	position: relative; overflow: hidden;
	background: var(--ink); color: rgba(255,255,255,.7);
	border-radius: var(--radius-lg);
	padding: clamp(2.25rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
	text-align: center;
}
.fw-panel::before {
	content: ""; position: absolute; inset: -45% 0 auto 0; height: 80%;
	background: radial-gradient(50% 100% at 50% 0%, rgba(183,254,2,.18), transparent 70%);
	pointer-events: none;
}
.fw-panel > * { position: relative; z-index: 1; }
.fw-panel .eyebrow, .fw-panel .eyebrow::before { color: var(--neon); }
.fw-panel h2 { color: #fff; }
.fw-panel .lead { color: rgba(255,255,255,.62); max-width: 640px; margin-inline: auto; }

.framework2 {
	list-style: none; padding: 0; margin: var(--space-6) 0 var(--space-5);
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; text-align: left;
}
.fw-step { display: flex; flex-direction: column; }
.fw-top { display: flex; align-items: center; margin-bottom: var(--space-3); }
.fw-num {
	flex: none; width: 48px; height: 48px; border-radius: 50%;
	background: var(--neon); color: var(--on-neon);
	font-family: var(--mono); font-size: .98rem; font-weight: 500;
	display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(183,254,2,.12);
}
.fw-line { flex: 1; height: 2px; margin-left: 10px; background: linear-gradient(90deg, var(--neon), rgba(255,255,255,.16)); }
.fw-step:last-child .fw-line { display: none; }
.fw-body { padding-right: var(--space-3); }
.fw-body h3 { color: #fff; font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -.02em; }
.fw-body p { color: rgba(255,255,255,.58); font-size: .92rem; line-height: 1.55; margin: 0; }
.fw-panel .btn { margin-top: var(--space-2); }

@media (max-width: 900px) {
	.framework2 { grid-template-columns: 1fr; margin-block: var(--space-4); }
	.fw-step { flex-direction: row; gap: var(--space-3); padding-bottom: var(--space-4); }
	.fw-step:last-child { padding-bottom: 0; }
	.fw-top { flex-direction: column; align-items: center; margin: 0; align-self: stretch; }
	.fw-line { width: 2px; height: auto; flex: 1; min-height: 26px; margin: 10px 0 0; background: linear-gradient(180deg, var(--neon), rgba(255,255,255,.16)); }
	.fw-body { padding-right: 0; padding-top: 4px; }
}

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: var(--space-3); margin-top: var(--space-4); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid--3 { grid-template-columns: 1fr; } }
/* breathing room between the deliverables grid and its CTA button */
.service-lp .card-grid + .center { margin-top: var(--space-4); }
.card { display: block; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow); }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; font-weight: 600; }
.card p { color: var(--muted); margin-bottom: 14px; }
.card-link { font-family: var(--mono); color: var(--ink); font-weight: 500; font-size: .85rem; letter-spacing: .02em; }
.card:hover .card-link { color: var(--ink); }
.card--plain { cursor: default; }
.card--plain:hover { transform: none; border-color: var(--line); box-shadow: 0 1px 2px rgba(16,22,4,.04); }
.card-grid--plain .feature { padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; font-weight: 600; }
.feature p { color: var(--muted); margin: 0; }

/* stats row */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: var(--space-3); margin-block: var(--space-4); }
.stat { padding: var(--space-3) 0; }
.stat-n { display: block; font-family: var(--mono); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.section--dark .stat-n { color: var(--neon); }
.stat-l { color: var(--muted); font-size: .95rem; margin-top: 8px; display: block; }
.section--dark .stat-l { color: rgba(255,255,255,.65); }

/* metrics (dark) */
.metric-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: var(--space-3); margin-block: var(--space-4); }
.metric { text-align: center; padding: var(--space-4); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: var(--ink-soft); }
.metric-n { display: block; font-family: var(--mono); font-size: 2.4rem; font-weight: 500; color: var(--neon); letter-spacing: -.03em; }
.metric--kpi .metric-n { font-size: 1.5rem; letter-spacing: -.02em; }
.metric--kpi { text-align: left; }
.metric-l { color: rgba(255,255,255,.65); font-size: .95rem; }
.proof-note { color: rgba(255,255,255,.4); font-size: .82rem; margin-bottom: var(--space-4); font-family: var(--mono); }

/* who for / not for */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-4); }
.fit { padding: var(--space-5); border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.fit--yes { background: var(--bg-soft); border-color: var(--olive); }
.fit--no { }
.fit h3 { margin-bottom: var(--space-3); font-weight: 600; }
@media (max-width: 720px) { .fit-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-top: var(--space-4); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .18s ease; }
.faq-item[open] { border-color: var(--ink); }
.faq-item summary { cursor: pointer; padding: 22px var(--space-4); font-weight: 600; color: var(--ink); font-size: 1.08rem; list-style: none; position: relative; padding-right: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--ink); transition: transform .2s ease; font-weight: 400; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 var(--space-4) 22px; }
.faq-answer p { color: var(--muted); margin: 0; }

/* testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-3); margin: var(--space-4) 0; }
.testimonial { margin: 0; padding: var(--space-4); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.testimonial blockquote { margin: 0 0 var(--space-3); font-size: 1.08rem; color: var(--ink); line-height: 1.5; }
.testimonial blockquote::before { content: "\201C"; color: var(--neon); font-size: 2rem; line-height: 0; vertical-align: -.35em; margin-right: 4px; }
.testimonial figcaption { color: var(--muted); font-size: .92rem; }
.testimonial figcaption strong { color: var(--ink); }

/* long-form SEO content — premium two-column guide */
.guide { display: grid; grid-template-columns: .82fr 1.18fr; gap: var(--space-6); align-items: start; }
.guide-rail { position: sticky; top: 96px; }
.guide-rail .section-title { margin-bottom: var(--space-2); }
.guide-rail .lead { font-size: 1.02rem; margin-bottom: var(--space-3); }
.guide-toc { display: grid; gap: 1px; border-left: 2px solid var(--line); }
.guide-toc a { display: flex; align-items: baseline; gap: 10px; padding: 9px 16px; color: var(--muted); font-size: .92rem; border-left: 2px solid transparent; margin-left: -2px; transition: color .15s ease, border-color .15s ease; }
.guide-toc a:hover { color: var(--ink); border-left-color: var(--neon); }
.guide-toc a .toc-n { font-family: var(--mono); font-size: .72rem; color: var(--olive); }
.guide-body { display: grid; gap: 0; }
.qa-item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); padding: var(--space-4) 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.qa-item:first-child { border-top: 0; padding-top: 0; }
.qa-num { font-family: var(--mono); font-size: .82rem; color: var(--on-neon); background: var(--neon); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.qa-item h3 { font-size: 1.22rem; margin-bottom: 8px; font-weight: 600; letter-spacing: -.02em; }
.qa-item p { color: var(--body); margin: 0; }
.qa-item p + p { margin-top: var(--space-2); }
.qa-item a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--neon); text-decoration-thickness: 2px; }
@media (max-width: 860px) {
	.guide { grid-template-columns: 1fr; gap: var(--space-4); }
	.guide-rail { position: static; }
	.guide-toc { display: none; }
	.qa-item { grid-template-columns: auto 1fr; }
}

/* pricing plan cards */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-5); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow-sm); }
.plan--featured { border: 2px solid var(--ink); box-shadow: var(--shadow); position: relative; }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--neon); color: var(--on-neon); font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 13px; border-radius: 999px; white-space: nowrap; }
.plan-name { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan-price { font-size: 2.6rem; font-weight: 600; letter-spacing: -.04em; color: var(--ink); margin-top: 8px; line-height: 1; }
.plan-price .per { font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan-for { color: var(--muted); font-size: .92rem; margin: 12px 0 var(--space-3); }
.plan-features { list-style: none; padding: 0; display: grid; gap: 11px; margin: 0 0 var(--space-4); flex: 1; }
.plan-features li { position: relative; padding-left: 28px; font-size: .94rem; line-height: 1.45; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--on-neon); background: var(--neon); width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; }
.plan-features li.muted { color: var(--muted); }
.plan-features li.muted::before { content: "+"; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.plan .btn { width: 100%; }
.plan-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: var(--space-3); font-family: var(--mono); }
.pricing-enterprise { margin-top: var(--space-3); background: var(--ink); color: rgba(255,255,255,.78); border-radius: var(--radius); padding: var(--space-4) var(--space-5); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.pricing-enterprise h3 { color: #fff; font-size: 1.25rem; margin-bottom: 4px; }
.pricing-enterprise p { color: rgba(255,255,255,.7); font-size: .95rem; margin: 0; }
.pricing-enterprise .btn { flex: none; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } .pricing-enterprise { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   FREE TOOLS — modern 2-panel calculator UI
   ============================================================ */
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow); margin-block: var(--space-5); }
/* 4 calculators: inputs (left) + a dark results panel (right) */
.tool:has(.tool-results) { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 36%, 360px); gap: var(--space-4); align-items: start; }
.tool:has(.tool-results) > .tool-note { grid-column: 1 / -1; }

.tool-grid { display: grid; gap: var(--space-2); }
.tool-grid::before { content: "Your inputs"; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }
.tool-field { display: flex; flex-direction: column; gap: 7px; }
.tool-field span { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.tool-field input, .tool-field select, .tool-field textarea { padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; width: 100%; }
.tool-field input:focus, .tool-field select:focus, .tool-field textarea:focus { border-color: var(--ink); background: #fff; outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--neon) 38%, transparent); }
.tool-field textarea { min-height: 110px; resize: vertical; }

/* dark results panel — numbers glow neon */
.tool-results { display: flex; flex-direction: column; background: var(--ink); border-radius: var(--radius); padding: var(--space-3) var(--space-3) calc(var(--space-3) - 4px); position: sticky; top: 88px; }
.tool-results::before { content: "Results"; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--neon); margin-bottom: 6px; }
.tool-stat { text-align: left; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); background: none; }
.tool-stat:last-child { border-bottom: 0; }
.tool-stat-n { display: block; font-family: var(--mono); font-size: 1.7rem; font-weight: 500; color: var(--neon); letter-spacing: -.03em; line-height: 1.1; }
.tool-stat-l { font-size: .78rem; color: rgba(255,255,255,.62); }
.tool-note { margin-top: var(--space-3); font-size: .88rem; color: var(--muted); line-height: 1.6; }
.tool-note strong { color: var(--ink); }
@media (max-width: 720px) { .tool:has(.tool-results) { grid-template-columns: 1fr; } .tool-results { position: static; } }

/* anchor + budget bar rows (inside the dark results panel) */
.anc-row, .bud-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin-bottom: 13px; font-size: .9rem; }
.anc-label, .bud-label { grid-column: 1 / -1; color: rgba(255,255,255,.85); }
.anc-track, .bud-track { grid-column: 1; align-self: center; height: 9px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.anc-fill, .bud-fill { display: block; height: 100%; background: var(--neon); border-radius: 999px; transition: width .25s ease; }
.anc-fill.is-bad { background: #ff6b57; }
.anc-pct, .bud-amt { grid-column: 2; align-self: center; font-family: var(--mono); font-size: .8rem; color: var(--neon); white-space: nowrap; }

/* audit checklist — modern scorecard */
.tool:has(.audit-bar) { padding-top: var(--space-3); }
.audit-score { display: flex; align-items: baseline; gap: 12px; margin-bottom: var(--space-2); }
.audit-score-n { font-family: var(--mono); font-size: 3rem; font-weight: 500; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.audit-bar { height: 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-bottom: var(--space-4); }
.audit-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--olive), var(--neon)); transition: width .3s ease; }
.audit-group { margin-top: var(--space-3); background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.audit-group h3 { font-size: 1rem; margin-bottom: 6px; }
.audit-item { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; font-size: .94rem; color: var(--body); cursor: pointer; border-top: 1px solid var(--line); }
.audit-item:first-of-type { border-top: 0; }
.audit-item input { margin-top: 2px; accent-color: var(--neon); width: 18px; height: 18px; flex: none; }

/* tools hub — modern tool cards */
.tools-hub .card-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.tools-hub .card { position: relative; padding: var(--space-4); border-radius: var(--radius); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; overflow: hidden; }
.tools-hub .card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.tools-hub .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--olive); }
.tools-hub .card:hover::before { transform: scaleX(1); }
.tools-hub .card .card-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); margin-bottom: var(--space-2); }
.tools-hub .card .card-icon svg { width: 21px; height: 21px; }
.tools-hub .card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tools-hub .card .card-link { color: var(--ink); font-family: var(--mono); font-size: .8rem; margin-top: var(--space-2); display: inline-block; }
/* hub page: full-width container, readable text width, but a full-width tool grid */
.article-prose.tools-page-body { max-width: none; }
.tools-page-body > * { max-width: var(--maxw-narrow); margin-inline: auto; }
.tools-page-body > .tools-hub { max-width: none; margin-block: var(--space-2) var(--space-6); }
.tools-hub .card, .tools-hub .card h3, .tools-hub .card p { text-decoration: none; }

/* CTA band */
.cta-band { background: var(--ink); color: rgba(255,255,255,.78); border: 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: auto 0 -40% 0; height: 80%; background: radial-gradient(50% 100% at 50% 100%, rgba(183,254,2,.16), transparent 70%); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.7); }
.cta-band .btn { margin-top: var(--space-2); }
.cta-band .form-micro { color: rgba(255,255,255,.55); }

/* ============================================================
   PAGES / PROSE / SERVICE / CONTACT
   ============================================================ */
.page-head { padding-block: var(--space-6) var(--space-3); }
.page-title { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 500; letter-spacing: -.04em; }
.prose { padding-block: var(--space-4); color: var(--body); }
.prose > * + * { margin-top: var(--space-3); }
.prose p { line-height: 1.75; }
.prose > p:first-of-type { font-size: 1.1rem; color: var(--ink); }
/* article body leads with the AEO answer, styled as a callout (once, no hero dup) */
.article-prose > p:first-of-type { background: var(--bg-soft); border-left: 3px solid var(--neon); padding: var(--space-3) var(--space-4); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.14rem; color: var(--ink); margin-bottom: var(--space-4); }
.article-prose > p:first-of-type strong { color: var(--ink); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; margin-top: var(--space-6); margin-bottom: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--line); }
.prose > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: var(--space-4); margin-bottom: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--neon); text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-thickness: 3px; }

/* prose lists */
.prose ul { list-style: none; padding-left: 0; display: grid; gap: 11px; }
.prose ul li { position: relative; padding-left: 26px; line-height: 1.7; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--neon); }
.prose ol { list-style: none; counter-reset: pli; padding-left: 0; display: grid; gap: 14px; }
.prose ol > li { counter-increment: pli; position: relative; padding-left: 44px; line-height: 1.7; min-height: 28px; }
.prose ol > li::before { content: counter(pli, decimal-leading-zero); position: absolute; left: 0; top: 1px; width: 30px; height: 28px; border-radius: 8px; background: var(--neon); color: var(--on-neon); font-family: var(--mono); font-size: .78rem; display: grid; place-items: center; }

/* prose tables → premium */
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin-block: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .96rem; }
.prose thead th { background: var(--ink); color: rgba(255,255,255,.85); text-align: left; padding: 13px 16px; font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
.prose thead th:last-child { color: var(--neon); }
.prose tbody td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: var(--bg-soft); }
.prose tbody td:first-child { color: var(--muted); }

/* two-column article layout (sticky TOC + CTA) */
.article { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-6); align-items: start; padding-top: var(--space-3); }
.article-aside { position: sticky; top: 88px; display: grid; gap: var(--space-4); }
.article-toc { border-left: 2px solid var(--line); }
.article-toc-title { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; padding-left: 16px; }
.article-toc a { display: block; padding: 7px 16px; color: var(--muted); font-size: .88rem; border-left: 2px solid transparent; margin-left: -2px; line-height: 1.35; transition: color .15s ease, border-color .15s ease; }
.article-toc a:hover, .article-toc a.is-active { color: var(--ink); border-left-color: var(--neon); }
.aside-cta { background: var(--ink); color: rgba(255,255,255,.78); border-radius: var(--radius); padding: var(--space-4); }
.aside-cta .eyebrow, .aside-cta .eyebrow::before { color: var(--neon); }
.aside-cta h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.aside-cta p { font-size: .92rem; color: rgba(255,255,255,.7); margin-bottom: var(--space-3); }
.aside-cta .btn { width: 100%; }
.article-prose { max-width: 760px; }
@media (max-width: 920px) {
	.article { grid-template-columns: 1fr; gap: var(--space-3); }
	.article-aside { position: static; order: 2; }
	.article-toc { display: none; }
	.article-prose { max-width: none; }
}

/* service landing-page hero (two-column) */
.service-hero { padding-block: var(--space-7) var(--space-5); background: radial-gradient(75% 70% at 78% -10%, rgba(183,254,2,.15), transparent 62%); }
.service-hero .hero-grid { align-items: center; }
.service-hero .hero-title { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: var(--space-3); }
.hero-trust { display: flex; align-items: center; gap: 10px; margin-top: var(--space-3); color: var(--muted); font-size: .92rem; }
.hero-trust::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 3px rgba(183,254,2,.25); flex: none; }
@media (max-width: 900px) { .service-hero { text-align: center; } }

.post-meta { color: var(--muted); font-size: .92rem; margin-bottom: var(--space-3); font-family: var(--mono); }
.post-cover { border-radius: var(--radius); margin-block: var(--space-3); }

/* blog grid */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: var(--space-4); padding-block: var(--space-4); }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-img img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card-body { padding: var(--space-3); display: flex; flex-direction: column; gap: 8px; }
.post-card-body h2 { font-size: 1.2rem; font-weight: 600; }
.post-card-body p { color: var(--muted); font-size: .96rem; }
.pagination { padding-block: var(--space-4); display: flex; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; margin: 0 4px; }
.pagination .current { background: var(--neon); color: var(--on-neon); border-color: var(--neon); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-6); align-items: start; }
.contact-points { margin-block: var(--space-3); }
.contact-reassure { color: var(--muted); font-size: .95rem; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--shadow); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-4); } }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-3); }
.field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: .9rem; color: var(--ink); font-family: var(--mono); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.form-micro { color: var(--muted); font-size: .88rem; margin-top: 10px; font-family: var(--mono); }
.form-notice { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: var(--space-3); font-weight: 500; }
.form-notice--ok { background: var(--neon); color: var(--on-neon); }
.form-notice--err { background: var(--ink); color: #fff; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* breadcrumbs */
.breadcrumbs { padding-block: var(--space-3) 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; font-size: .82rem; color: var(--muted); font-family: var(--mono); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--olive); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding-block: var(--space-6) var(--space-4); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr 1fr; gap: var(--space-4); }
.site-footer .brand-text { color: #fff; }
.footer-brand p { margin-block: var(--space-2) var(--space-3); font-size: .95rem; }
.footer-col h3 { color: #fff; font-size: .78rem; margin-bottom: var(--space-2); font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .94rem; }
.footer-col a:hover { color: var(--neon); }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; font-family: var(--mono); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FLOATING CTA (site-wide; desktop pill + mobile action bar)
   ============================================================ */
.float-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; justify-content: center; padding: 0 var(--space-3) var(--space-3); pointer-events: none; }
.float-cta-inner { pointer-events: auto; display: flex; align-items: center; gap: var(--space-2); max-width: 430px; background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 12px 14px 12px var(--space-3); box-shadow: 0 10px 44px rgba(16,22,4,.34); }
.float-cta-copy { min-width: 0; }
.float-cta-kicker { margin: 0 0 2px; font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--neon); }
.float-cta-line { margin: 0; font-size: .96rem; font-weight: 500; line-height: 1.2; color: #fff; }
.float-cta-btn { flex-shrink: 0; white-space: nowrap; }
.float-cta-close { flex-shrink: 0; background: transparent; border: 0; color: rgba(255,255,255,.5); font-size: 1.5rem; line-height: 1; padding: 0 2px; cursor: pointer; transition: color .15s ease; }
.float-cta-close:hover { color: #fff; }

/* JS-managed reveal (no-JS users still see it, always visible) */
.float-cta--managed { transform: translateY(160%); opacity: 0; transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .3s ease; }
.float-cta--managed.is-visible { transform: translateY(0); opacity: 1; }

@media (max-width: 600px) {
	.float-cta { padding: 0; }
	.float-cta-inner { width: 100%; max-width: none; gap: var(--space-1); border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
	.float-cta-kicker { display: none; }
	.float-cta-copy { flex: 1; }
	.float-cta-line { font-size: .9rem; }
	.float-cta-btn { padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.float-cta--managed { transition: opacity .2s ease; transform: none; }
}

/* ============================================================
   AUTHOR BOX (E-E-A-T byline card)
   ============================================================ */
.author-box { display: flex; gap: var(--space-3); align-items: flex-start; margin-top: var(--space-5); padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2, #fff); box-shadow: var(--shadow-sm); }
.author-box-photo { flex-shrink: 0; width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid var(--neon); }
.author-box-kicker { margin: 0 0 4px; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.author-box-name { margin: 0 0 8px; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.author-box-title { font-weight: 400; color: var(--muted); font-size: .95rem; }
.author-box-bio { margin: 0 0 10px; font-size: .95rem; color: var(--ink); line-height: 1.6; }
.author-box-link { font-family: var(--mono); font-size: .82rem; font-weight: 500; color: var(--ink); border-bottom: 2px solid var(--neon); padding-bottom: 1px; }
.author-box-link:hover { color: var(--neon-700, var(--ink)); }
@media (max-width: 520px) { .author-box { flex-direction: column; gap: var(--space-2); } .author-box-photo { width: 64px; height: 64px; } }

/* ============================================================
   IN-CONTENT TABLES (comparison / data tables across all pages) + diagram
   ============================================================ */
.article-prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: var(--space-4) 0; font-size: .95rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.article-prose th, .article-prose td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
.article-prose thead th { background: var(--ink); color: #fff; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.article-prose tbody td:first-child { font-weight: 600; color: var(--ink); }
.article-prose tbody tr:last-child td { border-bottom: 0; }
.cmp-note { font-size: .85rem; color: var(--muted); margin-top: calc(-1 * var(--space-2)); margin-bottom: var(--space-4); }

/* Inline SVG framework diagram */
.diagram { margin: var(--space-4) 0; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: var(--space-2); text-align: center; }

/* ============================================================
   NAV DROPDOWNS (mega-menu: desktop hover, mobile accordion)
   ============================================================ */
.nav-item { position: relative; }
.nav-item--has-sub > a::after { content: "▾"; margin-left: 5px; font-size: .7em; color: var(--muted); position: relative; top: -1px; }
.sub-toggle { display: none; }
.sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: calc(100% - 6px); left: 0; min-width: 230px; z-index: 200;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item--has-sub:hover > .sub-menu,
.nav-item--has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li { margin: 0; }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 9px; font-size: .94rem; color: var(--body); white-space: nowrap; }
.sub-menu a:hover { background: var(--bg-soft); color: var(--ink); }

@media (max-width: 980px) {
	.nav-item--has-sub { display: flex; flex-wrap: wrap; align-items: center; }
	.nav-item--has-sub > a { flex: 1; }
	.nav-item--has-sub > a::after { display: none; }
	.sub-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 40px; height: 40px; background: none; border: 0; cursor: pointer; color: var(--ink);
	}
	.sub-toggle::after { content: "▾"; transition: transform .2s ease; }
	.nav-item--has-sub.is-open > .sub-toggle::after { transform: rotate(180deg); }
	.sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; transition: none;
		display: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0;
	}
	.nav-item--has-sub.is-open > .sub-menu { display: block; }
}

/* ============================================================
   PER-SERVICE HERO VISUALS + green-family accent (--svc)
   ============================================================ */
.service-lp .eyebrow::before { color: var(--svc, var(--olive)); }
.hero-mock { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3); box-shadow: var(--shadow); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--svc); flex: none; }
.mock-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-tag { margin-left: auto; flex: none; background: color-mix(in srgb, var(--svc) 22%, #fff); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-size: .66rem; font-family: var(--mono); }
.mock-tag--mute { background: var(--bg-soft); color: var(--muted); }
.mock-headline { font-size: 1.16rem; line-height: 1.25; margin: 0 0 8px; color: var(--ink); }
.mock-byline { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin: 0 0 14px; }
.mock-text { font-size: .92rem; color: var(--body); margin: 0 0 16px; line-height: 1.55; }
.mock-link { color: var(--ink); font-weight: 600; box-shadow: inset 0 -.5em 0 color-mix(in srgb, var(--svc) 45%, #fff); }
.mock-link--new { background: color-mix(in srgb, var(--svc) 32%, #fff); box-shadow: none; border-radius: 5px; padding: 1px 5px; }
.mock-foot { display: block; font-family: var(--mono); font-size: .7rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.mock-foot--accent { color: var(--ink); }
.mock-foot--accent::before { content: "\2713  "; color: color-mix(in srgb, var(--svc) 70%, var(--ink)); font-weight: 700; }
/* niche edits */
.mock-lines { display: grid; gap: 11px; margin-bottom: 16px; }
.mock-line { height: 11px; border-radius: 6px; background: var(--bg-soft); }
.mock-line.w70 { width: 70%; }
.mock-line--text { height: auto; background: none; font-size: .9rem; color: var(--body); line-height: 1.5; }
/* brand mention */
.mock-row { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--radius-sm); }
.mock-row p { margin: 0; font-size: .9rem; color: var(--body); }
.mock-row--before { background: var(--bg-soft); }
.mock-row--after { background: color-mix(in srgb, var(--svc) 13%, #fff); }
.mock-row .mock-tag { margin-left: 0; align-self: flex-start; }
.mock-arrow { text-align: center; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 9px 0; }
/* PR press */
.mock-ey { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: color-mix(in srgb, var(--svc) 75%, var(--ink)); }
.mock-press .mock-headline { margin-top: 10px; }
.mock-outlets { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.mock-outlets span { font-family: var(--mono); font-size: .7rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--ink); }
/* forum thread */
.mock-q { font-weight: 600; color: var(--ink); margin: 0 0 14px; font-size: 1rem; }
.mock-reply { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.mock-av { width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--svc) 40%, #fff); flex: none; }
.mock-reply p { margin: 0; font-size: .9rem; color: var(--body); line-height: 1.5; }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 95;
	width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff;
	display: grid; place-items: center;
	box-shadow: 0 6px 20px rgba(37,211,102,.45);
	transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover { transform: scale(1.07); color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.55); }
.wa-float svg { width: 30px; height: 30px; }
/* lift above the floating CTA bar on mobile */
@media (max-width: 600px) { .wa-float { right: 16px; bottom: 88px; width: 52px; height: 52px; } .wa-float svg { width: 28px; height: 28px; } }

/* industry hero authority-signals mock */
.mock-industry .mi-lead { font-size: .92rem; color: var(--body); margin: 0 0 14px; line-height: 1.5; }
.mi-signals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mi-sig { font-size: .82rem; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; display: flex; align-items: center; gap: 7px; line-height: 1.25; }
.mi-sig::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--svc); flex: none; }
@media (max-width: 420px) { .mi-signals { grid-template-columns: 1fr; } }
