:root {
  color-scheme: dark;
  --background: #050817;
  --surface: #0d1430;
  --surface-soft: #111b3e;
  --text: #f7f7fb;
  --muted: #a9b1ca;
  --faint: #747d99;
  --line: rgb(142 160 217 / 20%);
  --blue: #7ca8ff;
  --gold: #f2cc68;
  --gold-deep: #c99a2e;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -20%, rgb(36 75 170 / 38%), transparent 42rem),
    var(--background);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgb(5 8 23 / 84%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, 860px);
  margin: 0 auto;
}

.nav-inner {
  min-height: 58px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 720;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.mark {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid rgb(242 204 104 / 52%);
  border-radius: 9px;
  background: linear-gradient(145deg, #214ba7, #122862);
  box-shadow: 0 5px 18px rgb(57 105 221 / 30%);
}

.mark::before,
.mark::after {
  position: absolute;
  left: 50%;
  top: 50%;
  content: "";
  border-radius: 999px;
  background: linear-gradient(180deg, #fff1ae, var(--gold-deep));
  box-shadow: 0 0 8px rgb(242 204 104 / 55%);
  transform: translate(-50%, -50%);
}

.mark::before {
  width: 4px;
  height: 18px;
}

.mark::after {
  width: 13px;
  height: 4px;
  top: 44%;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

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

.legal,
.support {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 78px 0 96px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.updated {
  margin: 14px 0 42px;
  color: var(--faint);
  font-size: 0.82rem;
}

.summary,
.contact-card,
.notice {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgb(17 27 62 / 94%), rgb(10 16 39 / 94%));
  box-shadow: 0 20px 70px rgb(0 0 0 / 18%);
}

.summary,
.notice {
  padding: 22px;
}

.summary {
  color: var(--text);
}

h2 {
  margin: 50px 0 12px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 7px;
  font-size: 1rem;
}

p,
li {
  color: var(--muted);
  font-size: 0.96rem;
}

ul {
  padding-left: 22px;
}

strong {
  color: var(--text);
}

.contact-card {
  display: grid;
  gap: 20px;
  margin-top: 38px;
  padding: 26px;
}

.contact-card p {
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: fit-content;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f9e4a0, #c99a2e);
  color: #171204;
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.support-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgb(13 20 48 / 74%);
}

.support-card p {
  margin: 0;
  font-size: 0.9rem;
}

.faq {
  margin-top: 48px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 680;
}

.faq details p {
  margin: 10px 0 0;
}

.notice {
  margin-top: 48px;
}

.notice p {
  margin: 0;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 38px;
}

.footer-inner {
  color: var(--faint);
  font-size: 0.76rem;
}

@media (max-width: 640px) {
  .nav-inner {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 10px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.76rem;
  }

  .legal,
  .support {
    padding-top: 56px;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}
