@font-face {
  font-family: Inter;
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* Match the application's paper, ink, type and square control language. */
:root {
  --canvas: #f4efe7;
  --ink: #1a1816;
  /* words are ink, everywhere (Amit, 29 Oct); was #5a5550 */
  --secondary: var(--ink);
  --accent: #4548e2;
  --border: #d9cfc1;
  --surface: #ebe4d8;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 4px; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: 100%; max-width: 800px; margin-inline: auto; padding: 32px 24px 64px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
header img { width: 108px; height: 48px; object-fit: cover; object-position: center 53%; }
header a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
h1 { font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.035em; margin: 40px 0 16px; }
h2 { font-size: 20px; font-weight: 500; line-height: 1.4; margin: 36px 0 12px; }
h3 { font-size: 16px; font-weight: 600; line-height: 1.5; margin: 28px 0 12px; }
p, li { font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
ul { padding-inline-start: 24px; }
li + li { margin-top: 12px; }
strong { font-weight: 600; }
.meta { font-size: 12px; color: var(--secondary); }
.intro { font-size: 18px; line-height: 1.65; }
.policy-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; margin: 24px 0 32px; border-block: 1px solid var(--border); }
.policy-nav > span { grid-column: 1 / -1; padding-top: 12px; font-size: 12px; color: var(--secondary); }
.policy-nav a { display: flex; align-items: center; min-height: 44px; padding-block: 12px; font-size: 14px; line-height: 1.5; }
/* the request is an indigo word, no fill (Amit, 28 Oct: "one indigo word or a thin icon, no fill"); its tap 44px */
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 14px 0; background: transparent; color: var(--accent); text-decoration: none; font-weight: 600; }
.request { padding: 24px; border: 1px solid var(--border); background: var(--surface); margin: 28px 0; }
.request h2 { margin-top: 0; }
footer { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 480px) {
  .wrap { padding: 24px 20px max(48px, env(safe-area-inset-bottom)); }
  h1 { margin-top: 32px; }
  p, li { line-height: 1.65; }
  .policy-nav { grid-template-columns: minmax(0, 1fr); }
  .policy-nav a + a { border-top: 1px solid var(--border); }
  .request { padding: 20px; }
}
