/* =========================================================
   Reputation Radar — variant B / futuristic dark
   Accent: single electric cyan. No rival neons.
   ========================================================= */

:root {
  --bg: #07090D;
  --bg-2: #0B0E14;
  --bg-3: #0E1219;

  --accent: #22D3EE;
  --accent-dim: #0E7490;
  --accent-soft: rgba(34, 211, 238, .12);
  --accent-line: rgba(34, 211, 238, .34);

  --warn: #C9903A;           /* muted, never neon */
  --text: #E7EDF5;
  --text-2: #A3ADBE;
  --muted: #6E7889;

  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .13);
  --glass: rgba(255, 255, 255, .028);

  --font-display: "Unbounded", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --text-hero: clamp(2.6rem, 1.1rem + 6.2vw, 7rem);
  --text-h2: clamp(1.85rem, 1.1rem + 2.4vw, 3.4rem);
  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius: 18px;

  --dur: 480ms;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
  /* фон на html — под сейф-зонами при viewport-fit=cover не должно быть светлых полос */
  background: var(--bg);
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, .95rem + .2vw, 1.075rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #04070A; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------- grain / atmosphere --------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 60;
  pointer-events: none;
  opacity: .038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------- layout --------- */
.wrap { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 2.5rem); }
.wrap--split { display: grid; gap: clamp(2rem, 4vw, 4.5rem); grid-template-columns: 1fr 1.05fr; align-items: center; }
.wrap--split-narrow { grid-template-columns: 1fr .9fr; }
.section { padding-block: var(--space-section); position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.h2 { font-size: var(--text-h2); margin-bottom: 1.1rem; }
.lede { color: var(--text-2); max-width: 46ch; }
.lede--wide { max-width: 72ch; margin-bottom: 2.6rem; }
.lede em { color: var(--text); font-style: italic; }

/* --------- topbar --------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem clamp(1.25rem, 3vw, 2.5rem);
  padding-top: max(.85rem, env(safe-area-inset-top));
  padding-left: max(clamp(1.25rem, 3vw, 2.5rem), env(safe-area-inset-left));
  padding-right: max(clamp(1.25rem, 3vw, 2.5rem), env(safe-area-inset-right));
  background: linear-gradient(to bottom, rgba(7, 9, 13, .92), rgba(7, 9, 13, .55) 70%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 600; letter-spacing: -.03em; }
.brand__mark { color: var(--accent); display: grid; place-items: center; animation: spin 14s linear infinite; }
.brand__text span { color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

.topnav { display: flex; gap: 1.5rem; margin-left: auto; font-size: .9rem; color: var(--text-2); }
.topnav a { position: relative; padding-block: 4px; transition: color 220ms; }
.topnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease);
}
@media (hover: hover) {
  .topnav a:hover { color: var(--text); }
  .topnav a:hover::after { transform: scaleX(1); }
}

.topbar__cta {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em;
  padding: .5rem .85rem; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--text-2); transition: color 220ms, border-color 220ms, box-shadow 320ms;
}
@media (hover: hover) {
  .topbar__cta:hover { color: var(--accent); border-color: var(--accent-line); box-shadow: 0 0 22px -6px var(--accent); }
}
.topbar__cta:active { color: var(--accent); border-color: var(--accent-line); }

/* --------- hero --------- */
.hero {
  position: relative;
  /* vh — фолбэк для старых движков; svh не прыгает при схлопывании тулбара Safari,
     в отличие от dvh, которая тянет высоту героя вслед за адресной строкой */
  min-height: 100vh;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: 8rem 0 5rem;
  padding-top: max(8rem, calc(env(safe-area-inset-top) + 6rem));
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 78% 22%, rgba(34, 211, 238, .10), transparent 58%),
    linear-gradient(to bottom, transparent 45%, rgba(7, 9, 13, .82) 88%, var(--bg));
}
.hero__inner { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }

.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em;
  padding: .45rem .95rem; border-radius: 999px;
  border: 1px solid var(--accent-line); background: var(--accent-soft);
  color: var(--accent); margin-bottom: 1.8rem;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.hero__title { font-size: var(--text-hero); max-width: 15ch; margin-bottom: 1.6rem; }
.hero__line { display: block; opacity: 0; transform: translateY(28px); animation: rise 900ms var(--ease) forwards; }
.hero__line:nth-child(2) { animation-delay: 130ms; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), #7DE9F7 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(34, 211, 238, .28);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__sub {
  max-width: 54ch; color: var(--text-2); font-size: clamp(1.02rem, .95rem + .35vw, 1.28rem);
  opacity: 0; animation: rise 900ms var(--ease) 260ms forwards;
}
.hero__sub strong { color: var(--text); font-family: var(--font-mono); font-weight: 600; word-spacing: -.3em; }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; margin: 3rem 0 2.4rem;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  opacity: 0; animation: rise 900ms var(--ease) 380ms forwards;
}
.stat { background: rgba(11, 14, 20, .72); backdrop-filter: blur(10px); padding: 1.4rem 1.35rem; }
.stat__label { font-size: .78rem; letter-spacing: .04em; color: var(--muted); margin-bottom: .5rem; }
.stat__value {
  font-family: var(--font-mono); font-weight: 800;
  font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.9rem);
  letter-spacing: -.04em; color: var(--accent);
  text-shadow: 0 0 34px rgba(34, 211, 238, .3);
  font-variant-numeric: tabular-nums;
  /* моношрифт растягивает разряды до полной ширины символа — поджимаем */
  word-spacing: -.3em;
}
.stat__value--flat { color: var(--text); text-shadow: none; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; opacity: 0; animation: rise 900ms var(--ease) 480ms forwards; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.7rem; border-radius: 999px; font-weight: 700;
  font-size: .96rem; letter-spacing: .01em; border: 1px solid transparent;
  transition: transform 260ms var(--ease), box-shadow 320ms, background 260ms, border-color 260ms, color 260ms;
}
.btn--primary { background: var(--accent); color: #04070A; box-shadow: 0 10px 40px -14px var(--accent); }
.btn--ghost { border-color: var(--line-2); color: var(--text-2); }
@media (hover: hover) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px -12px var(--accent); }
  .btn--ghost:hover { color: var(--accent); border-color: var(--accent-line); transform: translateY(-2px); }
}
.btn:active { transform: scale(.97); }
.btn--ghost:active { color: var(--accent); border-color: var(--accent-line); }
.btn--lg { padding: 1.15rem 2.4rem; font-size: 1.05rem; }

.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.hero__scroll span { width: 1px; height: 42px; background: linear-gradient(to bottom, transparent, var(--accent)); }

/* --------- terminal --------- */
.section--verdict { background: linear-gradient(to bottom, var(--bg), var(--bg-2)); }
.verdict-notes { margin-top: 1.8rem; display: grid; gap: .85rem; color: var(--text-2); }
/* not grid: inline links inside li must flow with the text */
.verdict-notes li { position: relative; padding-left: 1.5rem; }
.verdict-notes li > span:first-child { position: absolute; left: 0; top: 0; }
.verdict-notes span { color: var(--accent); font-family: var(--font-mono); }

.terminal {
  border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  background: rgba(4, 6, 10, .82); backdrop-filter: blur(8px);
  box-shadow: 0 40px 90px -50px rgba(34, 211, 238, .5), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.terminal__bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .7rem .95rem; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .022);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #2A303B; }
.dot--r { background: #4A2C31; } .dot--y { background: #4A422C; } .dot--g { background: #2C4A3B; }
.terminal__title { margin-left: .7rem; font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }
.terminal__body {
  margin: 0; padding: 1.4rem 1.3rem 1.7rem;
  font-family: var(--font-mono); font-size: clamp(.79rem, .72rem + .28vw, .95rem);
  line-height: 1.85; white-space: pre-wrap; word-break: break-word;
  min-height: 21rem; color: var(--text-2);
}
.terminal__body .cmd { color: var(--accent); }
.terminal__body .ok { color: #7DE9F7; }
.terminal__body .dim { color: var(--muted); }
.terminal__body .verdict { color: #04070A; background: var(--accent); padding: 0 .45rem; border-radius: 3px; font-weight: 800; }
.terminal__body .human { color: var(--text); }
.caret { display: inline-block; width: 8px; height: 1.05em; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }

/* --------- sentiment --------- */
.sent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(12px);
  padding: clamp(1.3rem, 1rem + 1vw, 2rem);
  transition: border-color 320ms, box-shadow 420ms, transform 420ms var(--ease);
}
@media (hover: hover) {
  .panel:hover { border-color: var(--accent-line); box-shadow: 0 0 0 1px rgba(34, 211, 238, .07), 0 30px 70px -50px var(--accent); transform: translateY(-3px); }
}
.panel--wide { grid-column: 1 / -1; }
.panel__h { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 1.4rem; display: flex; align-items: center; gap: .7rem; }
.panel__tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--warn); border: 1px solid rgba(201, 144, 58, .4); padding: .15rem .5rem; border-radius: 999px; }
.panel__note { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px dashed var(--line-2); font-size: .86rem; color: var(--muted); }

.sentbar { display: flex; height: 58px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.sentbar__seg { display: grid; place-items: center; width: 0; transition: width 1.4s var(--ease); font-family: var(--font-mono); font-size: .8rem; font-weight: 800; overflow: hidden; }
.sentbar__seg--pos { background: linear-gradient(120deg, var(--accent-dim), var(--accent)); color: #04070A; }
.sentbar__seg--neu { background: #232936; color: var(--text-2); }
.sentbar__seg--neg { background: #3A2A1C; color: #D9AE72; }
.sentlegend { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.1rem; font-size: .84rem; color: var(--text-2); }
.sentlegend b { font-family: var(--font-mono); color: var(--text); margin-left: .35rem; word-spacing: -.3em; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .5rem; }
.sw--pos { background: var(--accent); } .sw--neu { background: #232936; } .sw--neg { background: #6C4A25; }

.freq { display: grid; gap: .95rem; }
.freq li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(100px, 42%) auto; align-items: center; gap: .9rem; font-size: .9rem; }
.freq i { display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); position: relative; overflow: hidden; }
.freq i::after {
  content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  transition: transform 1.2s var(--ease);
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
}
.freq[data-tone="neg"] i::after { background: linear-gradient(90deg, #4A3721, var(--warn)); }
.freq.is-on i::after { transform: scaleX(var(--w, 0)); }
.freq b { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); text-align: right; white-space: nowrap; }

/* --------- market bento --------- */
.section--market { background: var(--bg-2); border-block: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.card-rep {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  background: var(--glass); display: flex; flex-direction: column; gap: .85rem;
  transition: border-color 320ms, transform 420ms var(--ease), box-shadow 420ms;
}
@media (hover: hover) {
  .card-rep:hover { transform: translateY(-4px); border-color: var(--line-2); }
}
.card-rep__top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.card-rep h3 { font-size: 1.15rem; font-weight: 600; }
.card-rep__score { font-family: var(--font-mono); display: flex; align-items: baseline; gap: .4rem; }
.card-rep__score b { font-size: clamp(2.1rem, 1.4rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -.05em; }
.card-rep__score span { color: var(--muted); font-size: .85rem; }
.card-rep__note { font-size: .82rem; color: var(--muted); margin-top: auto; }
.card-rep__note--good { color: var(--accent); font-weight: 700; }

/* Вердикт вместо балла: мономорфная цифра уступила место слову, поэтому
   кегль ниже, а перенос разрешён: слово длиннее, чем прежняя дробь. */
.card-rep__score--verdict { flex-wrap: wrap; row-gap: .1rem; }
.card-rep__score--verdict b {
  font-size: clamp(1.5rem, 1rem + 1.5vw, 2.3rem); letter-spacing: -.02em;
  color: var(--accent);
}
.card-rep__score--verdict span { font-size: .9rem; color: var(--text-2); }
.card-rep__scale {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin-top: .55rem;
}
.card-rep__scale a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
@media (hover: hover) {
  .card-rep__scale a:hover { color: var(--accent); border-color: var(--accent); }
}

.card-rep--hero {
  grid-column: span 2; grid-row: span 2;
  border-color: var(--accent-line);
  background:
    radial-gradient(110% 120% at 12% 0%, rgba(34, 211, 238, .16), transparent 62%),
    var(--glass);
  box-shadow: 0 40px 90px -60px var(--accent);
}
.card-rep--hero h3 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); font-weight: 800; }
.card-rep--hero .card-rep__score b { font-size: clamp(3.6rem, 2rem + 6vw, 7rem); color: var(--accent); text-shadow: 0 0 70px rgba(34, 211, 238, .35); }
@media (hover: hover) {
  .card-rep--hero:hover { box-shadow: 0 40px 90px -50px var(--accent); }
}
.badge--win {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: #04070A; background: var(--accent); padding: .3rem .7rem; border-radius: 999px;
}
.meter { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent-dim), var(--accent)); transition: width 1.3s var(--ease); }
.meter--rival i { background: linear-gradient(90deg, #2A313E, #4C5666); }
.ministats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; margin-top: auto; background: var(--line);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.ministats > div { background: rgba(7, 9, 13, .55); padding: .9rem 1rem; }
.ministats dt { font-size: .72rem; letter-spacing: .04em; color: var(--muted); margin-bottom: .25rem; }
.ministats dd { margin: 0; font-family: var(--font-mono); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; word-spacing: -.3em; }
.ministats .is-zero { color: var(--accent); }

.card-rep--src { grid-column: span 1; justify-content: center; background: none; border-style: dashed; }
.card-rep--src p { font-size: .82rem; color: var(--muted); }
.card-rep--src b { color: var(--text-2); }

/* --------- review wall --------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.chip {
  font-family: var(--font-body); font-size: .87rem; font-weight: 500;
  padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer;
  color: var(--text-2); background: transparent; border: 1px solid var(--line-2);
  transition: color 240ms, border-color 240ms, background 240ms, box-shadow 320ms, transform 240ms var(--ease);
}
@media (hover: hover) {
  .chip:hover { color: var(--text); border-color: var(--accent-line); transform: translateY(-1px); }
}
.chip:active { transform: scale(.95); color: var(--text); border-color: var(--accent-line); }
.chip.is-active { color: #04070A; background: var(--accent); border-color: var(--accent); box-shadow: 0 8px 30px -12px var(--accent); }
.chip b { font-family: var(--font-mono); font-weight: 600; opacity: .6; margin-left: .35rem; }
.chip--accent { border-style: dashed; }

.masonry { columns: 3; column-gap: 1.1rem; }
.rv {
  break-inside: avoid; margin-bottom: 1.1rem;
  border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem;
  background: var(--glass); backdrop-filter: blur(10px);
  transition: border-color 320ms, transform 380ms var(--ease), box-shadow 380ms, opacity 380ms;
}
@media (hover: hover) {
  .rv:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: 0 30px 60px -50px var(--accent); }
}
.rv.is-hidden { display: none; }
.rv__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.rv__ava {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px;
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 800;
  font-size: .82rem; color: #04070A;
}
.rv__who { min-width: 0; }
.rv__name { font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: .35rem; }
.rv__ver { color: var(--accent); flex: 0 0 auto; }
.rv__handle { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); }
.rv__stars { margin-left: auto; color: var(--accent); font-size: .82rem; letter-spacing: .08em; white-space: nowrap; }
.rv__stars i { color: #2C333F; font-style: normal; }
.rv__text { font-size: .93rem; color: var(--text-2); }
.rv__text b { color: var(--text); font-weight: 700; }
.rv__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1rem; }
.tag {
  font-family: var(--font-mono); font-size: .67rem; letter-spacing: .06em;
  padding: .22rem .55rem; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted);
}
.tag--sw { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.rv__date { margin-left: auto; font-family: var(--font-mono); font-size: .7rem; color: var(--muted); }
.rv__reply {
  margin-top: 1rem; padding: .85rem .95rem; border-radius: 12px;
  background: rgba(34, 211, 238, .055); border-left: 2px solid var(--accent);
  font-size: .85rem; color: var(--text-2);
}
.rv__reply b { display: block; color: var(--accent); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .3rem; }
.wall__empty { text-align: center; color: var(--muted); padding: 3rem 0; }

/* --------- stars distribution --------- */
.section--stars { background: linear-gradient(to bottom, var(--bg), var(--bg-3)); border-top: 1px solid var(--line); }
.agg { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.8rem; }
.agg__num { font-family: var(--font-mono); font-weight: 800; font-size: clamp(3.4rem, 2rem + 5vw, 6rem); letter-spacing: -.06em; color: var(--accent); line-height: 1; text-shadow: 0 0 60px rgba(34, 211, 238, .3); }
.agg__stars { color: var(--accent); letter-spacing: .18em; font-size: 1.15rem; }
.agg__meta { font-size: .84rem; color: var(--muted); margin-top: .3rem; }

/* .agg строилась вокруг крупного числа слева. Числа больше нет: вердикт —
   строка текста, поэтому колонка, а не ряд. */
.agg--verdict { display: block; }
.agg__verdict {
  font-size: clamp(1.3rem, .95rem + 1.25vw, 1.95rem); font-weight: 800;
  line-height: 1.24; letter-spacing: -.02em; color: var(--accent);
  text-wrap: balance;
}
.agg--verdict .agg__meta { margin-top: .75rem; }
.stars { display: grid; gap: 1rem; }
.stars li { display: grid; grid-template-columns: 42px 1fr 46px; align-items: center; gap: 1rem; font-family: var(--font-mono); font-size: .84rem; color: var(--text-2); }
.stars i { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.stars i::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease);
}
.stars.is-on i::after { transform: scaleX(var(--w, 0)); }
.stars b { text-align: right; color: var(--muted); font-weight: 600; }

/* --------- faq --------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; gap: 1.2rem; cursor: pointer;
  background: none; border: 0; color: var(--text); text-align: left;
  font-family: var(--font-body); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); font-weight: 700;
  padding: 1.5rem 0; transition: color 240ms;
}
@media (hover: hover) {
  .faq__q:hover { color: var(--accent); }
}
.faq__q:active { color: var(--accent); }
.faq__q i { margin-left: auto; flex: 0 0 auto; font-style: normal; font-family: var(--font-mono); color: var(--accent); transition: transform 380ms var(--ease); }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__n { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); padding-top: .18rem; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--text-2); font-size: .95rem; padding: 0 0 1.6rem 2.4rem; max-width: 70ch; }

/* --------- final + footer --------- */
.section--final { background: var(--bg-3); border-top: 1px solid var(--line); text-align: center; }
.final__h { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.3rem); margin-bottom: 1.2rem; }
.final__p { color: var(--text-2); max-width: 60ch; margin: 0 auto 2.2rem; }

.footer { background: #05070A; border-top: 1px solid var(--line); padding-block: 3.5rem 6.5rem; }
.footer__in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; align-items: start; }
.footer__brand { font-family: var(--font-display); font-weight: 600; margin-bottom: .8rem; }
.footer__brand span { color: var(--accent); }
.footer__dis { font-size: .8rem; color: var(--muted); max-width: 78ch; line-height: 1.7; }
.footer__meta { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); text-align: right; }

/* --------- sticky cta --------- */
.sticky-cta {
  position: fixed; z-index: 55;
  right: max(clamp(1rem, 3vw, 2.2rem), env(safe-area-inset-right));
  bottom: max(clamp(1rem, 3vw, 2.2rem), calc(env(safe-area-inset-bottom) + .35rem));
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .92rem;
  background: var(--accent); color: #04070A;
  box-shadow: 0 16px 46px -14px var(--accent);
  opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none;
  transition: opacity 420ms var(--ease), transform 420ms var(--ease), box-shadow 320ms;
}
.sticky-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) {
  .sticky-cta:hover { box-shadow: 0 20px 56px -12px var(--accent); }
}
.sticky-cta.is-on:active { transform: scale(.97); }
.sticky-cta__dot { width: 8px; height: 8px; border-radius: 50%; background: #04070A; animation: blink 2s ease-in-out infinite; }

/* --------- reveal --------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* --------- responsive --------- */
@media (max-width: 1080px) {
  .masonry { columns: 2; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-rep--hero { grid-column: span 2; grid-row: auto; }
  .card-rep--src { grid-column: span 2; }
}
@media (max-width: 900px) {
  .topnav { display: none; }
  .wrap--split, .wrap--split-narrow { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .masonry { columns: 1; }
  .bento { grid-template-columns: 1fr; }
  .card-rep--hero, .card-rep--src { grid-column: span 1; }
  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
    /* shorthand выше сбрасывает верхний паддинг с сейф-зоной — возвращаем его */
    padding-top: max(7rem, calc(env(safe-area-inset-top) + 5rem));
  }
  .topbar__cta { display: none; }
  .footer__in { grid-template-columns: 1fr; }
  .footer__meta { text-align: left; }
  .sticky-cta {
    left: max(1rem, env(safe-area-inset-left));
    right: max(1rem, env(safe-area-inset-right));
    justify-content: center;
  }
  .freq li { grid-template-columns: minmax(0, 1fr) 34% auto; }
  .ministats { grid-template-columns: 1fr 1fr; }
  .ministats > div:last-child { grid-column: 1 / -1; }
  .terminal__body { min-height: 24rem; }
}

/* --------- мобильная доводка --------- */

/* Ландшафт iPhone: инсеты уходят в бока. */
@media (orientation: landscape) and (max-height: 500px) {
  .wrap, .wrap--narrow, .hero__inner, .topbar {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
  .wrap, .wrap--narrow, .hero__inner { width: 100%; }
  .hero { min-height: 0; padding-block: 6rem 3rem; }
}

/* Тач: 44px и осязаемый отклик. */
@media (pointer: coarse) {
  .chip, .btn, .topbar__cta, .brand, .sticky-cta, .topnav a { min-height: 44px; }
  .chip { display: inline-flex; align-items: center; padding-block: .8rem; }
  .topnav a, .topbar__cta { display: inline-flex; align-items: center; }
  /* Правило выше идёт после «max-width:640px», поэтому воскрешало скрытую
     кнопку на тач-экранах и выносило её за вьюпорт на 320px. */
  @media (max-width: 640px) { .topbar__cta { display: none; } }
  .faq__q { min-height: 48px; }
  .footer__meta a { display: inline-block; padding-block: .9rem; }
  .footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
}

/* backdrop-filter в WebKit дорогой: на стене отзывов это 15 слоёв блюра,
   которые роняют fps скролла. На телефоне отдаём плотный фон без блюра. */
@media (max-width: 760px) {
  .rv, .panel, .stat, .terminal {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .rv, .panel { background: rgba(19, 24, 33, .92); }
  .stat { background: rgba(11, 14, 20, .94); }
  .terminal { background: rgba(4, 6, 10, .96); }
}

/* Читаемый кегль на телефоне: 16px базой. */
@media (max-width: 700px) {
  .rv__text, .rv__reply, .lede, .faq__a p, .final__p, .card-rep__note,
  .verdict-notes, .panel__note, .sentlegend, .freq li,
  .card-rep--src p, .rv__name { font-size: 1rem; }
  .footer__dis { font-size: .9rem; }
  .stars li, .agg__meta { font-size: .92rem; }
  h1, h2, h3 { overflow-wrap: break-word; }
}

/* --------- reduced motion --------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__line, .hero__sub, .stats, .hero__actions { opacity: 1; }
  .brand__mark { animation: none; }
}

/* --------- скриншоты-пруфы --------- */
/* Кадры сняты в кабинете; рамка повторяет терминал, чтобы пруф читался как
   часть лога, а не как рекламная картинка. */
.shot { margin: 2rem 0 0; }
.shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: rgba(4, 6, 10, .82);
  box-shadow: 0 40px 90px -55px rgba(34, 211, 238, .45);
}
.shot figcaption {
  margin-top: .85rem; padding-left: .85rem;
  border-left: 2px solid var(--accent-line);
  font-family: var(--font-mono); font-size: .74rem; line-height: 1.75;
  color: var(--muted);
}
.shot figcaption b { color: var(--text-2); font-weight: 600; }
@media (max-width: 700px) {
  .shot figcaption { font-size: .82rem; }
}

/* lang-router — переключатель языка в шапке */
.langsw {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--glass);
}
.langsw__i {
  display: block;
  padding: .28rem .6rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .08em;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
.langsw__i:hover { color: var(--text); }
.langsw__i:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.langsw__i.is-on { color: var(--bg); background: var(--accent); }
@media (max-width: 560px) { .langsw__i { padding: .26rem .48rem; font-size: .68rem; } }

/* --------- раскрытие партнёрства рядом с кнопкой --------- */

.cta-dis {
  margin-top: 1.1rem;
  max-width: 54ch;
  font-family: var(--font-mono);
  font-size: .74rem;
  line-height: 1.65;
  letter-spacing: .01em;
  color: var(--muted);
  border-left: 2px solid var(--accent-line);
  padding-left: .8rem;
  opacity: 0;
  animation: rise 900ms var(--ease) 640ms forwards;
}
.cta-dis a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
.cta-dis a:hover { color: var(--accent); }
.cta-dis--final { margin: 1.4rem auto 0; text-align: left; animation: none; opacity: 1; }

/* --------- сравнительная таблица сервисов --------- */

.cmp { margin-top: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); }
.cmp__h {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + .9vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.01em;
}
.cmp__lede { margin-top: .7rem; max-width: 72ch; color: var(--text-2); font-size: .95rem; line-height: 1.7; }
.cmp__lede b { color: var(--text); font-weight: 700; }

.cmp__scroll {
  margin-top: 1.6rem;
  overflow-x: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--glass), transparent 60%);
  -webkit-overflow-scrolling: touch;
}
.cmp__t { width: 100%; min-width: 780px; border-collapse: collapse; text-align: left; }
.cmp__t thead th {
  padding: 1rem 1.15rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
.cmp__t tbody th,
.cmp__t tbody td {
  padding: 1.15rem;
  vertical-align: top;
  font-size: .89rem;
  line-height: 1.6;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.cmp__t tbody tr:last-child th,
.cmp__t tbody tr:last-child td { border-bottom: 0; }
.cmp__t tbody th {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.cmp__t tbody tr { transition: background-color .22s ease; }
.cmp__t tbody tr:hover { background: rgba(255, 255, 255, .022); }
.cmp__t--own { background: var(--accent-soft); }
.cmp__t--own:hover { background: var(--accent-soft); }
.cmp__t--own th { color: var(--accent); }
.cmp__t--own td { color: var(--text); }

.cmp__src {
  margin-top: 1rem;
  max-width: 82ch;
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 1.7;
  color: var(--muted);
}
.cmp__src a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.cmp__src a:hover { color: var(--accent); text-decoration-color: var(--accent-line); }

@media (max-width: 720px) {
  .cmp__t { min-width: 680px; }
  .cmp__t thead th, .cmp__t tbody th, .cmp__t tbody td { padding: .85rem .9rem; }
}

/* --------- дата снятия цифр под счётчиками --------- */

.stats__asof {
  margin-top: -.4rem;
  margin-bottom: 1.9rem;
  max-width: 66ch;
  font-family: var(--font-mono);
  font-size: .7rem;
  line-height: 1.7;
  color: var(--muted);
}

/* разбивка длинной цитаты на абзацы */
.rv__text + .rv__text { margin-top: .8rem; }
