/* Shared style for terms.html and privacy-policy.html; tokens match index.html */
:root {
  --ink: #071427;
  --navy-2: #143562;
  --accent: #f28c28;
  --accent-dark: #d9731a;
  --text: #1c2536;
  --muted: #667085;
  --bg-alt: #f6f7fb;
  --border: #e7e9f0;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif; color: var(--text); background: #fff; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-dark); }
.wrap { width: min(820px, 100% - 32px); margin-inline: auto; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; width: min(1200px, 100% - 32px); }
.brand img { height: 54px; width: auto; object-fit: contain; display: block; }
.back { font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); transition: background .3s, color .3s, border-color .3s; }
.back:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.doc { padding: 72px 0 96px; animation: fadeUp .9s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-dark); font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.03em; line-height: 1.1; color: var(--ink); margin: 12px 0 8px; }
h1 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; color: var(--accent); }
.updated { color: var(--muted); margin: 0 0 32px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px; background: var(--bg-alt); border-radius: 16px; margin-bottom: 40px; }
.toc a { font-size: .85rem; font-weight: 500; color: var(--text); text-decoration: none; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); transition: border-color .3s, color .3s; }
.toc a:hover { border-color: var(--accent); color: var(--accent-dark); }
h2 { font-size: 1.3rem; color: var(--ink); letter-spacing: -.01em; margin: 44px 0 10px; }
ul { padding-left: 22px; }
li { margin: 6px 0; }
li::marker { color: var(--accent); }
.contact-card { padding: 24px 28px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--navy-2), var(--ink)); }
.contact-card p { margin: 4px 0; }
.contact-card a { color: #ffb35c; font-weight: 600; }

.foot { background: var(--ink); color: rgba(255,255,255,.6); padding: 28px 0; text-align: center; font-size: .88rem; }
.foot a { color: inherit; }
.foot a:hover, .foot a[aria-current] { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .doc { animation: none; }
}
