:root {
  color-scheme: light dark;
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f5f0;
  color: #172016;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: clamp(1rem, 5vw, 3rem);
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f7f8f3, #e6eee1);
}

.card {
  width: min(100%, 38rem);
  padding: clamp(1.5rem, 6vw, 3rem);
  border: 1px solid #c8d3c3;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 1.25rem 4rem rgb(42 67 36 / 12%);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #356b3a;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 7vw, 3rem);
  line-height: 1.05;
  text-wrap: balance;
}

.intro,
.privacy {
  line-height: 1.6;
}

.intro {
  margin: 1.25rem 0;
  font-size: 1.05rem;
}

.status {
  margin: 1.5rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: #eef1eb;
  line-height: 1.45;
}

.status--valid {
  background: #e2f3df;
  color: #174f20;
}

.status--invalid {
  background: #f8e6e3;
  color: #76271f;
}

button {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 0.8rem;
  background: #286832;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover:not(:disabled) {
  background: #1f5628;
}

button:focus-visible {
  outline: 0.2rem solid #78aee8;
  outline-offset: 0.2rem;
}

button:disabled {
  background: #9ba49a;
  cursor: not-allowed;
  opacity: 0.75;
}

.privacy {
  margin: 1.25rem 0 0;
  color: #4b5749;
  font-size: 0.9rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #10160f;
    color: #edf3ea;
  }

  body {
    background: linear-gradient(145deg, #151d14, #202d1e);
  }

  .card {
    border-color: #3f513b;
    background: #182217;
    box-shadow: 0 1.25rem 4rem rgb(0 0 0 / 30%);
  }

  .eyebrow {
    color: #9dd3a2;
  }

  .status {
    background: #263224;
  }

  .status--valid {
    background: #183d1e;
    color: #c9efca;
  }

  .status--invalid {
    background: #48221f;
    color: #ffd1cb;
  }

  .privacy {
    color: #bcc8b8;
  }
}
