/* ==========================================================================
   Fold shared site chrome: header, phone menu, footer.
   Markup lives in scripts/site-chrome/{header,footer}.html and is stamped
   into every marketing page by `npm run chrome:build`. Behaviour: /site-chrome.js.

   Every page still carries its own inline CSS with different rules for bare
   nav / header / footer / a / ul / button, so nothing here leans on page CSS:
   - the three roots cut inheritance with `all:initial`, then set what they need;
   - every element is reset by the first rule below, then styled by a rule with
     at least two classes, so page element selectors can never win;
   - colours come from --fc-* tokens defined on the roots.
   ========================================================================== */

.fc-header, .fc-menu, .fc-footer {
  all: initial;
  --fc-ink: #0A0D12;
  --fc-ink-2: #181D27;
  --fc-gray: #535862;
  --fc-line: #E9EAEB;
  --fc-blue: #2B5CE6;
  --fc-blue-700: #1E43B8;
  --fc-blue-50: #F4F7FF;
  --fc-font: "Inter", "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fc-font-display: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
  font-family: var(--fc-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--fc-ink-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Reset for every chrome element (they all carry an fc- class) and the few
   bare tags inside them. Component rules below come later with equal or
   higher specificity. The homepage scene inside .fc-footer-slot is untouched. */
.fc-header [class*="fc-"], .fc-menu [class*="fc-"], .fc-footer [class*="fc-"],
.fc-header strong, .fc-header span:not([class]),
.fc-menu small, .fc-menu span:not([class]),
.fc-footer .fc-flist li, .fc-footer .fc-footer-bottom div, .fc-footer .fc-footer-bottom span {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: none;
  box-shadow: none;
  text-shadow: none;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  text-align: left;
  text-indent: 0;
  white-space: normal;
  color: inherit;
  opacity: 1;
  visibility: inherit;
  float: none;
  position: static;
  top: auto; right: auto; bottom: auto; left: auto;
  z-index: auto;
  width: auto; height: auto;
  min-width: 0; min-height: 0;
  max-width: none; max-height: none;
  flex: 0 1 auto;
  order: 0;
  align-self: auto;
  overflow: visible;
  transform: none;
  filter: none;
  transition: none;
  animation: none;
  list-style: none;
  cursor: auto;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.fc-header a[class*="fc-"], .fc-menu a[class*="fc-"], .fc-footer a[class*="fc-"],
.fc-header button[class*="fc-"], .fc-menu button[class*="fc-"] { cursor: pointer; }
.fc-header svg, .fc-menu svg, .fc-footer .fc-logo svg {
  display: block; flex: 0 0 auto; max-width: none; margin: 0; padding: 0; overflow: hidden;
}
.fc-header a[class*="fc-"]:focus-visible, .fc-header button[class*="fc-"]:focus-visible,
.fc-menu a[class*="fc-"]:focus-visible, .fc-menu button[class*="fc-"]:focus-visible,
.fc-footer a[class*="fc-"]:focus-visible {
  outline: 2px solid var(--fc-blue-700);
  outline-offset: 2px;
}

/* Anchor targets clear the sticky header. Zero specificity: any page rule wins. */
:where([id]) { scroll-margin-top: 72px; }

/* ----------------------------------------------------------------- header */
.fc-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 50;                /* as the old headers: under page modals/scrims (80+) and the phone bottom bar (60), over page content */
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--fc-line);
}
.fc-header .fc-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 71px;               /* + 1px border = 72px, the scroll-margin above */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.fc-header .fc-brand, .fc-menu .fc-brand, .fc-footer .fc-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-family: var(--fc-font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--fc-ink);
}
.fc-header .fc-logo, .fc-menu .fc-logo, .fc-footer .fc-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--fc-blue) 0%, var(--fc-blue-700) 100%);
}
.fc-header .fc-logo svg, .fc-menu .fc-logo svg, .fc-footer .fc-logo svg { width: 19px; height: 19px; }
.fc-header .fc-word, .fc-menu .fc-word, .fc-footer .fc-word { display: block; }

.fc-header .fc-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fc-gray);
  white-space: nowrap;
  transition: color .15s ease;
}
.fc-header .fc-phone:hover { color: var(--fc-blue); }
.fc-header .fc-phone .fc-ic { width: 14px; height: 14px; opacity: .75; }

.fc-header .fc-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--fc-ink-2);
  white-space: nowrap;
}
.fc-header .fc-link, .fc-header .fc-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 2px;
  white-space: nowrap;
  transition: color .15s ease;
}
.fc-header .fc-link:hover, .fc-header .fc-dd-btn:hover,
.fc-header .fc-dd.fc-open .fc-dd-btn, .fc-header .fc-link.fc-on { color: var(--fc-blue); }
.fc-header .fc-dd { display: block; position: relative; }
.fc-header .fc-caret { width: 10px; height: 10px; transition: transform .18s ease; }
.fc-header .fc-dd.fc-open .fc-caret { transform: rotate(180deg); }
.fc-header .fc-dd-menu {
  display: block;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 2;
  min-width: 280px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(10, 13, 18, .14);
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.fc-header .fc-dd-menu::before {          /* hover bridge across the 10px gap */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -12px;
  height: 12px;
}
.fc-header .fc-dd.fc-open .fc-dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .16s ease, transform .16s ease, visibility 0s;
}
.fc-header .fc-dd-item { display: block; padding: 11px 14px; border-radius: 11px; }
.fc-header .fc-dd-item:hover, .fc-header .fc-dd-item:focus-visible { background: var(--fc-blue-50); }
.fc-header .fc-dd-item strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--fc-ink); }
.fc-header .fc-dd-item .fc-dd-sub { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 400; color: var(--fc-gray); }
.fc-header .fc-dd-item.fc-on strong { color: var(--fc-blue); }

.fc-header .fc-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;             /* never shrinks on desktop: site-chrome.js detects a bar that is too wide */
}
.fc-header .fc-signin {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--fc-ink-2);
  white-space: nowrap;
  transition: color .15s ease;
}
.fc-header .fc-signin:hover { color: var(--fc-blue); }
.fc-header .fc-cta {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--fc-blue);
  box-shadow: 0 4px 14px rgba(43, 92, 230, .24);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  transition: background .15s ease;
}
.fc-header .fc-cta:hover { background: var(--fc-blue-700); }

/* Hotel guests: "Track your laundry". In the markup everywhere, shown only
   where <body class="fc-show-track"> (hotel.html). */
.fc-header .fc-track { display: none; }
body.fc-show-track .fc-header .fc-track {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--fc-blue-50);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fc-blue-700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .15s ease;
}
body.fc-show-track .fc-header .fc-track:hover { background: #E0E8FE; }

.fc-header .fc-burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--fc-line);
  border-radius: 12px;
  background: #fff;
}
.fc-header .fc-burger-ic, .fc-header .fc-burger-ic::before, .fc-header .fc-burger-ic::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--fc-ink);
}
.fc-header .fc-burger-ic { position: relative; }
.fc-header .fc-burger-ic::before, .fc-header .fc-burger-ic::after { content: ""; position: absolute; left: 0; }
.fc-header .fc-burger-ic::before { top: -6px; }
.fc-header .fc-burger-ic::after { top: 6px; }

/* Phone number only when there is room for it. */
@media (max-width: 1219.98px) { .fc-header .fc-phone { display: none; } }
body.fc-show-track .fc-header .fc-phone { display: none; }

/* Compact mode: centre links and Sign in move into the menu. Three triggers
   with the same effect: the 1020px breakpoint, the wider breakpoint on the
   page that also shows the track link, and .fc-collapsed, which
   site-chrome.js adds if the full bar does not fit (e.g. wider fonts). */
@media (max-width: 1019.98px) {
  .fc-header .fc-nav, .fc-header .fc-signin { display: none; }
  .fc-header .fc-actions { margin-left: auto; flex: 0 1 auto; min-width: 0; }
  .fc-header .fc-burger { display: inline-flex; }
}
@media (max-width: 1199.98px) {
  body.fc-show-track .fc-header .fc-nav, body.fc-show-track .fc-header .fc-signin { display: none; }
  body.fc-show-track .fc-header .fc-actions { margin-left: auto; flex: 0 1 auto; min-width: 0; }
  body.fc-show-track .fc-header .fc-burger { display: inline-flex; }
}
.fc-header.fc-collapsed .fc-nav, .fc-header.fc-collapsed .fc-signin, .fc-header.fc-collapsed .fc-phone { display: none; }
.fc-header.fc-collapsed .fc-actions { margin-left: auto; flex: 0 1 auto; min-width: 0; }
.fc-header.fc-collapsed .fc-burger { display: inline-flex; }

/* Phones: pages with a sticky bottom bar already carry Schedule + Call there,
   so the header keeps only logo + menu button (same 760px cut as that bar). */
@media (max-width: 760px) {
  .fc-header .fc-cta { display: none; }
}
@media (max-width: 600px) {
  .fc-header .fc-bar { padding: 0 20px; gap: 10px; }
  body.fc-show-track .fc-header .fc-track { padding: 8px 10px; font-size: 13px; }
}
@media (max-width: 359.98px) {
  .fc-header .fc-bar { padding: 0 14px; gap: 8px; }
  body.fc-show-track .fc-header .fc-track { padding: 7px 8px; font-size: 12.5px; }
  /* 320px phones on the hotel page: the mark alone, so "Track your laundry" is never cut off */
  body.fc-show-track .fc-header .fc-word { display: none; }
}

/* ------------------------------------------------------------- phone menu */
html.fold-mnav-lock, html.fold-mnav-lock body { overflow: hidden !important; }
.fc-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1000;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: env(safe-area-inset-top, 0px) 24px calc(24px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  color: var(--fc-ink);
}
.fc-menu.fc-open { display: flex; }
@media (prefers-reduced-motion: no-preference) { .fc-menu.fc-open { animation: fcMenuIn .18s ease; } }
@keyframes fcMenuIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fc-menu .fc-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  height: 72px;
}
.fc-menu .fc-menu-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--fc-line);
  border-radius: 12px;
  background: #fff;
  color: var(--fc-ink);
}
.fc-menu .fc-menu-x svg { width: 16px; height: 16px; }
.fc-menu .fc-menu-nav { display: block; flex: 0 0 auto; }
.fc-menu .fc-mn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 50px;
  padding: 6px 0;
  border-bottom: 1px solid var(--fc-line);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--fc-ink);
}
.fc-menu .fc-mn.fc-mn-big {
  min-height: 58px;
  font-family: var(--fc-font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.fc-menu .fc-mn small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 400; color: #717680; }
.fc-menu .fc-mn.fc-on { color: var(--fc-blue); }
.fc-menu .fc-menu-grp {
  display: block;
  margin: 22px 0 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #717680;
}
.fc-menu .fc-mn-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 6px 0;
  border-bottom: 1px solid var(--fc-line);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--fc-ink);
}
.fc-menu .fc-mn-acc .fc-caret { width: 12px; height: 12px; color: #717680; transition: transform .15s ease; }
.fc-menu .fc-mn-acc[aria-expanded="true"] .fc-caret { transform: rotate(90deg); }
.fc-menu .fc-mn-acc-body { display: none; border-bottom: 1px solid var(--fc-line); }
.fc-menu .fc-mn-acc[aria-expanded="true"] + .fc-mn-acc-body { display: block; }
.fc-menu .fc-mn.fc-mn-sub { min-height: 44px; padding-left: 14px; border-bottom: 0; }
.fc-menu .fc-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 26px;
}
.fc-menu .fc-menu-go, .fc-menu .fc-menu-signin, .fc-menu .fc-menu-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
}
.fc-menu .fc-menu-go { background: var(--fc-blue); color: #fff; }
.fc-menu .fc-menu-signin { border: 1.5px solid var(--fc-line); background: #fff; color: var(--fc-ink); }
.fc-menu .fc-menu-phone { min-height: 40px; font-size: 15px; font-weight: 500; color: var(--fc-gray); }
.fc-menu .fc-menu-phone .fc-ic { width: 15px; height: 15px; opacity: .75; }
@media (max-width: 600px) { .fc-menu { padding-left: 20px; padding-right: 20px; } }
@media (max-width: 359.98px) { .fc-menu { padding-left: 14px; padding-right: 14px; } }

/* ----------------------------------------------------------------- footer */
.fc-footer {
  display: block;
  position: relative;
  z-index: 46;                /* slides over in-page sticky tab bars (z 45); stays under the header (50) */
  width: 100%;
  padding: 64px 0 0;
  background: linear-gradient(180deg, #FFFDF8 0%, #FEF8EE 45%, #FBEBD2 100%);
  font-size: 14px;
  line-height: 1.55;
  color: #4A5163;
}
.fc-footer .fc-footer-in { display: block; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.fc-footer .fc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
}
.fc-footer .fc-fcol { display: block; }
.fc-footer .fc-brand { display: inline-flex; font-size: 24px; }
.fc-footer .fc-blurb { display: block; max-width: 320px; margin-top: 14px; }
.fc-footer .fc-fbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--fc-blue);
  box-shadow: 0 1px 2px rgba(10, 13, 18, .06);
  font-weight: 600;
  color: #fff;
  transition: background .2s ease;
}
.fc-footer .fc-fbtn:hover { background: var(--fc-blue-700); }
.fc-footer .fc-fhead {
  display: block;
  margin: 8px 0 14px;
  font-family: var(--fc-font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fc-ink);
}
.fc-footer .fc-flist { display: grid; gap: 8px; }
.fc-footer .fc-flist li { display: block; }
.fc-footer .fc-fl { color: #3A4256; transition: color .15s ease; }
.fc-footer .fc-fl:hover { color: var(--fc-blue-700); }

/* Per-page slot between the link grid and the bottom bar (homepage scene).
   Its content is styled by the page that fills it; it only inherits the
   homepage's text defaults from here. */
.fc-footer .fc-footer-slot { display: block; margin-top: -48px; text-align: start; }
.fc-footer .fc-footer-slot:empty { display: none; }

.fc-footer .fc-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 16px max(24px, calc(50% - 576px));
  background: var(--fc-blue-700);
  font-size: 13px;
  color: #E7ECFB;
}
.fc-footer .fc-footer-bottom div { display: block; }
.fc-footer .fc-bl { color: #fff; }
.fc-footer .fc-bl:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .fc-footer .fc-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .fc-footer .fc-fhead { margin-top: 0; }
}
@media (max-width: 600px) {
  .fc-footer .fc-footer-in { padding: 0 20px; }
  .fc-footer .fc-footer-bottom { padding: 16px 20px; }
}
@media (max-width: 520px) {
  .fc-footer { padding-top: 48px; }
  .fc-footer .fc-footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Page-specific legal note a page keeps directly above the shared footer. */
.fc-pagenote {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  font-family: "Inter", "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #535862;
  text-align: center;
}

@media print {
  .fc-header, .fc-menu, .fc-footer { display: none !important; }
}
