:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.65;
  color: #30222a;
  background: #fff7fa;
}
* { box-sizing: border-box; }
body { margin: 0; padding: clamp(16px, 5vw, 48px); }
.legal-card {
  width: min(100%, 680px);
  margin-inline: auto;
  padding: clamp(20px, 5vw, 40px);
  border: 1px solid #f1d8e4;
  border-radius: 20px;
  background: #fff;
  overflow-wrap: anywhere;
}
.age-card { max-width: 464px; }
.legal-brand { display: inline-block; }
.legal-brand img { display: block; width: 138px; height: auto; }
h1 { margin: 18px 0 12px; font-size: clamp(1.375rem, 5vw, 1.9rem); line-height: 1.3; }
h2 { margin: 26px 0 8px; font-size: 1.05rem; }
p, dl { margin: 0 0 12px; }
a { color: #8c285a; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid #8c285a; outline-offset: 3px; }
.notice { padding: 10px 14px; border-radius: 8px; background: #fbeef4; }
.error { color: #9b243e; }
nav { display: flex; flex-wrap: wrap; gap: 10px 16px; border-top: 1px solid #f1d8e4; margin-top: 26px; padding-top: 16px; font-size: 0.875rem; }
.legal-details dt { margin-top: 12px; font-weight: 700; }
.legal-details dd { margin-inline-start: 0; }
form { display: grid; gap: 12px; margin-top: 18px; }
form label { display: flex; align-items: center; gap: 10px; min-height: 38px; }
form input { accent-color: #9a3267; width: 19px; height: 19px; flex: none; margin: 0; }
form button { min-height: 44px; border: 0; border-radius: 8px; background: #9a3267; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
form button:disabled { opacity: 0.6; cursor: wait; }
.exit-link { justify-self: center; padding: 6px; }
