:root {
  --ink: #eff2e8;
  --paper: #0c0f0c;
  --green: #a9cf78;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.snarkle-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 4vw, 4rem);
  overflow: hidden;
  background: var(--paper);
}

.snarkle-nav,
.snarkle-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.snarkle-wordmark {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.08em;
  text-decoration: none;
}

.snarkle-wordmark span {
  color: var(--green);
}

.snarkle-webmail {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}

.snarkle-hero {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 1050px;
  padding: 6rem 0;
}

.snarkle-kicker {
  margin: 0 0 1.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.snarkle-hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.78;
}

.snarkle-summary {
  max-width: 560px;
  margin: 2.5rem 0 0 auto;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.snarkle-footer {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.snarkle-orbit {
  position: absolute;
  z-index: 1;
  width: min(60vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgb(169 207 120 / 32%);
  border-radius: 50%;
}

.orbit-one {
  top: -32vw;
  right: -15vw;
}

.orbit-two {
  bottom: -38vw;
  left: 4vw;
}

@media (max-width: 640px) {
  .snarkle-hero {
    padding: 4rem 0;
  }

  .snarkle-hero h1 {
    font-size: clamp(3.4rem, 18vw, 6rem);
  }

  .snarkle-summary {
    margin-left: 0;
  }

  .snarkle-footer {
    align-items: flex-end;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
