@font-face {
  font-family: Barlow;
  src: url("/static/test2/fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("/static/test2/fonts/barlow-600.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/static/test2/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --maroon: #772d45;
  --signal: #f0dce3;
  --ink: #14283f;
  --paper: #f7f4f1;
  --white: #fff;
  --line: #41566f;
  --muted: #bdcad9;
  --early: #ebcfd9;
  --late: #eee4d9;
  --night: #b7cde5;
  --leave: #dce5ec;
  --sick: #f1c4b7;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--maroon);
  color: var(--paper);
  font:
    400 18px/1.5 Barlow,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.91;
  text-transform: uppercase;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
}
a,
button {
  touch-action: manipulation;
}
.wrap {
  width: min(1440px, calc(100% - 104px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--signal);
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
[hidden] {
  display: none !important;
}
::selection {
  color: var(--signal);
  background: var(--ink);
}
.masthead {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--paper);
}
.wordmark {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1;
}
.masthead nav {
  display: flex;
  gap: 40px;
  font-size: 16px;
}
.masthead nav a {
  padding-block: 12px;
}
.masthead nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.login {
  border: 1px solid var(--paper);
  padding: 10px 30px;
  font-weight: 600;
  font-size: 16px;
}
.login:hover {
  background: var(--paper);
  color: var(--ink);
}
.hero {
  position: relative;
  padding-top: 45px;
  padding-bottom: 92px;
}
.hero h1 span {
  display: block;
}
.hero h1 span:first-child {
  font-size: clamp(190px, 33.5vw, 560px);
  line-height: 0.76;
}
.hero h1 span:last-child {
  font-size: clamp(128px, 23.6vw, 400px);
  line-height: 0.84;
  padding-top: 12px;
}
.hero-object {
  position: absolute;
  right: 4%;
  top: 104px;
  width: 250px;
  height: 255px;
  pointer-events: none;
}
.magnet {
  background: var(--ink);
  color: var(--signal);
  padding: 17px 20px;
  transform: rotate(9deg);
  position: absolute;
  inset: 0 0 auto;
  box-shadow: 8px 9px 0 #14283f26;
  z-index: 2;
}
.magnet span {
  display: block;
  font-size: 14px;
}
.magnet strong {
  display: block;
  font:
    700 64px/0.98 "Barlow Condensed",
    Impact,
    sans-serif;
  margin-block: 9px;
}
.magnet.echo {
  transform: translate(-30px, 133px) rotate(-9deg);
  background: var(--paper);
  color: var(--ink);
  z-index: 1;
}
.magnet.echo strong {
  font-size: 54px;
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 45px;
}
.hero-bottom > p {
  font-size: 28px;
  line-height: 1.3;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 34px;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 20px 27px;
  border: 2px solid var(--ink);
  font-size: 20px;
  font-weight: 600;
  min-height: 66px;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.action span {
  font-size: 30px;
  line-height: 1;
}
.action-dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--paper);
}
.action-maroon {
  color: var(--paper);
  background: var(--maroon);
  border-color: var(--paper);
}
.action:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 #14283f55;
}
.action:active {
  transform: translate(0, 0);
  box-shadow: none;
}
.follow {
  font-size: 15px;
  display: flex;
  gap: 20px;
  align-items: center;
  min-height: 48px;
}
.follow span {
  font-size: 30px;
}
.build-section {
  background: var(--ink);
  color: var(--paper);
  padding: 85px 0 90px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 52px;
}
.section-heading h2 {
  font-size: clamp(60px, 7.6vw, 120px);
}
.section-heading > p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  max-width: 29ch;
}
.planner {
  border-top: 1px solid var(--line);
}
.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-size: 16px;
}
.board-status {
  color: var(--signal);
  min-width: 155px;
  text-align: right;
}
.board-status:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: currentColor;
  margin-right: 10px;
}
.board-surface {
  padding: 35px 34px 0;
  border: 1px solid var(--line);
  background: #1c334e;
  overflow: hidden;
}
.input-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.input-notes span {
  border: 1px solid #73869d;
  padding: 6px 14px;
  font-size: 13px;
  color: #d9e2ed;
}
.roster-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 6px;
  table-layout: fixed;
}
.roster-matrix th {
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  padding: 0 0 16px;
}
.roster-matrix th:first-child {
  width: 125px;
  text-align: left;
}
.roster-matrix thead th b {
  display: block;
  font-size: 22px;
  font-weight: 600;
}
.roster-matrix tbody th {
  font-size: 18px;
  font-weight: 600;
  vertical-align: middle;
  padding: 0;
}
.roster-matrix tbody th small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}
.roster-matrix td {
  height: 91px;
  padding: 0;
  background: #2a425f;
  border-radius: 3px;
}
.duty {
  display: flex;
  height: 100%;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 600;
  border-radius: 3px;
  color: var(--ink);
  transform-origin: center;
  transition:
    transform 1.05s var(--ease),
    opacity 0.5s var(--ease),
    background-color 0.2s;
}
.duty-e {
  background: var(--early);
}
.duty-l {
  background: var(--late);
}
.duty-n {
  background: var(--night);
}
.duty-rl {
  background: var(--leave);
}
.duty-off {
  background: transparent;
  color: var(--muted);
}
.duty-sick {
  background: var(--sick);
  color: var(--ink);
}
.board-legend {
  display: flex;
  gap: 27px;
  flex-wrap: wrap;
  padding: 24px 6px;
  color: var(--muted);
  font-size: 13px;
}
.board-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.board-legend i {
  width: 11px;
  height: 11px;
  border-radius: 2px;
}
.board-check {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 75px;
  border-top: 1px solid var(--line);
  font-size: 17px;
}
.check-emblem {
  color: var(--signal);
  font-size: 26px;
}
.board-date {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}
.js-ready .planner[data-step="0"] .duty:not(.duty-rl):not(.duty-off) {
  transform: translate(calc(var(--dx) * 15px), calc(var(--dy) * 12px))
    rotate(calc(var(--tilt) * 5deg));
  position: relative;
  z-index: 2;
}
.planner[data-step="1"] .duty {
  transition-delay: calc(var(--order) * 35ms);
}
.planner[data-step="2"] [data-edit] {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}
.planner[data-step="2"] .board-check {
  color: var(--signal);
}
.step-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-top: 0;
}
.step-controls button {
  position: relative;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  text-align: left;
  padding: 22px 24px 26px;
  font-size: 21px;
  overflow: hidden;
  color: var(--paper);
}
.step-controls button:last-child {
  border-right: 0;
}
.step-controls button small {
  display: inline-block;
  font-size: 12px;
  width: 21px;
  vertical-align: middle;
  margin-right: 6px;
  color: var(--muted);
}
.step-controls button[aria-pressed="true"] {
  background: var(--signal);
  color: var(--ink);
}
.step-controls button[aria-pressed="true"] small {
  color: var(--ink);
}
.step-controls button:hover:not([aria-pressed="true"]) {
  background: #304863;
}
.step-controls button:focus-visible {
  outline-color: var(--signal);
  outline-offset: 4px;
  z-index: 2;
}
.step-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
.planner.is-running .step-controls button[aria-pressed="true"] .step-progress {
  animation: stage-progress var(--progress-duration, 5.2s) linear forwards;
}
.motion-paused .step-progress {
  animation-play-state: paused !important;
}
@keyframes stage-progress {
  from {
    transform: scaleX(var(--progress-start, 0));
  }
  to {
    transform: scaleX(1);
  }
}
.stage-copy {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 35px;
  align-items: start;
  padding: 38px 0 20px;
  min-height: 220px;
}
.stage-digit {
  font:
    700 100px/0.9 "Barlow Condensed",
    Impact,
    sans-serif;
  color: var(--signal);
}
.stage-copy h3 {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}
.stage-copy p {
  max-width: 60ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}
.replay {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 9px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 14px;
  white-space: nowrap;
}
.replay:hover {
  text-decoration-thickness: 2px;
}
.demo-note {
  color: var(--muted);
  font-size: 13px;
  max-width: 75ch;
}
.build-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  margin-top: 70px;
  border-top: 1px solid var(--line);
  padding-top: 42px;
}
.build-bottom > p:first-child {
  font-size: 34px;
  max-width: 24ch;
  line-height: 1.15;
}
.build-bottom > p:last-child {
  font-size: 18px;
  color: var(--muted);
  max-width: 50ch;
}
.change-section {
  background: var(--paper);
  color: var(--ink);
  padding: 105px 0 110px;
}
.change-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 80px;
  margin-bottom: 55px;
}
.change-heading h2 {
  font-size: clamp(90px, 11vw, 170px);
}
.change-heading > p {
  font-size: 23px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.cover-demo {
  border-top: 2px solid var(--ink);
}
.incident {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
}
.incident-mark {
  background: var(--ink);
  color: var(--paper);
  font:
    700 42px/50px "Barlow Condensed",
    Impact,
    sans-serif;
  width: 50px;
  height: 50px;
  text-align: center;
}
.incident p strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
}
.incident p span {
  display: block;
  font-size: 15px;
  color: #51627a;
}
.cover-state {
  margin-left: auto;
  font-size: 16px;
  text-align: right;
}
.compare-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0 22px;
  font-size: 14px;
}
.compare-controls > span {
  color: #51627a;
}
.compare-controls button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 0;
  background: transparent;
  font-weight: 600;
}
.compare-controls button[aria-pressed="true"] {
  border-color: var(--ink);
}
.compare {
  position: relative;
  background: var(--paper);
}
.cover-matrix {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 7px;
}
.cover-matrix th {
  width: auto;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  padding-bottom: 16px;
}
.cover-matrix th b {
  display: block;
  font-size: 24px;
  font-weight: 600;
}
.cover-matrix th:first-child {
  width: 160px;
  text-align: left;
  font-size: 16px;
}
.cover-matrix tbody th {
  font-size: 26px;
  font-weight: 600;
  padding: 0;
}
.cover-matrix td {
  height: 94px;
  padding: 0;
  background: #e3e8ef;
  border-radius: 3px;
}
.cover-matrix .duty {
  font-size: 25px;
  min-height: 85px;
}
.before-table .duty-off {
  color: #51627a;
}
.after-table .duty {
  outline: 1px solid #8899ae;
  outline-offset: -1px;
}
.after-table .duty-off {
  color: #435871;
}
.after-table {
  background: #e7eaf1;
}
.js-ready .compare .after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
  pointer-events: none;
}
.compare-line {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 3px;
  background: var(--ink);
  transform: translateX(-1.5px);
  pointer-events: none;
}
.js-ready .compare-line {
  display: block;
}
.compare-line span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--paper);
  background: var(--ink);
  font-size: 27px;
  width: 43px;
  height: 46px;
  text-align: center;
  line-height: 43px;
}
.compare.at-end .compare-line {
  visibility: hidden;
}
.comparison-slider {
  padding: 25px 0 0;
}
.comparison-slider label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}
.comparison-slider input {
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  accent-color: var(--ink);
  cursor: ew-resize;
}
.comparison-slider > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #51627a;
}
.cover-outcome {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  border-top: 1px solid #9ba9ba;
  margin-top: 32px;
  padding-top: 35px;
}
.cover-outcome > div:first-child > span {
  font:
    700 115px/0.9 "Barlow Condensed",
    Impact,
    sans-serif;
  letter-spacing: -0.02em;
}
.cover-outcome > div:first-child p {
  font-size: 14px;
  margin-top: 15px;
  max-width: 32ch;
  color: #51627a;
}
.cover-outcome h3 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.cover-outcome p {
  font-size: 19px;
}
.cover-outcome .cover-rules {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 17px;
}
.cover-actions {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  border-top: 1px solid #9ba9ba;
  padding-top: 28px;
}
.cover-actions p {
  max-width: 66ch;
  font-size: 17px;
}
.cover-actions strong {
  font-weight: 600;
}
.cover-demo > .demo-note {
  color: #51627a;
  margin-top: 22px;
}
.cover-demo[data-step="0"] .cover-rules,
.cover-demo[data-step="1"] .cover-rules {
  visibility: hidden;
}
.leave-section {
  padding: 110px 0 115px;
  background: var(--maroon);
}
.leave-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.leave-copy h2 {
  font-size: clamp(130px, 16vw, 250px);
  line-height: 0.83;
  margin-bottom: 35px;
}
.leave-copy > p:first-of-type {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 25px;
}
.leave-copy > p:last-of-type {
  font-size: 18px;
  max-width: 35ch;
}
.leave-ticket {
  background: var(--paper);
  color: var(--ink);
  padding: 35px 40px 30px;
  box-shadow: 15px 15px 0 #14283f;
  position: relative;
  transform: rotate(2deg);
}
.ticket-heading {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 18px;
  gap: 20px;
  font-size: 16px;
}
.ticket-heading strong {
  font-weight: 600;
}
.ticket-capacity {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 28px 0;
}
.ticket-capacity > span > strong {
  font:
    700 110px/0.8 "Barlow Condensed",
    Impact,
    sans-serif;
  letter-spacing: -0.02em;
}
.ticket-capacity > span > span {
  display: block;
  margin-top: 13px;
  font-size: 15px;
}
.ticket-capacity > div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 13px;
}
.ticket-capacity b {
  font-weight: 600;
  font-size: 20px;
}
.capacity-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 7px;
}
.capacity-unit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1px solid #a8b4c3;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  transition:
    transform 0.6s var(--ease),
    background-color 0.4s;
  transform-origin: bottom;
}
.approved {
  background: var(--ink);
  color: var(--paper);
}
.requested {
  background: #ddc3cd;
  color: var(--ink);
}
.leave-ticket[data-step="1"] .capacity-grid .requested,
.leave-ticket[data-step="2"] .capacity-grid .requested {
  background: var(--ink);
  color: var(--paper);
}
.leave-ticket[data-step="1"] .capacity-grid .requested {
  animation: approve-unit 0.6s var(--ease) both;
  animation-delay: calc(var(--order) * 90ms);
}
@keyframes approve-unit {
  from {
    transform: scaleY(0.15);
  }
  to {
    transform: scaleY(1);
  }
}
.capacity-key {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-top: 17px;
}
.capacity-key span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.capacity-key i {
  height: 10px;
  width: 10px;
  display: inline-block;
}
.capacity-key b {
  font-weight: 600;
}
.ticket-perforation {
  border-top: 2px dashed #9ba9ba;
  margin: 30px -40px;
  position: relative;
}
.ticket-perforation:before,
.ticket-perforation:after {
  content: "";
  position: absolute;
  height: 24px;
  width: 24px;
  top: -13px;
  border-radius: 50%;
  background: var(--maroon);
}
.ticket-perforation:before {
  left: -12px;
}
.ticket-perforation:after {
  right: -12px;
}
.request-line {
  display: flex;
  gap: 15px;
  align-items: center;
}
.initials {
  background: var(--signal);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-weight: 600;
  flex-shrink: 0;
}
.request-line h3 {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 600;
}
.request-line p {
  font-size: 14px;
  margin-top: 6px;
}
.leave-states {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
  font-size: 12px;
}
.leave-states span {
  border: 1px solid #7c8ca1;
  padding: 5px 8px;
}
.ticket-note {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 20px;
  color: #51627a;
}
.ticket-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  border-top: 1px solid #b5c0cf;
  padding-top: 15px;
}
.ticket-bottom p {
  font-size: 12px;
}
.ticket-bottom .replay {
  font-size: 13px;
}
.finish-section {
  background: var(--ink);
  color: var(--signal);
  padding: 95px 0 100px;
}
.finish-section > .wrap > p {
  font-size: 20px;
  margin-bottom: 35px;
}
.finish-section h2 {
  font-size: clamp(90px, 15vw, 230px);
}
.finish-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 48px;
}
.finish-bottom p {
  color: var(--paper);
  font-size: 22px;
  line-height: 1.5;
}
.finish-section .action:hover {
  box-shadow: 5px 5px 0 #f0dce359;
}
.footer {
  padding-top: 55px;
  padding-bottom: 120px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer nav {
  display: flex;
  gap: 5px 22px;
  flex-wrap: wrap;
  max-width: 580px;
  justify-content: flex-end;
  font-size: 14px;
}
.footer nav a {
  min-height: 35px;
  display: flex;
  align-items: center;
}
.footer nav a:hover {
  text-decoration: underline;
}
.preview-links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  border-top: 1px solid #b27a8c;
  padding-top: 20px;
  margin-top: 20px;
}
.preview-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.story-dock {
  color: var(--ink);
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 #14283f40;
  z-index: 50;
  padding: 4px;
}
.story-dock a,
.story-dock button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 7px 19px;
  font-size: 14px;
  background: transparent;
  border: 0;
}
.story-dock a:hover {
  background: var(--signal);
}
.story-dock a[aria-current="location"] {
  background: var(--ink);
  color: var(--signal);
}
.story-dock button {
  border-left: 1px solid #b5c0cf;
  min-width: 125px;
}
.story-dock button:hover {
  background: var(--signal);
}
.story-dock button:disabled {
  color: #51627a;
}
.motion-paused * {
  animation-play-state: paused !important;
}
.static-steps {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
@media (min-width: 1800px) {
  .hero-object {
    right: 5%;
    top: 130px;
    width: 310px;
  }
  .hero h1 span:first-child {
    font-size: 590px;
  }
  .hero h1 span:last-child {
    font-size: 400px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .masthead {
    height: 86px;
  }
  .hero-object {
    top: 75px;
    right: 0;
    width: 195px;
  }
  .magnet strong {
    font-size: 50px;
  }
  .magnet.echo {
    transform: translate(-10px, 110px) rotate(-9deg);
  }
  .magnet.echo strong {
    font-size: 43px;
  }
  .magnet span {
    font-size: 12px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-bottom > p {
    font-size: 25px;
  }
  .section-heading {
    gap: 30px;
  }
  .section-heading > p {
    font-size: 17px;
  }
  .board-surface {
    padding: 25px 20px 0;
  }
  .roster-matrix th:first-child {
    width: 100px;
  }
  .roster-matrix td {
    height: 75px;
  }
  .roster-matrix tbody th {
    font-size: 16px;
  }
  .stage-copy {
    grid-template-columns: 85px 1fr auto;
    gap: 25px;
  }
  .stage-digit {
    font-size: 82px;
  }
  .stage-copy h3 {
    font-size: 25px;
  }
  .stage-copy p {
    font-size: 17px;
  }
  .build-bottom {
    gap: 40px;
  }
  .change-heading {
    gap: 30px;
  }
  .change-heading > p {
    font-size: 19px;
  }
  .cover-matrix th:first-child {
    width: 125px;
  }
  .cover-matrix td {
    height: 78px;
  }
  .cover-matrix .duty {
    min-height: 70px;
  }
  .cover-matrix tbody th {
    font-size: 22px;
  }
  .leave-layout {
    gap: 55px;
  }
  .leave-ticket {
    padding: 28px 25px 22px;
    box-shadow: 10px 10px 0 var(--ink);
  }
  .ticket-perforation {
    margin-inline: -25px;
  }
  .capacity-grid {
    gap: 5px;
  }
  .capacity-unit {
    height: 36px;
  }
  .ticket-capacity > span > strong {
    font-size: 90px;
  }
  .ticket-heading {
    font-size: 14px;
  }
  .leave-copy > p:first-of-type {
    font-size: 28px;
  }
  .leave-copy > p:last-of-type {
    font-size: 17px;
  }
  .finish-bottom p {
    font-size: 20px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .masthead {
    height: 78px;
  }
  .masthead nav {
    display: none;
  }
  .wordmark {
    font-size: 26px;
  }
  .login {
    padding: 9px 21px;
    font-size: 15px;
  }
  .hero {
    padding-top: 30px;
    padding-bottom: 48px;
  }
  .hero h1 span:first-child {
    font-size: 42vw;
    line-height: 0.8;
  }
  .hero h1 span:last-child {
    font-size: 26.2vw;
    line-height: 0.9;
    padding-top: 10px;
    letter-spacing: -0.02em;
  }
  .hero-object {
    right: 3px;
    top: 44px;
    width: 112px;
    height: 130px;
  }
  .magnet {
    padding: 10px 12px;
    box-shadow: 4px 4px 0 #14283f26;
  }
  .magnet strong {
    font-size: 31px;
    margin-block: 4px;
  }
  .magnet span {
    font-size: 9px;
  }
  .magnet.echo {
    transform: translate(-10px, 75px) rotate(-10deg);
  }
  .magnet.echo strong {
    font-size: 28px;
  }
  .hero-bottom {
    align-items: flex-start;
    gap: 28px;
    margin-top: 28px;
    flex-direction: column;
  }
  .hero-bottom > p {
    font-size: 23px;
    line-height: 1.25;
  }
  .hero-cta {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }
  .action {
    font-size: 17px;
    padding: 14px 19px;
    min-height: 58px;
    gap: 22px;
  }
  .action span {
    font-size: 25px;
  }
  .follow {
    font-size: 12px;
    gap: 12px;
    max-width: 140px;
    line-height: 1.3;
  }
  .follow span {
    font-size: 24px;
  }
  .build-section {
    padding: 48px 0 52px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading h2 {
    font-size: 60px;
  }
  .section-heading > p {
    font-size: 17px;
    margin-top: 25px;
    max-width: 32ch;
  }
  .section-heading > p br {
    display: none;
  }
  .board-header {
    font-size: 12px;
    padding: 15px 0;
  }
  .board-status {
    min-width: 85px;
  }
  .board-status:before {
    width: 6px;
    height: 6px;
    margin-right: 5px;
  }
  .board-surface {
    padding: 17px 9px 0;
  }
  .input-notes {
    gap: 5px;
    margin-bottom: 22px;
  }
  .input-notes span {
    padding: 4px 6px;
    font-size: 10px;
  }
  .roster-matrix {
    border-spacing: 3px;
  }
  .roster-matrix th:first-child {
    width: 51px;
  }
  .roster-matrix thead th {
    font-size: 10px;
    padding-bottom: 10px;
  }
  .roster-matrix thead th b {
    font-size: 15px;
  }
  .roster-matrix tbody th {
    font-size: 12px;
  }
  .roster-matrix tbody th small {
    font-size: 9px;
    margin-top: 3px;
  }
  .roster-matrix td {
    height: 51px;
  }
  .duty {
    font-size: 14px;
    min-height: 45px;
  }
  .board-legend {
    gap: 11px;
    font-size: 10px;
    padding: 16px 0;
  }
  .board-legend span {
    gap: 4px;
  }
  .board-legend i {
    width: 8px;
    height: 8px;
  }
  .board-check {
    gap: 10px;
    font-size: 13px;
    min-height: 65px;
  }
  .board-date {
    display: none;
  }
  .check-emblem {
    font-size: 21px;
  }
  .js-ready .planner[data-step="0"] .duty:not(.duty-rl):not(.duty-off) {
    transform: translate(calc(var(--dx) * 6px), calc(var(--dy) * 6px))
      rotate(calc(var(--tilt) * 5deg));
  }
  .step-controls button {
    font-size: 15px;
    padding: 14px 8px 20px;
    text-align: center;
  }
  .step-controls button small {
    display: block;
    margin: 0 auto 2px;
    font-size: 10px;
  }
  .stage-copy {
    grid-template-columns: 45px 1fr;
    gap: 15px;
    padding: 25px 0 20px;
    min-height: 228px;
  }
  .stage-digit {
    font-size: 54px;
  }
  .stage-copy h3 {
    font-size: 23px;
  }
  .stage-copy p {
    font-size: 16px;
    line-height: 1.45;
  }
  .stage-copy .replay {
    grid-column: 2;
    justify-self: start;
    padding-top: 0;
  }
  .demo-note {
    font-size: 11px;
  }
  .build-bottom {
    display: block;
    margin-top: 38px;
    padding-top: 28px;
  }
  .build-bottom > p:first-child {
    font-size: 27px;
    max-width: 23ch;
    margin-bottom: 20px;
  }
  .build-bottom > p:last-child {
    font-size: 16px;
  }
  .change-section {
    padding: 53px 0 54px;
  }
  .change-heading {
    display: block;
    margin-bottom: 30px;
  }
  .change-heading h2 {
    font-size: 89px;
  }
  .change-heading > p {
    font-size: 19px;
    margin-top: 25px;
    line-height: 1.4;
  }
  .incident {
    gap: 12px;
    padding: 20px 0;
    flex-wrap: wrap;
  }
  .incident-mark {
    width: 39px;
    height: 39px;
    line-height: 39px;
    font-size: 30px;
  }
  .incident p strong {
    font-size: 17px;
  }
  .incident p span {
    font-size: 12px;
  }
  .cover-state {
    font-size: 12px;
    margin-left: auto;
    max-width: 105px;
  }
  .compare-controls {
    font-size: 11px;
    margin: 5px 0 12px;
    gap: 12px;
  }
  .compare-controls > span {
    display: none;
  }
  .compare-controls button {
    padding: 9px 0;
    min-height: 35px;
  }
  .cover-matrix {
    border-spacing: 3px;
  }
  .cover-matrix th:first-child {
    width: 60px;
    font-size: 10px;
  }
  .cover-matrix th {
    font-size: 10px;
    padding-bottom: 10px;
  }
  .cover-matrix th b {
    font-size: 15px;
  }
  .cover-matrix tbody th {
    font-size: 15px;
  }
  .cover-matrix td {
    height: 53px;
  }
  .cover-matrix .duty {
    min-height: 50px;
    font-size: 14px;
  }
  .compare-line span {
    font-size: 18px;
    width: 28px;
    height: 35px;
    line-height: 32px;
  }
  .comparison-slider {
    padding-top: 15px;
  }
  .comparison-slider label {
    font-size: 12px;
  }
  .comparison-slider > div {
    font-size: 11px;
  }
  .cover-outcome {
    gap: 20px;
    grid-template-columns: 0.75fr 1.25fr;
    padding-top: 22px;
    margin-top: 25px;
  }
  .cover-outcome > div:first-child > span {
    font-size: 69px;
  }
  .cover-outcome > div:first-child p {
    font-size: 11px;
    margin-top: 10px;
  }
  .cover-outcome h3 {
    font-size: 23px;
  }
  .cover-outcome p {
    font-size: 15px;
    line-height: 1.5;
  }
  .cover-outcome .cover-rules {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 12px;
  }
  .cover-actions {
    display: block;
    margin-top: 25px;
    padding-top: 22px;
  }
  .cover-actions p {
    font-size: 15px;
  }
  .cover-actions .replay {
    margin-top: 14px;
  }
  .cover-demo > .demo-note {
    font-size: 11px;
  }
  .leave-section {
    padding: 50px 0 65px;
  }
  .leave-layout {
    display: block;
  }
  .leave-copy h2 {
    font-size: 130px;
    line-height: 0.8;
    margin-bottom: 25px;
  }
  .leave-copy > p:first-of-type {
    font-size: 27px;
  }
  .leave-copy > p:last-of-type {
    font-size: 17px;
    max-width: 32ch;
  }
  .leave-ticket {
    margin: 42px 9px 0 3px;
    padding: 25px 22px 20px;
    transform: rotate(1.5deg);
    box-shadow: 9px 9px 0 var(--ink);
  }
  .ticket-heading {
    font-size: 13px;
    padding-bottom: 15px;
    gap: 8px;
  }
  .ticket-capacity {
    padding: 23px 0;
  }
  .ticket-capacity > span > strong {
    font-size: 86px;
  }
  .ticket-capacity > span > span {
    font-size: 13px;
  }
  .ticket-capacity > div {
    font-size: 11px;
  }
  .ticket-capacity b {
    font-size: 17px;
  }
  .capacity-grid {
    gap: 5px;
  }
  .capacity-unit {
    height: 31px;
    font-size: 10px;
  }
  .capacity-key {
    gap: 12px;
    font-size: 11px;
  }
  .ticket-perforation {
    margin: 25px -22px;
  }
  .request-line h3 {
    font-size: 20px;
  }
  .request-line p {
    font-size: 12px;
  }
  .initials {
    height: 40px;
    width: 40px;
    font-size: 14px;
  }
  .leave-states {
    font-size: 10px;
    gap: 5px;
    margin-top: 17px;
  }
  .leave-states span {
    padding: 4px 6px;
  }
  .ticket-note {
    font-size: 12px;
  }
  .ticket-bottom p {
    font-size: 10px;
  }
  .ticket-bottom .replay {
    font-size: 12px;
  }
  .finish-section {
    padding: 52px 0 58px;
  }
  .finish-section > .wrap > p {
    font-size: 16px;
    max-width: 25ch;
    margin-bottom: 25px;
  }
  .finish-section h2 {
    font-size: 24vw;
  }
  .finish-bottom {
    display: block;
    margin-top: 30px;
  }
  .finish-bottom p {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .finish-bottom .action {
    width: 100%;
    justify-content: space-between;
    max-width: 380px;
  }
  .footer {
    padding-top: 35px;
    padding-bottom: 120px;
    display: block;
  }
  .footer nav {
    justify-content: flex-start;
    margin-top: 23px;
    font-size: 13px;
    gap: 4px 18px;
  }
  .preview-links {
    font-size: 11px;
    margin-top: 22px;
  }
  .story-dock {
    bottom: 12px;
    max-width: calc(100% - 20px);
    width: max-content;
  }
  .story-dock a,
  .story-dock button {
    font-size: 12px;
    padding: 7px 12px;
    min-height: 40px;
  }
  .story-dock button {
    min-width: 104px;
  }
}
@media (max-width: 360px) {
  .hero-object {
    width: 94px;
    right: 1px;
    top: 40px;
  }
  .magnet {
    padding: 8px 9px;
  }
  .magnet strong {
    font-size: 27px;
  }
  .magnet span {
    font-size: 8px;
  }
  .magnet.echo {
    transform: translate(-3px, 63px) rotate(-9deg);
  }
  .magnet.echo strong {
    font-size: 23px;
  }
  .hero-cta {
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 52px;
  }
  .input-notes span {
    font-size: 9px;
  }
  .roster-matrix th:first-child {
    width: 42px;
  }
  .roster-matrix td {
    height: 46px;
  }
  .board-legend {
    gap: 8px;
    font-size: 9px;
  }
  .board-check {
    font-size: 12px;
  }
  .cover-matrix th:first-child {
    width: 52px;
  }
  .cover-matrix .duty {
    font-size: 12px;
  }
  .cover-state {
    max-width: 84px;
  }
  .cover-outcome > div:first-child > span {
    font-size: 62px;
  }
  .ticket-heading {
    font-size: 12px;
  }
  .ticket-capacity > span > strong {
    font-size: 75px;
  }
  .capacity-unit {
    height: 27px;
  }
  .request-line h3 {
    font-size: 19px;
  }
  .story-dock a,
  .story-dock button {
    padding-inline: 10px;
  }
  .story-dock button {
    min-width: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js-ready .planner[data-step="0"] .duty {
    transform: none !important;
  }
  .leave-ticket {
    transform: none;
  }
  .compare-line {
    display: none !important;
  }
}

/* The poster tokens sit beside the headline on phones, never over its letters. */
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-demo {
  background: var(--ink);
  color: var(--paper);
  padding: 11px 22px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--ink);
}
.header-demo:hover {
  background: var(--paper);
  color: var(--ink);
}
@media (max-width: 760px) {
  .hero h1 span:first-child {
    font-size: 30vw;
    line-height: 0.85;
  }
  .hero-object {
    top: 23px;
    width: 100px;
    right: 3px;
  }
  .hero-object .magnet strong {
    font-size: 27px;
  }
  .hero-object .magnet.echo {
    display: none;
  }
  .hero h1 span:last-child {
    padding-top: 20px;
  }
  .header-demo {
    display: none;
  }
}
@media (max-width: 360px) {
  .hero-object {
    width: 86px;
    top: 21px;
  }
  .hero-object .magnet strong {
    font-size: 24px;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .hero h1 span:first-child {
    font-size: 32vw;
  }
  .hero-object {
    width: 180px;
    top: 72px;
  }
  .hero-object .magnet.echo {
    display: none;
  }
}
