:root {
  --brand: #146b9d;
  --brand-soft: #5f9fc4;
  --ink: #1c2a36;
  --ink-soft: #5b6b78;
  --paper: #fbfaf6;
  --paper-tint: #f3eee2;
  --rule: rgba(20, 107, 157, 0.12);

  --font-display: ui-serif, "Iowan Old Style", "Apple Garamond", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step-tagline: clamp(1rem, 0.85rem + 0.6vw, 1.15rem);
  --step-wordmark: clamp(2.75rem, 1.6rem + 5vw, 5.25rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #6cb6dd;
    --brand-soft: #8fc7e3;
    --ink: #eef2f6;
    --ink-soft: #aab5bf;
    --paper: #0f1820;
    --paper-tint: #15222c;
    --rule: rgba(108, 182, 221, 0.18);
  }
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, var(--paper-tint), transparent 60%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
}

.card {
  text-align: center;
  max-width: 36rem;
  padding: 2rem 1rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 6px 14px rgba(20, 107, 157, 0.18));
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-wordmark);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

.wordmark__taco {
  color: var(--brand);
}

.wordmark__hat {
  color: var(--ink);
}

.wordmark__tld {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 0.55em;
  letter-spacing: -0.01em;
  margin-left: 0.05em;
  vertical-align: 0.18em;
}

.tagline {
  margin: 1.25rem auto 0;
  max-width: 24rem;
  font-size: var(--step-tagline);
  line-height: 1.5;
  color: var(--ink-soft);
}

.footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  border-top: 1px solid var(--rule);
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    animation: rise 600ms ease-out both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
