.legal-main { min-height: 70vh; padding: 64px 0 88px; background: linear-gradient(180deg, #f8fbff 0, #fff 340px); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 820px); gap: 48px; align-items: start; justify-content: center; }
.legal-nav { position: sticky; top: 100px; display: grid; gap: 3px; padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 18px 48px rgba(23,32,51,.07); }
.legal-nav strong { padding: 8px 10px 12px; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.legal-nav a { padding: 10px; border-radius: 10px; text-decoration: none; font-weight: 680; color: var(--muted); }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: var(--brand-dark); background: var(--accent-soft); }
.legal-document { min-width: 0; }
.legal-heading { padding: 34px; border: 1px solid var(--border); border-radius: 28px; background: #fff; box-shadow: 0 24px 70px rgba(23,32,51,.08); }
.legal-kicker { margin: 0 0 10px; color: var(--brand); font-size: .78rem; font-weight: 820; text-transform: uppercase; letter-spacing: .09em; }
.legal-heading h1 { margin-bottom: 16px; font-size: clamp(2.25rem, 5vw, 4.2rem); line-height: 1; }
.legal-heading > p:not(.legal-kicker) { max-width: 690px; color: var(--muted); font-size: 1.08rem; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--border); }
.legal-meta div { display: grid; gap: 2px; }
.legal-meta dt { color: var(--muted); font-size: .75rem; font-weight: 760; text-transform: uppercase; letter-spacing: .06em; }
.legal-meta dd { margin: 0; font-weight: 720; }
.review-notice { display: grid; gap: 4px; margin: 18px 0; padding: 16px 18px; border: 1px solid #f4cc72; border-radius: 16px; color: #60420c; background: #fff8e7; }
.legal-sections { padding: 14px 34px 6px; }
.legal-sections section { padding: 28px 0; border-bottom: 1px solid var(--border); }
.legal-sections h2, .account-request h2, .request-status h2 { margin-bottom: 12px; font-size: clamp(1.35rem, 2.5vw, 1.8rem); letter-spacing: -.025em; }
.legal-sections p { color: #364158; font-size: 1rem; line-height: 1.72; }
.legal-sections p:last-child { margin-bottom: 0; }
.account-request, .request-status { margin-top: 22px; padding: 28px; border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: 0 18px 48px rgba(23,32,51,.06); }
.account-request form, .request-status form, [data-deletion-confirm] { display: grid; gap: 12px; margin-top: 20px; }
.account-request label, .request-status label { font-weight: 730; }
.account-request input:not([type="checkbox"]), .request-status input { min-height: 48px; width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.confirm-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 12px; background: var(--surface-muted); }
.confirm-row input { width: 22px; height: 22px; flex: 0 0 auto; }
.form-status { min-height: 24px; margin: 4px 0 0; color: var(--muted); }
.form-status.is-error { color: #a22525; }
.form-status.is-success { color: #17663d; }
.inline-form { display: flex; gap: 10px; align-items: stretch; }
@media (max-width: 860px) {
  .legal-main { padding-top: 32px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .legal-nav { position: static; display: flex; overflow-x: auto; overscroll-behavior-inline: contain; padding: 10px; scrollbar-width: thin; }
  .legal-nav strong { display: none; }
  .legal-nav a { flex: 0 0 auto; white-space: nowrap; }
}
@media (max-width: 560px) {
  .legal-main { padding: 18px 0 60px; }
  .legal-heading, .account-request, .request-status { padding: 20px; border-radius: 18px; }
  .legal-sections { padding-inline: 8px; }
  .legal-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .legal-meta div:last-child { grid-column: 1 / -1; }
  .inline-form { flex-direction: column; }
}
