:root {
  --bg: #0c0a09;
  --bg-elev: #14110e;
  --bg-soft: #1a1714;
  --cream: #f7f3ee;
  --cream-muted: #cfc6b8;
  --ink: #14110e;
  --muted: #a39a8c;
  --line: #3a342d;
  --accent: #f0a830;
  --accent-hot: #f7b948;
  --ok: #34c759;
  --tg: #229ed9;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --radius: 18px;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--font-sans);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(240, 168, 48, 0.22), transparent 60%),
    radial-gradient(700px 420px at 90% 10%, rgba(34, 158, 217, 0.12), transparent 55%),
    radial-gradient(800px 600px at 50% 110%, rgba(0, 187, 127, 0.08), transparent 50%),
    linear-gradient(180deg, #14110e 0%, #0c0a09 45%, #0c0a09 100%);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from { filter: hue-rotate(0deg) saturate(1); }
  to { filter: hue-rotate(8deg) saturate(1.08); }
}

.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}

.brand img {
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--cream);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero {
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lead {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  color: var(--cream-muted);
  font-size: 1.125rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(240, 168, 48, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hot);
}

.btn-telegram {
  background: rgba(34, 158, 217, 0.14);
  border-color: rgba(34, 158, 217, 0.45);
  color: #6ecfff;
}

.btn-telegram:hover {
  background: rgba(34, 158, 217, 0.22);
}

.btn-lg {
  min-height: 3.4rem;
  padding-inline: 1.8rem;
  font-size: 1.05rem;
}

.meta-line {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.dot {
  opacity: 0.5;
}

.section {
  padding: 4.5rem 0 1rem;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  color: var(--muted);
}

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

.feature {
  padding: 1.35rem 1.3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.download-panel {
  margin-top: 1.75rem;
  padding: 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(247, 243, 238, 0.03);
  border: 1px solid rgba(240, 168, 48, 0.22);
}

.download-main {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.hash-block {
  flex: 1 1 280px;
  min-width: 0;
}

.hash-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.hash-value {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  cursor: pointer;
}

.linkish {
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hint {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
  align-items: center;
}

.step img {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-copy {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.step-num {
  flex: 0 0 auto;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(240, 168, 48, 0.16);
  color: var(--accent);
  font-weight: 800;
}

.step h3 {
  margin: 0.15rem 0 0.4rem;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.key-section {
  text-align: left;
}

.key-section .btn {
  margin-top: 1.5rem;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--cream);
  margin-bottom: 0.55rem;
}

.footer-brand img {
  border-radius: 8px;
}

.tiny {
  font-size: 0.85rem;
  opacity: 0.75;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .features { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .btn:hover { transform: none; }
}
