:root {
  --paper: #fff8ef;
  --paper-strong: #fff2dd;
  --ink: #2a201a;
  --muted: #6b5a4f;
  --brand-red: #f26b4b;
  --brand-gold: #f8bf5a;
  --brand-rose: #ef8cb0;
  --brand-sky: #71c4d4;
  --brand-leaf: #8fcf83;
  --line: rgba(76, 52, 36, 0.12);
  --shadow: 0 16px 40px rgba(94, 56, 31, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(248, 191, 90, 0.38), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(113, 196, 212, 0.34), transparent 25%),
    linear-gradient(180deg, #fff8ef 0%, #fffefb 52%, #fff7ee 100%);
  font-family: "Trebuchet MS", "Geneva", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.22;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 239, 0.86);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.section,
.site-footer__inner {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.brand__title {
  font-family: Georgia, "Palatino Linotype", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand__subtitle {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(76, 52, 36, 0.08);
  background: rgba(255, 255, 255, 0.74);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 245, 231, 0.95);
  border-color: rgba(242, 107, 75, 0.22);
}

.hero {
  width: min(calc(100% - 32px), var(--content));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.hero__content,
.card,
.legal-card,
.contact-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(76, 52, 36, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(248, 191, 90, 0.24), rgba(239, 140, 176, 0.18));
  color: #744527;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.1;
  font-family: Georgia, "Palatino Linotype", serif;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  margin-top: 18px;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
}

h3 {
  font-size: 1.18rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 62ch;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(80, 44, 25, 0.16);
}

.button--brand {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-gold));
  color: #fffdf9;
}

.button--telegram {
  background: linear-gradient(135deg, #2aabee, #1c8cd8);
  color: #fff;
}

.button--miniapp {
  background: linear-gradient(135deg, var(--brand-leaf), #4aa86b);
  color: #17301b;
}

.button--soft {
  background: rgba(255, 246, 234, 0.95);
  border: 1px solid rgba(76, 52, 36, 0.08);
}

.hero__status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(76, 52, 36, 0.08);
  color: var(--ink);
  font-weight: 700;
}

.hero__visual {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(248, 191, 90, 0.95), rgba(248, 191, 90, 0.08) 28%),
    radial-gradient(circle at 75% 20%, rgba(113, 196, 212, 0.75), transparent 26%),
    radial-gradient(circle at 70% 80%, rgba(239, 140, 176, 0.62), transparent 18%),
    linear-gradient(145deg, #fff9ef 0%, #ffe9d2 100%);
  border: 1px solid rgba(76, 52, 36, 0.08);
  box-shadow: var(--shadow);
}

.hero__ring {
  position: absolute;
  inset: 10% 12%;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  animation: pulse-ring 6s ease-in-out infinite;
}

.hero__rocket {
  position: absolute;
  width: min(82%, 420px);
  left: 10%;
  top: 17%;
  transform: rotate(-6deg);
  filter: drop-shadow(0 20px 24px rgba(104, 58, 28, 0.16));
  animation: rocket-float 5.5s ease-in-out infinite;
}

.hero__note {
  position: absolute;
  max-width: 220px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(76, 52, 36, 0.08);
  box-shadow: var(--shadow);
}

.hero__note--top {
  top: 22px;
  right: 18px;
}

.hero__note--bottom {
  bottom: 18px;
  left: 18px;
}

.metrics,
.grid,
.links-grid,
.contact-grid,
.launch-grid {
  display: grid;
  gap: 18px;
}

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.metric,
.card {
  padding: 22px;
}

.launch-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.launch-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(76, 52, 36, 0.08);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.9);
}

.launch-card--bot {
  background: linear-gradient(180deg, rgba(42, 171, 238, 0.14), rgba(255, 255, 255, 0.92));
}

.launch-card--app {
  background: linear-gradient(180deg, rgba(143, 207, 131, 0.18), rgba(255, 255, 255, 0.92));
}

.launch-card--docs {
  background: linear-gradient(180deg, rgba(248, 191, 90, 0.16), rgba(255, 255, 255, 0.92));
}

.launch-card__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.launch-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.metric__value {
  font-size: 1.9rem;
  font-family: Georgia, "Palatino Linotype", serif;
  font-weight: 700;
}

.metric__label {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 26px 0 0;
}

.section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.section__header p {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}

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

.card p,
.card li,
.legal-card p,
.legal-card li,
.contact-card p {
  color: var(--muted);
}

.card ul,
.legal-card ul,
.legal-card ol,
.contact-card ul {
  margin: 0;
  padding-left: 18px;
}

.card li,
.legal-card li,
.contact-card li {
  margin: 7px 0;
}

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

.link-card {
  display: block;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 244, 232, 0.9));
  border: 1px solid rgba(76, 52, 36, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(242, 107, 75, 0.22);
}

.link-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.page-hero {
  width: min(calc(100% - 32px), var(--content));
  margin: 26px auto 0;
}

.page-hero__box {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 244, 228, 0.95), rgba(255, 252, 247, 0.95));
  border: 1px solid rgba(76, 52, 36, 0.08);
  box-shadow: var(--shadow);
}

.legal-card,
.contact-card {
  padding: 28px;
}

.legal-layout {
  width: min(calc(100% - 32px), 980px);
  margin: 20px auto 0;
  display: grid;
  gap: 18px;
}

.note,
.warning,
.placeholder {
  padding: 14px 16px;
  border-radius: var(--radius-md);
}

.note {
  background: rgba(113, 196, 212, 0.12);
}

.warning {
  background: rgba(242, 107, 75, 0.12);
}

.placeholder {
  background: rgba(248, 191, 90, 0.16);
  color: #7a4f11;
  font-weight: 700;
}

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

.site-footer {
  margin-top: 40px;
  padding: 26px 0 38px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.checklist li::marker {
  color: var(--brand-red);
}

@keyframes rocket-float {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-10px) rotate(-4deg);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .hero,
  .grid,
  .metrics,
  .links-grid,
  .contact-grid,
  .launch-grid {
    grid-template-columns: 1fr;
  }

  .section__header,
  .site-header__inner,
  .site-footer__inner {
    align-items: start;
  }

  .nav {
    justify-content: start;
  }

  .hero__visual {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .hero__content,
  .metric,
  .card,
  .legal-card,
  .contact-card,
  .page-hero__box {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    margin-top: 20px;
  }

  .hero__visual {
    min-height: 300px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }
}
