:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1120px;
  --radius: 8px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

html[data-theme="light"] {
  --bg: #f7f5f2;
  --bg-elevated: #ffffff;
  --bg-muted: #efeeeb;
  --text: #111111;
  --text-muted: #68686d;
  --line: rgba(17, 17, 17, .11);
  --accent: #e53935;
  --accent-strong: #b71c1c;
}

html[data-theme="dark"] {
  --bg: #101010;
  --bg-elevated: #1b1b1d;
  --bg-muted: #242426;
  --text: #f5f5f7;
  --text-muted: #b8b8bf;
  --line: rgba(255, 255, 255, .12);
  --accent: #ff453a;
  --accent-strong: #ff6b61;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
  line-height: 1.5;
  background:
    radial-gradient(circle at 8% 4%, color-mix(in srgb, var(--accent), transparent 80%), transparent 22rem),
    radial-gradient(circle at 92% 7%, color-mix(in srgb, var(--accent-strong), transparent 84%), transparent 24rem),
    var(--bg);
  color: var(--text);
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  padding: .75rem 1rem;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elevated), transparent 16%);
  backdrop-filter: blur(22px) saturate(1.35);
}

.nav-shell {
  width: min(100% - 2rem, var(--max-width));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
}

main {
  width: min(100% - 2rem, var(--max-width));
  min-height: calc(100svh - 154px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.empty-message {
  max-width: 10ch;
  margin: 0;
  color: var(--accent);
  font-size: clamp(4rem, 13vw, 9rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .86;
  text-transform: lowercase;
}

.site-footer {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--text-muted);
  font-size: .9rem;
}

@media (prefers-reduced-motion: no-preference) {
  .empty-message {
    animation: message-rise .72s var(--ease-out) both;
  }
}

@keyframes message-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 620px) {
  .nav-shell,
  main,
  .site-footer {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .nav-shell {
    min-height: auto;
    padding: .75rem 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
