.check-in-main {
  min-height: 0;
  padding: 175px 6vw var(--section-space);
  background: var(--cream);
}

.check-in-guide {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.check-in-intro {
  text-align: center;
}

.check-in-eyebrow {
  margin: 0 0 8px;
  color: #667b85;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.check-in-intro h1 {
  margin-bottom: 20px;
}

.check-in-intro > p:last-child {
  max-width: 700px;
  margin: 0 auto;
  color: #47616e;
  font-size: 18px;
  line-height: 1.75;
}

.check-in-progress {
  width: min(760px, 100%);
  margin: 52px auto 42px;
}

.check-in-progress-copy {
  display: flex;
  min-height: 24px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.check-in-progress-copy button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #687b84;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.check-in-progress-copy button:hover {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.check-in-progress-track {
  height: 3px;
  overflow: hidden;
  background: rgba(11, 63, 91, 0.14);
}

.check-in-progress-track span {
  display: block;
  width: var(--check-in-progress, 0%);
  height: 100%;
  background: var(--navy);
  transition: width 320ms ease;
}

.check-in-steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-in-steps > li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 26px;
  padding: 32px 34px;
  border: 1px solid rgba(11, 63, 91, 0.14);
  background: #fff;
  box-shadow: 0 12px 32px rgba(29, 43, 51, 0.045);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    opacity 240ms ease;
}

.check-in-steps > li:hover {
  border-color: rgba(11, 63, 91, 0.28);
  box-shadow: 0 16px 38px rgba(29, 43, 51, 0.075);
}

.check-in-steps > li.is-complete {
  border-color: rgba(11, 63, 91, 0.22);
}

.check-in-steps > li.is-complete .check-in-step-copy h2 {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
}

.check-in-control {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  cursor: pointer;
  transition: transform 200ms ease;
}

.check-in-control:hover,
.check-in-control:has(input:checked) {
  transform: scale(1.045);
}

.check-in-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.check-in-box {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(11, 63, 91, 0.45);
  background: transparent;
  transition:
    border-color 200ms ease,
    background-color 200ms ease;
}

.check-in-number {
  position: relative;
  z-index: 1;
  color: var(--navy);
  font-size: 15px;
  font-weight: 400;
  transition: opacity 160ms ease;
}

.check-in-control input:checked ~ .check-in-box {
  border-color: var(--navy);
  background: var(--navy);
}

.check-in-control input:checked ~ .check-in-box::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: translate(-50%, -65%) rotate(-45deg);
}

.check-in-control input:checked ~ .check-in-number {
  opacity: 0;
}

.check-in-control input:focus-visible ~ .check-in-box {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.check-in-step-heading {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
}

.check-in-step-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.check-in-step-copy p {
  max-width: 820px;
  margin: 0;
  color: #344e5b;
  font-size: 16px;
  line-height: 1.75;
}

.check-in-step-copy p + p {
  margin-top: 12px;
}

.check-in-step-copy a:not(.check-in-action) {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.check-in-tag {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(11, 63, 91, 0.2);
  color: #617680;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.check-in-tag--required {
  border-color: #ff7f3e;
  color: #ff7f3e;
}

.check-in-action {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 22px;
  border: 1px solid #0e4061;
  background: #0e4061;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  line-height: 30px;
  text-decoration: none !important;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  will-change: transform;
}

.check-in-step-copy .check-in-action:hover {
  border-color: #0e4061;
  background: #fff;
  color: #0e4061 !important;
}

.check-in-text-link {
  display: inline-block;
  margin-top: 12px;
}

.check-in-reminders {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #344e5b;
  font-size: 16px;
  line-height: 1.75;
  list-style: none;
}

.check-in-reminders li {
  position: relative;
  padding-left: 20px;
}

.check-in-reminders li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  content: "";
}

.check-in-finish {
  margin-top: 54px;
  text-align: center;
}

.check-in-finish-title {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 30px;
  font-weight: 300;
  line-height: 1.3;
}

.check-in-finish > p:last-child {
  color: #526b77;
  font-size: 17px;
}

.check-in-finish a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

html[data-theme="dark"] .check-in-main {
  background: var(--navy);
}

html[data-theme="dark"] .check-in-intro > p:last-child,
html[data-theme="dark"] .check-in-progress-copy,
html[data-theme="dark"] .check-in-step-copy p,
html[data-theme="dark"] .check-in-reminders,
html[data-theme="dark"] .check-in-finish > p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

html[data-theme="dark"] .check-in-eyebrow,
html[data-theme="dark"] .check-in-tag,
html[data-theme="dark"] .check-in-progress-copy button {
  color: rgba(255, 255, 255, 0.62);
}

html[data-theme="dark"] .check-in-progress-track {
  background: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .check-in-progress-track span {
  background: var(--gold);
}

html[data-theme="dark"] .check-in-steps > li {
  border-color: rgba(255, 255, 255, 0.13);
  background: var(--deep);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .check-in-steps > li:hover {
  border-color: rgba(255, 255, 255, 0.26);
}

html[data-theme="dark"] .check-in-step-copy h2,
html[data-theme="dark"] .check-in-finish-title,
html[data-theme="dark"] .check-in-step-copy a:not(.check-in-action),
html[data-theme="dark"] .check-in-finish a {
  color: #fff;
}

html[data-theme="dark"] .check-in-box,
html[data-theme="dark"] .check-in-tag {
  border-color: rgba(255, 255, 255, 0.3);
}

html[data-theme="dark"] .check-in-number {
  color: #fff;
}

html[data-theme="dark"] .check-in-control input:checked ~ .check-in-box,
html[data-theme="dark"] .check-in-action {
  border-color: #fff;
  background: #fff;
}

html[data-theme="dark"] .check-in-control input:checked ~ .check-in-box::after {
  border-color: var(--navy);
}

html[data-theme="dark"] .check-in-action {
  color: var(--navy);
}

html[data-theme="dark"] .check-in-action:hover {
  border-color: #fff;
  background: var(--deep);
  color: #fff !important;
}

html[data-theme="dark"] .check-in-reminders li::before {
  background: var(--gold);
}

html[data-theme="dark"] .check-in-tag--required {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 767px) {
  .check-in-main {
    padding: 155px 6vw var(--section-space-mobile);
  }

  .check-in-intro > p:last-child {
    font-size: 16px;
  }

  .check-in-progress {
    margin: 42px auto 30px;
  }

  .check-in-steps {
    gap: 14px;
  }

  .check-in-steps > li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
    padding: 24px 18px;
  }

  .check-in-control {
    width: 38px;
    height: 38px;
  }

  .check-in-control input:checked ~ .check-in-box::after {
    width: 10px;
    height: 6px;
  }

  .check-in-step-heading {
    display: block;
    margin-bottom: 12px;
  }

  .check-in-step-copy h2 {
    margin-bottom: 10px;
    font-size: 23px;
  }

  .check-in-tag {
    display: inline-block;
  }

  .check-in-step-copy p,
  .check-in-reminders {
    font-size: 15px;
  }

  .check-in-finish-title {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .check-in-progress-track span,
  .check-in-steps > li,
  .check-in-control,
  .check-in-box {
    transition: none;
  }
}
