:root {
  color-scheme: light;
  color: #101e39;
  background: #eef4f8;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 100%;
  line-height: 1.55;
  --age-accent: #1957b4;
  --age-muted: #52637a;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; }
.age-layout {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 24px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 44px 16px 32px;
}
.age-logo { width: clamp(124px, 19vw, 172px); height: auto; }
.age-card {
  width: min(100%, 510px);
  background: #fff;
  border: 1px solid #d6e1ed;
  border-radius: 22px;
  box-shadow: 0 22px 64px #15304a1c, 0 4px 14px #15304a08;
  padding: clamp(22px, 6vw, 40px);
}
h1 { margin: 0; font-size: clamp(1.7rem, 5vw, 2.25rem); line-height: 1.15; letter-spacing: -.045em; }
.age-intro { margin: 12px 0 28px; color: var(--age-muted); }
.age-card label { display: block; font-weight: 650; }
.age-hint { margin: 3px 0 10px; color: var(--age-muted); font-size: .875rem; }
.age-date {
  display: block;
  width: 100%;
  min-height: 62px;
  padding: 12px;
  border: 1px solid #7d8da5;
  border-radius: 12px;
  background: #f8fbff;
  color: inherit;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
  direction: ltr;
}
.age-date::placeholder { color: #63748c; opacity: 1; }
.age-date[aria-invalid='true'] { border-color: #a4263b; }
.age-date-row {
  display: flex;
  gap: 8px;
}
.age-date-row .age-date { flex: 1 1 0; min-width: 0; }
.age-calendar:not([hidden]) {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  border: 1px solid #7d8da5;
  border-radius: 9px;
  color: var(--age-accent);
  background: #fff;
}
.age-calendar:focus-within { outline: 3px solid #1257b7; outline-offset: 3px; }
.age-calendar input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  font-size: 16px;
  opacity: 0;
  cursor: pointer;
}
.age-calendar input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
}
.age-error { margin: 10px 0 0; font-size: .925rem; color: #9e2339; }
.age-success { color: #17603f; }
.age-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  margin-block-start: 18px;
  border: 1px solid var(--age-accent);
  border-radius: 999px;
  background: var(--age-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.age-submit:hover { background: #124794; }
.age-policy { margin: 22px 0 0; padding-block-start: 16px; border-block-start: 1px solid #e1e8f0; color: var(--age-muted); font-size: .875rem; }
.age-policy a, .age-exit a { color: #194b96; text-underline-offset: .17em; }
.age-exit { margin: 0; color: var(--age-muted); font-size: .875rem; }
.age-exit a { display: inline-flex; min-height: 44px; align-items: center; padding-inline: 6px; }
.age-preview { margin: 0 0 10px; color: var(--age-accent); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
:focus-visible { outline: 3px solid #1257b7; outline-offset: 3px; }


.age-layout { gap: 6px; padding: clamp(18px, 4vw, 52px) 16px; }
.age-card { position: relative; width: min(100%, 568px); padding: clamp(22px, 5vw, 42px); border-radius: 22px; box-shadow: 0 14px 48px #25486b12; }
.age-logo { display: block; width: 108px; margin: 0 0 24px; }
.age-preview { position: absolute; top: 26px; right: 26px; color: #566980; letter-spacing: 0; text-transform: none; }
.age-card h1 { color: #102d50; font-size: clamp(1.6rem, 5vw, 2.15rem); }
.age-intro { margin: 12px 0 24px; text-wrap: pretty; line-height: 1.6; font-size: .97rem; }
.age-checks { overflow: hidden; background: #f8fafc; border: 1px solid #d8e2ec; border-radius: 14px; }
.age-card .age-check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 15px 18px; transition: background-color 150ms ease; color: #213951; font-weight: 400; font-size: .96rem; line-height: 1.5; cursor: pointer; }
.age-check + .age-check { border-top: 1px solid #d6e1eb; }
.age-check input { width: 19px; height: 19px; margin: 0; align-self: start; margin-top: 3px; accent-color: #15549a; }
.age-check:has(input:checked) { background: #edf5ff; }
.age-check:has(input:focus-visible) { outline: 2px solid #1957b4; outline-offset: -3px; }
.age-submit { margin-top: 18px; border-radius: 12px; min-height: 50px; background: #134f93; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.age-submit:disabled { background: #e3ebf2; border-color: #d5e0ea; color: #506174; cursor: default; }
.age-memory { margin: 9px 0 0; font-size: .8rem; color: var(--age-muted); text-align: center; }
.age-policy, .age-disclaimer { font-size: .8rem; line-height: 1.5; color: #536477; }
.age-disclaimer { margin: 8px 0 0; }
@media (max-width: 480px) {
  .age-layout { padding: 16px 12px; }
  .age-card { padding: 24px 18px; }
  .age-logo { width: 96px; margin-bottom: 18px; }
  .age-card .age-check { padding: 14px; gap: 10px; }
}
@media (hover: hover) { .age-check:not(:has(input:checked)):hover { background: #f0f4f9; } }
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.rva-gate-helix-right{transform:translateY(-50%)} }
