:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #292a2d;
  background: #f2f3f4;
  line-height: 1.65;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vh, 4rem) 1.5rem;
}

.page {
  width: min(100%, 58rem);
  background: #fff;
  border: 1px solid #dfe1e3;
  border-top: 4px solid #a72535;
}

.identity {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem;
  border-bottom: 1px solid #e3e4e6;
}

.crest {
  display: block;
  width: 5.5rem;
  height: auto;
  flex: 0 0 auto;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h1 span { display: block; }

.content { padding: 2.5rem 3rem; }

.intro {
  max-width: 43rem;
  margin: 0;
  font-size: 1.125rem;
}

.notice {
  margin: 1.75rem 0 0;
  padding: 0.875rem 1.125rem;
  background: #f6f6f7;
  border-left: 3px solid #a72535;
  color: #52565b;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  margin: 2rem 0 0;
}

dt {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: #606369;
}

dd { margin: 0; font-size: 1.0625rem; }

.document {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid #e3e4e6;
}

a {
  color: #982333;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { text-decoration-thickness: 2px; }

a:focus-visible {
  outline: 2px solid #982333;
  outline-offset: 5px;
}

.format { white-space: nowrap; }

.document-date {
  display: block;
  margin-top: 0.375rem;
  color: #606369;
  font-size: 0.875rem;
}

@media (max-width: 40rem) {
  body { padding: 1.25rem 1rem; }
  .identity { gap: 1.25rem; padding: 2rem 1.5rem; }
  .crest { width: 4rem; }
  h1 { font-size: 1.875rem; }
  .content { padding: 1.75rem 1.5rem; }
  .details { grid-template-columns: 1fr; }
}

@media (max-width: 25rem) {
  .identity { flex-direction: column; align-items: flex-start; }
}

@media print {
  :root { background: white; color: black; }
  body { display: block; padding: 0; }
  .page { width: 100%; border: 0; }
  .identity, .content { padding: 1rem 0; }
  .notice { background: white; }
  a { color: black; }
}
