@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
}

:root {
  --navy: #0e2744;
  --ink: #16202b;
  --muted: #3e4c5c;
  --line: #d5dde6;
  --paper: #e7edf2;
  --serif: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Public Sans", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.4;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 12px 20px;
}

.toolbar-brand {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 560;
}

.toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1 1 220px;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toolbar a,
.toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 4px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #ffffff;
  font: 650 0.92rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.toolbar a.secondary,
.toolbar a.secondary:hover {
  background: #ffffff;
  color: var(--navy);
}

.sheet {
  width: 8.5in;
  min-height: 11in;
  margin: 28px auto 48px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(10, 27, 48, 0.12);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.doc-top {
  background: var(--navy);
  color: #ffffff;
  padding: 0.36in 0.48in 0.3in;
}

.doc-name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 520;
  font-size: 26pt;
  letter-spacing: -0.02em;
  line-height: 1;
}

.doc-kicker {
  margin: 6px 0 0;
  font-size: 9pt;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d5dde6;
}

.doc-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.doc-status {
  margin: 0;
  text-align: right;
  font-size: 9pt;
  font-weight: 650;
  line-height: 1.35;
  color: #ffffff;
}

.doc-line {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 12.5pt;
  font-weight: 500;
  line-height: 1.25;
  color: #ffffff;
  max-width: 28em;
}

.doc-body {
  padding: 0.26in 0.48in 0.36in;
  flex: 1;
  display: flex;
  flex-direction: column;
}

h2 {
  margin: 0 0 6px;
  font-family: var(--sans);
  font-size: 8pt;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.callout {
  border: 1.5px solid var(--navy);
  padding: 8px 12px 9px;
  margin-bottom: 12px;
}

.callout p {
  margin: 0;
  font-family: var(--serif);
  font-size: 12pt;
  line-height: 1.3;
  color: var(--navy);
}

.cols {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  margin-bottom: 12px;
}

.cols p,
.svc,
.products {
  margin: 0;
  font-size: 9.6pt;
  line-height: 1.38;
}

.products {
  list-style: none;
  padding: 0;
}

.products li {
  padding: 2px 0 3px;
  border-top: 1px solid var(--line);
}

.products li:first-child {
  border-top: 0;
  padding-top: 0;
}

.products strong {
  font-weight: 700;
}

.svc {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}

.svc li {
  margin: 0;
}

.past {
  margin: 0 0 12px;
  background: #f4f6f8;
  padding: 8px 12px;
}

.past p {
  margin: 0;
  font-size: 10.5pt;
  font-weight: 680;
  color: var(--navy);
}

.data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.data > div {
  display: grid;
  grid-template-columns: 1.15in 1fr;
  gap: 6px;
  padding: 4px 10px 4px 0;
  border-bottom: 1px solid var(--line);
  font-size: 9pt;
  align-items: baseline;
}

.data > div.wide {
  grid-column: 1 / -1;
  grid-template-columns: 1.15in 1fr;
}

.data span {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.data strong {
  font-weight: 620;
}

.mono {
  font-family: var(--mono);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.doc-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 2px solid var(--navy);
  font-size: 8.5pt;
  color: var(--navy);
  font-weight: 650;
}

abbr {
  text-decoration: none;
}

@media screen and (max-width: 800px) {
  .sheet {
    width: auto;
    min-height: 0;
    margin: 0;
    box-shadow: none;
  }

  .doc-top-row,
  .cols,
  .svc,
  .data {
    display: block;
  }

  .doc-status {
    text-align: left;
    margin-top: 10px;
  }

  .data > div,
  .data > div.wide {
    display: block;
    padding: 8px 0;
  }

  .toolbar p {
    flex-basis: 100%;
  }
}

@page {
  size: letter;
  margin: 0;
}

@media print {
  body {
    background: #ffffff;
  }

  .toolbar {
    display: none !important;
  }

  .sheet {
    width: 8.5in;
    height: 11in;
    min-height: 11in;
    margin: 0;
    box-shadow: none;
  }
}
