:root {
  color-scheme: dark;
  --bg: #08090b;
  --bg-soft: #101115;
  --panel: rgba(21, 22, 27, 0.86);
  --panel-strong: #191a20;
  --text: #f8f8fa;
  --muted: #a7a8b2;
  --faint: #747681;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #ff3b35;
  --accent-2: #ff7a45;
  --accent-soft: rgba(255, 59, 53, 0.13);
  --radius: 26px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 59, 53, 0.22), transparent 30rem),
    radial-gradient(circle at 86% 20%, rgba(255, 122, 69, 0.12), transparent 28rem),
    linear-gradient(180deg, #111217 0%, var(--bg) 46rem);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 70%);
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(255, 59, 53, 0.18);
}

nav,
.site-footer div {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav {
  padding: 5px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
}

nav a,
.site-footer a {
  padding: 8px 12px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
  min-height: 620px;
  padding: 74px 0 68px;
}

.badge,
.section-label,
.section-title span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  color: #ffc2be;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 59, 53, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.lead {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.actions.left {
  margin-top: 22px;
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

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

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 34px rgba(255, 59, 53, 0.26);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button.discord {
  color: #fff;
  background: #5865f2;
  box-shadow: 0 14px 34px rgba(88, 101, 242, 0.2);
}

.hero-preview {
  position: relative;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 28%),
    rgba(17, 18, 23, 0.88);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-preview::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  background: linear-gradient(135deg, rgba(255, 59, 53, 0.5), transparent 52%);
  border-radius: inherit;
  filter: blur(18px);
  opacity: 0.45;
}

.preview-top {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(255, 59, 53, 0.1);
  border: 1px solid rgba(255, 59, 53, 0.22);
  border-radius: 20px;
}

.preview-top span {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 999px;
}

.preview-top em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.preview-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.preview-row + .preview-row {
  margin-top: 10px;
}

.preview-row.active {
  background: rgba(255, 59, 53, 0.12);
  border-color: rgba(255, 59, 53, 0.25);
}

.preview-row span,
.feature-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffc2be;
  background: var(--accent-soft);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 950;
}

.preview-row strong,
.preview-row small {
  display: block;
}

.preview-row small {
  margin-top: 3px;
  color: var(--muted);
}

.section,
.split-section,
.support-section,
.policy-intro,
.policy-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.section {
  padding: 30px;
  border-radius: var(--radius);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  margin-bottom: 22px;
}

.section-title h2,
.split-section h2,
.support-section h2,
.policy-intro h1 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.feature-card {
  grid-column: span 3;
  min-height: 225px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 42%),
    var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.feature-card-large {
  grid-column: span 3;
}

.feature-mark {
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.feature-card p,
.split-section p,
.support-section p,
.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.65;
}

.split-section,
.support-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  margin-top: 18px;
  padding: 30px;
  border-radius: var(--radius);
}

.split-section p,
.support-section p {
  max-width: 680px;
  margin-bottom: 0;
}

.store-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  padding: 16px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.store-card-link {
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.store-card-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.store-card img {
  width: 52px;
  height: 52px;
  border-radius: 15px;
}

.store-card strong,
.store-card span {
  display: block;
}

.store-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.policy-layout {
  padding: 54px 0 0;
}

.policy-intro {
  padding: 34px;
  border-radius: var(--radius);
}

.policy-card {
  max-width: 850px;
  margin: 18px auto 0;
  padding: 36px;
  border-radius: var(--radius);
}

.policy-card h2 {
  margin: 30px 0 10px;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.policy-card a {
  color: #fff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 44px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .split-section,
  .support-section {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    border-radius: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 0 44px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 76px);
  }

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

  .feature-card,
  .feature-card-large {
    grid-column: auto;
  }

  .store-card {
    min-width: 0;
    width: 100%;
  }
}
