/* MoveConsole — the switch pages: from another CRM, from spreadsheets.
   They sit with the company pages (company.css: light, left-aligned heads, kraft card and ink stamps) and add their own
   pieces: the hero's import (the five steps of MoveConsole's importer, one pane at a time), the two ways to switch —
   full service or do it yourself, the way movers sell their own moves — the spreadsheet-vs-MoveConsole rows, messy
   cells read clean, where the export lives, and an FAQ. Builds on site.css + company.css. */

/* ---------- hero ---------- */
.sw-hero h1{ font-size: clamp(40px, 4.6vw, 70px); }
.sw-hero .lead{ max-width: 38ch; }

/* the import: a move order on top, the five steps, one pane at a time (assets/switch.js runs them) */
.sw-imp{
  position: relative; width: min(560px, 100%); margin-inline: auto; border-radius: 24px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 50px 80px -50px rgba(6, 26, 63, .45); font-family: var(--font-ui);
}
.sw-order{
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; border-radius: 24px 24px 0 0;
  background: var(--kraft-3); border-bottom: 1.5px dashed rgba(110, 74, 34, .35); color: var(--kraft-ink); font-family: var(--font-mono);
}
.sw-order > b{ padding: 6px 9px; border-radius: 6px; background: var(--kraft-ink); color: var(--kraft-3); font: 700 10.5px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.sw-order dl{ display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; }
.sw-order dl div{ display: flex; align-items: baseline; gap: 7px; }
.sw-order dt{ font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.sw-order dd{ margin: 0; color: #17171f; font: 600 12.5px/1.3 var(--font-mono); }

.sw-steps{ list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 16px 18px 4px; }
.sw-steps li{ display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font: 500 12.5px/1 var(--font-ui); white-space: nowrap; transition: color .3s; }
.sw-steps li + li::before{ content: ""; width: 12px; height: 1.5px; margin-right: 1px; background: #d9dce3; }
.sw-steps i{
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #eef0f4; color: var(--muted);
  font: 600 10.5px/1 var(--font-ui); font-style: normal; transition: background-color .3s, color .3s;
}
.sw-steps .is-on{ color: var(--navy); }
.sw-steps .is-on i{ background: var(--blue); color: #fff; }
.sw-steps .is-done i{
  color: transparent;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5bd6' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.sw-panes{ display: grid; padding: 10px 18px 18px; }
/* one pane at a time: the old one fades out first, then the new one fades in — they never overlap */
.sw-pane{ grid-area: 1 / 1; display: grid; align-content: start; gap: 8px; opacity: 0; visibility: hidden; transition: opacity .18s ease-out, visibility 0s .18s; }
.sw-pane.is-on{ opacity: 1; visibility: visible; transition: opacity .4s var(--ease) .18s, visibility 0s .18s; }
.sw-cap{ display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 4px 2px 2px; color: var(--muted); font: 500 12px/1.3 var(--font-ui); }

/* 1 · the file */
.sw-drop{ display: grid; place-items: center; align-content: center; gap: 12px; min-height: 300px; border: 1.5px dashed #c9cdd6; border-radius: 16px; background: #fafbfc; }
.sw-file{
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 12px 16px 12px 12px; border-radius: 14px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 16px 30px -22px rgba(6, 26, 63, .5);
}
.sw-file i{ grid-row: span 2; display: grid; place-items: center; width: 40px; height: 46px; border-radius: 8px; background: #e3f6ec; color: #0f7a4a; font: 700 10px/1 var(--font-mono); font-style: normal; letter-spacing: .06em; }
.sw-file b{ color: var(--ink); font: 600 14px/1.2 var(--font-mono); }
.sw-file em{ color: var(--muted); font: 400 12.5px/1.2 var(--font-ui); font-style: normal; }
.sw-drop small{ color: var(--muted); font: 400 12.5px/1.3 var(--font-ui); }

/* 2 · columns, 3 · statuses: what's in the file → what it becomes */
.sw-map{ list-style: none; display: grid; gap: 7px; margin: 0; padding: 0; }
.sw-map li{ display: grid; grid-template-columns: minmax(0, .92fr) 26px minmax(0, 1.08fr) 20px; align-items: center; gap: 8px; }
.sw-old, .sw-new{ min-width: 0; padding: 8px 10px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-old{ border: 1px solid #e3e5ea; background: #f6f7f9; color: #3b3f47; font: 500 12.5px/1.25 var(--font-mono); }
.sw-new{ background: var(--blue-50); color: var(--navy); font: 500 13px/1.25 var(--font-ui); box-shadow: inset 0 0 0 1px rgba(24, 111, 242, .18); transition: opacity .3s; }
.sw-map > li > i{ position: relative; height: 1.5px; background: #c3c8d2; transition: opacity .3s; }
.sw-map > li > i::after{ content: ""; position: absolute; right: -1px; top: -3.5px; border: 4px solid transparent; border-left: 6px solid #c3c8d2; border-right: 0; }
.sw-map > li > b{ width: 20px; height: 20px; border-radius: 50%; background: #eef0f4; transition: background-color .3s, scale .3s var(--ease); }
.sw-map > li.is-ok > b{
  background: #16a362 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.sw-map > li:not(.is-ok) .sw-new, .sw-map > li:not(.is-ok) > i{ opacity: .28; }
.sw-st{ justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 600 12.5px/1 var(--font-ui); transition: opacity .3s; }
.sw-st::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sw-map > li:not(.is-ok) .sw-st{ opacity: .28; }
.sw-st.s-ok{ background: #e3f6ec; color: #0f7a4a; }
.sw-st.s-done{ background: #e8edf7; color: #1f3b70; }
.sw-st.s-off{ background: #fdeceb; color: #b42318; }
.sw-st.s-wait{ background: #fdf3dc; color: #8a5a12; }
.sw-st.s-pre{ background: #def3f5; color: #0f6b78; }
.sw-st.s-hold{ background: #eef0f4; color: #4b4f58; }
.sw-note{ margin: 4px 2px 0; color: var(--muted); font: 400 12.5px/1.45 var(--font-ui); }

/* 4 · review */
.sw-sum{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sw-sum div{ display: grid; gap: 6px; padding: 16px; border-radius: 14px; background: #f6f7f9; }
.sw-sum b{ color: var(--navy); font: 600 30px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sw-sum span{ color: var(--ink-2); font: 400 13px/1.3 var(--font-ui); }
.sw-quiet{
  display: flex; align-items: center; gap: 10px; margin: 2px 0 0; padding: 12px 14px; border-radius: 12px; background: #e3f6ec; color: #0f5d3a; font: 500 13px/1.35 var(--font-ui);
}
.sw-quiet::before{
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: #16a362 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* 5 · import */
.sw-bar{ height: 10px; margin: 6px 0 4px; border-radius: 999px; background: #eef0f4; overflow: hidden; }
.sw-bar i{ display: block; height: 100%; border-radius: inherit; background: var(--blue); transform-origin: left; }
.sw-done{ display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 10px; padding: 16px; border-radius: 16px; background: #f6f7f9; }
.sw-done > i{
  width: 40px; height: 40px; border-radius: 12px;
  background: #16a362 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.sw-done div{ display: grid; gap: 4px; min-width: 0; }
.sw-done b{ color: var(--navy); font: 600 16px/1.2 var(--font-ui); }
.sw-done span{ color: var(--ink-2); font: 400 13px/1.35 var(--font-ui); }
.sw-undo{ display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #dcdfe5; color: var(--ink); font: 600 13px/1 var(--font-ui); }
.sw-undo svg{ width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sw-done-list{ list-style: none; display: grid; gap: 8px; margin: 8px 0 0; padding: 0; }
.sw-done-list li{ display: flex; align-items: center; gap: 10px; color: var(--ink-2); font: 400 13px/1.35 var(--font-ui); }
.sw-done-list li::before{ content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.sw-done, .sw-done-list{ transition: opacity .45s var(--ease), translate .45s var(--ease); }
.sw-pane.is-wait .sw-done, .sw-pane.is-wait .sw-done-list{ opacity: 0; translate: 0 8px; }

/* ---------- two ways to switch: full service or do it yourself ---------- */
.sw-ways{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sw-way{ position: relative; display: grid; align-content: start; justify-items: start; gap: 14px; padding: clamp(26px, 3.2vw, 44px); border-radius: 32px; }
.sw-way.is-full{ --bg: var(--kraft-3); background: var(--bg); box-shadow: inset 0 0 0 1px rgba(110, 74, 34, .12); }
.sw-way.is-diy{ --bg: var(--blue-50); background: var(--bg); box-shadow: inset 0 0 0 1px rgba(24, 111, 242, .12); }
.sw-tag{ display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--navy); font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.sw-way.is-full .sw-tag{ color: var(--kraft-ink); }
.sw-way h3{ margin: 4px 0 0; padding-right: 96px; color: var(--navy); font-size: clamp(30px, 3vw, 44px); line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.sw-way > p{ max-width: 40ch; margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.sw-stamp{
  position: absolute; top: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px); display: grid; place-items: center; align-content: center; gap: 3px;
  width: 88px; height: 88px; border-radius: 50%; rotate: 12deg; color: var(--stamp); border: 3px solid currentColor;
  box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 5.5px currentColor; text-align: center; text-transform: uppercase; opacity: .9;
}
.sw-stamp b{ font: 700 17px/1 var(--font); letter-spacing: .1em; }
.sw-stamp small{ font: 700 8.5px/1.15 var(--font); letter-spacing: .12em; }
.sw-list{ list-style: none; counter-reset: s; display: grid; width: 100%; margin: 6px 0 8px; padding: 0; }
.sw-list li{
  counter-increment: s; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 14px; padding: 14px 0;
  border-top: 1px solid rgba(6, 26, 63, .09); color: var(--ink-2); font-size: 15.5px; line-height: 1.5;
}
.sw-list li::before{ content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; margin-top: -3px; border-radius: 50%; background: #fff; color: var(--navy); font: 600 13px/1 var(--font-ui); }
.sw-list b{ color: var(--navy); font-weight: 600; }

/* ---------- spreadsheet → MoveConsole, row by row ---------- */
.sw-vs{ list-style: none; display: grid; margin: 0; padding: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.sw-vs-h, .sw-vs li{ display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr); }
.sw-vs-h{ background: #f1f3f5; border-bottom: 1px solid #dfe2e7; color: var(--muted); font: 600 11.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.sw-vs-h span{ padding: 14px 18px; }
.sw-vs-h span:first-child{ padding: 0; border-right: 1px solid #dfe2e7; }
.sw-vs-h span:last-child{ color: var(--blue); background: var(--blue-50); }
.sw-vs li + li{ border-top: 1px solid #e8eaee; }
.sw-vs li > i{ display: grid; place-items: center; background: #f6f7f9; border-right: 1px solid #e8eaee; color: #9aa0aa; font: 500 12px/1 var(--font-mono); font-style: normal; }
.sw-vs li > s{ padding: 18px; color: #6b6f78; font: 400 14.5px/1.45 var(--font-mono); text-decoration: none; border-right: 1px solid #e8eaee; }
.sw-vs li:not(.sw-vs-h) > span{ display: flex; align-items: flex-start; gap: 12px; padding: 18px; color: var(--navy); font-size: 16.5px; line-height: 1.45; font-weight: 500; }
.sw-vs li:not(.sw-vs-h) > span::before{
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- messy cells, read clean ---------- */
.sw-clean{ list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.sw-clean li{ display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); align-items: center; gap: 10px; padding: 16px; border-radius: 20px; background: var(--oat); }
.sw-clean code{
  min-width: 0; padding: 12px; border: 1px solid #dcd9d1; border-radius: 10px; background: #fff; color: #3b3f47; font: 500 13.5px/1.3 var(--font-mono);
  overflow-wrap: anywhere;
}
.sw-clean li > i{ position: relative; height: 1.5px; background: #b9bcc4; }
.sw-clean li > i::after{ content: ""; position: absolute; right: -1px; top: -3.5px; border: 4px solid transparent; border-left: 6px solid #b9bcc4; border-right: 0; }
.sw-clean li > span{ display: grid; gap: 4px; min-width: 0; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(24, 111, 242, .2); color: var(--navy); font: 600 15px/1.3 var(--font-ui); }
.sw-clean small{ color: var(--blue-600); font: 600 10.5px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.sw-after{ max-width: 60ch; margin: 18px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }

/* ---------- where the export lives ---------- */
.sw-apps{ list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.sw-apps li{ display: grid; align-content: start; gap: 12px; padding: 24px 22px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sw-apps b{ color: var(--navy); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.sw-path{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sw-path span{ display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--oat); color: var(--ink); font: 500 13px/1 var(--font-ui); white-space: nowrap; }
.sw-path i{ color: var(--muted); font-style: normal; font-size: 13px; }
.sw-apps p{ margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

/* ---------- FAQ (the same look as the product pages' FAQ in hub.css, which these pages don't load) ---------- */
.sw .faq{ display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sw .faq-l{ position: sticky; top: calc(var(--hdr) + 32px); display: grid; gap: 18px; justify-items: start; }
.sw .faq-l h2{ margin: 0; color: var(--navy); font-size: clamp(32px, 3.4vw, 48px); line-height: 1; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.sw .faq-l h2::before{ content: ""; display: block; width: 44px; height: 4px; margin-bottom: 22px; border-radius: 4px; background: var(--blue); }
.sw .faq-l p{ max-width: 36ch; margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.sw .faq-list{ border-bottom: 1px solid var(--line); }
.sw .faq-list details{ border-top: 1px solid var(--line); }
.sw .faq-list summary{ display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; list-style: none; cursor: pointer; color: var(--navy); font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.sw .faq-list summary::-webkit-details-marker{ display: none; }
.sw .faq-list summary::after{
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 10px; transition: transform .35s var(--ease), background-color .25s var(--ease-btn);
  background: var(--oat) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.sw .faq-list details[open] summary::after{ transform: rotate(45deg); background-color: var(--blue-50); }
.sw .faq-a{ padding: 0 48px 24px 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.sw .faq-a a{ text-decoration: underline; text-underline-offset: 3px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px){
  .sw-clean{ grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px){
  .sw-ways, .sw .faq{ grid-template-columns: minmax(0, 1fr); }
  .sw .faq-l{ position: static; }
  .sw-apps{ grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px){
  .sw-imp{ border-radius: 20px; }
  .sw-order{ border-radius: 20px 20px 0 0; padding: 12px 14px; }
  .sw-steps{ gap: 6px; padding: 14px 14px 2px; }
  .sw-steps li{ font-size: 0; gap: 0; }               /* on a phone the steps keep their numbers, the current one its name */
  .sw-steps li.is-on{ font-size: 12px; gap: 6px; }
  .sw-steps li + li::before{ width: 10px; margin-right: 6px; }
  .sw-panes{ padding: 8px 14px 14px; }
  .sw-map li{ grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1.15fr) 18px; gap: 6px; }
  .sw-old, .sw-new{ padding: 7px 8px; font-size: 12px; }
  .sw-map > li > b{ width: 18px; height: 18px; }
  .sw-drop{ min-height: 240px; }
  .sw-sum b{ font-size: 26px; }
  .sw-done{ grid-template-columns: auto minmax(0, 1fr); }
  .sw-undo{ grid-column: 1 / -1; justify-self: start; }
  .sw-way h3{ padding-right: 84px; }
  .sw-stamp{ width: 76px; height: 76px; }
  .sw-stamp b{ font-size: 14px; }
  .sw-stamp small{ font-size: 7px; letter-spacing: .08em; }
  /* on a phone each row stacks: the spreadsheet way on top, the MoveConsole way under it */
  .sw-vs .sw-vs-h{ display: none; }
  .sw-vs li{ grid-template-columns: 32px minmax(0, 1fr); }
  .sw-vs li > s{ border-right: 0; padding: 14px 14px 6px; font-size: 13.5px; }
  .sw-vs li:not(.sw-vs-h) > span{ grid-column: 2; padding: 0 14px 16px; font-size: 15.5px; }
  .sw-vs li > i{ grid-row: span 2; }
  .sw-vs li:nth-child(2){ border-top: 0; }
  .sw-clean li{ grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sw-clean li > i{ display: none; }
  .sw .faq-a{ padding-right: 0; }
}
@media (prefers-reduced-motion: reduce){
  .sw-pane, .sw-pane.is-on, .sw-steps li, .sw-steps i, .sw-new, .sw-st, .sw-map > li > i, .sw-map > li > b{ transition: none; }
}
