/* Terms and Privacy pages: same brand as the landing page, laid out for long reading */
:root {
  --sky: #0EA5E9; --sky-deep: #0284C7; --sky-bg: #E0F2FE; --mist: #F0F9FF;
  --ink: #0F172A; --text: #334155; --slate: #64748B; --line: #E2E8F0; --page: #F3F8FC; --orange: #F0582B;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
html, body { margin: 0; }
body { background: var(--page); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--sky-deep); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header { padding: 16px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; display: block; }
.brand b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.brand small { display: block; font-size: 12px; font-weight: 600; color: var(--sky-deep); margin-top: 1px; }
.login { font-size: 14px; font-weight: 700; color: #fff; background: var(--orange); border-radius: 12px; padding: 8px 16px; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 10px rgba(240,88,43,.22); }

.doc { max-width: 780px; background: #fff; border-radius: 24px; padding: 40px 48px 48px; margin-top: 12px; margin-bottom: 48px; box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 6px 18px rgba(15,23,42,.05); }
.eyebrow { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-deep); }
h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -.03em; font-weight: 800; margin: 8px 0 6px; }
.meta { margin: 0 0 24px; font-size: 14px; color: var(--slate); }
h2 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin: 36px 0 10px; }
h3 { font-size: 16px; font-weight: 800; margin: 20px 0 6px; }
p, li { font-size: 15.5px; line-height: 1.65; color: var(--text); }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 6px; }
b { color: var(--ink); }
.callout { background: var(--mist); border-radius: 16px; padding: 16px 18px; margin: 16px 0; }
.ph { background: #FEF3C7; color: #92400E; border-radius: 6px; padding: 0 5px; font-weight: 600; }

.toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; margin: 8px 0 8px; }
.toc a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 3px 0; }
.toc a:hover { text-decoration: underline; }

footer { padding: 26px 0 40px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--slate); font-size: 13.5px; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { font-weight: 700; text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .doc { padding: 26px 20px 32px; border-radius: 18px; }
  .toc { grid-template-columns: 1fr; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .brand b { font-size: 17px; } .brand small { font-size: 11.5px; }
}
