/* Shared styles for the legal pages (privacy policy, EULA). Plain HTML, no React. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F4EFE6;
  color: #0A0A0A;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: #8B6F3F; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #0A0A0A; }
a:focus-visible { outline: 3px solid #00A6FB; outline-offset: 3px; }
::selection { background: #0A0A0A; color: #F4EFE6; }

/* Header and footer mirror index.html exactly. */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 48px; background: rgba(244,239,230,0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10,10,10,0.1);
}
.site-header a { text-decoration: none; }
.site-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: #0A0A0A; }
.site-brand img { height: 30px; width: auto; display: block; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { font-size: 14px; color: rgba(10,10,10,0.7); display: inline-flex; align-items: center; gap: 7px; }
.site-header nav a img { display: block; }
.site-header nav a:hover { color: #0A0A0A; }
.site-header nav a.site-pill { padding: 9px 18px; border-radius: 999px; background: #0A0A0A; color: #F4EFE6; font-size: 18px; font-weight: 500; transition: background 160ms; }
.site-header nav a.site-pill:hover { background: #8B6F3F; color: #F4EFE6; }

.site-footer { padding: 52px 48px 40px; border-top: 1px solid rgba(10,10,10,0.12); }
.site-footer a { color: #8B6F3F; text-decoration: none; }
.site-footer a:hover { color: #0A0A0A; }
.site-footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.site-footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.site-footer-brand img { height: 26px; width: auto; display: block; }
.site-footer-tagline { font-size: 18px; line-height: 1.6; color: rgba(10,10,10,0.6); max-width: 280px; margin: 0; }
.site-footer-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(10,10,10,0.4); margin-bottom: 14px; line-height: 1.5; }
.site-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.site-footer-links a { display: inline-flex; align-items: center; gap: 7px; }
.site-footer-links img { display: block; }
.site-footer-bottom { max-width: 1180px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(10,10,10,0.08); font-size: 12.5px; line-height: 1.5; color: rgba(10,10,10,0.4); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.site-footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer-bottom a { color: rgba(10,10,10,0.55); }

.legal-layout {
  max-width: 1180px; margin: 0 auto; padding: 64px 48px 96px;
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start;
}
.legal-toc { position: sticky; top: 92px; font-size: 13.5px; line-height: 1.5; }
.legal-toc-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(10,10,10,0.42); margin-bottom: 14px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.legal-toc a { color: rgba(10,10,10,0.62); text-decoration: none; }
.legal-toc a:hover { color: #0A0A0A; }

.legal-doc { max-width: 720px; }
.legal-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #8B6F3F; margin: 0 0 16px; }
.legal-doc h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 18px; text-wrap: balance; }
.legal-doc h1 em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; color: #8B6F3F; }
.legal-meta { font-size: 14px; color: rgba(10,10,10,0.55); margin: 0 0 40px; }
.legal-doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 56px 0 14px; scroll-margin-top: 84px; text-wrap: balance; }
.legal-doc h3 { font-size: 16.5px; font-weight: 600; margin: 30px 0 8px; }
.legal-doc p, .legal-doc li { color: rgba(10,10,10,0.8); }
.legal-doc ul, .legal-doc ol { padding-left: 22px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc strong { color: #0A0A0A; font-weight: 600; }

.legal-callout { background: #FBF8F2; border: 1px solid rgba(10,10,10,0.1); border-left: 3px solid #8B6F3F; border-radius: 10px; padding: 22px 26px; margin: 0 0 12px; }
.legal-callout p:first-child { margin-top: 0; }
.legal-callout p:last-child, .legal-callout ul:last-child { margin-bottom: 0; }
.legal-caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: 0.01em; }

.legal-table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid rgba(10,10,10,0.1); border-radius: 10px; background: #FBF8F2; }
.legal-table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.legal-table-wrap th, .legal-table-wrap td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid rgba(10,10,10,0.08); }
.legal-table-wrap tr:last-child td { border-bottom: 0; }
.legal-table-wrap th { font-weight: 600; font-size: 13px; color: rgba(10,10,10,0.55); background: rgba(10,10,10,0.03); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; }
  .legal-toc { position: static; border: 1px solid rgba(10,10,10,0.1); border-radius: 10px; padding: 18px 20px; background: #FBF8F2; }
}
@media (max-width: 720px) {
  .site-header { padding: 12px 20px; }
  .site-header nav { display: none; }
  .legal-layout, .site-footer { padding-left: 20px; padding-right: 20px; }
}
@media print {
  .site-header, .legal-toc, .site-footer { display: none; }
  .legal-layout { display: block; padding: 0; }
  body { background: #fff; }
}
