@font-face {
  font-family: "Epilogue";
  src: url("assets/epilogue-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #edf0eb;
  --card: #fbfcf9;
  --frame: #e5e9e1;
  --green: #3f5947;
  --text: #526458;
  --muted: #708272;
  --line: #d8ded4;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Epilogue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(16px, 3vw, 36px);
}

.card {
  width: min(100%, 800px);
  padding: clamp(14px, 1.8vw, 20px);
  border: 1px solid var(--frame);
  border-radius: 18px;
  background: var(--card);
}

.brand {
  margin: 3px 0 18px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
}

.content {
  padding: clamp(12px, 2.5vw, 26px) clamp(4px, 2vw, 18px) 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 17px;
  color: var(--green);
  font-size: clamp(2rem, 4.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.content > p:not(.eyebrow) {
  max-width: 690px;
  margin: 0 auto 17px;
  font-size: .91rem;
  line-height: 1.65;
}

.content > p.thank-you {
  max-width: none;
  margin: 25px 0 0;
  padding: 21px 0 4px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}

@media (max-width: 600px) {
  .page { align-items: start; }
  .card { border-radius: 14px; }
  .brand { margin-bottom: 15px; font-size: .72rem; }
  .content { padding-top: 19px; }
  h1 { font-size: clamp(1.7rem, 7.2vw, 2.1rem); }
  .content > p:not(.eyebrow) { font-size: .88rem; line-height: 1.7; }
}
