:root {
  color-scheme: dark;
  --bg: #0a0c10;
  --grid-line: rgb(255 255 255 / 8%);
  --glow: rgb(198 244 50 / 16%);
  --surface: #14171d;
  --surface-raised: #1f242c;
  --surface-gradient: linear-gradient(180deg, #1b2028, #13161c);
  --highlight: inset 0 1px 0 rgb(255 255 255 / 8%);
  --shadow: 0 18px 36px -24px rgb(0 0 0 / 90%);
  --line: #303641;
  --text: #f0eee8;
  --muted: #a4aab4;
  --accent: #c6f432;
  --accent-soft: rgb(198 244 50 / 12%);
  --accent-tint: #e4f7a6;
  --on-accent: #10130a;
  --code-comment: #868d99;
  --code-bg: #050608;
  --code-line: rgb(198 244 50 / 42%);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "Cascadia Mono", Menlo, Consolas, "Roboto Mono",
    "DejaVu Sans Mono", monospace;
  --radius: 16px;
  --radius-small: 10px;
  --gutter: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(58rem 30rem at 50% -8rem, var(--glow), transparent 72%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-repeat: no-repeat, repeat, repeat;
  background-size: 100% 100%, 36px 36px, 36px 36px;
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

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

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  padding-left: max(var(--gutter), env(safe-area-inset-left));
}

.main {
  flex: 1;
  padding-top: 24px;
  padding-bottom: 56px;
}

/* Шапка и подвал */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(10 12 16 / 88%);
  backdrop-filter: blur(10px);
}

.site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 16px;
  min-height: 60px;
}

.logo {
  color: var(--text);
  font: 700 17px/1 var(--mono);
  text-decoration: none;
}

.logo__cursor {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 4px;
  margin-right: -8px;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--accent);
}

.site-footer {
  padding: 24px 0 max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
}

.site-footer__seller {
  margin-top: 8px;
}

/* Общие элементы */

.eyebrow {
  color: var(--accent);
  font: 600 13px/1.4 var(--mono);
  letter-spacing: 0.02em;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.page-lead {
  max-width: 38rem;
  margin-top: 10px;
  color: var(--muted);
}

.more {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  font: 600 14px/1 var(--mono);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  flex: 1 1 100%;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-small);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 26px -12px rgb(198 244 50 / 60%);
  transition: transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--ghost {
  border-color: var(--line);
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: var(--highlight);
}

.btn--wide {
  display: flex;
  width: 100%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.actions--tight {
  margin-top: 0;
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 600 13px/1.4 var(--mono);
}

.badge--paid {
  background: var(--surface-raised);
  color: var(--text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.tag {
  color: var(--muted);
  font: 13px/1.4 var(--mono);
  text-decoration: none;
}

.empty {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.empty--page {
  margin-top: 8vh;
  padding: 0;
  border: 0;
  background: none;
}

.empty--page .actions {
  margin-top: 8px;
}

/* Главная */

.hero {
  display: grid;
  gap: 28px;
  padding: 12px 0 8px;
}

.hero__copy {
  min-width: 0;
}

.hero__title {
  margin-top: 10px;
  font-size: 36px;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__text {
  max-width: 34rem;
  margin-top: 14px;
  color: var(--muted);
}

.hero__visual {
  min-width: 0;
}

.hero__caption {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface-gradient);
  box-shadow: var(--highlight), var(--shadow);
}

.stat__value {
  display: block;
  margin: 0;
  color: var(--accent);
  font: 800 26px/1.1 var(--mono);
}

.stat__label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.path {
  display: grid;
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.path__step {
  position: relative;
  padding: 0 0 22px 52px;
}

.path__step:last-child {
  padding-bottom: 0;
}

.path__step::before {
  position: absolute;
  top: 34px;
  bottom: -2px;
  left: 16px;
  width: 2px;
  background: var(--line);
  content: "";
}

.path__step:last-child::before {
  display: none;
}

.path__number {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
  font: 700 16px/1 var(--mono);
}

.path__step--final .path__number {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  color: var(--on-accent);
}

.path__title {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

.path__text {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.reel {
  display: flex;
  gap: 10px;
  margin-right: calc(var(--gutter) * -1);
  margin-left: calc(var(--gutter) * -1);
  padding: 2px var(--gutter) 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.reel::-webkit-scrollbar {
  display: none;
}

.reel__frame {
  flex: 0 0 44%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 34px -20px rgb(0 0 0 / 95%);
  scroll-snap-align: center;
}

.section {
  margin-top: 44px;
}

.section--catalog {
  margin-top: 36px;
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.section__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section > .section__title {
  margin-bottom: 12px;
}

.section--catalog > .section__title {
  margin-bottom: 4px;
}

.section__text {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 16px;
}

.goals {
  display: grid;
  gap: 10px;
}

.goal {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-gradient);
  box-shadow: var(--highlight), var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.goals--pair {
  margin-top: 20px;
}

.goal__title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.goal__text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.goal__count {
  margin-top: 6px;
  color: var(--accent);
  font: 600 14px/1.4 var(--mono);
}

.band {
  display: grid;
  gap: 18px;
  margin-top: 48px;
  padding: 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgb(198 244 50 / 18%), rgb(198 244 50 / 5%));
  box-shadow: var(--highlight);
}

.band__text {
  margin-top: 6px;
  color: var(--muted);
}

/* Карточки */

.grid {
  display: grid;
  gap: 12px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-gradient);
  box-shadow: var(--highlight), var(--shadow);
}

.card--link {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card--link:active,
.goal:active {
  border-color: var(--accent);
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card__time {
  color: var(--muted);
  font: 13px/1.4 var(--mono);
}

.card__stage {
  color: var(--muted);
  font: 600 13px/1.4 var(--mono);
}

.card__done {
  display: none;
  color: var(--accent);
}

.card.is-done .card__done {
  display: inline;
}

.card--final {
  border-color: var(--accent);
  box-shadow: var(--highlight), 0 16px 40px -22px rgb(198 244 50 / 45%);
}

.card--final .card__stage {
  color: var(--accent);
}

.card__title {
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
}

.card__text {
  flex: 1;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.card__date {
  color: var(--muted);
  font: 13px/1.4 var(--mono);
}

.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.card__actions .btn {
  flex: 1 1 130px;
  min-height: 46px;
  padding: 8px 12px;
  font-size: 15px;
}

/* Каталог */

.categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.category {
  display: grid;
  gap: 2px;
  overflow: hidden;
  padding-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-gradient);
  box-shadow: var(--highlight), var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.category:active {
  border-color: var(--accent);
}

.category__image {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
}

.category__title {
  padding: 0 14px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.category__count {
  padding: 0 14px;
  color: var(--accent);
  font: 600 14px/1.5 var(--mono);
}

.filters {
  display: grid;
  gap: 8px;
  margin: 22px 0 4px;
}

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

.chips--scroll {
  flex-wrap: nowrap;
  margin-right: calc(var(--gutter) * -1);
  margin-left: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chips--scroll::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
}

.chip--tag {
  color: var(--muted);
  font: 14px/1 var(--mono);
}

.chip[aria-current="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

/* Страница гайда */

.reading {
  max-width: 44rem;
  margin: 0 auto;
}

.guide-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.crumb {
  color: var(--muted);
  font: 600 14px/1.4 var(--mono);
}

.crumb a {
  text-decoration: none;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
  margin: 2px 0 0;
}

.fact {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface-gradient);
  box-shadow: var(--highlight), var(--shadow);
}

.fact dt {
  color: var(--muted);
  font: 12px/1.4 var(--mono);
}

.fact dd {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.fact--price dd {
  color: var(--accent);
}

.guide-head__summary {
  color: var(--muted);
}

.buy {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface-gradient);
  box-shadow: var(--highlight), 0 20px 48px -26px rgb(198 244 50 / 55%);
}

.buy__text {
  font-size: 20px;
  font-weight: 750;
  line-height: 1.3;
}

.buy__price {
  color: var(--text);
  font: 700 32px/1.2 var(--mono);
}

.buy__note {
  color: var(--muted);
  font-size: 14px;
}

.buy__points {
  display: grid;
  gap: 8px;
  margin: 6px 0 4px;
  padding: 0;
  list-style: none;
}

.buy__points li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.45;
}

.buy__points li::before {
  position: absolute;
  top: 0;
  left: 2px;
  color: var(--accent);
  font-weight: 800;
  content: "✓";
}

.next {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-gradient);
  box-shadow: var(--highlight), var(--shadow);
  color: inherit;
  text-decoration: none;
}

.next--final {
  border-color: var(--accent);
}

.next__label {
  color: var(--muted);
  font: 13px/1.4 var(--mono);
}

.next__title {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

/* Текст из Markdown */

.prose {
  overflow-wrap: break-word;
}

.prose--preview {
  padding-bottom: 12px;
}

.prose > * + * {
  margin-top: 16px;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.prose h1 {
  font-size: 28px;
}

.prose h2 {
  margin-top: 36px;
  font-size: 24px;
  font-weight: 800;
}

.prose h3 {
  margin-top: 24px;
  font-size: 19px;
}

.prose ul,
.prose ol {
  margin-bottom: 0;
  padding-left: 24px;
}

.prose li + li {
  margin-top: 6px;
}

.prose li::marker {
  color: var(--accent);
}

.prose blockquote {
  margin-right: 0;
  margin-left: 0;
  padding: 14px 16px;
  border-radius: var(--radius-small);
  background: var(--accent-soft);
  color: var(--text);
}

.prose blockquote > * + * {
  margin-top: 8px;
}

.prose blockquote p {
  margin: 0;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
}

.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 15px;
}

.prose th,
.prose td {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--surface-raised);
}

.prose :not(pre) > code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--surface-raised);
  font: 0.88em/1.4 var(--mono);
  overflow-wrap: anywhere;
}

/* Шаги и рисунки */

.prose .step {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-gradient);
  box-shadow: var(--highlight), var(--shadow);
}

.prose .step.is-done {
  border-color: var(--accent);
}

.prose .step__title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 21px;
}

.step__number {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  color: var(--on-accent);
  font: 700 16px/1 var(--mono);
}

.step__body {
  min-width: 0;
}

.step__body > * {
  margin-top: 0;
  margin-bottom: 0;
}

.step__body > * + * {
  margin-top: 14px;
}

.step__done {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-small);
  background: var(--surface-raised);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.step__done input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent);
}

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}

.figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Блоки кода */

.prose pre {
  margin-bottom: 0;
  padding: 14px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  font: 15px/1.55 var(--mono);
  tab-size: 2;
  -webkit-overflow-scrolling: touch;
}

.prose pre code {
  font: inherit;
}

/* Промпты и команды переносятся: на телефоне не нужно листать вбок */
.prose pre[data-language="text"],
.prose pre[data-language="bash"],
.prose pre[data-language="shell"],
.prose pre:not([data-language]) {
  overflow-x: visible;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.code-block pre {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.code-block {
  overflow: hidden;
  border: 1px solid var(--code-line);
  border-radius: var(--radius-small);
  background: var(--code-bg);
}

.code-block__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 6px 0 14px;
  border-bottom: 1px solid var(--code-line);
  background: var(--accent-soft);
}

.code-block__language {
  color: var(--accent-tint);
  font: 13px/1 var(--mono);
}

.code-block__copy {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font: 700 14px/1 var(--mono);
  cursor: pointer;
}

/* Подсветка: один акцент и его светлый оттенок, остальное в оттенках серого */

.prose pre span[class^="k"],
.prose pre .nt,
.prose pre .nb,
.prose pre .gi {
  color: var(--accent);
}

.prose pre span[class^="s"],
.prose pre span[class^="m"],
.prose pre .dl,
.prose pre .na {
  color: var(--accent-tint);
}

.prose pre span[class^="c"] {
  color: var(--code-comment);
  font-style: italic;
}

.prose pre .nf,
.prose pre .fm,
.prose pre .nc,
.prose pre .nd {
  font-weight: 700;
}

.prose pre .o,
.prose pre .p,
.prose pre .gd {
  color: var(--muted);
}

@media (max-width: 420px) {
  .site-header__row {
    column-gap: 6px;
  }

  .logo {
    font-size: 15px;
  }

  .nav {
    gap: 0;
    margin-right: -4px;
  }

  .nav a {
    padding: 0 4px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card--link,
  .goal,
  .category {
    transition: none;
  }
}

/* С широкого экрана: кнопки в строку, больше колонок */

@media (min-width: 640px) {
  .btn {
    flex: 0 1 auto;
  }

  .btn--wide {
    width: auto;
    justify-self: start;
  }

  .grid,
  .goals {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-title {
    font-size: 40px;
  }

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

  .path__step {
    padding: 48px 0 0;
  }

  .path__step::before {
    top: 16px;
    right: -20px;
    bottom: auto;
    left: 42px;
    width: auto;
    height: 2px;
  }

  .hero__title {
    font-size: 46px;
  }

  .reel__frame {
    flex-basis: 30%;
  }

  .band {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .card--link:hover,
  .goal:hover,
  .category:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
  }
}

@media (min-width: 960px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .goals,
  .categories {
    grid-template-columns: repeat(4, 1fr);
  }

  .goals--pair {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    padding-top: 36px;
  }

  .hero__caption {
    text-align: center;
  }

  .hero__title {
    font-size: 54px;
  }

  .reel {
    margin: 0;
    padding: 18px 0;
    overflow: visible;
  }

  .reel__frame {
    flex: 1 1 0;
  }

  .reel__frame:nth-child(2) {
    transform: translateY(-16px);
  }

  .reel__frame:nth-child(3) {
    transform: translateY(12px);
  }
}
