/* A chronological app tour and everyday coaching stories. */
.journey-hero {
  padding-bottom: 55px;
}
.journey-hero-note {
  color: #719887;
  font-size: 10px;
  margin: 30px 0 0;
}
.journey-nav {
  position: sticky;
  top: 88px;
  z-index: 15;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 0 max(5vw, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid #dbe4db;
  background: #f6f7f5f5;
  backdrop-filter: blur(12px);
  overflow-x: auto;
  scrollbar-width: thin;
}
.journey-nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
  padding: 23px 0;
  font-size: 10px;
  color: #687e6e;
  border-bottom: 1px solid transparent;
}
.journey-nav a > span:first-child {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 9px;
  color: #9aa99e;
}
.journey-nav a:hover,
.journey-nav a[aria-current="location"] {
  color: #174c35;
  border-bottom-color: #3f7559;
}
.journey-flow {
  max-width: 1440px;
  margin: auto;
  padding: 0 5vw;
}
.journey-section {
  scroll-margin-top: 75px;
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 2fr);
  align-items: start;
  gap: 5vw;
  padding: 90px 0;
  border-bottom: 1px solid #dde5dc;
}
.journey-stage {
  display: flex;
  align-items: baseline;
  gap: 13px;
  font-size: 10px;
  color: #49775b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 28px;
}
.journey-stage > span:first-child {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 10px;
  color: #91a497;
}
.journey-intro h2 {
  font-size: clamp(30px, 2.8vw, 43px);
  letter-spacing: -0.055em;
  line-height: 1.1;
  margin: 0 0 25px;
}
.journey-intro > p:not(.journey-stage) {
  font-size: 13px;
  color: #677b6d;
  line-height: 1.8;
  max-width: 290px;
}
.journey-shots {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.journey-shot {
  margin: 0;
  min-width: 0;
}
.journey-shot > button {
  position: relative;
  display: block;
  width: 100%;
  max-width: 225px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.journey-phone {
  display: block;
  border: 4px solid #2b4135;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 1206 / 2622;
  background: #f8faf7;
  box-shadow:
    0 15px 30px -18px #10342340,
    0 0 0 1px #203a2b15;
  transition:
    translate 0.45s var(--tech-ease),
    box-shadow 0.45s ease;
}
.journey-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journey-shot > button:hover .journey-phone {
  translate: 0 -5px;
  box-shadow:
    0 23px 40px -19px #10342350,
    0 0 0 1px #203a2b15;
}
.journey-zoom {
  position: absolute;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  right: 9px;
  bottom: 10px;
  border: 1px solid #cbd8ce;
  border-radius: 50%;
  background: #fdfefbf0;
  color: #3b654b;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.journey-shot > button:hover .journey-zoom,
.journey-shot > button:focus-visible .journey-zoom {
  opacity: 1;
}
.journey-shot figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
  font-size: 10px;
  color: #536c5b;
  line-height: 1.6;
}
.journey-shot-index {
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: #96a69a;
  font-size: 9px;
}
.journey-section-single {
  align-items: center;
}
.journey-section-single .journey-shots {
  grid-template-columns: minmax(200px, 255px);
  justify-content: center;
  background: radial-gradient(ellipse at center, #e1eae05e, transparent 68%);
  padding-inline: 12px;
}
.journey-section-single .journey-shot > button {
  max-width: 255px;
}
.journey-coach-faces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 260px;
  margin-top: 28px;
}
.journey-coach-faces figure {
  margin: 0;
}
.journey-coach-faces img {
  width: 105px;
  height: 105px;
  object-fit: contain;
  object-position: center bottom;
}
.journey-coach-faces figcaption {
  color: #41624d;
  font-size: 11px;
  margin-top: 10px;
}
.coach-motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  appearance: none;
  border: 0;
  background: none;
  padding: 10px 0;
  color: #62806b;
  font-size: 10px;
  line-height: 1.4;
}
.coach-motion-toggle:hover {
  color: #154e32;
}
.coach-motion-toggle > span:first-child {
  font-size: 10px;
  width: 12px;
  text-align: center;
}
.habit-coaches > .coach-motion-toggle {
  margin-top: 25px;
}
.journey-coach-faces + .coach-motion-toggle {
  margin-top: 13px;
}
.habit-context {
  border-top: 1px solid #dde5dc;
  padding-top: 85px;
  padding-bottom: 85px;
}
.context-tabs {
  display: flex;
  gap: 35px;
  border-bottom: 1px solid #d7e2d8;
  margin-bottom: 30px;
}
.context-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0 18px;
  border: 0;
  background: none;
  color: #788e7e;
  font-size: 12px;
}
.context-tabs button::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: #286443;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--tech-ease);
}
.context-tabs button[aria-selected="true"] {
  color: #1c5034;
}
.context-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}
.context-index {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 9px;
  color: #93a498;
}
.context-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  min-height: 480px;
  background: #10251e;
  border-radius: 3px;
  overflow: hidden;
}
.context-photo {
  position: relative;
  margin: 0;
  min-height: 480px;
}
.context-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.context-conversation {
  padding: 40px 38px;
  align-self: center;
}
.context-example {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 8px;
  letter-spacing: 0.035em;
  color: #719682;
  margin: 0 0 27px;
}
.context-question {
  font-size: 24px;
  color: #dfebe0;
  font-weight: 450;
  letter-spacing: -0.035em;
  line-height: 1.45 !important;
  margin: 0 0 25px;
}
.context-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: -7px 0 22px;
  list-style: none;
}
.context-signals li {
  padding: 5px 8px;
  border: 1px solid #769b8138;
  color: #a9c4b0;
  border-radius: 3px;
  font-size: 9px;
}
.context-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 15px;
  border: 1px solid #5b806a70;
  border-radius: 4px;
  background: #d7ecdc08;
  color: #b9d9c2;
  font-size: 11px;
}
.context-action:hover {
  background: #d7ecdc14;
  border-color: #86ad9460;
}
.context-action > span:last-child {
  font-size: 17px;
}
.context-reply {
  border-top: 1px solid #7d9e8536;
  padding-top: 23px;
  margin-top: 28px;
}
.context-reply-coach {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d0e3d5;
  font-size: 12px;
  margin-bottom: 15px;
}
.context-reply-coach img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  background: #76967e24;
}
.context-ai-label {
  color: #638571;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 8px;
  letter-spacing: 0.06em;
  margin-left: auto;
}
.context-reply > p {
  font-size: 13px;
  line-height: 1.8;
  color: #a4c1ad;
  margin: 0;
}
.context-output {
  margin: 20px 0;
  display: grid;
  gap: 16px;
}
.context-output > div {
  padding-left: 12px;
  border-left: 1px solid #7d9e8545;
}
.context-output dt {
  color: #d0e3d5;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 5px;
  font-weight: 550;
}
.context-output dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #a4c1ad;
}
.context-recipe-detail {
  margin: 20px 0;
  border: 1px solid #7d9e8545;
  border-radius: 4px;
  background: #d7ecdc06;
}
.context-recipe-detail summary {
  position: relative;
  padding: 16px 38px 16px 16px;
  list-style: none;
  cursor: pointer;
  color: #d0e3d5;
  font-size: 13px;
  line-height: 1.5;
}
.context-recipe-detail summary::-webkit-details-marker {
  display: none;
}
.context-recipe-detail summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 18px;
  font-size: 17px;
  color: #b7c88e;
}
.context-recipe-detail[open] summary::after {
  content: "−";
}
.context-recipe-detail summary:focus-visible {
  outline: 2px solid #b7c88e;
  outline-offset: 4px;
}
.context-recipe-meta {
  display: block;
  font-size: 10px;
  color: #8db09a;
  margin-top: 4px;
}
.context-recipe-body {
  padding: 0 16px 16px;
}
.context-nutrition {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  color: #d3dcb5;
  margin: 0;
  line-height: 1.8;
}
.context-estimate {
  margin: 0;
  color: #8cab98;
  font-size: 9px;
  line-height: 1.6;
}
.context-reply > .context-followup {
  color: #c1d6c7;
  font-size: 12px;
}
.context-reply .habit-text-link {
  color: #d0e3d5;
  font-size: 10px;
  margin-top: 14px;
}
.context-reply .habit-text-link > span:first-child {
  border-color: #72947e70;
}
.context-note {
  color: #849688;
  font-size: 9px;
  margin: 17px 0 0;
}
@media (max-width: 1100px) {
  .journey-section {
    gap: 35px;
    grid-template-columns: minmax(200px, 0.7fr) minmax(0, 2fr);
  }
  .journey-shots {
    gap: 15px;
  }
  .journey-phone {
    border-width: 3px;
    border-radius: 22px;
  }
  .journey-intro h2 {
    font-size: 34px;
  }
  .journey-nav {
    gap: 24px;
  }
  .journey-nav a {
    font-size: 9px;
  }
  .context-conversation {
    padding: 34px 28px;
  }
  .context-question {
    font-size: 22px;
  }
}
@media (max-width: 980px) {
  .journey-nav {
    top: 76px;
  }
  .journey-section {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 65px;
  }
  .journey-intro h2 {
    font-size: 39px;
  }
  .journey-intro > p:not(.journey-stage) {
    max-width: 500px;
    font-size: 14px;
  }
  .journey-shots {
    gap: 32px;
  }
  .journey-shot > button {
    max-width: none;
  }
  .journey-section-single {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
  .journey-section-single .journey-shots {
    grid-template-columns: minmax(190px, 225px);
  }
  .journey-coach-faces {
    display: inline-flex;
    gap: 30px;
    margin-top: 15px;
  }
  .journey-coach-faces + .coach-motion-toggle {
    display: flex;
  }
  .context-panel {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .journey-hero {
    padding-bottom: 38px;
  }
  .journey-hero h1 {
    font-size: 42px;
  }
  .journey-hero-note {
    font-size: 9px;
    line-height: 1.8;
  }
  .journey-nav {
    top: 72px;
    gap: 24px;
    padding-inline: 6vw;
  }
  .journey-nav a {
    padding-block: 19px;
    font-size: 10px;
  }
  .journey-flow {
    padding-inline: 6vw;
  }
  .journey-section,
  .journey-section-single {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 52px;
    scroll-margin-top: 65px;
  }
  .journey-stage {
    margin-bottom: 20px;
    font-size: 9px;
  }
  .journey-intro h2 {
    font-size: 35px;
    margin-bottom: 20px;
  }
  .journey-intro > p:not(.journey-stage) {
    font-size: 14px;
    margin-bottom: 0;
  }
  .journey-shots {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(68vw, 250px);
    width: calc(100% + 6vw);
    gap: 24px;
    padding: 6px 6vw 18px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 0;
    scrollbar-width: thin;
  }
  .journey-shot {
    scroll-snap-align: start;
  }
  .journey-phone {
    border-width: 4px;
    border-radius: 28px;
  }
  .journey-zoom {
    opacity: 1;
  }
  .journey-shot figcaption {
    font-size: 11px;
    margin-top: 16px;
    gap: 10px;
  }
  .journey-section-single .journey-shots {
    display: grid;
    grid-template-columns: minmax(200px, 245px);
    grid-auto-flow: row;
    width: 100%;
    padding: 5px 0 0;
    overflow-x: visible;
  }
  .journey-section-single .journey-shot > button {
    max-width: 245px;
  }
  .journey-coach-faces {
    gap: 30px;
    margin-top: 25px;
  }
  .journey-coach-faces img {
    width: 110px;
    height: 110px;
  }
  .coach-motion-toggle {
    font-size: 10px;
  }
  .habit-context {
    padding-block: 60px;
  }
  .context-tabs {
    gap: 15px;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  .context-tabs button {
    gap: 6px;
    font-size: 10px;
  }
  .context-index {
    font-size: 8px;
  }
  .context-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .context-photo {
    min-height: 245px;
  }
  .context-conversation {
    padding: 30px 24px 34px;
    min-height: 295px;
  }
  .context-example {
    font-size: 8px;
    margin-bottom: 24px;
  }
  .context-question {
    font-size: 24px;
  }
  .context-action {
    font-size: 11px;
  }
  .context-reply > p {
    font-size: 14px;
  }
  .context-note {
    font-size: 9px;
    line-height: 1.8;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-shot > button:hover .journey-phone {
    translate: none;
  }
}
