:root {
  --magenta: #EA0D81;
  --yellow: #FFC400;
  --purple: #A400B8;
  --purple-deep: #54025E;
  --ink: #1a1218;
  --ink-soft: #4a3a44;
  --foam: #fff8fb;
  --mist: #f7eef4;
  --line: rgba(84, 2, 94, 0.12);
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --nav-h: 3.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 0.4rem;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(12, 6, 12, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  gap: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
}
.nav-links a:hover { color: #fff; }
.nav-links a.is-active { color: var(--yellow); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.86rem;
}
.nav-cta:hover { filter: brightness(1.05); }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

.page-hero {
  background:
    radial-gradient(ellipse 80% 80% at 90% 0%, rgba(234,13,129,0.28), transparent 55%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(164,0,184,0.22), transparent 50%),
    linear-gradient(160deg, #1a0a16 0%, #2a0f24 55%, #1a0a16 100%);
  color: #fff;
  padding: 2.25rem 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.45rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.45rem;
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  max-width: 36rem;
  font-size: 0.98rem;
}
.page-meta {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

main.legal {
  flex: 1;
  padding: 2.25rem 0 3.5rem;
}
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  box-shadow: 0 12px 36px rgba(84, 2, 94, 0.06);
  max-width: 46rem;
}
.legal-card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 1.75rem 0 0.55rem;
  color: var(--ink);
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 1.25rem 0 0.4rem;
}
.legal-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 0.85rem;
}
.legal-card ul, .legal-card ol {
  margin: 0 0 0.95rem 1.15rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.legal-card li { margin-bottom: 0.35rem; }
.legal-card a {
  color: var(--magenta);
  font-weight: 600;
  border-bottom: 1px solid rgba(234, 13, 129, 0.35);
}
.legal-card a:hover { color: var(--purple); }
.legal-card .note {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1rem 1.1rem;
  margin: 1.25rem 0;
}
.legal-card .note strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.steps-list {
  list-style: none;
  margin-left: 0 !important;
  counter-reset: step;
  display: grid;
  gap: 0.75rem;
}
.steps-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  margin: 0;
}
.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.45rem;
  display: grid;
  place-items: center;
}
.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.25s var(--ease), filter 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(105deg, var(--magenta), var(--purple));
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(234, 13, 129, 0.28);
}
.btn-ghost {
  background: #fff;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
}

footer {
  background: #120810;
  color: rgba(255,255,255,0.7);
  padding: 1.75rem 0;
  font-size: 0.88rem;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a:hover { color: var(--yellow); }
.footer-links a.is-active { color: var(--yellow); }
.footer-mail a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,196,0,0.45);
}
