/* Open House Creatives, the white site (2026-11-21).
   Tokens, buttons, logo tiles, cards and the pop-up are the client portal's kit (ohc-account app/lofty.css) and the
   services shop's (open-house-connect services_page.py), with one change: the primary button is black, like the logo.
   Purple stays on small things: focus rings, the step numbers' hover, the tick. */

:root {
  --ink: #111114;
  --ink-soft: #202437;
  --text: #515666;
  --muted: #6c7180;
  --faint: #a0a3af;
  --line: #e1e2e6;
  --line-soft: #ebecf1;
  --page: #f7f8fb;
  --brand: #b026ff;
  --brand-tint: #f7e9ff;
  --red: #d92d3a;
  --r-card: 16px;
  --r-ctl: 10px;
  --shadow-pop: 0 2px 10px rgba(32, 36, 55, .14);
  --shadow-float: 0 24px 60px -18px rgba(16, 20, 40, .28);
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
/* A stand-in sized like Inter, so text does not move when Inter arrives (the terms page shifted without it). */
@font-face { font-family: "Inter fallback"; src: local("Arial"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }
body { margin: 0; background: #fff; color: var(--text); font: 16px/1.55 Inter, "Inter fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
html.hold { overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }

h1, h2 { color: var(--ink); font-weight: 600; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
h3 { color: var(--ink); font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-ctl); font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2b2c33; }
.btn--white { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: 0 1px 2px rgba(16, 20, 40, .05); }
.btn--white:hover { border-color: var(--ink); }
.btn--block { width: 100%; height: 50px; font-size: 16px; }
.btn--icon { width: 44px; padding: 0; }
.btn--icon svg { width: 18px; height: 18px; }
.btn:disabled { background: var(--line-soft); color: var(--faint); cursor: not-allowed; }
:is(a, button, input, summary):focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---- top bar: Osmo's "Mega Navigation (Directional Hover)" in the site's look (script: js/nav.js) ----
   The header must not get a transform, filter or backdrop-filter: the phone menu and the backdrop are position: fixed
   inside it and would be measured against the header instead of the screen. */
.top { position: sticky; top: 0; z-index: 50; background: #fff; }
[data-menu-wrap] { --nav-height: 72px; }
.mega-nav { position: relative; }
.mega-nav ul { margin: 0; padding: 0; list-style: none; }
.mega-nav__bar { position: relative; z-index: 3; background: #fff; }
.mega-nav__container { display: flex; align-items: center; height: var(--nav-height); max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.mega-nav__bar-start { position: relative; display: flex; align-items: center; width: 100%; }
.mega-nav__bar-logo { flex: none; display: flex; align-items: center; height: 44px; margin-right: 32px; }
.mega-nav__bar-logo img { height: 18px; width: auto; }
.mega-nav__bar-inner { display: flex; align-items: center; gap: 12px; width: 100%; }
.mega-nav__bar-list { display: flex; align-items: center; gap: 2px; }
.mega-nav__bar-list.is--actions { margin-left: auto; gap: 8px; }
.mega-nav__bar-link { display: flex; align-items: center; gap: 2px; height: 40px; padding: 0 14px; border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; transition: background .15s; }
.mega-nav__bar-link.is--dropdown { padding-right: 8px; }
.mega-nav__bar-link-label { font-size: 15px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.mega-nav__bar-link-icon { flex: none; width: 20px; transition: transform .2s; }
.mega-nav__bar-cta { display: flex; align-items: center; justify-content: center; gap: 2px; height: 44px; padding: 0 10px 0 18px; border: 1px solid var(--ink); border-radius: var(--r-ctl); background: var(--ink); color: #fff; transition: background .15s, border-color .15s; }
.mega-nav__bar-cta:hover { background: #2b2c33; }
.mega-nav__bar-cta.is--secondary { padding: 0 18px; border-color: var(--line); background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(16, 20, 40, .05); }
.mega-nav__bar-cta.is--secondary:hover { border-color: var(--ink); background: #fff; }
.mega-nav__bar-end { display: none; align-items: center; }
.mega-nav__burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: var(--page); font-size: 16px; cursor: pointer; }
.mega-nav__burger-line { position: relative; z-index: 1; flex: none; display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); }
.mega-nav__back { position: absolute; left: -10px; z-index: 2; opacity: 0; visibility: hidden; }
.mega-nav__backdrop { position: fixed; inset: 0; z-index: 0; opacity: 0; visibility: hidden; pointer-events: none; background: rgba(17, 17, 20, .3); }
.mega-nav__dropdown-wrapper { position: absolute; top: 100%; left: 0; right: 0; z-index: 2; pointer-events: none; }
.mega-nav__dropdown-container { position: relative; overflow: hidden; }
[data-menu-open="true"] .mega-nav__dropdown-container { box-shadow: 0 30px 50px -30px rgba(16, 20, 40, .35); }
.mega-nav__dropdown-bg { position: absolute; inset: 0; background: #fff; border-top: 1px solid var(--line-soft); will-change: transform; }
.mega-nav__dropdown-panel { position: absolute; inset: 0 0 auto; opacity: 0; visibility: hidden; pointer-events: none; overflow: hidden; }
.mega-nav__dropdown-inner { display: flex; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 12px; }
.mega-nav__panel-col { display: flex; flex-direction: column; flex: 1; gap: 12px; min-width: 0; padding: 30px 12px 34px; border-right: 1px solid var(--line-soft); }
.mega-nav__panel-col.is--last, .mega-nav__panel-col:last-of-type { border-right: 0; }
.mega-nav__panel-col.is--colored { margin: 20px 12px 24px; padding: 20px 12px; border-radius: 16px; background: var(--page); }
.mega-nav__panel-col.is--colored.has--card { padding: 12px; }
.mega-nav__panel-label { padding-left: 12px; font-size: 13px; font-weight: 500; line-height: 1; color: var(--muted); }
.mega-nav__panel-list + .mega-nav__panel-label { margin-top: 12px; }
.mega-nav__panel-list { display: flex; flex-direction: column; width: 100%; }
.mega-nav__panel-link { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--ink); transition: background .15s; }
.mega-nav__panel-link:hover { background: var(--page); }
.mega-nav__panel-link-body { display: flex; flex-direction: column; min-width: 0; }
.mega-nav__panel-link .lg { flex: none; }
.mega-nav__panel-link-text { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.mega-nav__panel-link-desc { font-size: 13.5px; font-weight: 400; line-height: 1.35; color: var(--muted); }
.mega-nav__card { display: flex; flex-direction: column; width: 100%; height: 100%; border-radius: 12px; background: #fff; overflow: hidden; }
.mega-nav__card-visual { position: relative; width: 100%; height: 168px; }
.mega-nav__card-img { width: 100%; height: 100%; object-fit: cover; }
.mega-nav__card-content { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px; }
.mega-nav__card-text { display: flex; flex-direction: column; gap: 3px; }
.mega-nav__card-cta { display: flex; align-items: center; height: 38px; padding: 0 8px 0 14px; border-radius: 9px; background: var(--ink); color: #fff; transition: background .15s; }
.mega-nav__card-cta:hover { background: #2b2c33; }
.mega-nav__card-cta-label { font-size: 14px; font-weight: 500; line-height: 1.2; }
.mega-nav__card-cta-icon { width: 20px; }
.mega-nav__panel-col.is--wide { flex: 1.5; }
.mega-nav__card--shop { color: inherit; }
.mega-nav__card--shop .mega-nav__card-visual { height: 224px; background: #eef0f5; overflow: hidden; }
.mega-nav__card-shot { position: absolute; left: 20px; top: 20px; width: 128%; max-width: none; height: auto; border-radius: 8px 0 0 0; box-shadow: 0 10px 30px -10px rgba(16, 20, 40, .35); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.mega-nav__card--shop:hover .mega-nav__card-shot { transform: translate(-8px, -8px); }
.mega-nav__card--shop:hover .mega-nav__card-cta { background: #2b2c33; }
@media (min-width: 992px) {
  .mega-nav__bar-link:hover, .mega-nav__bar-link[aria-expanded="true"] { background: var(--page); }
  .mega-nav__bar-link[aria-expanded="true"] .mega-nav__bar-link-icon.is--dropdown { transform: rotate(180deg); }
}
@media (max-width: 991px) {
  [data-menu-wrap] { --nav-height: 64px; }
  .mega-nav__container { padding: 0 16px; }
  .mega-nav__bar-start { justify-content: space-between; }
  .mega-nav__bar-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .mega-nav__bar-list.is--actions { flex-direction: row; gap: 10px; margin-left: 0; }
  .mega-nav__bar-action { flex: 1; }
  .mega-nav__bar-link { width: 100%; height: auto; padding: 17px 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .mega-nav__bar-link.is--dropdown { justify-content: space-between; padding-right: 0; }
  .mega-nav__bar-link.is--back { width: auto; padding: 12px 10px; border-bottom: 0; }
  .mega-nav__bar-link-label { font-size: 19px; }
  .mega-nav__bar-link.is--back .mega-nav__bar-link-label, .mega-nav__bar-cta .mega-nav__bar-link-label { font-size: 16px; }
  .mega-nav__bar-link-icon { width: 24px; }
  .mega-nav__bar-link-icon.is--dropdown { transform: rotate(-90deg); }
  .mega-nav__bar-end { display: flex; }
  .mega-nav__bar-cta { height: 52px; }
  .mega-nav__bar-inner { position: fixed; top: var(--nav-height); right: 0; bottom: 0; left: 0; flex-direction: column; justify-content: space-between; align-items: center; padding: 8px 16px calc(20px + env(safe-area-inset-bottom)); background: #fff; overflow: auto; opacity: 0; visibility: hidden; }
  .mega-nav__backdrop { display: none; }
  .mega-nav__dropdown-wrapper { position: fixed; top: var(--nav-height); bottom: 0; z-index: 4; }
  .mega-nav__dropdown-container { height: 100%; overflow: auto; box-shadow: none !important; }
  .mega-nav__dropdown-bg { display: none; }
  .mega-nav__dropdown-panel { bottom: 0; background: #fff; overflow: auto; }
  .mega-nav__dropdown-inner { flex-direction: column; padding: 0 4px; }
  .mega-nav__panel-col { flex: none; padding: 22px 12px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .mega-nav__panel-col.is--colored { margin: 16px 12px 28px; border-bottom: 0; }
  .mega-nav__panel-label { width: 100%; }
  .mega-nav__panel-link { padding: 11px 12px; min-height: 46px; }
  .mega-nav__card-visual { height: 150px; }
  .mega-nav__card--shop .mega-nav__card-visual { height: 200px; }
  .mega-nav__card-cta { height: 46px; padding: 0 10px 0 16px; }
  .mega-nav__card-cta-label { font-size: 15px; }
}

/* ---- hero ---- */
.hero { position: relative; display: flex; flex-direction: column; margin: 0 16px; min-height: min(760px, calc(100svh - 88px)); border-radius: 28px; overflow: hidden; background: #0f1630; isolation: isolate; }
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 11, 30, .78) 0%, rgba(8, 11, 30, .62) 40%, rgba(8, 11, 30, .3) 62%, rgba(8, 11, 30, .34) 74%, rgba(8, 11, 30, .8) 100%); }
.hero__in { display: flex; flex-direction: column; align-items: center; padding: 72px 24px 0; text-align: center; }
.hero h1 { max-width: 15ch; color: #fff; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.04; text-wrap: balance; }
.hero__sub { max-width: 500px; margin-top: 18px; color: #fff; font-size: 18px; line-height: 1.5; text-wrap: balance; }
.hero__notes { display: flex; margin-top: 18px; padding: 8px 18px; border-radius: 999px; background: rgba(8, 11, 30, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 15px; font-weight: 500; }
.hero__notes li + li { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .4); }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 980px; margin: auto auto 0; padding: 56px 24px 44px; text-align: center; color: #fff; }
.hero__stats dt { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero__stats dd { margin-top: 6px; font-size: 15px; }

/* ---- the listing bar ---- */
.bar { display: flex; align-items: center; width: 100%; max-width: 580px; height: 66px; margin-top: 30px; padding: 0 9px 0 20px; border-radius: 16px; background: #fff; box-shadow: 0 12px 34px -10px rgba(5, 8, 24, .5); }
.bar__pin { flex: none; width: 20px; height: 20px; color: var(--muted); }
.bar input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0; outline: 0; background: none; font-size: 17px; color: var(--ink); }
.bar input::placeholder { color: var(--muted); }
.bar:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.bar .btn { height: 48px; }
.bar--sm { height: 58px; margin: 0; padding-left: 16px; border-radius: 14px; }
.bar--sm input { font-size: 16px; }
.bar--sm .btn { height: 44px; width: 44px; }
.bar--line { margin-top: 26px; border: 1px solid var(--line); box-shadow: 0 8px 24px -14px rgba(16, 20, 40, .25); }
.bar.is-bad { outline: 2px solid var(--red); outline-offset: 2px; }
.bar__err { margin-top: 10px; font-size: 14px; color: var(--red); }
.hero .bar__err { padding: 4px 12px; border-radius: 8px; background: #fff; }

/* ---- sections ---- */
.sec { padding: 112px 0 0; }
.sec--soft { margin-top: 112px; padding: 96px 0; background: var(--page); }
.sec--end { padding-bottom: 112px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }

/* what we send: one wide tile, two under it */
.send { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.tile { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; overflow: hidden; }
.tile__text { padding: 32px 32px 0; }
.tile__text p { max-width: 34ch; margin-top: 8px; }
.tile .logos { margin-top: 22px; }
.tile--wide { grid-column: 1 / -1; flex-direction: row; align-items: stretch; min-height: 460px; }
.tile--wide .tile__text { flex: 0 0 38%; padding: 44px 0 44px 44px; align-self: center; }
.tile--wide h3, .tile--ads h3, .tile--reel h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.tile__phones { position: relative; flex: 1; min-width: 0; overflow-x: visible; overflow-y: clip; }
.tile__phones img { position: absolute; width: 232px; max-width: none; filter: drop-shadow(0 12px 20px rgba(16, 20, 40, .1)); }
.tile__phones img:nth-child(1) { left: 6%; top: 164px; }
.tile__phones img:nth-child(2) { left: calc(6% + 208px); top: 44px; z-index: 1; }
.tile__phones img:nth-child(3) { left: calc(6% + 416px); top: 164px; }
.tile__ads, .tile__reels { display: flex; align-items: flex-start; justify-content: center; gap: 16px; margin-top: 32px; padding: 0 32px; height: 290px; overflow: hidden; }
.tile__ads img, .tile__reels img { flex: 1; min-width: 0; border-radius: 10px; box-shadow: 0 10px 30px -8px rgba(16, 20, 40, .22); }
.tile__ads { align-items: center; height: auto; flex: 1; padding-bottom: 40px; overflow: visible; }
.tile__reels img { border-radius: 10px 10px 0 0; }
.tile__reels img:nth-child(2) { margin-top: 30px; }

/* the homepage's service tiles */
.send--flush { margin-top: 0; }
.tile__text > .logos:first-child { margin: 0 0 22px; }
.tile__text .btn { margin-top: 24px; }
.tile__list { margin-top: 14px !important; font-size: 14px; color: var(--muted); }
.tile__list a { color: var(--ink-soft); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: text-decoration-color .15s; }
.tile__list a:hover { text-decoration-color: var(--ink); }
/* paid ads: four large phones, every other one raised and whole, the rest lower and cut by the tile */
.tile--ads4 { min-height: 500px; }
.tile--ads4 .tile__text { flex-basis: 28%; }
.tile__phones.tile__phones--4 img { width: 240px; }
.tile__phones.tile__phones--4 img:nth-child(1) { left: 0; top: 190px; z-index: 0; }
.tile__phones.tile__phones--4 img:nth-child(2) { left: 206px; top: 48px; z-index: 1; }
.tile__phones.tile__phones--4 img:nth-child(3) { left: 412px; top: 190px; z-index: 0; }
.tile__phones.tile__phones--4 img:nth-child(4) { position: absolute; left: 618px; top: 48px; z-index: 1; }
.tile__pair { display: flex; justify-content: center; gap: 0; height: 352px; margin-top: 28px; overflow: hidden; }
.tile__pair img { width: 196px; max-width: none; height: auto; align-self: flex-start; margin: 0 -8px; filter: drop-shadow(0 12px 20px rgba(16, 20, 40, .1)); }
.tile__pair img:nth-child(2) { z-index: 1; }
.tile__pair img:nth-child(odd) { margin-top: 100px; }
.tile__site { position: relative; height: 352px; margin-top: 28px; padding: 0 0 0 32px; overflow: hidden; }
.tile__site img:first-child { width: 84%; filter: drop-shadow(0 18px 28px rgba(16, 20, 40, .14)); }
.tile__site img:last-child { position: absolute; right: 24px; top: 100px; width: 196px; filter: drop-shadow(0 12px 22px rgba(16, 20, 40, .18)); }
.tile--portal { min-height: 500px; }
.tile__note { display: block; margin-top: 16px; font-size: 13px; color: var(--muted); }
.tile__desk { position: relative; flex: 1; min-width: 0; }
.tile__desk img:first-child { position: absolute; left: 210px; top: 56px; width: 800px; max-width: none; filter: drop-shadow(0 24px 40px rgba(16, 20, 40, .18)); }
.tile__desk img:nth-child(2) { position: absolute; left: 24px; top: 118px; width: 216px; z-index: 1; filter: drop-shadow(0 12px 22px rgba(16, 20, 40, .16)); }

/* follow-up and sequences: the mock-ups on the left this time. The sequence in the CRM at the back, the call task it
   makes laid over its corner, then the email and the text it sends on two phones */
.tile--flip { flex-direction: row-reverse; }
.tile--flip.tile--wide .tile__text { padding: 44px 44px 44px 0; }
.tile--seq { min-height: 520px; }
.tile--seq .tile__text { flex-basis: 26%; }
.tile__seq { position: relative; flex: 1; min-width: 0; overflow: clip; }
.tile__seq img { position: absolute; max-width: none; }
.tile__seq img:nth-child(1) { left: 14px; top: 46px; width: 590px; }
.tile__seq img:nth-child(2) { left: 540px; top: 40px; width: 204px; z-index: 1; filter: drop-shadow(0 12px 22px rgba(16, 20, 40, .16)); }
.tile__seq img:nth-child(3) { left: 684px; top: 168px; width: 204px; z-index: 2; filter: drop-shadow(0 12px 22px rgba(16, 20, 40, .16)); }

/* mock-ups rise into place one after another when their tile comes into view */
.js .rv .art img { opacity: 0; translate: 0 36px; transition: opacity .7s ease, translate .9s cubic-bezier(.2, .8, .2, 1); }
.js .rv.in .art img { opacity: 1; translate: 0 0; }
.js .rv .art img:nth-child(2) { transition-delay: .09s; }
.js .rv .art img:nth-child(3) { transition-delay: .18s; }
.js .rv .art img:nth-child(4) { transition-delay: .27s; }

/* the platforms row under the hero */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding-top: 40px; padding-bottom: 0; }
.strip li { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.strip img { width: 22px; height: 22px; }
.sec--first { padding-top: 96px; }

/* the free brief card on the homepage */
.offer { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); border: 1px solid var(--line); border-radius: 24px; background: #fff; overflow: hidden; }
.offer__text { padding: 64px 56px; align-self: center; }
.offer__text > p:not(.bar__err) { margin-top: 14px; max-width: 42ch; font-size: 17px; }
.offer__more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; padding: 0; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.offer__art { display: flex; align-items: center; gap: 14px; padding: 48px 48px 48px 0; }
.offer__art img { flex: 1; min-width: 0; border-radius: 10px; box-shadow: 0 10px 30px -8px rgba(16, 20, 40, .22); }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; background: var(--page); }
.post span { display: block; margin-top: 18px; font-size: 14px; color: var(--muted); }
.post h3 { margin-top: 6px; font-size: 19px; line-height: 1.3; text-wrap: balance; }
.post:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* real marks on white tiles (the shop's .sv-tile) */
.logos { display: flex; gap: 8px; }
.lg { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-soft); border-radius: 10px; background: #fff; box-shadow: 0 4px 10px -6px rgba(32, 36, 55, .3); }
.lg img { width: 22px; height: 22px; object-fit: contain; }

/* how it works */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.how__card { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--page); }
.how__card img { width: 100%; height: 100%; object-fit: cover; }
.how__card img.low { object-position: 50% 100%; }
.how__card .bar { position: absolute; left: 24px; right: 24px; bottom: 24px; width: auto; max-width: none; }
.steps { margin-top: 28px; }
.steps li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.steps li:last-child { border-bottom: 0; }
.steps__n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--page); color: var(--ink); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps p { margin-top: 4px; max-width: 46ch; }

/* services: the shop's card */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; min-height: 220px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--ink); box-shadow: 0 10px 26px -16px rgba(16, 20, 40, .3); }
.card h3 { margin: 20px 0 6px; }
.card p { font-size: 15px; line-height: 1.5; }

/* portal */
.portal { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.portal__text p { margin: 16px 0 26px; max-width: 38ch; font-size: 17px; }
.portal__art { position: relative; padding: 36px 0 36px 36px; border-radius: 24px; background: var(--page); overflow: hidden; }
.portal__desk { width: 112%; max-width: none; border-radius: 10px; box-shadow: var(--shadow-float); }
.portal__phone { position: absolute; left: 4px; bottom: -84px; width: 190px; filter: drop-shadow(0 12px 22px rgba(16, 20, 40, .16)); }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq__head p { margin: 14px 0 22px; }
.faq__list { display: grid; gap: 10px; }
.faq__list details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform .2s; }
.faq__list summary i::after { transform: rotate(90deg); }
.faq__list details[open] summary i::after { transform: none; }
.faq__list details p { padding: 0 22px 22px; max-width: 62ch; }
.faq__list details p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* closing card */
.end { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.end__text { padding: 64px 56px; align-self: center; }
.end__text > p:not(.bar__err) { margin-top: 12px; font-size: 17px; }
.end__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.end__photo { min-height: 380px; }
.end__photo img { width: 100%; height: 100%; object-fit: cover; }

/* footer */
.foot { border-top: 1px solid var(--line-soft); padding: 56px 0 28px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) 190px 190px 150px 90px; gap: 40px; }
.foot__brand img { width: 190px; }
.foot__brand p { margin-top: 18px; font-size: 15px; }
.foot__col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot__col b { color: var(--ink); font-weight: 600; }
.foot__col a:hover { color: var(--ink); }
.foot__base { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }

/* ---- service pages (v2/services, built by tools/build-services.py): a hero on a photograph, then the product page's order ---- */
.svc-hero { position: relative; margin: 0 16px; border-radius: 28px; overflow: hidden; background: #0f1630; isolation: isolate; }
.svc-hero__photo, .svc-close__photo { position: absolute; inset: 0; z-index: -2; }
.svc-hero__photo img, .svc-close__photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 11, 30, .9) 0%, rgba(8, 11, 30, .78) 34%, rgba(8, 11, 30, .34) 64%, rgba(8, 11, 30, .22) 100%); }
.svc-hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; width: min(var(--wrap), 100% - 80px); min-height: 660px; margin: 0 auto; }
.svc-hero__text { padding: 56px 0; }
.svc-hero__group { margin-bottom: 20px; font-size: 15px; font-weight: 500; color: #fff; }
.svc-hero__group a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; }
.svc-hero__group a:hover { text-decoration-color: #fff; }
.svc-hero .lg { border-color: transparent; box-shadow: 0 6px 14px -6px rgba(4, 6, 20, .5); }
.svc-hero h1 { margin-top: 24px; color: #fff; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.05; text-wrap: balance; }
.svc-hero__sub { max-width: 44ch; margin-top: 18px; color: #fff; font-size: 18px; line-height: 1.5; }
.svc-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #ecedf2; }
.btn--glass { border-color: rgba(255, 255, 255, .55); background: rgba(8, 11, 30, .45); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { border-color: #fff; background: rgba(8, 11, 30, .6); }
.svc-art { position: relative; align-self: stretch; min-height: 660px; }
.svc-art img { position: absolute; max-width: none; }
.svc-art--phones img { width: 250px; filter: drop-shadow(0 18px 28px rgba(4, 6, 20, .45)); }
.svc-art--phones img:nth-child(1) { left: calc(50% - 353px); top: 150px; }
.svc-art--phones img:nth-child(2) { left: calc(50% - 125px); top: 62px; z-index: 1; }
.svc-art--phones img:nth-child(3) { left: calc(50% + 103px); top: 178px; }
.svc-art--two img:nth-child(1) { left: calc(50% - 262px); top: 168px; }
.svc-art--two img:nth-child(2) { left: calc(50% + 12px); top: 72px; }
.svc-art--wide img:first-child { left: 96px; top: 96px; width: 860px; filter: drop-shadow(0 22px 36px rgba(4, 6, 20, .45)); }
.svc-art--wide img:nth-child(2) { left: 0; top: 204px; width: 232px; z-index: 1; filter: drop-shadow(0 18px 28px rgba(4, 6, 20, .5)); }
.svc-strip { border-bottom: 1px solid var(--line-soft); }
.svc-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-top: 24px; padding-bottom: 24px; }
.svc-strip b { font-size: 15px; font-weight: 600; color: var(--ink); }
.svc-strip ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.svc-strip li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.lg--sm { width: 32px; height: 32px; border-radius: 8px; }
.lg--sm img { width: 18px; height: 18px; }
.svc-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.svc-split > div > p { max-width: 40ch; margin-top: 16px; font-size: 17px; }
.svc-photo { margin-top: 36px; border-radius: 24px; overflow: hidden; aspect-ratio: 6 / 5; background: var(--page); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-ticks li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.svc-ticks li:first-child { padding-top: 6px; }
.svc-ticks li:last-child { border-bottom: 0; }
.svc-ticks svg { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--page); color: var(--ink); }
.svc-ticks span { font-size: 17px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.svc-ticks--box { padding: 12px 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.svc-ticks--box li:first-child { padding-top: 18px; }
.svc-ticks--box svg { background: var(--page); }
.svc-split--steps { align-items: center; }
.svc-split--steps .steps { margin-top: 0; }
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card { padding: 14px 14px 4px; border-radius: 28px; background: var(--page); }
.svc-card__art { position: relative; height: 244px; border-radius: 16px; background: #fff; overflow: hidden; }
.svc-card__art img { position: absolute; left: 22px; top: 22px; width: 128%; max-width: none; filter: drop-shadow(0 6px 14px rgba(16, 20, 40, .1)); }
.svc-card__art--phone img { left: 50%; top: 22px; width: 190px; translate: -50% 0; filter: drop-shadow(0 10px 18px rgba(16, 20, 40, .14)); }
.svc-card h3 { margin: 22px 12px 6px; }
.svc-card p { margin: 0 12px 24px; font-size: 15px; line-height: 1.5; }
.svc-faq__in { max-width: 808px; }
.svc-faq__in h2 { margin-bottom: 28px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-close { position: relative; padding: 112px 24px; border-radius: 28px; overflow: hidden; background: #0f1630; text-align: center; isolation: isolate; }
.svc-close::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 90% at 50% 50%, rgba(8, 11, 30, .74) 0%, rgba(8, 11, 30, .56) 70%, rgba(8, 11, 30, .46) 100%); }
.svc-close h2 { color: #fff; }
.svc-close p { max-width: 46ch; margin: 14px auto 0; color: #fff; font-size: 17px; }
.svc-close .svc-hero__btns { justify-content: center; }

/* ---- pages built from content (tools/build-pages.mjs): blog, legal, contact, not found ---- */
.phero { position: relative; display: flex; align-items: flex-end; margin: 0 16px; min-height: 360px; border-radius: 28px; overflow: hidden; background: #0f1630; isolation: isolate; }
.phero__photo { position: absolute; inset: 0; z-index: -2; }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 11, 30, .86) 0%, rgba(8, 11, 30, .6) 55%, rgba(8, 11, 30, .34) 100%); }
.phero__in { width: min(var(--wrap), 100% - 80px); margin: 0 auto; padding: 96px 0 56px; }
.phero h1 { color: #fff; font-size: clamp(38px, 4.5vw, 60px); line-height: 1.05; }
.phero p { max-width: 48ch; margin-top: 14px; color: #fff; font-size: 18px; line-height: 1.5; }
.posts--all { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.posts--all .post h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.02em; }
.post p { margin-top: 8px; max-width: 54ch; }
.post-head, .legal-head { max-width: 856px; padding-top: 56px; }
.post-head__meta { font-size: 15px; font-weight: 500; color: var(--muted); }
.post-head__meta a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.post-head h1, .legal-head h1 { margin-top: 16px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; text-wrap: balance; }
.post-head__lede { margin-top: 18px; font-size: 20px; line-height: 1.5; color: var(--ink-soft); }
.post-head__img { width: 100%; margin-top: 40px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; background: var(--page); }
.prose { max-width: 728px; margin: 48px auto 0; padding: 0 24px; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.prose h2 { margin: 48px 0 14px; font-size: 28px; line-height: 1.2; letter-spacing: -.025em; scroll-margin-top: 96px; }
.prose h3 { margin: 34px 0 10px; font-size: 20px; scroll-margin-top: 96px; }
.prose h4 { margin: 26px 0 8px; color: var(--ink); font-size: 17px; font-weight: 600; }
.prose p + p { margin-top: 18px; }
.prose ul, .prose ol { margin: 18px 0; padding-left: 24px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 24px 0; padding-left: 20px; border-left: 3px solid var(--line); color: var(--ink); }
.legal-head__date { margin-top: 18px; font-size: 15px; color: var(--muted); }
.legal-head__date a { text-decoration: underline; text-underline-offset: 3px; }
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 72px; align-items: start; padding-top: 56px; padding-bottom: 112px; }
.legal__toc { position: sticky; top: 96px; display: flex; flex-direction: column; max-height: calc(100vh - 120px); overflow: auto; font-size: 14px; line-height: 1.4; }
.legal__toc b { margin-bottom: 8px; color: var(--ink); font-weight: 600; }
.legal__toc a { padding: 6px 0; color: var(--muted); }
.legal__toc a.sub { padding-left: 14px; }
.legal__toc a:hover { color: var(--ink); }
.legal .prose { max-width: 760px; margin: 0; padding: 0; font-size: 16px; line-height: 1.65; }
.legal .prose h2:first-child { margin-top: 0; }
.legal-clause { margin-top: 12px; }
.legal-n { display: inline-block; min-width: 2.8em; color: var(--muted); font-variant-numeric: tabular-nums; }
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.contact__text > p { max-width: 42ch; margin: 16px 0 26px; font-size: 17px; }
.contact__list { margin-top: 40px; border-top: 1px solid var(--line-soft); }
.contact__list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
.contact__list b { color: var(--ink); font-weight: 600; }
.contact__list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.contact__list a:hover { text-decoration-color: var(--ink); }
.contact__card { padding: 36px 32px 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px -20px rgba(16, 20, 40, .3); }
.contact__card h2 { margin-bottom: 22px; font-size: 26px; line-height: 1.15; }
.field textarea { display: block; width: 100%; min-height: 112px; padding: 12px 14px; border: 1px solid #c6c8d1; border-radius: var(--r-ctl); background: #fff; font: inherit; font-size: 16px; color: var(--ink); outline: 0; resize: vertical; transition: border-color .15s, box-shadow .15s; }
.field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.contact__card .btn--block { margin-top: 8px; }
.contact__done { padding: 24px 0 12px; text-align: center; }
.contact__done p { margin: 12px 0 24px; overflow-wrap: anywhere; }
.contact__done b { color: var(--ink); font-weight: 600; }
.nf { padding-top: 120px; padding-bottom: 160px; text-align: center; }
.nf h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.nf p { max-width: 46ch; margin: 16px auto 0; font-size: 18px; }
.nf .svc-hero__btns { justify-content: center; }

/* ---- the pop-up (the shop's white pop-up, small) ---- */
.mask { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 20px; background: rgba(17, 17, 20, .5); animation: fade .15s ease; overflow: auto; }
.pop { position: relative; min-width: 0; width: min(460px, 100%); padding: 36px 32px 28px; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px -12px rgba(16, 20, 40, .45); animation: pop .2s ease; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: translateY(10px) scale(.985); opacity: .6; } }
.pop h2 { font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
.pop__form h2 { padding-right: 32px; }
.pop__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.pop__x:hover { background: var(--page); color: var(--ink); }
.pop__x svg { width: 20px; height: 20px; }
.pop__listing { display: flex; align-items: center; gap: 10px; margin: 18px 0 20px; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--page); font-size: 15px; color: var(--ink); }
.pop__listing svg { flex: none; width: 18px; height: 18px; color: var(--muted); }
.pop__listing span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop__listing button { flex: none; min-height: 44px; margin: -12px 0; padding: 0 2px; border: 0; background: none; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #c6c8d1; border-radius: var(--r-ctl); background: #fff; font-size: 16px; color: var(--ink); outline: 0; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.field input.is-bad { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pop .btn--block { margin-top: 8px; }
.pop__note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.pop__note a { display: inline-block; padding: 12px 4px; margin: -12px -4px; text-decoration: underline; text-underline-offset: 3px; }
.pop__fail { margin-bottom: 10px; font-size: 14px; color: var(--red); }
.pop__done { text-align: center; }
.pop__done p { margin: 12px 0 24px; overflow-wrap: anywhere; }
.pop__done b { color: var(--ink); font-weight: 600; }
.pop__tick { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); }
.pop__tick svg { width: 26px; height: 26px; }
.pop__btns { display: flex; justify-content: center; gap: 10px; }

/* ---- motion: one soft rise as a block comes into view ---- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, .8, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .rv .art img { opacity: 1; translate: none; transition: none; }
  .mask, .pop { animation: none; }
}

/* ---- narrower screens ---- */
@media (max-width: 1080px) {
  .cards, .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-split { gap: 44px; }
  .foot__in { grid-template-columns: minmax(0, 1fr) 170px 170px 130px 80px; gap: 28px; }
  .how { gap: 44px; }
  .portal, .faq { gap: 44px; }
  .tile__phones img { width: 200px; }
  .tile__desk img:first-child { left: 170px; width: 680px; }
  .tile__desk img:nth-child(2) { left: 20px; width: 184px; }
  .tile--seq { min-height: 470px; }
  .tile__seq img:nth-child(1) { left: 6px; top: 60px; width: 470px; }
  .tile__seq img:nth-child(2) { left: 426px; top: 44px; width: 172px; }
  .tile__seq img:nth-child(3) { left: 548px; top: 150px; width: 172px; }
  .tile--ads4 { min-height: 460px; }
  .tile__phones.tile__phones--4 img { width: 196px; }
  .tile__phones.tile__phones--4 img:nth-child(1) { left: 0; top: 200px; }
  .tile__phones.tile__phones--4 img:nth-child(2) { left: 168px; top: 64px; }
  .tile__phones.tile__phones--4 img:nth-child(3) { left: 336px; top: 200px; }
  .tile__phones.tile__phones--4 img:nth-child(4) { left: 504px; top: 64px; }
  .tile__pair, .tile__site { height: 304px; }
  .tile__pair img { width: 166px; margin: 0 -6px; }
  .tile__pair img:nth-child(odd) { margin-top: 88px; }
  .tile__site img:last-child { top: 84px; }
  .tile__site img:last-child { width: 168px; }
  .offer__text { padding: 48px 36px; }
  .offer__art { padding-right: 32px; }
  .tile__phones img:nth-child(2) { left: calc(6% + 176px); }
  .tile__phones img:nth-child(3) { left: calc(6% + 352px); }
}
@media (max-width: 860px) {
  .hero { margin: 0 10px; border-radius: 22px; min-height: 0; }
  .hero__in { padding: 52px 18px 0; }
  .hero__sub { font-size: 17px; }
  .hero__stats { padding: 150px 12px 28px; }
  .hero__stats dd { font-size: 13px; }
  .sec { padding-top: 76px; }
  .sec--soft { margin-top: 76px; padding: 64px 0; }
  .sec--end { padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  .send { grid-template-columns: minmax(0, 1fr); }
  .tile--wide { flex-direction: column; min-height: 0; }
  .tile--wide .tile__text { flex: none; padding: 32px 24px 0; align-self: stretch; }
  .tile__text { padding: 28px 24px 0; }
  .tile__phones { display: flex; justify-content: center; height: 330px; margin-top: 28px; }
  .tile__phones img { position: static; width: 190px; margin: 0 -22px; }
  .tile__phones img:nth-child(1), .tile__phones img:nth-child(3) { margin-top: 60px; }
  .tile__ads, .tile__reels { padding: 0 18px; gap: 10px; }
  .tile--ads4 { min-height: 0; }
  .tile--ads4 .tile__text { flex-basis: auto; }
  .tile__phones.tile__phones--4 img { position: static !important; width: 172px; margin: 0 -18px; }
  .tile__phones.tile__phones--4 img:nth-child(1), .tile__phones.tile__phones--4 img:nth-child(3) { margin-top: 60px; }
  .tile__phones.tile__phones--4 img:nth-child(4) { display: none; }
  .tile__pair { height: 262px; }
  .tile__pair img { width: 138px; margin: 0 -6px; }
  .tile__pair img:nth-child(odd) { margin-top: 100px; }
  .tile__site { height: 250px; padding: 0 0 0 20px; }
  .tile__site img:last-child { right: 14px; top: 56px; width: 132px; }
  .tile--portal { min-height: 0; }
  .tile__desk { flex: none; height: 290px; margin-top: 28px; }
  .tile__desk img:first-child { left: 20px; top: 0; width: 560px; }
  .tile__desk img:nth-child(2) { left: auto; right: 14px; top: 56px; width: 146px; }
  .tile--flip { flex-direction: column; }
  .tile--flip.tile--wide .tile__text { padding: 32px 24px 0; }
  .tile--seq { min-height: 0; }
  .tile__seq { flex: none; height: 350px; margin-top: 28px; overflow: hidden; }
  .tile__seq img:nth-child(1) { left: 10px; top: 0; width: 560px; }
  .tile__seq img:nth-child(2) { left: auto; right: 150px; top: 96px; width: 156px; }
  .tile__seq img:nth-child(3) { left: auto; right: 10px; top: 168px; width: 156px; }
  .strip { gap: 12px 22px; padding-top: 28px; }
  .strip li { font-size: 14px; }
  .sec--first { padding-top: 64px; }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer__text { padding: 40px 22px 28px; }
  .offer__art { gap: 10px; padding: 0 22px 32px; }
  .posts { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tile__reels { height: 230px; }
  .tile__ads { padding-bottom: 28px; }
  .how, .portal, .faq, .svc-hero__in, .svc-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .svc-ticks span { font-size: 16px; }
  .svc-ticks--box { padding: 8px 18px; }
  .how__card { aspect-ratio: 4 / 3.6; }
  .how__card .bar { left: 14px; right: 14px; bottom: 14px; }
  .portal__art { padding: 24px 0 24px 24px; }
  .portal__phone { width: 132px; bottom: -60px; }
  .end { grid-template-columns: minmax(0, 1fr); }
  .end__text { padding: 40px 22px; }
  .end__photo { min-height: 0; aspect-ratio: 16 / 10; }
  .foot__in { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__col { gap: 0; }
  .foot__col b { padding-bottom: 6px; }
  .foot__col a { padding: 11px 0; }
  .head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
}
@media (max-width: 560px) {
  .bar:not(.bar--sm) { flex-wrap: wrap; height: auto; padding: 6px; border-radius: 16px; }
  .bar:not(.bar--sm) .bar__pin { margin-left: 12px; }
  .bar:not(.bar--sm) input { flex: 1 1 60%; height: 52px; }
  .bar:not(.bar--sm) .btn { width: 100%; height: 50px; font-size: 16px; }
  .cards, .svc-cards { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .hero__notes { padding: 7px 14px; font-size: 13px; white-space: nowrap; }
  .hero__notes li + li { margin-left: 10px; padding-left: 10px; }
  .pop { padding: 32px 22px 24px; }
}

/* ---- service pages on narrower screens ---- */
@media (max-width: 1080px) {
  .svc-hero__in { gap: 32px; min-height: 580px; }
  .svc-art { min-height: 580px; }
  .svc-art--phones img { width: 190px; }
  .svc-art--phones img:nth-child(1) { left: calc(50% - 268px); top: 150px; }
  .svc-art--phones img:nth-child(2) { left: calc(50% - 95px); top: 84px; }
  .svc-art--phones img:nth-child(3) { left: calc(50% + 78px); top: 176px; }
  .svc-art--two img:nth-child(1) { left: calc(50% - 200px); top: 160px; }
  .svc-art--two img:nth-child(2) { left: calc(50% + 10px); top: 84px; }
  .svc-art--wide img:first-child { left: 72px; top: 96px; width: 720px; }
  .svc-art--wide img:nth-child(2) { top: 196px; width: 196px; }
}
@media (max-width: 860px) {
  .svc-hero { margin: 0 12px; border-radius: 22px; }
  .svc-hero::after { background: linear-gradient(180deg, rgba(8, 11, 30, .9) 0%, rgba(8, 11, 30, .8) 46%, rgba(8, 11, 30, .38) 100%); }
  .svc-hero__in { gap: 0; width: auto; min-height: 0; margin: 0; }
  .svc-hero__text { padding: 40px 22px 0; }
  .svc-art { min-height: 0; height: 440px; }
  .svc-art--phones img:nth-child(1) { top: 86px; }
  .svc-art--phones img:nth-child(2) { top: 40px; }
  .svc-art--phones img:nth-child(3) { top: 108px; }
  .svc-art--two img:nth-child(1) { top: 96px; }
  .svc-art--two img:nth-child(2) { top: 44px; }
  .svc-art--wide img:first-child { left: 96px; top: 56px; width: 760px; }
  .svc-art--wide img:nth-child(2) { left: 22px; top: 130px; width: 168px; }
  .svc-photo { margin-top: 28px; aspect-ratio: 16 / 10; }
  .svc-split--steps { align-items: start; }
  .svc-close { padding: 72px 20px; border-radius: 22px; }
}
@media (max-width: 560px) {
  .svc-art { height: 400px; }
  .svc-art--phones img { width: 168px; }
  .svc-art--phones img:nth-child(1) { left: calc(50% - 236px); top: 96px; }
  .svc-art--phones img:nth-child(2) { left: calc(50% - 84px); top: 32px; }
  .svc-art--phones img:nth-child(3) { left: calc(50% + 68px); top: 96px; }
  .svc-art--two img:nth-child(1) { left: calc(50% - 174px); top: 88px; }
  .svc-art--two img:nth-child(2) { left: calc(50% + 6px); top: 36px; }
  .svc-card__art { height: 228px; }
}

/* ---- content pages on narrower screens ---- */
@media (max-width: 1080px) {
  .legal { grid-template-columns: 210px minmax(0, 1fr); gap: 44px; }
  .contact { gap: 44px; }
}
@media (max-width: 860px) {
  .phero { margin: 0 12px; min-height: 300px; border-radius: 22px; }
  .phero__in { width: auto; margin: 0; padding: 72px 22px 36px; }
  .posts--all, .legal, .contact { grid-template-columns: minmax(0, 1fr); }
  .posts--all { gap: 40px; }
  .post-head, .legal-head { padding-top: 36px; }
  .post-head__img { margin-top: 28px; border-radius: 18px; }
  .prose { margin-top: 36px; font-size: 17px; }
  .legal { gap: 28px; padding-top: 36px; padding-bottom: 80px; }
  .legal__toc { position: static; max-height: none; padding: 18px 20px; border-radius: 14px; background: var(--page); }
  .legal__toc a { display: flex; align-items: center; min-height: 44px; padding: 4px 0; }
  .contact__card { padding: 28px 20px 22px; }
  .nf { padding-top: 72px; padding-bottom: 96px; }
}
