/* Legal pages (/privacy/, /support/, /terms/) and the landing page footer links.
   Palette, type and spacing come from styles.css — these pages are meant to read
   as the same site, just quieter. */
.legal-header { position: sticky; top: 0; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.16); }
.legal { max-width: 720px; margin: 0 auto; padding: 44px 20px 56px; }
.legal-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal-head h1 { margin: 16px 0 0; font-size: clamp(34px, 4.6vw, 50px); }
.legal-meta { margin: 14px 0 0; font: 500 12px/1.7 var(--mono); letter-spacing: .4px; color: var(--muted); }
.legal-lead { margin: 26px 0 0; font-size: 16px; line-height: 1.9; color: #dedcd3; }
.legal-body section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-body h2 { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; margin: 0 0 14px; font-size: 19px; font-weight: 700; }
.legal-body h2 .num { font: 500 11px var(--mono); letter-spacing: 1.2px; color: var(--orange); }
.legal-body p { margin: 0 0 12px; font-size: 15px; line-height: 1.9; color: #cfcec6; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body ul { margin: 0; padding: 0; list-style: none; }
.legal-body li { position: relative; padding-left: 16px; margin-bottom: 9px; font-size: 15px; line-height: 1.85; color: #cfcec6; }
.legal-body li:last-child { margin-bottom: 0; }
.legal-body li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 1px; background: var(--orange); }
.legal-body a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(253,96,10,.65); text-underline-offset: 3px; }
.legal-note { margin-top: 14px; padding: 2px 0 2px 14px; border-left: 2px solid var(--orange); font-size: 15px; line-height: 1.9; color: var(--ink); }
.legal-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.legal-plan { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.legal-plan h3 { margin: 0 0 8px; font-size: 15px; }
.legal-plan ul li { font-size: 13px; line-height: 1.75; }
.legal-plan p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--muted); }
.legal-faq { padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal-faq h2 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.legal-contact { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; margin-top: 6px; padding: 0 18px; border-radius: 8px; background: var(--orange); color: #1b120b; font-size: 14px; font-weight: 700; transition: transform .25s ease; }
.legal-contact:hover { transform: translateY(-2px); }
.lang-switch { padding: 3px 10px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; font: 500 12px var(--mono); letter-spacing: .3px; white-space: nowrap; }
.lang-switch:hover { border-color: var(--orange); }
.site-footer-legal { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer-links a { font-size: 12px; color: #c8c7be; }
.site-footer-links a:hover { color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (max-width: 800px) {
  .legal { padding: 30px 20px 40px; }
  .legal-body h2 { grid-template-columns: 32px 1fr; }
  .legal-plans { grid-template-columns: 1fr; }
  .site-footer-legal { align-items: flex-start; }
  .legal-header nav { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-left: 0; }
  .legal-header nav a { font-size: 12px; }
}

/* Patch: tap targets ≥44px without changing how the nav looks */
.legal-header nav a { position: relative; display: inline-flex; align-items: center; }
.legal-header nav a::after { content: ''; position: absolute; inset: -11px -8px; }
@media (max-width: 800px) { .legal-header nav a::after { inset: -11px -4px; } }

/* Patch: homepage footer legal links >=44px tap target, looks unchanged */
.site-footer-links a { position: relative; display: inline-flex; align-items: center; }
.site-footer-links a::after { content: ''; position: absolute; inset: -15px -9px; }

/* Patch: language switch >=44px tap target, looks unchanged */
.lang-switch { position: relative; display: inline-flex; align-items: center; }
.lang-switch::after { content: ''; position: absolute; inset: -11px 0; }
