@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f8f4;
  --ink: #10262c;
  --accent: #99492f;
  --line: #d3d8d4;
  --gutter: clamp(20px, 6vw, 64px);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 'DM Sans', system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.policy-header, .policy-footer { padding: 18px var(--gutter); }
.policy-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.policy-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.policy-footer { border-top: 1px solid var(--line); }

.policy-main { width: min(100%, 860px); margin: 0 auto; padding: clamp(32px, 7vw, 76px) var(--gutter); }
.policy-kicker { margin: 0 0 .35rem; color: var(--accent); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0 0 1.35rem; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -.045em; }
h2 { margin: 0 0 .55em; font-size: 1.3rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.policy-preview { padding: .75rem 1rem; background: #eeeee7; border-left: 3px solid var(--accent); }
.policy-main section { margin-top: 2rem; }
.policy-button { display: inline-block; padding: .65em .95em; border: 1px solid var(--ink); border-radius: .25rem; font-weight: 700; }
.policy-button:hover { background: #eeeee7; }
.policy-translation { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.policy-translation summary { margin-bottom: .8rem; font-weight: 700; cursor: pointer; }
.policy-notice { display: block; width: min(100%, 595px); height: auto; margin: 0 0 1rem; }

@media print {
  .policy-header, .policy-footer { display: none; }
  body { background: white; }
  .policy-main { width: 100%; padding: 0; }
}
