:root {
  --vacuum-navy: #171a2e;
  --stellar-white: #f3f2ee;
  --mist-grey: #b7bed3;
  --structural-indigo: #3a4168;

  --bg-top: var(--vacuum-navy);
  --bg-mid: #0d1220;
  --bg-bottom: #07090f;
  --text: var(--stellar-white);
  --muted: rgba(183, 190, 211, 0.82);
  --quiet: rgba(183, 190, 211, 0.52);
  --accent: #8fa3d6;
  --grid: rgba(183, 190, 211, 0.045);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --max-width: 1240px;
  --link-color: #c6cede;
  --link-hover: var(--stellar-white);
  /* Adjust these to manually move the overall page content up, down, or inward. */
  --layout-padding-top: 40px;
  --layout-padding-x: 28px;
  --layout-padding-bottom: 28px;
  --layout-gap: 24px;
  /* Adjust this to manually move the logo up or down. Negative values move it up. */
  --logo-offset-y: -0px;
  /* Adjust this to manually control the space between the logo header and the main content. */
  --hero-header-gap: 38px;
  /* Adjust this to manually move the footer closer to or farther from the main content. */
  --footer-padding-top: 8px;
  --kicker-spacing: 18px;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(58, 65, 104, 0.3), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(183, 190, 211, 0.06), transparent 20%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 44%, var(--bg-bottom) 100%);
  color: var(--text);
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--link-color);
  text-decoration-color: rgba(198, 206, 222, 0.3);
  text-underline-offset: 0.14em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 88%);
  opacity: 0.5;
  pointer-events: none;
}

.grid-orbit {
  position: absolute;
  border: 1px solid rgba(183, 190, 211, 0.08);
  border-radius: 999px;
  pointer-events: none;
}

.grid-orbit-a {
  top: 8%;
  right: -10%;
  width: min(54vw, 760px);
  height: min(54vw, 760px);
}

.grid-orbit-b {
  bottom: -16%;
  left: -8%;
  width: min(42vw, 560px);
  height: min(42vw, 560px);
}

.site-layout {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: var(--layout-padding-top) var(--layout-padding-x) var(--layout-padding-bottom);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--layout-gap);
}

.hero {
  display: grid;
  align-content: center;
  gap: var(--hero-header-gap);
  min-height: 0;
}


.masthead {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.logo {
  width: clamp(180px, 18vw, 270px);
  height: auto;
  object-fit: contain;
  transform: translateY(var(--logo-offset-y));
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.28));
}

.hero-copy {
  width: min(100%, 860px);
}

.kicker,
.footer-heading {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.kicker {
  color: var(--accent);
  margin-bottom: var(--kicker-spacing);
}

h1 {
  margin: 0;
  max-width: 11.5ch;
  font-size: clamp(3rem, 7vw, 6.1rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: var(--text);
}

.summary {
  margin: 26px 0 0;
  max-width: 64ch;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.74;
  color: var(--muted);
}

.site-footer {
  padding-top: var(--footer-padding-top);
}

.footer-line {
  width: 100%;
  height: 1px;
  margin-bottom: 18px;
  background: linear-gradient(
    90deg,
    rgba(183, 190, 211, 0),
    rgba(183, 190, 211, 0.14),
    rgba(183, 190, 211, 0)
  );
}

.footer-content {
  display: grid;
  gap: 6px;
  max-width: 880px;
  padding-bottom: 8px;
}

.footer-heading {
  color: var(--quiet);
}

.footer-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--muted);
}

.footer-meta {
  margin: 6px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--quiet);
}

@media (max-width: 900px) {
  :root {
    --layout-padding-top: 28px;
    --layout-gap: 22px;
    --hero-header-gap: 30px;
  }

  .site-layout {
    grid-template-rows: auto auto;
  }

  .hero {
    align-content: start;
  }

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 720px) {
  :root {
    --layout-padding-top: 24px;
    --layout-padding-x: 20px;
    --layout-padding-bottom: 20px;
    --layout-gap: 18px;
    --hero-header-gap: 24px;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 4.4rem);
    line-height: 0.98;
  }

  .summary {
    max-width: none;
    font-size: 1rem;
    line-height: 1.68;
  }

  .page-shell::before {
    background-size: 56px 56px;
  }

  .grid-orbit-a {
    top: 6%;
    right: -34%;
    width: 90vw;
    height: 90vw;
  }

  .grid-orbit-b {
    bottom: -10%;
    left: -28%;
    width: 70vw;
    height: 70vw;
  }

  .footer-text,
  .footer-meta {
    font-size: 0.88rem;
  }
}
