:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #20205f;
  --wine: #a03247;
  --text: #494957;
  --line: #d9d6e3;
  --gutter: clamp(24px, 5vw, 72px);
  font-family: Marianne, "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-inline: var(--gutter);
}

.masthead {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-block: 32px 12px;
}
.logo { display: block; width: 228px; max-width: 100%; height: auto; }

.welcome {
  display: grid;
  place-items: center;
  padding-block: clamp(44px, 6vh, 88px) 64px;
  text-align: center;
}
.welcome-copy { width: min(100%, 940px); }
h1 {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.intro {
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  text-wrap: balance;
}
.actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  margin-top: 38px;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 56px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.action svg { flex: none; }
.action-primary {
  color: #fff;
  background: var(--wine);
  box-shadow: 0 5px 16px -10px #67203380;
}
.action-primary:hover { background: #86263b; }
.action-secondary { color: var(--ink); border-color: #817795; }
.action-secondary:hover { background: #eeebf2; border-color: var(--ink); }
.action:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}

.updates {
  width: min(100%, 880px);
  margin-inline: auto;
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.mail-mark { flex: none; color: var(--wine); }
.updates p {
  max-width: 53ch;
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

@media (max-width: 600px) {
  .masthead { padding-block: 24px 0; }
  .logo { width: 196px; }
  .welcome { padding-block: 48px 44px; }
  h1 { font-size: clamp(36px, 10.5vw, 44px); }
  .intro { margin-top: 22px; }
  .actions { flex-direction: column; gap: 12px; margin: 30px auto 0; max-width: 360px; }
  .action { width: 100%; }
  .updates { padding-block: 24px 30px; gap: 14px; align-items: flex-start; }
  .mail-mark { width: 26px; height: 26px; margin-top: 1px; }
  .updates p { font-size: 16px; line-height: 1.65; }
}

@media (prefers-reduced-motion: no-preference) {
  .action { transition: background-color .15s ease, border-color .15s ease; }
}
@media (forced-colors: active) {
  .action { border: 1px solid ButtonText; }
}
