:root {
  --bg: #f3efe6;
  --ink: #102a43;
  --ink-soft: #3a556a;
  --accent: #ee6c4d;
  --accent-2: #0c7c59;
  --panel: #ffffff;
  --line: #d5d7dc;
  --shadow: 0 16px 40px rgba(16, 42, 67, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(238, 108, 77, 0.2), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(12, 124, 89, 0.14), transparent 30%),
    linear-gradient(180deg, #faf8f4 0%, #f3efe6 46%, #e8ecef 100%);
  line-height: 1.6;
}

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

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.hero-shell {
  min-height: 88vh;
  padding-bottom: 3rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 3rem;
  text-decoration: none;
}

.brand img {
  height: 50px;
  width: auto;
}

.brand-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.menu-toggle {
  width: 46px;
  height: 40px;
  border: 1px solid rgba(16, 42, 67, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background: var(--ink);
}

.menu-panel {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

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

.btn.solid {
  color: #fff;
  background: linear-gradient(90deg, var(--accent), #f08a5d);
  box-shadow: 0 8px 20px rgba(238, 108, 77, 0.3);
}

.btn.ghost {
  color: var(--ink);
  border-color: rgba(16, 42, 67, 0.22);
  background: rgba(255, 255, 255, 0.65);
}

.hero {
  padding-top: 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 800;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0.3rem 0 1rem;
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.lede {
  color: var(--ink-soft);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.hero-art img {
  border-radius: var(--radius);
  border: 1px solid rgba(16, 42, 67, 0.15);
  box-shadow: var(--shadow);
}

.info-block {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 2rem;
  padding: 2rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: transparent;
  color: var(--ink);
}

.info-logo {
  margin: 0;
  width: 90px;
  height: 90px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.info-logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin-inline: 0;
  border-radius: 0;
  object-fit: cover;
}

.info-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.9rem;
  width: 100%;
  max-width: 480px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease;
  flex: 1;
  white-space: nowrap;
}

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

.button-register {
  color: #fff;
  background: linear-gradient(92deg, var(--accent), #f08a5d);
  box-shadow: 0 4px 18px rgba(238, 108, 77, 0.3);
}

.button-download {
  color: #fff;
  background: linear-gradient(92deg, var(--accent-2), #10a36e);
  box-shadow: 0 4px 18px rgba(12, 124, 89, 0.3);
}

.inline-icon {
  display: inline-flex;
  align-items: center;
}

.info-table-wrap {
  overflow-x: auto;
  width: 100%;
  padding: 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

.info-table td {
  border: 1px solid var(--line);
  padding: 0.72rem 1rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.info-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.6);
}

.info-table td:first-child {
  font-weight: 700;
  width: 40%;
  color: var(--ink);
}

.info-table a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 700;
}

.info-table strong {
  color: var(--ink);
}

.info-bottom-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding-top: 0.3rem;
}

.info-bottom-links a {
  text-decoration: underline;
  font-weight: 800;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem auto 3rem;
}

.stats article,
.panel,
.platform,
.faq,
.care,
.footer-grid {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats article {
  padding: 1rem;
}

.stats h2 {
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.panel {
  padding: 1.4rem;
}

.panel-btn {
  margin-top: 1rem;
}

.panel ol {
  margin: 0;
  padding-left: 1.2rem;
}

.platform {
  margin-bottom: 2rem;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.platform ul {
  padding-left: 1.1rem;
}

.platform-card img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 14px;
}

.care {
  margin-bottom: 2rem;
  padding: 1.3rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.care-copy p {
  margin-bottom: 0;
}

.telegram {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.telegram img {
  width: 28px;
  height: 28px;
}

.faq {
  padding: 1.3rem;
  margin-bottom: 3rem;
}

.pages {
  padding: 1.3rem;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.page-grid a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}

.page-main {
  min-height: 60vh;
  padding-top: 2.2rem;
}

.content-section {
  margin-bottom: 2.2rem;
  padding: 0;
}

.content-section h2 {
  margin-bottom: 0.6rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.4rem;
  display: inline-block;
}

.content-section p,
.content-section ul,
.content-section ol {
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}

.content-section ul,
.content-section ol {
  padding-left: 1.3rem;
}

.content-section li {
  margin-bottom: 0.35rem;
}

.content-section details {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.content-section summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.content-section .btn,
.content-section .telegram {
  margin-top: 0.6rem;
}

.page-hero {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem;
  margin-bottom: 1rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-box {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0 0;
}

.footer-links a {
  color: #d8e7f4;
  text-decoration: none;
  font-weight: 700;
}

.faq details {
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.faq details:first-of-type {
  border-top: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.footer {
  background: #102a43;
  color: #c2d6e8;
  padding: 2rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding: 1.2rem;
  background: rgba(7, 28, 46, 0.7);
  border: 1px solid rgba(194, 214, 232, 0.2);
}

.footer-logo {
  width: 86px;
  border-radius: 10px;
  margin-bottom: 0.6rem;
}

.footer h3 {
  margin-bottom: 0.4rem;
  color: #f2f6fb;
}

.footer p {
  margin: 0.2rem 0;
}

.copyright {
  text-align: center;
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.delay-1 {
  transition-delay: 130ms;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero,
  .info-block,
  .stats,
  .split,
  .platform,
  .footer-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .page-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-shell {
    min-height: initial;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-panel {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    width: min(92vw, 360px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 1rem;
    z-index: 20;
  }

  .menu-panel.open {
    display: flex;
  }

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

  .cta-row {
    width: 100%;
  }

  .cta-row .btn {
    flex: 1;
  }
}