/* Public pages (/features, /autoposting, /guides, /about, /contacts, legal documents, 404). v11.
   The same design code as the landing (css/home.css): Onest throughout, flat rounded cards, a floating capsule
   header, orange only on actions and small accents, one orange closing card. Two themes on html[data-theme],
   set by the inline script in <head> and switched by the button in the header (cabinet/site.js).
   Reads and overrides the tokens of /css/ds.css, so the old names (--text, --surface, --line…) keep working. */

/* ---------- Tokens ---------- */
:root {
  --accent: #FF5A26; --accent-ink: #0B0C0E;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --gap: clamp(8px, 1vw, 12px);
  --r-card: clamp(22px, 2.4vw, 32px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --f-head: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: var(--f-head);
  --f-ui: var(--f-head);
  --wrap: 1280px;
  --pad: clamp(16px, 4vw, 40px);
}
:root, html[data-theme="dark"] {
  --page: #0A0B0D; --card: #131417; --card-2: #1A1C20; --float: #1C1E23;
  --fg: #F2F0EB; --fg-2: #B1AFA9; --fg-3: #8C8A85; --fg-rgb: 242 240 235;
  --hair: rgba(242, 240, 235, .09); --hair-2: rgba(242, 240, 235, .16);
  --tone: #7F7D78; --inv: #F2F0EB; --on-inv: #0B0C0E; --on-inv-rgb: 11 12 14;
  --accent-fg: #FF7A4D; --accent-soft: rgba(255, 90, 38, .14);
  --sh-float: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 20px 44px -22px rgba(0, 0, 0, .8);
  --shade: rgba(0, 0, 0, .85);
  --bg: var(--page); --bg-2: #0E0F12; --surface: var(--card); --surface-2: var(--card-2); --surface-3: #24272D;
  --line: var(--hair); --line-2: var(--hair-2); --line-3: rgba(242, 240, 235, .28);
  --text: var(--fg); --muted: var(--fg-2); --dim: var(--fg-3); --accent-2: var(--accent-fg);
  --info: #6EB6FF; --info-soft: rgba(110, 182, 255, .12);
  --ok: #3DDC97; --ok-soft: rgba(61, 220, 151, .12); --wait: #FFB547; --wait-soft: rgba(255, 181, 71, .12);
  color-scheme: dark;
}
html[data-theme="light"] {
  --page: #FFFFFF; --card: #F4F3F0; --card-2: #ECEAE6; --float: #FFFFFF;
  --fg: #0A0B0D; --fg-2: #53524D; --fg-3: #6B6964; --fg-rgb: 10 11 13;
  --hair: rgba(10, 11, 13, .08); --hair-2: rgba(10, 11, 13, .15);
  --tone: #918F89; --inv: #0A0B0D; --on-inv: #F2F0EB; --on-inv-rgb: 242 240 235;
  --accent-fg: #BD3D0C; --accent-soft: rgba(255, 90, 38, .12);
  --sh-float: 0 0 0 1px rgba(10, 11, 13, .04), 0 14px 34px -16px rgba(38, 32, 22, .2);
  --shade: rgba(38, 32, 22, .22);
  --bg: #FFFFFF; --bg-2: #FFFFFF; --surface: var(--card); --surface-2: var(--card-2); --surface-3: #E2E0DB;
  --line: var(--hair); --line-2: var(--hair-2); --line-3: rgba(10, 11, 13, .26);
  --info: #105AB0; --info-soft: rgba(22, 104, 199, .08);
  --ok: #09713F; --ok-soft: rgba(9, 113, 63, .1); --wait: #8F5200; --wait-soft: rgba(143, 82, 0, .1);
  color-scheme: light;
}
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease, stroke .35s ease, box-shadow .35s ease !important; }

/* ---------- Base ---------- */
html { scroll-padding-top: 104px; }
body.sp { min-height: 100vh; display: flex; flex-direction: column; background: var(--page); color: var(--fg); font: 400 16.5px/1.6 var(--f-head); overflow-x: clip; }
.sp a { color: var(--accent-fg); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sp a:hover { color: var(--fg); }
.sp :focus-visible { outline: 2px solid var(--accent-fg); outline-offset: 3px; border-radius: 8px; }
.sp ::selection { background: var(--accent); color: var(--accent-ink); }
.sp-wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.sp-skip { position: fixed; left: 12px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 600; text-decoration: none; transition: top .2s; }
.sp-skip:focus { top: 12px; }
.sp-lg { width: 24px; height: 24px; flex: none; border-radius: 7px; }

/* ---------- Buttons: one pill, four fills ---------- */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; font: 600 15.5px/1 var(--f-head); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .25s; }
.sp-btn:hover { background: #FF6C3D; box-shadow: 0 10px 28px -10px rgba(255, 90, 38, .75); }
.sp-btn:active { transform: scale(.98); }
.sp-btn-lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.sp-btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.sp-btn-ink { background: #0A0B0D; color: #F2F0EB !important; }
.sp-btn-ink:hover { background: #1D1F24; box-shadow: none; }
.sp-btn-line-ink { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(10, 11, 13, .32); color: #0A0B0D !important; }
.sp-btn-line-ink:hover { background: transparent; box-shadow: inset 0 0 0 1.5px #0A0B0D; }
.sp-btn-ghost, .sp-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 28px; border-radius: 999px; background: rgb(var(--fg-rgb) / .07); color: var(--fg) !important; font: 600 17px/1 var(--f-head); letter-spacing: -.01em; text-decoration: none; box-shadow: none; transition: background-color .2s; }
.sp-btn-ghost:hover, .sp-ghost:hover { background: rgb(var(--fg-rgb) / .12); box-shadow: none; }
.sp-arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.sp-btn:hover .sp-arrow { transform: translateX(3px); }

/* ---------- Header: a floating capsule, the same as on the landing ---------- */
.sp-top { position: fixed; inset: 12px 0 auto; z-index: 60; padding: 0 var(--pad); pointer-events: none; }
.sp-bar { pointer-events: auto; display: flex; align-items: center; gap: 6px; max-width: var(--wrap); height: 62px; margin: 0 auto; padding: 0 10px 0 18px; border-radius: 999px; background: var(--page); background: color-mix(in srgb, var(--page) 78%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 0 0 1px var(--hair); transition: box-shadow .3s; }
.sp-top.is-scrolled .sp-bar { box-shadow: inset 0 0 0 1px var(--hair), 0 14px 40px -18px var(--shade); }
.sp-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; margin-right: 8px; color: var(--fg) !important; text-decoration: none; font: 600 20px/1 var(--f-head); letter-spacing: -.04em; }
.sp-mark { width: 32px; height: 32px; flex: none; border-radius: 26%; box-shadow: 0 0 0 1px var(--hair-2); }
.sp-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.sp-nav a { padding: 10px 14px; border-radius: 999px; color: var(--fg-2) !important; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .2s, background-color .2s; }
.sp-nav a:hover, .sp-nav a[aria-current] { color: var(--fg) !important; background: rgb(var(--fg-rgb) / .06); }
.sp-act { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.sp-nav + .sp-act { margin-left: 0; }
.sp-lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgb(var(--fg-rgb) / .06); }
.sp-lang a { min-width: 36px; padding: 8px 9px; border-radius: 999px; text-align: center; font: 600 12.5px/1 var(--f-head); color: var(--fg-3) !important; text-decoration: none; transition: color .2s; }
.sp-lang a:hover { color: var(--fg) !important; }
.sp-lang a[aria-current] { background: var(--float); color: var(--fg) !important; box-shadow: 0 1px 3px rgb(0 0 0 / .14); }
.sp-theme { position: relative; width: 42px; height: 42px; flex: none; padding: 0; border: 0; border-radius: 50%; background: rgb(var(--fg-rgb) / .06); color: var(--fg); cursor: pointer; transition: background-color .2s; }
.sp-theme:hover { background: rgb(var(--fg-rgb) / .12); }
.sp-theme svg { position: absolute; inset: 11px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s, transform .5s var(--ease); }
html[data-theme="light"] .sp-theme-sun, html:not([data-theme="light"]) .sp-theme-moon { opacity: 0; transform: rotate(-70deg) scale(.5); }
.sp-login { padding: 10px 14px; border-radius: 999px; color: var(--fg) !important; font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .2s; }
.sp-login:hover { background: rgb(var(--fg-rgb) / .06); }
.sp-burger { display: none; position: relative; width: 42px; height: 42px; flex: none; padding: 0; border: 0; border-radius: 50%; background: rgb(var(--fg-rgb) / .06); cursor: pointer; }
.sp-burger span { position: absolute; left: 13px; right: 13px; height: 1.8px; border-radius: 2px; background: var(--fg); transition: transform .35s var(--ease), top .35s var(--ease); }
.sp-burger span:first-child { top: 16px; }
.sp-burger span:last-child { top: 24px; }
.sp-burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.sp-burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.sp-drawer { pointer-events: auto; display: grid; gap: 2px; max-width: var(--wrap); margin: 8px auto 0; padding: 10px; border-radius: 28px; background: var(--page); box-shadow: inset 0 0 0 1px var(--hair), 0 30px 60px -24px var(--shade); max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
.sp-drawer.open { opacity: 1; visibility: visible; transform: none; }
.sp-drawer a:not(.sp-btn) { padding: 14px 16px; border-radius: 16px; color: var(--fg) !important; font: 500 18px/1.2 var(--f-head); letter-spacing: -.01em; text-decoration: none; }
.sp-drawer a:not(.sp-btn):hover, .sp-drawer a[aria-current] { background: rgb(var(--fg-rgb) / .06); }
.sp-drawer .sp-btn { margin-top: 8px; }
@media (min-width: 1121px) { .sp-drawer { display: none; } }
@media (max-width: 1120px) {
  .sp-nav + .sp-act { margin-left: auto; }
  .sp-nav, .sp-login { display: none; }
  .sp-burger { display: block; }
}
@media (max-width: 760px) {
  .sp-top { inset: 8px 0 auto; }
  .sp-bar { height: 56px; padding: 0 7px 0 14px; }
  .sp-bar-cta, .sp-lang { display: none; }
  .sp-brand { font-size: 18.5px; }
  .sp-mark { width: 30px; height: 30px; }
}

/* ---------- Page frame ---------- */
.sp-main { flex: 1; padding: 86px 0 0; }
.sp-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 22px 0 0; font-size: 13.5px; color: var(--fg-3); }
.sp-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--hair-2); }
.sp-crumbs a { color: var(--fg-2) !important; text-decoration: none; }
.sp-crumbs a:hover { color: var(--fg) !important; }

/* ---------- Page heads ---------- */
.sp-page-head { padding: clamp(36px, 5vw, 72px) 0 clamp(8px, 1vw, 16px); max-width: 920px; }
.sp h1 { margin: 0 0 clamp(16px, 1.6vw, 22px); font: 600 clamp(38px, 5.6vw, 80px)/1 var(--f-head); letter-spacing: -.048em; text-wrap: balance; }
.sp-lead { max-width: 38em; margin: 0 0 24px; font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.sp-meta { margin: 0 0 8px; font-size: 13.5px; color: var(--fg-3); }
.sp-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 clamp(16px, 1.6vw, 22px); padding: 7px 14px 7px 11px; border-radius: 999px; background: var(--card); font: 500 13.5px/1.2 var(--f-head); color: var(--fg-2); }
.sp-kicker .sp-lg { width: 20px; height: 20px; border-radius: 6px; margin-left: -3px; }
.sp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); }
.sp-page-head > p:last-child:has(.sp-btn) { margin-top: 4px; }
.sp h1 .is-tone { color: var(--tone); }

/* ---------- Platform page: first screen with the free plan and a drawn queue (v11) ---------- */
.sp-phero { padding: clamp(32px, 4.4vw, 64px) 0 clamp(8px, 1vw, 16px); }
.sp-phero h1 { max-width: 16em; margin-bottom: clamp(20px, 2.4vw, 36px); font-size: clamp(38px, 5.4vw, 80px); line-height: 1; letter-spacing: -.05em; }
.sp-phero h1 .is-tone { display: block; }
.sp-phero-row { display: grid; gap: clamp(40px, 4vw, 56px); align-items: start; }
@media (min-width: 1080px) { .sp-phero-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.sp-phero .sp-lead { max-width: 34em; }
.sp-free { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--fg-2); }
.sp-free li { display: inline-flex; align-items: center; gap: 8px; }
.sp-free svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.sp-pq { position: relative; width: 100%; max-width: 600px; margin: 0; padding: 0 0 22px; }
@media (min-width: 1080px) { .sp-pq { max-width: none; } }
.sp-pq-card { padding: clamp(18px, 2vw, 26px); border-radius: var(--r-card); background: var(--card); }
.sp-pq-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--hair); }
.sp-pq-head .sp-lg { width: 40px; height: 40px; border-radius: 12px; }
.sp-pq-acc { display: grid; min-width: 0; }
.sp-pq-acc b { overflow: hidden; font: 600 16.5px/1.3 var(--f-head); letter-spacing: -.02em; white-space: nowrap; text-overflow: ellipsis; }
.sp-pq-acc small, .sp-pq-tx small { font-size: 13px; line-height: 1.4; color: var(--fg-3); }
.sp-pq-tag { padding: 5px 10px; border-radius: 999px; background: rgb(var(--fg-rgb) / .07); font: 500 13px/1 var(--f-head); font-style: normal; color: var(--fg-2); }
.sp-pq-list { display: grid; margin: 0; padding: 0; list-style: none; }
.sp-pq-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 0; }
.sp-pq-list li + li { border-top: 1px solid var(--hair); }
.sp-pq-list li:last-child { padding-bottom: 0; }
.sp-pq-th { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--card-2); color: var(--fg-2); }
.sp-pq-th.is-short { width: 36px; margin: 0 6px; height: 56px; }
.sp-pq-th svg, .sp-kind-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-pq-tx { display: grid; min-width: 0; }
.sp-pq-tx b { overflow: hidden; font: 500 15px/1.35 var(--f-head); white-space: nowrap; text-overflow: ellipsis; }
.sp-pq-st { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 500 13px/1 var(--f-head); font-style: normal; white-space: nowrap; }
.sp-pq-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sp-pq-st.is-wait { background: var(--wait-soft); color: var(--wait); }
.sp-pq-st.is-ok { background: var(--ok-soft); color: var(--ok); }
.sp-pq-st.is-feed { background: var(--info-soft); color: var(--info); }
.sp-pq-toast { position: absolute; right: clamp(14px, 2vw, 28px); bottom: 0; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 28px); margin: 0; padding: 11px 16px 11px 12px; border-radius: 999px; background: var(--float); box-shadow: var(--sh-float); font: 500 14px/1.2 var(--f-head); color: var(--fg); }
.sp-pq-toast span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-pq-toast svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--ok-soft); fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.sp-kinds { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); margin: 6px 0 28px; padding: 0; list-style: none; }
@media (min-width: 760px) { .sp-kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sp-kinds li { padding: clamp(20px, 2.2vw, 30px); border-radius: var(--r-card); background: var(--card); }
.sp-kind-ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: clamp(18px, 2.4vw, 32px); border-radius: 14px; background: var(--float); box-shadow: var(--sh-float); color: var(--fg); }
.sp-kinds h3 { margin: 0 0 8px; font: 600 clamp(19px, 1.6vw, 22px)/1.25 var(--f-head); letter-spacing: -.025em; }
.sp-kinds p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.sp-setup .sp-two { align-items: start; }
.sp-setup .sp-note { margin: 0; }

/* Hero of /about and /features: the landing's first screen, without the board */
.sp-hero { position: relative; }
.sp-sky { display: none; }
.sp-hero-in { padding-top: clamp(36px, 5vw, 76px); padding-bottom: clamp(16px, 2vw, 28px); }
.sp-hero h1 { max-width: 15em; font-size: clamp(40px, 6.2vw, 92px); line-height: .98; letter-spacing: -.052em; }
.sp-hero .sp-lead { max-width: 40em; }
.sp-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }

/* ---------- Blocks and text ---------- */
.sp-block { margin-top: clamp(48px, 6vw, 88px); }
.sp-block h2, .sp-prose h2, .sp-doc-body h2 { margin: 0 0 18px; font: 600 clamp(26px, 2.8vw, 40px)/1.08 var(--f-head); letter-spacing: -.04em; text-wrap: balance; }
.sp-prose h2 { margin-top: clamp(40px, 4vw, 56px); }
.sp-block > p, .sp-prose p { max-width: 42em; margin: 0 0 14px; line-height: 1.7; color: var(--fg); }
.sp-prose { max-width: 760px; }

.sp-list { display: grid; gap: 12px; max-width: 42em; margin: 0 0 16px; padding: 0; list-style: none; }
.sp-list li { position: relative; padding-left: 26px; line-height: 1.6; }
.sp-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); }
.sp-steps { display: grid; gap: 14px; max-width: 42em; margin: 0 0 16px; padding: 0; list-style: none; counter-reset: st; }
.sp-steps li { counter-increment: st; position: relative; min-height: 34px; padding: 5px 0 0 48px; line-height: 1.6; }
.sp-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--card); font: 600 14px/1 var(--f-head); color: var(--fg); }
.sp-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

/* ---------- Platform cards: each with its own mark ---------- */
.sp-plats { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .sp-plats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .sp-plats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sp-plats-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sp-plats a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 6px; height: 100%; padding: 22px 56px 24px 22px; border-radius: var(--r-lg); background: var(--card); color: var(--fg) !important; text-decoration: none; transition: background-color .25s, transform .35s var(--ease); }
.sp-plats a::after { content: ""; position: absolute; right: 20px; top: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--float) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5A26' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: var(--sh-float); opacity: 0; transform: scale(.7); transition: opacity .25s, transform .35s var(--ease); }
.sp-plats a:hover { background: var(--card-2); }
.sp-plats a:hover::after { opacity: 1; transform: none; }
.sp-plats .sp-lg { width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; }
.sp-plats b { font: 600 18px/1.25 var(--f-head); letter-spacing: -.025em; }
.sp-plats span { font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.sp-plats-lg a { padding: clamp(24px, 2.4vw, 32px); padding-right: 64px; }
.sp-plats-lg b { font-size: clamp(20px, 1.8vw, 24px); }
.sp-plats-lg .sp-lg { width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; }
.sp-plats-sm a { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px 48px 14px 14px; border-radius: 18px; }
.sp-plats-sm a::after { top: 50%; right: 12px; width: 26px; height: 26px; margin-top: -13px; }
.sp-plats-sm .sp-lg { width: 32px; height: 32px; margin: 0; border-radius: 10px; }
.sp-plats-sm b { font-size: 16px; }

/* ---------- Ruled rows (guides) ---------- */
.sp-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.sp-rows li { border-bottom: 1px solid var(--hair); }
.sp-rows a { position: relative; display: grid; gap: 6px; padding: 22px 52px 22px 4px; color: var(--fg) !important; text-decoration: none; }
.sp-rows a::after { content: ""; position: absolute; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C8A85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: background-color .25s, transform .35s var(--ease); }
.sp-rows a:hover::after { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0C0E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); transform: translateX(2px); }
.sp-rows b { font: 600 clamp(17px, 1.4vw, 20px)/1.3 var(--f-head); letter-spacing: -.02em; transition: color .2s; }
.sp-rows a:hover b { color: var(--accent-fg); }
.sp-rows span { max-width: 52em; font-size: 15px; line-height: 1.55; color: var(--fg-2); }
@media (min-width: 900px) { .sp-rows a { grid-template-columns: minmax(280px, 5fr) minmax(0, 6fr); gap: 32px; align-items: baseline; } }

/* ---------- Callouts ---------- */
.sp-answer { max-width: 760px; margin: 8px 0 32px; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-lg); background: var(--inv); color: var(--on-inv); }
.sp-answer-h { display: inline-block; margin: 0 0 10px; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 12.5px/1.2 var(--f-head); }
.sp-answer p:last-child { margin: 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; }
.sp-note { max-width: 760px; margin: 28px 0; padding: 20px 22px; border-radius: var(--r-lg); background: var(--card); }
.sp-note b { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 600; }
.sp-note b::before { content: "i"; display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--fg); color: var(--page); font: italic 700 13px/1 Georgia, serif; }
.sp-note p { margin: 0; line-height: 1.65; color: var(--fg-2); }

.sp-two { display: grid; gap: 0; }
@media (min-width: 900px) { .sp-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); } }

/* ---------- FAQ ---------- */
.sp-faq { max-width: 860px; margin: 0 0 8px; border-radius: 22px; background: var(--card); transition: background-color .25s; }
.sp-faq:not([open]):hover { background: var(--card-2); }
.sp-faq summary { position: relative; display: block; padding: 20px 72px 20px 24px; cursor: pointer; list-style: none; font: 600 clamp(16.5px, 1.35vw, 19px)/1.35 var(--f-head); letter-spacing: -.02em; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--float); box-shadow: var(--sh-float); font: 400 22px/1 var(--f-head); color: var(--fg); transition: transform .35s var(--ease), background-color .25s, color .25s; }
.sp-faq[open] summary::after { content: "−"; background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.sp-faq p { max-width: 44em; margin: 0; padding: 0 24px 22px; line-height: 1.65; color: var(--fg-2); }

/* ---------- Tables ---------- */
.sp-scroll { margin: 0 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); background: var(--card); padding: 6px 20px; }
.sp table.grid { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.sp table.grid th, .sp table.grid td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; line-height: 1.5; }
.sp table.grid tr:last-child th, .sp table.grid tr:last-child td { border-bottom: 0; }
.sp table.grid thead th { font-size: 13.5px; font-weight: 500; color: var(--fg-3); }
.sp table.grid tbody th { font-weight: 600; }
.sp table.req { margin: 8px 0 0; border-collapse: collapse; font-size: 15px; }
.sp table.req th { padding: 9px 24px 9px 0; text-align: left; vertical-align: top; white-space: nowrap; font-weight: 500; color: var(--fg-3); }
.sp table.req td { padding: 9px 0; overflow-wrap: anywhere; }

/* ---------- Legal documents ---------- */
.sp-doc { display: grid; gap: 0 clamp(40px, 5vw, 80px); }
.sp-doc-head { max-width: 900px; padding: clamp(36px, 5vw, 72px) 0 12px; }
.sp-doc-head h1 { font-size: clamp(36px, 4.8vw, 68px); }
.sp-doc-body { min-width: 0; max-width: 46em; }
.sp-doc-body section { padding-top: 36px; scroll-margin-top: 104px; }
.sp-doc-body h2 { font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -.03em; }
.sp-doc-body p { margin: 0 0 12px; line-height: 1.75; }
.sp-doc-body p, .sp-doc-body li { overflow-wrap: anywhere; }
.sp-doc-body ul { margin: 0 0 12px; padding-left: 22px; line-height: 1.7; }
.sp-doc-body li { margin-bottom: 6px; }
.sp-doc-body .note, .sp-legal .note { font-size: 14px; color: var(--fg-3); }
.sp-toc { display: none; }
@media (min-width: 1000px) {
  .sp-doc { grid-template-columns: 270px minmax(0, 1fr); }
  .sp-doc-head { grid-column: 1 / -1; }
  .sp-doc-solo { grid-template-columns: minmax(0, 1fr); }
  .sp-toc { position: sticky; top: 100px; display: block; align-self: start; max-height: calc(100vh - 116px); margin-top: 36px; padding: 18px 10px; overflow: auto; border-radius: var(--r-lg); background: var(--card); }
}
.sp-toc-h { margin: 0 0 8px; padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--fg-3); }
.sp-toc ol { margin: 0; padding: 0; list-style: none; }
.sp-toc a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--fg-2) !important; font-size: 14px; line-height: 1.4; text-decoration: none; transition: color .2s, background-color .2s; }
.sp-toc a:hover { color: var(--fg) !important; background: rgb(var(--fg-rgb) / .05); }
.sp-toc a.on { color: var(--fg) !important; background: var(--float); box-shadow: var(--sh-float); }
.sp-doc-others { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 44px !important; padding-top: 22px; border-top: 1px solid var(--hair); font-size: 14.5px; }
.sp-print { margin-left: auto; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: rgb(var(--fg-rgb) / .07); color: var(--fg); font: 600 14px/1 var(--f-head); cursor: pointer; transition: background-color .2s; }
.sp-print:hover { background: rgb(var(--fg-rgb) / .12); }

/* ---------- Contacts ---------- */
.sp-channels { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin: 32px 0 0; }
@media (min-width: 720px) { .sp-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .sp-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sp-ch { padding: 22px 24px 24px; border-radius: var(--r-lg); background: var(--card); }
.sp-ch dt { margin-bottom: 18px; font-size: 13.5px; font-weight: 500; color: var(--fg-3); }
.sp-ch dd { display: grid; gap: 6px; margin: 0; }
.sp-ch b { font: 600 clamp(18px, 1.6vw, 21px)/1.25 var(--f-head); letter-spacing: -.025em; overflow-wrap: anywhere; }
.sp-ch b a { color: var(--fg) !important; text-decoration: none; }
.sp-ch b a:hover { color: var(--accent-fg) !important; }
.sp-ch span { font-size: 14px; color: var(--fg-2); }

/* ---------- About: facts as ruled rows, features as cards ---------- */
.sp-facts { display: grid; margin: 0; border-top: 1px solid var(--hair); }
.sp-facts > div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.sp-facts dt { font-weight: 600; }
.sp-facts dd { margin: 0; line-height: 1.6; color: var(--fg-2); }
.sp-feats { display: grid; gap: 10px; margin: 0; grid-template-columns: minmax(0, 1fr); }
.sp-feats > div { display: grid; gap: 8px; align-content: start; padding: 22px 24px 24px; border-radius: var(--r-lg); background: var(--card); }
.sp-feats dt { font: 600 18px/1.3 var(--f-head); letter-spacing: -.025em; }
.sp-feats dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-2); }
@media (min-width: 720px) { .sp-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .sp-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 800px) { .sp-facts > div { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; } }
.sp-feats + .sp-meta { margin-top: 16px; }

/* ---------- Closing card: the landing's orange block ---------- */
.sp-cta-wrap { margin-top: clamp(64px, 8vw, 120px); }
.sp-cta { display: grid; gap: clamp(20px, 3vw, 48px); align-items: end; padding: clamp(28px, 5vw, 72px); border-radius: var(--r-card); background: var(--accent); color: #0A0B0D; }
.sp-cta h2 { max-width: 13em; margin: 0 0 16px; font: 600 clamp(32px, 4.6vw, 68px)/1 var(--f-head); letter-spacing: -.05em; text-wrap: balance; }
.sp-cta p { max-width: 32em; margin: 0; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.5; color: rgba(10, 11, 13, .78); }
.sp-cta .sp-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; max-width: none; }
.sp-cta :focus-visible { outline-color: #0A0B0D; }
@media (min-width: 900px) { .sp-cta { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- Footer: dark in both themes, the same as under the landing ---------- */
.sp-foot { --line: rgba(242, 240, 235, .08); --line-2: rgba(242, 240, 235, .15); --text: #F2F0EB; --muted: #AAA9A3; --dim: #8C8A85;
  margin-top: clamp(64px, 8vw, 120px); padding: 48px 0 32px; background: #0E0F12; color: var(--muted); font-size: 14.5px; line-height: 1.5; color-scheme: dark; }
.sp-cta-wrap + .sp-foot, .sp-main:has(> .sp-cta-wrap:last-child) + .sp-foot { margin-top: clamp(64px, 8vw, 120px); }
.sp-foot :focus-visible { outline-color: #FF7A4D; }
.sp-foot .sp-brand { color: var(--text) !important; font-size: 18px; }
.sp-foot .sp-brand img { width: 24px; height: 24px; }
.sp-foot-data { display: flex; gap: 14px; align-items: flex-start; max-width: 880px; margin: 0 0 8px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(242, 240, 235, .02); font-size: 13px; line-height: 1.6; color: var(--dim); }
.sp-foot-data svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sp-foot-data p { margin: 0; }
.sp-foot-data .sp-foot-data-h { margin: 0 0 4px; color: var(--text); font-weight: 600; font-size: 13.5px; }
.sp-foot-data a { color: var(--muted) !important; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.sp-foot-data a:hover { color: var(--text) !important; }
.sp-foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.sp-foot-brand { grid-column: 1 / -1; }
.sp-foot-brand p { margin: 10px 0 0; color: var(--muted); }
.sp-foot-brand a:not(.sp-brand) { color: #FF8A3D !important; }
@media (min-width: 900px) { .sp-foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1.3fr; } .sp-foot-brand { grid-column: auto; } }
.sp-foot-h { margin: 0 0 10px; font-size: 13.5px; color: var(--dim); }
.sp-foot ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sp-foot ul a { color: var(--muted) !important; text-decoration: none; }
.sp-foot ul a:hover { color: var(--text) !important; }
.sp-foot-legal { display: grid; gap: 8px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.sp-foot-legal > p { max-width: 100ch; margin: 0; }
.sp-foot-legal a { color: var(--muted) !important; }
/* v51: ".sp-foot ul" above is more specific than ".sp-social" and turned the icon row into a column. */
.sp-social, .sp-foot ul.sp-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.sp-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted) !important; transition: color .2s, border-color .2s, background-color .2s; }
.sp-social a:hover { color: var(--text) !important; border-color: var(--line-2); background: rgba(242, 240, 235, .04); }
.sp-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sp-social svg .f { fill: currentColor; stroke: none; }

/* ---------- Features page ---------- */
.sp-fx-nav { position: sticky; top: 84px; z-index: 5; margin-top: clamp(28px, 3vw, 44px); pointer-events: none; }
.sp-fx-nav .sp-wrap { display: flex; }
.sp-fx-nav ul { pointer-events: auto; display: flex; gap: 2px; max-width: 100%; margin: 0; padding: 5px; overflow-x: auto; list-style: none; border-radius: 999px; background: var(--page); background: color-mix(in srgb, var(--card) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); scrollbar-width: none; }
.sp-fx-nav ul::-webkit-scrollbar { display: none; }
.sp-fx-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; color: var(--fg-2) !important; font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .2s, background-color .2s; }
.sp-fx-nav a:hover { color: var(--fg) !important; }
.sp-fx-nav a.is-on { color: var(--on-inv) !important; background: var(--inv); }
.sp-fx-nav svg, .sp-fx-ic svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-fx-group { padding-top: clamp(56px, 7vw, 104px); scroll-margin-top: 150px; }
.sp-fx-head { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; max-width: 860px; margin-bottom: 26px; }
.sp-fx-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--card); color: var(--accent-fg); }
.sp-fx-ic svg { width: 24px; height: 24px; }
.sp-fx-head h2 { margin: 0 0 10px; font: 600 clamp(28px, 3.4vw, 48px)/1.04 var(--f-head); letter-spacing: -.045em; }
.sp-fx-head p { max-width: 38em; margin: 0; line-height: 1.55; color: var(--fg-2); }
.sp-fx-grid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .sp-fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .sp-fx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sp-fx-card { padding: 24px 24px 26px; border-radius: var(--r-lg); background: var(--card); }
.sp-fx-card.is-fresh { box-shadow: inset 0 0 0 1.5px rgba(255, 90, 38, .45); }
.sp-fx-card h3 { margin: 0 0 10px; font: 600 18px/1.3 var(--f-head); letter-spacing: -.025em; }
.sp-fx-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.sp-new { display: inline-block; margin-left: 6px; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 11.5px/1.2 var(--f-head); letter-spacing: 0; vertical-align: 2px; }
.sp-fx-models { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin-bottom: 10px; }
@media (min-width: 720px) { .sp-fx-models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sp-fx-models > div { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-card); background: var(--inv); color: var(--on-inv); }
.sp-fx-models > div.is-strong { background: var(--accent); color: #0A0B0D; }
.sp-fx-models .sp-new { justify-self: start; margin: 0; background: rgb(var(--on-inv-rgb) / .1); color: inherit; }
.sp-fx-models .is-strong .sp-new { background: rgba(10, 11, 13, .12); color: #0A0B0D; }
.sp-fx-models b { margin-top: 18px; font: 600 clamp(28px, 3.2vw, 44px)/1 var(--f-head); letter-spacing: -.045em; }
.sp-fx-models p { margin: 0; line-height: 1.55; opacity: .78; }

/* ---------- 404 ---------- */
.sp-404 { padding-top: clamp(40px, 6vw, 88px); padding-bottom: 24px; text-align: center; }
.sp-404-code { margin: 0; font: 600 clamp(110px, 20vw, 240px)/.9 var(--f-head); letter-spacing: -.07em; color: var(--tone); }
.sp-404 h1 { margin: 18px 0 14px; }
.sp-404 .sp-lead { max-width: 30em; margin: 0 auto 26px; }
.sp-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.sp-404-links a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: rgb(var(--fg-rgb) / .07); color: var(--fg) !important; font-weight: 500; text-decoration: none; transition: background-color .2s; }
.sp-404-links a:hover { background: rgb(var(--fg-rgb) / .12); }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  body.sp { font-size: 16px; }
  .sp-main { padding-top: 72px; }
  .sp-hero-cta .sp-btn, .sp-hero-cta .sp-ghost { flex: 1 1 100%; }
  .sp-free { flex-direction: column; gap: 8px; }
  .sp-pq-list li { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .sp-pq-th { width: 44px; height: 44px; }
  .sp-pq-th.is-short { width: 32px; height: 50px; }
  .sp-pq-st { grid-column: 2; justify-self: start; }
  .sp-cta .sp-cta-btns .sp-btn { flex: 1 1 100%; }
  .sp-fx-nav { top: 72px; }
  .sp-fx-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sp-faq summary { padding: 18px 64px 18px 18px; }
  .sp-faq p { padding: 0 18px 20px; }
  .sp-scroll { padding: 4px 14px; }
  .sp-print { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sp *, .sp *::before, .sp *::after { transition: none !important; }
}

@media print {
  html, html[data-theme] { --page: #fff; --fg: #000; --fg-2: #333; --fg-3: #555; --card: #fff; }
  .sp { background: #fff; color: #000; }
  .sp-top, .sp-foot, .sp-toc, .sp-crumbs, .sp-cta-wrap, .sp-print, .sp-skip, .ap-cookie, .ap-mbar { display: none !important; }
  .sp-main { padding-top: 0; }
  .sp a { color: #000; }
  .sp-doc-body { max-width: none; }
  .sp table.grid th, .sp table.grid td { border-color: #ccc; }
}

/* ---------- v62: «Зеркало в Max», страницы /autoposting/vk-to-max и /autoposting/telegram-to-max ---------- */
.sp-bridge .sp-kicker .sp-lg + .sp-lg { margin-left: -9px; box-shadow: 0 0 0 2px var(--card); }
.sp-br { width: 100%; max-width: 560px; margin: 0; }
@media (min-width: 1080px) { .sp-br { max-width: none; } }
.sp-br-card { padding: clamp(16px, 1.8vw, 22px); border-radius: var(--r-card); background: var(--card); }
.sp-br-card.is-to { box-shadow: inset 0 0 0 1px var(--hair-2); }
.sp-br-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.sp-br-head .sp-lg { width: 36px; height: 36px; border-radius: 11px; }
.sp-br-text { margin: 14px 0 12px; font: 500 15.5px/1.45 var(--f-head); color: var(--fg); }
.sp-br-pics { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 6px; }
.sp-br-pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-sm); background: var(--card-2); }
.sp-br-card.is-to .sp-br-pics { grid-template-columns: repeat(var(--n, 2), 64px); }
.sp-br-card.is-to .sp-br-pic { aspect-ratio: 1; }
.sp-br-card.is-to .sp-br-text { margin: 12px 0 10px; }
.sp-br-pic svg { display: block; width: 100%; height: 100%; }
.sp-br-pic path { fill: rgb(var(--fg-rgb) / .1); }
.sp-br-pic circle { fill: rgb(var(--fg-rgb) / .16); }
.sp-br-link { position: relative; display: flex; align-items: center; justify-content: center; height: 52px; }
.sp-br-link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--hair-2); }
.sp-br-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 11px; border-radius: 999px; background: var(--float); box-shadow: var(--sh-float); font: 500 13.5px/1 var(--f-head); color: var(--fg); }
.sp-br-chip svg { width: 18px; height: 18px; fill: none; stroke: var(--fg-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sp-bridges .sp-br-pair { display: inline-flex; align-items: center; gap: 4px; max-width: none; margin: 0 12px 0 0; vertical-align: -6px; font-size: inherit; color: var(--fg-3); }
.sp-bridges .sp-br-pair .sp-lg { width: 26px; height: 26px; border-radius: 8px; }
.sp-bridges .sp-br-pair svg:not(.sp-lg) { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .sp-br-head { grid-template-columns: auto minmax(0, 1fr); }
  .sp-br-head > .sp-pq-tag, .sp-br-head > .sp-pq-st { grid-column: 2; justify-self: start; }
  .sp-bridges .sp-br-pair { display: flex; width: fit-content; margin: 0 0 10px; }
}

/* ---------- v63: гайды по клипам ВК и «Проверка ролика» ---------- */
.sp-go { max-width: 760px; margin: 18px 0 28px; }
.sp-go a { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 10px 0 22px; border-radius: 999px; background: var(--card); color: var(--fg) !important; font: 600 16px/1.2 var(--f-head); letter-spacing: -.01em; text-decoration: none; transition: background-color .2s; }
.sp-go a:hover { background: var(--card-2); }
.sp-go .sp-arrow { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--float); box-shadow: var(--sh-float); fill: none; stroke: var(--fg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.sp-go a:hover .sp-arrow { transform: translateX(3px); }
.sp-src { max-width: 760px; margin: clamp(40px, 4vw, 56px) 0 0; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }
.sp-src .sp-src-h { margin: 0 0 8px; font: 600 14.5px/1.3 var(--f-head); color: var(--fg); }
.sp-src ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sp-src a { color: var(--fg-2); text-decoration: underline; text-decoration-color: var(--hair-2); }
.sp-src a:hover { color: var(--fg); }
.sp-src .sp-src-d { margin: 10px 0 0; font-size: 14px; color: var(--fg-3); }
:root, html[data-theme="dark"] { --err: #FF6B6B; --err-soft: rgba(255, 107, 107, .12); }
html[data-theme="light"] { --err: #B42318; --err-soft: rgba(180, 35, 24, .08); }
.sp-vc-k { display: inline-grid; place-items: center; color: var(--fg); }
.sp-vc-k svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-vc { position: relative; width: 100%; max-width: 560px; }
@media (min-width: 1080px) { .sp-vc { max-width: none; } }
.sp-vc-input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.sp-vc-drop { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: clamp(320px, 30vw, 400px); padding: clamp(28px, 3vw, 44px) 24px; border: 1.5px dashed var(--hair-2); border-radius: var(--r-card); background: var(--card); text-align: center; cursor: pointer; transition: background-color .25s, border-color .25s; }
.sp-vc-drop:hover, .sp-vc.is-over .sp-vc-drop { background: var(--card-2); }
.sp-vc.is-over .sp-vc-drop, .sp-vc.is-over .sp-vc-file { border-color: var(--accent-fg); box-shadow: inset 0 0 0 1.5px var(--accent-fg); }
.sp-vc-frame { display: grid; place-items: center; width: 84px; height: 112px; margin-bottom: 6px; border-radius: 22px; background: var(--float); box-shadow: var(--sh-float); }
.sp-vc-frame svg { width: 38px; height: 62px; fill: none; stroke: var(--fg-2); stroke-width: 3; stroke-linejoin: round; }
.sp-vc-frame path { fill: var(--fg); stroke: none; }
.sp-vc-h { font: 600 clamp(20px, 1.8vw, 24px)/1.2 var(--f-head); letter-spacing: -.025em; color: var(--fg); }
.sp-vc-or { font-size: 15px; line-height: 1.45; color: var(--fg-2); }
.sp-vc-btn { margin-top: 8px; }
.sp-vc-stays { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13.5px; color: var(--fg-3); }
.sp-vc-stays svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-vc-input:focus-visible + .sp-vc-drop .sp-vc-btn, .sp-vc-input:focus-visible ~ .sp-vc-file .sp-vc-again { outline: 2px solid var(--accent-fg); outline-offset: 3px; border-radius: 999px; }
.sp-vc-file { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(16px, 2vw, 24px); padding: clamp(18px, 2vw, 26px); border: 1.5px solid transparent; border-radius: var(--r-card); background: var(--card); }
.sp-vc-file[hidden], .sp-vc-drop[hidden] { display: none; }
.sp-vc-thumb { width: clamp(88px, 9vw, 128px); aspect-ratio: var(--vc-ar, 9 / 16); max-height: 228px; overflow: hidden; border-radius: var(--r-sm); background: var(--card-2); }
.sp-vc-thumb video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-vc.is-unread .sp-vc-thumb video { visibility: hidden; }
.sp-vc-name { display: block; font: 600 16.5px/1.35 var(--f-head); letter-spacing: -.015em; overflow-wrap: anywhere; color: var(--fg); }
.sp-vc-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.sp-vc-facts li { padding: 7px 11px; border-radius: 999px; background: rgb(var(--fg-rgb) / .07); font: 500 13.5px/1 var(--f-head); font-variant-numeric: tabular-nums; color: var(--fg); }
.sp-vc-sum { margin: 16px 0 0; font: 600 clamp(18px, 1.6vw, 21px)/1.3 var(--f-head); letter-spacing: -.02em; color: var(--fg); }
.sp-vc-sum:empty { display: none; }
.sp-vc-sum[data-state="ok"] { color: var(--ok); }
.sp-vc-sum[data-state="err"] { color: var(--err); }
.sp-vc-acts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; font-size: 15px; }
.sp-vc-more, .sp-vc-again { color: var(--accent-fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.sp-vc-msg { margin: 12px 0 0; padding: 14px 16px; border-radius: var(--r); background: var(--wait-soft); font-size: 14.5px; line-height: 1.5; color: var(--fg); }
.sp-vc-msg[hidden] { display: none; }
.sp-vc-head { display: none; }
.sp-vc-list { display: grid; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.sp-vc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px 16px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--card); }
.sp-vc-pl { display: flex; align-items: center; gap: 12px; grid-column: 1 / -1; min-width: 0; }
.sp-vc-pl .sp-lg { width: 36px; height: 36px; flex: none; border-radius: 11px; }
.sp-vc-pl b { font: 600 16.5px/1.3 var(--f-head); letter-spacing: -.015em; }
.sp-vc-c { min-width: 0; }
.sp-vc-c small { display: block; margin-bottom: 4px; font-size: 12.5px; line-height: 1.3; color: var(--fg-3); }
.sp-vc-v { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; line-height: 1.4; color: var(--fg-2); }
.sp-vc-ic { display: none; width: 18px; height: 18px; flex: none; margin-top: 1px; background-color: currentColor; -webkit-mask: var(--vc-i) center / contain no-repeat; mask: var(--vc-i) center / contain no-repeat; }
.sp-vc-c[data-state] .sp-vc-v { color: var(--fg); }
.sp-vc-c[data-state="none"] .sp-vc-v { color: var(--fg-2); }
.sp-vc-c[data-state="ok"] .sp-vc-ic, .sp-vc-c[data-state="warn"] .sp-vc-ic, .sp-vc-c[data-state="err"] .sp-vc-ic, .sp-vc-c[data-state="unk"] .sp-vc-ic { display: block; }
.sp-vc-c[data-state="ok"] .sp-vc-ic { color: var(--ok); --vc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm5.2 7.7-6.4 7.2a1 1 0 0 1-1.5 0l-3.4-3.6a1 1 0 1 1 1.5-1.4l2.6 2.8 5.7-6.4a1 1 0 0 1 1.5 1.4Z'/%3E%3C/svg%3E"); }
.sp-vc-c[data-state="warn"] .sp-vc-ic { color: var(--wait); --vc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm0 5a1.2 1.2 0 0 1 1.2 1.2v5.6a1.2 1.2 0 0 1-2.4 0V7.2A1.2 1.2 0 0 1 12 6Zm0 12.2a1.4 1.4 0 1 1 0-2.8 1.4 1.4 0 0 1 0 2.8Z'/%3E%3C/svg%3E"); }
.sp-vc-c[data-state="err"] .sp-vc-ic { color: var(--err); --vc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm4 13.6a1 1 0 0 1-1.4 1.4L12 13.4 9.4 16A1 1 0 0 1 8 14.6l2.6-2.6L8 9.4A1 1 0 0 1 9.4 8l2.6 2.6L14.6 8A1 1 0 0 1 16 9.4L13.4 12Z'/%3E%3C/svg%3E"); }
.sp-vc-c[data-state="unk"] .sp-vc-ic { color: var(--fg-3); --vc-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm4 12H8a1 1 0 1 1 0-2h8a1 1 0 1 1 0 2Z'/%3E%3C/svg%3E"); }
.sp-vc-st { background: rgb(var(--fg-rgb) / .07); color: var(--fg-2); }
.sp-vc-st.is-warn { background: var(--wait-soft); color: var(--wait); }
.sp-vc-st.is-err { background: var(--err-soft); color: var(--err); }
.sp-vc-st.is-unk { background: rgb(var(--fg-rgb) / .07); color: var(--fg-2); }
.sp-vc-tip { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: var(--r); background: rgb(var(--fg-rgb) / .05); font-size: 14.5px; line-height: 1.5; color: var(--fg); }
.sp-vc-tip[hidden] { display: none; }
.sp-vcp #vc-result .sp-meta { margin: 14px 0 0; }
.sp-vc-go { display: grid; align-items: center; gap: 18px 32px; margin-top: 28px; padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-card); background: var(--card); }
.sp-vc-go h3 { margin: 0 0 8px; font: 600 clamp(22px, 2vw, 28px)/1.15 var(--f-head); letter-spacing: -.03em; text-wrap: balance; }
.sp-vc-go p { margin: 0; line-height: 1.55; color: var(--fg-2); }
.sp-vc-go .sp-btn { white-space: normal; text-align: center; line-height: 1.2; padding-top: 12px; padding-bottom: 12px; }
@media (min-width: 900px) {
  .sp-vc-head, .sp-vc-row { grid-template-columns: minmax(190px, 1.15fr) repeat(3, minmax(0, 1fr)) 150px; gap: 12px 20px; }
  .sp-vc-head { display: grid; padding: 0 20px 10px; font-size: 13px; color: var(--fg-3); }
  .sp-vc-row { align-items: center; padding: 16px 20px; }
  .sp-vc-pl { grid-column: auto; }
  .sp-vc-c small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sp-vc-end { justify-self: start; }
  .sp-vc-go { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 760px) {
  .sp-vc-drop { min-height: 0; padding: 28px 20px; }
  .sp-vc-frame { width: 68px; height: 92px; border-radius: 18px; }
  .sp-vc-frame svg { width: 32px; height: 52px; }
  .sp-vc-go .sp-btn { width: 100%; }
}
