/* ==========================================================================
   Eugene Pakharenko — front-end design system (v8)
   Admin panel keeps using css/style.css — this file is front-end only.
   ========================================================================== */

@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../assets/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('../assets/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  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; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 600;
  src: url('../assets/fonts/unbounded-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 600;
  src: url('../assets/fonts/unbounded-latin-600-normal.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; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 700;
  src: url('../assets/fonts/unbounded-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 700;
  src: url('../assets/fonts/unbounded-latin-700-normal.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 {
  --bg: #070b14;
  --bg-alt: #0a1020;
  --surface: #0e1528;
  --surface-2: #131c33;
  --surface-3: #1a2440;
  --line: rgba(148, 163, 184, .14);
  --line-strong: rgba(148, 163, 184, .26);
  --text: #eef2fa;
  --text-2: #b7c2d6;
  --muted: #8593ad;
  --primary: #3b7bff;
  --primary-2: #5b8cff;
  --primary-ink: #ffffff;
  --violet: #8795ff;
  --mint: #16e0a8;
  --green: #22d3a6;
  --red: #ff6b7d;
  --amber: #ffc861;
  --grad-brand: linear-gradient(135deg, #3b7bff 0%, #6d6bff 55%, #8b5cf6 100%);
  --grad-google: linear-gradient(90deg, #8795ff 0%, #75a9ef 30%, #65c7d0 58%, #12dda6 86%, #07e5a3 100%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --shadow-glow: 0 18px 50px -18px rgba(59, 123, 255, .55);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.65; font-weight: 450;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-2); text-decoration: none; transition: color .2s; }
a:hover { color: #8fb0ff; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--text); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(59, 123, 255, .35); color: #fff; }
.ico { flex: 0 0 auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 8px 0 40px; }
.section--alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-content { display: block; }

/* ---------- Typography helpers ---------- */
.kicker, .section-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint);
}
.kicker::before, .section-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad-google); }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.3vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.section-sub { color: var(--text-2); font-size: 17px; max-width: 680px; margin: 0 auto; text-wrap: pretty; }
.section-head { text-align: center; margin: 0 auto 48px; max-width: 820px; }
.section-head--left { text-align: left; margin: 0; }
.section-head--left .section-sub { margin: 0 0 24px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; max-width: none; }
.section-head--row .section-title { margin-bottom: 0; }
.grad-blue { background: linear-gradient(90deg, #4d8eff 0%, #7aa7ff 62%, #99b9ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-google { background: var(--grad-google); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(14, 21, 40, .7); color: var(--text-2); font-size: 13px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 211, 166, .18); flex: 0 0 auto; display: inline-block; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(34, 211, 166, .2); } 50% { box-shadow: 0 0 0 7px rgba(34, 211, 166, 0); } }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(59, 123, 255, .12); color: #a9c2ff; font-size: 12px; font-weight: 700; letter-spacing: .02em; border: 1px solid rgba(59, 123, 255, .22); white-space: nowrap; }
.chip--sm { padding: 3px 9px; font-size: 11.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--primary-2); white-space: nowrap; }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { color: #fff; box-shadow: 0 22px 56px -16px rgba(91, 108, 255, .75); transform: translateY(-1px); }
.btn-ghost, .btn-outline, .btn-secondary { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-outline:hover, .btn-secondary:hover { color: #fff; border-color: rgba(122, 167, 255, .6); background: rgba(59, 123, 255, .08); }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(7, 11, 20, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 11, 20, .9); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); flex: 0 0 auto; }
.brand:hover { color: var(--text); }
.brand-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.02em; box-shadow: 0 8px 24px -8px rgba(91, 108, 255, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-link.is-active { box-shadow: inset 0 -2px 0 var(--primary); }
.nav-chevron { transition: transform .2s; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 360px; transform: translate(-50%, 6px);
  padding: 10px; border-radius: 18px; background: rgba(14, 21, 40, .98); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transition: .2s ease;
}
.nav-dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }
.dd-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--text); }
.dd-item:hover { background: rgba(59, 123, 255, .1); color: #fff; }
.dd-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(59, 123, 255, .12); color: #9db8ff; flex: 0 0 auto; }
.dd-text { display: flex; flex-direction: column; line-height: 1.3; }
.dd-text strong { font-size: 14px; font-weight: 700; }
.dd-text small { font-size: 12.5px; color: var(--mint); font-weight: 700; }
.dd-all { display: block; margin-top: 6px; padding: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.lang-switch a { padding: 5px 8px; border-radius: 7px; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active { background: var(--surface-3); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: .25s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Breadcrumbs (CMS) ---------- */
.cms-breadcrumbs { border-bottom: 1px solid var(--line); background: var(--bg); }
.cms-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 12px 0; font-size: 13px; color: var(--muted); }
.cms-breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.cms-breadcrumbs a { color: var(--text-2); }
.cms-breadcrumbs a:hover { color: #fff; }
.cms-breadcrumbs span[aria-hidden] { opacity: .5; }
.cms-breadcrumbs [aria-current] { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 78% 20%, rgba(91, 108, 255, .22), transparent 70%),
    radial-gradient(500px 360px at 10% 0%, rgba(22, 224, 168, .09), transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--bg));
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); }
.hero-grid > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.035em; margin: 22px 0 22px; text-wrap: balance; }
.hero-title .grad-blue, .hero-title .grad-google { display: inline; }
.hero-lead { font-size: 18px; color: var(--text-2); max-width: 600px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 0; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); max-width: 560px; }
.hero-stats > div { flex: 1; display: flex; flex-direction: column; padding-right: 20px; }
.hero-stats dd { order: -1; }
.hero-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-stats dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.hero-stats dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -.02em; }

.hero-visual { position: relative; padding: 24px 10px 30px 30px; }
.hero-portrait { position: relative; margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-strong); background: linear-gradient(160deg, #19244a, #0c1223 70%); box-shadow: var(--shadow); aspect-ratio: 437 / 430; }
.hero-portrait picture { display: block; height: 100%; }
.hero-portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(7,11,20,.55)); }
.hero-portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-portrait figcaption { z-index: 1; position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(7, 11, 20, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); display: flex; flex-direction: column; }
.hero-portrait figcaption strong { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.hero-portrait figcaption span { font-size: 13px; color: var(--text-2); }
.float-card { position: absolute; border-radius: 16px; background: rgba(14, 21, 40, .9); border: 1px solid var(--line-strong); box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; color: var(--text-2); animation: floaty 6s ease-in-out infinite; }
.float-card--growth { left: -8px; top: 38%; width: 190px; padding: 14px 14px 10px; }
.float-card--growth .fc-label { display: block; font-size: 12px; font-weight: 700; }
.float-card--growth .fc-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--green); letter-spacing: -.02em; }
.fc-spark { width: 100%; height: 40px; margin-top: 4px; }
.float-card--status { right: -6px; top: 6px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 700; color: var(--text); animation-delay: -2s; }
.float-card--top { right: -10px; top: 24%; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 12px 14px; animation-delay: -4s; }
.float-card--top strong { color: #fff; font-size: 15px; }
.fc-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(59, 123, 255, .15); color: #9db8ff; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.tools-strip { margin-top: 56px; display: flex; align-items: center; gap: 24px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(14, 21, 40, .5); }
.tools-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tools-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.tools-strip li { font-weight: 700; color: var(--text-2); font-size: 15px; opacity: .85; }

/* ---------- Audit box ---------- */
.audit-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(59,123,255,.16), rgba(139,92,246,.12) 55%, rgba(22,224,168,.08)); border: 1px solid rgba(122, 167, 255, .28); position: relative; overflow: hidden; }
.audit-box-copy { display: flex; gap: 16px; align-items: flex-start; }
.audit-box-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: #fff; flex: 0 0 auto; }
.audit-box h2 { font-size: 20px; margin-bottom: 6px; font-weight: 800; }
.audit-box p { color: var(--text-2); margin: 0; font-size: 15px; }
.audit-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.audit-box .form-result { grid-column: 1 / -1; }

/* ---------- Forms ---------- */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label, .calc-field > label, .calc-label { font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(7, 11, 20, .6); color: var(--text); font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder { color: #66738d; }
.form-input:focus { outline: none; border-color: var(--primary-2); box-shadow: 0 0 0 4px rgba(59, 123, 255, .18); background: rgba(7, 11, 20, .85); }
select.form-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%238593ad' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
select.form-input option { background: var(--surface); }
textarea.form-input { resize: vertical; min-height: 110px; }
.form-result { font-size: 14px; font-weight: 600; min-height: 0; }
.form-result:empty { display: none; }
.form-result { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); color: var(--text-2); }
.form-result.is-success { background: rgba(34, 211, 166, .12); color: var(--green); }
.form-result.is-error { background: rgba(255, 107, 125, .12); color: var(--red); }

/* ---------- Service tiles ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-tile { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), rgba(14,21,40,.6)); border: 1px solid var(--line); color: var(--text); transition: transform .25s, border-color .25s, box-shadow .25s; overflow: hidden; }
.service-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px 200px at 0% 0%, rgba(59,123,255,.14), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.service-tile:hover { transform: translateY(-4px); border-color: rgba(122, 167, 255, .4); box-shadow: var(--shadow); color: var(--text); }
.service-tile:hover::after { opacity: 1; }
.service-tile-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(59, 123, 255, .12); color: #9db8ff; border: 1px solid rgba(59, 123, 255, .22); margin-bottom: 18px; }
.service-tile h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.service-tile p { color: var(--text-2); font-size: 15px; margin-bottom: 22px; flex: 1; }
.service-tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.service-tile-price { font-size: 13px; color: var(--muted); font-weight: 700; }
.service-tile-price strong { font-family: var(--font-display); font-size: 20px; color: var(--text); font-weight: 600; margin-left: 2px; }
.service-tile-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--primary-2); }
.service-tile:hover .service-tile-more .ico { transform: translateX(3px); }
.service-tile-more .ico { transition: transform .2s; }

/* ---------- Pricing ---------- */
.pricing-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 36px; padding: 6px; border-radius: 18px; background: rgba(14, 21, 40, .7); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.pricing-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 0; background: transparent; color: var(--text-2); font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: .2s; }
.pricing-tab:hover { color: #fff; background: rgba(255,255,255,.04); }
.pricing-tab.is-active { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.pricing-panel + .pricing-panel { margin-top: 56px; }
.js .pricing--tabs .pricing-panel + .pricing-panel { margin-top: 0; }
.pricing-panel[hidden] { display: none; }
.pricing-panel.is-entering { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pricing-panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 20px; }
.pricing-panel-head h3 { font-size: 20px; margin: 0; font-weight: 800; }
.pricing-panel-head h3 a { color: var(--text); }
.pricing-panel-head h3 a:hover { color: var(--primary-2); }
.pricing-term { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); font-weight: 600; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.price-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.price-card.is-popular { background: linear-gradient(180deg, rgba(59,123,255,.16), rgba(14,21,40,1) 55%); border-color: rgba(122, 167, 255, .55); box-shadow: 0 30px 70px -30px rgba(59, 123, 255, .6); }
.price-flag { position: absolute; top: -12px; left: 26px; padding: 5px 12px; border-radius: 999px; background: var(--grad-google); color: #06101f; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-name { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.price-desc { font-size: 14.5px; color: var(--text-2); margin-bottom: 18px; min-height: 3.2em; }
.price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; padding: 16px 0 18px; margin-bottom: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-from { font-size: 14px; color: var(--muted); font-weight: 700; }
.price-amount strong { font-family: var(--font-display); font-size: 38px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: #fff; }
.price-unit { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.price-features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.price-features .ico { color: var(--green); margin-top: 1px; }
.pricing-note { display: flex; align-items: flex-start; gap: 10px; margin: 22px auto 0; max-width: 820px; padding: 14px 18px; border-radius: 14px; background: rgba(34, 211, 166, .06); border: 1px dashed rgba(34, 211, 166, .3); color: var(--text-2); font-size: 14px; }
.pricing-note .ico { color: var(--green); margin-top: 1px; }

/* ---------- Compare ---------- */
.compare { max-width: 980px; margin: 0 auto; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
.compare-row { display: grid; grid-template-columns: 1.1fr 1.2fr 1.2fr; }
.compare-row > span { display: flex; align-items: center; gap: 10px; padding: 16px 22px; font-size: 15px; border-top: 1px solid var(--line); }
.compare-head > span { border-top: 0; font-weight: 800; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.compare-head .compare-me { color: #fff; }
.compare-label { font-weight: 700; color: var(--text); }
.compare-me { background: rgba(59, 123, 255, .08); color: var(--text); font-weight: 600; }
.compare-me .ico { color: var(--green); }
.compare-them { color: var(--muted); }
.compare-them .ico { color: var(--red); opacity: .8; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 25px; height: 2px; background: linear-gradient(90deg, rgba(59,123,255,.6), rgba(22,224,168,.6)); opacity: .35; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding: 0 4px; }
.step-num { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--surface-2); border: 1px solid rgba(122, 167, 255, .4); font-family: var(--font-display); font-weight: 600; font-size: 16px; color: #fff; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--bg); }
.step-when { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin-bottom: 6px; }
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--text-2); margin: 0; }

/* ---------- Cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-tile { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.case-tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.case-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.case-tile-dur { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.case-tile-growth { font-family: var(--font-display); font-weight: 700; font-size: 36px; letter-spacing: -.03em; line-height: 1.1; color: var(--green); margin-bottom: 10px; }
.case-tile-growth small { font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--text-2); letter-spacing: 0; }
.mini-chart { width: 100%; height: 56px; margin-bottom: 18px; }
.mini-chart rect { fill: rgba(122, 167, 255, .28); }
.mini-chart rect.is-last { fill: var(--green); }
.case-tile h3 { font-size: 16.5px; font-weight: 800; line-height: 1.4; margin-bottom: 16px; flex: 1; }
.case-tile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; }
.case-tile-stats > div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.case-tile-stats dt { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.case-tile-stats dd { margin: 2px 0 0; font-size: 13.5px; font-weight: 700; color: var(--text); line-height: 1.35; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-layout .section-head--left { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.faq-item[open] { border-color: rgba(122, 167, 255, .35); background: var(--surface-2); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 16px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.05); flex: 0 0 auto; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--text-2); border-radius: 2px; transition: transform .25s; }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-answer { padding: 0 20px 18px; color: var(--text-2); font-size: 15px; }
.faq-answer p { margin: 0; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, border-color .25s; }
.post-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.post-card-cover { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.post-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-cover img { transform: scale(1.04); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--muted); font-weight: 600; }
.post-meta > span:not(.chip) { display: inline-flex; align-items: center; gap: 5px; }
.post-card-title { font-size: 17.5px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--primary-2); }
.post-card-excerpt { color: var(--text-2); font-size: 14.5px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { padding: 24px 0 96px; }
.cta-band-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 48px; border-radius: 28px; overflow: hidden; background: radial-gradient(600px 300px at 100% 0%, rgba(139, 92, 246, .35), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(22, 224, 168, .16), transparent 70%), linear-gradient(135deg, #10204a, #0c1430); border: 1px solid rgba(122, 167, 255, .3); }
.cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; letter-spacing: -.02em; margin: 16px 0 10px; text-wrap: balance; }
.cta-band p { color: var(--text-2); margin: 0; font-size: 16px; }
.cta-band-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.cta-band-links { display: flex; gap: 18px; }
.cta-band-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 700; font-size: 14.5px; }
.cta-band-links a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #060912; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-bio { color: var(--muted); font-size: 14.5px; margin: 18px 0; max-width: 340px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--text-2); }
.footer-social a:hover { color: #fff; border-color: var(--primary-2); background: rgba(59, 123, 255, .1); }
.footer-title { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-2); font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-price { color: var(--muted); font-size: 12.5px; font-weight: 700; margin-left: 4px; white-space: nowrap; }
.footer-contacts { margin-bottom: 18px; }
.footer-contacts li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14.5px; }
.footer-contacts .ico { color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px var(--gutter); font-size: 13px; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* ---------- Mobile quick bar ---------- */
.mobile-bar { display: none; }

/* ---------- Modal ---------- */
.contact-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.contact-modal.is-open { opacity: 1; visibility: visible; }
.contact-modal-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 12, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.contact-modal-dialog { position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 40px); overflow-y: auto; padding: 32px; border-radius: 24px; background: linear-gradient(180deg, #111a33, #0b1122); border: 1px solid var(--line-strong); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9); transform: translateY(16px) scale(.98); transition: transform .3s ease; overscroll-behavior: contain; }
.contact-modal.is-open .contact-modal-dialog { transform: none; }
.contact-modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text-2); }
.contact-modal-close:hover { color: #fff; border-color: var(--line-strong); }
.modal-person { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.modal-person img { width: 52px; height: 52px; border-radius: 16px; object-fit: cover; object-position: top; background: var(--surface-2); border: 1px solid var(--line-strong); }
.modal-person strong { display: block; font-size: 15px; }
.modal-person span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green); font-weight: 700; }
.contact-modal h2 { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; margin-bottom: 8px; padding-right: 40px; }
.modal-lead { color: var(--text-2); font-size: 15px; margin-bottom: 18px; }
.modal-service { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; margin-bottom: 16px; border-radius: 12px; background: rgba(59, 123, 255, .1); border: 1px solid rgba(59, 123, 255, .25); font-size: 14px; color: var(--text-2); }
.modal-service strong { color: #fff; }
.modal-service[hidden] { display: none; }
.modal-direct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.modal-direct a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
body.modal-open { overflow: hidden; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; padding: 64px 0 56px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 320px at 85% -10%, rgba(91, 108, 255, .22), transparent 70%), radial-gradient(500px 260px at 0% 100%, rgba(22, 224, 168, .07), transparent 70%); }
.page-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 16px; max-width: 900px; text-wrap: balance; }
.page-subtitle { font-size: 18px; color: var(--text-2); max-width: 720px; margin: 0; text-wrap: pretty; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fact { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); font-weight: 600; }
.fact .ico { color: var(--mint); }
.fact strong { color: #fff; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filter-btn { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); font-weight: 700; font-size: 14px; background: rgba(255,255,255,.02); white-space: nowrap; }
.filter-btn:hover { color: #fff; border-color: rgba(122, 167, 255, .6); }
.filter-btn.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; }
.filter-count { margin-left: 6px; opacity: .7; }

.card { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.card h2 { font-size: 22px; font-weight: 800; }
.card p { color: var(--text-2); }
.card p:last-child { margin-bottom: 0; }

/* Service detail */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.svc-main { display: flex; flex-direction: column; gap: 20px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); font-weight: 600; font-size: 15px; line-height: 1.45; }
.check-item .ico { color: var(--green); margin-top: 1px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(59, 123, 255, .12); color: #9db8ff; margin-bottom: 14px; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.price-summary { padding: 24px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(59,123,255,.16), var(--surface) 70%); border: 1px solid rgba(122, 167, 255, .4); }
.price-summary .price-from { display: block; margin-bottom: 4px; }
.price-summary strong { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.price-summary .price-unit { display: inline-block; margin-left: 6px; }
.price-summary ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 18px 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.price-summary li { display: flex; gap: 8px; }
.price-summary li .ico { color: var(--mint); }
.price-summary .btn + .btn { margin-top: 10px; }
.side-nav { padding: 10px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.side-nav h3 { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 6px; margin: 0; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 12px; color: var(--text-2); font-weight: 600; font-size: 14.5px; }
.side-nav a small { color: var(--muted); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.side-nav a:hover { background: rgba(255,255,255,.04); color: #fff; }
.side-nav a.is-active { background: rgba(59, 123, 255, .14); color: #fff; }

/* Cases page */
.case-list { display: flex; flex-direction: column; gap: 28px; }
.case-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.case-card-media { position: relative; display: flex; align-items: center; padding: 64px 24px 24px; background: radial-gradient(80% 60% at 50% 40%, rgba(59,123,255,.18), transparent 70%), var(--bg-alt); border-right: 1px solid var(--line); }
.case-card-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.case-card-media .case-badges { position: absolute; left: 18px; top: 18px; right: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.case-badges .chip { background: rgba(7, 11, 20, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; border-color: var(--line-strong); }
.case-card-body { padding: 32px; display: flex; flex-direction: column; }
.case-client { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.case-card-title { font-size: 22px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.case-card-summary { color: var(--text-2); font-size: 15px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 20px; }
.metric { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.metric span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.metric strong { font-size: 15.5px; line-height: 1.35; display: block; }
.metric--green { background: rgba(34, 211, 166, .08); border-color: rgba(34, 211, 166, .25); }
.metric--green strong { color: var(--green); font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.metric--blue { background: rgba(59, 123, 255, .08); border-color: rgba(59, 123, 255, .25); }
.case-extra { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 28px 32px 32px; border-top: 1px solid var(--line); background: rgba(255,255,255,.012); }
.case-extra h3 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.deliv-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.deliv-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.deliv-list .ico { color: var(--green); margin-top: 1px; }
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 170px; padding: 24px 4px 0; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; min-width: 0; }
.bar-fill { position: relative; width: 100%; max-width: 44px; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, rgba(122,167,255,.55), rgba(59,123,255,.18)); }
.bar-fill.is-last { background: linear-gradient(180deg, var(--green), rgba(34,211,166,.25)); }
.bar-fill span { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--text-2); white-space: nowrap; opacity: 0; transition: opacity .2s; }
.bar:hover .bar-fill span, .bar-fill.is-last span { opacity: 1; }
.bar-lbl { font-size: 11.5px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.case-card-action { margin-top: auto; padding-top: 8px; }
.empty-state { padding: 60px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }

/* Blog / article */
.article-wrap { max-width: 800px; margin: 0 auto; }
.article-head { padding: 48px 0 28px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; margin-bottom: 24px; }
.back-link .ico { transform: rotate(180deg); }
.article-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; letter-spacing: -.03em; margin: 14px 0 18px; text-wrap: balance; }
.article-lead { font-size: 19px; color: var(--text-2); }
.article-cover { margin: 0 0 40px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--surface-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 17.5px; line-height: 1.8; color: #d5dcea; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; font-weight: 800; margin: 2em 0 .6em; line-height: 1.25; letter-spacing: -.02em; }
.prose h3 { font-size: 21px; font-weight: 800; margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1.1em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(122, 167, 255, .4); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--primary-2); }
.prose strong { color: #fff; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 3px solid var(--primary); background: rgba(59, 123, 255, .07); border-radius: 0 14px 14px 0; color: var(--text); }
.prose img { border-radius: 16px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line-strong); padding: 10px 12px; text-align: left; }
.prose th { background: var(--surface-2); }
.prose code { font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }
.prose pre { overflow-x: auto; padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin: 48px 0 0; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.author-box img { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; object-position: top; border: 1px solid var(--line-strong); background: var(--surface-2); flex: 0 0 auto; }
.author-box h2 { font-size: 18px; margin-bottom: 2px; }
.author-box .role { font-size: 14px; color: var(--mint); font-weight: 700; margin-bottom: 8px; }
.author-box p { color: var(--text-2); font-size: 15px; margin: 0 0 14px; }
.author-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* CMS structured blocks */
.cms-structured-block { padding: 40px 0; }
.cms-structured-card { padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.cms-structured-card h2 { font-size: 26px; font-weight: 800; }
.cms-block-intro { color: var(--text-2); }
.cms-howto-list { list-style: none; counter-reset: h; display: grid; gap: 12px; margin-top: 16px; }
.cms-howto-list li { counter-increment: h; position: relative; padding: 16px 16px 16px 64px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.cms-howto-list li::before { content: counter(h); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--grad-brand); font-weight: 800; font-size: 15px; }
.cms-howto-list p { margin: 4px 0 0; color: var(--text-2); }
.cms-faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.cms-faq-list details { border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.cms-faq-list summary { padding: 16px 18px; font-weight: 700; cursor: pointer; }
.cms-faq-answer { padding: 0 18px 16px; color: var(--text-2); }
.cms-managed-content { color: var(--text-2); }
.cms-managed-content h2, .cms-managed-content h3 { color: var(--text); }
.article-wrap .cms-structured-block .container { padding: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.about-text h2 { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -.02em; margin-bottom: 18px; }
.about-text > p { color: var(--text-2); font-size: 17px; }
.about-text h3 { font-size: 20px; font-weight: 800; margin: 36px 0 16px; }
.principles { list-style: none; counter-reset: p; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.principles li { counter-increment: p; position: relative; padding: 16px 16px 16px 58px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 15px; line-height: 1.5; }
.principles li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 16px; top: 15px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--mint); }
.about-side { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.about-photo { margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-strong); background: linear-gradient(160deg, #19244a, #0c1223 70%); }
.about-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }
.about-photo figcaption { padding: 16px 18px; border-top: 1px solid var(--line); }
.about-photo strong { display: block; font-family: var(--font-display); font-weight: 600; }
.about-photo span { font-size: 13.5px; color: var(--text-2); }
.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.35; display: block; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto; }
.chip-cloud span { padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; color: var(--text-2); }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.calc-form { padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 26px; }
.calc-field { display: flex; flex-direction: column; gap: 10px; }
.range-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--primary) var(--fill, 7%), var(--surface-3) var(--fill, 7%)); outline: none; margin: 8px 0 4px; }
.range-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid var(--primary); cursor: pointer; box-shadow: 0 4px 14px rgba(59,123,255,.5); }
.range-slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--primary); cursor: pointer; }
.range-val { font-size: 15px; color: var(--text-2); }
.range-val span { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: #fff; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 14px; background: rgba(7,11,20,.6); border: 1px solid var(--line-strong); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 18px; border-radius: 10px; text-align: center; font-weight: 700; font-size: 14.5px; color: var(--text-2); transition: .2s; }
.seg input:checked + span { background: var(--grad-brand); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--primary-2); }
.calc-result { position: sticky; top: calc(var(--header-h) + 20px); padding: 32px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(59,123,255,.18), var(--surface) 60%); border: 1px solid rgba(122, 167, 255, .4); }
.calc-result h2 { font-size: 15px; font-weight: 700; color: var(--text-2); margin-bottom: 20px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.calc-row span { color: var(--text-2); font-size: 14.5px; }
.calc-row strong { font-family: var(--font-display); font-weight: 600; font-size: 19px; text-align: right; }
.calc-row--main strong { color: var(--green); font-size: 24px; }
.calc-plan { margin: 20px 0; padding: 16px; border-radius: 14px; background: rgba(7,11,20,.5); border: 1px solid var(--line); }
.calc-plan span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.calc-plan h3 { font-size: 17px; margin: 4px 0 0; }
.calc-disclaimer { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, transform .2s; }
a.contact-card:hover { border-color: rgba(122, 167, 255, .5); transform: translateY(-2px); color: var(--text); }
.contact-card-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(59, 123, 255, .12); color: #9db8ff; flex: 0 0 auto; }
.contact-card small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact-card strong { font-size: 16px; word-break: break-word; }
.hours { padding: 18px 20px; border-radius: 18px; background: rgba(34, 211, 166, .06); border: 1px solid rgba(34, 211, 166, .25); }
.hours strong { display: flex; align-items: center; gap: 8px; }
.hours small { color: var(--text-2); font-size: 14px; }
.form-card { padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.form-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }

/* ==========================================================================
   v9 — portfolio, case stories, 404, article CTA blocks
   ========================================================================== */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.social-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.about-social { display: grid; gap: 10px; }
.chip--muted { background: rgba(255,255,255,.05); color: var(--text-2); border-color: var(--line-strong); }

/* Expertise tiles (home) */
.exp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.exp-tile { padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), rgba(14,21,40,.6)); border: 1px solid var(--line); }
.exp-tile h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.exp-tile p { color: var(--text-2); font-size: 15px; margin: 0; }

/* Area sparkline */
.case-area { width: 100%; height: 72px; margin-bottom: 16px; overflow: visible; }
.case-tile h3 a { color: var(--text); }
.case-tile h3 a:hover { color: var(--primary-2); }

/* Portfolio totals */
.portfolio-totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 32px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); max-width: 980px; }
.portfolio-totals > div { display: flex; flex-direction: column; padding: 0 20px; }
.portfolio-totals > div:first-child { padding-left: 0; }
.portfolio-totals > div + div { border-left: 1px solid var(--line); }
.portfolio-totals dt { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.35; }
.portfolio-totals dd { order: -1; margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -.02em; white-space: nowrap; }
.portfolio-totals .arrow { color: var(--muted); font-size: .7em; }

/* Story cards (cases list) */
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.story-card { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s, box-shadow .25s; }
.story-card:hover { border-color: rgba(122, 167, 255, .4); transform: translateY(-3px); box-shadow: var(--shadow); }
.story-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.story-chart { position: relative; padding: 18px 18px 12px; margin-bottom: 20px; border-radius: 18px; background: radial-gradient(120% 90% at 100% 0%, rgba(34,211,166,.12), transparent 60%), var(--bg-alt); border: 1px solid var(--line); }
.story-chart .case-area { height: 96px; margin: 8px 0 6px; }
.story-x { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -.03em; color: var(--green); }
.story-x small { font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--text-2); letter-spacing: 0; }
.story-ba { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.story-ba span:last-child { color: var(--text); }
.story-title { font-size: 19px; font-weight: 800; line-height: 1.35; margin-bottom: 16px; }
.story-title a { color: var(--text); }
.story-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.story-title a:hover { color: var(--primary-2); }
.story-line { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.story-line > span { display: inline-flex; align-items: flex-start; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.story-line--problem .ico { color: var(--amber); }
.story-line--result .ico { color: var(--green); }
.story-line p { margin: 0; font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.story-line--problem p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-line--result p { color: var(--text); font-weight: 700; }
.story-more { margin-top: auto; padding-top: 14px; position: relative; z-index: 1; }

/* Case page */
.case-hero .back-link { margin-bottom: 18px; }
.case-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.case-client-line { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600; margin: 0; }
.case-client-line .ico { color: var(--muted); }
.kpi-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 18px; background: rgba(14, 21, 40, .75); border: 1px solid var(--line-strong); }
.kpi-label { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kpi-ba { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; white-space: nowrap; }
.kpi-ba s { color: var(--muted); text-decoration-thickness: 1px; font-size: .8em; }
.kpi-ba strong { color: #fff; font-weight: 600; }
.kpi-big { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1.05; letter-spacing: -.03em; }
.kpi-text { font-size: 16px; line-height: 1.4; }
.kpi-sub { font-size: 13px; color: var(--text-2); line-height: 1.4; }
.kpi--green { background: rgba(34, 211, 166, .08); border-color: rgba(34, 211, 166, .3); }
.kpi--green .kpi-big { color: var(--green); }
.kpi--blue { background: rgba(59, 123, 255, .1); border-color: rgba(59, 123, 255, .3); }
.section--case-chart { padding: 56px 0; }
.chart-card { padding: 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.chart-card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
.chart-card-head h2 { font-size: 20px; font-weight: 800; margin: 0; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg::before { content: ""; width: 18px; height: 4px; border-radius: 4px; }
.lg--t::before { background: #5b8cff; }
.lg--k::before { background: var(--green); }
.case-chart { position: relative; }
.case-chart-svg { width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.cc-grid { stroke: rgba(148, 163, 184, .12); stroke-width: 1; }
.cc-axis { fill: var(--muted); font-size: 11px; font-weight: 700; font-family: var(--font); }
.cc-axis--k { fill: rgba(34, 211, 166, .75); }
.cc-line-t { fill: none; stroke: #5b8cff; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.cc-line-k { fill: none; stroke: var(--green); stroke-width: 2.2; stroke-dasharray: 5 5; stroke-linejoin: round; }
.cc-dot-t { fill: var(--bg); stroke: #5b8cff; stroke-width: 2.5; }
.cc-dot-t.is-last { fill: #5b8cff; }
.cc-dot-k { fill: var(--bg); stroke: var(--green); stroke-width: 2; }
.cc-hit { fill: transparent; cursor: crosshair; }
.cc-cursor { stroke: rgba(255,255,255,.25); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; transition: opacity .15s; }
.case-chart.is-hover .cc-cursor { opacity: 1; }
.cc-tip { position: absolute; top: 8px; transform: translateX(-50%); min-width: 150px; padding: 10px 12px; border-radius: 12px; background: rgba(7, 11, 20, .95); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 13px; color: var(--text-2); pointer-events: none; white-space: nowrap; z-index: 2; }
.cc-tip strong { display: block; color: #fff; margin-bottom: 4px; }
.cc-tip b { color: #fff; }
.cc-tip .t::before, .cc-tip .k::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.cc-tip .t::before { background: #5b8cff; } .cc-tip .k::before { background: var(--green); }
.chart-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.story-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-step { position: relative; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.story-step--result { background: linear-gradient(180deg, rgba(34,211,166,.08), var(--surface) 60%); border-color: rgba(34, 211, 166, .28); }
.story-step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--surface-2); border: 1px solid rgba(122,167,255,.4); font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.story-step--result .story-step-num { border-color: rgba(34,211,166,.5); color: var(--green); }
.story-step h2 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.story-step > p { color: var(--text-2); font-size: 15.5px; margin: 0; }
.result-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.result-list li { display: flex; gap: 10px; font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.45; }
.result-list .ico { color: var(--green); margin-top: 1px; }
.insight { display: flex; gap: 20px; margin: 28px 0 0; padding: 28px 32px; border-radius: 22px; background: radial-gradient(500px 200px at 0% 0%, rgba(255, 200, 97, .1), transparent 70%), var(--surface); border: 1px solid rgba(255, 200, 97, .25); }
.insight-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 200, 97, .12); color: var(--amber); flex: 0 0 auto; }
.insight .kicker { color: var(--amber); margin-bottom: 8px; }
.insight blockquote { margin: 0 0 14px; }
.insight blockquote p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--text); font-weight: 600; text-wrap: pretty; }
.insight figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); font-weight: 700; }
.insight figcaption img { width: 36px; height: 36px; border-radius: 12px; object-fit: cover; object-position: top; }
.case-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.case-pager-link { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, transform .2s; }
.case-pager-link:hover { border-color: rgba(122, 167, 255, .5); transform: translateY(-2px); color: var(--text); }
.case-pager-link small { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-2); }
.case-pager-link strong { font-size: 16px; line-height: 1.4; }
.case-pager-link--next { text-align: right; }

/* 404 */
.nf-hero { position: relative; padding: 72px 0 64px; overflow: hidden; isolation: isolate; }
.nf-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 360px at 80% 20%, rgba(91, 108, 255, .22), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(255, 107, 125, .08), transparent 70%); }
.nf-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.nf-serp { border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.nf-serp-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.nf-serp-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.nf-serp-bar em { margin-left: 8px; flex: 1; min-width: 0; padding: 5px 10px; border-radius: 8px; background: rgba(7,11,20,.6); font-style: normal; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-code { padding: 28px 20px 8px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(84px, 12vw, 150px); line-height: 1; letter-spacing: -.05em; background: var(--grad-google); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-status { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 10px 20px 26px; }
.nf-pill { padding: 6px 12px; border-radius: 999px; background: rgba(255, 107, 125, .12); border: 1px solid rgba(255, 107, 125, .3); color: var(--red); font-size: 12.5px; font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.nf-pill--muted { background: rgba(255,255,255,.04); border-color: var(--line-strong); color: var(--text-2); }

/* Article content blocks inserted from the admin editor */
.prose figure { margin: 1.6em 0; }
.prose figure img { width: 100%; }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.prose img.align-left, .prose figure.align-left { float: left; max-width: 46%; margin: .3em 1.4em 1em 0; }
.prose img.align-right, .prose figure.align-right { float: right; max-width: 46%; margin: .3em 0 1em 1.4em; }
.prose img.align-center, .prose figure.align-center { margin-left: auto; margin-right: auto; }
.prose::after { content: ""; display: table; clear: both; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; }
.prose .post-cta { margin: 2em 0; padding: 26px 28px; border-radius: 22px; background: radial-gradient(500px 200px at 100% 0%, rgba(139, 92, 246, .3), transparent 70%), linear-gradient(135deg, #10204a, #0c1430); border: 1px solid rgba(122, 167, 255, .35); }
.prose .post-cta > * + * { margin-top: .6em; }
.prose .post-cta h3, .prose .post-cta .post-cta-title { margin: 0; font-size: 21px; font-weight: 800; color: #fff; }
.prose .post-cta p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.6; }
.prose .post-cta .post-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.prose a.btn { text-decoration: none; color: #fff; }
.prose a.btn-ghost { color: var(--text); }
.prose .post-cta--soft { background: rgba(34, 211, 166, .06); border-color: rgba(34, 211, 166, .3); }
.prose .post-note { margin: 1.6em 0; padding: 18px 22px; border-radius: 16px; background: rgba(255, 200, 97, .08); border: 1px solid rgba(255, 200, 97, .3); color: var(--text); }
.prose .post-note::before { content: "💡 "; }
.prose .post-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-link { padding: 9px 9px; font-size: 14px; }
  .lang-switch a { padding: 5px 6px; }
  .brand-sub { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 11, 20, .97); }
  .float-card--top { top: 22%; bottom: auto; right: -8px; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 16px var(--gutter) calc(96px + env(safe-area-inset-bottom));
    background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s ease;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-link { justify-content: space-between; padding: 14px 12px; font-size: 17px; border-radius: 12px; width: 100%; }
  .nav-dropdown { width: 100%; }
  .nav-link.is-active { box-shadow: inset 3px 0 0 var(--primary); }
  .nav-dropdown-menu { position: static; width: auto; transform: none; opacity: 1; visibility: visible; display: none; margin: 4px 0 8px; box-shadow: none; background: var(--surface); }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown.open .nav-chevron { transform: rotate(180deg); }
  .nav-dropdown:hover .nav-dropdown-menu { transform: none; }
  .nav-mobile-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
  .nav-toggle { display: inline-block; }
  .header-actions { margin-left: auto; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-visual { max-width: 460px; width: 100%; margin: 0 auto; }
  .audit-box { grid-template-columns: 1fr; }
  .service-grid, .case-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 26px; }
  .price-desc { min-height: 0; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-layout .section-head--left { position: static; }
  .cta-band-inner { grid-template-columns: 1fr; padding: 36px; }
  .cta-band-actions { align-items: flex-start; }
  .svc-layout, .about-grid, .calc, .contact-grid { grid-template-columns: 1fr; }
  .svc-aside, .about-side, .calc-result { position: static; }
  .case-card { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-steps { grid-template-columns: 1fr; }
  .nf-grid { grid-template-columns: 1fr; gap: 32px; }
  .nf-visual { max-width: 460px; }
  .social-buttons { justify-content: flex-start; }
  .portfolio-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .portfolio-totals > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .case-card-media { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; flex-direction: column; align-items: stretch; gap: 14px; }
  .case-card-media .case-badges { position: static; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-sub { font-size: 16px; }
  .header-cta { display: none; }
  .brand-mark { width: 36px; height: 36px; font-size: 13px; border-radius: 11px; }
  .brand-name { font-size: 14px; }
  .hero-title { font-size: clamp(30px, 8.6vw, 44px); line-height: 1.08; }
  .hero-lead { font-size: 16.5px; }
  .hero-actions .btn { width: 100%; }
  .btn { white-space: normal; }
  .hero-visual { overflow: visible; max-width: 400px; }
  .hero-stats dd { font-size: 23px; }
  .hero-stats > div { padding-right: 12px; } .hero-stats > div + div { padding-left: 12px; }
  .hero-visual { padding: 18px 8px 24px 20px; }
  .float-card--growth { width: 160px; left: -4px; }
  .float-card--top { right: -4px; }
  .tools-strip { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 40px; }
  .tools-strip ul { gap: 6px 18px; }
  .tools-strip li { font-size: 14px; }
  .audit-box { padding: 22px; }
  .audit-form { grid-template-columns: 1fr; }
  .audit-box-ico { display: none; }
  .service-grid, .case-grid, .post-grid { grid-template-columns: 1fr; }
  .service-tile { padding: 22px; }
  .pricing-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; width: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; border-left: 0; border-right: 0; padding: 8px var(--gutter); }
  .pricing-tabs::-webkit-scrollbar { display: none; }
  .pricing-tab { scroll-snap-align: start; padding: 10px 14px; font-size: 14px; }
  .price-card { padding: 26px 20px 22px; }
  .price-amount strong { font-size: 34px; }
  .compare { border-radius: 18px; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row .compare-label { grid-column: 1 / -1; padding: 14px 16px 4px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
  .compare-row .compare-me, .compare-row .compare-them { border-top: 0; padding: 6px 16px 14px; font-size: 14px; align-items: flex-start; }
  .compare-row .compare-me { background: transparent; }
  .compare-head { display: none; }
  .compare-row .compare-me .ico, .compare-row .compare-them .ico { margin-top: 2px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding-bottom: 24px; }
  .step::after { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: linear-gradient(180deg, rgba(59,123,255,.5), transparent); }
  .step:last-child::after { display: none; }
  .step-num { grid-row: span 3; margin: 0; }
  .step h3, .step p, .step-when { grid-column: 2; }
  .faq-item summary { padding: 16px; font-size: 15.5px; }
  .faq-answer { padding: 0 16px 16px; }
  .cta-band { padding: 8px 0 64px; }
  .cta-band-inner { padding: 28px 22px; border-radius: 22px; }
  .cta-band-actions, .cta-band-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); padding-top: 48px; }
  .mobile-bar { position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 11, 20, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s ease; }
  .mobile-bar.is-visible { transform: none; }
  .nav-open .mobile-bar, .modal-open .mobile-bar { transform: translateY(110%); }
  .mobile-bar-link { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-strong); color: var(--text); flex: 0 0 auto; }
  .mobile-bar-cta { flex: 1; min-height: 48px; min-width: 0; padding-left: 12px; padding-right: 12px; }
  .contact-modal { padding: 0; align-items: flex-end; }
  .contact-modal-dialog { max-width: none; border-radius: 24px 24px 0 0; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); max-height: 92dvh; transform: translateY(40px); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .page-hero { padding: 40px 0 36px; }
  .page-subtitle { font-size: 16.5px; }
  .page-hero-actions .btn { flex: 1 1 100%; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .card { padding: 22px; }
  .check-grid, .two-col { grid-template-columns: 1fr; }
  .case-card-body { padding: 22px; }
  .case-card-title { font-size: 19px; }
  .case-extra { grid-template-columns: 1fr; padding: 22px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .bar-chart { gap: 4px; height: 150px; }
  .bar-lbl { font-size: 10.5px; }
  .principles { grid-template-columns: 1fr; }
  .exp-grid, .story-grid, .case-pager { grid-template-columns: 1fr; }
  .exp-tile { padding: 22px; }
  .story-card { padding: 20px; border-radius: 22px; }
  .story-line { grid-template-columns: 1fr; gap: 4px; }
  .story-x { font-size: 34px; }
  .portfolio-totals dd { font-size: 22px; white-space: normal; }
  .portfolio-totals > div { padding: 0 12px; }
  .portfolio-totals > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .kpi-row { gap: 10px; }
  .kpi { padding: 14px 16px; }
  .kpi-ba { font-size: 17px; white-space: normal; }
  .kpi-big { font-size: 28px; }
  .chart-card { padding: 18px 12px; border-radius: 20px; }
  .chart-card-head { padding: 0 6px; }
  .chart-note { padding: 0 6px; }
  .story-step { padding: 22px; }
  .insight { flex-direction: column; padding: 22px; gap: 14px; }
  .insight blockquote p { font-size: 17px; }
  .case-pager-link--next { text-align: left; }
  .nf-hero { padding: 40px 0 40px; }
  .social-buttons .btn { flex: 1 1 100%; }
  .prose img.align-left, .prose figure.align-left, .prose img.align-right, .prose figure.align-right { float: none; max-width: 100%; margin: 1.2em 0; }
  .prose .post-cta { padding: 22px 20px; }
  .prose .post-cols { grid-template-columns: 1fr; }
  .calc-form, .calc-result, .form-card { padding: 22px; }
  .seg { display: grid; width: 100%; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 23px; }
  .author-box { flex-direction: column; }
  .cms-structured-card { padding: 22px; }
}

@media (max-width: 400px) {
  .brand-copy { display: none; }
  .hero-stats dt { font-size: 12px; }
  .metric-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
  .float-card--top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .contact-modal, .cta-band, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
}

/* v10: photo in the footer CTA, speaker photo on About */
.cta-band-person { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cta-band-person img { width: 64px; height: 64px; border-radius: 20px; object-fit: cover; border: 1px solid var(--line-strong); background: var(--surface-2); flex: 0 0 auto; }
.cta-band-person strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.cta-band-person span { font-size: 13.5px; color: var(--text-2); }
.about-photo picture { display: block; }
.about-photo--talk { margin-top: 16px; }
.about-photo--talk img { aspect-ratio: 372 / 420; object-position: center top; }

/* ==========================================================================
   v11 — Tools: list page (/tools) and the keyword volume tool
   ========================================================================== */
.back-link--block { display: table; display: flex; width: -webkit-max-content; width: max-content; max-width: 100%; }

.tool-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tool-grid > li { display: flex; min-width: 0; }
.tool-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .25s, transform .25s, box-shadow .25s; }
a.tool-tile:hover { color: var(--text); border-color: rgba(122, 167, 255, .45); transform: translateY(-3px); box-shadow: var(--shadow); }
.tool-tile-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 16px; background: rgba(59, 123, 255, .14); border: 1px solid rgba(122, 167, 255, .28); color: #a9c2ff; }
.tool-tile h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.tool-tile p { color: var(--text-2); font-size: 15px; margin-bottom: 18px; }
.tool-tile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.tool-tile .link-arrow { margin-top: auto; white-space: normal; text-align: left; }
a.tool-tile:hover .link-arrow .ico { transform: translateX(3px); }
.tool-tile--soon { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.tool-tile--soon .tool-tile-ico { background: rgba(22, 224, 168, .1); border-color: rgba(22, 224, 168, .25); color: var(--mint); }
.tool-tile-btn { padding: 0; border: 0; background: none; color: var(--primary-2); }
.tool-tile-btn:hover { color: #8fb0ff; }

/* Keyword volume tool */
.kv-section { padding: 56px 0 80px; }
.kv { color-scheme: dark; }
.kv [hidden] { display: none !important; }
.kv-card { padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; align-items: start; }
.kv-field { margin-bottom: 0; }
.kv-field > label, .kv-label-row label { font-size: 14px; color: var(--text); }
.kv-input-wrap { position: relative; }
.kv-input-wrap .form-input { padding-right: 104px; }
.kv-inline-btn { position: absolute; top: 5px; right: 5px; bottom: 5px; min-width: 88px; padding: 0 12px; border: 0; border-radius: 9px; background: rgba(59, 123, 255, .14); color: #c3d4ff; font-size: 13.5px; font-weight: 700; transition: background .2s, color .2s; }
.kv-inline-btn:hover { background: rgba(59, 123, 255, .26); color: #fff; }
.kv-check { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; margin-top: 4px; font-size: 14.5px !important; font-weight: 500 !important; color: var(--text-2) !important; cursor: pointer; -webkit-user-select: none; user-select: none; }
.kv-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.kv-note { display: block; color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.kv-text-btn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 32px; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--primary-2); font-size: 14.5px; font-weight: 700; text-align: left; }
.kv-text-btn:hover { color: #9db8ff; }
.kv-text-btn[disabled] { opacity: .55; cursor: progress; }
.kv-keywords { margin-top: 26px; }
.kv-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.kv-label-row label { font-weight: 700; }
.kv-count { color: var(--mint); font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kv-count.is-over { color: var(--red); }
.kv textarea.form-input { min-height: 240px; line-height: 1.6; }
.kv-message { margin: 20px 0 0; padding: 13px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; word-break: break-word; }
.kv-message.is-error { background: rgba(255, 107, 125, .12); border: 1px solid rgba(255, 107, 125, .32); color: #ff9aa7; }
.kv-progress { margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.kv-progress-copy { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--text-2); }
.kv-progress-copy strong { color: #fff; font-variant-numeric: tabular-nums; }
.kv-progress-track { height: 8px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.kv-progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--grad-google); transition: width .3s ease; }
.kv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.kv-btn-danger { background: rgba(255, 107, 125, .12); border-color: rgba(255, 107, 125, .4); color: #ff9aa7; }
.kv-btn-danger:hover { background: rgba(255, 107, 125, .2); color: #fff; }

.kv-results { margin-top: 24px; scroll-margin-top: calc(var(--header-h) + 16px); }
.kv-results:focus { outline: none; }
.kv-results-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.kv-results-head h2 { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.kv-results-head p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.kv-results-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.kv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.kv-stats > div { display: flex; flex-direction: column; padding: 0 20px; min-width: 0; }
.kv-stats > div:first-child { padding-left: 0; }
.kv-stats > div + div { border-left: 1px solid var(--line); }
.kv-stats dt { font-size: 13px; color: var(--text-2); font-weight: 600; line-height: 1.35; }
.kv-stats dd { order: -1; margin: 0 0 2px; font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kv-stats dd.grad-google { align-self: flex-start; }
.kv-table-wrap { max-height: 620px; margin-top: 22px; overflow: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(7, 11, 20, .45); }
.kv-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.kv-table th { position: -webkit-sticky; position: sticky; top: 0; z-index: 1; padding: 0; background: var(--surface-3); border-bottom: 1px solid var(--line-strong); color: var(--text-2); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.kv-table th.kv-col-num { padding: 13px 8px 13px 16px; }
.kv-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv-table tbody tr:last-child td { border-bottom: 0; }
.kv-table tbody tr:hover td { background: rgba(59, 123, 255, .07); }
.kv-col-num { width: 1%; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kv-table td.kv-col-num { padding-right: 8px; }
.kv-col-kw { color: var(--text); font-weight: 600; overflow-wrap: anywhere; word-break: break-word; }
.kv-table .kv-col-vol { width: 1%; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kv-table td.kv-col-vol { color: var(--green); font-weight: 800; }
.kv-table tr.is-empty td.kv-col-vol, .kv-table tr.is-empty td.kv-col-kw { color: var(--muted); font-weight: 600; }
.kv-sort { display: inline-flex; align-items: center; gap: 8px; width: 100%; padding: 13px 16px; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: inherit; }
.kv-col-vol .kv-sort { justify-content: flex-end; }
.kv-sort:hover, .kv-sort.is-asc, .kv-sort.is-desc { color: #fff; }
.kv-sort i { position: relative; flex: 0 0 auto; width: 8px; height: 12px; }
.kv-sort i::before, .kv-sort i::after { content: ""; position: absolute; left: 0; border: 4px solid transparent; opacity: .4; }
.kv-sort i::before { top: -3px; border-bottom-color: currentColor; }
.kv-sort i::after { bottom: -3px; border-top-color: currentColor; }
.kv-sort.is-asc i::before, .kv-sort.is-desc i::after { opacity: 1; color: var(--mint); }
.steps.kv-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

@media (max-width: 1024px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tool-grid { grid-template-columns: 1fr; gap: 16px; }
  .tool-tile { padding: 22px; border-radius: 22px; }
  .kv-section { padding: 32px 0 56px; }
  .kv-card { padding: 20px 16px; border-radius: 20px; }
  .kv-grid { grid-template-columns: 1fr; gap: 22px; }
  .kv-keywords { margin-top: 22px; }
  .kv textarea.form-input { min-height: 200px; }
  .kv-check, .kv-text-btn { min-height: 40px; }
  .kv-actions { flex-direction: column; }
  .kv-actions .btn { width: 100%; }
  .kv-results-head { flex-direction: column; align-items: stretch; gap: 16px; }
  .kv-results-actions .btn { flex: 1 1 0; min-width: 0; padding-left: 12px; padding-right: 12px; }
  .kv-stats > div { padding: 0 10px; }
  .kv-stats dd { font-size: 19px; }
  .kv-stats dt { font-size: 12px; }
  .kv-table-wrap { max-height: 70vh; border-radius: 14px; }
  .kv-table { font-size: 14.5px; }
  .kv-table td { padding: 11px 10px; }
  .kv-sort { padding: 12px 10px; }
  .kv-table th.kv-col-num { padding: 12px 4px 12px 10px; }
  .kv-table td.kv-col-num { padding-right: 4px; }
  .steps.kv-steps { grid-template-columns: 1fr; gap: 0; }
}
@media print {
  .kv-card:not(.kv-results), .kv-results-actions { display: none !important; }
  .kv-table-wrap { max-height: none; overflow: visible; }
}

/* ==========================================================================
   v12 — required form fields
   ========================================================================== */
.form-group label .req { color: var(--red); font-weight: 800; }
.form-group label .opt { margin-left: 4px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.form-input.is-invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 107, 125, .14); }
.field-error { display: block; margin-top: 6px; color: #ff9aa7; font-size: 13px; font-weight: 600; line-height: 1.4; }
select.form-input:invalid { color: #66738d; }

/* ==========================================================================
   v12 — Technical SEO audit checklist (/tools/tech-audit-checklist)
   ========================================================================== */
.ta-section { padding: 56px 0 80px; }
.ta { color-scheme: dark; }
.ta [hidden] { display: none !important; }
.ta-panel { position: -webkit-sticky; position: sticky; top: calc(var(--header-h) + 10px); z-index: 20; padding: 22px 24px; border-radius: var(--radius-lg); background: rgba(14, 21, 40, .94); border: 1px solid var(--line-strong); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ta-panel-top { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: end; }
.ta-project { margin-bottom: 0; }
.ta-project label { font-size: 13px; color: var(--text-2); }
.ta-progress-copy { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--text-2); font-weight: 600; }
.ta-progress-copy strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.ta-track { display: flex; height: 10px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.ta-track span { display: block; width: 0; height: 100%; transition: width .3s ease; }
#taBarOk { background: var(--green); }
#taBarBad { background: var(--red); }
#taBarNa { background: #5d6b87; }
.ta-stats { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 0; font-size: 13.5px; color: var(--text-2); }
.ta-stats > div { display: inline-flex; align-items: center; gap: 7px; }
.ta-stats > div::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.ta-stats .is-ok::before { background: var(--green); }
.ta-stats .is-bad::before { background: var(--red); }
.ta-stats .is-na::before { background: #5d6b87; }
.ta-stats dt { font-weight: 600; }
.ta-stats dd { margin: 0; color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }
.ta-panel-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ta-filters, .ta-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ta-filter { min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); font-size: 14px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.ta-filter:hover { color: #fff; border-color: rgba(122, 167, 255, .6); }
.ta-filter.is-active { background: rgba(59, 123, 255, .18); border-color: rgba(122, 167, 255, .6); color: #fff; }
.ta-actions .btn-sm { min-height: 38px; padding: 7px 13px; gap: 7px; }
.ta-reset.is-armed { border-color: rgba(255, 107, 125, .6); background: rgba(255, 107, 125, .14); color: #ff9aa7; }
.ta-done { margin: 16px 0 0; padding: 11px 14px; border-radius: 12px; background: rgba(34, 211, 166, .12); border: 1px solid rgba(34, 211, 166, .3); color: var(--green); font-size: 14.5px; font-weight: 700; }

.ta-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.ta-toc a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 13.5px; font-weight: 700; }
.ta-toc a:hover { color: #fff; border-color: rgba(122, 167, 255, .5); }
.ta-toc i { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--text-2); font-style: normal; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.ta-toc a.is-done i { background: rgba(34, 211, 166, .18); color: var(--green); }
.ta-toc a.has-bad i { background: rgba(255, 107, 125, .18); color: #ff9aa7; }

.ta-sec { margin-top: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 230px); }
.ta-sec > summary { display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none; -webkit-user-select: none; user-select: none; }
.ta-sec > summary::-webkit-details-marker { display: none; }
.ta-sec-ico { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: rgba(59, 123, 255, .14); border: 1px solid rgba(122, 167, 255, .28); color: #a9c2ff; }
.ta-sec h2 { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 18px; font-weight: 800; line-height: 1.3; }
.ta-sec-num { margin-right: 6px; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.ta-sec-count { flex: 0 0 auto; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--text-2); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ta-sec-count.is-done { background: rgba(34, 211, 166, .16); color: var(--green); }
.ta-sec-count.has-bad { background: rgba(255, 107, 125, .16); color: #ff9aa7; }
.ta-sec-caret { flex: 0 0 auto; width: 10px; height: 10px; margin: 0 4px 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.ta-sec[open] .ta-sec-caret { transform: rotate(225deg); margin: 4px 4px 0; }
.ta-items { list-style: none; margin: 0; padding: 0 22px 8px; }
.ta-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: start; padding: 18px 0 18px 16px; border-top: 1px solid var(--line); border-left: 3px solid transparent; margin-left: -16px; }
.ta-item.is-ok { border-left-color: var(--green); }
.ta-item.is-bad { border-left-color: var(--red); }
.ta-item.is-na { border-left-color: #5d6b87; }
.ta-item-body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.ta-item h3 { order: 2; margin: 0 0 6px; font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 1.45; letter-spacing: 0; color: var(--text); overflow-wrap: anywhere; }
.ta-item p { order: 3; margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.6; overflow-wrap: anywhere; }
.ta-item.is-ok h3, .ta-item.is-na h3 { color: var(--text-2); }
.ta-item.is-na h3 { text-decoration: line-through; text-decoration-color: rgba(183, 194, 214, .45); }
.ta-prio { order: 1; margin-bottom: 8px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ta-prio--1 { background: rgba(255, 107, 125, .14); color: #ff9aa7; }
.ta-prio--2 { background: rgba(255, 200, 97, .14); color: var(--amber); }
.ta-prio--3 { background: rgba(255, 255, 255, .07); color: var(--text-2); }
.ta-note-btn { order: 4; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--primary-2); font-size: 13.5px; font-weight: 700; }
.ta-note-btn:hover { color: #9db8ff; }
.ta-note { order: 5; margin-top: 12px; min-height: 64px; font-size: 14.5px; line-height: 1.5; resize: vertical; }
.ta-status { display: inline-flex; flex: 0 0 auto; padding: 4px; border-radius: 14px; background: rgba(7, 11, 20, .6); border: 1px solid var(--line-strong); }
.ta-st { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 6px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 700; white-space: nowrap; transition: background .15s, color .15s; }
.ta-st:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.ta-st--ok[aria-pressed="true"] { background: rgba(34, 211, 166, .18); color: var(--green); }
.ta-st--bad[aria-pressed="true"] { background: rgba(255, 107, 125, .18); color: #ff9aa7; }
.ta-st--na[aria-pressed="true"] { background: rgba(148, 163, 184, .2); color: #dbe3f1; }
.ta-empty { margin: 16px 0 0; padding: 28px; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); color: var(--text-2); text-align: center; }
.ta-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 26px 28px; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(59, 123, 255, .16), rgba(22, 224, 168, .1)); border: 1px solid rgba(122, 167, 255, .3); }
.ta-cta h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.ta-cta p { margin: 0; color: var(--text-2); font-size: 15px; }
.ta-cta .btn { flex: 0 0 auto; }

@media (max-width: 1024px) {
  .ta-panel-top { grid-template-columns: 1fr; gap: 16px; }
  .ta-sec { scroll-margin-top: calc(var(--header-h) + 16px); }
  .ta-panel { position: static; }
}
@media (max-height: 820px) {
  .ta-panel { position: static; }
  .ta-sec { scroll-margin-top: calc(var(--header-h) + 16px); }
}
@media (max-width: 760px) {
  .tool-grid { grid-template-columns: 1fr; }
  .ta-section { padding: 32px 0 56px; }
  .ta-panel { padding: 18px 16px; border-radius: 20px; }
  .ta-panel-bottom { display: block; }
  .ta-actions { margin-top: 12px; }
  .ta-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .ta-filters::-webkit-scrollbar { display: none; }
  .ta-filter { flex: 0 0 auto; min-height: 42px; }
  .ta-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ta-actions .btn-sm { min-width: 0; min-height: 44px; }
  .ta-toc { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .ta-toc::-webkit-scrollbar { display: none; }
  .ta-toc a { flex: 0 0 auto; white-space: nowrap; }
  .ta-sec { border-radius: 20px; }
  .ta-sec > summary { padding: 16px; gap: 12px; }
  .ta-sec-ico { width: 36px; height: 36px; }
  .ta-sec h2 { font-size: 16px; }
  .ta-sec-num { display: none; }
  .ta-items { padding: 0 16px 4px; }
  .ta-item { grid-template-columns: 1fr; gap: 12px; padding: 16px 0 16px 13px; margin-left: -16px; padding-left: 13px; }
  .ta-status { display: flex; }
  .ta-st { flex: 1 1 0; min-height: 44px; padding: 6px 8px; }
  .ta-cta { flex-direction: column; align-items: stretch; padding: 22px 18px; }
}
@media print {
  .site-header, .site-footer, .cta-band, .mobile-bar, .contact-modal, .breadcrumbs, .ta-panel-bottom, .ta-toc, .ta-cta, .ta-note-btn, .back-link, .page-hero-facts, .ta-section ~ .section, .ta-sec-caret { display: none !important; }
  body, .ta-panel, .ta-sec { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .ta-panel { position: static; border: 1px solid #bbb; }
  .ta-sec { border: 1px solid #bbb; break-inside: auto; }
  .ta-item { break-inside: avoid; }
  .ta-item h3, .ta-sec h2, .page-title, .ta-progress-copy strong, .ta-stats dd { color: #000 !important; -webkit-text-fill-color: #000 !important; }
  .ta-item p, .ta-progress-copy, .ta-stats, .page-subtitle { color: #333 !important; }
  .ta-st { color: #999; }
  .ta-st[aria-pressed="true"] { color: #000 !important; outline: 1.5px solid #000; }
  .ta-note { border: 1px solid #bbb; background: #fff; color: #000; }
}
