:root {
  color-scheme: light dark;

  --background: #f8fafc;
  --surface: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --accent: #2563eb;
  --line: #e2e8f0;
  --button-background: #ffffff;
  --button-text: #111827;
  --button-border: #cbd5e1;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    --background: #020617;
    --surface: #0f172a;
    --text: #f8fafc;
    --muted: #94a3b8;
    --accent: #38bdf8;
    --line: #1e293b;
    --button-background: #0f172a;
    --button-text: #f8fafc;
    --button-border: #334155;
  }
}

html[data-theme="dark"] {
  --background: #020617;
  --surface: #0f172a;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --line: #1e293b;
  --button-background: #0f172a;
  --button-text: #f8fafc;
  --button-border: #334155;
}

html[data-theme="light"] {
  --background: #f8fafc;
  --surface: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --accent: #2563eb;
  --line: #e2e8f0;
  --button-background: #ffffff;
  --button-text: #111827;
  --button-border: #cbd5e1;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 1rem;
  display: grid;
  place-items: center;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
}

.site-card {
  width: min(100%, 42rem);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
}

.theme-control {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 3rem;
}

button {
  appearance: none;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--button-text);
  background: var(--button-background);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.identity {
  text-align: left;
}

.eyebrow {
  margin: 0 0 0.875rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(2.4rem, 12vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 760;
}

.tagline {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 5vw, 1.4rem);
  line-height: 1.55;
}

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  margin-top: 2.25rem;
  color: var(--muted);
}

.signals span {
  font-size: 0.95rem;
}

.signals span:not(:last-child)::after {
  content: "·";
  margin-left: 0.7rem;
  color: var(--line);
}

@media (min-width: 640px) {
  body {
    padding: 2rem;
  }

  .site-card {
    padding: 2rem;
    border-radius: 2rem;
  }

  .identity {
    text-align: center;
  }

h1 {
  max-width: 100%;
  margin-inline: auto;
}

  .tagline {
    margin-inline: auto;
  }

  .signals {
    justify-content: center;
  }
}

@media (min-width: 960px) {
  .site-card {
    padding: 2.5rem;
  }
}