:root {
  --background: #090b14;
  --surface: #121625;
  --surface-light: #1a2033;
  --text: #f5f7ff;
  --text-muted: #aeb5c8;
  --primary: #8b5cf6;
  --secondary: #f5b942;
  --success: #2dd4a3;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(139, 92, 246, 0.22), transparent 30rem),
    radial-gradient(circle at 80% 12%, rgba(245, 185, 66, 0.12), transparent 24rem),
    var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  max-width: 920px;
  font-size: clamp(2.35rem, 6vw, 5.35rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: var(--text);
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.035);
}

td {
  color: var(--text-muted);
}

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--secondary);
  color: #1b1300;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.narrow {
  max-width: 900px;
}

.section {
  padding: 92px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  border-block: 1px solid rgba(255, 255, 255, 0.045);
}

.section-kicker {
  margin-bottom: 0.55rem;
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 11, 20, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(9, 11, 20, 0.94);
  border-bottom-color: var(--border);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  font-weight: 800;
  color: #ffffff;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.3);
}

.brand span {
  white-space: nowrap;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav-panel a:not(.btn) {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-panel a:not(.btn):hover {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), #ffe08a);
  color: #1b1300;
  box-shadow: 0 14px 36px rgba(245, 185, 66, 0.22);
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-small {
  min-height: 40px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

.hero {
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  padding-top: 64px;
}

.hero-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-grid > *,
.content-grid > *,
.bonus-card > *,
.pros-grid > *,
.section-copy,
.info-card {
  min-width: 0;
}

.reverse {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
}

.reverse > :first-child {
  order: 2;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy > p {
  max-width: 760px;
  font-size: 1.08rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.mini-logo,
.badge-soft {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(245, 185, 66, 0.32);
  border-radius: 999px;
  background: rgba(245, 185, 66, 0.1);
  color: #ffe6a3;
  font-weight: 800;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 34px;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.8rem 0;
}

.key-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.key-facts li {
  min-height: 98px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(18, 22, 37, 0.78);
  color: var(--text-muted);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.key-facts strong {
  display: block;
  color: #ffffff;
}

.hero-media {
  position: relative;
  min-height: 420px;
}

.hero-media img,
.image-card img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-light);
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 8% -6% 8%;
  height: 120px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.38), rgba(245, 185, 66, 0.3));
  filter: blur(42px);
  z-index: -1;
}

.content-grid {
  margin-bottom: 2rem;
}

.info-card,
.bonus-card,
.responsible-card,
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(18, 22, 37, 0.82);
  box-shadow: var(--shadow);
}

.highlight-card {
  padding: 1.2rem;
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.16), rgba(245, 185, 66, 0.06)),
    rgba(18, 22, 37, 0.9);
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2rem 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 190px;
  padding: 4rem 1rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(18, 22, 37, 0.8);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
}

.steps strong {
  display: block;
  color: #ffffff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2rem 0;
  list-style: none;
}

.category-grid li {
  min-height: 230px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.13), rgba(255, 255, 255, 0.02)),
    var(--surface);
}

.category-grid h3 {
  color: #ffffff;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.badges span {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.1);
  color: #d9ccff;
  font-weight: 700;
}

.clean-list {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.clean-list li {
  margin-bottom: 0.55rem;
}

.image-card {
  align-self: stretch;
}

.image-card img {
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.bonus-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2rem);
  margin: 2rem 0;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(245, 185, 66, 0.12)),
    var(--surface);
}

.bonus-card h3 {
  margin-top: 0.8rem;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.bonus-side {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.16);
}

.bonus-side span {
  color: var(--secondary);
  font-size: 1.55rem;
  font-weight: 900;
}

.note {
  color: #ffe6a3;
}

.responsible-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  margin: 2rem 0;
  background:
    linear-gradient(135deg, rgba(45, 212, 163, 0.12), rgba(139, 92, 246, 0.1)),
    var(--surface);
}

.responsible-card h3 {
  margin-bottom: 0.45rem;
}

.responsible-card p {
  margin: 0;
}

.pros-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.pros-grid .info-card {
  padding: 1.4rem;
}

.faq {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--secondary);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item button[aria-expanded="true"]::after {
  content: "−";
}

.faq-panel {
  padding: 0 1.25rem 1.25rem;
}

.faq-panel p {
  margin: 0;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--border);
  background: #070912;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.site-footer strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-size: 1.15rem;
}

.footer-note {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-light);
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .nav-panel {
    gap: 0.75rem;
    font-size: 0.88rem;
  }

  .key-facts,
  .steps,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid li,
  .steps li {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 76px;
  }

  .section {
    padding: 64px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    max-height: calc(100svh - 96px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(18, 22, 37, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-panel a {
    padding: 0.8rem;
    border-radius: 12px;
  }

  .nav-panel .btn {
    margin-top: 0.4rem;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-grid,
  .content-grid,
  .reverse,
  .bonus-card,
  .footer-grid,
  .pros-grid {
    grid-template-columns: 1fr;
  }

  .reverse > :first-child {
    order: 0;
  }

  .hero-media {
    min-height: 0;
  }

  .key-facts {
    grid-template-columns: 1fr;
  }

  .key-facts li {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .brand span {
    font-size: 0.98rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .steps,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .steps li {
    padding-top: 3.7rem;
  }

  th,
  td {
    padding: 0.85rem;
  }

  .responsible-card,
  .footer-note {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
