/* Help Context: site styles. Hand-written, no build step.
   Tokens follow the landing brandbook (help-context.com repo, BRANDBOOK.md): dark shell, Unbounded headlines,
   Manrope text, blue to purple accents, soft glass cards. Mobile first: base rules are for phones, wider screens
   are added with min-width queries. After an edit, raise ASSET_VERSION in tools/build.py. */

/* ---------- fonts: @fontsource 5.2.8, SIL OFL 1.1 (tools/setup_assets.py) ---------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-cyrillic-400.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-latin-400.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: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-cyrillic-600.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600.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: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-cyrillic-700.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700.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-weight: 600; font-display: swap; src: url("../fonts/unbounded-cyrillic-600.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-weight: 600; font-display: swap; src: url("../fonts/unbounded-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/unbounded-latin-600.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; }
/* Fallbacks sized to the web fonts' width, so lines wrap the same way before and after the fonts arrive (no shift). */
@font-face { font-family: "Unbounded Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 124%; ascent-override: 78%; descent-override: 19%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 103%; ascent-override: 103%; descent-override: 29%; line-gap-override: 0%; }

/* ---------- tokens ---------- */
:root {
  --bg: #0A0F1C;
  --bg-2: #07101D;
  --panel: #0E1527;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #F8FAFC;
  --soft: #CBD5E1;
  --muted: #94A3B8;
  --dim: #7D8BA3;
  --blue: #60A5FA;
  --blue-6: #2563EB;
  --purple: #C084FC;
  --purple-6: #9333EA;
  --pink: #F472B6;
  --indigo: #818CF8;
  --teal: #2DD4BF;
  --emerald: #34D399;
  --amber: #FBBF24;
  --rose: #FB7185;
  --sky: #38BDF8;
  --paper: #FFFFFF;
  --ink: #0F172A;
  --ink-2: #475569;
  --ink-3: #94A3B8;
  --rule: #E2E8F0;
  --grad: linear-gradient(100deg, #2563EB 0%, #7C3AED 62%, #9333EA 100%);
  --grad-text: linear-gradient(95deg, #60A5FA 0%, #A78BFA 45%, #C084FC 70%, #F472B6 100%);
  --display: "Unbounded", "Unbounded Fallback", system-ui, sans-serif;
  --body: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 30px;
  --wrap: 1200px;
  --gut: 16px;
  --hdr: 76px;
}
@media (min-width: 768px) { :root { --gut: 28px; } }
@media (min-width: 1080px) { :root { --hdr: 76px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 85%);
  pointer-events: none;
}
::selection { background: rgba(192, 132, 252, 0.35); color: #FFFFFF; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.14; color: var(--text); }
/* Balanced wrapping only for the few big headings: on ~50 card titles it cost ~300 ms of main thread on a phone. */
h1, h2 { text-wrap: balance; }
/* No hyphenation anywhere (founder 2026-10-29: a smaller font, never a word split with «-»). Where a word does not fit,
   the font gets smaller; break-word is only the last guard against sideways scroll, and tools/check_layout.cjs
   flags every word it splits. */
html { hyphens: none; -webkit-hyphens: none; }
h1, h2, h3 { overflow-wrap: break-word; }
/* The build (tools/typo.py) gives each heading --lw, the em width of its longest run that cannot wrap, and puts its
   content in hc-fit: the text keeps the heading's size, or shrinks just enough for that run to fit the heading's
   width. Hyphenated compounds and ranges are glued (hc-nw), so no line ever ends in the middle of «будь-який». */
h1, h2, h3, [data-fit] { container-type: inline-size; }
hc-fit { display: block; font-size: min(1em, 100cqi / var(--lw, 0.01)); }
hc-nw { white-space: nowrap; }
/* Grid and flex children may shrink below their longest word; decorative glows are clipped sideways (not a scroll
   container, so sticky headings inside keep working); any table scrolls inside itself. */
.hero-grid > *, .ph-grid > *, .split > *, .lead-grid > *, .faq-wrap > *, .opt > *, .post-grid > *, .terms > *, .sys-split > * { min-width: 0; }
.hero, .page-hero, .post-hero, .sec { overflow-x: clip; }
main table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 359px) { .hero h1, .page-hero h1, .post-hero h1 { font-size: 1.72rem; } }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.i { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: #FFFFFF; color: var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.c-blue { --c: var(--blue); } .c-purple { --c: var(--purple); } .c-pink { --c: var(--pink); } .c-indigo { --c: var(--indigo); }
.c-teal { --c: var(--teal); } .c-emerald { --c: var(--emerald); } .c-amber { --c: var(--amber); } .c-sky { --c: var(--sky); } .c-rose { --c: var(--rose); }

/* ---------- buttons and small parts ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 16px; border: 1px solid transparent;
  font: 700 0.98rem/1.1 var(--body); text-align: center; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #FFFFFF; box-shadow: 0 12px 32px -12px rgba(124, 58, 237, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-ghost { background: var(--glass); border-color: var(--line-2); color: var(--text); }
.btn-sm { min-height: 42px; padding: 0 16px; border-radius: 12px; font-size: 0.9rem; }
.btn-block { width: 100%; }
@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 38px -12px rgba(124, 58, 237, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.24); }
  .btn-ghost:hover { background: var(--glass-2); border-color: rgba(255, 255, 255, 0.24); }
}
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 0.95rem; }
.more .i { width: 18px; height: 18px; transition: transform 0.2s ease; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--glass); color: var(--soft);
  font: 700 0.72rem/1.1 var(--body); letter-spacing: 0.14em; text-transform: uppercase;
}
.pill.live { border-color: rgba(52, 211, 153, 0.28); background: rgba(52, 211, 153, 0.08); color: #A7F3D0; letter-spacing: 0.02em; text-transform: none; font-size: 0.82rem; }
.pill.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16); }
.tile {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  color: var(--c, var(--blue));
  background: color-mix(in srgb, var(--c, var(--blue)) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--blue)) 26%, transparent);
}
.tile .i { width: 22px; height: 22px; }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; padding: 10px 0 0; }
.hdr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px; pointer-events: none; background: linear-gradient(180deg, rgba(10, 15, 28, 0.95), rgba(10, 15, 28, 0)); }
.hdr-bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 7px 0 16px;
  border-radius: 20px; border: 1px solid var(--line);
  background: rgba(13, 19, 35, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.7);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: 30px; }
.hdr .spacer { flex: 1; }
.nav, .hdr .lang, .hdr .cta { display: none; }
.burger {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; cursor: pointer;
  background: var(--glass-2); border: 1px solid var(--line); color: var(--text);
}
.burger .i { width: 22px; height: 22px; }
.burger .i-x, .menu-open .burger .i-menu { display: none; }
.menu-open .burger .i-x { display: block; }
.lang { display: flex; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); }
.lang a { padding: 7px 9px; border-radius: 9px; font: 700 0.76rem/1 var(--body); letter-spacing: 0.06em; color: var(--muted); }
.lang a[aria-current="true"] { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.lang .off { padding: 7px 9px; border-radius: 9px; font: 700 0.76rem/1 var(--body); letter-spacing: 0.06em; color: var(--dim); opacity: 0.6; cursor: default; }
@media (hover: hover) { .lang a:hover { color: #FFFFFF; } }
@media (min-width: 1080px) {
  .hdr { padding: 14px 0 0; }
  .hdr-bar { height: 64px; padding: 0 10px 0 22px; gap: 14px; }
  .brand img { height: 34px; }
  .burger { display: none; }
  .nav, .hdr .lang, .hdr .cta { display: flex; }
  .nav { align-items: center; gap: 2px; margin-left: 18px; }
  .nav > a, .nav-dd > button {
    display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 11px; border: 0; background: none;
    color: var(--soft); font-weight: 600; font-size: 0.93rem; cursor: pointer;
  }
  .nav > a[aria-current="page"] { color: #FFFFFF; }
  .nav-dd > button .i { width: 16px; height: 16px; transition: transform 0.2s ease; }
  .nav-dd { position: relative; }
  .dd {
    position: absolute; top: calc(100% + 10px); left: -16px; width: 620px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px;
    border-radius: 22px; border: 1px solid var(--line-2); background: rgba(12, 18, 33, 0.97);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .dd::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav-dd:hover .dd, .nav-dd:focus-within .dd, .nav-dd.open .dd { opacity: 1; visibility: visible; transform: none; }
  .nav-dd:hover > button .i, .nav-dd.open > button .i { transform: rotate(180deg); }
  .dd a { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 15px; }
  .dd .tile { width: 42px; height: 42px; border-radius: 12px; }
  .dd .tile .i { width: 20px; height: 20px; }
  .dd b { display: block; color: #FFFFFF; font-size: 0.92rem; line-height: 1.3; }
  .dd small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
  .hdr .cta { min-height: 46px; padding: 0 18px; border-radius: 14px; font-size: 0.92rem; }
}
@media (hover: hover) and (min-width: 1080px) {
  .nav > a:hover, .nav-dd > button:hover { color: #FFFFFF; background: var(--glass); }
  .dd a:hover { background: var(--glass-2); }
}

/* mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 1; display: none; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(env(safe-area-inset-top, 0px) + 84px) var(--gut) calc(env(safe-area-inset-bottom, 0px) + 28px);
  background: #070B16;
}
.menu-open .mnav { display: block; }
.menu-open { overflow: hidden; }
.mnav h2 { font: 700 0.72rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin: 6px 4px 12px; }
.mnav .svc-list { display: grid; gap: 6px; }
.mnav .svc-list a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); font-weight: 700; }
.mnav .svc-list .tile { width: 40px; height: 40px; border-radius: 12px; }
.mnav .svc-list .tile .i { width: 19px; height: 19px; }
.mnav .links { display: grid; margin: 22px 0; }
.mnav .links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font: 600 1.15rem/1.2 var(--display); }
.mnav .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mnav .contact { display: grid; gap: 4px; color: var(--soft); font-size: 0.95rem; }
.mnav .contact a { font-weight: 700; color: #FFFFFF; }
@media (min-width: 1080px) { .mnav { display: none !important; } }

/* ---------- sections ---------- */
.sec { position: relative; padding: 64px 0; }
.sec-head { max-width: 780px; margin-bottom: 30px; }
.sec-head.c { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin-top: 16px; font-size: clamp(1.6rem, 1.05rem + 2.6vw, 2.85rem); }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }
@media (min-width: 1080px) {
  .sec { padding: 104px 0; }
  .sec-head { margin-bottom: 44px; }
  .sec-head p { font-size: 1.08rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 34px 0 54px; }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -120px; height: calc(100% + 160px); pointer-events: none;
  background:
    radial-gradient(48% 42% at 12% 18%, rgba(91, 33, 182, 0.5), transparent 70%),
    radial-gradient(42% 40% at 92% 6%, rgba(37, 99, 235, 0.38), transparent 70%),
    radial-gradient(38% 34% at 62% 62%, rgba(147, 51, 234, 0.16), transparent 72%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-top: 18px; font-size: clamp(2.05rem, 1.05rem + 5vw, 4.1rem); line-height: 1.06; }
.hero .lead { margin-top: 18px; max-width: 620px; color: var(--soft); font-size: 1.05rem; line-height: 1.65; }
.hero .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero .actions .btn-primary { flex: 1 1 220px; }
.floor { margin-top: 16px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.floor .i { width: 18px; height: 18px; color: var(--emerald); }
.floor b { color: var(--text); font-weight: 700; }
.kpis { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, 0.025); max-width: 620px; }
.kpi { padding: 16px 8px; text-align: center; min-width: 0; }
.kpi + .kpi { border-left: 1px solid var(--line); }
.kpi b { display: block; font: 600 1.3rem/1.1 var(--display); letter-spacing: -0.01em; }
.kpi small { display: block; margin-top: 7px; color: var(--muted); font-size: 0.76rem; line-height: 1.3; }
@media (min-width: 1080px) {
  .hero { padding: 76px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; }
  .hero .lead { font-size: 1.14rem; }
  .hero .actions .btn-primary, .hero .actions .btn-ghost { flex: 0 0 auto; }
  .kpi { padding: 18px 12px; }
  .kpi b { font-size: 1.55rem; }
  .kpi small { font-size: 0.8rem; }
}

/* the Telegram lead card next to the hero */
.leadcard { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.leadcard::before {
  content: ""; position: absolute; inset: 8% -6% -6% 6%; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(124, 58, 237, 0.45), transparent 70%);
}
.phone {
  border-radius: 30px; padding: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
}
.tg { overflow: hidden; border-radius: 22px; background: #D9E6F2; color: var(--ink); }
.tg-top { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.tg-top .av { width: 36px; height: 36px; border-radius: 50%; background: #2AABEE; color: #FFFFFF; display: grid; place-items: center; font-weight: 800; font-size: 0.86rem; flex: none; }
.tg-top b { display: block; font-size: 0.88rem; line-height: 1.25; }
.tg-top small { color: var(--ink-3); font-size: 0.74rem; }
.tg-body { padding: 14px; display: grid; gap: 8px; justify-items: start; }
.msg { background: var(--paper); border-radius: 15px 15px 15px 5px; padding: 10px 12px; font-size: 0.82rem; line-height: 1.5; max-width: 330px; box-shadow: 0 1px 1px rgba(15, 23, 42, 0.08); }
.msg .from { color: #168ACD; font-weight: 800; font-size: 0.75rem; }
.msg .ph { color: #168ACD; font-weight: 700; }
.msg blockquote { margin: 6px 0; padding: 4px 8px; border-left: 3px solid #2AABEE; background: #EEF6FC; border-radius: 4px; }
.msg .time { float: right; color: var(--ink-3); font-size: 0.68rem; margin: 5px 0 0 10px; }
.msg.sys { font-size: 0.78rem; max-width: 300px; }
.kb { display: grid; width: 100%; max-width: 330px; }
.kb span { text-align: center; padding: 8px 6px; border-radius: 11px; background: rgba(15, 23, 42, 0.36); color: #FFFFFF; font-size: 0.76rem; font-weight: 700; }
.mock-cap { margin-top: 12px; color: var(--dim); font-size: 0.78rem; text-align: center; }
@media (prefers-reduced-motion: no-preference) and (min-width: 1080px) {
  .leadcard .phone { animation: float 7s ease-in-out infinite; }
}
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- the lead route (the six stops) ---------- */
.flow-box { padding: 26px 18px; border-radius: var(--r-xl); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)); }
.route { --route-start: 0.3s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 8px; position: relative; isolation: isolate; }
.route .dot { display: none; }
.stop { display: grid; justify-items: center; text-align: center; gap: 9px; position: relative; min-width: 0; }
.stop .ic { position: relative; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #0F172A; border: 1px solid var(--line-2); color: var(--c); }
.stop .ic::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--glow, transparent); box-shadow: 0 0 26px -8px var(--glow, transparent); pointer-events: none; }
.stop .ic .i { width: 26px; height: 26px; }
.stop b { font-size: 0.9rem; line-height: 1.25; }
.stop small { color: var(--muted); font-size: 0.76rem; line-height: 1.35; }
.c-ads { --c: var(--pink); --glow: rgba(244, 114, 182, 0.4); --i: 0; }
.c-site { --c: var(--blue); --glow: rgba(96, 165, 250, 0.4); --i: 1; }
.c-an { --c: var(--indigo); --glow: rgba(129, 140, 248, 0.4); --i: 2; }
.c-crm { --c: var(--teal); --glow: rgba(45, 212, 191, 0.4); --i: 3; }
.c-tg { --c: var(--sky); --glow: rgba(56, 189, 248, 0.4); --i: 4; }
.c-rep { --c: var(--amber); --glow: rgba(251, 191, 36, 0.4); --i: 5; }
.flow-foot { margin-top: 26px; display: grid; gap: 16px; align-items: center; }
.flow-foot p { color: var(--soft); font-size: 0.98rem; }
@media (min-width: 900px) {
  .flow-box { padding: 40px 36px; }
  .route { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .route::before, .route::after, .route .dot { position: absolute; left: calc((100% - 60px) / 12); right: calc((100% - 60px) / 12); pointer-events: none; }
  .route::before, .route::after { content: ""; top: 28px; height: 2px; border-radius: 2px; }
  .route::after { z-index: -2; background: linear-gradient(90deg, var(--pink), var(--blue), var(--indigo), var(--teal), var(--sky), var(--amber)); opacity: 0.8; }
  .route::before { z-index: -1; background: #262D3B; transform-origin: right center; transform: scaleX(0); }
  .route .dot { display: block; top: 22px; height: 14px; opacity: 0; }
  .route .dot::after { content: ""; position: absolute; top: 0; right: -7px; width: 14px; height: 14px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12), 0 0 22px rgba(192, 132, 252, 0.9); }
  .stop .ic { width: 58px; height: 58px; }
  .flow-foot { grid-template-columns: 1fr auto; gap: 28px; }
}
/* The dot runs only once the route scrolls into view (site.js adds .play); without JS every stop is simply lit. */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .route.armed::before { transform: scaleX(1); }
  .route.armed .stop .ic svg { filter: grayscale(1) brightness(0.6); }
  .route.armed .stop .ic::before { opacity: 0; }
  .route.armed .stop b, .route.armed .stop small { opacity: 0.4; }
  .route.play::before { animation: route-cover 4s linear var(--route-start) forwards; }
  .route.play .dot { animation: route-dot 4s linear var(--route-start) forwards; }
  .route.play .stop { --on: calc(var(--route-start) - 0.16s + var(--i) * 0.8s); animation: route-blink 0.9s calc(var(--route-start) + 4.45s); }
  .route.play .stop .ic { animation: route-pop 0.6s var(--on) both; }
  .route.play .stop .ic::before { animation: route-ring 0.6s var(--on) both; }
  .route.play .stop .ic svg { animation: route-icon 0.6s var(--on) both; }
  .route.play .stop b, .route.play .stop small { animation: route-text-on 0.4s var(--on) both; }
}
@keyframes route-dot { 0% { transform: translateX(-100%); opacity: 1; } 99% { opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
@keyframes route-cover { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes route-pop { 0% { transform: none; } 45% { transform: scale(1.1); } 100% { transform: none; } }
@keyframes route-ring { 0% { opacity: 0; } 45%, 100% { opacity: 1; } }
@keyframes route-icon { 0% { filter: grayscale(1) brightness(0.6); } 45% { filter: grayscale(0) brightness(1.35); } 100% { filter: none; } }
@keyframes route-text-on { from { opacity: 0.4; } to { opacity: 1; } }
@keyframes route-blink { 0%, 100% { opacity: 1; filter: none; } 35% { opacity: 0.25; filter: none; } 65% { opacity: 1; filter: brightness(1.45); } }

/* ---------- services ---------- */
.svc-grid { display: grid; gap: 12px; }
.svc { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease; }
.svc h3 { font-size: 1.12rem; line-height: 1.25; }
.svc p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; flex: 1; }
.svc .more { margin-top: 2px; }
.svc .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc .tag { color: var(--dim); font: 700 0.7rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc { padding: 26px; } }
@media (hover: hover) {
  .svc:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); background: var(--glass-2); }
  .svc:hover .more .i, .more:hover .i { transform: translateX(3px); }
}

/* ---------- markets ---------- */
.markets { display: grid; gap: 12px; }
.market { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.market .code { display: inline-grid; place-items: center; min-width: 46px; height: 32px; padding: 0 10px; border-radius: 10px; font: 600 0.82rem/1 var(--display); letter-spacing: 0.04em; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.market h3 { margin-top: 16px; font-size: 1.1rem; }
.market p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.market ul { margin-top: 14px; list-style: none; display: grid; gap: 8px; }
.market li { display: flex; gap: 10px; color: var(--soft); font-size: 0.93rem; line-height: 1.45; }
.market li .i { width: 18px; height: 18px; color: var(--c); margin-top: 1px; }
@media (min-width: 900px) { .markets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .market { padding: 26px; } }

/* ---------- cases ---------- */
.case-grid { display: grid; gap: 14px; }
.case { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-xl); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); overflow: hidden; }
.case .tagline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.case .tag { padding: 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c, var(--blue)) 14%, transparent); color: var(--c, var(--blue)); font: 800 0.66rem/1.1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; }
.case .year { color: var(--dim); font-size: 0.8rem; font-weight: 700; }
.case h3 { font-size: 1.18rem; line-height: 1.28; }
.case .row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; border: 1px solid; font-size: 0.9rem; line-height: 1.4; }
.case .row .i { width: 22px; height: 22px; }
.case .row small { display: block; font: 800 0.62rem/1.2 var(--body); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; margin-bottom: 3px; }
.case .before { border-color: rgba(251, 113, 133, 0.22); background: rgba(251, 113, 133, 0.06); }
.case .before .i, .case .before small { color: var(--rose); }
.case .after { border-color: rgba(52, 211, 153, 0.25); background: rgba(52, 211, 153, 0.07); }
.case .after .i, .case .after small { color: var(--emerald); }
.case .metric { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.case .metric span { color: var(--muted); font-size: 0.84rem; line-height: 1.35; }
.case .metric b { font: 600 1.6rem/1 var(--display); white-space: nowrap; }
.case .metric b.grad { padding-bottom: 2px; }
.case .text { color: var(--muted); font-size: 0.95rem; }
.case .foot { margin-top: auto; }
.case .ext-link { margin-top: 14px; text-align: center; }
.market .more { margin-top: 18px; }
.archive { margin-top: 14px; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.arch { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); min-width: 0; }
.arch b { display: block; font: 600 1.25rem/1.1 var(--display); }
.arch span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.archive-note { margin-top: 12px; color: var(--dim); font-size: 0.82rem; }
@media (min-width: 900px) {
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .case { padding: 28px; }
  .case h3 { font-size: 1.32rem; }
  .archive { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
}

/* ---------- steps and terms ---------- */
.steps { display: grid; gap: 12px; list-style: none; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 22px 20px 22px 74px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 22px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 600 0.8rem/1 var(--display); color: #FFFFFF; background: var(--grad); }
.step h3 { font-size: 1.02rem; line-height: 1.3; }
.step p { margin-top: 6px; color: var(--muted); font-size: 0.93rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .step { padding: 74px 22px 24px; }
  .step::before { top: 22px; left: 22px; }
}
.terms { margin-top: 18px; display: grid; gap: 14px; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--soft); line-height: 1.5; }
.checks .i { width: 22px; height: 22px; color: var(--purple); margin-top: 1px; }
.checks svg:has(> use[href="#i-no"]) { color: var(--rose); }
.price-card { padding: 24px; border-radius: var(--r-xl); border: 1px solid rgba(167, 139, 250, 0.3); background: radial-gradient(120% 120% at 100% 0%, rgba(124, 58, 237, 0.28), transparent 60%), rgba(255, 255, 255, 0.03); }
.price-card .from { color: var(--muted); font-size: 0.9rem; }
.price-card .sum { margin-top: 6px; font: 600 clamp(2rem, 1.4rem + 2.4vw, 2.8rem)/1.05 var(--display); }
.price-card .sum small { font: 600 1rem/1 var(--body); color: var(--soft); letter-spacing: 0; }
.price-card p { margin-top: 12px; color: var(--soft); font-size: 0.95rem; }
.price-card .btn { margin-top: 18px; }
.terms-box { padding: 24px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--glass); }
.terms-box h3 { font-size: 1.15rem; margin-bottom: 16px; }
@media (min-width: 900px) { .terms { grid-template-columns: 1.25fr 0.75fr; gap: 18px; } .terms-box, .price-card { padding: 32px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--glass); }
.faq details[open] { background: var(--glass-2); border-color: var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; font-size: 1rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 20px; height: 20px; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--text); }
.faq .ans { padding: 0 20px 20px; color: var(--soft); font-size: 0.97rem; }
.faq .ans p + p { margin-top: 10px; }
.faq .ans a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(96, 165, 250, 0.45); }
.faq-wrap { display: grid; gap: 22px; }
@media (min-width: 1080px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; } .faq-wrap .sec-head { position: sticky; top: calc(var(--hdr) + 32px); } }

/* ---------- guides ---------- */
.guides { display: grid; gap: 12px; }
.guide { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); transition: transform 0.25s ease, border-color 0.25s ease; }
.guide .kind { color: var(--c, var(--blue)); font: 800 0.68rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.guide h3 { font-size: 1.04rem; line-height: 1.35; }
.guide p { color: var(--muted); font-size: 0.93rem; flex: 1; }
@media (min-width: 900px) { .guides { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (hover: hover) { .guide:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.2); } }

/* ---------- the lead form ---------- */
.lead-sec { padding-bottom: 72px; }
.lead-grid { display: grid; gap: 24px; grid-template-areas: "info" "form" "more"; }
.lead-info { grid-area: info; }
.lead-grid > .lf { grid-area: form; }
.lead-more { grid-area: more; }
.lead-more .contacts { margin-top: 0; }
.lead-info h2 { font-size: clamp(1.6rem, 1.05rem + 2.6vw, 2.6rem); margin-top: 16px; }
.lead-info > p { margin-top: 14px; color: var(--muted); }
.lead-info .checks { margin-top: 24px; }
.contacts { margin-top: 26px; display: grid; gap: 10px; }
.contacts a, .contacts div { display: flex; align-items: center; gap: 12px; color: var(--soft); font-size: 0.95rem; }
.contacts a b { color: #FFFFFF; }
.contacts .i { width: 18px; height: 18px; color: var(--blue); }
.lf { position: relative; padding: 22px; border-radius: var(--r-xl); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(23, 31, 52, 0.96), rgba(14, 21, 39, 0.96)); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.lf-head h3 { margin-top: 14px; font-size: 1.3rem; }
.lf-head p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
.lf-progress { margin: 18px 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; }
.lf-progress li { display: grid; gap: 8px; color: var(--dim); font-size: 0.8rem; font-weight: 700; }
.lf-progress li::before { content: ""; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.lf-progress li.on { color: var(--soft); }
.lf-progress li.on::before { background: var(--grad); }
.lf fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 12px; }
.lf fieldset[hidden] { display: none; }
.fld { display: grid; gap: 6px; }
.fld > span, .fld legend { color: var(--soft); font-size: 0.86rem; font-weight: 700; }
.fld > span i, .fld legend i { color: var(--rose); font-style: normal; }
.fld > span em, .fld legend em { color: var(--dim); font-style: normal; font-weight: 600; }
.inp {
  width: 100%; min-height: 52px; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05); color: var(--text); font-size: 1rem; line-height: 1.4;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.inp::placeholder { color: #6B7A92; }
.inp:focus { outline: none; border-color: rgba(96, 165, 250, 0.7); background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.16); }
.inp[aria-invalid="true"] { border-color: rgba(251, 113, 133, 0.75); box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.14); }
select.inp { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
select.inp option { background: #111827; color: #F8FAFC; }
textarea.inp { min-height: 96px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--soft); font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: 0.15s ease; }
.chip input:checked + span { border-color: rgba(167, 139, 250, 0.8); background: rgba(124, 58, 237, 0.2); color: #FFFFFF; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.agree { display: flex; gap: 12px; align-items: flex-start; color: var(--soft); font-size: 0.86rem; line-height: 1.5; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #7C3AED; }
.agree a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.agree.bad { color: #FECDD3; }
.lf-actions { display: flex; gap: 10px; margin-top: 4px; }
.lf-actions .btn-primary { flex: 1; }
.lf-err { color: #FDA4AF; font-size: 0.88rem; font-weight: 600; }
.lf-err:empty { display: none; }
.lf-note { color: var(--dim); font-size: 0.8rem; text-align: center; }
.lf-done { text-align: center; padding: 20px 4px 8px; }
.lf-done .ok { width: 64px; height: 64px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; color: var(--emerald); background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.3); }
.lf-done .ok .i { width: 30px; height: 30px; }
.lf-done h3 { margin-top: 18px; font-size: 1.3rem; }
.lf-done p { margin-top: 10px; color: var(--soft); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.two { display: grid; gap: 12px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) {
  .lead-sec { padding-bottom: 112px; }
  .lead-grid { grid-template-columns: 0.9fr 1.1fr; grid-template-rows: auto 1fr; grid-template-areas: "info form" "more form"; column-gap: 56px; row-gap: 28px; align-items: start; }
  .lf { padding: 32px; }
}

/* ---------- page hero, breadcrumbs, service page parts ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--dim); font-size: 0.84rem; list-style: none; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: #334155; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--soft); }
.page-hero { position: relative; padding: 26px 0 48px; }
.page-hero::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -120px; height: calc(100% + 140px); pointer-events: none; background: radial-gradient(46% 46% at 8% 18%, rgba(37, 99, 235, 0.42), transparent 70%), radial-gradient(40% 40% at 92% 10%, rgba(147, 51, 234, 0.32), transparent 70%); }
.page-hero h1 { margin-top: 18px; font-size: clamp(1.9rem, 1rem + 4.4vw, 3.6rem); line-height: 1.08; }
.page-hero .lead { margin-top: 16px; max-width: 720px; color: var(--soft); font-size: 1.05rem; }
.page-hero .actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero .actions .btn-primary { flex: 1 1 220px; }
.page-hero .actions .btn-ghost, .hero .actions .btn-ghost { flex: 1 0 auto; }
.facts { margin-top: 28px; display: grid; gap: 10px; }
.fact { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); color: var(--soft); font-size: 0.92rem; line-height: 1.45; }
.fact .i { width: 20px; height: 20px; color: var(--c, var(--emerald)); margin-top: 1px; }
.fact b { color: #FFFFFF; }
.ph-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .page-hero { padding: 48px 0 80px; }
  .page-hero .actions .btn-primary, .page-hero .actions .btn-ghost { flex: 0 0 auto; }
  .ph-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; }
}
.deliv { display: grid; gap: 12px; }
.deliv article { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 14px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.deliv h3 { font-size: 1rem; line-height: 1.35; }
.deliv p { margin-top: 6px; color: var(--muted); font-size: 0.92rem; }
@media (min-width: 760px) { .deliv { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) { .deliv { grid-template-columns: repeat(3, minmax(0, 1fr)); } .deliv article { grid-template-columns: 1fr; padding: 24px; } }

/* Google search result mock-up (light, like Google's own help diagrams) */
.serp { border-radius: 24px; background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.85); border: 1px solid rgba(255, 255, 255, 0.4); }
.serp-q { display: flex; align-items: center; gap: 10px; margin: 14px; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2); font-size: 0.92rem; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08); }
.serp-q .i { width: 18px; height: 18px; color: var(--ink-3); }
.serp-list { display: grid; gap: 10px; padding: 4px 14px 16px; }
.ad { padding: 14px 16px; border-radius: 16px; border: 1px solid #EEF2F7; }
.ad .sp { font-size: 0.72rem; font-weight: 800; color: var(--ink); }
.ad .url { font-size: 0.78rem; color: #0F766E; margin-top: 2px; }
.ad .t { margin-top: 4px; color: #1A0DAB; font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.ad .d { margin-top: 4px; color: var(--ink-2); font-size: 0.86rem; line-height: 1.5; }
.ad .ext { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.ad .ext span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--rule); color: #1A0DAB; font-size: 0.76rem; font-weight: 600; }
.ad.dim { opacity: 0.55; }
.serp-cap { margin-top: 12px; color: var(--dim); font-size: 0.78rem; text-align: center; }

.timeline { display: grid; gap: 12px; list-style: none; }
.timeline li { position: relative; padding: 20px 20px 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); }
.timeline .when { color: var(--purple); font: 800 0.7rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.timeline h3 { margin-top: 8px; font-size: 1.02rem; line-height: 1.35; }
.timeline p { margin-top: 6px; color: var(--muted); font-size: 0.92rem; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

.split { display: grid; gap: 22px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.prose { color: var(--soft); font-size: 1rem; }
.prose p + p { margin-top: 14px; }
.prose h3 { margin: 26px 0 10px; font-size: 1.12rem; }
.prose ul { margin-top: 12px; list-style: none; display: grid; gap: 10px; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(96, 165, 250, 0.45); }
.prose b, .prose strong { color: #FFFFFF; }

/* ---------- articles: guides and blog posts ---------- */
.post-hero { position: relative; padding: 26px 0 28px; }
.post-hero::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -120px; height: calc(100% + 140px); pointer-events: none; background: radial-gradient(46% 60% at 8% 20%, rgba(37, 99, 235, 0.34), transparent 70%), radial-gradient(40% 50% at 92% 10%, rgba(147, 51, 234, 0.26), transparent 70%); }
.post-hero .wrap > * { max-width: 820px; }
.post-hero h1 { margin-top: 18px; font-size: clamp(1.8rem, 1rem + 3.6vw, 3.1rem); line-height: 1.1; }
.post-hero .lead { margin-top: 16px; color: var(--soft); font-size: 1.06rem; }
.post-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 0.86rem; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .i { width: 16px; height: 16px; color: var(--dim); }
.post-grid { display: grid; gap: 28px; padding-bottom: 56px; }
.post-body { min-width: 0; max-width: 760px; }
.toc { padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.toc b { display: block; font: 800 0.7rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 8px; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: 10px; font-size: 0.92rem; line-height: 1.4; }
.toc li::before { content: counter(toc) "."; color: var(--dim); font-weight: 700; min-width: 18px; }
.toc a { color: var(--soft); }
@media (hover: hover) { .toc a:hover { color: #FFFFFF; } }
@media (min-width: 1080px) {
  .post-hero { padding: 48px 0 40px; }
  .post-grid { grid-template-columns: minmax(0, 760px) minmax(0, 300px); justify-content: space-between; gap: 56px; padding-bottom: 96px; }
  .post-aside { order: 2; }
  .post-aside .toc { position: sticky; top: calc(var(--hdr) + 28px); }
}

/* long-form text */
.prose { color: var(--soft); font-size: 1.02rem; line-height: 1.75; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 44px; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.22; scroll-margin-top: calc(var(--hdr) + 20px); }
.prose h3 { margin-top: 30px; font-size: 1.14rem; line-height: 1.3; scroll-margin-top: calc(var(--hdr) + 20px); }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose ol li::marker { color: var(--purple); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: #FFFFFF; font-weight: 700; background: rgba(255, 255, 255, 0.04); white-space: nowrap; }
.prose code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); font: 0.88em/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; color: #E2E8F0; }
.prose pre { padding: 16px 18px; border-radius: 14px; background: #060A14; border: 1px solid var(--line); overflow-x: auto; }
.prose pre code { padding: 0; background: none; font-size: 0.85rem; line-height: 1.6; }
/* long inline code (URLs, dataLayer calls) wraps instead of pushing the page sideways; code blocks scroll inside */
.prose code { overflow-wrap: anywhere; }
.prose pre code { overflow-wrap: normal; white-space: pre; }
.prose p, .prose li, .prose td { overflow-wrap: break-word; }
.prose figure { margin-top: 24px; }
.prose figure img { border-radius: 16px; border: 1px solid var(--line); background: #0E1527; }
.prose figcaption { margin-top: 10px; color: var(--muted); font-size: 0.84rem; text-align: center; }
.prose blockquote { padding: 14px 18px; border-left: 3px solid var(--purple); border-radius: 0 14px 14px 0; background: rgba(192, 132, 252, 0.06); color: var(--soft); }
.callout { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--c, var(--blue)) 30%, var(--line)); background: color-mix(in srgb, var(--c, var(--blue)) 8%, transparent); color: var(--soft); font-size: 0.96rem; line-height: 1.6; }
.callout .i { width: 20px; height: 20px; margin-top: 3px; color: var(--c, var(--blue)); }
.callout b { color: #FFFFFF; }
.sources { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.sources h2 { margin-top: 0; font-size: 1rem; }
.sources ol { margin-top: 10px; }
.sources a { word-break: break-word; }
.post-cta { margin-top: 40px; padding: 24px; border-radius: var(--r-xl); border: 1px solid rgba(167, 139, 250, 0.3); background: radial-gradient(100% 120% at 100% 0%, rgba(124, 58, 237, 0.24), transparent 60%), rgba(255, 255, 255, 0.03); }
.post-cta h2 { margin-top: 0; font-size: 1.3rem; }
.post-cta p { margin-top: 10px; color: var(--soft); }
.post-cta .actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.related { margin-top: 18px; display: grid; gap: 10px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); color: var(--text); font-weight: 700; font-size: 0.95rem; }
.related a .i { color: var(--blue); }

/* ---------- legal pages ---------- */
.legal-body { max-width: 820px; padding-bottom: 72px; }
.legal-body .prose { font-size: 0.98rem; }
.legal-note { margin-top: 18px; }

/* ---------- hubs: blog list and case list ---------- */
.post-list { display: grid; gap: 12px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); transition: transform 0.25s ease, border-color 0.25s ease; }
.post-card .kind { color: var(--c, var(--blue)); font: 800 0.68rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.post-card h3 { font-size: 1.08rem; line-height: 1.35; }
.post-card p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.post-card time { color: var(--dim); font-size: 0.8rem; font-weight: 700; }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1080px) { .post-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (hover: hover) { .post-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.2); } }

/* ---------- footer ---------- */
.ftr { margin-top: 24px; padding: 54px 0 calc(110px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: rgba(5, 9, 18, 0.6); }
.ftr-grid { display: grid; gap: 34px; }
.ftr .about p { margin-top: 16px; color: var(--muted); font-size: 0.93rem; max-width: 380px; }
.ftr .brand img { height: 34px; }
.ftr h2 { font: 800 0.7rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.ftr ul { list-style: none; display: grid; gap: 10px; }
.ftr ul a { color: var(--soft); font-size: 0.93rem; }
.ftr .co { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.ftr .co a { color: var(--soft); text-decoration: underline; text-decoration-color: rgba(203, 213, 225, 0.35); text-underline-offset: 3px; }
.ftr .co b { color: var(--soft); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--glass); color: var(--soft); }
.socials .i { width: 19px; height: 19px; }
.ftr-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; color: var(--dim); font-size: 0.84rem; }
.ftr-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ftr-bottom a, .ftr-bottom .linklike { color: var(--muted); }
.linklike { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
@media (min-width: 760px) { .ftr-grid { grid-template-columns: 1.3fr 1fr 1fr; } .ftr .about { grid-column: 1 / -1; } }
@media (min-width: 1080px) {
  .ftr { padding: 72px 0 48px; }
  .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
  .ftr .about { grid-column: auto; }
  .ftr-bottom { grid-template-columns: 1fr auto; align-items: center; }
}
@media (hover: hover) { .ftr ul a:hover, .ftr-bottom a:hover, .ftr .co a:hover { color: #FFFFFF; } .socials a:hover { color: #FFFFFF; border-color: var(--line-2); } }

/* ---------- mobile call-to-action bar ---------- */
.mcta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(10, 15, 28, 0), rgba(10, 15, 28, 0.92) 30%);
  transform: translateY(110%); transition: transform 0.28s ease;
}
.mcta.show { transform: none; }
.mcta .btn-primary { flex: 1; }
@media (min-width: 1080px) { .mcta { display: none; } }

/* ---------- cookie banner (UI; the Consent Mode wiring comes in phase 5) ---------- */
.consent {
  position: fixed; z-index: 80; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  padding: 18px; border-radius: 22px; border: 1px solid var(--line-2); background: #0D1323;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
}
.consent[hidden] { display: none; }
.consent h2 { font: 600 1rem/1.3 var(--display); }
.consent p { margin-top: 8px; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.consent p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.consent .acts { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent .acts .btn { min-height: 46px; padding: 0 12px; border-radius: 13px; font-size: 0.9rem; }
.consent .ck-set { margin-top: 14px; display: grid; gap: 10px; }
.consent .ck-set[hidden] { display: none; }
.consent .acts .save { grid-column: 1 / -1; }
.consent .acts [hidden] { display: none; }
.consent .acts .set { grid-column: 1 / -1; min-height: 40px; background: none; border: 0; color: var(--muted); font-weight: 700; font-size: 0.86rem; cursor: pointer; }
@media (min-width: 760px) { .consent { left: auto; right: 24px; bottom: 24px; width: 420px; } }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 90px 0 110px; }
.nf h1 { font-size: clamp(2rem, 1.2rem + 4vw, 3.4rem); }
.nf p { margin: 16px auto 0; max-width: 520px; color: var(--muted); }
.nf .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- the multi-channel report next to the hero (an illustration; the caption says the numbers are made up) ---------- */
.report { position: relative; max-width: 480px; width: 100%; margin: 0 auto; }
.report::before {
  content: ""; position: absolute; inset: 6% -8% -6% 8%; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(37, 99, 235, 0.42), transparent 70%);
}
.rp-card {
  border-radius: 26px; padding: 18px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(24, 32, 54, 0.95), rgba(13, 20, 37, 0.97));
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.rp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rp-head b { display: block; font: 600 1rem/1.25 var(--display); }
.rp-head small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.78rem; line-height: 1.35; }
.rp-live { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: #A7F3D0; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.25); }
.rp-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
.rp-kpis { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rp-kpis div { padding: 11px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); min-width: 0; }
.rp-kpis small { display: block; color: var(--muted); font-size: 0.72rem; }
.rp-kpis b { display: block; margin-top: 4px; font: 600 1.08rem/1.1 var(--display); white-space: nowrap; }
.rp-rows { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.rp-rows li { display: grid; grid-template-columns: 132px minmax(0, 1fr) 24px 44px; align-items: center; gap: 9px; font-size: 0.84rem; }
.rp-rows .ch { display: flex; align-items: center; gap: 8px; color: var(--soft); font-weight: 700; white-space: nowrap; min-width: 0; }
.rp-rows .ch i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: none; }
.rp-rows .bar { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.rp-rows .bar em { display: block; height: 100%; width: var(--w); border-radius: inherit; transform-origin: left center; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 45%, transparent), var(--c)); }
.rp-rows b { text-align: right; font-variant-numeric: tabular-nums; }
.rp-rows small { text-align: right; color: var(--muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.new { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 6px; font: 800 0.58rem/1.3 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: #052E1F; background: var(--emerald); vertical-align: middle; }
.rp-log { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: flex; flex-wrap: wrap; gap: 6px; }
.rp-log span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; color: var(--soft); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.rp-log .i { width: 14px; height: 14px; color: var(--emerald); }
@media (min-width: 1080px) { .rp-card { padding: 22px; } .rp-kpis b { font-size: 1.2rem; } }
/* Narrow phones: tighter boxes, so the figures keep their size instead of shrinking. */
@media (max-width: 400px) { .rp-card { padding: 14px; } .rp-kpis { gap: 6px; } .rp-kpis div { padding: 10px 9px; } }
@media (prefers-reduced-motion: no-preference) { .rp-rows .bar em { animation: grow 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }

/* ---------- services: the two main channels, the new channels, then sites / SEO / analytics ---------- */
.svc .tile { color: var(--c, var(--blue)); }
.svc-main { display: grid; gap: 12px; }
.svc-big, .svc-wide {
  border-color: color-mix(in srgb, var(--c) 24%, var(--line));
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c) 15%, transparent), transparent 62%), var(--glass);
}
.svc-big { padding: 24px; }
.svc-big h3 { font-size: 1.28rem; }
.svc-big .tag, .svc-wide .tag { color: var(--c); }
.chips-row { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.chips-row li { padding: 6px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: var(--soft); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.svc-wide { margin-top: 12px; display: grid; gap: 20px; padding: 24px; }
.sw-text { display: flex; flex-direction: column; gap: 14px; }
.sw-text h3 { font-size: 1.28rem; }
.sw-text p { color: var(--muted); font-size: 0.95rem; }
.channel-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.channel-grid li { position: relative; padding: 14px; border-radius: 16px; background: rgba(10, 15, 28, 0.45); border: 1px solid color-mix(in srgb, var(--c) 32%, var(--line)); min-width: 0; }
.channel-grid li::before { content: ""; position: absolute; top: 16px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.channel-grid li:has(.new)::before { display: none; }
.channel-grid .new { margin: 8px 0 0; }
.channel-grid b { display: block; padding-right: 18px; font: 600 0.98rem/1.25 var(--display); color: #FFFFFF; }
.channel-grid small { display: block; margin-top: 5px; color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
.svc-grid-3 { margin-top: 12px; }
@media (min-width: 760px) {
  .svc-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .svc-wide, .svc-grid-3 { margin-top: 16px; }
}
@media (min-width: 1000px) {
  .svc-big { padding: 30px; }
  .svc-wide { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 32px; padding: 30px; }
}
/* Four channels in a row only where each box is wide enough for «Microsoft» at full size; one per row on the
   narrowest phones. */
@media (min-width: 1200px) {
  .channel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .channel-grid li { padding: 18px 16px; min-height: 112px; }
}
@media (max-width: 359px) { .channel-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .channel-grid li { padding: 12px; } .channel-grid li::before { top: 14px; right: 12px; } .channel-grid b { padding-right: 14px; } }

/* ---------- "we don't only set up, we optimise" ---------- */
.opt { display: grid; gap: 28px; }
.opt .sec-head { margin-bottom: 0; }
.opt .sec-head .btn { margin-top: 22px; }
.opt-log { list-style: none; display: grid; gap: 12px; }
.opt-log li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); }
.opt-log .when { color: var(--c); font: 800 0.7rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; }
.opt-log h3 { margin-top: 7px; font-size: 1.04rem; line-height: 1.3; }
.opt-log p { margin-top: 6px; color: var(--muted); font-size: 0.93rem; }
@media (min-width: 1000px) {
  .opt { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
  .opt .sec-head { position: sticky; top: calc(var(--hdr) + 32px); }
  .opt-log li { padding: 22px; }
}

/* ---------- the free-audit block ---------- */
.sec-tight { padding: 16px 0 40px; }
.audit-cta {
  display: grid; gap: 24px; padding: 26px; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: radial-gradient(90% 120% at 0% 0%, rgba(37, 99, 235, 0.26), transparent 60%),
              radial-gradient(80% 120% at 100% 100%, rgba(147, 51, 234, 0.3), transparent 60%), #0E1527;
  box-shadow: 0 40px 80px -40px rgba(124, 58, 237, 0.45);
}
.audit-cta h2 { margin-top: 16px; font-size: clamp(1.5rem, 1rem + 2.4vw, 2.5rem); }
.ac-text p { margin-top: 14px; color: var(--soft); }
.ac-text .btn { margin-top: 22px; }
.ac-list { list-style: none; display: grid; gap: 10px; }
.ac-list li { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(10, 15, 28, 0.5); border: 1px solid var(--line); }
.ac-list .tile { width: 44px; height: 44px; }
.ac-list li > span:last-child { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.ac-list b { display: block; color: #FFFFFF; font-size: 0.98rem; }
@media (min-width: 1000px) {
  .sec-tight { padding: 24px 0 64px; }
  .audit-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; padding: 44px; }
  .ac-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- the lead-system section: the route, then the checks next to a Telegram card ---------- */
.sys-split { margin-top: 26px; display: grid; gap: 30px; align-items: center; }
.sys-more { margin-top: 24px; }
@media (min-width: 1000px) { .sys-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; margin-top: 40px; } }

/* ---------- the audit findings card (audit page; illustration) ---------- */
.findings { position: relative; max-width: 480px; width: 100%; margin: 0 auto; }
.findings::before { content: ""; position: absolute; inset: 6% -8% -6% 8%; z-index: -1; border-radius: 40px; background: radial-gradient(60% 60% at 50% 40%, rgba(147, 51, 234, 0.4), transparent 70%); }
.fd-card { border-radius: 26px; padding: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(24, 32, 54, 0.95), rgba(13, 20, 37, 0.97)); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, 0.85); }
.fd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.fd-head b { display: block; font: 600 1rem/1.25 var(--display); }
.fd-head small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.78rem; }
.fd-score { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 4px solid rgba(251, 191, 36, 0.8); text-align: center; }
.fd-score b { font: 600 1.15rem/1 var(--display); }
.fd-score small { margin-top: 0; font-size: 0.62rem; }
.fd-list { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.fd-list li { padding: 11px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); border-left: 3px solid var(--sev); }
.fd-list .sev { display: inline-block; font: 800 0.6rem/1.2 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sev); }
.fd-list b { display: block; margin-top: 4px; font-size: 0.88rem; line-height: 1.35; }
.fd-list small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.78rem; line-height: 1.4; }
.fd-list .hi { --sev: var(--rose); }
.fd-list .md { --sev: var(--amber); }
.fd-list .lo { --sev: var(--sky); }

/* Cards rise into place as they scroll in. Scroll-driven, compositor-only (opacity, transform), no JS. Browsers
   without animation-timeline simply show the cards. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .svc, .case, .arch, .step, .market, .guide, .deliv article, .timeline li, .flow-box, .terms-box, .price-card,
    .opt-log li, .audit-cta, .channel-grid li, .post-card {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%;
    }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
