/* ---- AI SYSTEM — shared styles for the legal / footer pages ---- */
/* Palette and typography match the sales page and the thank-you page. */

:root {
  --hybrid: #ff536d;
  --white: #fff;
  --bg: #000;
  --panel: #111218;
  --card: #16171f;
  --line: #23252f;
  --muted: #b9bcc6;
  --dim: #9a9daa;
  --footer-bg: #101014;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--muted);
  font-family: Exo, "Trebuchet MS", Verdana, sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.legal-container {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---- Top navigation ---- */
.legal-nav {
  background-color: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.legal-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.legal-brand {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-decoration: none;
  white-space: nowrap;
}

.legal-brand span {
  color: var(--hybrid);
}

.legal-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
}

.legal-nav-links a {
  color: var(--dim);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

.legal-nav-links a:hover {
  color: var(--white);
  background-color: #1b1d26;
}

.legal-nav-links a[aria-current="page"] {
  color: var(--white);
  background-color: #1f212c;
  border-color: var(--hybrid);
}

/* ---- Page header ---- */
.legal-header {
  background-color: var(--panel);
  padding-top: 60px;
  padding-bottom: 54px;
  text-align: center;
}

.legal-title {
  color: var(--white);
  margin: 0 0 16px;
  font-size: 44px;
  font-weight: 700;
  line-height: 54px;
}

.legal-lead {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 28px;
}

.legal-updated {
  color: #0b1f16;
  background-color: #4bf0c8;
  border-radius: 999px;
  display: inline-block;
  margin-top: 24px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ---- Content ---- */
.legal-content {
  padding-top: 54px;
  padding-bottom: 20px;
}

.legal-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 22px;
  padding: 28px 30px;
  box-shadow: 0 2px 5px #0003;
}

.legal-card h2 {
  color: var(--white);
  margin: 0 0 14px;
  font-size: 23px;
  font-weight: 700;
  line-height: 32px;
}

.legal-card h3 {
  color: var(--white);
  margin: 26px 0 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
}

.legal-card p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 27px;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-card li {
  margin-bottom: 9px;
  font-size: 16px;
  line-height: 27px;
}

.legal-card strong {
  color: var(--white);
}

.legal-card a {
  color: var(--hybrid);
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}

.legal-callout {
  background-color: #1b1d26;
  border-left: 3px solid var(--hybrid);
  border-radius: 8px;
  margin: 0 0 14px;
  padding: 18px 20px;
}

.legal-callout p {
  margin: 0;
}

/* ---- Contact cards ---- */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.legal-grid .legal-card {
  margin-bottom: 0;
}

/* ---- Prev / next between pages ---- */
.legal-more {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 34px;
  padding-bottom: 10px;
}

.legal-more h2 {
  color: var(--white);
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.legal-more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-more-links a {
  color: var(--muted);
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.legal-more-links a:hover {
  color: var(--white);
  border-color: var(--hybrid);
}

/* ---- Footer (matches the sales page footer) ---- */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--muted);
  margin-top: 40px;
  padding: 48px 20px 40px;
  font-family: Exo, sans-serif;
}

.site-footer .footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.site-footer .footer-disclaimer {
  color: var(--dim);
  margin-bottom: 26px;
  font-size: 13px;
  line-height: 22px;
}

.site-footer .footer-disclaimer a {
  color: #c7cad4;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 22px;
}

.site-footer .footer-links a {
  color: #e6e7ec;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer .footer-links a:hover {
  color: #f06073;
  text-decoration: underline;
}

.site-footer .footer-copyright {
  color: #747783;
  font-size: 12px;
}

/* ---- Mobile ---- */
@media screen and (max-width: 767px) {
  .legal-nav-inner {
    justify-content: center;
  }

  .legal-nav-links {
    justify-content: center;
  }

  .legal-header {
    padding-top: 42px;
    padding-bottom: 38px;
  }

  .legal-title {
    font-size: 32px;
    line-height: 41px;
  }

  .legal-lead {
    font-size: 16px;
    line-height: 26px;
  }

  .legal-content {
    padding-top: 38px;
  }

  .legal-card {
    padding: 22px 20px;
  }

  .legal-card h2 {
    font-size: 20px;
    line-height: 28px;
  }
}
