:root {
  --ink: #301323;
  --muted: #7d5a6c;
  --paper: #fff9fc;
  --paper-2: #fff0f6;
  --coral: #ff2480;
  --coral-dark: #e50067;
  --line: rgba(48, 19, 35, .13);
  --shadow: 0 22px 60px rgba(111, 28, 60, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.serif { font-family: Georgia, "Times New Roman", serif; }

.legal-header { padding: 22px 0; color: #fff; background: var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.brand-mark { width: 31px; height: 31px; overflow: hidden; border-radius: 9px; background: #fff; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.76); font-size: 12px; font-weight: 700; }
.back-link::before { content: "<-"; color: var(--coral); }
.back-link:hover { color: #fff; }

.legal-hero { padding: 82px 0 70px; background: linear-gradient(115deg, #ff0d73 0%, #ff3c91 46%, #ff90b8 100%); color: #fff; }
.legal-kicker { margin: 0 0 14px; color: rgba(255,255,255,.76); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.legal-hero h1 { margin: 0; max-width: 780px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 7vw, 84px); letter-spacing: -.07em; line-height: .95; }
.legal-meta { margin: 22px 0 0; color: rgba(255,255,255,.8); font-size: 12px; }

.legal-layout { display: block; padding: 76px 0 110px; }
.legal-content { width: min(760px, 100%); min-width: 0; margin: 0 auto; }
.legal-summary { margin-bottom: 34px; padding: 19px 22px; border-left: 3px solid var(--coral); color: var(--muted); background: var(--paper-2); font-size: 15px; line-height: 1.7; }
.legal-summary p { margin: 0; }
.legal-section { padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-section:first-of-type { padding-top: 0; border-top: 0; }
.legal-section h2 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 29px; letter-spacing: -.045em; line-height: 1.05; }
.legal-content h4 { margin: 34px 0 14px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 25px; letter-spacing: -.035em; line-height: 1.1; scroll-margin-top: 24px; }
.legal-content h4:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #5d5260; font-size: 14px; line-height: 1.8; }
.legal-content p { margin: 0 0 16px; }
.legal-content ol, .legal-content ul { margin: 10px 0 0; padding-left: 24px; }
.legal-content li { margin: 0 0 16px; padding-left: 5px; }
.legal-content li:last-child { margin-bottom: 0; }
.legal-content strong { color: var(--ink); }
.legal-section h3 { margin: 22px 0 10px; font-size: 15px; }
.legal-section p, .legal-section li { color: #5d5260; font-size: 14px; line-height: 1.75; }
.legal-section p { margin: 0 0 14px; }
.legal-section ol { margin: 8px 0 0; padding-left: 22px; }
.legal-section li { margin: 6px 0; padding-left: 4px; }
.legal-section strong { color: var(--ink); }
.legal-section a { color: var(--coral-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-callout { margin-top: 16px; padding: 16px; border: 1px solid var(--line); background: var(--paper-2); color: var(--muted); font-size: 13px; line-height: 1.6; }

.legal-footer { padding: 32px 0; color: rgba(255,255,255,.62); background: var(--ink); font-size: 11px; }
.legal-footer .container { display: flex; justify-content: space-between; gap: 20px; }
.legal-footer a:hover { color: #fff; }

@media (max-width: 760px) {
  .container { width: min(100% - 36px, 560px); }
  .legal-hero { padding: 60px 0 54px; }
  .legal-layout { display: block; padding: 50px 0 78px; }
  .legal-section h2 { font-size: 26px; }
  .legal-footer .container { display: block; }
  .legal-footer span { display: block; margin-top: 10px; }
}
