/* Landing page visual layer v3: the product story leads; supporting copy recedes. */
:root {
  --michi-text: #35563a;
  --mikke-text: #a8442a;
  --accent-text: #8a5b16;
}

:root[data-theme="dark"] {
  --michi-text: #9bc09b;
  --mikke-text: #f08a70;
  --accent-text: #f0c777;
}

.motion-toggle {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--michi-text);
  font: 900 .7rem/1 inherit;
  cursor: pointer;
}

.hero-characters { height: auto; }

.live-status { color: var(--michi-text); }

.hero-cta > .store-badges {
  flex-basis: 100%;
  margin: -2px 0 -8px -10px;
}

.store-badges {
  min-height: 72px;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
  border-radius: 5px;
}

.store-badge:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 4px;
}

.store-badge img,
.cta-inner .store-badge img {
  display: block;
  width: auto;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.store-badge--apple img,
.cta-inner .store-badge--apple img { height: 40px; }

.store-badge--google img,
.cta-inner .store-badge--google img { height: 52px; }

.demo-fact {
  width: calc(100% - 42px);
  margin: -4px 0 12px 42px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 5px 14px rgba(61, 48, 35, .08);
}

.demo-fact .thumb {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  overflow: hidden;
}

.demo-fact svg { width: 24px; height: 24px; }
.demo-fact .thumb img { width: 100%; height: 100%; object-fit: cover; }
.demo-fact b { display: block; font-size: .72rem; line-height: 1.35; }
.demo-fact small { display: block; color: var(--sub-ink); font-size: .62rem; line-height: 1.4; }

:root[data-motion="paused"] .lm-u1,
:root[data-motion="paused"] .lm-m1,
:root[data-motion="paused"] .lm-k1,
:root[data-motion="paused"] .lm-u2,
:root[data-motion="paused"] .lm-pin1,
:root[data-motion="paused"] .lm-pin2,
:root[data-motion="paused"] .lm-flag,
:root[data-motion="paused"] .lm-route,
:root[data-motion="paused"] .lm-paw1,
:root[data-motion="paused"] .lm-paw2,
:root[data-motion="paused"] .lm-spark,
:root[data-motion="paused"] .live-status i {
  animation-play-state: paused !important;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-text);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.visual-journey {
  position: relative;
  padding: 100px 0 108px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--water) 52%, transparent) 0 88px, transparent 89px),
    linear-gradient(180deg, color-mix(in srgb, var(--paper-deep) 70%, var(--paper)), var(--paper-deep));
}

.visual-journey::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border: 44px solid color-mix(in srgb, var(--meadow) 76%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.journey-head {
  display: grid;
  grid-template-columns: 1.05fr .72fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.journey-head h2,
.world-intro h2 {
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 1.28;
  letter-spacing: -.025em;
}

.journey-head p,
.world-intro p {
  max-width: 38em;
  color: var(--sub-ink);
  font-size: .98rem;
  line-height: 1.9;
}

.journey-canvas {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.journey-line {
  position: absolute;
  z-index: 0;
  top: 24px;
  left: 3%;
  width: 94%;
  height: 132px;
  overflow: visible;
  pointer-events: none;
}

.journey-line path {
  fill: none;
  stroke: var(--mikke);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: .006 .022;
}

.journey-beat {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 24px 18px 22px;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 88px 88px 28px 28px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 16px 42px rgba(61, 48, 35, .1);
}

.journey-beat:nth-of-type(even) { margin-top: 52px; }

.journey-beat img,
.beat-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
  border: 6px solid var(--paper);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 8px 24px rgba(61, 48, 35, .16);
}

.beat-icon { display: grid; place-items: center; }
.beat-icon svg { width: 64px; height: 64px; }

.beat-no {
  position: absolute;
  top: 16px;
  left: 22px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--michi);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(61, 48, 35, .18);
}

.mikke-beat .beat-no { background: var(--mikke); }
.family-beat .beat-no { background: var(--accent-deep); }
.journey-beat h3 { font-size: 1rem; line-height: 1.45; }
.journey-beat p { margin-top: 4px; color: var(--sub-ink); font-size: .78rem; line-height: 1.65; }

.world-showcase {
  padding: 112px 0 104px;
  overflow: hidden;
}

.world-intro {
  display: grid;
  grid-template-columns: 1fr .8fr;
  column-gap: 60px;
  align-items: end;
  margin-bottom: 42px;
}

.world-intro .eyebrow { grid-column: 1 / -1; }

.outing-gallery {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px max(24px, calc((100vw - 1320px) / 2)) 22px;
  display: grid;
  grid-template-columns: 1.28fr repeat(3, .72fr);
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.outing-card {
  position: relative;
  min-width: 230px;
  height: 430px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--paper-deep);
  scroll-snap-align: center;
  box-shadow: 0 16px 38px rgba(61, 48, 35, .13);
}

.outing-card.is-featured { min-width: 390px; }
.outing-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.outing-card:hover img { transform: scale(1.035); }

.outing-card::after {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background: linear-gradient(transparent, rgba(28, 24, 19, .74));
  pointer-events: none;
}

.outing-card figcaption {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.outing-card figcaption span { display: block; font-size: .72rem; font-weight: 800; }
.outing-card figcaption b { display: block; font-size: 1.45rem; line-height: 1.35; letter-spacing: .08em; }

.world-proof {
  position: relative;
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-block: 1px solid var(--line);
}

.world-proof > div {
  min-width: 0;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  align-items: center;
}

.world-proof > div + div { border-left: 1px dashed var(--line); }
.world-proof svg { grid-row: 1 / 3; width: 48px; height: 48px; }
.world-proof b { font-size: .9rem; }
.world-proof span { color: var(--sub-ink); font-size: .75rem; line-height: 1.5; }

/* The same story no longer needs four verbose explanations in a row. */
.empathy,
#difference,
#chat,
#scenes,
#events,
.hero-route,
.char-zone + section.block,
.char-zone + section.block + section.block {
  display: none;
}

.char-zone {
  position: relative;
  margin-top: 0;
  padding: 94px 0 96px;
  overflow: hidden;
  border-radius: 0;
  background: var(--paper-deep);
}

.char-zone .sec-sub { margin-bottom: 28px; }
.char-card { min-height: 0; }
.char-card dl { display: none; }
.char-head { margin-bottom: 0; }
.char-head img { width: 150px; height: 150px; }
.char-head h3 { font-size: 1.8rem; }
.char-head .role { font-size: .78rem; color: var(--michi-text); }
.char-card.mikke .char-head .role { color: var(--mikke-text); }
.char-quote { margin-top: 18px; font-size: 1rem; }
.beats-title { display: none; }
.beats { display: none; }

#privacy {
  padding: 104px 0 100px;
  background: var(--michi);
  color: #fff;
}

#privacy .kicker,
#privacy .sec-sub { color: #eef6ec; }

.privacy-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

#privacy .sec-title {
  max-width: 13em;
  font-size: clamp(2rem, 4.3vw, 3.6rem);
  line-height: 1.25;
}

#privacy .sec-sub {
  max-width: 34em;
  margin-top: 14px;
  font-size: 1rem;
}

.privacy-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr) 74px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: clamp(26px, 4vw, 50px);
  color: #352f28;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 16%, rgba(195, 223, 224, .42) 0 62px, transparent 63px),
    radial-gradient(circle at 87% 84%, rgba(219, 231, 201, .68) 0 74px, transparent 75px),
    #f8f1e4;
  box-shadow: 0 26px 60px rgba(18, 39, 24, .23);
  overflow: hidden;
}

.privacy-step {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.privacy-step > svg {
  width: min(100%, 220px);
  height: auto;
  overflow: visible;
}

.privacy-label {
  display: block;
  margin-top: 10px;
}

.privacy-label small {
  display: block;
  margin-bottom: 4px;
  color: #55765b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.privacy-label b {
  display: block;
  font-size: clamp(.92rem, 1.5vw, 1.08rem);
  line-height: 1.45;
}

.privacy-transfer { display: grid; place-items: center; }
.privacy-transfer svg { width: 74px; height: 34px; overflow: visible; }
.privacy-transfer path { fill: none; stroke: #809f74; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.privacy-transfer .privacy-packet { fill: #a63d21; transform-box: fill-box; transform-origin: center; }

.privacy-device-ring,
.privacy-coarse-cell { transform-box: fill-box; transform-origin: center; }
.privacy-no-store-cross path { stroke-dasharray: 170; }

.privacy-story.is-active .privacy-device-ring { animation: privacyDevicePulse .9s .1s ease-out 2; }
.privacy-story.is-active .privacy-transfer--one .privacy-packet { animation: privacyPacket .75s .35s ease-in-out both; }
.privacy-story.is-active .privacy-coarse-cell { animation: privacyCell .65s 1s cubic-bezier(.2, .8, .2, 1) both; }
.privacy-story.is-active .privacy-transfer--two .privacy-packet { animation: privacyPacket .75s 1.35s ease-in-out both; }
.privacy-story.is-active .privacy-no-store-cross path { animation: privacyCross .65s 2s ease-out both; }
.privacy-story.is-active .privacy-no-store-cross path:last-child { animation-delay: 2.18s; }

@keyframes privacyDevicePulse {
  0% { opacity: .15; transform: scale(.66); }
  58% { opacity: .34; transform: scale(1.35); }
  100% { opacity: .18; transform: scale(1); }
}

@keyframes privacyPacket {
  0% { opacity: 0; transform: translateX(0) scale(.72); }
  16% { opacity: 1; }
  82% { opacity: 1; }
  100% { opacity: 0; transform: translateX(43px) scale(1); }
}

@keyframes privacyCell {
  0% { opacity: .38; transform: scale(.66) rotate(-6deg); }
  72% { opacity: 1; transform: scale(1.08) rotate(0); }
  100% { opacity: .92; transform: scale(1); }
}

@keyframes privacyCross {
  from { stroke-dashoffset: 170; }
  to { stroke-dashoffset: 0; }
}

.privacy-local-note {
  width: fit-content;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: #fff;
  font-size: .84rem;
}

.privacy-local-note svg { width: 25px; height: 25px; flex: none; color: #f0c777; }
.privacy-local-note b { color: #fff; }

:root[data-motion="paused"] .privacy-story.is-active .privacy-device-ring,
:root[data-motion="paused"] .privacy-story.is-active .privacy-packet,
:root[data-motion="paused"] .privacy-story.is-active .privacy-coarse-cell,
:root[data-motion="paused"] .privacy-story.is-active .privacy-no-store-cross path {
  animation: none !important;
}

:root[data-motion="paused"] .privacy-no-store-cross path {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

#faq { padding-top: 92px; }
.faq-list { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; padding: 22px 2px; box-shadow: none; }
.faq-item summary {
  position: relative;
  padding-right: 44px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--michi-text);
  font: 800 1.2rem/1 inherit;
  transform: translateY(-50%);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item h3 { font-size: 1rem; }
.faq-item p { max-width: 58em; margin-top: 12px; padding-right: 46px; }

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2f4d34, #213825);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 10%, rgba(255, 255, 255, .11), transparent 34%);
  pointer-events: none;
}

.cta-inner { position: relative; min-height: 340px; }
.cta-inner img { width: 230px; height: auto; aspect-ratio: 1; object-fit: cover; transform: rotate(-3deg); }
.cta-inner h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }

@media (max-width: 1100px) {
  .outing-gallery { grid-template-columns: repeat(4, minmax(270px, 1fr)); padding-inline: 24px; }
  .outing-card,
  .outing-card.is-featured { min-width: 270px; height: 390px; }
}

@media (max-width: 860px) {
  .journey-head,
  .world-intro { grid-template-columns: 1fr; gap: 14px; }
  .journey-canvas { grid-template-columns: 1fr 1fr; }
  .journey-beat:nth-of-type(even) { margin-top: 32px; }
  .journey-line { display: none; }
  .world-proof { grid-template-columns: 1fr; }
  .world-proof > div + div { border-left: 0; border-top: 1px dashed var(--line); }
  .char-head img { width: 124px; height: 124px; }
  .privacy-story {
    max-width: 620px;
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .privacy-step {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }
  .privacy-step > svg { width: 100%; }
  .privacy-label { margin: 0; }
  .privacy-transfer { width: 44px; height: 50px; margin: -10px auto; transform: rotate(90deg); }
}

@media (max-width: 560px) {
  .hero .brand-line { font-size: .78rem; }
  .hero p.lead { font-size: .9rem; }
  .live-head { padding-right: 10px; }
  .live-status { display: none; }
  .motion-toggle { margin-left: auto; width: 40px; height: 40px; }
  .visual-journey { padding: 78px 0 82px; }
  .journey-head { margin-bottom: 32px; }
  .journey-head h2,
  .world-intro h2 { font-size: clamp(1.9rem, 9.5vw, 2.55rem); }
  .journey-canvas { gap: 10px; }
  .journey-beat { padding: 18px 9px; border-radius: 64px 64px 22px 22px; }
  .journey-beat:nth-of-type(even) { margin-top: 22px; }
  .journey-beat img,
  .beat-icon { width: 84px; height: 84px; border-width: 4px; }
  .beat-icon svg { width: 48px; height: 48px; }
  .beat-no { top: 8px; left: 9px; width: 27px; height: 27px; font-size: .72rem; }
  .journey-beat h3 { font-size: .83rem; }
  .journey-beat p { font-size: .7rem; }
  .world-showcase { padding: 82px 0 76px; }
  .outing-gallery { grid-template-columns: repeat(4, 82vw); padding-inline: 20px; }
  .outing-card,
  .outing-card.is-featured { min-width: 82vw; height: 430px; }
  .outing-card figcaption { left: 18px; bottom: 18px; }
  .world-proof > div { padding-inline: 8px; }
  .char-zone { padding: 76px 0 80px; }
  .chars {
    display: flex;
    gap: 14px;
    margin-inline: -20px;
    padding: 8px 20px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .char-card { min-width: 84vw; scroll-snap-align: center; }
  .char-head { align-items: flex-start; }
  .char-head img { width: 104px; height: 104px; }
  .char-head h3 { font-size: 1.45rem; }
  .char-quote { font-size: .86rem; }
  #privacy { padding: 82px 0 78px; }
  #privacy .sec-title { font-size: clamp(2rem, 10vw, 2.8rem); }
  .privacy-heading { margin-bottom: 26px; }
  .privacy-story { padding: 18px 14px; border-radius: 26px; }
  .privacy-step { grid-template-columns: 118px minmax(0, 1fr); }
  .privacy-label b { font-size: .92rem; }
  .privacy-local-note { align-items: flex-start; border-radius: 20px; font-size: .76rem; line-height: 1.6; }
  .hero-cta > .store-badges { justify-content: center; margin-inline: 0; }
  .cta-actions { justify-content: center; }
  .cta-actions .store-badges { justify-content: center; }
  .cta-inner img { width: 190px; }
}

@media (max-width: 360px) {
  .lockup .name { display: none; }
  nav.global .btn { min-height: 44px; padding: 8px 12px; font-size: .76rem; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .axis,
  .outing-card img,
  .journey-beat,
  .outing-card,
  .world-proof > div { transition: none !important; }
  .theme-toggle:hover,
  .axis:hover,
  .outing-card:hover img { transform: none !important; }
  .privacy-story.is-active .privacy-device-ring,
  .privacy-story.is-active .privacy-packet,
  .privacy-story.is-active .privacy-coarse-cell,
  .privacy-story.is-active .privacy-no-store-cross path { animation: none !important; }
  .privacy-no-store-cross path { stroke-dasharray: none; stroke-dashoffset: 0; }
}

:root[data-theme="dark"] .demo-fact,
:root[data-theme="dark"] .journey-beat { background: var(--surface); }
:root[data-theme="dark"] .journey-line path { stroke: var(--mikke-text); }
:root[data-theme="dark"] .journey-beat img,
:root[data-theme="dark"] .beat-icon { border-color: var(--paper); }
:root[data-theme="dark"] .char-card.mikke .char-quote { color: var(--mikke-text); }
