/* Product walkthrough: one travelling hero window, then three concrete scenes. */
@font-face {
  font-family: Lora;
  src: url("fonts/lora-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --tour-ease: cubic-bezier(0.23, 1, 0.32, 1);
}
body {
  overflow-x: clip;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.product-tour {
  position: relative;
  padding: 85px 0 90px;
  scroll-margin-top: 30px;
}
.tour-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 65px;
  align-items: start;
}
.tour-story {
  position: sticky;
  top: max(70px, calc((100svh - 560px) / 2));
  padding: 30px 0;
}
.tour-story-item + .tour-story-item {
  margin-top: 48px;
}
.tour-story-item a {
  display: block;
  font:
    400 24px/1.2 Lora,
    Georgia,
    serif;
  letter-spacing: -0.035em;
  color: #77717f;
}
.tour-story-item a > svg {
  display: none;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  color: var(--orange);
}
.phosphor-icon {
  fill: currentColor;
  flex-shrink: 0;
}
.tour-story-item p {
  display: none;
  margin-top: 24px;
  color: #716b7b;
  font-size: 15px;
  line-height: 1.85;
  max-width: 32ch;
}
.tour-story-item a[aria-current="step"] {
  font-size: 34px;
  color: var(--ink);
}
.tour-story-item a[aria-current="step"] > svg {
  display: block;
}
.tour-story-item:has([aria-current="step"]) p {
  display: block;
}
.tour-story-item a:hover {
  color: var(--orange);
}
.tour-story-item em {
  font-style: normal;
}
.tour-story-item a[aria-current="step"] em,
.tour-mobile-copy em {
  color: var(--orange);
  font-style: italic;
  font-weight: 400;
}
.tour-screens {
  min-width: 0;
  position: relative;
}
.tour-screens::before {
  content: "";
  position: absolute;
  inset: -110px -145px -30px -125px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 75% 10%, #f0d0fb80, transparent 30%),
    radial-gradient(ellipse at 20% 30%, #d7c6f580, transparent 25%),
    radial-gradient(ellipse at 72% 53%, #ffe1d480, transparent 28%),
    radial-gradient(ellipse at 30% 78%, #e6defa90, transparent 30%);
  filter: blur(35px);
}
.tour-step {
  position: relative;
  scroll-margin-top: 100px;
}
.tour-step + .tour-step {
  margin-top: 190px;
}
.tour-mobile-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.tour-app {
  display: grid;
  grid-template-columns: 153px minmax(0, 1fr);
  gap: 6px;
  padding: 10px;
  min-height: 600px;
  background: #f4f3f7;
  border-radius: 23px;
  box-shadow:
    0 24px 60px -30px #49395b35,
    0 4px 15px -8px #49395b1c;
  overflow: hidden;
}
.tour-sidebar {
  background: transparent;
  padding: 26px 10px 18px;
  display: flex;
  flex-direction: column;
}
.tour-logo {
  margin: 0 8px 30px;
}
.tour-logo img {
  display: block;
  width: 116px;
  max-width: 100%;
  height: auto;
}
.tour-team {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 4px 29px;
  font-size: 11px;
  font-weight: 500;
}
.tour-team > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 25px;
  background: #eeebe8;
  color: #73675c;
  border-radius: 6px;
}
.tour-side-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #6d6776;
  padding: 11px 7px;
  margin-bottom: 4px;
  border-radius: 6px;
  white-space: nowrap;
}
.tour-side-item svg {
  width: 13px;
  height: 13px;
}
.tour-side-item.is-selected {
  background: #fff;
  color: var(--orange);
  box-shadow: 0 1px 4px #3930440c;
}
.tour-profile {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 25px 4px 0;
  font-size: 10px;
}
.tour-profile > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #ede4dc;
  color: #786655;
  font-size: 10px;
}
.tour-profile small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}
.tour-main {
  min-width: 0;
  background: #fff;
  border: 1px solid #e8e6ed;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 5px #30263f04;
}
.tour-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 44px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
  color: #716b79;
  font-size: 11px;
}
.tour-bar b {
  font-weight: 400;
  color: #b2acba;
  margin: 0 10px;
}
.tour-demo-label {
  border: 1px solid #e9e7ee;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 10px;
  background: #faf9fc;
}
.tour-content {
  padding: 24px 27px 24px;
}
.tour-app-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}
.tour-app-heading h4 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.tour-app-heading p {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.tour-avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: #e9e4df;
  color: #756557;
  border-radius: 50%;
  padding-left: 6px;
  font-size: 8px;
  line-height: 25px;
}
.tour-avatars span {
  display: block;
  border: 2px solid #fff;
  background: #eae6f2;
  color: #796a92;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  text-align: center;
  margin-left: 2px;
}
.tour-avatars span:last-child {
  background: #e9eff1;
  color: #577480;
}
.tour-segment {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 7px;
  background: #f5f4f7;
  margin-bottom: 16px;
}
.tour-segment button {
  min-height: 34px;
  padding: 7px 13px;
  font-size: 11px;
  border-radius: 5px;
  color: #6e6876;
}
.tour-segment button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px #30223b13;
}
.tour-segment button:hover {
  color: var(--orange);
}
.communication-editor {
  border: 1px solid #e8e5ed;
  border-radius: 9px;
  overflow: hidden;
}
.editor-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fcfbfd;
  border-bottom: 1px solid #eeeaf2;
  font-size: 11px;
  color: #736c7c;
}
.editor-meta > span:first-child,
.editor-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.editor-meta svg {
  width: 14px;
  height: 14px;
}
.editor-paper {
  padding: 20px 29px;
  min-height: 300px;
}
.paper-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--orange);
  padding-bottom: 17px;
  border-bottom: 1px solid #ede8e4;
}
.paper-brand > span {
  color: #786f6a;
  letter-spacing: 0;
  font-weight: 400;
}
.editor-paper h5 {
  font:
    400 28px/1.18 Lora,
    Georgia,
    serif;
  letter-spacing: -0.035em;
  margin: 17px 0 15px;
}
.editor-paper > p {
  font-size: 12px;
  line-height: 1.8;
  color: #746c78;
  max-width: 48ch;
}
.message-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 7px;
  background: #fcf7f2;
}
.message-highlight > svg {
  color: var(--orange);
  width: 17px;
  height: 17px;
}
.message-highlight strong {
  font-size: 12px;
  font-weight: 550;
}
.message-highlight p {
  font-size: 11px;
  color: #796b61;
  line-height: 1.7;
  margin-top: 7px;
}
.editor-paper .paper-signature {
  margin-top: 17px;
  font-size: 11px;
  color: #625866;
}
.editor-footer {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #746d7a;
  font-size: 10px;
}
.editor-footer svg {
  width: 12px;
  height: 12px;
}
.tour-assist {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--orange);
}
.tour-assist > svg {
  width: 17px;
  height: 17px;
}
.tour-assist p {
  font-size: 11px;
  line-height: 1.6;
  color: #7b6c63;
}
.tour-assist strong {
  display: block;
  font-weight: 400;
  color: #6f6875;
}
.project-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.project-toolbar > span {
  padding-top: 13px;
  font-size: 11px;
  color: #77717e;
}
.project-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  min-height: 343px;
}
.project-column {
  min-width: 0;
  padding: 12px 9px;
  border-radius: 8px;
  background: #f8f7fa;
}
.project-column h5 {
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.project-column h5 > span:last-child {
  margin-left: auto;
  font-size: 10px;
  color: #77717e;
}
.project-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8c8893;
}
.project-dot.orange {
  background: var(--orange);
}
.project-dot.green {
  background: #7b9d7f;
}
.project-task {
  background: #fff;
  border: 1px solid #eeebf1;
  border-radius: 7px;
  padding: 13px 11px;
  margin-bottom: 9px;
}
.task-category {
  font-size: 10px;
  color: #827a8a;
}
.project-task h6 {
  margin: 9px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.project-task > p {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.65;
  color: #77707e;
}
.project-task > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 10px;
  color: #7c7484;
}
.task-person {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  background: #efebf2;
  font-size: 8px;
  color: #756582;
}
.tour-profile > .member-photo,
.task-person.member-photo {
  flex: none;
  background: #e6e3df url("images/join-avatars.webp") 0 0 / 200% 200% no-repeat;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px #332d4010;
}
.tour-profile > .member-photo {
  width: 32px;
  height: 32px;
}
.task-person.member-photo {
  width: 27px;
  height: 27px;
}
.member-photo[data-member="al"] {
  background-position: 100% 0;
}
.member-photo[data-member="sd"] {
  background-position: 0 100%;
}
.project-empty {
  font-size: 11px;
  line-height: 1.7;
  color: #77707e;
  padding: 12px 4px;
}
.project-attachment {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  color: #746c7d;
  font-size: 10px;
}
.project-attachment svg {
  width: 14px;
  height: 14px;
}
.project-attachment .status {
  margin-left: auto;
  font-size: 9px;
}
.case-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0 23px;
  margin-bottom: 23px;
  border-bottom: 1px solid var(--line);
}
.case-summary strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
}
.case-summary p {
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.case-summary .status {
  margin-left: auto;
  font-size: 10px;
}
.case-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  min-height: 270px;
}
.case-layout h5 {
  font-size: 12px;
  font-weight: 550;
  margin: 0 0 12px;
}
.case-detail {
  border-bottom: 1px solid var(--line);
}
.case-detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  padding: 15px 0;
  font-size: 11px;
  line-height: 1.5;
}
.case-detail summary::-webkit-details-marker {
  display: none;
}
.case-detail summary svg {
  width: 13px;
  height: 13px;
  color: #88808f;
}
.case-detail[open] summary svg {
  transform: rotate(180deg);
}
.case-detail p {
  font-size: 11px;
  color: #746c7c;
  line-height: 1.8;
  padding-bottom: 18px;
}
.case-documents {
  padding: 16px;
  background: #faf9fc;
  border-radius: 8px;
  align-self: start;
}
.case-documents > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 0;
  font-size: 11px;
  line-height: 1.5;
}
.case-documents > div + div {
  border-top: 1px solid #edeaf1;
}
.case-documents svg {
  width: 15px;
  height: 15px;
  color: #9787aa;
}
.case-documents small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
  color: #77717e;
}
.tour-services {
  padding-block: 50px 110px;
}
.tour-services h2 {
  margin: 0 0 42px;
  font-family: Lora, serif;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-align: center;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 28px 12px;
  justify-content: flex-start;
  border-radius: 16px;
  color: #fff;
  background: #28365f;
}
.service-card--training {
  background: #354b7c;
}
.service-card--mobile {
  background: #202b55;
}
.service-card-top {
  position: absolute;
  inset: 0 0 auto;
  height: 106px;
  pointer-events: none;
  opacity: 0.25;
}
.service-icon {
  position: absolute;
  top: -40px;
  right: -24px;
  width: 148px;
  height: 148px;
  color: var(--orange);
}
.service-card > :not(.service-card-top) {
  position: relative;
}
.service-card h3 {
  margin: 0 0 10px;
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.service-card p {
  margin: 0;
  max-width: 32ch;
  color: #e0e6f4;
  font-size: 14px;
  line-height: 1.7;
}
.service-stores {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  color: #e0e6f4;
  font-size: 11px;
}
.store-badge-apple {
  display: block;
  width: 126.5px;
  height: 40px;
}
.store-badge-google {
  display: block;
  width: 135px;
  height: 40px;
  position: relative;
  flex-shrink: 0;
}
.store-badge-google img {
  position: absolute;
  width: 134.583px;
  max-width: none;
  height: 52.083px;
  left: 0;
  top: -6.042px;
}
.service-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
@media (hover: hover) {
  .service-card:hover h3 {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
@media (max-width: 900px) {
  .service-grid {
    gap: 14px;
  }
  .service-card {
    padding-inline: 24px;
  }
}
@media (max-width: 700px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .tour-services h2 {
    margin-bottom: 30px;
  }
}
.hero-window-slot {
  position: relative;
}
.tour-motion-enabled .hero {
  overflow: visible;
  position: relative;
  z-index: 2;
}
.tour-motion-enabled .product-scene {
  animation: none;
}
.tour-motion-enabled .hero-window-slot > .briefing-card {
  transform-origin: top left;
}
.tour-motion-enabled .product-tour {
  z-index: 1;
}
/* Smaller presentation windows leave breathing room between story and product.
   Zoom scales the preview and its layout together; docking uses rendered bounds. */
@media (min-width: 1101px) {
  .tour-screens {
    width: 100%;
    max-width: 740px;
    justify-self: end;
  }
  .tour-app {
    width: 100%;
    zoom: 0.82;
  }
  .tour-step {
    padding-block: 65px;
  }
  .tour-step + .tour-step {
    margin-top: 120px;
  }
  .tour-screens::before {
    inset-inline: -70px;
    opacity: 0.7;
  }
}
.tour-dock:focus-within {
  opacity: 1 !important;
}
@media (min-width: 1600px) {
  .tour-grid {
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 75px;
  }
  .tour-story-item a[aria-current="step"] {
    font-size: 39px;
  }
  .tour-story-item p {
    font-size: 16px;
  }
  .tour-app {
    min-height: 650px;
    grid-template-columns: 170px minmax(0, 1fr);
  }
  .tour-content {
    padding: 35px;
  }
  .tour-side-item {
    font-size: 11px;
  }
  .editor-paper {
    padding: 30px 36px;
  }
}
@media (min-width: 1101px) and (max-width: 1279px) {
  .tour-grid {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 35px;
  }
  .tour-story-item a[aria-current="step"] {
    font-size: 30px;
  }
  .tour-story-item p {
    font-size: 14px;
  }
  .tour-app {
    grid-template-columns: 132px minmax(0, 1fr);
  }
  .tour-content {
    padding-inline: 19px;
  }
  .tour-sidebar {
    padding-inline: 7px;
  }
  .tour-side-item {
    font-size: 9px;
    gap: 6px;
    padding-inline: 5px;
  }
  .tour-team {
    font-size: 10px;
  }
  .tour-avatars {
    display: none;
  }
  .editor-paper {
    padding-inline: 22px;
  }
}
@media (max-width: 1100px) {
  .product-tour {
    padding-block: 65px;
  }
  .tour-grid {
    display: block;
  }
  .tour-story {
    display: none;
  }
  .tour-mobile-copy {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    margin-bottom: 35px;
    max-width: 520px;
  }
  .tour-mobile-copy > svg {
    color: var(--orange);
    width: 28px;
    height: 28px;
    margin-bottom: 20px;
  }
  .tour-mobile-copy h3 {
    font:
      400 36px/1.2 Lora,
      Georgia,
      serif;
    letter-spacing: -0.035em;
  }
  .tour-mobile-copy p {
    font-size: 15px;
    line-height: 1.8;
    color: #716b7b;
    margin-top: 17px;
  }
  .tour-step + .tour-step {
    margin-top: 100px;
  }
  .tour-app {
    grid-template-columns: 135px minmax(0, 1fr);
  }
  .tour-content {
    padding-inline: 20px;
  }
  .tour-sidebar {
    padding-inline: 7px;
  }
  .tour-side-item {
    font-size: 9px;
  }
  .tour-avatars {
    display: none;
  }
  .tour-app-heading h4 {
    font-size: 22px;
  }
  .editor-paper {
    padding-inline: 22px;
  }
  .tour-screens::before {
    inset-inline: 0;
  }
  .tour-services {
    padding-block: 35px 70px;
  }
}
@media (max-width: 599px) {
  .product-tour {
    padding-top: 35px;
  }
  .tour-mobile-copy h3 {
    font-size: 31px;
  }
  .tour-mobile-copy p {
    font-size: 14px;
  }
  .tour-app {
    display: block;
    min-height: 0;
    border-radius: 19px;
    padding: 7px;
  }
  .tour-main {
    border-radius: 13px;
  }
  .tour-sidebar {
    display: none;
  }
  .tour-bar {
    padding-inline: 16px;
    font-size: 10px;
    height: 46px;
  }
  .tour-bar b {
    margin-inline: 5px;
  }
  .tour-content {
    padding: 24px 15px;
  }
  .tour-app-heading h4 {
    font-size: 23px;
  }
  .tour-app-heading p {
    font-size: 11px;
  }
  .tour-segment {
    max-width: 100%;
  }
  .tour-segment button {
    min-height: 44px;
    padding-inline: 11px;
  }
  .editor-meta {
    padding: 11px;
    font-size: 10px;
  }
  .editor-meta .status {
    font-size: 10px;
  }
  .editor-paper {
    padding: 22px 16px;
  }
  .editor-paper h5 {
    font-size: 25px;
  }
  .message-highlight {
    padding: 13px 10px;
    gap: 8px;
  }
  .message-highlight > svg {
    width: 15px;
  }
  .editor-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px;
    gap: 10px;
  }
  .tour-step {
    scroll-margin-top: 25px;
  }
  .tour-step + .tour-step {
    margin-top: 72px;
  }
  .project-toolbar {
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 14px;
  }
  .project-toolbar .tour-segment {
    margin-bottom: 0;
  }
  .project-toolbar > span {
    padding: 13px 0;
  }
  .project-board {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .project-column {
    padding: 15px;
  }
  .project-column h5 {
    font-size: 12px;
  }
  .project-task {
    padding: 15px;
  }
  .project-task h6 {
    font-size: 13px;
  }
  .project-task > p {
    font-size: 12px;
  }
  .project-task > div {
    margin-top: 12px;
  }
  .project-attachment {
    flex-wrap: wrap;
    line-height: 1.7;
  }
  .project-attachment .status {
    margin-left: 22px;
  }
  .case-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .case-summary {
    flex-wrap: wrap;
    gap: 9px;
  }
  .case-summary > div {
    flex: 1;
  }
  .case-summary .status {
    margin-left: 37px;
  }
  .case-detail summary {
    font-size: 12px;
    min-height: 50px;
  }
  .case-detail p {
    font-size: 12px;
  }
  .case-documents > div {
    font-size: 12px;
  }
  .tour-services {
    padding-block: 25px 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-window-slot > .briefing-card {
    transform: none !important;
    opacity: 1 !important;
  }
  .tour-dock {
    opacity: 1 !important;
  }
}
