/* Hallmark · ipafast site, Dusk · inner pages (catalog, app page, help, 404) and the soft scroll reveal · theme: Dusk · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H3 E3 S3 R3 V3 · weakest: R, the inner pages are reading pages; slate, hairlines and one periwinkle signal carry them */
/* Hallmark · waive 10a · FAQ details animate height while an answer opens or shuts · the owner asked for the smooth FAQ the old site had */
/* Hallmark · waive 10a · .rv animates filter: blur(7px) to none with opacity and transform, once per block · the owner asked for a clearly visible blur on scroll */
/* Hallmark · waive 29 · .edge-blur is one fixed backdrop blur band at the bottom of the window, never on glass · the owner asked for content to come up out of a blur at the bottom */
:root { --tile-l: 46%; --tile-c: 0.12; --reveal-blur: 7px; --reveal-rise: 20px; --reveal-dur: 0.6s; --edge-blur-h: 90px; --edge-blur: 5px; }

/* ---------- reveal: blocks rise from below out of a blur (hidden only after the script adds .js) ---------- */
.js .rv { opacity: 0; transform: translateY(var(--reveal-rise)); filter: blur(var(--reveal-blur)); transition: opacity var(--reveal-dur) var(--ease-out), transform var(--reveal-dur) var(--ease-out), filter var(--reveal-dur) var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js .rv.rv-lite { --reveal-blur: 4px; transform: translateY(12px) scale(0.98); transition-duration: 0.45s; }
.js .rv.rv-lite.in { transform: none; }

/* ---------- the bottom edge of the window: content scrolls up out of a soft blur ---------- */
.edge-blur { position: fixed; left: 0; right: 0; bottom: 0; height: var(--edge-blur-h); z-index: var(--z-sticky-nav); pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease-out);
  -webkit-backdrop-filter: blur(var(--edge-blur)); backdrop-filter: blur(var(--edge-blur));
  background: linear-gradient(to top, color-mix(in oklab, var(--color-paper) 35%, transparent), transparent);
  -webkit-mask-image: linear-gradient(to top, black 25%, transparent); mask-image: linear-gradient(to top, black 25%, transparent); }
.edge-on .edge-blur { opacity: 1; transition-duration: 0.15s; } /* quick in while scrolling, slow out once it stops */

/* ---------- smooth anchor scroll (nav links to #how, #prices, help topics) and the FAQ slide ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h, 68px) + var(--space-lg)); }
.lw-faq details, .faq details { transition: height 0.32s var(--ease-out); }

/* ---------- shared bits ---------- */
.page2 { padding-block: var(--space-2xl) var(--section-gap-s); }
.hidden { display: none !important; }
.link { color: var(--color-accent); text-decoration-color: color-mix(in oklab, var(--color-accent) 40%, transparent); }
.link:hover { text-decoration-color: var(--color-accent); }
.note { font-size: var(--text-sm); color: var(--color-muted); }
.mono { font-variant-numeric: tabular-nums; color: var(--color-muted); font-size: var(--text-sm); }
.badge { display: inline-block; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-accent) 16%, transparent); color: var(--color-accent); font-size: var(--text-sm); font-weight: 500; margin-bottom: var(--space-md); }
.card { background: var(--color-paper-2); border-radius: var(--radius-card); box-shadow: var(--glass-hi); padding: var(--space-lg); }
.btn.big { min-height: 52px; padding: 0 var(--space-xl); }
.btn.block { display: flex; width: 100%; }
.btn.small { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn.ghost { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-rule); }
.btn.ghost:hover { background: color-mix(in oklab, var(--color-light) 6%, transparent); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-xl); }
.crumbs a { color: var(--color-muted); text-decoration: none; }
.crumbs a:hover { color: var(--color-ink); }
.h1-page { font-size: var(--text-display-s); max-width: 20ch; }
.lead2 { margin-top: var(--space-md); color: var(--color-ink-2); font-size: var(--text-lead); max-width: 56ch; }

/* ---------- app tiles ---------- */
.icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--color-paper-3) center / cover; color: var(--color-ink); font: 600 var(--text-lg)/1 var(--font-display); }
.icon.tile:not(.has-img) { background-color: oklch(var(--tile-l) var(--tile-c) var(--h, 270)); }
.icon.has-img { color: transparent; }
.icon.xl { width: 112px; height: 112px; border-radius: 26px; font-size: var(--text-3xl); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule); border-left: var(--rule-hair) solid var(--color-rule); }
.tilecard { display: grid; justify-items: center; align-content: start; gap: var(--space-sm); padding: var(--space-lg) var(--space-xs); border-right: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); text-decoration: none; text-align: center; font-size: var(--text-sm); color: var(--color-ink-2); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.tilecard b { font-weight: 500; }
.tilecard small { color: var(--color-muted); font-size: var(--text-xs); }
.tilecard:hover { background: color-mix(in oklab, var(--color-light) 5%, transparent); color: var(--color-ink); }
.tilecard .icon { transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
#appsGrid .tilecard { position: relative; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
#appsGrid .tilecard:hover { z-index: 1; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-accent) 50%, transparent), 0 0 28px -6px color-mix(in oklab, var(--color-accent) 35%, transparent); }
#appsGrid .tilecard:hover .icon { transform: translateY(-3px); box-shadow: 0 14px 24px -12px var(--color-shade); }
#appsGrid .tilecard mark { background: none; color: var(--color-accent-hi); }
.tiles.big { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tiles.big .icon { width: 64px; height: 64px; border-radius: 15px; }

/* ---------- catalog ---------- */
.cat-search { margin-block: var(--space-xl) var(--space-xl); display: grid; gap: var(--space-md); }
.search { width: 100%; min-height: 56px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); border: 0; background: var(--color-paper-2); color: var(--color-ink); box-shadow: var(--glass-hi); font-size: var(--text-md); }
.search::placeholder { color: var(--color-muted); }
.search:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.cats { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.cat { min-height: 40px; padding: 0 var(--space-md); border-radius: var(--radius-pill); border: 0; background: transparent; color: var(--color-ink-2); box-shadow: inset 0 0 0 1px var(--color-rule); cursor: pointer; font-size: var(--text-sm); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.cat span { color: var(--color-muted); margin-left: var(--space-2xs); font-variant-numeric: tabular-nums; }
.cat:hover { color: var(--color-ink); }
.cat.on { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: none; }
.cat.on span { color: color-mix(in oklab, var(--color-accent-ink) 70%, transparent); }
.empty { margin-top: var(--space-xl); color: var(--color-muted); }

/* catalog polish: search with icon and "/" hint, the bar sticks under the nav, categories in one scrollable line */
.cat-search { position: sticky; top: calc(64px + var(--space-sm) + var(--space-sm)); z-index: 20; margin-inline: calc(-1 * var(--space-sm)); padding: var(--space-sm); border-radius: 22px; transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.cat-search.stuck { background: color-mix(in oklab, var(--color-paper-2) 78%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: var(--glass-hi), 0 18px 40px -24px var(--color-shade); }
.search-box { position: relative; display: flex; align-items: center; }
.search-box svg { position: absolute; left: 20px; width: 20px; height: 20px; fill: none; stroke: var(--color-muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.cat-search .search, .hp-search .search { padding: 0 56px 0 52px; transition: box-shadow var(--dur-short) var(--ease-out); }
.cat-search .search:hover, .hp-search .search:hover { box-shadow: var(--glass-hi), inset 0 0 0 1px color-mix(in oklab, var(--color-ink) 18%, transparent); }
.cat-search .search:focus, .cat-search .search:focus-visible, .hp-search .search:focus, .hp-search .search:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--color-accent), 0 0 0 4px color-mix(in oklab, var(--color-accent) 18%, transparent), 0 0 40px -10px color-mix(in oklab, var(--color-accent) 40%, transparent); }
.search-box kbd { position: absolute; right: 18px; min-width: 26px; padding: 3px 8px; border-radius: 6px; font: 500 var(--text-xs)/1.4 var(--font-body); text-align: center; color: var(--color-muted); box-shadow: inset 0 0 0 1px var(--color-rule); pointer-events: none; transition: opacity var(--dur-short) var(--ease-out); }
.search-box input:focus ~ kbd, .search-box input:not(:placeholder-shown) ~ kbd { opacity: 0; }
.cat-search .cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.cat-search .cats::-webkit-scrollbar { display: none; }
.cat-search .cats.fade-r { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 64px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 64px), transparent); }
.cat-search .cats.fade-l { -webkit-mask: linear-gradient(90deg, transparent, #000 64px); mask: linear-gradient(90deg, transparent, #000 64px); }
.cat-search .cats.fade-l.fade-r { -webkit-mask: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent); mask: linear-gradient(90deg, transparent, #000 64px, #000 calc(100% - 64px), transparent); }
.cat { flex: none; white-space: nowrap; }
.cat-count { margin: 0 0 var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.cat-count b { color: var(--color-ink); font-weight: 500; }
.empty:not(.hidden) { display: grid; justify-items: start; gap: var(--space-sm); padding: var(--space-2xl); border-radius: var(--radius-card); background: color-mix(in oklab, var(--color-light) 3%, transparent); box-shadow: inset 0 0 0 1px var(--color-rule); }
.empty b { font: 500 var(--text-title)/1.2 var(--font-display); color: var(--color-ink); }
.empty p { max-width: 52ch; }
.empty .btn { margin-top: var(--space-xs); }

/* ---------- app page ---------- */
.app-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-xl); align-items: start; margin-bottom: var(--space-2xl); }
.app-hero .btn { margin-top: var(--space-xl); }
.app-cols { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--gap-columns); align-items: start; }
.block { padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.block h2 { font-size: var(--text-2xl); margin-bottom: var(--space-lg); }
.numlist { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: var(--space-md); }
.numlist li { counter-increment: n; position: relative; padding-left: calc(32px + var(--space-md)); min-height: 32px; padding-top: var(--space-2xs); color: var(--color-ink-2); }
.numlist li::before { content: counter(n); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in oklab, var(--color-accent) 16%, transparent); color: var(--color-accent); font: 500 var(--text-sm)/1 var(--font-display); }
.numlist b { color: var(--color-ink); font-weight: 500; }
.vlist { display: grid; gap: var(--space-xs); margin-top: var(--space-md); }
.vlist div { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.vlist.off b { color: var(--color-muted); text-decoration: line-through; }
.vlist span { color: var(--color-muted); font-size: var(--text-sm); }
.side { position: sticky; top: calc(var(--nav-h, 68px) + var(--space-lg)); }
.side h3 { font-size: var(--text-lg); margin-bottom: var(--space-md); }
.dots { list-style: none; margin: 0 0 var(--space-lg); padding: 0; display: grid; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
.dots li { padding-left: var(--space-md); border-left: 2px solid var(--color-accent); }

/* ---------- faq on inner pages ---------- */
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary { list-style: none; cursor: pointer; padding: var(--space-md) 0; display: flex; justify-content: space-between; gap: var(--space-md); font-weight: 500; color: var(--color-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-muted); transition: transform var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding-bottom: var(--space-md); color: var(--color-muted); max-width: 60ch; }

/* ---------- help: centred head with search, grouped topic tiles, then each topic as a strip of step phones ---------- */
.hp-head { display: grid; justify-items: center; text-align: center; }
.hp-head .crumbs { justify-content: center; }
.hp-head .h1-page { max-width: none; }
.hp-head .lead2 { max-width: 60ch; }
.hp-search { width: min(100%, 560px); margin-top: var(--space-xl); }
.hp-index { max-width: 1080px; margin: var(--space-2xl) auto 0; }
.hp-eyebrow { display: block; margin: 0 0 var(--space-sm); color: var(--color-muted); font: 600 var(--text-xs)/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }
/* tiles, topics (step list + phone) and their notes live in dusk/help.css, shared with the cabinet */
.hp-ask { max-width: 1080px; margin-top: var(--section-gap-s); }
.hp-ask-btns { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hp-ask-btns .ico-tg { width: 18px; height: 18px; fill: currentColor; flex: none; margin-right: 8px; }
.hp-ask-btns .btn { display: inline-flex; align-items: center; }

/* help: the articles list (on /help/ and under each article) */
.hp-arts-sec { max-width: 1080px; margin-top: var(--section-gap-s); }
.hp-arts { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hp-art { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--color-light) 4%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-ink) 12%, transparent); color: var(--color-ink); font-size: var(--text-sm); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.hp-art svg { width: 14px; height: 14px; fill: none; stroke: var(--color-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur-short) var(--ease-out), stroke var(--dur-short) var(--ease-out); }
.hp-art:hover { background: color-mix(in oklab, var(--color-light) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-accent) 50%, transparent); }
.hp-art:hover svg { transform: translateX(3px); stroke: var(--color-accent-hi); }
.hp-art:focus-visible { outline: 2px solid var(--color-accent-hi); outline-offset: 2px; }

/* help article: one reading column */
.art .h1-page { max-width: 26ch; }
.art-main { max-width: 760px; }
.art-body h2 { margin: var(--space-2xl) 0 var(--space-md); font-size: var(--text-2xl); line-height: 1.2; }
.art-body p, .art-body li { color: var(--color-ink-2); line-height: 1.6; }
.art-body p + p { margin-top: var(--space-sm); }
.art-body b { color: var(--color-ink); font-weight: 600; }
.art-body ol, .art-body ul { display: grid; gap: var(--space-sm); margin: 0; padding-left: 1.4em; }
.art-body ol + p, .art-body ul + p { margin-top: var(--space-md); }
.art-body li::marker { color: var(--color-accent); font-weight: 600; }
/* step articles (/help/open/, /help/shared/): the help topic's steps and phone, wider than the text around them */
.art-main:has(.art-steps) { max-width: 1080px; }
.art-main:has(.art-steps) .lead2, .art-body > :not(.art-steps) { max-width: 760px; }
.art-body .art-steps { margin: var(--space-xl) 0; }
.art-body .art-steps:first-child { margin-top: var(--space-lg); }
.art-body .hsc-list { display: grid; gap: 2px; padding: 0; list-style: none; }
.art-body .hsc-list li { line-height: inherit; }
.art-body .hsc-list li::marker { content: none; }
.art-body .hsc-step b { color: inherit; }
.art-more { margin-top: var(--space-md); }
.art-table { overflow-x: auto; border-radius: var(--radius-inner); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-ink) 10%, transparent); }
.art-table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--text-sm); }
.art-table th, .art-table td { padding: var(--space-sm) var(--space-md); text-align: left; vertical-align: top; line-height: 1.45; }
.art-table th { color: var(--color-muted); font-weight: 500; background: color-mix(in oklab, var(--color-light) 4%, transparent); }
.art-table td { color: var(--color-ink-2); border-top: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); }
.art-faq details { border-bottom: 1px solid color-mix(in oklab, var(--color-ink) 10%, transparent); }
.art-faq details:first-child { border-top: 1px solid color-mix(in oklab, var(--color-ink) 10%, transparent); }
.art-faq summary { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) 0; color: var(--color-ink); font: 500 var(--text-md)/1.35 var(--font-display); cursor: pointer; list-style: none; }
.art-faq summary::-webkit-details-marker { display: none; }
.art-faq summary::after { content: "+"; color: var(--color-muted); transition: transform var(--dur-short) var(--ease-out); }
.art-faq details[open] summary::after { transform: rotate(45deg); }
.art-faq summary:hover { color: var(--color-accent-hi); }
.art-faq details p { padding-bottom: var(--space-md); }
.art-cta { max-width: 1080px; margin-top: var(--section-gap-s); }
.tip { margin-top: var(--space-md); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-inner); background: color-mix(in oklab, var(--color-accent-2) 10%, transparent); color: var(--color-ink-2); font-size: var(--text-sm); }
.callout { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); flex-wrap: wrap; margin-top: var(--space-2xl); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-2); box-shadow: var(--glass-hi); }
.callout b { font: 500 var(--text-lg)/1.3 var(--font-display); }
.callout p { margin-top: var(--space-2xs); color: var(--color-muted); }

@media (max-width: 60rem) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles.big { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-hero, .app-cols { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
}
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; filter: none; transition: none; } html { scroll-behavior: auto; } .lw-faq details, .faq details { transition: none; } }

/* old page wrappers and nav state */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.nav ul a[aria-current="page"] { color: var(--color-ink); }

/* =================== reviews: home block under «Цены» and the /reviews/ page =================== */
/* a card: the app icon back in colour with a green tick, the stars, the text, who and when, the verified install */
.lw--reviews { border-top: var(--rule-hair) solid var(--color-rule); }
.rv-top { display: grid; justify-items: center; text-align: center; margin-bottom: var(--space-2xl); }
.rv-top h2 { max-width: 16ch; }
.rv-score { display: inline-flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-lg); color: var(--color-muted); }
.rv-score b { font: 600 var(--text-xl)/1 var(--font-display); color: var(--color-ink); }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars svg { width: 16px; height: 16px; fill: color-mix(in oklab, var(--color-ink) 18%, transparent); }
.rv-stars svg.on { fill: oklch(84% 0.13 80); }
.rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
/* one or two reviews sit in the middle instead of leaving empty columns */
.rv-grid:has(> :last-child:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.rv-grid:has(> :only-child) { grid-template-columns: minmax(0, 420px); justify-content: center; }
.rvc { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: var(--space-md); padding: var(--space-lg); border-radius: 22px; background: var(--color-paper-2); box-shadow: var(--glass-hi); }
.rv-app { display: flex; align-items: center; gap: var(--space-md); }
.rv-ic { position: relative; flex: none; }
.rv-ic img, .rv-ic .icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; }
.rv-ic i { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: oklch(66% 0.16 155); box-shadow: 0 0 0 3px var(--color-paper-2); }
.rv-ic i svg { width: 12px; height: 12px; fill: none; stroke: var(--color-light); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.rv-lab { display: grid; gap: 2px; min-width: 0; }
.rv-lab b { overflow: hidden; font: 500 var(--text-md)/1.2 var(--font-display); white-space: nowrap; text-overflow: ellipsis; }
.rv-lab span { color: oklch(78% 0.13 155); font-size: var(--text-xs); }
.rv-txt { color: var(--color-ink); line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.rv-who b { display: block; font: 500 var(--text-sm)/1.2 var(--font-display); }
.rv-who small { color: var(--color-muted); font-size: var(--text-xs); }
.rv-ver { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: var(--space-xs); padding-top: var(--space-md); border-top: 1px solid color-mix(in oklab, var(--color-ink) 9%, transparent); color: var(--color-muted); font-size: var(--text-xs); line-height: 1.5; }
.rv-ver svg { width: 14px; height: 14px; margin-top: 2px; fill: none; stroke: oklch(72% 0.14 155); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rv-all { display: flex; justify-content: center; margin-top: var(--space-xl); }
.rv-all .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rv-empty { display: grid; justify-items: center; gap: var(--space-sm); max-width: 560px; margin: 0 auto; padding: var(--space-xl); border-radius: 22px; background: var(--color-paper-2); box-shadow: var(--glass-hi); text-align: center; }
.rv-empty b { font: 500 var(--text-lg)/1.3 var(--font-display); }
.rv-empty p { color: var(--color-muted); line-height: 1.55; }
.rv-empty .btn { margin-top: var(--space-sm); }
/* /reviews/ */
.rvp-sum { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; max-width: 1080px; margin: var(--space-2xl) auto; padding: var(--space-xl); border-radius: 24px; background: var(--color-paper-2); box-shadow: var(--glass-hi); }
.rvp-avg { display: grid; justify-items: center; gap: var(--space-xs); }
.rvp-avg b { font: 500 56px/1 var(--font-display); letter-spacing: -0.03em; }
.rvp-avg span:last-child { color: var(--color-muted); font-size: var(--text-sm); }
.rvp-bars { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rvp-bars li { display: grid; grid-template-columns: 12px 14px minmax(0, 1fr) 40px; gap: var(--space-xs); align-items: center; color: var(--color-muted); font-size: var(--text-xs); }
.rvp-bars svg { width: 12px; height: 12px; fill: oklch(84% 0.13 80); }
.rvp-bars i { height: 6px; border-radius: 3px; background: color-mix(in oklab, var(--color-ink) 10%, transparent); overflow: hidden; }
.rvp-bars em { display: block; height: 100%; border-radius: inherit; background: oklch(84% 0.13 80); }
.rvp-bars small { text-align: right; }
.rvp-cta b { font: 500 var(--text-md)/1.3 var(--font-display); }
.rvp-cta p { margin: 6px 0 var(--space-md); color: var(--color-muted); font-size: var(--text-sm); line-height: 1.5; }
.rv-grid--page { max-width: 1080px; margin: 0 auto; }
.rv-empty--page { margin-top: var(--space-2xl); }
.rvp-pager { display: flex; justify-content: center; align-items: center; gap: var(--space-md); margin-top: var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); }

/* reviews: three cards side by side only on wide screens */
@media (max-width: 60rem) {
  .rv-grid, .rv-grid:has(> :last-child:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rvp-sum { grid-template-columns: auto minmax(0, 1fr); gap: var(--space-xl); }
  .rvp-cta { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .rv-grid, .rv-grid:has(> :last-child:nth-child(2)), .rv-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
  .rvp-sum { grid-template-columns: minmax(0, 1fr); padding: var(--space-lg); }
  .rv-score { flex-wrap: wrap; justify-content: center; }
  .rvc { padding: var(--space-md); }
}
/* app tiles: long one-word names (АльфаСтрахование) wrap instead of pushing out of a narrow cell */
.tilecard { min-width: 0; text-align: center; }
.tilecard b, .tilecard small { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 40rem) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 26rem) { .tiles.big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
