:root {
  color: #0d0d0d;
  background: #fcfcfc;
  font-family: -apple-system-body, ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid #0d0d0d; outline-offset: 4px; }
.legal-page { min-height: 100vh; display: flex; flex-direction: column; padding: 24px 32px 32px; }
.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-brand { font-size: 22px; font-weight: 600; line-height: 24px; letter-spacing: -.02em; text-decoration: none; }
.legal-login { flex-shrink: 0; padding: 10px 22px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 9999px; text-decoration: none; background: #fff; }
.legal-login:hover { background: #f7f7f7; }
.legal-header:has(.legal-close) { min-height: 44px; padding-right: 64px; }
.legal-close {
  position: fixed;
  z-index: 10;
  top: calc(env(safe-area-inset-top, 0px) + 24px);
  right: max(32px, env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #0d0d0d;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 50%;
  background: rgba(252, 252, 252, .65);
  box-shadow: inset 0 1px rgba(255, 255, 255, .65), 0 8px 24px rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
}
.legal-close:hover { background: rgba(235, 235, 235, .8); }
.legal-content { flex: 1; width: min(760px, 100%); margin: 64px auto; overflow-wrap: anywhere; }
.legal-content h1 { margin: 0 0 16px; font-size: 30px; font-weight: 400; line-height: 36px; }
.legal-content h2 { margin: 32px 0 12px; font-size: 20px; font-weight: 600; line-height: 26px; }
.legal-content p, .legal-content ul { margin: 0 0 16px; }
.legal-content p, .legal-content li { color: #5d5d5d; }
.legal-content strong { color: #0d0d0d; font-weight: 600; }
.legal-content ul { padding-left: 24px; }
.legal-content li { margin-bottom: 12px; }
.legal-footer { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #8f8f8f; }
.legal-e-mark { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #0d0d0d; border-radius: 8px; background: #fff; color: #0d0d0d; font-size: 16px; font-weight: 600; line-height: 20px; }
.legal-footer nav { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 16px; }
@media (max-width: 600px) {
  .legal-page { padding: 24px 20px; }
  .legal-brand { font-size: 18px; }
  .legal-login { padding: 8px 16px; }
  .legal-close { right: max(20px, env(safe-area-inset-right, 0px)); }
  .legal-content { margin: 40px auto; }
  .legal-privacy .legal-content { margin-top: 20px; }
}
