:root {
  color-scheme: dark;
  --background-start: #060917;
  --background-middle: #1a0e30;
  --background-end: #09081a;
  --surface: rgba(23, 24, 41, 0.88);
  --surface-raised: rgba(38, 33, 59, 0.92);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --soft: rgba(255, 255, 255, 0.5);
  --violet: #6133d1;
  --pink: #eb3394;
  --coral: #ff827a;
  --focus: #70d8ff;
  --content-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background-start);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(97, 51, 209, 0.24), transparent 34rem),
    radial-gradient(circle at 88% 22%, rgba(235, 51, 148, 0.16), transparent 30rem),
    linear-gradient(145deg, var(--background-start), var(--background-middle) 50%, var(--background-end));
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #ff9a92;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffc2bd;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 5px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 9, 23, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), 980px);
  min-height: 68px;
  margin: 0 auto;
  gap: 24px;
}

.wordmark {
  color: transparent;
  background: linear-gradient(110deg, var(--violet), var(--pink) 55%, var(--coral));
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -0.035em;
  text-decoration: none;
  text-shadow: 0 4px 18px rgba(235, 51, 148, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

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

main {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 74px 0 88px;
}

.hero {
  padding: 34px 0 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ff9a92;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 8vw, 4.5rem);
  font-weight: 850;
}

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

h2 {
  margin: 46px 0 14px;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 780;
}

h3 {
  margin: 30px 0 8px;
  font-size: 1.08rem;
}

p,
ul {
  margin-top: 0;
}

li + li {
  margin-top: 10px;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
}

.updated {
  display: inline-flex;
  align-items: center;
  margin: 0 0 30px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.82rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card,
.notice {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  border-radius: 24px;
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 130, 122, 0.45);
  color: var(--text);
}

.card h2 {
  margin: 0 0 9px;
  font-size: 1.3rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card .arrow {
  align-self: flex-end;
  color: var(--coral);
  font-size: 1.5rem;
}

.notice {
  margin: 34px 0;
  padding: 22px 24px;
  border-radius: 20px;
}

.notice strong {
  display: block;
  margin-bottom: 5px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.legal-page section {
  padding-bottom: 2px;
  border-top: 1px solid var(--border);
}

.legal-page section:first-of-type {
  border-top: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(110deg, #713be1, #e53391 62%, #f9786e);
  box-shadow: 0 12px 30px rgba(235, 51, 148, 0.2);
  font-weight: 760;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  filter: brightness(1.08);
}

.site-footer {
  width: min(calc(100% - 40px), 980px);
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--soft);
  font-size: 0.82rem;
  text-align: center;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .nav {
    width: min(calc(100% - 28px), 980px);
    min-height: 62px;
  }

  .nav-links {
    gap: 12px;
  }

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

  main {
    width: min(calc(100% - 28px), var(--content-width));
    padding: 48px 0 64px;
  }

  .hero {
    padding-top: 24px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card {
    transition: none;
  }
}
