/* ─── AgeGate — age-restricted state eligibility block ──────────────────────
   Full-screen, non-dismissible. z-index 201 — above TermsGate (z 200) since
   age-restricted-state compliance must be checked before even terms can bind.
   Same visual language as terms-gate.css. */

.ag-overlay {
  position: fixed;
  inset: 0;
  z-index: 201;
  background: var(--kith-bg-grad, var(--kith-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(28px, env(safe-area-inset-top, 28px)) 20px
           max(28px, env(safe-area-inset-bottom, 28px)) 20px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ag-card {
  width: 100%;
  max-width: 380px;
  background: var(--kith-surface);
  border: 1px solid var(--kith-border);
  border-radius: 16px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Wordmark ── */
.ag-wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ag-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #F6DD9A, var(--kith-gold, #D1A026) 62%, #B68E2C);
  flex-shrink: 0;
}

.ag-name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--kith-text);
}

/* ── Heading + body ── */
.ag-heading {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--kith-text);
}

.ag-body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--kith-text-muted);
}

.ag-body strong {
  color: var(--kith-text);
  font-weight: 500;
}

.ag-body-small {
  font-size: 0.8125rem;
}

/* ── Verify button (declined state only) ── */
.ag-btn {
  width: 100%;
  padding: 13px 20px;
  background: var(--kith-green);
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 120ms ease, opacity 120ms ease;
}

.ag-btn:hover:not(:disabled) {
  background: var(--kith-accent-ink, #14341F);
}

.ag-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

/* ── Footer / support link ── */
.ag-footer {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--kith-text-dim);
  text-align: center;
}

.ag-link {
  color: var(--kith-green);
  text-decoration: none;
}

.ag-link:hover {
  text-decoration: underline;
}
