/* Shared styling for the legal pages (privacy / terms / refunds).
   Same fonts and colour tokens as the main site, kept lightweight. */
:root {
  --paper: #e8e8ea; --ink: #141416;
  --ink-72: rgba(20,20,22,.72); --ink-56: rgba(20,20,22,.56); --ink-38: rgba(20,20,22,.38);
  --rule: rgba(20,20,22,.13);
  --sh: rgba(79,119,173,.22); --hi: #eef4fb;
  --blue: #a7c4e6;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --display: 'Bricolage', 'Geist', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(.16,1,.3,1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #1c1b19; --ink: #eee9dd;
  --ink-72: rgba(238,233,221,.72); --ink-56: rgba(238,233,221,.54); --ink-38: rgba(238,233,221,.34);
  --rule: rgba(238,233,221,.14);
  --sh: rgba(0,0,0,.6); --hi: rgba(245,240,228,.06);
  color-scheme: dark;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; font-weight: 380; line-height: 1.7;
  letter-spacing: -.008em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
.bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px clamp(20px, 5vw, 40px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}
.back {
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-56); text-decoration: none; transition: color .3s var(--ease);
}
.back:hover { color: var(--ink); }
.toggle {
  width: 42px; height: 42px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--paper); color: var(--ink-72);
  box-shadow: 5px 5px 12px var(--sh), -5px -5px 11px var(--hi);
  transition: box-shadow .38s var(--ease), color .3s var(--ease);
  position: relative; overflow: hidden;
}
.toggle:hover { color: var(--ink); box-shadow: 3px 3px 8px var(--sh), -3px -3px 7px var(--hi); }
.toggle:active { box-shadow: inset 3px 3px 8px var(--sh), inset -3px -3px 7px var(--hi); }
.toggle svg { position: absolute; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.toggle .moon { transform: translateY(120%) rotate(-40deg); opacity: 0; }
:root[data-theme="dark"] .toggle .sun { transform: translateY(-120%) rotate(40deg); opacity: 0; }
:root[data-theme="dark"] .toggle .moon { transform: none; opacity: 1; }
.wrap { max-width: 720px; margin: 0 auto; padding: clamp(40px,7vw,72px) clamp(20px,5vw,40px) 100px; }
h1 {
  font-family: var(--display); font-weight: 480; letter-spacing: -.04em; line-height: 1;
  font-size: clamp(38px, 6vw, 60px); margin-bottom: 10px;
}
.date {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-56); margin-bottom: 40px;
}
h2 {
  font-family: var(--display); font-weight: 500; letter-spacing: -.025em;
  font-size: clamp(21px, 2.4vw, 26px); margin: 44px 0 12px;
}
h3 { font-size: 16px; font-weight: 550; margin: 24px 0 8px; letter-spacing: -.01em; }
p, li { color: var(--ink-72); font-size: 15.5px; }
p + p { margin-top: 12px; }
ul { padding-left: 22px; margin: 10px 0; }
li { margin: 7px 0; }
strong { color: var(--ink); font-weight: 550; }
.lede { color: var(--ink); font-size: 17px; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 52px 0 24px; }
::selection { background: var(--ink); color: var(--paper); }
