/* Front door, 30 November 2026.
   The logo lockup: "Managed" sits under the Work Covered logo, in line with the wordmark.
   The footer: a quiet text link back to the main site. */
.site-header .brand {
  display: inline-grid;
  gap: 0;
}

/* Same logo sizes as the main site: 240px, 190px from 1150px down, 182px from 700px down,
   164px from 370px down. */
.site-header .brand img,
.launch-mode .site-header .brand img {
  width: 240px;
  max-width: none;
  height: auto;
}

/* "Managed" is the second line of the name: normal spacing, in the logo's off-white so it stands
   apart from the amber "Covered", centred between two fine amber rules. The rules run from the
   left of the W to the right of the d in the wordmark above (18.4% to 97.6% of the artwork),
   which ties the word to the name without stretching it. */
.site-header .brand__tag {
  display: flex;
  align-items: center;
  margin: 1px 2.4% 0 18.4%;
  padding: 0;
  border: 0;
  color: #e8efeb;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.site-header .brand__tag::before,
.site-header .brand__tag::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #f5b82e;
  opacity: .6;
}

.site-header .brand__tag::before { margin-right: .75em; }
.site-header .brand__tag::after { margin-left: .75em; }

.site-header .brand__tag span {
  padding: 0 .045em;
}

/* With a mouse: the letters lift and turn amber one after another, once, when the pointer
   reaches the logo. Nothing moves on touch screens or with reduced motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-header .brand:hover .brand__tag span,
  .site-header .brand:focus-visible .brand__tag span {
    animation: brand-tag-wave .52s ease-in-out both;
  }

  .site-header .brand__tag span:nth-child(2) { animation-delay: .05s; }
  .site-header .brand__tag span:nth-child(3) { animation-delay: .1s; }
  .site-header .brand__tag span:nth-child(4) { animation-delay: .15s; }
  .site-header .brand__tag span:nth-child(5) { animation-delay: .2s; }
  .site-header .brand__tag span:nth-child(6) { animation-delay: .25s; }
  .site-header .brand__tag span:nth-child(7) { animation-delay: .3s; }

  @keyframes brand-tag-wave {
    40% { transform: translateY(-3px); color: #f5b82e; }
  }
}

@media (max-width: 1150px) {
  .site-header .brand img,
  .launch-mode .site-header .brand img { width: 190px; }
  .site-header .brand__tag { font-size: .6875rem; }
}

@media (max-width: 700px) {
  .site-header .brand img,
  .launch-mode .site-header .brand img { width: 182px; }
  .site-header .brand__tag { font-size: .625rem; }
}

/* Narrow phones. While the opening bar is showing, it already carries "Register your interest"
   directly under the header, so the header button steps aside and the logo keeps its full size. */
@media (max-width: 461px) {
  .launch-mode .site-header .site-header__cta { display: none; }
  .launch-mode .site-header .menu { margin-left: auto; }
}

@media (max-width: 370px) {
  .site-header .brand img,
  .launch-mode .site-header .brand img { width: 164px; }
}

/* After opening, the header button returns; below 462px the logo then takes the room that is left. */
@media (max-width: 461px) {
  html:not(.launch-mode) .site-header .brand img { width: auto; max-width: 114px; }
}

.review-footer .part-of {
  color: #c3cbc3;
  font-size: 13px;
}

.review-footer .part-of a {
  color: var(--ink);
}
