:root {
  color-scheme: light;
  --green: #5f9f36;
  --green-deep: #4b8629;
  --black: #071009;
  --ink: #071009;
  --paper-edge: rgba(7, 16, 9, 0.24);
  --shadow: rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--ink);
}

.landing {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px) 0;
}

.background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
  filter: saturate(0.82) contrast(1.08);
}

.scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.1) 44%, rgba(0, 0, 0, 0.26)),
    rgba(0, 0, 0, 0.14);
}

.age-card {
  position: relative;
  z-index: 1;
  width: min(80vw, 460px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(14px, 2vw, 20px) clamp(12px, 2vw, 20px);
  border-radius: 8px;
  border: 1px solid rgba(95, 159, 54, 0.42);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 70px var(--shadow);
  text-align: center;
  transform: none;
}

.age-card::before {
  content: none;
}

.age-button:focus-visible {
  outline: 3px solid rgba(95, 159, 54, 0.65);
  outline-offset: 4px;
}

.age-copy {
  margin: 0;
  color: #747474;
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 1.35;
}

.age-copy strong {
  color: var(--green);
  font-weight: 800;
}

.age-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(100%, 390px);
  margin-top: 0;
}

.age-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 100%;
  min-width: 0;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease;
}

.age-button:hover {
  transform: translateY(-1px);
}

.age-button-yes {
  background: var(--green);
}

.age-button-yes:hover {
  background: var(--green-deep);
}

.age-button-no {
  background: #d8d8d8;
}

.age-button-no:hover {
  background: #c4c4c4;
}

.landing.is-revealed .age-card {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.landing.is-revealed .scrim {
  background: rgba(0, 0, 0, 0.24);
  transition: background 180ms ease;
}

@media (max-width: 720px) {
  .landing {
    padding-block: 18px;
    align-items: center;
  }

  .background {
    object-position: 58% top;
  }

  .age-card {
    min-height: 0;
  }

}

@media (max-width: 420px) {
  .age-card {
    gap: 10px;
    width: min(88vw, 460px);
    padding: 16px 14px;
  }

  .age-actions {
    gap: 8px;
  }
}
