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

:root {
  color-scheme: light dark;

  --bg: #f5f5f5;
  --text: #2a2a2a;
  --text-muted: #5c5c5c;
  --glow: rgba(245, 166, 35, 0.14);
  --accent-start: #e89410;
  --accent-end: #d44f1a;

  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-xl: 2rem;
  --space-2xl: clamp(2.5rem, 6vw, 3.5rem);
  --page-inline: clamp(1.25rem, 3vw, 2rem);
  --page-block: clamp(1.5rem, 4vw, 2.5rem);
  --content-max: 40rem;
  --copy-max: 38ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --text: #d4d4d4;
    --text-muted: #9a9a9a;
    --glow: rgba(245, 166, 35, 0.08);
    --accent-start: #f5a623;
    --accent-end: #e85d2a;
  }
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: max(var(--page-block), env(safe-area-inset-top, 0px))
    max(var(--page-block), env(safe-area-inset-bottom, 0px));
  padding-inline: max(var(--page-inline), env(safe-area-inset-left, 0px))
    max(var(--page-inline), env(safe-area-inset-right, 0px));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(
    ellipse 60% 50% at 50% 42%,
    var(--glow) 0%,
    transparent 70%
  );
}

@media (prefers-color-scheme: dark) {
  body {
    line-height: 1.65;
  }
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
  width: 100%;
  max-width: var(--content-max);
  text-align: center;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
}

.logo {
  display: block;
}

.logo img {
  display: block;
  width: clamp(10rem, 42vw, 12.5rem);
  height: auto;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--accent-end);
}

@media (prefers-color-scheme: dark) {
  h1 {
    color: var(--accent-start);
  }
}

p {
  margin: 0;
  max-inline-size: var(--copy-max);
  font-size: 1.0625rem;
  line-height: inherit;
  text-wrap: pretty;
  color: var(--text-muted);
}
