@import url('/fonts/fonts.css');
/* Static legal pages: no script, same paper, ink and cobalt as the product (ui/tokens.css). */
:root {
  --c-bg: #f4f1e9; --c-paper: #fffdf7; --c-ink: #151a2d; --c-muted: #616777; --c-line: #d7d5ce; --c-control: #8a8b93;
  --c-brand: #3966ed; --c-brand-press: #2344a8; --c-accent: #315bdd; --c-soft: #e7e9f2; --c-gold: #f0c266;
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--c-bg); color: var(--c-ink); font: 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--c-accent); text-underline-offset: 3px; }
a:hover { color: var(--c-brand-press); }
:is(a, summary):focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, dl, table { margin: 0; }
.legal-header, .legal, .legal-footer { width: min(760px, 100% - 40px); margin-inline: auto; }
.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.curio-brand-symbol { position: relative; display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; background: var(--c-brand); box-shadow: 0 3px 0 var(--c-brand-press); }
.curio-brand-symbol i { width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; }
.curio-brand-symbol b { position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold); }
.curio-brand-name { font-size: 26px; font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.curio-brand-name > span { color: var(--c-brand); }
.legal-back { font-size: 15px; font-weight: 600; text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.legal .legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 36px; padding: 0; list-style: none; }
.legal .legal-nav li + li { margin-top: 0; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-paper); color: var(--c-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.legal-nav a:hover { border-color: var(--c-accent); }
.legal-nav a[aria-current='page'] { border-color: var(--c-brand); background: var(--c-brand); color: #f6f7fc; }
.legal h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.legal-meta { margin-top: 12px; color: var(--c-muted); font-size: 15px; }
.legal-lead { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--c-line); border-left: 4px solid var(--c-brand); border-radius: 12px; background: var(--c-paper); }
.legal h2 { margin-top: 44px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; text-wrap: balance; }
.legal h3 { margin-top: 24px; font-size: 18px; font-weight: 600; }
.legal p, .legal ul, .legal ol, .legal dl, .legal table { margin-top: 14px; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li + li { margin-top: 6px; }
.legal dl { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 10px 20px; padding: 18px 20px; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-paper); }
.legal dt { color: var(--c-muted); font-size: 15px; }
.legal dd { margin: 0; overflow-wrap: anywhere; }
.legal-toc { padding: 18px 20px 18px 40px !important; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-paper); }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-paper); font-size: 15px; line-height: 1.55; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--c-soft); font-weight: 600; }
.legal-table tr + tr td { border-top: 1px solid var(--c-line); }
.legal-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 64px; padding: 24px 0 36px; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: 15px; }
.legal-footer a { color: inherit; }
main.legal { flex: 1; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr + tr { border-top: 1px solid var(--c-line); }
  .legal-table tr + tr td:first-child { border-top: 0; }
  .legal-table td { border-top: 0 !important; padding: 8px 14px; }
  .legal-table td::before { content: attr(data-label); display: block; color: var(--c-muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
  .legal-table td:first-child { padding-top: 14px; }
  .legal-table td:last-child { padding-bottom: 14px; }
}
@media print { .legal-header, .legal-nav, .legal-footer { display: none; } body { background: #fff; font-size: 12pt; } }
