/* Shared by privacy.html, support.html and 404.html. Same tokens as the landing page. */
:root {
  --bg: #F5F3EF; --surface: #ECE9E3; --card: #FFFFFF; --line: #E2DED6;
  --ink: #111217; --muted: #5F6270; --accent: #FFB81C; --accent-ink: #8F5A00; --ok: #1F9A62;
  --nav-bg: rgb(245 243 239 / .78);
  --shadow: 0 24px 60px -32px rgb(17 18 23 / .28);
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-ui: 'Inter Tight', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0C10; --surface: #14151B; --card: #1B1C23; --line: #262731;
    --ink: #F3F1EC; --muted: #8E91A3; --accent-ink: #FFB81C; --ok: #34C782;
    --nav-bg: rgb(11 12 16 / .74); --shadow: 0 24px 60px -30px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0C10; --surface: #14151B; --card: #1B1C23; --line: #262731;
  --ink: #F3F1EC; --muted: #8E91A3; --accent-ink: #FFB81C; --ok: #34C782;
  --nav-bg: rgb(11 12 16 / .74); --shadow: 0 24px 60px -30px rgb(0 0 0 / .8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap {
  width: 100%; max-width: 760px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 721px) { .wrap { padding-left: 32px; padding-right: 32px; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--nav-bg); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); padding-top: env(safe-area-inset-top, 0px); }
.nav .wrap { max-width: 1180px; display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 20px; margin-left: auto; font-size: 14.5px; font-weight: 550; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

/* Page */
main { flex: 1; padding-block: 56px 88px; }
@media (min-width: 721px) { main { padding-block: 88px 112px; } }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.page-h { font-size: clamp(38px, 7vw, 56px); }
.meta { margin-top: 14px; color: var(--muted); font-size: 15px; }
.lede { margin-top: 22px; font-size: 19px; color: var(--muted); }
.lede b { color: var(--ink); font-weight: 600; }

.doc { margin-top: 48px; }
.doc > * + * { margin-top: 16px; }
.doc h2 { font-size: 28px; margin-top: 52px; }
.doc h2 + * { margin-top: 18px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li + li { margin-top: 6px; }
.doc b, .doc strong { font-weight: 600; }
.path { font-weight: 600; white-space: nowrap; }

/* Tables become stacked cards on phones */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 15.5px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 18px; }
.tbl thead th { font-size: 12.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.tbl tbody tr + tr > * { border-top: 1px solid var(--line); }
.tbl tbody th { font-weight: 600; width: 38%; }
.tbl td { color: var(--muted); }
@media (max-width: 600px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100%; }
  .tbl tbody th { width: auto; padding-bottom: 2px; }
  .tbl tbody tr + tr > td { border-top: 0; }
  .tbl td { padding-top: 0; }
}

.nots { list-style: none; padding: 0 !important; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.nots li { margin: 0 !important; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 550; font-size: 15px; }
.nots li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F9A62' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Support */
.contact { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-t { flex: 1 1 260px; }
.contact-t h2 { font-size: 24px; }
.contact-t p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 26px; background: var(--accent); color: #14120C; font-weight: 650; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn svg { flex: none; }

.faq-h { font-size: 28px; margin-top: 64px; }
.faq { margin-top: 18px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; font-weight: 600; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6270' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 2px 22px; color: var(--muted); }
.faq .a > * + * { margin-top: 10px; }
.faq details[open] .a { animation: faq-in .4s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* 404 */
.lost { text-align: center; }
.lost .page-h { margin-top: 8px; }
.lost .lede { margin-inline: auto; max-width: 28em; }
.lost .btn { margin-top: 32px; }

/* Footer, as on the landing page */
footer { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }
footer .wrap { max-width: 1180px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
footer .brand { font-size: 18px; }
footer .brand img { width: 26px; height: 26px; border-radius: 6px; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
