/* Public website. Same system as the Mini App (assets/app/app.css): Readex Pro, ink actions and the
   route motif. Every campaign travels a line of stops; Telegram Ads (blue) and OpenAI Ads (graphite)
   are two colour-coded lines. Restrained palette, no gradients, no inline styles (strict CSP). */
@font-face {
  font-family: "Readex Pro";
  src: url("../fonts/readex-pro-latin-wght.woff2") format("woff2");
  font-weight: 160 700;
  font-display: swap;
}
:root {
  --ground: #ffffff;
  --tint: #f3f5f7;
  --ink: #101820;
  --ink-2: #33404d;
  --muted: #5b6774;
  --rule: #e2e7ec;
  --tg: #0a7fd0;
  --tg-bright: #53b4ff;
  --tg-deep: #0c2d4d;
  --tg-soft: #e6f2fb;
  --oa: #3a434d;
  --oa-light: #c7ced6;
  --oa-deep: #1d2329;
  --ok: #0b7a55;
  --info: #3a68cf;
  --warn: #b7791f;
  --radius: 10px;
  --radius-l: 22px;
  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
/* Readex Pro has no Cyrillic: the Russian site uses the platform font throughout. */
:root:lang(ru) { --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
* { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
::selection { background: var(--tg-soft); color: var(--ink); }
a { color: var(--tg); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #075c97; }
:focus-visible { outline: 2px solid var(--tg); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.06; margin: 0 0 20px; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.12; margin: 0 0 12px; letter-spacing: -0.028em; }
h3 { font-size: 1.12rem; line-height: 1.3; margin: 0 0 8px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }

/* ---- header ------------------------------------------------------------------------------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(8px)) { .site-head { background: rgba(255, 255, 255, 0.8); backdrop-filter: saturate(1.4) blur(12px); } }
.head-row { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.02rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; margin: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 28px; height: 28px; flex: none; }
.head-nav { display: flex; gap: 24px; margin-left: auto; font-size: 0.9rem; }
.head-nav a { color: var(--ink-2); text-decoration: none; }
.head-nav a:hover { color: var(--ink); }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--tint); font-size: 0.78rem; font-weight: 600; }
.head-nav + .lang-switch { margin-left: 0; }
.lang-switch a { min-width: 34px; padding: 5px 8px; border-radius: 7px; color: var(--muted); text-decoration: none; text-align: center; letter-spacing: 0.04em; }
.lang-switch a[aria-current] { background: var(--ground); color: var(--ink); box-shadow: 0 1px 2px rgba(16, 24, 32, 0.12); }
.lang-switch a:hover { color: var(--ink); }
.head-cta { flex: none; }

/* ---- buttons ------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--radius);
  font: 500 0.95rem/1.15 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; text-align: center;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s; }
.btn-primary, .head-nav a.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 32, 0.18), 0 8px 18px -8px rgba(16, 24, 32, 0.45); }
.btn-primary:hover { background: #26323e; color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-quiet { background: transparent; color: var(--ink); border-color: #cfd6dd; }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e8eef4; color: var(--ink); transform: translateY(-1px); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn-big { min-height: 54px; padding: 0 26px; font-size: 1rem; border-radius: 12px; }
.btn-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: var(--radius); background: var(--ink); color: #fff; font-weight: 500; text-decoration: none; }
.btn-cta:hover { background: #26323e; color: #fff; }

/* ---- roundels (platform line marks) ----------------------------------------------------- */
.roundel { --c: var(--tg); width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; display: inline-grid; place-items: center; font-size: 0.72rem; font-weight: 600; flex: none; line-height: 1; }
.roundel.oa { --c: var(--oa); }
.roundel.app { --c: var(--ink); }
.roundel.app svg { width: 14px; height: 14px; }
.roundel.lang { --c: var(--tint); color: var(--ink); font-size: 0.7rem; box-shadow: inset 0 0 0 1.5px var(--rule); }

/* ---- hero ----------------------------------------------------------------------------------- */
.preview-bar { background: #fff4d6; border-bottom: 1px solid #e8cf8a; padding: 8px 24px; font-size: 14px; text-align: center; }
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: center; padding: 72px 0 88px; }
.hero-lines { display: flex; gap: 6px; margin: 0 0 22px; }
.hero-lines .roundel { width: 30px; height: 30px; font-size: 0.8rem; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy .lede { font-size: 1.16rem; line-height: 1.55; color: var(--ink-2); max-width: 40ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.9rem; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

/* Phone: an illustration of the Mini App, crossed by the two platform lines of a metro map. */
.phone { position: relative; margin: 0; justify-self: center; width: min(310px, 100%); }
.phone::before { content: ""; position: absolute; z-index: 0; top: 34%; left: -60%; right: -40%; height: 12px; border-radius: 6px; background: var(--tg); }
.phone::after { content: ""; position: absolute; z-index: 0; top: calc(34% - 9px); left: -24%; width: 30px; height: 30px; border-radius: 50%; background: var(--ground); border: 6px solid var(--tg); box-sizing: border-box; }
.phone-screen { position: relative; z-index: 1; border-radius: 42px; padding: 20px 14px 12px; background: #eef0f3; border: 10px solid #101820;
  box-shadow: 0 2px 6px rgba(16, 24, 32, 0.12), 0 40px 70px -30px rgba(12, 45, 77, 0.55); display: grid; gap: 9px; font-size: 12px; line-height: 1.35; }
.phone-screen::before { content: ""; position: absolute; top: 6px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: #101820; }
.phone figcaption { position: relative; z-index: 1; margin-top: 16px; text-align: center; font-size: 0.8rem; color: var(--muted); }
.ph-head { padding: 16px 4px 2px; }
.ph-head b { display: block; font-size: 17px; letter-spacing: -0.02em; }
.ph-head span { color: var(--muted); font-size: 11px; }
.ph-feature { position: relative; overflow: hidden; background: var(--tg-deep); color: #fff; border-radius: 16px; padding: 12px 12px 12px; display: grid; gap: 6px; }
.ph-feature::before { content: ""; position: absolute; right: -40px; top: -50px; width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(83, 180, 255, 0.3); }
.ph-kick { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 10.5px; font-weight: 500; }
.ph-kick em { margin-left: auto; font-style: normal; color: rgba(255, 255, 255, 0.66); }
.ph-mark { width: 16px; height: 16px; border-radius: 50%; background: var(--tg-bright); color: var(--tg-deep); display: inline-grid; place-items: center; font-size: 8.5px; font-weight: 700; flex: none; }
.ph-card .ph-mark { background: var(--tg); color: #fff; width: 22px; height: 22px; font-size: 10px; }
.ph-card .ph-mark.oa { background: var(--oa); }
.ph-name { font-size: 15px; letter-spacing: -0.02em; }
.ph-pill { --s: var(--ok); justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 99px; font-size: 10px; font-weight: 500; color: var(--s); background: color-mix(in srgb, var(--s) 13%, transparent); white-space: nowrap; }
.ph-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ph-feature .ph-pill { color: #fff; background: rgba(255, 255, 255, 0.13); }
.ph-feature .ph-pill i { background: #3ed598; }
.ph-pill.rev { --s: var(--info); }
.ph-pill.done { --s: var(--ink); }
.ph-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 4px; font-size: 9.5px; color: rgba(255, 255, 255, 0.62); }
.ph-figs b { display: block; font-size: 13px; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.ph-meter { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.ph-meter i { display: block; width: 42%; height: 100%; background: var(--tg-bright); border-radius: 2px; transform-origin: left; }
.ph-card { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 13px; padding: 10px; }
.ph-card b { flex: 1; min-width: 0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-tabs { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; margin: 4px -4px 0; padding: 8px 0 2px; border-top: 1px solid #dde2e7; }
.ph-tabs i { width: 16px; height: 16px; border-radius: 5px; background: #c4ccd4; }
.ph-tabs i:first-child { background: var(--ink); }
.ph-tabs i.plus { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .phone::before { animation: line-in 1.2s var(--ease) both; transform-origin: left; }
  .phone::after { animation: fade-in 0.4s 0.8s both; }
  .phone-screen { animation: rise 0.9s 0.1s var(--ease) both; }
  .ph-meter i { animation: grow-x 1.2s 0.8s var(--ease) both; }
}
@keyframes line-in { from { transform: scaleX(0); } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0.001; transform: translateY(24px); } }

/* ---- bands ----------------------------------------------------------------------------------- */
.band { padding: 96px 0; border-top: 1px solid var(--rule); }
.band-tint { background: var(--tint); border-top: 0; }
.band-head { max-width: 640px; margin-bottom: 44px; }
.section-lede { color: var(--ink-2); font-size: 1.06rem; max-width: 56ch; margin: 0; }

/* ---- products ---------------------------------------------------------------------------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product { --deep: var(--tg-deep); --c: var(--tg); border-radius: var(--radius-l); background: var(--ground); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; display: flex; flex-direction: column; }
.product.oa { --deep: var(--oa-deep); --c: var(--oa); }
.product-art { height: 210px; background: var(--deep); display: grid; place-items: center; position: relative; overflow: hidden; }
.product-art::before { content: ""; position: absolute; left: 0; right: 0; bottom: 38px; height: 8px; background: color-mix(in srgb, var(--tg-bright) 55%, transparent); }
.product.oa .product-art::before { background: color-mix(in srgb, var(--oa-light) 45%, transparent); }
.product-body { padding: 26px 28px 28px; }
.product h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin-bottom: 10px; }
.product h3 .roundel { width: 28px; height: 28px; font-size: 0.78rem; }
.avail { margin-left: auto; font-size: 0.75rem; font-weight: 500; letter-spacing: 0; color: var(--ok); background: color-mix(in srgb, var(--ok) 11%, transparent); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.avail.soon { color: var(--muted); background: var(--tint); }
.product-body > p { color: var(--ink-2); margin-bottom: 20px; }
.facts-list { margin: 0; display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px 16px; font-size: 0.92rem; padding-top: 18px; border-top: 1px solid var(--rule); }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; color: var(--ink); }
/* Product art: the ad formats as they appear (drawn, not screenshots). */
.art-post { position: relative; z-index: 1; width: 250px; background: #fff; border-radius: 16px 16px 16px 5px; padding: 14px 16px; display: grid; gap: 8px; transform: rotate(-2.5deg); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.5); }
.art-post > i, .art-chat i, .art-ad i { display: block; height: 7px; border-radius: 4px; background: #dbe2ea; }
.art-post > i:nth-of-type(3) { width: 64%; }
.art-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.art-head i { width: 22px; height: 22px; border-radius: 50%; background: var(--tg); }
.art-head b { height: 7px; width: 70px; border-radius: 4px; background: #9fb3c8; }
.art-sponsored { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.art-sponsored span { width: 52px; height: 6px; border-radius: 3px; background: #b9c4cf; }
.art-sponsored b { width: 86px; height: 24px; border-radius: 8px; background: var(--tg); }
.art-chat { position: relative; z-index: 1; width: 270px; display: grid; gap: 9px; }
.art-chat .q { justify-self: end; width: 46%; height: 22px; border-radius: 12px; background: rgba(255, 255, 255, 0.2); }
.art-chat .a { width: 92%; height: 7px; background: rgba(255, 255, 255, 0.38); }
.art-chat .a.short { width: 66%; }
.art-ad { background: #fff; border-radius: 12px; padding: 10px; display: grid; grid-template-columns: 44px 1fr; row-gap: 8px; column-gap: 10px; align-items: center; transform: rotate(1.5deg); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6); }
.art-ad b { grid-row: span 2; width: 44px; height: 44px; border-radius: 9px; background: var(--oa-light); }
.art-ad i:last-child { width: 62%; }

/* ---- how it works: the route on ink ---------------------------------------------------------- */
.band-ink { background: var(--tg-deep); color: #fff; border-top: 0; }
.band-ink h2 { color: #fff; }
.band-ink .section-lede { color: rgba(255, 255, 255, 0.74); }
.route { display: grid; gap: 40px; }
.line { --c: var(--tg); }
.line.oa { --c: var(--oa); }
.band-ink .line { --c: var(--tg-bright); }
.band-ink .line.oa { --c: var(--oa-light); }
.line-name { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 600; font-size: 1rem; }
.band-ink .roundel.tg { background: var(--tg-bright); color: var(--tg-deep); }
.band-ink .roundel.oa { background: var(--oa-light); color: var(--oa-deep); }
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.stops::before { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 6px; border-radius: 3px; background: var(--c); transform-origin: left; }
.stops li { position: relative; padding: 36px 18px 0 0; font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
.band-ink .stops li { color: rgba(255, 255, 255, 0.7); }
.stops li::before { content: ""; position: absolute; top: 0; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ground); border: 5px solid var(--c); box-sizing: border-box; }
.band-ink .stops li::before { background: var(--tg-deep); }
.stops li:last-child::before { background: var(--c); }
.stops b { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.band-ink .stops b { color: #fff; }
.terminus { display: flex; align-items: center; gap: 10px; margin: 0; padding-top: 22px; border-top: 1px dashed var(--rule); font-size: 0.9rem; color: var(--ink-2); }
.band-ink .terminus { border-top-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.82); }
.terminus svg { width: 20px; height: 20px; color: var(--ok); flex: none; }
.band-ink .terminus svg { color: #3ed598; }
.route-title { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.route-inline { margin: 48px 0 0; padding: 28px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--rule); gap: 28px; }
.route-inline .stops li { font-size: 0.8rem; padding-top: 32px; }
.route-inline .stops b { font-size: 0.88rem; }
@media (prefers-reduced-motion: no-preference) {
  .band-ink .stops::before { animation: line-in 1.2s var(--ease) both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
}

/* ---- feature tour --------------------------------------------------------------------------- */
.feature-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding: 36px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--rule); }
.feature-row.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.feature-copy p { color: var(--ink-2); max-width: 44ch; margin: 0; }
.tour-note { margin: 28px 0 0; font-size: 0.85rem; color: var(--muted); }
.vignette { background: var(--tint); border-radius: var(--radius-l); padding: 28px; font-size: 0.9rem; display: grid; gap: 10px; align-content: center; }
.v-progress { display: flex; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.v-progress b { color: var(--ink); font-weight: 500; }
.v-stops { display: flex; justify-content: space-between; position: relative; margin-bottom: 8px; }
.v-stops::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; margin-top: -1.5px; background: var(--rule); }
.v-stops::after { content: ""; position: absolute; left: 4px; width: 12.5%; top: 50%; height: 3px; margin-top: -1.5px; background: var(--tg); }
.v-stops i { position: relative; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--ground); border: 2px solid var(--rule); }
.v-stops i.done { background: var(--tg); border-color: var(--tg); }
.v-stops i.here { border-color: var(--tg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tg) 22%, transparent); }
.v-title { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; margin: 0 0 2px; }
.v-choice { display: flex; align-items: center; gap: 12px; background: var(--ground); border-radius: 12px; padding: 12px 14px; }
.v-choice i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #b8c1ca; flex: none; }
.v-choice.on { box-shadow: inset 0 0 0 2px var(--tg); }
.v-choice.on i { border-color: var(--tg); background: var(--tg); box-shadow: inset 0 0 0 3px var(--ground); }
.v-label { margin: 4px 0 0; font-size: 0.78rem; color: var(--muted); }
.v-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v-chips span { padding: 6px 12px; border-radius: 9px; background: var(--ground); font-size: 0.85rem; }
.v-chips span.on { background: var(--tg); color: #fff; }
.v-field { margin: 6px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--ground); color: var(--muted); font-size: 0.85rem; }
.v-field span { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 2px; }
.v-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: #e3e8ed; font-size: 0.82rem; }
.v-tabs > * { flex: 1; text-align: center; padding: 6px; border-radius: 8px; color: var(--muted); }
.v-tabs b { background: var(--ground); color: var(--ink); font-weight: 500; }
.v-tabs em { font-style: normal; background: var(--tg); color: #fff; border-radius: 9px; padding: 0 6px; font-size: 0.72rem; }
.v-channel { display: flex; align-items: center; gap: 12px; background: var(--ground); border-radius: 14px; padding: 12px 14px; }
.v-channel.on { box-shadow: inset 0 0 0 2px var(--tg); }
.v-channel > div { flex: 1; min-width: 0; }
.v-channel b { display: block; font-weight: 600; }
.v-channel small { display: block; color: var(--muted); font-size: 0.78rem; }
.v-av { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 0.8rem; }
.v-av.h1 { background: #3f8fd2; } .v-av.h3 { background: #8a64c9; }
.v-size { display: block; height: 4px; border-radius: 2px; background: var(--tg); margin-top: 6px; }
.v-size.s80 { width: 80%; } .v-size.s55 { width: 55%; }
.v-sel { font-style: normal; font-size: 0.8rem; font-weight: 500; padding: 6px 12px; border-radius: 99px; background: var(--tint); flex: none; }
.v-channel.on .v-sel { background: var(--tg); color: #fff; }
.ph-pill.big { font-size: 0.82rem; padding: 5px 12px; }
.ph-pill.big i { width: 7px; height: 7px; }
.v-desc { margin: 2px 0 8px; font-size: 0.95rem; }
.v-journey { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v-journey li { position: relative; padding: 24px 6px 0 0; font-size: 0.8rem; color: var(--muted); }
.v-journey li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 4px; background: #d5dce3; }
.v-journey li:last-child::before { right: auto; width: 12px; }
.v-journey li.done::before { background: var(--tg); }
.v-journey li::after { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--tint); border: 3px solid #d5dce3; box-sizing: border-box; }
.v-journey li.done::after { background: var(--tg); border-color: var(--tg); }
.v-journey li.here::after { border-color: var(--tg); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tg) 20%, transparent); }
.v-journey li.here { color: var(--ink); font-weight: 500; }
.v-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; background: var(--ground); border-radius: 14px; padding: 16px; font-size: 0.75rem; color: var(--muted); }
.v-metrics b { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding: 12px 16px 0; background: var(--ground); border-radius: 14px; }
.v-chart i { flex: 1; background: var(--tg); border-radius: 4px 4px 0 0; transform-origin: bottom; }
.v-chart .b1 { height: 28%; } .v-chart .b2 { height: 44%; } .v-chart .b3 { height: 38%; } .v-chart .b4 { height: 62%; }
.v-chart .b5 { height: 70%; } .v-chart .b6 { height: 58%; } .v-chart .b7 { height: 86%; }
@media (prefers-reduced-motion: no-preference) {
  .v-chart i { animation: grow-y 0.8s var(--ease) both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
}
@keyframes grow-y { from { transform: scaleY(0); } }

/* ---- trust, supported --------------------------------------------------------------------- */
.band-tint h2 { margin-bottom: 36px; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.promises li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; }
.promises svg { width: 24px; height: 24px; color: var(--ok); margin-top: 1px; }
.promises strong { display: block; font-weight: 600; margin-bottom: 2px; }
.promises span { color: var(--muted); font-size: 0.94rem; }
.supported h2 { margin-bottom: 32px; }
.sup-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sup-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.sup-list .roundel { width: 34px; height: 34px; font-size: 0.85rem; }
.sup-list b { display: block; font-weight: 600; }
.sup-list span { display: block; color: var(--muted); font-size: 0.9rem; }

/* ---- final call to action ----------------------------------------------------------------- */
.final { background: var(--tg-deep); color: #fff; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 10px; margin-top: -5px; background: rgba(83, 180, 255, 0.16); }
.final-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 88px; padding-bottom: 88px; }
.final-row > div { max-width: 620px; background: var(--tg-deep); padding-right: 24px; }
.final h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 0 0 10px; }
.final p { margin: 0; color: rgba(255, 255, 255, 0.76); font-size: 1.06rem; }

/* ---- article pages ------------------------------------------------------------------------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 20px 0 0; margin: 0; font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b8c0c8; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.article { padding-bottom: 80px; }
.article-hero { max-width: 800px; padding: 32px 0 36px; }
.lede { font-size: 1.12rem; color: var(--ink-2); margin: 0 0 24px; max-width: 62ch; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 64px; align-items: start; }
.band > .layout { padding-top: 0; }
.body { max-width: 700px; }
.body > :first-child { margin-top: 0; }
.body h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 44px; }
.body p, .body li { max-width: 66ch; }
.body ul, .body ol { padding-left: 22px; }
.body li { margin-bottom: 6px; }
.body li::marker { color: var(--muted); }
.cta-box { margin: 48px 0 0; padding: 28px; border-radius: 16px; background: var(--tint); }
.cta-box h2 { margin-top: 0; font-size: 1.4rem; }
.side { position: sticky; top: 92px; }
.side-block { padding-top: 12px; margin-bottom: 32px; border-top: 2px solid var(--ink); }
.side-block h2 { font-size: 0.85rem; margin: 0 0 8px; font-weight: 600; letter-spacing: 0; }
.side-block ul { list-style: none; padding: 0; margin: 0; }
.side-block li { border-bottom: 1px solid var(--rule); }
.side-block li a { display: block; padding: 9px 0; font-size: 0.92rem; color: var(--ink-2); text-decoration: none; }
.side-block li a:hover { color: var(--tg); }
.channels .note { color: var(--muted); font-size: 0.9rem; }
.channel-list { list-style: none; padding: 0; margin: 0; }
.channel-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.channel-list p { margin: 4px 0 0; }
.channel-list .facts { color: var(--muted); font-size: 0.88rem; }

/* ---- search / browse / 404 ---------------------------------------------------------------- */
.big-search { display: flex; gap: 8px; margin: 20px 0 32px; max-width: 580px; }
.big-search input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid #cdd4db; border-radius: var(--radius); background: var(--ground); }
.big-search input:focus { outline: none; border-color: var(--tg); box-shadow: 0 0 0 3px var(--tg-soft); }
.big-search button { font: 500 0.95rem var(--font); border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; padding: 0 20px; cursor: pointer; }
.results { list-style: none; padding: 0; max-width: 720px; }
.results li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.results a { font-weight: 500; font-size: 1.1rem; text-decoration: none; }
.results p { margin: 4px 0 0; color: var(--muted); }
.status-code { color: var(--muted); font-weight: 500; margin: 32px 0 0; }
.article > h1 { margin-top: 32px; }
.browse { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 48px; max-width: 820px; }
.browse h2 { font-size: 1rem; margin-top: 24px; }
.browse ul { list-style: none; padding: 0; }
.browse li { padding: 4px 0; }

/* ---- footer ------------------------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.88rem; padding: 44px 0 52px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 48px; }
.foot-brand p:last-child { max-width: 44ch; margin: 10px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; align-content: start; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-note { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 0.82rem; }

/* ---- responsive -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .head-nav { display: none; }
  .lang-switch { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; padding: 48px 0 72px; }
  .hero-copy h1 { max-width: 18ch; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .side { position: static; }
  .feature-row, .feature-row.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature-row.flip .feature-copy { order: 0; }
  .sup-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .band { padding: 64px 0; }
  .band-head { margin-bottom: 32px; }
  .products { grid-template-columns: minmax(0, 1fr); }
  .product-art { height: 180px; }
  .product-body { padding: 22px 20px 24px; }
  .facts-list { grid-template-columns: 1fr; gap: 2px; }
  .facts-list dd { margin-bottom: 10px; }
  .stops { grid-template-columns: 1fr; gap: 20px; }
  .stops::before { left: 8px; right: auto; top: 8px; bottom: 8px; width: 6px; height: auto; transform-origin: top; }
  .stops li { padding: 0 0 0 40px; }
  .route-inline { padding: 20px 18px; }
  .route-inline .stops li { padding: 0 0 0 38px; }
  .vignette { padding: 20px; }
  .promises { grid-template-columns: 1fr; }
  .sup-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .final-row { padding-top: 64px; padding-bottom: 64px; }
  .final::before { display: none; }
  .final-row > div { padding-right: 0; }
}
@media (max-width: 480px) {
  .brand-text { display: none; }
  .head-row { gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .final-row .btn { width: 100%; }
  .phone { width: min(290px, 92%); }
  .phone::before { left: -30%; right: -30%; }
  .phone::after { left: -12%; }
  .v-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vignette { padding: 16px; }
}
@media (max-width: 360px) {
  .head-cta { padding: 0 12px; font-size: 0.82rem; }
  h1 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---- Nivoa brand + Lead Finder -------------------------------------------------------- */
:root { --brand: #0b63f0; --brand-deep: #0346e3; --brand-soft: #eaf2ff; }
.brand-mark { width: 30px; height: 28px; object-fit: contain; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.9rem; font-weight: 500; color: var(--brand-deep); }
.kicker img { width: 18px; height: 17px; }
.lf-band { background: var(--ground); }
.lf-sub { font-size: 1.05rem; margin: 0 0 16px; color: var(--ink); }
.lf-flow { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.lf-flow li { position: relative; display: grid; gap: 6px; align-content: start; padding: 16px 14px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--ground); font-size: 0.88rem; color: var(--ink-2); }
.lf-flow li b { color: var(--ink); font-size: 0.95rem; font-weight: 600; }
.lf-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-size: 0.78rem; font-weight: 600; }
.lf-flow li:not(:last-child)::after { content: ""; position: absolute; top: 27px; right: -9px; width: 6px; height: 6px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); }
.lf-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.lf-features li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 0.9rem; color: var(--ink-2); }
.lf-features li b { color: var(--ink); font-weight: 600; }
.lf-note { margin: 24px 0 0; max-width: 72ch; font-size: 0.9rem; color: var(--muted); }
.lf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lf-signin { margin: 10px 0 0; font-size: 0.85rem; color: var(--muted); }
.lf-inline { margin: 40px 0; }
.lf-inline .lf-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lf-inline .lf-flow li::after { display: none; }
.lf-inline .lf-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .lf-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lf-flow li::after { display: none; }
  .lf-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lf-flow, .lf-inline .lf-flow { grid-template-columns: 1fr; }
  .lf-features, .lf-inline .lf-features { grid-template-columns: 1fr; }
}
