:root {
  color-scheme: dark;
  --bg: #070a12;
  --panel: #101725;
  --text: #f5f7fb;
  --muted: #a9b4c8;
  --gold: #ffb21a;
  --orange: #ff6b00;
  --cyan: #28c7ff;
  --border: rgba(255, 178, 26, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(40, 199, 255, 0.12), transparent 32rem),
    linear-gradient(180deg, #060811 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--cyan); }
a:hover { color: #8de5ff; }

.wrapper {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.86);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 5;
}

nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding: 84px 0 58px;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 54px;
  align-items: center;
}

.hero img {
  width: 100%;
  border-radius: 26%;
  box-shadow: 0 0 58px rgba(255, 107, 0, 0.25);
}

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.15; }

h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  margin: 10px 0 18px;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.lead {
  color: var(--muted);
  font-size: 1.16rem;
  max-width: 700px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 68px;
}

.card, article {
  background: linear-gradient(180deg, rgba(16, 23, 37, 0.96), rgba(10, 15, 26, 0.96));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}

.card h3 { margin-top: 0; }

.badge {
  display: inline-flex;
  border: 1px solid rgba(40, 199, 255, 0.32);
  background: rgba(40, 199, 255, 0.09);
  color: #a7eaff;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

main.legal {
  padding: 56px 0 80px;
}

.legal article {
  max-width: 840px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(2.25rem, 6vw, 3.8rem);
}

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

.legal p, .legal li { color: #d5dceb; }

.notice {
  border-left: 4px solid var(--gold);
  background: rgba(255, 178, 26, 0.08);
  padding: 16px 18px;
  border-radius: 0 12px 12px 0;
}

footer {
  padding: 36px 0 52px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero img {
    width: min(260px, 70%);
    order: -1;
  }

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

  nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
}
