/* Deskglow's legal pages (privacy, terms, refunds): the landing page's fir ground, New York headings, SF body,
   one reading column. Tokens and the footer are copies of the ones in index.html; keep them in step. */
:root {
  --fir: #132518; --fir-deep: #0d1a11; --amber: #f7bd57; --amber-hi: #ffcb6e; --cream: #f7edd9; --glow: #ffedbd;
  --ink: var(--cream); --ink-2: rgb(247 237 217 / 0.8); --ink-3: rgb(247 237 217 / 0.62); --rule: rgb(255 237 189 / 0.13);
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1); --gutter: max(18px, 4vw);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; color-scheme: dark; }
body { margin: 0; overflow-x: clip; background: var(--fir); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--glow); text-underline-offset: 3px; text-decoration-color: rgb(247 189 87 / 0.6); overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* the top: the wordmark home, and the one main action */
.lh { border-bottom: 1px solid var(--rule); }
.lh-in { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); }
.lh .brand { display: inline-flex; align-items: center; min-height: 44px; font: 600 1.3rem/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.lh .get { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 600 0.95rem/1 var(--sans); white-space: nowrap;
  color: var(--fir); background: var(--amber); text-decoration: none; transition: transform 0.15s var(--ease), background-color 0.2s var(--ease); }
.lh .get:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .lh .get:hover { background: var(--amber-hi); } }

/* the page itself */
main { padding: clamp(44px, 8vw, 96px) var(--gutter) clamp(64px, 9vw, 120px); }
.doc { max-width: 68ch; margin: 0 auto; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 600; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { margin: 48px 0 10px; font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem); line-height: 1.2; letter-spacing: -0.015em; }
.updated { margin: 12px 0 0; font-size: 0.95rem; color: var(--ink-3); }
.lede { margin: 28px 0 0; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); line-height: 1.6; color: var(--ink); }
p, li { color: var(--ink-2); text-wrap: pretty; }
p { margin: 0; }
p + p, p + ul, ul + p { margin-top: 14px; }
ul { margin: 0; padding-left: 1.2em; }
li + li { margin-top: 6px; }
li::marker { color: var(--amber); }
strong { font-weight: 600; color: var(--ink); }

/* the footer: who sells it, the legal pages, the fine print. A copy of index.html's. */
footer { padding: 22px var(--gutter) 30px; background: var(--fir-deep); font-size: 0.875rem; line-height: 1.5; color: var(--ink-3); }
.f-in { max-width: 1320px; margin: 0 auto; }
.f-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
footer b { font: 600 1rem/1 var(--serif); color: var(--ink); }
footer nav { display: flex; flex-wrap: wrap; margin: 0 -10px; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
footer nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { footer nav a:hover { color: var(--glow); text-decoration: underline; text-underline-offset: 3px; } }
footer .fine { margin-top: 6px; max-width: 62em; font-size: 0.8125rem; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { .lh .get { transition: none; } }
