@font-face {
  font-family: "Edgecutting Lite Medium";
  src: url("fonts/EdgecuttingLiteMedium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #ffffff;
  --brand: #382323;
  --green: #174c36;
  --green-hover: #103b29;
  --text: #382323;
  --muted: #6a605c;
  --line: #e7dfdc;
  font-family: "Edgecutting Lite Medium", Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 280px;
}

.page {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.brand {
  display: flex;
  justify-content: center;
}

.brand img {
  display: block;
  width: 15rem;
  max-width: 100%;
  height: auto;
}

.content {
  width: 100%;
  max-width: 48rem;
  margin: auto;
  padding: 4rem 0 5rem;
  text-align: center;
}

h1 {
  margin: 0 0 1.75rem;
  color: var(--brand);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.message {
  max-width: 32rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.message p {
  margin: 0;
}

.whatsapp-button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
  padding: 1rem 1.75rem;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.whatsapp-button:hover {
  border-color: var(--green-hover);
  background: var(--green-hover);
}

.whatsapp-button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

.whatsapp-button svg {
  width: 1.375rem;
  height: 1.375rem;
  flex: none;
}

.page::after {
  width: 3rem;
  height: 1px;
  margin: 0 auto;
  background: var(--line);
  content: "";
}

@media (max-width: 420px) {
  .content {
    padding: 3.5rem 0;
  }

  .whatsapp-button {
    width: 100%;
    max-width: 19rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-button {
    transition: none;
  }
}
