/* Colors from the logo; fonts from modernfontstacks.com (Geometric Humanist, Monospace Code) */
:root {
  --navy: #14213d;
  --navy-deep: #0d1629;
  --gold: #e8c872;
  --gold-hover: #f0d68f;
  --cream: #f3ebd6;
  --cream-muted: rgba(243, 235, 214, 0.68);
  --font: Avenir, Montserrat, Corbel, "URW Gothic", source-sans-pro, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: radial-gradient(ellipse at 50% 35%, var(--navy) 0%, var(--navy-deep) 75%) fixed, var(--navy-deep);
  color: var(--cream);
  font-family: var(--font);
  line-height: 1.5;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: clamp(8rem, 30vw, 11rem);
  height: auto;
  margin-bottom: 0.5rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.tagline {
  margin: 0.75rem 0 0;
  font-size: 1.125rem;
  color: var(--gold);
}

.lead {
  margin: 0.5rem 0 2.25rem;
  color: var(--cream-muted);
}

.download {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.75rem;
  border-radius: 0.6rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(232, 200, 114, 0.55);
  transition: background-color 150ms ease, transform 150ms ease;
}

.download:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.download:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.download-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.meta {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--cream-muted);
}

.mono {
  font-family: var(--mono);
  font-size: 0.8125rem;
}

@media (prefers-reduced-motion: reduce) {
  .download {
    transition: none;
  }
  .download:hover {
    transform: none;
  }
}
