/* Legal / content pages — Privacy, Terms. Shares tokens with the landing page. */
@import url("design-system/colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--mythic-font-body);
  color: var(--mythic-text);
  background: var(--mythic-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }

/* nav (reuse landing styles look) */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mythic-border);
}
.lp-nav__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  padding: 18px 32px;
}
.lp-nav__spacer { flex: 1; }
.lp-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mythic-font-body);
  font-weight: 700; font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--mythic-text);
  text-decoration: none;
  opacity: 0.74;
  transition: opacity 180ms ease-out;
}
.lp-back:hover { opacity: 1; }

/* article */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 32px 96px;
}
.legal__eyebrow {
  display: inline-block;
  font-family: var(--mythic-font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mythic-primary);
  margin-bottom: 16px;
}
.legal h1 {
  font-family: var(--mythic-font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.legal__updated {
  font-family: var(--mythic-font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--mythic-text-mid);
  margin: 0 0 8px;
}
.legal__intro {
  font-family: var(--mythic-font-body);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.55;
  color: var(--mythic-text-mid);
  margin: 32px 0 0;
  text-wrap: pretty;
}
.legal__intro + .legal__intro { margin-top: 20px; }
.legal__divider {
  height: 1px;
  background: var(--mythic-border);
  border: 0;
  margin: 44px 0;
}
.legal h2 {
  font-family: var(--mythic-font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 44px 0 14px;
  display: flex; align-items: baseline; gap: 12px;
}
.legal h2 .num {
  font-family: var(--mythic-font-body);
  font-weight: 800;
  font-size: 14px;
  color: var(--mythic-primary);
  flex-shrink: 0;
  width: 20px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p {
  font-family: var(--mythic-font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--mythic-text);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.legal p.muted { color: var(--mythic-text-mid); }
.legal ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.legal li {
  position: relative;
  padding-left: 22px;
  font-family: var(--mythic-font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  color: var(--mythic-text);
  text-wrap: pretty;
}
.legal li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mythic-primary);
}
.legal li strong, .legal p strong { font-weight: 700; }
.legal a {
  color: var(--mythic-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease-out;
}
.legal a:hover { border-bottom-color: var(--mythic-primary); }

/* support page — contact card */
.support__card {
  margin: 32px 0 0;
  padding: 28px 28px 24px;
  border: 1px solid var(--mythic-border);
  border-radius: 20px;
  background: rgba(18, 193, 1, 0.045);
}
.support__card-label {
  font-family: var(--mythic-font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mythic-primary);
  margin-bottom: 10px;
}
.support__email {
  display: inline-block;
  font-family: var(--mythic-font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -0.02em;
  color: var(--mythic-text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease-out;
}
.support__email:hover { border-bottom-color: var(--mythic-primary); }
.support__card-note {
  font-family: var(--mythic-font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mythic-text-mid);
  margin: 14px 0 0;
  text-wrap: pretty;
}

/* footer */
.lp-footer {
  border-top: 1px solid var(--mythic-border);
  padding: 32px 0 40px;
}
.lp-footer__inner {
  display: flex; align-items: center; gap: 24px;
  max-width: 1240px; margin: 0 auto;
  padding: 0 32px;
}
.lp-footer__copy {
  font-family: var(--mythic-font-body);
  font-weight: 500; font-size: 13px;
  color: var(--mythic-text-mid);
  flex: 1;
}
.lp-footer__links { display: flex; gap: 24px; }
.lp-footer__links a {
  font-family: var(--mythic-font-body);
  font-weight: 500; font-size: 13px;
  color: var(--mythic-text-mid);
  text-decoration: none;
  transition: color 180ms ease-out;
}
.lp-footer__links a:hover { color: var(--mythic-text); }

@media (max-width: 600px) {
  .legal { padding: 48px 20px 64px; }
  .lp-nav__inner { padding: 16px 20px; }
  .lp-footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 20px; }
}
