/* Deiv Studio — отдельный визуальный язык (не копия личного сайта) */
:root {
  --st-bg: #07080c;
  --st-bg-2: #0e1018;
  --st-ink: #f4f1ea;
  --st-mute: rgba(244, 241, 234, 0.62);
  --st-line: rgba(244, 241, 234, 0.1);
  --st-accent: #6ee7c5;
  --st-accent-2: #f0b45a;
  --st-danger: #ff6b4a;
  --st-radius: 22px;
  --st-font: "Manrope", system-ui, sans-serif;
  --st-display: "Bricolage Grotesque", "Syne", system-ui, sans-serif;
  --st-max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.st-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--st-font);
  color: var(--st-ink);
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(110, 231, 197, 0.12), transparent 55%),
    radial-gradient(700px 480px at 92% 8%, rgba(240, 180, 90, 0.1), transparent 50%),
    linear-gradient(180deg, var(--st-bg), #05060a 40%, var(--st-bg-2));
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.st-body a { color: inherit; }

.st-wrap {
  width: min(100% - 2rem, var(--st-max));
  margin-inline: auto;
}

/* Header */
.st-top {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 12, 0.72);
  border-bottom: 1px solid var(--st-line);
}

.st-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.st-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.st-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--st-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: -0.04em;
  color: #07120f;
  background: linear-gradient(135deg, var(--st-accent), #9af0d4);
  box-shadow: 0 0 0 1px rgba(110, 231, 197, 0.35), 0 10px 30px rgba(110, 231, 197, 0.2);
}

.st-logo__name {
  display: block;
  font-family: var(--st-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.st-logo__sub {
  display: block;
  font-size: 0.72rem;
  color: var(--st-mute);
}

.st-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.st-nav a {
  text-decoration: none;
  color: var(--st-mute);
  transition: color 0.2s ease;
}

.st-nav a:hover,
.st-nav a.is-active { color: var(--st-ink); }

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.st-btn:hover { transform: translateY(-2px); }

.st-btn--main {
  color: #04140f;
  background: #7ef0d0;
  box-shadow: 0 12px 36px rgba(110, 231, 197, 0.22);
  font-weight: 800;
  -webkit-font-smoothing: antialiased;
}

.st-btn--ghost {
  color: var(--st-ink);
  border-color: var(--st-line);
  background: rgba(255, 255, 255, 0.03);
}

.st-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--st-line);
  background: transparent;
  padding: 0;
}

.st-burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--st-ink);
}

.st-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 0 1rem;
}

.st-mobile.is-open { display: flex; }

.st-mobile a {
  text-decoration: none;
  font-weight: 600;
  color: var(--st-mute);
}

/* Hero — как на эскизе: текст слева, устройства справа */
.st-hero {
  padding: clamp(2.25rem, 6vw, 4.25rem) 0 0;
  position: relative;
}

.st-hero--split .st-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.st-hero__copy { max-width: 34rem; }

.st-hero__brand {
  margin: 0 0 0.55rem;
  font-family: var(--st-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  letter-spacing: -0.03em;
  color: var(--st-accent);
}

.st-hero h1 {
  margin: 0 0 0.95rem;
  font-family: var(--st-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.st-hero h1 em {
  font-style: normal;
  color: var(--st-accent-2);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.st-hero__lead {
  margin: 0 0 1.4rem;
  color: var(--st-mute);
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.55;
}

.st-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.st-hero__device {
  margin: 0;
  border-radius: calc(var(--st-radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--st-line);
  background: #08090e;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.st-hero__device img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* Trust strip */
.st-trust {
  padding: 1.75rem 0 0.25rem;
}

.st-trust__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.st-trust__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.st-trust__item {
  padding: 1.25rem 1.3rem;
  border-right: 1px solid var(--st-line);
  text-align: center;
}

.st-trust__item:last-child { border-right: 0; }

.st-trust__item strong {
  display: block;
  font-family: var(--st-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

.st-trust__accent { color: var(--st-accent-2) !important; }

.st-trust__item span {
  color: var(--st-mute);
  font-size: 0.88rem;
}

.st-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 197, 0.35);
  background: rgba(110, 231, 197, 0.08);
  color: var(--st-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.st-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st-accent);
  box-shadow: 0 0 12px var(--st-accent);
}

/* legacy single-stage hero */
.st-hero-stage {
  margin: 0;
  border-radius: calc(var(--st-radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--st-line);
  background: #0a0c12;
}

.st-hero-stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Sections */
.st-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.st-section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.st-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--st-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.st-section h2 {
  margin: 0 0 0.7rem;
  font-family: var(--st-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.st-section__lead {
  margin: 0;
  color: var(--st-mute);
  font-size: 1.02rem;
}

.st-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.st-service {
  position: relative;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: var(--st-radius);
  border: 1px solid var(--st-line);
  background:
    linear-gradient(160deg, rgba(110, 231, 197, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.st-service:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 231, 197, 0.4);
}

.st-service__n {
  font-family: var(--st-display);
  font-size: 0.85rem;
  color: var(--st-accent);
  font-weight: 700;
}

.st-service h3 {
  margin: 0.55rem 0 0.4rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.st-service p {
  margin: 0 0 1rem;
  color: var(--st-mute);
  font-size: 0.92rem;
}

.st-service__price {
  font-weight: 800;
  font-size: 1.05rem;
}

/* Process */
.st-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  counter-reset: ststep;
}

.st-step {
  padding: 1.2rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--st-line);
  background: rgba(255, 255, 255, 0.025);
  counter-increment: ststep;
}

.st-step::before {
  content: counter(ststep, decimal-leading-zero);
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--st-display);
  font-weight: 700;
  color: var(--st-accent-2);
  letter-spacing: -0.03em;
}

.st-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.st-step p {
  margin: 0;
  color: var(--st-mute);
  font-size: 0.9rem;
}

/* Cases — ровная сетка 3 колонки, как у KODE / AppFox */
.st-cases-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.st-case-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(110, 231, 197, 0.28);
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(94, 234, 212, 0.12), transparent 55%),
    linear-gradient(145deg, #12141c 0%, #0a0c12 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.st-case-feature__media {
  position: relative;
  min-height: 280px;
  background: #07080c;
}

.st-case-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.st-case-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.st-case-feature__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #042f2e;
  background: var(--st-accent);
}

.st-case-feature__body h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.st-case-feature__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  max-width: 36ch;
}

.st-case-feature__points {
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.st-case-feature__points li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.st-case-feature__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--st-accent);
}

.st-case-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.55rem;
}

.st-cases-label {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.st-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .st-case-feature {
    grid-template-columns: 1fr;
  }
  .st-case-feature__media {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }
}

.st-case-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--st-radius);
  overflow: hidden;
  border: 1px solid var(--st-line);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.st-case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 231, 197, 0.4);
}

.st-case-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0c12;
}

.st-case-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.st-case-card:hover .st-case-card__media img { transform: scale(1.03); }

.st-case-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.st-case-card__tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-accent);
}

.st-case-card__body strong {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.st-case-card__link {
  margin-top: auto;
  padding-top: 0.55rem;
  color: var(--st-accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.st-section__more {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* legacy case mosaic (другие страницы) */
.st-cases {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.9rem;
}

.st-case {
  position: relative;
  display: block;
  border-radius: var(--st-radius);
  overflow: hidden;
  border: 1px solid var(--st-line);
  text-decoration: none;
  min-height: 280px;
}

.st-case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}

.st-case__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.15rem;
  background: linear-gradient(transparent, rgba(5, 6, 10, 0.92));
}

.st-cases__side {
  display: grid;
  gap: 0.9rem;
}

/* Team constellation */
.st-team-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.st-role {
  padding: 1rem 0.9rem;
  border-radius: 16px;
  border: 1px solid var(--st-line);
  background: rgba(255, 255, 255, 0.03);
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.st-role:hover {
  border-color: rgba(110, 231, 197, 0.4);
  background: rgba(110, 231, 197, 0.06);
}

.st-role strong {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.st-role span {
  color: var(--st-mute);
  font-size: 0.78rem;
  line-height: 1.35;
}

.st-role--wide { grid-column: span 2; }

/* Trust / reviews */
.st-band {
  padding: 1.5rem;
  border-radius: calc(var(--st-radius) + 4px);
  border: 1px solid rgba(110, 231, 197, 0.28);
  background:
    radial-gradient(circle at 20% 0%, rgba(110, 231, 197, 0.14), transparent 45%),
    rgba(255, 255, 255, 0.03);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.st-band p {
  margin: 0;
  max-width: 38rem;
  color: var(--st-mute);
}

.st-band strong { color: var(--st-ink); }

.st-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.st-review {
  padding: 1.2rem 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--st-line);
  background: rgba(255, 255, 255, 0.03);
}

.st-review__stars {
  color: var(--st-accent-2);
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
}

.st-review p {
  margin: 0 0 1rem;
  color: var(--st-mute);
  font-size: 0.92rem;
}

.st-review footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
}

.st-review footer span { color: var(--st-mute); }

/* Prices strip */
.st-prices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.st-price {
  padding: 1.15rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--st-line);
  background: rgba(255, 255, 255, 0.03);
}

.st-price span {
  display: block;
  color: var(--st-mute);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.st-price strong {
  font-family: var(--st-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

/* Footer */
.st-foot {
  border-top: 1px solid var(--st-line);
  padding: 2rem 0 2.5rem;
  margin-top: 1rem;
}

.st-foot__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--st-mute);
  font-size: 0.88rem;
}

.st-foot a { color: var(--st-ink); text-decoration: none; font-weight: 600; }

/* Reveal */
.st-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.st-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .st-nav { display: none; }
  .st-burger { display: inline-block; }
  .st-hero--split .st-hero__grid,
  .st-cases,
  .st-cases-grid,
  .st-services,
  .st-process,
  .st-reviews,
  .st-prices,
  .st-trust__row,
  .st-trust__row--3 { grid-template-columns: 1fr 1fr; }
  .st-hero--split .st-hero__grid { grid-template-columns: 1fr; }
  .st-trust__item:nth-child(2n) { border-right: 0; }
  .st-trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--st-line); }
  .st-trust__row--3 .st-trust__item:nth-child(2) { border-right: 1px solid var(--st-line); }
  .st-trust__row--3 .st-trust__item:nth-child(3) {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }
  .st-team-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-role--wide { grid-column: span 1; }
}

@media (max-width: 640px) {
  .st-services,
  .st-process,
  .st-cases,
  .st-cases-grid,
  .st-reviews,
  .st-prices,
  .st-trust__row,
  .st-trust__row--3,
  .st-team-board { grid-template-columns: 1fr; }
  .st-trust__item,
  .st-trust__row--3 .st-trust__item:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--st-line);
    grid-column: auto;
  }
  .st-trust__item:last-child { border-bottom: 0; }
  .st-cases__side .st-case,
  .st-case { min-height: 220px; }
  .st-cases__side .st-case img,
  .st-case img { min-height: 220px; }
}
/* ===== Page themes: один язык Deiv Studio, разный характер ===== */

.st-page-hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 1.25rem;
  position: relative;
}

.st-page-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.st-page-hero__visual {
  margin: 0;
  border-radius: var(--st-radius);
  overflow: hidden;
  border: 1px solid var(--st-line);
  background: #08090e;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

.st-page-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.st-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.st-chips li {
  padding: .4rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--st-line);
  background: rgba(255,255,255,.03);
  font-size: .82rem;
  font-weight: 700;
  color: var(--st-mute);
}

.st-tier {
  display: grid;
  gap: .85rem;
}

.st-tier-card {
  padding: 1.25rem 1.2rem;
  border-radius: var(--st-radius);
  border: 1px solid var(--st-line);
  background: rgba(255,255,255,.025);
}

.st-tier-card strong {
  display: block;
  font-family: var(--st-display);
  font-size: 1.35rem;
  margin: .35rem 0 .5rem;
}

.st-tier-card span.tag {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--st-accent);
}

.st-tier-card p { margin: 0; color: var(--st-mute); font-size: .92rem; }

.st-msg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .85rem;
}

.st-msg {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.2rem 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--st-line);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}

.st-msg:hover { transform: translateY(-2px); border-color: rgba(110,231,197,.45); }
.st-msg strong { font-size: 1.05rem; }
.st-msg span { color: var(--st-mute); font-size: .88rem; }

.st-ledger {
  display: grid;
  gap: 0;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  overflow: hidden;
}

.st-ledger__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--st-line);
  background: rgba(255,255,255,.02);
}

.st-ledger__row:last-child { border-bottom: 0; }
.st-ledger__n {
  font-family: var(--st-display);
  color: var(--st-accent);
  font-weight: 800;
  font-size: .95rem;
}
.st-ledger__row strong {
  font-family: var(--st-display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  color: var(--st-accent-2);
  letter-spacing: -.03em;
}
.st-ledger__row a { color: var(--st-mute); text-decoration: none; font-weight: 600; }
.st-ledger__row a:hover { color: var(--st-ink); }

.st-bubble-list {
  display: grid;
  gap: .75rem;
  max-width: 36rem;
}
.st-bubble {
  padding: .95rem 1.1rem;
  border-radius: 18px 18px 18px 6px;
  background: rgba(110,231,197,.1);
  border: 1px solid rgba(110,231,197,.22);
  color: var(--st-ink);
  font-size: .95rem;
}
.st-bubble--out {
  margin-left: 2rem;
  border-radius: 18px 18px 6px 18px;
  background: rgba(240,180,90,.1);
  border-color: rgba(240,180,90,.25);
}

.st-quiz-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: .7rem;
}
.st-quiz-step {
  padding: 1.1rem 1rem;
  border-radius: 16px;
  border: 1px dashed rgba(240,180,90,.45);
  background: rgba(240,180,90,.06);
  position: relative;
}
.st-quiz-step b {
  display: block;
  font-family: var(--st-display);
  color: var(--st-accent-2);
  margin-bottom: .4rem;
}

.st-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .85rem;
}
.st-shop-item {
  border-radius: 16px;
  border: 1px solid var(--st-line);
  overflow: hidden;
  background: rgba(255,255,255,.03);
}
.st-shop-item__img {
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, rgba(110,231,197,.15), transparent 50%),
    #12141c;
}
.st-shop-item__body { padding: .9rem 1rem 1.05rem; }
.st-shop-item__body strong { display: block; margin-bottom: .25rem; }
.st-shop-item__body span { color: var(--st-accent-2); font-weight: 800; }

.st-site-wire {
  display: grid;
  gap: .65rem;
  padding: 1rem;
  border-radius: var(--st-radius);
  border: 1px solid var(--st-line);
  background: rgba(255,255,255,.02);
}
.st-site-wire__bar {
  height: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
}
.st-site-wire__hero {
  height: 120px;
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(110,231,197,.2), rgba(240,180,90,.12));
}
.st-site-wire__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .55rem;
}
.st-site-wire__cols span {
  display: block;
  height: 64px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
}

/* Theme atmospheres */
body.st-theme-games {
  --st-accent: #f0b45a;
  --st-accent-2: #6ee7c5;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(240,180,90,.16), transparent 55%),
    radial-gradient(700px 480px at 8% 12%, rgba(255,107,74,.08), transparent 50%),
    linear-gradient(180deg, #07080c, #0a0908 45%, #0e1018);
}
body.st-theme-games .st-logo__mark {
  background: linear-gradient(135deg, #f0b45a, #ffd89a);
  color: #1a1206;
}
body.st-theme-games .st-chips li {
  border-color: rgba(240,180,90,.35);
  color: #f7d9a6;
}

body.st-theme-apps {
  --st-accent: #6ee7c5;
  --st-accent-2: #7dd3fc;
  background:
    radial-gradient(800px 500px at 10% -10%, rgba(110,231,197,.14), transparent 55%),
    radial-gradient(600px 420px at 95% 5%, rgba(125,211,252,.1), transparent 50%),
    linear-gradient(180deg, #07080c, #05060a 40%, #0e1018);
}
body.st-theme-apps .st-page-hero__visual {
  border-radius: 28px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
body.st-theme-apps .st-page-hero__visual img { aspect-ratio: 9/16; }

/* Premium apps landing */
.st-apps-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.st-apps-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.st-apps-hero h1 {
  margin: 0.55rem 0 0.9rem;
  font-family: var(--st-display);
  font-size: clamp(2.15rem, 5vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.st-apps-hero h1 em {
  font-style: italic;
  color: var(--st-accent);
  font-weight: 700;
}
.st-apps-hero__cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.st-apps-hero__note {
  margin: 1rem 0 0;
  color: var(--st-mute);
  font-size: 0.92rem;
}
.st-apps-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}
.st-phone {
  position: relative;
  width: min(100%, 320px);
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(110, 231, 197, 0.28);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 60px rgba(110, 231, 197, 0.12);
  background: #0a0c12;
}
.st-phone__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 55%;
  background: radial-gradient(circle at 50% 0%, rgba(110, 231, 197, 0.35), transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.st-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  position: relative;
  z-index: 2;
}
.st-apps-who {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.st-apps-who__card {
  padding: 1.25rem 1.2rem;
  border-radius: var(--st-radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--st-line);
}
.st-apps-who__card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--st-display);
  font-size: 1.15rem;
}
.st-apps-who__card p {
  margin: 0;
  color: var(--st-mute);
  font-size: 0.95rem;
}
.st-tier--apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.st-tier-card.is-featured {
  border-color: rgba(110, 231, 197, 0.45);
  background:
    radial-gradient(circle at 50% 0%, rgba(110, 231, 197, 0.14), transparent 60%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.st-band--apps {
  border-color: rgba(110, 231, 197, 0.25);
}
@media (max-width: 900px) {
  .st-apps-hero__grid {
    grid-template-columns: 1fr;
  }
  .st-apps-hero__visual { order: -1; }
  .st-phone { width: min(100%, 260px); }
  .st-apps-who,
  .st-tier--apps {
    grid-template-columns: 1fr;
  }
}

body.st-theme-sites {
  --st-accent: #a7f3d0;
  --st-accent-2: #f0b45a;
  background:
    radial-gradient(700px 400px at 50% -20%, rgba(167,243,208,.1), transparent 60%),
    linear-gradient(180deg, #080a0e, #0b0d12 50%, #0e1018);
}
body.st-theme-sites .st-page-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  letter-spacing: -.04em;
}

body.st-theme-shop {
  --st-accent: #6ee7c5;
  --st-accent-2: #fb923c;
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(251,146,60,.12), transparent 55%),
    linear-gradient(180deg, #07080c, #0c0a08 40%, #0e1018);
}

body.st-theme-bots {
  --st-accent: #6ee7c5;
  --st-accent-2: #93c5fd;
  background:
    radial-gradient(600px 400px at 15% 0%, rgba(147,197,253,.12), transparent 55%),
    linear-gradient(180deg, #07080c, #080a10 45%, #0e1018);
}

body.st-theme-quiz {
  --st-accent: #f0b45a;
  --st-accent-2: #f472b6;
  background:
    radial-gradient(700px 450px at 80% -5%, rgba(244,114,182,.1), transparent 55%),
    radial-gradient(500px 350px at 10% 10%, rgba(240,180,90,.1), transparent 50%),
    linear-gradient(180deg, #09070c, #0c0a10 45%, #0e1018);
}

body.st-theme-team {
  --st-accent: #6ee7c5;
  --st-accent-2: #c4b5fd;
  background:
    radial-gradient(900px 500px at 50% -15%, rgba(196,181,253,.1), transparent 55%),
    linear-gradient(180deg, #07080c, #090a12 40%, #0e1018);
}
body.st-theme-team .st-team-board .st-role:nth-child(3n) { border-color: rgba(196,181,253,.28); }
body.st-theme-team .st-team-board .st-role:nth-child(3n+1) { border-color: rgba(110,231,197,.28); }
body.st-theme-team .st-team-board .st-role:nth-child(3n+2) { border-color: rgba(240,180,90,.25); }

body.st-theme-prices {
  --st-accent: #f0b45a;
  --st-accent-2: #6ee7c5;
  background:
    radial-gradient(800px 480px at 20% -10%, rgba(240,180,90,.12), transparent 55%),
    linear-gradient(180deg, #08070a, #0a090c 40%, #0e1018);
}

body.st-theme-cases {
  --st-accent: #6ee7c5;
  --st-accent-2: #f0b45a;
  background:
    radial-gradient(900px 500px at 70% -10%, rgba(110,231,197,.1), transparent 55%),
    linear-gradient(180deg, #07080c, #05060a 40%, #0e1018);
}

body.st-theme-contacts {
  --st-accent: #6ee7c5;
  --st-accent-2: #f0b45a;
  background:
    radial-gradient(700px 420px at 50% 0%, rgba(110,231,197,.12), transparent 55%),
    linear-gradient(180deg, #07080c, #05060a 40%, #0e1018);
}

.st-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.st-filter a {
  padding: .45rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--st-line);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
  color: var(--st-mute);
}
.st-filter a.is-on,
.st-filter a:hover {
  color: #06140f;
  background: var(--st-accent);
  border-color: transparent;
}

@media (max-width: 980px) {
  .st-page-hero__row,
  .st-quiz-steps,
  .st-shop-grid,
  .st-msg-grid { grid-template-columns: 1fr 1fr; }
  .st-page-hero__row { grid-template-columns: 1fr; }
  .st-theme-apps .st-page-hero__visual { max-width: 260px; }
}
@media (max-width: 640px) {
  .st-quiz-steps,
  .st-shop-grid,
  .st-msg-grid,
  .st-ledger__row { grid-template-columns: 1fr; }
  .st-bubble--out { margin-left: 0; }
}

/* ===== Home = превью 1 в 1 (site-preview.png) ===== */
body.st-home {
  --st-display: "Manrope", system-ui, sans-serif;
  --st-font: "Manrope", system-ui, sans-serif;
  --st-radius: 18px;
  --st-max: 1240px;
  --st-accent: #5eead4;
  --st-accent-2: #f0b429;
  background:
    radial-gradient(780px 460px at 14% 8%, rgba(94, 234, 212, 0.16), transparent 58%),
    radial-gradient(620px 400px at 88% 22%, rgba(94, 234, 212, 0.09), transparent 55%),
    #0a0a0a;
}

body.st-home .st-top {
  background: rgba(10, 10, 10, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.st-home .st-btn--main,
body.st-home .st-btn--glow,
body.st-home a.st-btn--main {
  color: #02140e !important;
  background: #95f8de !important;
  background-image: none !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  text-shadow: none !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 40px rgba(94, 234, 212, 0.34);
}

body.st-home .st-btn--mint {
  border-color: rgba(94, 234, 212, 0.65);
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
}

body.st-home .st-btn--mint:hover {
  border-color: var(--st-accent);
  background: rgba(94, 234, 212, 0.1);
}

/* ===== Home hero: coded layout + product art (NO site mockup screenshot) ===== */
.st-hero--live {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 86vh, 820px);
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.st-hero--live .st-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.st-hero--live .st-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 42%;
  display: block;
  transform: scale(1.06);
  animation: stHeroDrift 28s ease-in-out infinite alternate;
  filter: brightness(1.12) contrast(1.08) saturate(1.05);
}

@keyframes stHeroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -0.8%, 0); }
}

.st-hero--live .st-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 72% 40%, rgba(240, 180, 90, 0.22), transparent 65%),
    radial-gradient(ellipse 50% 45% at 20% 75%, rgba(110, 231, 197, 0.14), transparent 70%);
  mix-blend-mode: screen;
}

.st-hero--live .st-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 6, 10, 0.94) 0%, rgba(5, 6, 10, 0.78) 28%, rgba(5, 6, 10, 0.28) 52%, rgba(5, 6, 10, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.45) 0%, transparent 18%, transparent 58%, rgba(5, 6, 10, 0.88) 100%);
}

.st-hero--live .st-hero__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 34rem) 1fr;
  align-items: end;
}

.st-hero--live .st-hero__copy {
  max-width: 34rem;
  animation: stHeroIn 0.85s ease both;
}

@keyframes stHeroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.st-hero--live .st-hero__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(110, 231, 197, 0.85);
}

.st-hero--live .st-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--st-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8.5vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: var(--st-accent);
  text-shadow: 0 0 80px rgba(94, 234, 212, 0.35);
}

.st-hero--live .st-hero__sub {
  margin: 0 0 1.15rem;
  font-family: var(--st-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 18ch;
}

.st-hero--live .st-hero__sub-mint { color: var(--st-accent); }

.st-hero--live .st-hero__sub em {
  font-style: normal;
  color: var(--st-accent-2);
}

.st-hero--live .st-hero__lead {
  margin: 0 0 1.7rem;
  max-width: 32rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.st-hero--live .st-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 980px) {
  .st-hero--live {
    min-height: clamp(520px, 78vh, 700px);
    align-items: center;
  }
  .st-hero--live .st-hero__grid {
    grid-template-columns: 1fr;
  }
  .st-hero--live .st-hero__bg img {
    object-position: 70% 35%;
  }
  .st-hero--live .st-hero__veil {
    background:
      linear-gradient(180deg, rgba(5, 6, 10, 0.62) 0%, rgba(5, 6, 10, 0.42) 38%, rgba(5, 6, 10, 0.82) 100%),
      linear-gradient(90deg, rgba(5, 6, 10, 0.7) 0%, transparent 75%);
  }
  .st-hero--live .st-hero__sub {
    max-width: none;
  }
}

/* legacy scene removed — do not reintroduce screenshot backgrounds */

.st-hero--preview {
  padding: clamp(2.75rem, 7vw, 5.25rem) 0 0.35rem;
}

.st-hero--preview .st-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  align-items: center;
}

.st-hero--preview .st-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--st-display);
  font-weight: 800;
  font-size: clamp(3.1rem, 8.2vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--st-accent);
  text-shadow: 0 0 70px rgba(94, 234, 212, 0.4);
}

.st-hero--preview .st-hero__sub {
  margin: 0 0 1.1rem;
  font-family: var(--st-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 22ch;
}

.st-hero--preview .st-hero__sub-mint {
  color: var(--st-accent);
}

.st-hero--preview .st-hero__sub em {
  font-style: normal;
  color: var(--st-accent-2);
}

.st-hero--preview .st-hero__lead {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.st-hero--preview .st-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.st-hero--preview .st-hero__device {
  position: relative;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  justify-self: end;
  width: min(100%, 640px);
}

.st-hero--preview .st-hero__device::before {
  content: "";
  position: absolute;
  inset: 12% 4% 8% 8%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.28), transparent 68%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}

.st-hero--preview .st-hero__device img {
  position: relative;
  z-index: 1;
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.65));
}

.st-trust--preview {
  padding: 1.75rem 0 0.15rem;
}

.st-trust--preview .st-trust__bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.st-trust--preview .st-trust__cell {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 1.15rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.st-trust--preview .st-trust__cell:last-child { border-right: 0; }

.st-trust--preview .st-trust__cell strong {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.st-trust--preview .st-trust__accent {
  color: var(--st-accent-2) !important;
}

.st-trust--preview .st-trust__star {
  color: var(--st-accent-2);
  font-size: 0.95em;
}

.st-section--cases-preview {
  padding: 1.75rem 0 2.5rem;
}

.st-cases-grid--preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.st-case-card.st-case-card--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  flex-direction: unset;
  min-height: 210px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #111113;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.st-case-card--split:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.st-case-card--split .st-case-card__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.15rem 1.1rem 1.25rem 1.25rem;
  min-width: 0;
}

.st-case-card--split .st-case-card__tag {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--st-accent);
}

.st-case-card--split .st-case-card__text strong {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.st-case-card--split .st-case-card__text p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.st-case-card--split .st-case-card__link {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--st-accent);
}

.st-case-card--split .st-case-card__media {
  position: relative;
  min-height: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  background: #0a0a0a;
}

.st-case-card--split .st-case-card__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: linear-gradient(90deg, #111113, transparent);
  z-index: 1;
  pointer-events: none;
}

.st-case-card--split .st-case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.st-case-card--split:hover .st-case-card__media img {
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  .st-cases-grid--preview {
    grid-template-columns: 1fr;
  }
  .st-case-card--split {
    min-height: 180px;
  }
}

@media (max-width: 980px) {
  .st-hero--preview .st-hero__grid {
    grid-template-columns: 1fr;
  }
  .st-hero--preview .st-hero__title {
    font-size: clamp(2.7rem, 12vw, 3.8rem);
  }
  .st-hero--preview .st-hero__sub {
    max-width: none;
  }
  .st-hero--preview .st-hero__device {
    justify-self: center;
    width: min(100%, 520px);
  }
  .st-trust--preview .st-trust__bar {
    grid-template-columns: 1fr;
  }
  .st-trust--preview .st-trust__cell {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-start;
  }
  .st-trust--preview .st-trust__cell:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .st-case-card--split {
    grid-template-columns: 1fr;
  }
  .st-case-card--split .st-case-card__media {
    min-height: 160px;
    order: -1;
  }
  .st-case-card--split .st-case-card__media::before {
    inset: auto 0 0 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(0deg, #111113, transparent);
  }
}

/* ===== Бот-помощник (чат справа) ===== */
.st-consult { position: relative; z-index: 80; }

.st-consult__fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 81;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.15rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: .92rem;
  color: #06140f;
  background: linear-gradient(120deg, var(--st-accent), #a7f3d0);
  box-shadow: 0 14px 40px rgba(110, 231, 197, .28);
  transition: transform .18s ease, opacity .18s ease;
}
.st-consult__fab:hover { transform: translateY(-2px); }
.st-consult__fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }

.st-consult__panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 82;
  width: min(100vw, 400px);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #0c0d12;
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -20px 0 60px rgba(0,0,0,.45);
  transform: translateX(105%);
  transition: transform .28s ease;
}
.st-consult__panel.is-open { transform: translateX(0); }

.st-consult__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1rem .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.st-consult__who {
  display: flex;
  gap: .7rem;
  align-items: center;
}
.st-consult__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(110,231,197,.12);
  border: 1px solid rgba(110,231,197,.35);
  font-size: 1.2rem;
}
.st-consult__who strong {
  display: block;
  font-size: .95rem;
  letter-spacing: -.02em;
}
.st-consult__who span {
  display: block;
  font-size: .75rem;
  color: var(--st-mute);
}
.st-consult__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: var(--st-ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.st-consult__disclaimer {
  margin: 0;
  padding: .65rem .95rem;
  font-size: .72rem;
  line-height: 1.4;
  color: rgba(244,241,234,.55);
  background: rgba(240,180,90,.06);
  border-bottom: 1px solid rgba(240,180,90,.18);
}
.st-consult__disclaimer b { color: var(--st-accent-2); font-weight: 700; }

.st-consult__msgs {
  flex: 1;
  overflow: auto;
  padding: 1rem .9rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.st-consult__msg { display: flex; }
.st-consult__msg--bot { justify-content: flex-start; }
.st-consult__msg--user { justify-content: flex-end; }

.st-consult__bubble {
  max-width: 92%;
  padding: .7rem .85rem .8rem;
  border-radius: 14px;
  font-size: .9rem;
  line-height: 1.45;
}
.st-consult__msg--bot .st-consult__bubble {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-bottom-left-radius: 5px;
}
.st-consult__msg--user .st-consult__bubble {
  background: rgba(110,231,197,.14);
  border: 1px solid rgba(110,231,197,.28);
  border-bottom-right-radius: 5px;
}
.st-consult__label {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .3rem;
  color: #7dd3c0;
}
.st-consult__msg--bot .st-consult__label {
  color: #5eead4;
}
.st-consult__msg--bot .st-consult__bubble {
  background: rgba(14, 30, 28, .92);
  border: 1px dashed rgba(94, 234, 212, .35);
  border-bottom-left-radius: 5px;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  font-size: .9rem;
  line-height: 1.45;
}
.st-consult__msg--user .st-consult__label { color: rgba(244,241,234,.55); text-align: right; }

.st-consult__chips {
  display: none !important;
}
.st-consult__chip {
  display: none !important;
}

.st-consult__form {
  display: flex;
  gap: .5rem;
  padding: .75rem .85rem 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
}
.st-consult__form input {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--st-ink);
  padding: .75rem .85rem;
  font: inherit;
  font-size: .92rem;
}
.st-consult__form input:focus {
  outline: none;
  border-color: rgba(110,231,197,.45);
}
.st-consult__send {
  width: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--st-accent);
  color: #06140f;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 480px) {
  .st-consult__fab span:last-child { display: none; }
  .st-consult__panel { width: 100vw; }
}
