
.chip {
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
  letter-spacing: 0.1em;
}
.chip::before {
  flex: 0 0 6px;
}
.screen,
.screen-frame,
.feature-panel,
.feature-body,
.screens,
.tile,
.field-side,
.sectors-strip {
  min-width: 0;
}
.screen-tools {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 28px;
  margin-top: 8px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 1;
  gap: 6px;
}
.screen-tools .tool {
  padding: 6px 10px;
  font-size: 10px;
  line-height: 1.4;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-muted);
  backdrop-filter: none;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.screen-tools .tool:hover,
.screen-tools .tool:focus-visible {
  color: var(--fg);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--sage) 10%, transparent);
}
.screen[data-playback-state="ended"] [data-video-toggle],
.screen[data-playback-state="blocked"] [data-video-toggle],
.screen[data-playback-state="error"] [data-video-toggle] {
  color: var(--accent);
  border-color: var(--accent);
}
.solo,
.languages {
  grid-template-columns: minmax(230px, 20vw) minmax(0, 1fr);
  column-gap: clamp(22px, 2.2vw, 40px);
}
.solo-side {
  justify-content: center;
  padding: 16px 0 36px;
}
.solo-side .chip {
  font-size: 9px;
}
.solo-side h2.headline {
  text-wrap: balance;
}
.feature .scene-head {
  flex-wrap: wrap;
}
.feature .scene-head .headline,
.feature-top h3.headline {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.08;
}
.feature-top {
  flex-wrap: wrap;
  gap: 8px 16px;
  flex-shrink: 0;
}
.feature:has(.scene-head .headline) .feature-top:not(:has(h3)) {
  position: static;
  align-self: flex-start;
}
.feature-top:empty {
  display: none;
}
.tile-foot {
  flex-wrap: wrap;
  gap: 5px 10px;
}
.tile-label {
  min-width: 0;
}
.tile-chip {
  font-size: 8px;
}
.tile .screen-chip {
  position: static;
  margin-bottom: 6px;
}
.stations {
  --station-gap: clamp(24px, 3vw, 56px);
  column-gap: var(--station-gap);
}
.stations-rule {
  right: calc((100% - 2 * var(--station-gap)) / 3 - 7px);
}

.sectors.has-strip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
}
.sector-row {
  grid-template-columns: minmax(120px, 155px) 1fr;
  gap: 18px;
}
.sector-question {
  font-size: clamp(20px, 1.85vw, 30px);
  text-wrap: balance;
}
.lightbox {
  padding: 60px 32px 24px;
}
.lightbox-body {
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
}
.lightbox-body .screen-frame {
  max-width: min(calc(100vw - 64px), calc((100dvh - 128px) * var(--ratio, 1.6)));
  margin-inline: auto;
}
.lightbox-body .screen-tools .tool {
  color: var(--paper);
  border-color: rgba(194, 219, 206, 0.4);
}
.lightbox-close {
  z-index: 1;
}

@keyframes product-reveal {
  from {
    opacity: 0;
    filter: brightness(0.86);
  }
  to {
    opacity: 1;
    filter: brightness(1);
  }
}
.scene.is-active .feature-panel .screen,
.scene.is-active .languages .screen {
  animation: product-reveal 0.65s var(--ease) both;
}
@media (max-width: 1100px) {
  .edition {
    display: none;
  }
  .masthead-tools {
    gap: 10px;
  }
  .dock-hint {
    display: none;
  }
  .solo,
  .languages {
    grid-template-columns: minmax(205px, 23vw) minmax(0, 1fr);
  }
  .solo-side h2.headline {
    font-size: 30px;
  }
  .solo-side h3.headline {
    font-size: 24px;
  }
  .solo-side {
    gap: 12px;
  }
  .screen-tools .tool {
    font-size: 9px;
    padding: 5px 8px;
  }
  .feature-top .kicker {
    white-space: normal;
  }
}
@media (max-width: 850px) {
  :root {
    --gutter: 24px;
  }
  .masthead-tools {
    gap: 4px;
  }
  .masthead [data-fullscreen] {
    display: none;
  }
  .masthead .tool {
    font-size: 11px;
    padding: 6px;
  }
  .brand {
    flex-shrink: 0;
  }
  .hud {
    font-size: 9px;
  }
  .hud-right {
    gap: 8px;
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
  .tile-label {
    font-size: 12px;
  }
  .tile-chip {
    font-size: 7px;
  }
  .sectors.has-strip {
    grid-template-columns: 1.1fr 1fr;
    gap: 22px;
  }
  .sector-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .sector-question {
    font-size: 21px;
  }
  .sectors-fg .headline {
    font-size: 32px;
  }
  .plans {
    gap: 8px;
  }
  .screen-chip {
    font-size: 8px;
  }
}
@media (max-width: 600px) {
  :root {
    --mast-h: 92px;
    --hud-h: 28px;
    --gutter: 16px;
  }
  .masthead {
    flex-wrap: wrap;
    align-content: center;
    gap: 8px;
    padding-block: 8px;
  }
  .brand {
    width: 100%;
    justify-content: center;
  }
  .masthead-tools {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .hud-right {
    display: none;
  }
  .hud-left {
    max-width: calc(100% - 32px);
  }
  .dock-row {
    grid-template-columns: minmax(0, 1fr) 152px;
    gap: 8px;
  }
  .dock-chapter {
    font-size: 8px;
    white-space: normal;
  }
  .dock-position {
    font-size: 9px;
    white-space: nowrap;
  }
  .dock-nav,
  .dock-row > .dock-position {
    grid-column: 2;
  }
  .scene {
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .scene-inner {
    min-height: 100%;
    height: auto;
  }
  .solo,
  .languages {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .solo-side {
    padding: 10px 0 0;
    gap: 10px;
  }
  .solo-side h2.headline {
    font-size: 30px;
  }
  .solo-cell {
    min-height: 250px;
    padding-bottom: 12px;
  }
  .solo-cell .screen {
    width: 100% !important;
  }
  .feature-panels {
    display: block;
  }
  .feature-panel {
    height: auto;
  }
  .feature-body,
  .screens {
    height: auto;
  }
  .screen-tools .tool {
    font-size: 9px;
  }
  .languages-side {
    padding: 10px 0 0;
    gap: 10px;
  }
  .languages-cell {
    padding: 0 0 12px;
    height: auto;
    min-height: 480px;
  }
  .tiles {
    grid-template-rows: none;
    grid-auto-rows: minmax(200px, auto);
  }
  .tile-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  .tile-chip {
    margin-left: 0;
  }
  .sectors.has-strip {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 24px;
  }
  .sectors-strip {
    min-height: 230px;
    padding-top: 24px;
  }
  .sector-rows {
    width: 100%;
    margin-top: 20px;
  }
  .sector-row {
    grid-template-columns: 110px 1fr;
  }
  .closing {
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: auto;
    align-items: stretch;
  }
  .qr-card {
    align-self: center;
    width: 100%;
    max-width: 360px;
  }
  .pricing {
    overflow: visible;
  }
  .plans {
    grid-template-columns: 1fr !important;
  }
  .lightbox {
    padding: 60px 16px 24px;
  }
  .lightbox-body .screen-frame {
    max-width: min(calc(100vw - 32px), calc((100dvh - 140px) * var(--ratio, 1.6)));
  }
}
@media (prefers-reduced-motion: reduce) {
  .scene.is-active .feature-panel .screen,
  .scene.is-active .languages .screen {
    animation: none;
  }
  .screen-tools .tool {
    transition: none;
  }
}

.scene-iris .float-card.pos-2 {
  top: 15%;
}


.screen-source-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}
.has-captured-hardware .device-island,
.has-captured-hardware .device-home {
  display: none;
}


.screen.device-phone-screen .screen-chip {
  white-space: nowrap;
  max-width: none;
  font-size: 9px;
  padding-inline: 10px;
  letter-spacing: 0.07em;
}
.journey-source-note {
  margin: 0;
  font-size: 9px;
}


.lightbox-body .screen-source-note {
  color: #b8c8c0;
}


.overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.overview-close {
  min-width: 84px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(146, 181, 168, 0.4);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(146, 181, 168, 0.08);
}
.overview-close:hover,
.overview-close:focus-visible {
  border-color: var(--sage);
  background: rgba(146, 181, 168, 0.16);
}
.dock-nav button:disabled {
  opacity: 0.28;
  cursor: default;
}

@media (max-width: 600px) {
  .overview {
    background: var(--ink);
    padding-top: 24px;
  }
  .overview-head {
    position: sticky;
    top: -1px;
    z-index: 1;
    padding-block: 8px 16px;
    background: var(--ink);
  }
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overview-card {
    min-height: 140px;
    padding: 14px;
  }
}
