:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-soft: #101018;
  --surface: #151520;
  --surface-strong: #1e1d2c;
  --text: #f5f3ff;
  --muted: #c8c2db;
  --muted-2: #958dac;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #9b5cff;
  --accent-strong: #b78cff;
  --accent-soft: rgba(155, 92, 255, 0.18);
  --warning: #f5c66a;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 20% 0%, rgba(155, 92, 255, 0.22), transparent 34rem),
    linear-gradient(180deg, #08070d 0%, #0b0b12 48%, #07070b 100%);
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #5a2dff);
  color: white;
  font-weight: 900;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.nav a[aria-current="page"] {
  color: var(--accent-strong);
}

.hero,
.section,
.notice,
.legal {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 62vh;
  display: grid;
  align-items: center;
  padding: 72px 0 56px;
}

.hero-content {
  max-width: 850px;
}

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

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.section {
  padding: 56px 0;
}

.section.compact {
  padding-top: 24px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 24px;
}

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

.card,
.notice,
.contact-box,
.legal-content {
  border: 1px solid var(--line);
  background: rgba(21, 21, 32, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.card {
  min-height: 210px;
  padding: 24px;
  border-radius: 16px;
}

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

.notice {
  padding: 28px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(155, 92, 255, 0.18), rgba(21, 21, 32, 0.78)),
    var(--surface);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.contact-box {
  padding: 24px;
  border-radius: 16px;
}

.contact-box a,
.legal-content a {
  color: var(--accent-strong);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
}

.site-footer p {
  margin: 0;
}

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

.legal {
  padding: 56px 0 72px;
}

.legal-hero {
  max-width: 850px;
  margin-bottom: 28px;
}

.legal-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.legal-hero p {
  color: var(--muted);
  font-size: 1.1rem;
}

.legal-content {
  max-width: 880px;
  padding: clamp(24px, 5vw, 48px);
  border-radius: 18px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.pending {
  border-left: 3px solid var(--warning);
  padding: 12px 14px;
  background: rgba(245, 198, 106, 0.08);
  color: #f4ddb0 !important;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .two-column {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header,
  .site-footer {
    display: flex;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 40px;
  }

  .grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero,
  .section,
  .notice,
  .legal,
  .site-header,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .button {
    width: 100%;
  }

  .legal-content {
    padding: 22px;
  }
}
