:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --fg: #f7f7f7;
  --muted: #b8b8b8;
  --line: #333333;
  --accent: #d32f2f;
  --accent-strong: #ff5470;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--fg);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(211, 47, 47, 0.22),
      transparent 32rem
    ),
    linear-gradient(180deg, #171717 0%, var(--bg) 58%);
}

main {
  width: min(100%, 42rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 4rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo {
  width: clamp(9rem, 38vw, 16rem);
  height: clamp(9rem, 38vw, 16rem);
  margin-bottom: 1.5rem;
  border-radius: 22%;
  box-shadow:
    0 1.5rem 4rem rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.tagline {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 2.8vw, 1.5rem);
  line-height: 1.45;
}

.cta-group {
  width: min(100%, 24rem);
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

a {
  color: inherit;
}

.cta-group a {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  color: var(--fg);
  text-decoration: none;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.cta-group a:first-child {
  border-color: var(--accent);
  background: var(--accent);
}

.cta-group a:hover,
.cta-group a:focus-visible {
  border-color: var(--accent-strong);
  background: rgba(255, 84, 112, 0.2);
  outline: none;
  transform: translateY(-1px);
}

.cta-group a:first-child:hover,
.cta-group a:first-child:focus-visible {
  background: #e13b4b;
}

.links {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.links a {
  color: var(--muted);
  text-decoration-color: rgba(184, 184, 184, 0.5);
  text-underline-offset: 0.2em;
}

.links a:hover,
.links a:focus-visible {
  color: var(--fg);
}

.sep {
  margin: 0 0.45rem;
  color: #696969;
}

@media (max-width: 34rem) {
  main {
    padding-top: 2rem;
    justify-content: flex-start;
  }

  .links {
    max-width: 18rem;
  }
}
