:root {
  --ink: #f6f0e8;
  --muted: #b8c6cf;
  --night: #050b12;
  --navy: #071927;
  --panel: #0b2232;
  --cyan: #79dcff;
  --orange: #ff8a47;
  --line: rgba(164, 215, 235, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(42, 119, 155, 0.22), transparent 28rem),
    var(--night);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
  padding: 0.8rem clamp(1rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 11, 18, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(121, 220, 255, 0.6);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 800;
  box-shadow: inset 0 0 18px rgba(121, 220, 255, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.9rem, 2.5vw, 2.5rem);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
}

.hero {
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #07131c;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-section,
.contact-section {
  padding: clamp(4.5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem);
}

.content-section {
  border-bottom: 1px solid var(--line);
}

.section-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}

.section-label {
  margin: 0 0 1rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.03;
}

h2 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 7vw, 6rem);
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.lead {
  max-width: 38rem;
  color: #dbe6eb;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-list article {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-list span {
  grid-row: 1 / 3;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-list p,
.planet-card p,
.contact-section p {
  margin: 0;
  color: var(--muted);
}

.solar-section {
  background:
    radial-gradient(circle at 77% 43%, rgba(255, 138, 71, 0.15), transparent 25rem),
    var(--navy);
}

.planet-card {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: rgba(5, 11, 18, 0.55);
}

.orbit {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  margin: 0 auto 2rem;
  border: 1px solid rgba(121, 220, 255, 0.32);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.8rem rgba(121, 220, 255, 0.035),
    0 0 0 5.6rem rgba(121, 220, 255, 0.025);
}

.sun,
.planet {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.sun {
  top: 50%;
  left: 50%;
  width: 31%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 35%, #fff2a4, #ff8a32 44%, #c83b16);
  box-shadow: 0 0 3.2rem rgba(255, 138, 71, 0.58);
}

.planet {
  top: 8%;
  left: 46%;
  width: 11%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, #c9f2ff, #267eab 55%, #0d3553);
  box-shadow: 0 0 1.2rem rgba(121, 220, 255, 0.35);
}

.contact-section {
  background: #08111a;
}

.contact-section h2 {
  margin-bottom: 0;
}

.email-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--cyan);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  text-underline-offset: 0.25em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem clamp(1.25rem, 4vw, 4.5rem);
  color: #8799a4;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #b8c6cf;
}

.legal-main {
  padding: clamp(3.5rem, 8vw, 7rem) 1.25rem;
}

.legal-document {
  width: min(100%, 860px);
  margin: 0 auto;
}

.legal-document > h1,
.terms-document > h1 {
  max-width: 15ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.legal-document h2 {
  max-width: none;
  margin-top: 3.25rem;
  margin-bottom: 0.8rem;
  color: #eef8fb;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.025em;
}

.legal-document p,
.legal-document li {
  color: #bfccd3;
}

.legal-document li + li {
  margin-top: 0.55rem;
}

.legal-document a {
  color: var(--cyan);
  text-underline-offset: 0.18em;
}

.legal-meta {
  margin-bottom: 3rem;
  color: #8298a4 !important;
  font-size: 0.9rem;
}

.legal-document hr {
  height: 1px;
  margin: 5rem 0;
  border: 0;
  background: var(--line);
}

.legal-emphasis {
  padding: 1.25rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.035);
  color: #dbe6eb !important;
  font-size: 0.88rem;
}

.legal-footnote,
.back-link {
  margin-top: 3rem;
  font-size: 0.88rem;
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
    padding-block: 1rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .site-nav a {
    font-size: 0.67rem;
    letter-spacing: 0.035em;
    text-align: center;
  }

  .section-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .orbit {
    width: min(74vw, 360px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }
}
