/* Shared styles for the legal pages: /terms, /privacy, /consumer-health-privacy,
   /business-terms, /partner-terms and /legal/. Hand-written pages, no build step. */
:root {
  --bg: #0B0C10; --surface: #15171D; --surface-2: #1B1E26; --ink: #F1EEE8; --ink2: #C9C6BE; --ink3: #9A978F;
  --lime: #D4F56A; --line: rgba(255,255,255,0.08); --line-2: rgba(255,255,255,0.14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink); font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--lime); color: #12140A; padding: 8px 14px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { left: 16px; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px 80px; }
nav.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0 52px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark img { display: block; height: 28px; width: auto; }
nav.top a.back { color: var(--ink2); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.top a.back:hover { color: var(--ink); }
h1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(30px, 6vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 10px; }
.updated { color: var(--ink3); font-weight: 600; font-size: 14px; margin-bottom: 28px; }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: -12px 0 24px; font-size: 15px; }
h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; margin: 46px 0 12px; scroll-margin-top: 20px; }
h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; color: var(--ink); scroll-margin-top: 20px; }
p, li, td, th, dd { color: var(--ink2); font-weight: 500; }
p + p { margin-top: 12px; }
ul, ol { padding-left: 22px; margin: 10px 0; }
li { margin: 6px 0; }
b, strong { color: var(--ink); font-weight: 700; }
a { color: var(--lime); text-underline-offset: 2px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: 14px; padding: 18px 22px; margin: 6px 0 30px; }
.summary h2 { margin: 0 0 8px; font-size: 18px; }
.summary ul { margin-bottom: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 16px 0; }
.caps { text-transform: none; font-weight: 600; color: var(--ink); }
details.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 20px; margin: 0 0 12px; }
details.toc summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; padding: 4px 0; }
details.toc summary::-webkit-details-marker { display: none; }
details.toc summary::after { content: ' +'; color: var(--ink3); }
details.toc[open] summary::after { content: ' –'; }
details.toc ol { columns: 2 260px; column-gap: 28px; margin: 8px 0 6px; }
details.toc li { margin: 3px 0; break-inside: avoid; font-size: 15px; }
details.toc a { color: var(--ink2); text-decoration: none; }
details.toc a:hover { color: var(--lime); }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--ink); font-weight: 700; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
.doclist { list-style: none; padding: 0; }
.doclist li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
.doclist .sub { display: block; color: var(--ink3); font-size: 14px; }
blockquote { border-left: 3px solid var(--line-2); padding: 6px 0 6px 16px; margin: 12px 0; color: var(--ink2); }
footer.legal-foot { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 22px; font-size: 14px; color: var(--ink3); }
footer.legal-foot a { color: var(--ink2); margin-right: 14px; display: inline-block; padding: 4px 0; }
@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #f3f3f3; --ink: #000; --ink2: #222; --ink3: #555; --lime: #000; --line: #ccc; --line-2: #999; }
  nav.top, details.toc, footer.legal-foot, .skip { display: none; }
  a { color: #000; }
  h2 { break-after: avoid; }
}
