/* 999 Precious — shared style for legal pages (privacy, terms, do-not-sell).
   Standalone on purpose: works next to the dark, light and simple versions. */
:root {
  --navy: #0F1D42;
  --navy-2: #1E3470;
  --text: #0D1730;
  --muted: #4F5B72;
  --line: #E3E7EE;
  --tint: #F4F6F9;
  --error: #C2342B;
  --ok: #1E8E5A;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 16px/1.7 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--navy-2); }
:focus-visible { outline: 3px solid rgba(47, 79, 158, .45); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(820px, 100% - 32px); margin-inline: auto; }

.header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; width: min(1180px, 100% - 32px); margin-inline: auto; }
.brand__logo { height: 38px; width: auto; aspect-ratio: 1780 / 705; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--navy-2); }

.legal { padding: 40px 0 72px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.back:hover { color: var(--navy); }
.back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1 { margin: 0; font-size: clamp(30px, 6.4vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.updated { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
h2 { margin: 36px 0 0; font-size: 19px; line-height: 1.35; font-weight: 700; }
p, li { color: var(--muted); font-size: 15.5px; }
p { margin: 12px 0 0; }
ul { margin: 10px 0 0; padding-left: 20px; }
li + li { margin-top: 6px; }
strong { color: var(--text); }
.table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.ptable { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.ptable th, .ptable td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--muted); }
.ptable th { background: var(--tint); color: var(--text); font-weight: 700; }
.ptable td:first-child { color: var(--text); font-weight: 600; }
.ptable tr:last-child td { border-bottom: 0; }
.note { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); }

/* opt-out form */
.optout { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--tint); }
.optout h2 { margin-top: 0; }
.grid-2 { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 14px; }
@media (min-width: 600px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 5px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field select { width: 100%; min-height: 46px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #D5DBE5; background: #fff; font: inherit; font-size: 16px; color: var(--text); }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(47, 79, 158, .12); }
.optout .btn { margin-top: 16px; min-height: 48px; width: 100%; }
@media (min-width: 600px) { .optout .btn { width: auto; } }
.optout__msg { margin-top: 12px; font-weight: 600; }
.optout__msg.is-error { color: var(--error); }
.optout__msg.is-ok { color: var(--ok); }

.footer { padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 13px; color: #5E687C; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 8px; }
.footer__links a { color: var(--muted); font-weight: 600; text-decoration: none; }
.footer__links a:hover { color: var(--navy); text-decoration: underline; }
.footer p { margin: 0; font-size: 13px; }
