:root {
  color-scheme: light;
  font-family: Helvetica, Arial, "Nimbus Sans", sans-serif;
  color: #1c1c1c;
  background: #e9e8e4;
  font-synthesis: none;
  --rule: #d8d8d8;
  --muted: #5c5c5c;
  --ink: #000030;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.5; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.site-header, main, .site-footer { width: min(100% - 48px, 1040px); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 94px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 18px; font-weight: 700; text-decoration: none; }
.brand img { display: block; flex: 0 0 auto; }
nav { display: flex; gap: 25px; }
nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; }
main { display: flex; justify-content: center; padding-block: 20px 110px; scroll-margin-top: 20px; }
.paper-sheet { width: 595px; min-height: 842px; padding: 43px 47px 46px; background: #fffefa; border: 1px solid #c8c6be; box-shadow: 2px 3px 2px rgb(24 26 30 / 9%), 18px 24px 38px rgb(24 26 30 / 17%); transform: rotate(-1.375deg); transform-origin: center center; font-size: 14px; line-height: 1.44; }
.letter-details { margin-bottom: 22px; }
.letter-details > p { color: var(--ink); font-size: 12px; margin: 0 0 16px; }
dl { margin: 0; font-size: 13px; line-height: 1.35; }
dl div { display: grid; grid-template-columns: 48px 1fr; margin-bottom: 4px; }
dt { color: var(--muted); }
dd { margin: 0; }
h1 { font-size: 27px; line-height: 1.16; font-weight: 700; margin: 0; text-wrap: pretty; }
.standfirst { font-size: 16px; line-height: 1.38; margin-block: 12px 0; }
.letter-header { border-bottom: 1px solid var(--rule); padding-bottom: 17px; margin-bottom: 20px; }
.paper-sheet > p { margin: 0 0 12px; }
.paper-sheet > .signoff { margin-top: 19px; margin-bottom: 1px; }
.signature { font-weight: 700; }
.postscript { border-top: 1px solid var(--rule); margin-top: 24px; padding-top: 11px; scroll-margin-top: 24px; }
.postscript p { margin: 0; font-size: 13px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--rule); padding-block: 12px 22px; color: var(--muted); font-size: 13px; }
.cookie-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.cookie-icon, .cookie-icon img { display: block; width: 24px; height: 24px; }
.cookie-icon .cookie-hover, .cookie-link:hover .cookie-normal, .cookie-link:focus-visible .cookie-normal { display: none; }
.cookie-link:hover .cookie-hover, .cookie-link:focus-visible .cookie-hover { display: block; }
.skip-link { position: absolute; top: 8px; left: 8px; padding: 10px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 700px) {
  .site-header, main, .site-footer { width: calc(100% - 36px); }
  .site-header { flex-wrap: wrap; gap: 8px; padding-block: 18px 10px; }
  .brand { font-size: 17px; }
  nav { width: 100%; gap: 24px; }
  main { padding-block: 32px 42px; }
  .paper-sheet { width: 100%; min-height: 0; padding: 28px 24px 32px; transform: none; font-size: 16px; line-height: 1.5; }
  h1 { font-size: 28px; }
  .standfirst { font-size: 17px; }
}
@media print {
  @page { size: A4; margin: 0; }
  :root { background: #fff; }
  .site-header, .site-footer, .skip-link { display: none; }
  main { display: block; width: 100%; padding: 0; }
  .paper-sheet { width: 210mm; min-height: 297mm; padding: 19mm 18mm; border: 0; box-shadow: none; transform: none; font-size: 11pt; }
  h1 { font-size: 21pt; }
  p { orphans: 3; widows: 3; }
}
