@font-face {
  font-family: "Fira Sans Condensed";
  src: url("./assets/fonts/fira-sans-condensed-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans Condensed";
  src: url("./assets/fonts/fira-sans-condensed-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans Condensed";
  src: url("./assets/fonts/fira-sans-condensed-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("./assets/fonts/atkinson-hyperlegible-next.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #071f29;
  --ink-muted: #53616a;
  --navy: #003d48;
  --navy-dark: #002c35;
  --paper: #ffffff;
  --paper-soft: #f7f8f7;
  --rule: #d5dadd;
  --rule-dark: #9ca8ad;
  --signal: #e7451d;
  --present: #238848;
  --blue: #1769aa;
  --display: "Fira Sans Condensed", Arial Narrow, sans-serif;
  --body: "Atkinson Hyperlegible Next", Arial, sans-serif;
  --frame: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

html.reduce-motion {
  scroll-behavior: auto;
}

body {
  min-width: 1100px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.35;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button,
a,
.evidence-row {
  -webkit-tap-highlight-color: transparent;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: white;
  background: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  height: 74px;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.98);
}

.site-header__inner {
  width: min(calc(100% - 80px), var(--frame));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 30px;
}

.wordmark {
  width: max-content;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  text-decoration: none;
  text-transform: none;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a,
.site-footer a {
  text-decoration: none;
}

.primary-nav a:hover,
.site-footer a:hover,
.text-action:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.route-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  border: 1px solid var(--navy-dark);
  border-radius: 2px;
  color: white;
  background: var(--navy-dark);
  font-weight: 700;
  text-decoration: none;
}

.route-action--header {
  min-width: 170px;
}

.field-opening {
  height: 585px;
  position: relative;
}

.field-opening__canvas {
  position: relative;
  height: 100%;
}

.field-context {
  position: absolute;
  inset: 0 0 auto;
  height: 550px;
  margin: 0;
  overflow: hidden;
  background: #89999d;
}

.field-context img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.opening-unit {
  position: absolute;
  z-index: 2;
  top: 385px;
  left: 50%;
  width: min(calc(100% - 80px), var(--frame));
  min-height: 165px;
  padding: 28px 26px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 305px 1fr;
  gap: 22px;
  background: var(--paper);
  border: 1px solid var(--rule);
}

.opening-statement h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.opening-statement h1 {
  max-width: none;
  font-size: 36px;
  line-height: 0.98;
  white-space: nowrap;
}

.handoff-strip {
  align-self: center;
  min-height: 108px;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 2.6fr auto;
  align-items: stretch;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.handoff-strip__identity,
.handoff-strip__state {
  padding: 19px 18px;
  border-right: 1px solid var(--rule);
}

.handoff-strip span,
.handoff-strip dt,
.workspace-heading dt {
  color: var(--ink-muted);
  font-size: 11px;
}

.handoff-strip strong,
.handoff-strip dd {
  margin: 7px 0 0;
  font-size: 14px;
}

.handoff-strip__facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.handoff-strip__facts div {
  padding: 19px 14px;
  border-right: 1px solid var(--rule);
}

.opening-action {
  width: 180px;
  min-height: 48px;
  align-self: center;
  margin: 0 14px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--navy-dark);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.section-grid {
  width: min(calc(100% - 80px), var(--frame));
  margin: 0 auto;
}

.product-section {
  height: 810px;
}

.product-frame {
  height: 790px;
  overflow: hidden;
  border: 1px solid #7b898f;
  border-radius: 2px;
  background: var(--paper);
}

.product-frame__bar {
  height: 46px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  color: white;
  background: var(--navy-dark);
}

.product-frame__bar strong {
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
}

.product-frame__body {
  height: calc(100% - 46px);
  display: grid;
  grid-template-columns: 176px 1fr;
}

.workspace-nav {
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: white;
  background: var(--navy-dark);
}

.workspace-nav > strong {
  margin: 0 10px 14px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-nav > a {
  padding: 11px 12px;
  border-left: 2px solid transparent;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.workspace-nav > a[aria-current="page"] {
  border-left-color: white;
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.workspace-nav__owner {
  margin: auto 10px 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.workspace-nav__owner span,
.workspace-nav__owner strong {
  display: block;
}

.workspace-nav__owner span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.workspace-nav__owner strong {
  margin-top: 4px;
  font-size: 12px;
}

.workspace-main {
  min-width: 0;
  padding: 24px 30px;
  background: #fbfcfc;
}

.workspace-heading {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: start;
  gap: 20px;
}

.workspace-heading h3 {
  margin: 3px 0 0;
  font-family: var(--display);
  font-size: 29px;
  line-height: 1;
}

.workspace-heading > .state-text {
  margin-top: 24px;
}

.workspace-heading dl {
  margin: 0 0 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 20px;
}

.workspace-heading dl div {
  min-width: 0;
}

.workspace-heading dd {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.workspace-tabs {
  height: 44px;
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--rule);
}

.workspace-tab {
  min-height: 44px;
  margin: 0;
  padding: 0 4px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--ink-muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.workspace-tab[aria-selected="true"] {
  border-bottom-color: var(--navy);
  color: var(--ink);
}

.workspace-panel {
  padding-top: 18px;
}

.workspace-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
  gap: 18px;
}

.workspace-primary,
.workspace-secondary {
  min-width: 0;
}

.workspace-secondary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.evidence-selector,
.workspace-details,
.workspace-block {
  border: 1px solid var(--rule);
  background: white;
}

.evidence-selector h4,
.workspace-details h4,
.workspace-block h4 {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}

.evidence-row {
  width: 100%;
  min-height: 52px;
  padding: 8px 14px;
  display: grid;
  grid-template-columns: 48px 1fr 150px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid #e3e7e8;
  color: inherit;
  background: white;
  text-align: left;
  cursor: pointer;
}

.evidence-row:last-child {
  border-bottom: 0;
}

.evidence-row[aria-pressed="true"] {
  background: #f0f5f4;
}

.evidence-row__id,
.evidence-row__state {
  font-size: 11px;
  font-weight: 700;
}

.evidence-row__label {
  font-weight: 700;
}

.evidence-row__label small {
  display: block;
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 400;
}

.workspace-details {
  margin-top: 12px;
}

.workspace-details dl {
  margin: 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.workspace-details dt,
.workspace-block dt {
  color: var(--ink-muted);
  font-size: 10px;
}

.workspace-details dd,
.workspace-block dd {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.workspace-block > p,
.workspace-block > ul,
.workspace-block > ol,
.workspace-block > dl,
.workspace-block > div {
  margin: 0;
  padding: 12px 14px;
}

.workspace-block p,
.workspace-block li {
  font-size: 12px;
}

.workspace-block__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px solid var(--rule);
}

.activity-list,
.evidence-detail-list {
  list-style: none;
}

.activity-list li,
.evidence-detail-list li {
  padding: 7px 0;
  border-bottom: 1px solid #e6e9ea;
}

.activity-list li:last-child,
.evidence-detail-list li:last-child {
  border-bottom: 0;
}

.activity-list time {
  display: block;
  color: var(--ink-muted);
  font-size: 10px;
}

.state-text,
.critical-step__state {
  width: max-content;
  font-weight: 700;
}

.state-text--present,
.state-text--approved,
.state-text--sent,
.state-text--ready {
  color: var(--present);
}

.state-text--blocked,
.state-text--missing,
.state-text--not-drafted {
  color: var(--signal);
}

.comparison-section {
  height: 330px;
  padding: 34px 20px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 70px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.comparison-section h2,
.sequence-section h2,
.operations-section h2 {
  font-size: 38px;
  line-height: 1;
}

.comparison-section__statement p,
.sequence-section__statement p,
.operations-section__statement p {
  max-width: 310px;
  margin: 18px 0 0;
  font-size: 16px;
}

.handoff-comparison {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: center;
  gap: 12px;
}

.fragmented-list,
.aligned-handoff {
  border: 1px solid var(--rule);
  background: white;
}

.fragmented-list h3,
.aligned-handoff header {
  min-height: 42px;
  margin: 0;
  padding: 11px 14px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}

.aligned-handoff header {
  display: flex;
  justify-content: space-between;
  color: white;
  background: var(--navy);
}

.fragmented-list ul,
.aligned-handoff ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fragmented-list li,
.aligned-handoff li {
  min-height: 38px;
  padding: 8px 13px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-bottom: 1px solid #e5e8e9;
  font-size: 11px;
}

.fragmented-list li:last-child,
.aligned-handoff li:last-child {
  border-bottom: 0;
}

.fragmented-list li span {
  color: var(--ink-muted);
}

.comparison-direction {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--navy-dark);
  font-size: 0;
}

.comparison-direction::after {
  content: ">";
  font-size: 22px;
}

.sequence-section {
  height: 500px;
  padding: 42px 20px;
  display: grid;
  grid-template-columns: 340px 232px 1fr;
  gap: 38px;
  border-bottom: 1px solid var(--rule);
}

.text-action {
  display: inline-flex;
  gap: 12px;
  margin-top: 22px;
  font-weight: 700;
  text-decoration: none;
}

.sequence-images {
  height: 414px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  overflow: hidden;
}

.sequence-images img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.critical-sequence {
  margin: 0;
  padding: 0;
  list-style: none;
}

.critical-step {
  min-height: 103px;
  padding: 14px 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 126px;
  gap: 14px;
  border-bottom: 1px solid var(--rule);
}

.critical-step:first-child {
  padding-top: 2px;
}

.critical-step__number {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--signal);
  font-size: 11px;
  font-weight: 700;
}

.critical-step:first-child .critical-step__number {
  background: var(--present);
}

.critical-step:last-child .critical-step__number {
  background: #9b9fa1;
}

.critical-step__body strong {
  font-size: 14px;
}

.critical-step__body p {
  margin: 5px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
}

.critical-step__state {
  justify-self: end;
  padding: 5px 8px;
  background: #f3f4f3;
  font-size: 11px;
}

.critical-step__state time {
  display: block;
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 400;
}

.operations-section {
  height: 430px;
  padding: 42px 20px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  border-bottom: 1px solid var(--rule);
}

.operations-view {
  align-self: start;
  border: 1px solid var(--rule);
  background: white;
}

.operations-view__heading {
  min-height: 46px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

.operations-view__heading span {
  color: var(--ink-muted);
  font-size: 10px;
}

.operations-table-wrap {
  overflow: hidden;
}

.operations-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 10px;
}

.operations-table caption {
  padding: 8px 12px;
  color: var(--ink-muted);
  text-align: left;
  font-size: 9px;
}

.operations-table th,
.operations-table td {
  padding: 9px 8px;
  overflow: hidden;
  border-bottom: 1px solid #e3e6e7;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operations-table thead th {
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 700;
}

.operations-table tbody th {
  font-weight: 700;
}

.operations-table__kind td {
  padding: 5px 8px;
  color: var(--ink-muted);
  background: var(--paper-soft);
  font-size: 9px;
}

.authority-section {
  height: 240px;
  padding: 34px 20px 28px;
}

.authority-section > h2 {
  font-size: 26px;
}

.authority-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.authority-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
}

.authority-list article > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--navy);
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 700;
}

.authority-list h3,
.authority-list p {
  margin: 0;
  font-size: 13px;
}

.authority-list p {
  margin-top: 6px;
  color: var(--ink-muted);
}

.site-end {
  min-height: 360px;
  color: white;
  background: var(--navy-dark);
}

.route-close {
  width: min(calc(100% - 80px), var(--frame));
  min-height: 170px;
  margin: 0 auto;
  padding: 34px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.route-close h2 {
  max-width: 610px;
  margin: 0;
  color: white;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: none;
}

.route-close p {
  max-width: 470px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.route-close__actions {
  display: grid;
  justify-items: stretch;
}

.route-action--light {
  color: var(--navy-dark);
  background: white;
  border-color: white;
}

.text-action--light {
  justify-content: center;
  margin-top: 12px;
  color: white;
}

.site-footer {
  width: min(calc(100% - 80px), var(--frame));
  min-height: 190px;
  margin: 0 auto;
  padding: 28px 20px;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 70px;
}

.wordmark--footer {
  display: block;
  font-size: 25px;
}

.site-footer__identity p,
.site-footer__disclosure {
  max-width: 300px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  align-content: start;
  gap: 9px 40px;
  font-size: 12px;
}

.site-footer__disclosure {
  margin-top: 0;
  text-align: right;
}
