@font-face {
  font-family: Montserrat;
  src: url('/fonts/montserrat-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Montserrat, Arial, sans-serif;
  background: #0b0c0f;
  color: #f5f3ef;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(ellipse at 15% 15%, #b38b5120, transparent 52%),
    radial-gradient(ellipse at 90% 90%, #53647c1a, transparent 50%);
}

.age-card {
  width: min(100%, 480px);
  padding: 36px 30px 24px;
  text-align: center;
  background: linear-gradient(150deg, #1b1c20, #121316 75%);
  border: 1px solid #ffffff14;
  border-radius: 24px;
  box-shadow: 0 24px 72px #0006, inset 0 1px #ffffff08;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 8px 12px;
  border: 1px solid #e7cda324;
  border-radius: 30px;
  background: #e7cda308;
  color: #e4cda9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

h1 {
  margin: 0;
  font-size: clamp(23px, 5.8vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.04em;
}

.age-line { display: block; }
.age-highlight { color: #efd4a9; }

.description {
  max-width: 300px;
  margin: 16px auto 28px;
  font-size: 13px;
  line-height: 1.8;
  color: #b7b5b3;
}

.actions { display: grid; gap: 10px; }

.button {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 700 15px/1.35 Montserrat, Arial, sans-serif;
  letter-spacing: .015em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.button-yes {
  background: linear-gradient(115deg, #f3dfbb, #e9c58f);
  color: #21190e;
  box-shadow: 0 5px 20px #d5b17a12, inset 0 1px #ffffff50;
}
.button-no { background: #ffffff02; border-color: #d77c804d; color: #e69a9d; }
.button:disabled { opacity: .55; cursor: default; }
.button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (hover: hover) {
  .button-yes:hover:not(:disabled) { background: #f5e1bd; }
  .button-no:hover:not(:disabled) { background: #d77c8012; border-color: #d77c8080; }
}

.status {
  min-height: 20px;
  margin: 16px 0 0;
  color: #b7b5b3;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.status[data-tone="error"] { color: #ff9298; }
.noscript { color: #ff9298; font-size: 13px; line-height: 1.5; }

.card-footer {
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid #ffffff0d;
}

.note {
    font-size: 11.5px;
    color: #8a8f98;
    margin-top: 15px;
    line-height: 1.5;
}

.note a {
    color: #1a73e8;
    text-decoration: none;
}

@media (max-width: 359px) {
  .age-card { padding: 30px 18px 20px; }
  .button { font-size: 14px; }
}
