/* Terms, Privacy and help pages: the landing page's Blush colours and Rubik (26 Oct 2026), with grain, laid out for long reading. */
:root {
  --bg: #fdf4f1; --bg2: #f9e3e6; --surface: #ffffff; --ink: #2b1f22; --mute: #76626a; --line: #f0d7da;
  --acc: #b9475f; --onacc: #ffffff;
  --display: Rubik, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Rubik, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16.5px; line-height: 1.65; position: relative; isolation: isolate; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-color: var(--ink); opacity: .11;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'180'%20height%3D'180'%3E%3Cfilter%20id%3D'n'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'.85'%20numOctaves%3D'3'%20stitchTiles%3D'stitch'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%201.6%200%200%200%20-.4'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23n)'%2F%3E%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'180'%20height%3D'180'%3E%3Cfilter%20id%3D'n'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'.85'%20numOctaves%3D'3'%20stitchTiles%3D'stitch'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%201.6%200%200%200%20-.4'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23n)'%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size: 180px; mask-size: 180px; }
a { color: var(--acc); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
svg { display: block; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 20px; font-weight: 500; }
.nav-links a { color: var(--mute); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.doc { max-width: 760px; margin: 24px auto 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 56px); }
.doc h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5.4vw, 54px); line-height: 1.02; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.doc .updated { color: var(--mute); font-size: 14.5px; margin: 12px 0 0; }
.doc .short { background: var(--bg2); border-radius: 18px; padding: 18px 22px; margin: 28px 0 8px; }
.doc .short h2 { font-size: 15px; font-family: inherit; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); margin: 0 0 6px; }
.doc .short ul { margin: 0; padding-left: 20px; }
.doc .short li + li { margin-top: 4px; }
.doc h2 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.01em; line-height: 1.2; margin: 40px 0 10px; scroll-margin-top: 20px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc strong { font-weight: 650; }
.doc .caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: .01em; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 650; color: var(--mute); font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; }
.doc .toc { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.doc .toc li { margin: 0; }
.doc .toc a { display: inline-block; text-decoration: none; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.doc .toc a:hover { border-color: var(--acc); color: var(--acc); }

.foot { padding-block: 8px 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--mute); font-size: 14px; }
.foot .legal { display: grid; gap: 4px; justify-items: end; text-align: right; }
.foot .legal p { margin: 0; font-size: 11.5px; line-height: 1.5; opacity: .75; }
.foot .by { font-weight: 600; color: var(--ink); opacity: .85; }
.foot .links a { color: inherit; }
@media (max-width: 600px) {
  .foot .legal { justify-items: start; text-align: left; }
  .doc { border-radius: 22px; margin-top: 8px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { font-weight: 650; }
}
/* the one button on a help page (jelly-journal.html: Open Jelly Journal); white on --acc passes 4.5:1 */
.doc .cta { display: inline-block; margin-top: 8px; padding: 12px 22px; border-radius: 999px; background: var(--acc); color: var(--onacc); font-weight: 700; text-decoration: none; }
.doc .cta:hover { filter: brightness(1.08); }
