/* Shared styles for privacy.html and terms.html (matches the landing page tokens) */
:root {
  --navy: #111827;
  --navy-2: #1F2937;
  --bronze: #9B7857;
  --bronze-deep: #7A5E42;
  --bronze-wash: #FAF6F1;
  --muted: #5B6472;
  --line: #ECE5DC;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --logo-h: 26px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--navy); font-family: var(--font); font-size: 1.0625rem; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; }
.brand img { height: var(--logo-h); width: auto; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; text-decoration: none; color: var(--navy-2); transition: color .3s; }
.back svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.back:hover { color: var(--bronze-deep); }
.back:hover svg { transform: translateX(-3px); }

/* Content */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-deep); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--bronze); }
.legal h1 { margin: 0; font-size: clamp(2rem, 2vw + 1.3rem, 2.75rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.12; }
.legal .updated { margin: 12px 0 0; color: var(--muted); font-size: .9375rem; }
.intro { margin: 32px 0 0; padding: 20px 24px; border-radius: 16px; background: var(--bronze-wash); border: 1px solid var(--line); color: var(--navy-2); }
.legal h2 { margin: 48px 0 12px; font-size: 1.3rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.legal p { margin: 0 0 14px; color: var(--navy-2); }
.legal ul { margin: 0 0 14px; padding-left: 1.2em; color: var(--navy-2); }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--bronze); }
.legal a { color: var(--bronze-deep); text-underline-offset: 3px; }
.legal a:hover { color: var(--navy); }

/* Footer (same as landing page) */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; color: var(--muted); font-size: .9375rem; }
.footer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-top p { margin: 0; }
.footer-tag { line-height: 1.5; }
.footer-note { font-size: .875rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 28px; font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-links { display: flex; gap: 8px 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-weight: 500; }
.footer-links a, .credit a { position: relative; color: var(--navy); text-decoration: none; transition: color .3s; }
.footer-links a::after, .credit a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.footer-links a:hover, .credit a:hover { color: var(--bronze-deep); }
.footer-links a:hover::after, .credit a:hover::after, .footer-links a[aria-current="page"]::after { transform: scaleX(1); }
.credit a { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-weight: 500; }
.credit a svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.credit a:hover svg { transform: translate(2px, -2px); }

@media (max-width: 767px) {
  :root { --logo-h: 22px; }
  body { font-size: 1rem; }
  .topbar-inner { height: 64px; }
  .back span { display: none; }
  .footer { text-align: center; padding: 48px 0 40px; }
  .footer-top { align-items: center; gap: 12px; }
  .footer-bottom { flex-direction: column; gap: 14px; }
  .footer-links { justify-content: center; }
}
