:root {
  --navy: #000315;
  --navy-2: #07091F;
  --navy-3: #131239;
  --cream: #F1EEE5;
  --cream-2: #E5E0D2;
  --ink: #000315;
  --acid: #1CB4BA;
  --glow: #4F6AFF;
  --muted-cream: rgba(241,238,229,0.65);
  --rule-navy: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Geist', system-ui, sans-serif;
  background: var(--navy);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; text-decoration: none; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }

.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(0, 3, 21, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 8px 8px 18px;
  border-radius: 100px;
  display: flex; align-items: center; gap: 22px;
  color: var(--cream);
  flex-wrap: nowrap;
  white-space: nowrap;
  max-width: calc(100vw - 24px);
}
.nav > * { flex-shrink: 0; white-space: nowrap; }
.nav-brand { display: flex; align-items: center; margin-right: 14px; }
.nav-login { margin-left: 14px; }
.nav-brand img { height: 26px; width: auto; display: block; }
.nav-links { display: flex; gap: 22px; font-size: 13px; opacity: 0.78; font-weight: 400; }
.nav-links a:hover { opacity: 1; color: var(--acid); }
.nav-cta {
  background: var(--acid); color: var(--ink);
  font-size: 13px; font-weight: 500;
  padding: 10px 20px; border-radius: 100px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: scale(1.04); box-shadow: 0 0 0 4px rgba(28,180,186,0.16); }
.nav-login {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500;
  color: rgba(241,238,229,0.85);
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.16);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.nav-login:hover { background: rgba(255,255,255,0.06); color: var(--cream); border-color: rgba(255,255,255,0.28); }
.nav-login .ext-arrow {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-login:hover .ext-arrow { transform: translate(2px, -2px); opacity: 1; }

.terms-header {
  padding: 160px 0 80px;
  position: relative; overflow: hidden;
}
.terms-header::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(28,180,186,0.18) 0%, transparent 60%);
  filter: blur(60px); pointer-events: none;
}
.terms-header::after {
  content: ""; position: absolute; bottom: -50%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,106,255,0.18) 0%, transparent 60%);
  filter: blur(70px); pointer-events: none;
}
.terms-header .inner { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Geist Mono', monospace; font-size: 12px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  color: var(--muted-cream);
  background: rgba(255,255,255,0.03);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}
h1 {
  margin-top: 28px;
  font-size: clamp(56px, 9vw, 124px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
h1 .accent { color: var(--acid); font-weight: 400; }
.terms-meta {
  margin-top: 24px;
  font-family: 'Geist Mono', monospace; font-size: 13px;
  color: var(--muted-cream); letter-spacing: 0.06em;
  display: flex; gap: 24px; flex-wrap: wrap;
}
.terms-meta span { display: flex; align-items: center; gap: 8px; }
.terms-meta span::before {
  content: ""; width: 4px; height: 4px; border-radius: 999px;
  background: rgba(241,238,229,0.4);
}

.terms-main { padding: 60px 0 140px; position: relative; }
.terms-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.terms-toc {
  position: sticky; top: 100px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-navy);
}
.toc-label {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-cream);
  display: block; margin-bottom: 18px;
}
.terms-toc ol {
  list-style: none;
  display: flex; flex-direction: column; gap: 2px;
}
.terms-toc a {
  display: grid; grid-template-columns: 28px 1fr;
  align-items: baseline; gap: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: rgba(241,238,229,0.55);
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.terms-toc a:hover { color: var(--cream); background: rgba(255,255,255,0.03); }
.terms-toc a.active { color: var(--acid); background: rgba(28,180,186,0.06); }
.terms-toc a .num {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: rgba(241,238,229,0.4); letter-spacing: 0.05em;
}
.terms-toc a.active .num { color: var(--acid); }

.terms-body {
  max-width: 720px;
  color: rgba(241,238,229,0.82);
  line-height: 1.7;
}
.terms-body .lede {
  font-size: 19px; line-height: 1.6;
  color: var(--cream);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule-navy);
  margin-bottom: 8px;
}
.terms-body section {
  padding: 56px 0;
  border-bottom: 1px solid var(--rule-navy);
  scroll-margin-top: 100px;
}
.terms-body section:last-child { border-bottom: none; }
.terms-body .section-num {
  font-family: 'Geist Mono', monospace; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 14px; display: block;
}
.terms-body h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
}
.terms-body h3.sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  margin-top: 28px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.terms-body p {
  font-size: 16px;
  color: rgba(241,238,229,0.78);
  margin-bottom: 16px;
}
.terms-body p strong { color: var(--cream); font-weight: 500; }
.terms-body p:last-child { margin-bottom: 0; }
.terms-body ul {
  list-style: none;
  margin: 16px 0;
}
.terms-body ul li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--rule-navy);
  font-size: 15px;
  color: rgba(241,238,229,0.78);
  line-height: 1.55;
}
.terms-body ul li:last-child { border-bottom: 1px solid var(--rule-navy); }
.terms-body ul li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 12px; height: 1px;
  background: var(--acid);
}
.terms-body a.inline-link {
  color: var(--acid);
  border-bottom: 1px solid rgba(28,180,186,0.4);
  transition: border-color 0.2s ease;
}
.terms-body a.inline-link:hover { border-color: var(--acid); }

.contact-card {
  margin-top: 16px;
  padding: 24px;
  background: rgba(28,180,186,0.06);
  border: 1px solid rgba(28,180,186,0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.contact-card .left { display: flex; flex-direction: column; gap: 4px; }
.contact-card .label {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(28,180,186,0.85);
}
.contact-card .email { font-size: 18px; color: var(--cream); }

.feature-card {
  margin-top: 18px;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}
.feature-card h4 {
  font-size: 17px; font-weight: 500;
  color: var(--cream); margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.feature-card h4 .pill {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(28,180,186,0.16); color: var(--acid);
  padding: 3px 8px; border-radius: 100px;
  font-weight: 500;
}
.feature-card p { font-size: 15px; color: rgba(241,238,229,0.72); margin-bottom: 0; }
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 18px;
}
.feature-grid .feature-card { margin-top: 0; }

.footer {
  background: #000208;
  color: var(--cream);
  padding: 80px 0 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 {
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(241,238,229,0.45);
  margin-bottom: 16px; font-weight: 500;
}
.footer ul { list-style: none; }
.footer li { padding: 6px 0; }
.footer li a { font-size: 14px; color: rgba(241,238,229,0.78); }
.footer li a:hover { color: var(--acid); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 36px; width: auto; display: block; }
.footer-tagline {
  margin-top: 12px; color: rgba(241,238,229,0.55); font-size: 15px; max-width: 320px; line-height: 1.5;
}
.footer-bottom {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: rgba(241,238,229,0.4); letter-spacing: 0.06em;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

@media (max-width: 1024px) {
  .nav { gap: 18px; }
  .nav-brand { margin-right: 8px; }
  .nav-login { margin-left: 10px; }
  .nav-links { gap: 18px; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-brand, .nav-login { margin: 0; }
}
@media (max-width: 960px) {
  .terms-grid { grid-template-columns: 1fr; gap: 32px; }
  .terms-toc {
    position: static; padding-top: 16px;
    max-height: none; overflow: visible;
  }
  .terms-toc ol {
    flex-direction: row; flex-wrap: wrap; gap: 4px;
  }
  .terms-toc a { padding: 6px 10px; font-size: 12px; grid-template-columns: auto auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav {
    top: 12px;
    padding: 7px 7px 7px 16px;
    gap: 12px;
    width: calc(100% - 20px);
    max-width: none;
    justify-content: space-between;
  }
  .nav-brand img { height: 24px; }
  .nav-brand { margin: 0; }
  .nav-cta { padding: 8px 14px; font-size: 12px; white-space: nowrap; }
  .nav-login { display: none; }
  .terms-header { padding: 130px 0 60px; }
  h1 { font-size: clamp(40px, 12vw, 72px); }
  .terms-main { padding: 40px 0 80px; }
  .terms-body section { padding: 40px 0; }
  .terms-body h2 { font-size: 26px; }
  .terms-body .lede { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
