/* Shared styles for the Privacy, Terms and Refund pages. Tokens match landing.html. */
:root {
  --bg: #ffffff; --ink: #111113; --soft: #3f3f46; --dim: #71717a; --faint: #a1a1aa;
  --line: #e9e9ec; --line-strong: #d8d8dd; --muted: #f5f5f6; --brand: #e5484d;
  --ease: cubic-bezier(.65,.05,.36,1);
}
.dark {
  --bg: #0b0b0d; --ink: #ededef; --soft: #c6c6ce; --dim: #8d8d97; --faint: #6c6c76;
  --line: #25252b; --line-strong: #34343c; --muted: #1b1b20;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 100% - 40px); margin: 0 auto; }

header.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: "Inter Tight", Inter, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.04em; }
.logo .tile { fill: var(--ink); } .logo .r { stroke: var(--bg); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 36px; height: 36px; border-radius: 9px; display: inline-grid; place-items: center; color: var(--dim); border: 0; background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--muted); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .sun { display: none; } .dark .icon-btn .sun { display: block; } .dark .icon-btn .moon { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-radius: 9px; font-weight: 600; font-size: 14px; white-space: nowrap; background: var(--brand); color: #fff; transition: filter .2s; }
.btn:hover { filter: brightness(1.06); }

.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding: 64px 0 96px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.toc h2 { font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.toc ul { list-style: none; display: grid; gap: 4px; }
.toc a { display: block; padding: 6px 10px; margin-left: -10px; border-radius: 8px; color: var(--dim); transition: background .2s, color .2s; }
.toc a:hover { background: var(--muted); color: var(--ink); }
.toc a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--muted); }

article { max-width: 720px; }
.eyebrow { display: block; font-size: 13px; font-weight: 600; color: var(--brand); letter-spacing: .01em; }
article h1 { margin-top: 12px; font-family: "Inter Tight", Inter, sans-serif; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; font-size: clamp(34px, 5vw, 48px); }
.updated { margin-top: 14px; font-size: 14px; color: var(--dim); }
.summary { margin-top: 32px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--muted); font-size: 15px; color: var(--soft); }
.summary strong { color: var(--ink); }
.summary ul { margin: 10px 0 0 18px; display: grid; gap: 6px; }
article h2 { margin-top: 44px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; scroll-margin-top: 88px; }
article h3 { margin-top: 24px; font-size: 16px; font-weight: 600; }
article p, article li { font-size: 15.5px; color: var(--soft); line-height: 1.7; }
article p { margin-top: 12px; }
article ul { margin: 12px 0 0 20px; display: grid; gap: 6px; }
article a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
article strong { color: var(--ink); font-weight: 600; }
table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--soft); }
th { font-weight: 600; color: var(--ink); font-size: 13px; }
.table-wrap { overflow-x: auto; }

footer { border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 13px; color: var(--dim); }
.foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.foot nav a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
  .toc { position: static; margin-bottom: 36px; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { margin-left: 0; border: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  article h1 { font-size: clamp(30px, 9vw, 38px); }
  article h2 { margin-top: 36px; font-size: 18px; }
  .foot nav { margin-left: 0; }
}
