:root {
  --orbit-blue: #0d9cf0;
  --orbit-blue-deep: #0b7fc4;
  --orbit-green: #8cd114;
  --orbit-ink: #141f29;
  --orbit-coral: #f5614d;
  --orbit-green-dark: #47991f;
  --orbit-bg: #fafcff;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--orbit-ink);
  background: var(--orbit-bg);
  -webkit-font-smoothing: antialiased;
}

body.home-page {
  height: 100svh;
  overflow: hidden;
}

.home-page .site-footer {
  display: none;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(250, 252, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 31, 41, 0.06);
}

.site-nav .brand {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--orbit-blue);
  text-decoration: none;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
}

.site-nav nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--orbit-ink);
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

.site-nav nav a:hover {
  opacity: 1;
}

.site-nav .nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--orbit-blue);
  color: #fff !important;
  opacity: 1 !important;
  box-shadow: 0 6px 16px rgba(13, 156, 240, 0.30);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px clamp(20px, 5vw, 64px) 48px;
  text-align: center;
  color: rgba(20, 31, 41, 0.55);
  font-size: 13.5px;
  font-weight: 600;
}

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

.site-footer .footer-links a {
  text-decoration: none;
  color: var(--orbit-ink);
  opacity: 0.7;
  font-weight: 700;
}

.site-footer .footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---------- Legal pages ---------- */

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 24px) 80px;
}

.legal-wrap h1 {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 5vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.legal-wrap .legal-updated {
  color: rgba(20, 31, 41, 0.5);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 40px;
}

.legal-wrap h2 {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 10px;
  color: var(--orbit-ink);
}

.legal-wrap h3 {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 16.5px;
  margin-top: 26px;
  margin-bottom: 8px;
  color: var(--orbit-ink);
}

.legal-wrap p,
.legal-wrap li {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(20, 31, 41, 0.82);
}

.legal-wrap ul {
  padding-left: 22px;
}

.legal-wrap ol {
  padding-left: 22px;
}

.legal-wrap li {
  margin-bottom: 6px;
}

.legal-wrap a {
  color: var(--orbit-blue);
  font-weight: 700;
  text-decoration: underline;
}

.legal-wrap strong {
  color: var(--orbit-ink);
}

.legal-wrap address {
  font-style: normal;
}

.legal-summary,
.support-card {
  margin: 32px 0;
  padding: 22px 24px;
  border: 1px solid rgba(13, 156, 240, 0.19);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(13, 156, 240, 0.08), rgba(140, 209, 20, 0.06));
  box-shadow: 0 12px 32px rgba(20, 31, 41, 0.05);
}

.legal-summary h2,
.support-card h2 {
  margin-top: 0;
}

.legal-summary > :last-child,
.support-card > :last-child {
  margin-bottom: 0;
}

.legal-toc {
  margin: 34px 0 46px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(20, 31, 41, 0.08);
  box-shadow: 0 10px 28px rgba(20, 31, 41, 0.045);
}

.legal-toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

.legal-toc ol {
  margin: 0;
  columns: 2;
  column-gap: 36px;
}

.legal-toc li {
  break-inside: avoid;
  margin-bottom: 7px;
}

.legal-toc a {
  text-decoration: none;
}

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

.legal-address {
  margin: 16px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--orbit-blue);
  border-radius: 0 14px 14px 0;
  background: rgba(13, 156, 240, 0.055);
  color: rgba(20, 31, 41, 0.82);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.65;
}

.legal-table {
  width: 100%;
  margin: 22px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 31, 41, 0.1);
  border-radius: 16px;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.legal-table th,
.legal-table td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid rgba(20, 31, 41, 0.08);
  border-bottom: 1px solid rgba(20, 31, 41, 0.08);
}

.legal-table th:last-child,
.legal-table td:last-child {
  border-right: 0;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table th {
  color: var(--orbit-ink);
  background: rgba(13, 156, 240, 0.07);
  font-weight: 900;
}

.legal-note {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 31, 41, 0.1);
}

.support-card .support-email {
  margin: 10px 0;
  font-size: clamp(17px, 3vw, 21px);
}

.help-wrap h2 {
  scroll-margin-top: 90px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(20, 31, 41, 0.09);
}

@media (max-width: 660px) {
  .site-nav {
    padding-inline: 18px;
  }

  .site-nav nav {
    gap: 13px;
  }

  .legal-toc ol {
    columns: 1;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
  }

  .legal-summary,
  .support-card,
  .legal-toc {
    padding: 19px;
    border-radius: 16px;
  }
}
