/* Clientlume theme — minimal, light, logo colours only (navy #0B1220, white, sky #0EA5E9). No frameworks. */
/* Inter variable, self-hosted (OFL) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--ink: #0b1220;
	--text: #2b3240;
	--muted: #6b7280;
	--line: #e7e8ec;
	--line-2: #d6d8de;
	--bg: #ffffff;
	--alt: #f6f6f4;
	--accent: #0ea5e9;
	--accent-ink: #0369a1;
	--accent-soft: #e0f2fe;
	--ok: #15803d;
	--err: #b91c1c;
	--warn: #b45309;
	--radius: 16px;
	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1240px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--text); background: var(--bg); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.055em; font-weight: 600; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.045em; }
h3 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 1em; }
::selection { background: var(--ink); color: #fff; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); font-size: .92rem; }
.accent { color: var(--accent); }

/* links with an underline that draws in */
.u { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out); }
.u:hover { background-size: 100% 1px; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 500 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; clip-path: inset(0 round 999px); transition: color .35s var(--ease-out), border-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn:hover { color: #fff; border-color: var(--accent); }
.btn:hover::before { transform: none; }
.btn .icon { transition: transform .35s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { color: #fff; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 40px 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, transform .4s var(--ease-out); }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none; }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -.03em; }
.logo img { border-radius: 8px; }
.logo-light { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 450; font-size: .95rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out), color .2s; padding-bottom: 2px; }
.site-nav a:hover { color: var(--ink); background-size: 100% 1px; }
.site-nav a.btn { color: #fff; background: var(--ink); padding: 10px 18px; }
.site-nav .lang { font-weight: 600; font-size: .8rem; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; background: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }

/* hero */
.hero { position: relative; padding: 96px 0 88px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 0 0 40%; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 70% at 70% 45%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 45%, #000, transparent 75%); opacity: .7; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 15ch; margin-bottom: .45em; }
.hero .actions { margin: 36px 0 28px; }

/* hero: the «system at night» card — events appear one by one and loop (main.js toggles .on) */
.flow { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 rgba(11, 18, 32, .03), 0 30px 60px -30px rgba(11, 18, 32, .25); backdrop-filter: blur(6px); }
.flow-head { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .82rem; font-weight: 500; color: var(--muted); }
.flow-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s infinite; }
.flow ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--alt); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), background .4s; }
.flow li b { display: block; color: var(--ink); font-size: .95rem; font-weight: 600; letter-spacing: -.01em; }
.flow li small { display: block; color: var(--muted); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow time { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.flow .fi { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #fff; color: var(--ink); border: 1px solid var(--line); transition: background .4s, color .4s, border-color .4s; }
.flow li.now { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.flow li.now .fi { background: var(--ink); color: #fff; border-color: var(--ink); }
.flow li:last-child.now .fi { background: var(--accent); border-color: var(--accent); }
.flow-done { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding-top: 16px; border-top: 1px dashed var(--line-2); font-weight: 600; color: var(--ink); font-size: .95rem; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.flow-done .icon { color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.js .flow.run li:not(.on) { opacity: 0; transform: translateY(12px); }
.js .flow.run:not(.done) .flow-done { opacity: 0; transform: translateY(8px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 36px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, .45); } 80%, 100% { box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); } }
.hero .lead { max-width: 640px; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 8px; color: var(--muted); font-size: .95rem; }
.hero-foot span { display: inline-flex; align-items: center; gap: 8px; }
.hero-foot .icon { color: var(--accent); }

/* rotating word in the headline */
.rotate { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; color: var(--accent); }
.rotate > span { grid-area: 1 / 1; white-space: nowrap; transform: translateY(105%); transition: transform .7s var(--ease-out); }
.rotate > span.on { transform: none; }
.rotate > span.out { transform: translateY(-105%); }
.rotate > span:not(.on):not(.out) { transition: none; }
.no-js .rotate > span:first-child, .rotate:not(.ready) > span:first-child { transform: none; }

/* headline lines slide up on load */
.split .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.split .ln > span { display: block; }
.js .split .ln > span { transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * .08s); }
.js .split.in .ln > span { transform: none; }

/* facts */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 88px; border-top: 1px solid var(--line); }
.stats div { padding: 28px 24px 0 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; color: var(--ink); letter-spacing: -.05em; font-weight: 600; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: .92rem; }

/* marquee */
.marquee { overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 60s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { white-space: nowrap; padding: 0 22px; color: var(--muted); font-size: 1.15rem; font-weight: 450; letter-spacing: -.01em; }
.marquee li::after { content: "·"; margin-left: 44px; color: var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { position: relative; padding: 128px 0; }
.section-alt { background: var(--alt); }
.section-dark { background: var(--ink); color: #b9c0cc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark p { color: #9aa3b2; }
.section-head { max-width: 820px; margin-bottom: 64px; }
.section-head p { color: var(--muted); font-size: 1.12rem; max-width: 640px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: .85rem; font-weight: 500; color: var(--muted); }
.kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-dark .kicker { color: #9aa3b2; }
.muted-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 28px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; color: inherit; text-decoration: none; }
a.card { transition: border-color .3s, transform .5s var(--ease-out); }
a.card:hover { border-color: var(--ink); transform: translateY(-4px); }
.card h3, .card h2 { font-size: 1.2rem; }
.card p { color: var(--muted); font-size: .97rem; }
.section-dark .card { background: transparent; border-color: rgba(255, 255, 255, .12); }
.card-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--alt); color: var(--ink); margin-bottom: 22px; transition: background .35s, color .35s; }
#ai .card { padding: 30px 28px; border-color: var(--line); transition: border-color .3s, transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
#ai .card h3 { font-size: 1.25rem; }
#ai .card p { font-size: 1rem; margin: 0; }
@media (hover: hover) {
	#ai .card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(11, 18, 32, .35); }
	#ai .card:hover .card-icon { background: var(--ink); color: #fff; }
}
.section-dark .card-icon { background: rgba(255, 255, 255, .06); color: #fff; }
.card-icon-lg { width: 60px; height: 60px; }
.service-card { display: flex; flex-direction: column; }
.service-card p { flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.card-foot strong { color: var(--ink); font-weight: 600; }
.more { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; flex: none; color: var(--ink); font-weight: 500; font-size: .95rem; text-decoration: none; }
.more .icon { transition: transform .35s var(--ease-out); }
a:hover .more .icon, .more:hover .icon { transform: translateX(4px); }
.empty { text-align: center; padding: 40px; }
.empty p { max-width: 620px; margin: 0 auto 20px; }

/* services as a numbered list: the row fills with navy on hover */
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: svc; }
.svc li { border-bottom: 1px solid var(--line); }
.svc a { clip-path: inset(0); position: relative; display: grid; grid-template-columns: 48px 52px minmax(0, 1fr) 170px 40px; gap: 24px; align-items: center; padding: 30px 8px; text-decoration: none; color: var(--ink); isolation: isolate; overflow: hidden; }
.svc a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); }
.svc .n { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .3s; }
.svc h3 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -.035em; font-weight: 550; transition: color .3s, transform .55s var(--ease-out); }
.svc p { margin: 8px 0 0; color: var(--muted); font-size: .97rem; max-width: 640px; transition: color .3s; }
.svc .p { font-size: .98rem; font-weight: 500; text-align: right; white-space: nowrap; transition: color .3s; }
.svc .arr { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .55s var(--ease-out), background .3s, border-color .3s, color .3s; }
.svc .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--alt); color: var(--ink); transition: background .35s, color .35s, transform .55s var(--ease-out); }
.svc .badge { display: inline-block; margin-left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: .72rem; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
@media (hover: hover) {
	.svc a:hover::before { transform: scaleY(1); }
	.svc a:hover h3 { color: #fff; transform: translateX(10px); }
	.svc a:hover .n, .svc a:hover p { color: #9aa3b2; }
	.svc a:hover .p { color: #fff; }
	.svc a:hover .arr { transform: rotate(-45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
	.svc a:hover .ic { background: rgba(255, 255, 255, .08); color: #fff; transform: rotate(-6deg) scale(1.05); }
	.svc a:hover .badge { background: rgba(14, 165, 233, .2); color: #7dd3fc; }
}

/* pipeline: site → lead → CRM → automation → sale */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; position: relative; }
.pipeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: rgba(255, 255, 255, .15); }
.pipeline::after { content: ""; position: absolute; left: 0; top: 23px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-out) .2s; }
.pipeline.in::after { transform: scaleX(1); }
.pipeline::after { height: 2px; top: 22.5px; background: linear-gradient(90deg, transparent, #fff, transparent) 0 0 / 160px 100% no-repeat, var(--accent); background-position-x: -30%; }
.pipeline.in::after { animation: comet 3.2s linear 2.4s infinite; }
@keyframes comet { from { background-position-x: -30%; } to { background-position-x: 130%; } }
.pipeline.in .node { animation: ping 3.2s ease-out infinite; animation-delay: calc(2.4s + var(--i, 0) * .64s); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, .55); border-color: var(--accent); } 40%, 100% { box-shadow: 0 0 0 14px rgba(14, 165, 233, 0); border-color: rgba(255, 255, 255, .2); } }
.pipeline li { position: relative; padding-right: 28px; }
.pipeline .node { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 28px; border-radius: 50%; background: var(--ink); border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.pipeline h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pipeline p { font-size: .93rem; margin: 0; }

/* audit */
.audit-grid { display: grid; grid-template-columns: 1fr 460px; gap: 80px; align-items: center; }
.qa [hidden] { display: none !important; }
.qa { color: var(--text); }
.audit-grid:has(.qa-done) { align-items: start; }
.qa-step2 { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
.qa-step2 legend { float: left; width: 100%; padding: 0; margin-bottom: -10px; font-size: 1.15rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.qa-done .qa-step2 { padding-top: 18px; border-top: 1px solid var(--line); }
.qa-step2 p { margin: 0; }
.qa-progress ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; color: var(--muted); }
.qa-progress li { display: flex; gap: 10px; align-items: center; opacity: .45; transition: opacity .3s; }
.qa-progress li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); }
.qa-progress li.active, .qa-progress li.done { opacity: 1; }
.qa-progress li.active { color: var(--ink); font-weight: 600; }
.qa-progress li.active::before { border-color: var(--accent) var(--line-2) var(--line-2); animation: qa-spin .8s linear infinite; }
.qa-progress li.done::before { border-color: var(--ok); background: var(--ok); box-shadow: inset 0 0 0 3px #fff; }
@keyframes qa-spin { to { transform: rotate(360deg); } }
.qa-result { display: grid; gap: 14px; }
.qa-head { display: flex; gap: 20px; align-items: center; }
.qa-ring { --p: 0; --c: var(--ok); flex: none; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); }
.qa-ring > span:first-child { display: grid; place-items: center; align-content: center; width: 92px; height: 92px; border-radius: 50%; background: #fff; line-height: 1; }
.qa-ring strong { font-size: 2.2rem; font-weight: 700; color: var(--ink); letter-spacing: -.04em; }
.qa-ring small { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.qa [data-level=mid] { --c: var(--warn); }
.qa [data-level=low] { --c: var(--err); }
.qa-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; flex: 1; min-width: 0; font-size: .88rem; }
.qa-cats li { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; }
.qa-cats b { color: var(--ink); }
.qa-cats i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.qa-cats s { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--c, var(--ok)); transition: width .8s var(--ease-out); }
.qa-estimate { margin: 0; font-size: .82rem; }
.qa-found { margin: 4px 0 0; font-size: 1.05rem; }
.qa-issues { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.qa-issues li { padding: 10px 12px; border-radius: 10px; background: var(--alt); border-left: 2px solid var(--line-2); }
.qa-issues .sev-high { border-left-color: var(--err); }
.qa-issues .sev-medium { border-left-color: var(--warn); }
.qa-issues .sev-low { border-left-color: var(--accent); }
.qa-sev { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.qa-issues .locked { filter: blur(4px); user-select: none; pointer-events: none; }
.qa-locked { display: flex; gap: 8px; align-items: center; margin: 0; font-weight: 600; color: var(--ink); font-size: .92rem; }
.qa-locked .icon { color: var(--accent); }

/* ticks */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { flex: none; color: var(--accent); margin-top: 4px; }

/* steps, why */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 32px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.step-n { display: block; font-size: .9rem; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.step-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: background .35s, color .35s, border-color .35s; }
.steps li:hover .step-ic { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps h3 { font-size: 1.35rem; }
.steps p, .why p { color: var(--muted); font-size: .97rem; margin: 0; }
.why { padding: 32px 0 0; border-top: 1px solid var(--ink); }
.why h3 { font-size: 1.25rem; }
.stack-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.stack-groups .card { padding: 0; border: 0; background: none; }
.stack-groups h3 { font-size: .85rem; font-weight: 500; color: var(--muted); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); letter-spacing: 0; }
.stack-groups ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.stack-groups li { font-size: 1rem; color: var(--ink); }

/* portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: -24px 0 40px; }
.filters button { padding: 6px 0; border: 0; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; color: var(--muted); font: 500 .98rem var(--font); cursor: pointer; transition: color .2s, background-size .35s var(--ease-out); }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed=true] { color: var(--ink); background-size: 100% 1px; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.works .work[hidden] { display: none; }
.work { display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 0; background: none; }
a.work:hover { transform: none; }
.work-cover { --bg: var(--ink); --fg: #fff; --sub: #9aa3b2; position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 10; padding: 28px; overflow: hidden; border-radius: var(--radius); background: var(--bg); border: 1px solid transparent; }
.works > :nth-child(3n+2) .work-cover:not(.has-img) { --bg: var(--accent); --fg: var(--ink); --sub: rgba(11, 18, 32, .65); }
.works > :nth-child(3n) .work-cover:not(.has-img) { --bg: #fff; --fg: var(--ink); --sub: var(--muted); border-color: var(--line-2); }
.work-cover::after { content: ""; position: absolute; left: 28px; bottom: 22px; width: 40px; height: 2px; background: currentColor; color: var(--fg); opacity: .5; transform-origin: left; transition: transform .7s var(--ease-out), opacity .4s; }
a.work:hover .work-cover::after { transform: scaleX(3); opacity: 1; }
.work-cover :is(b, h2, h3) { position: relative; z-index: 1; margin: 0 0 22px; max-width: 92%; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.06; letter-spacing: -.045em; color: var(--fg); font-weight: 600; transition: transform .6s var(--ease-out); }
.work-cover .plat { position: absolute; top: 24px; left: 28px; right: 28px; z-index: 1; color: var(--sub); font-size: .82rem; font-weight: 500; }
.work-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease-out); }
.work-cover:has(img) :is(b, h2, h3) { z-index: 2; color: #fff; }
.work-cover:has(img) .plat { z-index: 2; color: rgba(255, 255, 255, .85); }
.work-cover:has(img)::after { display: none; }
a.work:hover .work-cover :is(b, h2, h3) { transform: translateY(-6px); }
a.work:hover .work-cover img { transform: scale(1.05); }
.work-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 2px 0; flex: 1; }
.work-body h2, .work-body h3 { font-size: 1.3rem; margin: 0; letter-spacing: -.03em; font-weight: 550; }
.work-body p { flex: 1; margin: 0; color: var(--muted); font-size: .96rem; }
.work-kind { font-size: .82rem; font-weight: 500; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; }
.tags span { font-size: .78rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--alt); color: var(--muted); }
.tags .tag-accent { background: var(--accent-soft); color: var(--accent-ink); }

/* case/product cards with screenshots */
.work-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.work-img { display: block; aspect-ratio: 16 / 10; background: var(--alt); border-bottom: 1px solid var(--line); overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease-out); }
a.work-card:hover .work-img img { transform: scale(1.04); }
.work-card .work-body { padding: 24px 26px 26px; }
.section-dark .work-card { background: rgba(255, 255, 255, .03); }
.section-dark .work-card .work-body h3 { color: #fff; }
.section-dark .more { color: #fff; }
.section-dark .work-img { border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); }
.section-dark .tags span { background: rgba(255, 255, 255, .06); color: #b9c0cc; }

/* faq */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 56px 26px 0; position: relative; font-weight: 500; color: var(--ink); font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out); }
.faq summary::after { transform: rotate(90deg); }
.faq[open] summary::after { transform: rotate(0); }
.faq p { color: var(--muted); padding-bottom: 26px; margin: 0; max-width: 720px; }

/* final CTA */
.cta-band { padding: 40px 0; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 14ch; margin-bottom: .3em; }
.cta-band p { max-width: 560px; }
.cta-big { display: inline-flex; align-items: center; gap: 18px; margin-top: 24px; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 550; letter-spacing: -.03em; color: var(--ink); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; padding-bottom: 6px; transition: background-size .5s var(--ease-out), color .3s; }
.cta-big:hover { background-size: 100% 2px; color: var(--accent-ink); }
.cta-big .icon { transition: transform .5s var(--ease-out); }
.cta-big:hover .icon { transform: translateX(8px); }

/* contact & forms */
.section-contact { background: var(--alt); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.form { display: grid; gap: 18px; padding: 36px; background: #fff; border-color: var(--line); }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--ink); }
.form label em { color: var(--err); font-style: normal; }
.form label small { font-weight: 400; color: var(--muted); }
.form > p { margin: 0; }
.form input[type=text], .form input[type=file], .form select, .form textarea { width: 100%; padding: 12px 0; font: 400 1.02rem/1.4 var(--font); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; transition: border-color .25s; }
.form select { cursor: pointer; }
.form input[type=file] { border: 1px dashed var(--line-2); border-radius: 10px; padding: 12px; }
.form input::placeholder, .form textarea::placeholder { color: #a3a8b3; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form textarea { resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .check input { margin-top: 4px; accent-color: var(--ink); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.notice { padding: 12px 14px; border-radius: 10px; margin: 0; font-weight: 500; }
.notice.ok { background: #dcfce7; color: var(--ok); }
.notice.err { background: #fee2e2; color: var(--err); }
.channels { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.channel { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; transition: border-color .25s; }
.channel:hover { border-color: var(--ink); }
.channel span { display: grid; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.channel small { font-weight: 400; color: var(--muted); font-size: .78rem; }
.channel .icon { flex: none; color: var(--accent); }
.promise { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.promise .icon { flex: none; color: var(--accent); margin-top: 3px; }

/* inner pages */
.page-hero { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 6px; opacity: .6; }
.service-hero { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.price-card { background: var(--alt); border: 0; }
.price-card h2 { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card .price { font-size: 2.6rem; font-weight: 600; margin-bottom: 6px; letter-spacing: -.05em; color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.pains { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pains li { padding: 18px 0 18px 32px; border-bottom: 1px solid var(--line); position: relative; }
.pains li::before { content: "—"; position: absolute; left: 0; color: var(--err); }
.prose { font-size: 1.08rem; color: var(--text); }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.prose h3 { margin-top: 1.4em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 14px 12px 0; text-align: left; }
.prose th { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding: 4px 22px; border-left: 2px solid var(--accent); color: var(--muted); }
.prose code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--alt); color: var(--ink); }
.prose a { color: var(--accent-ink); }
.prose .callout { padding: 20px 22px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); margin: 1.6em 0; }
.narrow-left { max-width: 820px; margin-bottom: 32px; }

/* footer */
.site-footer { position: relative; background: var(--ink); color: #9aa3b2; padding: 96px 0 32px; font-size: .95rem; overflow: hidden; }
.site-footer a { color: #d4d8df; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { color: #fff; font-size: .85rem; font-weight: 500; letter-spacing: 0; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 48px; }
.footer-grid .logo { margin-bottom: 16px; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-channels { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.footer-channels .channel { padding: 8px 12px; background: transparent; border-color: rgba(255, 255, 255, .14); color: #fff; }
.footer-channels .channel:hover { border-color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-word { margin: 80px 0 0; font-size: clamp(4.5rem, 19vw, 17rem); line-height: .78; font-weight: 600; letter-spacing: -.07em; color: #fff; user-select: none; pointer-events: none; white-space: nowrap; }
.footer-word span { display: inline-block; transform: translateY(100%); transition: transform 1.2s var(--ease-out); }
.footer-word.in span { transform: none; }
.float-tg { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(11, 18, 32, .25); transition: transform .4s var(--ease-out); }
.float-tg:hover { transform: scale(1.08); color: #fff; }
.mobile-cta { display: none; }

/* case / product / article pages */
.section-tight { padding: 64px 0 104px; }
.h1-narrow { max-width: 920px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: start; }
.facts { position: sticky; top: 100px; padding: 26px; background: var(--alt); border: 0; }
.facts dl { margin: 0 0 20px; display: grid; gap: 16px; }
.facts dt { font-size: .8rem; color: var(--muted); font-weight: 500; }
.facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.shot { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--alt); }
.shot img { display: block; width: 100%; height: auto; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery .shot { margin: 0; }
.gallery .shot:first-child { grid-column: 1 / -1; }
.post-card { display: flex; flex-direction: column; }
.prose img { border-radius: 12px; }
.prose .result { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 1.4em 0; }
.prose .result div { padding: 18px; border-radius: 14px; background: var(--alt); }
.prose .result strong { display: block; font-size: 1.7rem; letter-spacing: -.04em; color: var(--ink); }
.side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side .card { background: var(--alt); border: 0; }
.toc { padding: 24px; }
.toc h2 { font-size: .85rem; font-weight: 500; color: var(--muted); margin: 0 0 12px; letter-spacing: 0; }
.toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: .93rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .92rem; margin-top: 22px; }
.byline a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* scroll reveal (main.js marks <html class="js"> and adds .in when visible) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1100px) {
	.works { grid-template-columns: repeat(2, 1fr); }
	.svc a { grid-template-columns: 48px minmax(0, 1fr) 40px; }
	.svc .p { grid-column: 2; grid-row: 2; text-align: left; margin-top: -12px; }
}
@media (max-width: 1024px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
	.steps li:nth-child(3) { padding-left: 0; border-left: 0; }
	.footer-grid, .stack-groups { grid-template-columns: 1fr 1fr; }
	.hero-grid, .audit-grid, .contact-grid, .service-hero, .two-col, .article-grid { grid-template-columns: 1fr; gap: 48px; }
	.facts, .side { position: static; }
	.pipeline { grid-template-columns: 1fr; gap: 32px; }
	.pipeline::before, .pipeline::after { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
	.pipeline::after { height: 100%; transform: scaleY(0); transform-origin: top; }
	.pipeline.in::after { transform: scaleY(1); }
	.pipeline::after { width: 2px; left: 22.5px; top: 0; background: linear-gradient(180deg, transparent, #fff, transparent) 0 0 / 100% 120px no-repeat, var(--accent); background-position: 0 -30%; }
	@keyframes comet { from { background-position: 0 -30%; } to { background-position: 0 130%; } }
	.pipeline li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 22px; padding: 0; }
	.pipeline .node { grid-row: span 2; margin: 0; }
	.pipeline h3 { align-self: end; margin: 0; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stats div:nth-child(3) { padding-left: 0; border-left: 0; }
	.stats div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
}
@media (max-width: 1180px) {
	.nav-toggle { display: block; }
	.site-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 28px 28px; }
	.site-nav.open { display: flex; }
	.site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; background: none; }
	.site-nav .lang { align-self: flex-start; margin: 16px 0; padding: 4px 12px; border-bottom: 1px solid var(--line-2); }
	.site-nav a.btn { margin-top: 8px; border-bottom: 0; padding: 14px; }
}
@media (max-width: 860px) {
	.grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.wrap { padding: 0 20px; }
	.section { padding: 88px 0; }
	.hero { padding: 64px 0 72px; }
	.grid-2, .grid-3, .grid-4, .steps, .row-2, .channels, .footer-grid, .gallery, .works, .stack-groups { grid-template-columns: 1fr; }
	.steps li, .steps li + li { padding: 28px 0 0; border-left: 0; }
	.steps li + li { border-top: 1px solid var(--line); margin-top: 28px; }
	.step-top { margin-bottom: 16px; }
	.svc a { grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; padding: 24px 0; }
	.svc .p { grid-column: 2; margin-top: 4px; }
	.svc .arr { display: none; }
	.form { padding: 24px; }
	.actions .btn { width: 100%; }
	.qa-head { gap: 16px; }
	.qa-ring { width: 96px; height: 96px; }
	.qa-ring > span:first-child { width: 78px; height: 78px; }
	.qa-ring strong { font-size: 1.8rem; }
	.stats { margin-top: 64px; }
	.stats div { padding: 22px 12px 0 0; }
	.stats div + div { padding-left: 12px; }
	.filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
	.filters button { flex: none; }
	.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; gap: 8px; transform: translateY(150%); transition: transform .5s var(--ease-out); }
	.mobile-cta.show { transform: none; }
	.mobile-cta .btn { flex: 1; padding: 15px; box-shadow: 0 10px 30px rgba(11, 18, 32, .25); }
	.mobile-cta .btn-ghost { flex: none; background: #fff; }
	body:has(.mobile-cta) .float-tg { display: none; }
	.site-footer { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
	.js .split .ln > span, .footer-word span { transform: none; }
}
.site-footer a.btn-light { color: var(--ink); }
.site-footer a.btn-light:hover { color: #fff; }

/* price calculator (#calc) */
.calc-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.calc-intro { position: sticky; top: 120px; }
.calc-intro h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.calc-intro .ticks { margin-top: 32px; }
.calc { display: grid; gap: 22px; padding: 34px; border: 0; box-shadow: 0 30px 70px -40px rgba(11, 18, 32, .35); }
.calc [hidden] { display: none !important; }
.calc fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.calc legend { padding: 0; margin-bottom: 18px; font-size: 1.45rem; font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1.2; }
.calc legend small { display: block; margin-top: 6px; font-size: .88rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.calc-top { display: flex; align-items: center; gap: 16px; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.calc-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.calc-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--ink); border-radius: 3px; transition: width .6s var(--ease-out); }
.opts { display: grid; gap: 10px; }
.opts-2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: grid; gap: 2px; height: 100%; padding: 16px 18px 16px 48px; border: 1px solid var(--line-2); border-radius: 14px; transition: border-color .25s, background .25s, transform .3s var(--ease-out); }
.opt > span::before { content: ""; position: absolute; left: 18px; top: 19px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; transition: border-color .25s, box-shadow .25s, background .25s; }
.opt-check > span::before { border-radius: 6px; }
.opt b { color: var(--ink); font-weight: 600; font-size: 1rem; }
.opt small { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.opt:hover > span { border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt input:checked + span { border-color: var(--ink); background: var(--alt); }
.opt input:checked + span::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 3.5px #fff; }
.opt-check input:checked + span::before { box-shadow: none; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.calc-nav { display: flex; justify-content: space-between; gap: 12px; }
.calc-nav .calc-next { margin-left: auto; }
.calc-result { display: grid; gap: 24px; }
.calc-sum { padding: 28px; border-radius: 18px; background: var(--ink); color: #9aa3b2; }
.calc-sum .muted { color: #9aa3b2; }
.calc-price { display: block; margin: 8px 0 6px; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; font-weight: 600; letter-spacing: -.05em; color: #fff; font-variant-numeric: tabular-nums; }
.calc-price:empty { display: none; }
.calc-weeks { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(14, 165, 233, .18); color: #7dd3fc; font-size: .88rem; font-weight: 500; }
.calc-weeks:empty { display: none; }
.calc-sum p { margin: 16px 0 0; font-size: .86rem; }
.calc-send { display: grid; gap: 16px; }
.calc-send h3 { margin: 0; font-size: 1.3rem; }
.calc-send p { margin: -8px 0 0; }
.calc-send label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--ink); }
.calc-send label em { color: var(--err); font-style: normal; }
.calc-send input[type=text] { width: 100%; padding: 12px 0; font: 400 1.02rem/1.4 var(--font); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; }
.calc-send input[type=text]:focus { outline: none; border-color: var(--ink); }
.calc-send .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.calc-send .check input { margin-top: 4px; accent-color: var(--ink); }
.calc-again { justify-self: center; padding: 4px 0; border: 0; background-color: transparent; color: var(--muted); font: 500 .92rem var(--font); cursor: pointer; }
html:not(.js) .calc-nav, html:not(.js) .calc-top { display: none; }
.js .calc:not(.result) .calc-result, .js .calc.result .calc-step, .js .calc.result .calc-nav, .js .calc.result .calc-top { display: none; }
.js .calc-step:not(.on) { display: none; }
.js .calc-step.on { animation: step-in .5s var(--ease-out); }
.js .calc.result .calc-result { animation: step-in .6s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }

/* ROI model (#roi) */
html:not(.js) .roi-section { display: none; }
.roi { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: stretch; }
.roi-in { display: grid; gap: 30px; align-content: start; }
.range { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: baseline; font-weight: 500; color: var(--ink); }
.range output { font-size: 1.35rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.range input { grid-column: 1 / -1; width: 100%; height: 22px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --v: 50%; }
.range input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(var(--ink), var(--ink)) 0 / var(--v) 100% no-repeat, var(--line-2); }
.range input::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line-2); }
.range input::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--ink); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 4px 12px rgba(11, 18, 32, .2); transition: transform .2s; }
.range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.range input:active::-webkit-slider-thumb { transform: scale(1.15); }
.roi-out { display: flex; flex-direction: column; gap: 26px; padding: 36px; border-radius: 22px; background: var(--ink); color: #9aa3b2; }
.roi-big strong { display: block; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; font-weight: 600; letter-spacing: -.055em; color: #fff; font-variant-numeric: tabular-nums; }
.roi-big span { display: block; margin-top: 10px; color: #d4d8df; }
.roi-big small { display: block; margin-top: 4px; color: #7dd3fc; font-size: .95rem; }
.roi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.roi-row div { padding-top: 20px; }
.roi-row div + div { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .12); }
.roi-row strong { display: block; font-size: 2rem; color: #fff; letter-spacing: -.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.roi-row span { display: block; font-size: .88rem; }
.roi-row small { display: block; margin-top: 4px; font-size: .8rem; color: #7dd3fc; font-variant-numeric: tabular-nums; }
.roi-note { margin: auto 0 0; font-size: .85rem; }

@media (max-width: 1024px) {
	.hero-grid, .calc-grid, .roi { grid-template-columns: 1fr; gap: 48px; }
	.hero::before { inset: 40% 0 0 0; }
	.calc-intro { position: static; }
	.flow { max-width: 520px; }
}
@media (max-width: 640px) {
	.calc { padding: 22px; }
	.opts-2 { grid-template-columns: 1fr; }
	.calc-nav .btn { width: auto; flex: 1; }
	.roi-out { padding: 26px; }
	.flow { padding: 18px; }
	.flow li { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; padding: 10px 12px; }
	.flow .fi { width: 34px; height: 34px; }
	.flow li small { white-space: normal; }
	.mobile-cta .btn-ghost { flex: none; background: #fff; padding: 15px 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.js .flow.run li:not(.on), .js .flow.run:not(.done) .flow-done { opacity: 1; transform: none; }
}

/* icons draw their strokes when their block scrolls in (pathLength=1 from studio_icon) */
.js .reveal :is(.card-icon, .ic, .step-ic, .node) .icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) calc(var(--d, 0s) + .25s); }
.js .reveal.in :is(.card-icon, .ic, .step-ic, .node) .icon > * { stroke-dashoffset: 0; }

/* bento «what you get» */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 26px; padding: 30px; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .3s, opacity 1s var(--ease-out); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(11, 18, 32, .35); border-color: var(--line-2); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: 1 / -1; }
.tile h3 { font-size: 1.3rem; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .97rem; margin: 0; }
.tile .viz { position: relative; flex: 1; min-height: 170px; display: grid; align-content: center; }
.bento-note { margin: 24px 0 0; font-size: .85rem; }

/* line chart */
.tile-chart { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: end; gap: 32px; }
.tile-chart .tile-text { align-self: start; }
.legend { display: flex; gap: 18px; margin: 0 0 12px !important; font-size: .82rem !important; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 3px; vertical-align: -1px; background: var(--accent); }
.legend .k2::before { background: var(--ink); }
.chart { width: 100%; height: 200px; overflow: visible; }
.chart .grid path { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .line { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-out) .3s; }
.chart .l1 { stroke: var(--accent); }
.chart .l2 { stroke: var(--ink); stroke-width: 2.5; transition-delay: .6s; }
.chart .area { fill: rgba(14, 165, 233, .1); opacity: 0; transition: opacity 1.2s 1.6s; }
.reveal.in .chart .line { stroke-dashoffset: 0; }
.reveal.in .chart .area { opacity: 1; }
.pin { position: absolute; right: 0; top: 30px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .5s 2.3s, transform .5s var(--ease-out) 2.3s; }
.reveal.in .pin { opacity: 1; transform: none; }
.months { display: flex; justify-content: space-between; list-style: none; margin: 10px 0 0; padding: 0; font-size: .78rem; color: var(--muted); }

/* speed gauge */
.tile-speed .viz { place-items: center; }
.gauge { width: 100%; max-width: 230px; }
.gauge path { fill: none; stroke-width: 14; stroke-linecap: round; }
.g-bg { stroke: var(--alt); }
.g-fg { stroke: var(--accent); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-out) .3s; }
.reveal.in .g-fg { stroke-dashoffset: .06; }
.g-num { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 3.2rem; line-height: 1; font-weight: 600; letter-spacing: -.05em; color: var(--ink); }
.g-num small { font-size: .55em; color: var(--accent); }

/* lead sources */
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; font-size: .85rem; color: var(--text); }
.bars i { display: block; height: 10px; border-radius: 6px; background: var(--alt); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 6px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) calc(.3s + var(--i) * .12s); }
.bars li:first-child i::after { background: var(--accent); }
.reveal.in .bars i::after { transform: none; }

/* AI chat: question → typing → answer, looped */
.tile-chat .viz { align-content: end; gap: 10px; grid-template-areas: "a" "b"; }
.tile .bubble { max-width: 88%; margin: 0; padding: 11px 14px; border-radius: 16px; font-size: .88rem; line-height: 1.4; color: var(--ink); }
.tile .in-msg { grid-area: a; background: var(--alt); border-bottom-left-radius: 4px; }
.tile .out-msg { grid-area: b; justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.out-msg .from { display: flex; align-items: center; gap: 5px; margin-bottom: 3px; font-size: .72rem; font-weight: 600; color: #7dd3fc; }
.tile .typing { grid-area: b; justify-self: end; align-self: end; display: flex; gap: 4px; padding: 13px 14px; background: var(--alt); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.js .tile-chat .bubble { opacity: 0; }
.tile-chat.in .in-msg { animation: chat-in 9s var(--ease-out) infinite; }
.tile-chat.in .typing { animation: chat-typing 9s infinite; }
.tile-chat.in .out-msg { animation: chat-out 9s var(--ease-out) infinite; }
@keyframes chat-in { 0% { opacity: 0; transform: translateY(10px); } 6%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chat-typing { 0%, 12% { opacity: 0; } 14%, 34% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes chat-out { 0%, 34% { opacity: 0; transform: translateY(10px); } 40%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* 24/7 */
.live { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; font-size: .8rem !important; font-weight: 600; color: var(--ok) !important; }
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse-g 2s infinite; }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }
.tile .big { display: block; font-size: 3.6rem; line-height: 1; letter-spacing: -.06em; font-weight: 600; color: var(--ink); margin: 6px 0 10px; }
.pulse-line { width: 100%; height: 60px; }
.pulse-line path { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pulse-line .beam { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 70 400; stroke-dashoffset: 470; }
.reveal.in .pulse-line .beam { animation: beam 2.6s linear infinite; }
@keyframes beam { to { stroke-dashoffset: 0; } }

/* integration hub: data runs along the wires into the core */
.tile-hub { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); align-items: center; gap: 40px; }
.hub { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto minmax(40px, 1fr) auto; align-items: stretch; min-height: 260px; }
.hub-col { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, 1fr); align-items: center; }
.hub-col li { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: .9rem; font-weight: 500; color: var(--ink); white-space: nowrap; transition: border-color .3s, transform .4s var(--ease-out); }
.hub-col li:hover { border-color: var(--ink); transform: translateY(-2px); }
.hub-col .icon { color: var(--accent); }
.wires { width: 100%; height: 100%; }
.wires path { fill: none; stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.wires .flowing { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 14; opacity: 0; transition: opacity .6s .4s; }
.reveal.in .wires .flowing { opacity: 1; animation: wire 1.2s linear infinite; }
@keyframes wire { to { stroke-dashoffset: -20; } }
.hub-core { align-self: center; display: grid; justify-items: center; gap: 10px; padding: 22px 26px; border-radius: 22px; background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 0 0 10px var(--alt), 0 0 0 11px var(--line); animation: core 3s ease-in-out infinite; }
.hub-core img { border-radius: 10px; }
@keyframes core { 50% { box-shadow: 0 0 0 16px var(--alt), 0 0 0 17px var(--line); } }

@media (max-width: 1100px) {
	.svc .ic { display: none; }
	.svc a { grid-template-columns: 48px minmax(0, 1fr) 40px; }
}
@media (max-width: 1024px) {
	.bento { grid-template-columns: 1fr 1fr; }
	.tile-chart, .tile-hub { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.svc a { grid-template-columns: 34px minmax(0, 1fr); }
	.bento { grid-template-columns: 1fr; }
	.span-2 { grid-column: auto; }
	.tile { padding: 24px; border-radius: 20px; }
	.hub { grid-template-columns: 1fr 1fr; gap: 10px; min-height: 0; }
	.hub .wires { display: none; }
	.hub-core { grid-column: 1 / -1; grid-row: 1; justify-self: center; margin-bottom: 14px; }
	.hub-col { grid-template-rows: none; gap: 10px; }
	.hub-col li { white-space: normal; padding: 10px 12px; font-size: .85rem; }
	.head-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.js .reveal :is(.card-icon, .ic, .step-ic, .node) .icon > *, .chart .line { stroke-dashoffset: 0; }
	.g-fg { stroke-dashoffset: .06; }
	.chart .area, .pin, .js .tile-chat .in-msg, .js .tile-chat .out-msg, .wires .flowing { opacity: 1; transform: none; }
	.bars i::after { transform: none; }
}

/* pain point cards (home #pains, hub, problem and service pages) */
.pains-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pains-home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pain { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--text); text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color .3s, transform .5s var(--ease-out), box-shadow .5s var(--ease-out), opacity 1s var(--ease-out); }
.pain::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease-out); }
.pain-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 13px; background: var(--alt); color: var(--ink); transition: background .35s, color .35s; }
.pain h2, .pain h3 { margin: 0; font-size: 1.2rem; letter-spacing: -.025em; transition: color .3s; }
.pain p { flex: 1; margin: 0; color: var(--muted); font-size: .94rem; transition: color .3s; }
.pain-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .9rem; font-weight: 500; color: var(--ink); transition: color .3s; }
.pain-more .icon { transition: transform .35s var(--ease-out); }
@media (hover: hover) {
	.pain:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(11, 18, 32, .45); }
	.pain:hover::before { transform: none; }
	.pain:hover :is(h2, h3), .pain:hover .pain-more { color: #fff; }
	.pain:hover p { color: #9aa3b2; }
	.pain:hover .pain-ic { background: var(--accent); color: #fff; }
	.pain:hover .pain-more .icon { transform: translateX(4px); }
}
.section-alt .pain { border-color: transparent; }
.js .reveal .pain-ic .icon > *, .js .pain.reveal .pain-ic .icon > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-out) .25s; }
.js .pain.reveal.in .pain-ic .icon > * { stroke-dashoffset: 0; }

/* hub: category jump links */
.cat-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.cat-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); font-weight: 500; font-size: .95rem; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.cat-jump a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-jump small { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--alt); color: var(--muted); font-size: .75rem; }
.cat-jump a:hover small { background: rgba(255, 255, 255, .15); color: #fff; }

/* problem page */
.problem-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: start; }
.problem-hero .h1-narrow { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.symptoms { display: grid; gap: 10px; padding: 28px; border: 0; box-shadow: 0 30px 70px -40px rgba(11, 18, 32, .4); }
.symptoms h2 { margin: 0 0 8px; font-size: 1.2rem; letter-spacing: -.02em; }
.sym { position: relative; display: block; cursor: pointer; }
.sym input { position: absolute; opacity: 0; }
.sym span { display: block; padding: 12px 14px 12px 46px; border-radius: 12px; background: var(--alt); color: var(--text); font-size: .94rem; line-height: 1.45; transition: background .25s, color .25s; }
.sym span::before { content: ""; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); background: #fff; transition: background .25s, border-color .25s; }
.sym:hover span { background: #eef0f2; }
.sym input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sym input:checked + span { background: var(--ink); color: #fff; }
.sym input:checked + span::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sym-score { display: grid; gap: 10px; margin: 8px 0 0; font-size: .9rem; color: var(--muted); }
.sym-score.hot { color: var(--ink); font-weight: 600; }
.sym-score i { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; position: relative; }
.sym-score i::after { content: ""; position: absolute; inset: 0; width: calc(var(--p) * 100%); background: var(--accent); border-radius: 4px; transition: width .5s var(--ease-out); }
.sym-score a { color: var(--accent-ink); }
.cost { padding: 96px 0; }
.cost-text { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.4; letter-spacing: -.02em; color: #fff !important; }
.causes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.causes li { padding-top: 24px; border-top: 1px solid var(--ink); }
.cause-n { display: block; margin-bottom: 18px; color: var(--accent); font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; }
.causes h3 { font-size: 1.2rem; }
.causes p { margin: 0; color: var(--muted); font-size: .97rem; }
.fix-grid { align-items: start; }
.fix { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.fix::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 1px; background: var(--line-2); }
.fix li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding-bottom: 28px; }
.fix li:last-child { padding-bottom: 0; }
.fix-n { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: .95rem; }
.fix h3 { margin: 6px 0 6px; font-size: 1.15rem; }
.fix p { margin: 0; color: var(--muted); font-size: .97rem; }
.result { position: sticky; top: 110px; padding: 32px; border: 0; }
.result h2 { font-size: 1.5rem; }
.result .actions { margin: 28px 0 0; }

@media (max-width: 1024px) {
	.pains-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pains-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.problem-top { grid-template-columns: 1fr; gap: 40px; }
	.causes { grid-template-columns: 1fr 1fr; }
	.result { position: static; }
}
@media (max-width: 640px) {
	.pains-grid, .pains-home, .causes { grid-template-columns: 1fr; }
	.pain { padding: 22px; }
	.symptoms { padding: 20px; }
	.cost { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.js .pain.reveal .pain-ic .icon > * { stroke-dashoffset: 0; }
}

/* cookie consent (inc/setup.php): fixed at the bottom, above the mobile CTA */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; max-width: 760px; margin: 0 auto; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(11, 18, 32, .15); font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent a { color: var(--accent-ink); }
.consent-actions { display: flex; gap: 8px; }
.consent .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Abandoned audit: a returning visitor who ran the audit but did not ask for the full report */
.qa-recover { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: grid; gap: 12px; justify-items: start; max-width: 380px; padding: 16px 44px 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(11, 18, 32, .15); font-size: .92rem; color: var(--text); }
.qa-recover p { margin: 0; }
.qa-recover button { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.qa-recover button:hover { background: var(--line); color: var(--ink); }
@media (max-width: 640px) {
	.qa-recover { left: 12px; right: 12px; bottom: 84px; max-width: none; }
}

/* Personal audit page /a/<slug>/ */
.ap-score { padding: 24px; }
.ap-issues li { padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.ap-service { display: grid; gap: 10px; align-content: start; }
.ap-service h3, .ap-service .price { margin: 0; }
.ap-service .price { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.ap-total { margin-top: 20px; display: grid; gap: 6px; }
.ap-total p { margin: 0; }
.ap-groups { margin-top: 28px; }
.ap-groups h3 { font-size: 1rem; margin: 0 0 8px; }
.ap-groups ul { margin: 0; padding-left: 18px; color: var(--text); font-size: .92rem; display: grid; gap: 4px; }
