/* Terms and Privacy pages: the studio's paper, ink and type on a single reading column. */
:root {
  --color-paper: #FFFFFF;
  --color-ink: #14121F;
  --color-muted: #5B5768;
  --color-line: rgba(20, 18, 31, 0.08);
  --color-accent: #3B2BDB;
  --font-display: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(1rem, 4.4vw, 4rem);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.65; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--color-accent); }

/* Same geometry as the studio's top bar so the logo doesn't move between pages */
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: clamp(20px, 5vh, 44px) var(--gutter) 0; }
.legal-brand { display: inline-flex; align-items: center; gap: 9px; height: 44px; text-decoration: none; font-family: var(--font-display); font-weight: 400; }
.legal-brand svg { width: 22px; height: auto; flex-shrink: 0; }
.legal-brand span { font-size: 17px; letter-spacing: -0.02em; line-height: 1; }
@media (max-width: 760px) { .legal-brand { height: 37.8px; } }
.legal-back { display: inline-flex; align-items: center; height: 37.8px; font-size: 0.875rem; font-weight: 500; text-decoration: none; padding: 0 1rem; border-radius: 100px; background: rgba(20, 18, 31, 0.05); }
.legal-back:hover { color: var(--color-ink); background: rgba(20, 18, 31, 0.09); }

.legal { max-width: 42rem; margin: 0 auto; padding: clamp(2.5rem, 8vw, 6rem) var(--gutter) 4rem; }
.legal h1 { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.25rem, 7vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.legal-meta { margin: 1rem 0 0; font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-muted); }
.legal-lede { margin: 2rem 0 0; font-size: 1.125rem; line-height: 1.6; }
.legal h2 { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--color-line); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.005em; }
.legal p, .legal ul { margin: 0.875rem 0 0; color: var(--color-ink); }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: 0.5rem; }
.legal strong { font-weight: 600; }

.legal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; max-width: 42rem; margin: 0 auto; padding: 1.5rem var(--gutter) 2.5rem; border-top: 1px solid var(--color-line); font-size: 0.8125rem; color: var(--color-muted); }
.legal-foot nav { display: flex; gap: 1.25rem; }
.legal-foot a { text-decoration: none; }
.legal-foot a:hover { color: var(--color-ink); }
.legal-foot a[aria-current="page"] { color: var(--color-ink); }
