:root {
  color-scheme: light dark;
  --bg: #f6f8fb;
  --text: #0f1b2d;
  --muted: #55657a;
  --grid: rgba(42, 120, 214, 0.08);
  --accent: #2a78d6;
  --curve: #ee6a2f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --text: #e8eef7;
    --muted: #93a3b8;
    --grid: rgba(57, 135, 229, 0.12);
    --accent: #3987e5;
  }
}

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

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

body {
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center center;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  text-align: center;
}

.logo {
  width: 112px;
  height: 112px;
  margin-bottom: 32px;
  border-radius: 22%;
  box-shadow: 0 12px 32px rgba(42, 120, 214, 0.25);
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 9vw, 5rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

h1 .bench {
  color: var(--accent);
}

.tagline {
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 3.2vw, 1.4rem);
  font-weight: 450;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.trace {
  width: min(360px, 80vw);
  height: 40px;
  margin-top: 40px;
}

.trace path {
  fill: none;
  stroke: var(--curve);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tagline a {
  color: var(--accent);
}

footer {
  padding: 24px 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

footer a {
  color: inherit;
}
