:root {
  --bg: #f8fafc;
  --bg-glow: rgba(56, 189, 248, 0.16);
  --ink: #0f172a;
  --muted: #475569;
  --accent: #2563eb;
  --accent-ink: #ffffff;
  --border: #cbd5e1;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --bg-glow: rgba(37, 99, 235, 0.22);
    --ink: #e2e8f0;
    --muted: #94a3b8;
    --accent: #38bdf8;
    --accent-ink: #0b1120;
    --border: #334155;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 16px;
  background:
    radial-gradient(60rem 30rem at 50% -10%, var(--bg-glow), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

h1 {
  margin: 0;
  line-height: 0;
}

.logo {
  width: min(440px, 86vw);
  height: auto;
}

.logo-ink {
  fill: var(--ink);
}

.logo-accent {
  fill: #2563eb;
}

@media (prefers-color-scheme: dark) {
  .logo-accent {
    fill: #38bdf8;
  }
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 3rem;
}

.button {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

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

.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button.primary:hover,
.button.primary:focus-visible {
  filter: brightness(1.08);
  color: var(--accent-ink);
}

.status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

footer {
  padding: 1.5rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
