*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #070d19;
  color: #f8fafc;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv02" 1, "cv03" 1, "cv04" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 24%, rgba(20, 184, 166, 0.13) 0%, rgba(14, 165, 233, 0.05) 32%, transparent 64%),
    linear-gradient(160deg, #060b16 0%, #0b162c 56%, #071f24 100%);
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 34%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 34%, #000 30%, transparent 100%);
  pointer-events: none;
}

header, main, footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

header {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.brand svg {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.stealth-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.stealth-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.85);
}

/* Home Hero */
main.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 72px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.10);
  border: 1px solid rgba(94, 234, 212, 0.26);
  color: #5eead4;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.85);
}

.hero-main h1 {
  margin: 0 0 20px;
  max-width: 780px;
  font-size: clamp(2.15rem, 4.8vw, 3.65rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-main h1 span {
  background: linear-gradient(95deg, #99f6e4 0%, #2dd4bf 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0;
  max-width: 690px;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: #cbd5e1;
  font-weight: 400;
}

.stealth-note {
  margin: 22px 0 0;
  font-size: 0.88rem;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

/* Legal Documents */
main.legal-main {
  flex: 1;
  padding-top: 56px;
  padding-bottom: 80px;
}

.legal-wrap {
  max-width: 740px;
}

.legal-meta {
  font-size: 0.82rem;
  color: #5eead4;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.legal-wrap h1 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.legal-updated {
  margin: 0 0 28px;
  font-size: 0.88rem;
  color: #94a3b8;
}

.pledge-box {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-left: 3px solid #14b8a6;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 34px;
  font-size: 0.93rem;
  line-height: 1.6;
  color: #e2e8f0;
}

.pledge-box strong {
  color: #5eead4;
}

.legal-wrap h2 {
  margin: 34px 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f8fafc;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 0.94rem;
  line-height: 1.68;
  color: #cbd5e1;
}

.legal-wrap p {
  margin: 0 0 14px;
}

.legal-wrap ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

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

.legal-wrap li strong {
  color: #f1f5f9;
}

.legal-wrap a {
  color: #5eead4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-wrap a:hover {
  color: #99f6e4;
}

/* Footer */
footer {
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.footer-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

footer a:hover {
  color: #5eead4;
}

.sep {
  color: rgba(148, 163, 184, 0.35);
}

@media (max-width: 640px) {
  header {
    padding-top: 24px;
  }
  main.hero-main {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  main.legal-main {
    padding-top: 40px;
    padding-bottom: 56px;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
