/* Studio layout: кадр собран, эффекты только внутри блоков */

body::before {
  content: none;
  display: none !important;
}

.brand {
  font-size: 0.95rem;
  letter-spacing: -0.03em;
}

.cta-band .btn--light {
  background: #2f6fed;
  color: #fff;
  border-radius: 999px;
  border-color: transparent;
  box-shadow: none;
}

.hero {
  position: relative;
  padding: 28px 0 12px;
  overflow: hidden;
  background: none;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(130, 176, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 176, 255, 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-pan 14s linear infinite;
  mask-image: radial-gradient(ellipse at 68% 42%, #000 10%, transparent 68%);
}

.hero::after {
  content: none;
  display: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
}

@keyframes grid-pan {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  min-height: 0;
  max-height: none;
}

.hero-pile {
  position: relative;
  height: 480px;
}

.pile {
  position: absolute;
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.pile--back {
  z-index: 1;
  top: 0;
  left: 0;
  width: 42%;
}

.pile--ghost {
  z-index: 0;
  left: 0;
  top: 168px;
  width: 58%;
  opacity: 0.5;
}

.pile--front {
  z-index: 2;
  top: 36px;
  right: 0;
  width: 74%;
}

.section--tight {
  padding-top: 8px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--page-accent, var(--card-accent, #2e7dd2));
}

.eyebrow--accent::before {
  width: 42px;
  height: 3px;
  margin-right: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--card-accent, var(--page-accent, #2e7dd2)), transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--card-accent, var(--page-accent, #2e7dd2)) 70%, transparent);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.chips a {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d5dbe6;
  font-weight: 700;
  font-size: 0.92rem;
}

.orbit-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.orbit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 96px;
  padding: 16px 16px 16px 18px;
  overflow: hidden;
  border-radius: 18px;
  background: #10151f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7f8fb;
}

.orbit span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.orbit em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--card-accent);
}

.orbit strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.orbit i {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fff 0%, var(--card-accent) 42%, rgba(0, 0, 0, 0.2) 72%);
  box-shadow:
    0 0 12px var(--card-accent),
    0 0 28px color-mix(in srgb, var(--card-accent) 70%, transparent);
}

.eyebrow {
  margin: 0 0 18px;
  color: #9eb0cc;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 5.4vw, 5.1rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: #f7f8fb;
}

.lead {
  margin: 22px 0 0;
  max-width: 38ch;
  color: #a7b0c2;
  font-size: 1.12rem;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.hero .btn--ghost {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f7f8fb;
  background: transparent;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 40px 0 0;
  padding: 0;
  max-width: 460px;
}

.stats div {
  margin: 0;
}

.stats dt {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  color: #fff;
}

.stats dd {
  margin: 4px 0 0;
  color: #8d97aa;
  font-size: 0.88rem;
}

.stage {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  background: #07090f;
}

.stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 16s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.device {
  overflow: hidden;
  border-radius: 28px;
  padding: 18px;
  background:
    radial-gradient(520px 240px at 80% 0%, rgba(110, 168, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #171b26, #0c0f16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.device--on {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 12px;
  border-radius: 20px;
  background: rgba(8, 10, 16, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.device--on .device__top,
.device--on .device__chart,
.device--on .device__note {
  display: none;
}

.billboard {
  position: relative;
  overflow: hidden;
  height: 280px;
  margin: 8px 0 0;
}

.billboard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.billboard__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 8vw 32px;
  background: linear-gradient(90deg, rgba(5, 7, 12, 0.82) 0%, rgba(5, 7, 12, 0.15) 70%);
}

.billboard__copy p {
  margin: 0 0 8px;
  color: #9ec4ff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}

.billboard__copy h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #fff;
}

.device__top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8d97aa;
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.device__top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a3142;
}

.device__top span:first-child { background: #d6dde8; }
.device__top em { margin-left: auto; font-style: normal; }

.device__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.device__metrics div {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.device__metrics small {
  display: block;
  color: #8d97aa;
  font-size: 0.75rem;
}

.device__metrics b {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.device__metrics i {
  color: #8fd0a8;
  font-style: normal;
  font-size: 0.78rem;
}

.device__chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.25);
}

.device__chart span {
  flex: 1;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #d7e6ff, #6ea8ff);
}

.device__note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.device__note b { font-size: 0.98rem; }
.device__note span { color: #8d97aa; font-size: 0.85rem; }

.block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.block-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.045em;
  color: #f7f8fb;
}

.block-head a {
  color: #c5d0e4;
  font-weight: 700;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 0;
  border-radius: 22px;
  background: #10131a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7f8fb;
}

.tile--lead {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 520px;
}

.tile__media,
.tile__shade {
  position: absolute;
  inset: 0;
}

.tile__media img,
.case__media img,
.slide__art img,
.cover-hero img,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.tile:hover .tile__media img,
.case:hover .case__media img,
.slide:hover .slide__art img {
  transform: scale(1.07);
}

.tile__shade {
  background: linear-gradient(180deg, rgba(6, 7, 11, 0.05) 18%, rgba(6, 7, 11, 0.88) 100%);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.22) 48%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
  z-index: 2;
}

.tile:hover::after {
  animation: sheen 0.85s ease;
}

@keyframes sheen {
  to { transform: translateX(130%); }
}

.tile__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 22px;
  justify-content: flex-end;
}

.tile__kicker {
  position: relative;
  color: var(--card-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.tile strong {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 16ch;
}

.tile--lead strong {
  font-size: clamp(2rem, 3vw, 2.8rem);
  max-width: 12ch;
}

.tile__sub {
  position: relative;
  color: #93a0b5;
  max-width: 36ch;
}

.tile__foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  font-weight: 800;
}

.tile__foot i {
  font-style: normal;
  font-weight: 600;
  color: #93a0b5;
}

.tile:hover {
  border-color: color-mix(in srgb, var(--card-accent) 55%, transparent);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: #10131a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7f8fb;
  font-weight: 700;
}

.pill img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.section {
  padding: 72px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  background: #10131a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.step__n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f6fb;
  color: #090b10;
  font-family: var(--font-body);
}

.cta-band {
  background: #10131a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.svc-grid {
  align-items: stretch;
}

.svc-grid .slide.is-hidden {
  display: none;
}

.svc-grid .slide,
.carousel .case {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0;
  border-radius: 18px;
  background: #121722;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none;
  color: #f7f8fb;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.svc-grid .slide:hover,
.carousel .case:hover {
  z-index: 3;
  transform: translateY(-6px);
  border-color: var(--card-accent);
  box-shadow:
    0 0 0 1px var(--card-accent),
    0 14px 36px color-mix(in srgb, var(--card-accent) 42%, transparent);
}

.slide__art {
  position: relative;
  display: block;
  height: auto;
  overflow: hidden;
  border-radius: 17px 17px 0 0;
  background: #0b0e14;
}

.case__media {
  position: relative;
  display: block;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 17px 17px 0 0;
  background: #0b0e14;
}

.slide__art img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
}

.case__media img,
.frame img,
.cover-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}

.case:hover .case__media img {
  transform: scale(1.08);
}

.slide__art::after,
.case__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.28) 48%, transparent 64%);
  transform: translateX(-130%);
  pointer-events: none;
}

.slide:hover .slide__art::after,
.case:hover .case__media::after {
  animation: sheen 0.8s ease;
}

.slide__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 16px 16px 18px;
}

.slide__meta strong,
.link-card strong,
.story-proof strong {
  font-size: clamp(0.98rem, 1.6vw, 1.18rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.slide__sub {
  overflow-wrap: anywhere;
}

.slide__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
  border-top: 0;
}

.slide__price b {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--card-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
}

.cover-hero {
  width: min(1120px, calc(100% - 48px));
  margin: 18px auto 0;
  height: auto;
  overflow: hidden;
  border-radius: 28px;
  background: #0b0e14;
}

.cover-hero img {
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center top;
  background: #0b0e14;
}

.svc-grid .slide,
.link-card,
.story-proof {
  overflow: hidden;
  min-width: 0;
}

.svc-grid .slide__art img,
.link-card__art img,
.story-proof__art img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
}

.case-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: 20px;
}

.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.case__body {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.case__body h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.case__body p {
  margin: 0;
  color: #93a0b5;
}

.case__body b {
  color: #f7f8fb;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero__grid,
  .bento,
  .steps,
  .orbit-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero__grid {
    max-height: none;
    min-height: 0;
  }

  .tile--lead {
    grid-column: span 2;
    grid-row: auto;
    min-height: 280px;
  }
}

@media (max-width: 720px) {
  .bento,
  .steps,
  .stats,
  .orbit-row,
  .device__metrics {
    grid-template-columns: 1fr;
  }

  .hero-pile {
    height: 340px;
  }

  body::before {
    display: none !important;
  }

  .tile--lead {
    grid-column: auto;
  }

  .hero h1 {
    font-size: 2.6rem;
  }
}

.crumbs {
  padding: 18px 0 0;
}

.crumbs .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #8ea0bb;
  font-size: 0.88rem;
  font-weight: 650;
}

.crumbs a {
  color: #c5d2e6;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs__sep {
  opacity: 0.55;
}

.crumbs [aria-current="page"] {
  color: #fff;
}

.story {
  padding: 18px 0 12px;
}

.story__hero {
  margin: 0 0 28px;
  height: auto;
  border-radius: 28px;
  overflow: hidden;
  background: #0b0e14;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.story__hero img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
}

.story__head h1 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: #fff;
}

.story__lead {
  margin: 0 0 18px;
  max-width: 62ch;
  color: #b7c4d8;
  font-size: 1.12rem;
}

.story-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 180px));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-facts li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(12, 18, 32, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-facts b {
  display: block;
  color: #fff;
  font-size: 1.15rem;
}

.story-facts span {
  color: #8ea0bb;
  font-size: 0.82rem;
}

.story__body {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.story-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 18px;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(12, 18, 32, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-block__n {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--card-accent, #3ec6ff);
}

.story-block h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.story-block p,
.story__prose,
.story__prose p {
  margin: 0 0 14px;
  max-width: 72ch;
  color: #c5d0e2;
  font-size: 1.05rem;
  line-height: 1.55;
}

.story-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-points li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #e8eef8;
}

.story-points li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--card-accent, #3ec6ff);
}

.story-proofs {
  margin-top: 28px;
}

.story-proofs > h2,
.quiz > h2,
.story__end h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-display);
}

.story-proofs__grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-proof,
.link-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 18px;
  background: #121722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7f8fb;
}

.story-proof__art,
.link-card__art {
  position: relative;
  display: block;
  height: auto;
  overflow: hidden;
  background: #0b0e14;
}

.case-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b0e14;
}

.story-proof__body,
.link-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.story-proof strong,
.link-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.story-proof__body span,
.link-card__body span {
  color: #b7c4d8;
}

.quiz {
  margin-top: 28px;
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--card-accent, #2e7dd2) 28%, transparent), transparent 42%),
    rgba(12, 18, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz__q {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 750;
}

.quiz__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz__q[hidden],
.quiz__options[hidden],
.quiz__result[hidden] {
  display: none !important;
}

.quiz__opt {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.quiz__opt:hover,
.quiz__opt:focus-visible {
  border-color: var(--card-accent, #3ec6ff);
  outline: none;
}

.quiz__result {
  margin: 0;
  max-width: 62ch;
  color: #e8eef8;
  font-size: 1.08rem;
  line-height: 1.5;
}

.quiz__note {
  margin: 12px 0 0;
  color: #9fb0c8;
  font-size: 0.95rem;
}

.story__end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(12, 18, 32, 0.86);
  border: 1px solid color-mix(in srgb, var(--card-accent, #2e7dd2) 45%, transparent);
}

.story__end p {
  margin: 0;
  max-width: 62ch;
  color: #b7c4d8;
}

.story__end .btn {
  flex: none;
}

@media (max-width: 1100px) {
  .story-proofs__grid,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .story-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-block {
    grid-template-columns: 1fr;
  }

  .story__end {
    flex-direction: column;
    align-items: flex-start;
  }

  .story__end .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .story__hero,
  .cover-hero {
    border-radius: 18px;
  }

  .story__head h1 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .story__lead {
    font-size: 1rem;
  }

  .quiz__options {
    flex-direction: column;
  }

  .quiz__opt {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .story-facts,
  .story-proofs__grid,
  .link-grid,
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .slide__meta,
  .link-card__body,
  .story-proof__body {
    padding: 14px;
  }
}
