:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #242527;
  background: #f8f8f5;
  --muted: #565b5c;
  --rule: #d7d8d2;
  --accent: #264a46;
  --masthead: #25262b;
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p, dl, dd { margin: 0; }
.icon-definitions { position: absolute; }

.wrap {
  width: min(1120px, 100% - 96px);
  margin-inline: auto;
}

.masthead {
  background: var(--masthead);
  color: #f5f5f3;
  border-bottom: 3px solid #7f9b92;
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 28px;
}

.logo {
  display: block;
  width: 164px;
  height: auto;
  flex: 0 0 auto;
}

.identity { min-width: 0; }
.company-type, .company-short { color: #d0d1d3; font-size: .9375rem; line-height: 1.55; }
.company-name { font-size: 1.375rem; font-weight: 650; line-height: 1.28; overflow-wrap: anywhere; }
.company-short { margin-top: 6px; }

.content { padding-block: 32px 64px; }
h1 { font-size: 2.5rem; line-height: 1.12; font-weight: 660; margin-bottom: 24px; overflow-wrap: anywhere; }
.documents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.document {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: #fff;
}

.document-preview {
  display: grid;
  place-items: center;
  align-self: stretch;
  padding: 14px;
  border-radius: 3px;
  background: #eeefec;
}

.document-preview:hover { background: #e2e9e5; }
.document-preview:active { background: #d5e3dc; }
.document-preview img {
  display: block;
  width: min(100%, 208px);
  height: auto;
  border: 1px solid #d5dad7;
  background: #fff;
}

.document-copy { padding-block: 16px 12px; overflow-wrap: anywhere; }
h2 { font-size: 1.1875rem; line-height: 1.3; font-weight: 660; }
.description { max-width: 52ch; color: var(--muted); font-size: .9375rem; line-height: 1.48; margin-top: 7px; }
.file-meta { color: var(--muted); font-size: .875rem; margin-top: auto; line-height: 1.4; }
.file-meta span { margin-inline: 4px; }

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 13px;
  margin-top: 12px;
  border: 1px solid #96a9a3;
  border-radius: 5px;
  color: var(--accent);
  background: #f0f3ef;
  font-size: .9375rem;
  font-weight: 660;
  text-decoration: none;
}

.download svg { flex-shrink: 0; }
.download:hover { background: #e2ebe5; border-color: var(--accent); }
.download:active { background: #d5e3dc; }
.download:focus-visible, .document-preview:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.details {
  display: grid;
  grid-template-columns: max-content repeat(2, minmax(0, 1fr));
  gap: 16px 36px;
  align-items: start;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 26px;
  margin-bottom: 34px;
}

.details h2 { grid-column: 1 / -1; }
.details dt { color: var(--muted); }
.numbers {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 19px;
  font-size: .9375rem;
  line-height: 1.4;
}

.numbers dd { font-variant-numeric: tabular-nums; font-weight: 560; overflow-wrap: anywhere; }
.address { min-width: 0; font-size: .9375rem; line-height: 1.55; }
.address dt { font-weight: 650; margin-bottom: 4px; }
.address dd { max-width: 40ch; }

@media (max-width: 920px) {
  .wrap { width: min(100% - 56px, 760px); }
  .details { column-gap: 20px; }
  .documents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
  .wrap { width: min(100% - 40px, 520px); }
  .masthead-inner { gap: 14px; padding-block: 16px; }
  .logo { width: 78px; }
  .company-name { font-size: 1rem; }
  .company-type, .company-short { font-size: .8125rem; }
  .company-short { margin-top: 2px; }
  .content { padding-block: 24px 44px; }
  h1 { font-size: 2rem; margin-bottom: 20px; }
  .details { grid-template-columns: minmax(0, 1fr); padding-bottom: 22px; margin-bottom: 24px; }
  .numbers { grid-template-columns: max-content minmax(0, 1fr); }
  .documents { gap: 14px; }
}

@media (max-width: 500px) {
  .documents { grid-template-columns: minmax(0, 1fr); }
}
