:root {
  color-scheme: dark;
  --ink: #080913;
  --panel: #121425;
  --panel-strong: #181a2e;
  --paper: #f7f3ed;
  --muted: #aaa9b8;
  --stroke: #30334b;
  --pink: #ff4fb8;
  --gold: #f3ca70;
  --cyan: #52dff1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 79, 184, 0.12), transparent 34rem),
    radial-gradient(circle at 90% 18%, rgba(82, 223, 241, 0.08), transparent 30rem),
    var(--ink);
}

a {
  color: var(--cyan);
}

a:hover {
  color: var(--paper);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--stroke);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--pink);
  border-radius: 50%;
  background: rgba(255, 79, 184, 0.1);
  font-size: 20px;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

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

main {
  padding-block: 72px;
}

.hero {
  max-width: 780px;
  padding-block: 30px 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 760px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.3vw, 1.32rem);
  line-height: 1.7;
}

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

.card,
.notice,
.support-list section {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(18, 20, 37, 0.9);
}

.card {
  padding: 24px;
}

.card h2,
.notice h2,
.support-list h2,
.document h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card p,
.notice p,
.support-list p,
.document > p,
.document li {
  color: var(--muted);
  line-height: 1.75;
}

.notice {
  margin-top: 18px;
  padding: 24px;
}

.notice p {
  margin-bottom: 0;
}

.document {
  max-width: 820px;
}

.document h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.document > h2 {
  margin-top: 42px;
}

.updated {
  margin-top: 18px;
  font-size: 14px;
}

.support-list {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}

.support-list section {
  padding: 24px;
}

.support-list p,
.support-list ul {
  margin-bottom: 0;
}

.support-list li + li {
  margin-top: 6px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px 44px;
  color: var(--muted);
  border-top: 1px solid var(--stroke);
  font-size: 13px;
}

footer p {
  margin: 0;
}

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

  main {
    padding-block: 48px;
  }

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

  footer {
    flex-direction: column;
  }
}
