:root {
  color-scheme: dark;
  --bg: #000000;
  --text: #f8fafc;
  --muted: #9aa0aa;
  --blue: #38bdf8;
  --green: #22c55e;
  --gold: #facc15;
  --pink: #f472b6;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  min-height: 100svh;
  padding: 4rem 4rem 6.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.intro {
  width: min(100%, 64rem);
  display: grid;
  justify-items: start;
  gap: 0.46rem;
  max-width: 100%;
}

.wordmark-row {
  max-width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
}

h1 {
  margin: 0;
  font-size: 6.5rem;
  line-height: 0.82;
  font-weight: 760;
  letter-spacing: 0;
}

.duck-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: block;
  flex: 0 0 auto;
  margin-bottom: -0.2rem;
  object-fit: contain;
  filter: drop-shadow(0 0.08rem 0.1rem rgba(0, 0, 0, 0.35));
}

.tagline {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.35rem;
  font-weight: 520;
  letter-spacing: 0;
  color: var(--text);
}

.rainbow-line {
  width: 10.5rem;
  height: 0.18rem;
  margin-top: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--blue), var(--pink));
}

.status {
  margin: 0.65rem 0 0;
  max-width: calc(100vw - 8rem);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.3rem;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .site-shell {
    padding: 2rem 2rem 4.5rem;
  }

  .intro {
    gap: 0.55rem;
  }

  h1 {
    font-size: 5.7rem;
  }

  .duck-mark {
    width: 2.1rem;
    height: 2.1rem;
  }
}

@media (max-width: 520px) {
  .site-shell {
    padding: 1.5rem;
  }

  .wordmark-row {
    gap: 0.35rem;
  }

  h1 {
    font-size: 3.35rem;
  }

  .tagline {
    font-size: 1rem;
    line-height: 1.25rem;
  }

  .rainbow-line {
    width: 8.5rem;
    height: 0.16rem;
    margin-top: 0.5rem;
  }

  .status {
    max-width: 18.5rem;
    font-size: 0.68rem;
    line-height: 1.12rem;
    white-space: normal;
  }

  .duck-mark {
    width: 1.65rem;
    height: 1.65rem;
  }
}

@media (max-width: 360px) {
  .site-shell {
    padding: 1.25rem 1.25rem 2.75rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  .duck-mark {
    width: 1.45rem;
    height: 1.45rem;
  }

  .status {
    max-width: 16.5rem;
  }
}
