body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0f1115;
  color: #f5f7fb;
}

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

.page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 28px;
  animation: fadeDown 420ms ease-out both;
}

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

.brand img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #cbd5e1;
}

.hero {
  display: grid;
  place-items: center;
  padding: 44px 0 24px;
}

.hero-inner {
  width: min(640px, 100%);
  text-align: center;
  animation: fadeUp 560ms ease-out both;
}

.hero-name {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin: 0 auto 6px;
  object-fit: contain;
  object-position: center center;
}

.hero h1,
.section h2,
.invite h2 {
  margin: 0;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: -0.05em;
}

.lead {
  max-width: 520px;
  margin: 10px auto 0;
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 1.03rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 700;
}

.primary {
  background: #f5f7fb;
  color: #0f1115;
}

.secondary {
  border: 1px solid #334155;
  color: #f5f7fb;
}

.section {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #243041;
}

.section h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.section-head {
  margin-bottom: 16px;
}

.section-lead {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.feature-card,
.section {
  background: transparent;
}

.feature-card {
  padding: 22px;
  border: 1px solid #243041;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
    #141821;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  animation: fadeUp 560ms ease-out both;
}

.feature-card:nth-child(1) {
  animation-delay: 80ms;
}

.feature-card:nth-child(2) {
  animation-delay: 140ms;
}

.feature-card:nth-child(3) {
  animation-delay: 200ms;
}

.feature-card:nth-child(4) {
  animation-delay: 260ms;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.feature-icon {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.15;
}

.feature-card p,
.section p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
}

.feature-card p {
  max-width: 28ch;
}

.site-footer {
  margin-top: 34px;
  padding: 20px 0 0;
  border-top: 1px solid #243041;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  animation: fadeUp 560ms ease-out both;
  animation-delay: 320ms;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 420px;
}

.footer-brand img {
  width: min(150px, 100%);
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  display: block;
  color: #cbd5e1;
  margin: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, 900px);
    padding: 18px 0 28px;
  }

  .hero-name {
    width: min(240px, 100%);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 18px;
  }

  .nav {
    gap: 12px;
  }

  .hero {
    padding: 30px 0 18px;
  }

  .hero-inner {
    width: 100%;
  }

  .lead {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section {
    margin-top: 22px;
    padding-top: 16px;
  }

  .feature-card {
    padding: 18px;
  }

  .feature-row {
    gap: 10px;
    margin-bottom: 12px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .feature-card h3 {
    font-size: 1.05rem;
  }

  .feature-card p {
    max-width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
    padding-top: 18px;
  }

  .footer-brand img {
    width: min(140px, 100%);
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-links {
    gap: 16px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .page {
    width: min(100% - 28px, 900px);
  }

  .hero-name {
    width: min(320px, 100%);
  }
}
