:root {
  --bg: #11110f;
  --bg2: #181816;
  --white: #f5f3ed;
  --muted: rgba(245, 243, 237, 0.62);
  --line: rgba(245, 243, 237, 0.14);
  --font: 'M PLUS 1p', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--bg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.legal-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 15, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.legal-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-logo { color: var(--white); text-decoration: none; }
.legal-logo-main { display: block; font-size: 23px; font-weight: 500; line-height: 1; }
.legal-logo-sub { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.legal-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.legal-nav a { color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; transition: color .2s; }
.legal-nav a:hover { color: var(--white); }

.legal-main { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 82px 0 90px; }
.legal-kicker { margin: 0 0 16px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.legal-title { margin: 0; font-size: clamp(2.15rem, 5vw, 4rem); font-weight: 300; font-style: italic; line-height: 1.08; overflow-wrap: anywhere; }
.legal-date { margin: 18px 0 46px; padding-bottom: 24px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 12px; }
.legal-section { margin-bottom: 38px; scroll-margin-top: 100px; }
.legal-section h2 { margin: 0 0 14px; font-size: 1.28rem; font-weight: 500; }
.legal-section p,
.legal-section li { color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.8; }
.legal-section p { margin: 0 0 12px; }
.legal-section ul { margin: 0; padding-left: 21px; }
.legal-section li { margin-bottom: 7px; }
.legal-section a { color: var(--white); text-underline-offset: 3px; }
.legal-note { padding: 18px 20px; background: var(--bg2); border-left: 2px solid rgba(255,255,255,.55); }

.legal-footer { padding: 38px 0; background: var(--bg2); border-top: 1px solid var(--line); }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 15px 22px; margin-bottom: 24px; }
.legal-footer-links a { color: var(--muted); font-size: 12px; text-decoration: none; }
.legal-footer-links a:hover { color: var(--white); }
.legal-footer-bottom { padding-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; border-top: 1px solid var(--line); }
.legal-copy { color: var(--muted); font-size: 12px; }
.legal-contact { margin-left: auto; color: var(--muted); font-size: 12px; text-decoration: none; }

@media (max-width: 720px) {
  .legal-wrap,
  .legal-main { width: min(100% - 28px, 860px); }
  .legal-header-inner { min-height: 70px; }
  .legal-nav a:not(:last-child) { display: none; }
  .legal-main { padding-top: 54px; }
  .legal-contact { width: 100%; margin-left: 0; }
}
