/* Pre-launch teaser. Palette/type per design doc 03: ink + cream, gold glow on the mark,
   Newsreader for the headline, Public Sans for the rest. */

:root {
  --ink: #12352c;
  --cream: #f4f1ea;
  --cream-faint: rgba(244, 241, 234, 0.55);
  --gold: #c8a24a;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-text-size-adjust: 100%;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.mark {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.mark .glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(200, 162, 74, 0.38), rgba(200, 162, 74, 0) 68%);
  animation: d-pulse 2.6s ease-in-out infinite;
}

.mark span {
  position: relative;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.08;
}

footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 20px 28px 26px;
  font-size: 12.5px;
  color: var(--cream-faint);
}

@keyframes d-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark .glow {
    animation: none;
  }
}

footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 234, 0.3);
}

footer a:hover,
footer a:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--gold);
}
