/* Legal pages and the 404 in the look of the product page: ink on warm paper, Newsreader headlines, one cherry accent. */
:root {
  color-scheme: light;
  --paper: #F6F1EA;
  --card: #FFFDF9;
  --ink: #1D1A16;
  --ink-2: #5A5147;
  --line: rgba(29, 26, 22, .14);
  --cherry: #7A2232;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 Manrope, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 780px; margin: auto; padding: 32px max(20px, env(safe-area-inset-left)) 48px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
a { color: inherit; overflow-wrap: anywhere; text-decoration-color: rgba(29, 26, 22, .28); text-underline-offset: 4px; }
a:hover { color: var(--cherry); text-decoration-color: var(--cherry); }
a:focus-visible { outline: 2px solid var(--cherry); outline-offset: 3px; border-radius: 6px; }
.back { font: 500 22px/1 Newsreader, Georgia, serif; letter-spacing: -.01em; text-decoration: none; }
header a:not(.back) { color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; }
main { margin-block: 28px; padding: clamp(20px, 4vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: 0 16px 40px rgba(29, 26, 22, .06); }
h1 { margin: 0 0 16px; font: 400 clamp(2rem, 5vw, 3rem)/1.08 Newsreader, Georgia, serif; letter-spacing: -.03em; overflow-wrap: anywhere; }
h2 { font-size: 1.1rem; line-height: 1.4; font-weight: 600; margin: 28px 0 8px; scroll-margin-top: 20px; }
h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
p, ul { margin: 0 0 12px; }
main > :last-child { margin-bottom: 0; }
footer { color: var(--ink-2); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a[aria-current] { color: var(--ink); font-weight: 600; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; text-decoration: none; }
.btn:hover { background: #38312a; color: var(--paper); }
