:root {
  color-scheme: light;
  --ink: #16212f;
  --muted: #5c6b7a;
  --paper: #f8fbff;
  --panel: #ffffff;
  --line: #d9e2ec;
  --blue: #1463ff;
  --teal: #00a987;
  --amber: #f5b642;
  --red: #dc4d4d;
  --violet: #6b4de6;
  --shadow: 0 18px 60px rgba(18, 36, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 251, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 99, 255, 0.18);
}

.links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.94rem;
  font-weight: 760;
}

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

.links a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 33, 47, 0.16);
}

.button.alt {
  background: var(--blue);
}

.button.soft {
  background: #e9f0ff;
  color: var(--blue);
  box-shadow: none;
}

.button.warn {
  background: var(--red);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(20, 99, 255, 0.06), transparent 40%),
    linear-gradient(180deg, #ffffff, #f2f7ff);
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(290px, 0.74fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 48px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  font-weight: 950;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 930;
}

h3 {
  font-size: 1.12rem;
  font-weight: 900;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 700px;
  font-size: clamp(1.08rem, 2.1vw, 1.34rem);
}

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

.hero-art {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.monster-frame {
  width: min(100%, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #111827;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.monster-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.quick-stats {
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(18, 36, 56, 0.06);
}

.stat b {
  display: block;
  font-size: 1.25rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 740;
}

.section {
  padding: 74px 0;
}

.section.alt-band {
  background: #111827;
  color: #fff;
}

.section.alt-band p {
  color: #c7d2e0;
}

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

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(18, 36, 56, 0.07);
}

.alt-band .card {
  background: #182334;
  border-color: #29394f;
}

.card p {
  margin: 10px 0 0;
}

.card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 880;
  text-decoration: none;
}

.alt-band .card-link {
  color: #7dd3fc;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: start;
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-page {
  background: #fff;
}

.legal-hero {
  padding: 70px 0 42px;
  border-bottom: 1px solid var(--line);
  background: #f4f8ff;
}

.doc {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 76px;
}

.doc h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.doc h2 {
  margin-top: 38px;
  font-size: 1.65rem;
}

.doc h3 {
  margin-top: 24px;
}

.doc p,
.doc li {
  color: #3e4d5d;
}

.doc ul,
.doc ol {
  padding-left: 1.35rem;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.96rem;
}

.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--line);
  padding: 12px;
}

.doc th {
  background: #f2f7ff;
  color: var(--ink);
}

.notice {
  border-left: 5px solid var(--amber);
  background: #fff8e8;
  padding: 16px 18px;
  border-radius: 8px;
  color: #533a07;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer a {
  color: var(--muted);
  margin-left: 14px;
  text-decoration: none;
  font-weight: 780;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 520px) {
  .links a:not(.button) {
    display: none;
  }

  .button {
    width: 100%;
  }

  .actions {
    width: 100%;
  }
}
