/* Closed-site thank-you page (docs/site-closure-plan.md). Palette and faces
   are the site's own (src/css/tokens.css); font URLs are root-absolute because
   every other path on the closed site is rewritten to index.html. */
@font-face {
  font-family: "Arapey";
  src: url("/fonts/Arapey-Regular-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arapey";
  src: url("/fonts/Arapey-Italic-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-VF-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fefcf8;
  --delft-deep: #1e3a5f;
  --terracotta: #e8a87c;
  --ink: #2c2c2c;
  color-scheme: light;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: center;
}

main {
  max-width: 32rem;
}

.sprig {
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
}

h1 {
  margin: 0 0 1.25rem;
  font-family: "Arapey", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 9vw, 3.75rem);
  line-height: 1.1;
  color: var(--delft-deep);
}

h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 1.25rem auto 0;
  background: var(--terracotta);
}

p {
  margin: 0 0 0.5rem;
}

.sign {
  margin-top: 1.75rem;
  font-family: "Arapey", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--delft-deep);
}
