:root {
  color-scheme: light;
  --paper: #f4f7fa;
  --panel: #ffffff;
  --panel-alt: #eef3f7;
  --ink: #102331;
  --ink-soft: #405462;
  --muted: #71818d;
  --rule: #cfd9e1;
  --construction: #1c6ff2;
  --locus: #168a61;
  --display: Cambria, "Times New Roman", serif;
  --body: "Segoe UI Variable Text", Aptos, "Segoe UI", sans-serif;
  --utility: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
}

a:focus-visible {
  outline: 3px solid rgba(28, 111, 242, 0.28);
  outline-offset: 4px;
}

.unit-header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 34px;
  border-bottom: 1px solid var(--rule);
  background: var(--panel);
  font-family: var(--utility);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.unit-header a {
  color: var(--ink);
  text-decoration: none;
}

.unit-code {
  color: var(--construction);
}

.unit-page {
  width: min(1220px, calc(100% - 56px));
  margin: 0 auto;
  padding: 72px 0 84px;
}

.unit-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 72px;
  align-items: end;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--ink);
}

.eyebrow,
.catalog-label {
  margin: 0 0 14px;
  color: var(--construction);
  font-family: var(--utility);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 8.4vw, 116px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.intro-copy {
  padding-left: 22px;
  border-left: 3px solid var(--construction);
}

.intro-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.62;
}

.unit-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.unit-summary strong {
  color: var(--locus);
  font-size: 15px;
}

.catalog {
  padding-top: 42px;
}

.scene-list {
  border-top: 1px solid var(--rule);
}

.scene {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(150px, auto);
  gap: 24px;
  align-items: center;
  min-height: 112px;
  padding: 22px 18px 22px 0;
  border-bottom: 1px solid var(--rule);
}

.scene.is-ready::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -14px;
  width: 4px;
  background: var(--construction);
  content: "";
}

.scene-number {
  align-self: stretch;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--rule);
  color: var(--muted);
  font-family: var(--utility);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.scene.is-ready .scene-number {
  color: var(--construction);
}

.scene h2 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.08;
}

.scene p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.scene-action {
  justify-self: end;
}

.status {
  color: var(--muted);
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.launch {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--panel);
  font-family: var(--utility);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.launch span:last-child {
  font-size: 17px;
}

@media (max-width: 760px) {
  .unit-header {
    padding: 0 18px;
  }

  .unit-page {
    width: min(calc(100% - 36px), 1220px);
    padding: 48px 0 64px;
  }

  .unit-intro {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 38px;
  }

  h1 {
    font-size: clamp(44px, 12vw, 58px);
    overflow-wrap: anywhere;
  }

  .scene {
    grid-template-columns: 52px 1fr;
    gap: 16px;
    padding-right: 0;
  }

  .scene-action {
    grid-column: 2;
    justify-self: start;
  }

  .scene-number {
    grid-row: 1 / span 2;
  }
}

@media (max-width: 760px) {
  .unit-header {
    min-height: 52px;
  }

  .unit-header .unit-code {
    display: none;
  }
}
