:root {
  --card-mint: #e2f6e7;
  --card-lime: #eef2cd;
  --card-lilac: #eee9fc;
  --card-mist: #e4f0eb;
  --card-peach: #f6e1d7;
  --card-paper: #fcfdf9;
  --card-radius: 56px;
  --inset-radius: 36px;
  --card-shadow: 0 18px 60px rgba(16, 23, 19, .06);
}

.hero h1,
.section-heading h2,
.faq-heading h2,
.final-inner h2,
.work-reality h2,
.control-section h2,
.context-proof-copy h2,
.memory-heading h2,
.demo-access-copy h2 {
  font-weight: 620;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  min-width: 70px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--card-mist);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 44px;
  list-style: none;
  text-align: center;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu[open] summary {
  background: var(--card-lilac);
}

.mobile-menu nav {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  gap: 4px;
  width: min(280px, calc(100vw - 32px));
  padding: 10px;
  border-radius: 24px;
  background: var(--card-paper);
  box-shadow: 0 18px 50px rgba(16, 23, 19, .12);
}

.mobile-menu nav > a:not(.button) {
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 560;
}

.mobile-menu nav > a:not(.button):hover,
.mobile-menu nav > a:not(.button):focus-visible {
  background: var(--card-mist);
}

.mobile-menu .button {
  min-height: 46px;
  margin-top: 4px;
  border-radius: 999px;
  white-space: nowrap;
}

.mobile-menu-auth {
  display: none;
}

/* One soft surface per chapter; nested cards represent real product objects only. */

.context-proof-section,
.preview-section,
.capabilities-section,
.faq-section,
.final-section {
  border: 0;
  background: var(--milk);
}

.context-proof-grid,
.scenario-stage,
.control-grid,
.demo-access-grid,
.faq-grid,
.final-inner {
  border: 0;
  border-radius: var(--card-radius);
}

.context-proof-grid {
  display: block;
  padding: clamp(38px, 5vw, 72px) 0;
  background: transparent;
}

.context-proof-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .68fr);
  gap: 18px clamp(42px, 7vw, 118px);
  align-items: end;
  max-width: none;
  margin-bottom: clamp(42px, 5vw, 72px);
}

.context-proof-copy .chapter-label {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.context-proof-copy h2 {
  max-width: 15ch;
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: .98;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.context-proof-copy > p:last-child {
  max-width: 44ch;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.48;
  letter-spacing: -.025em;
}

.context-flow {
  width: 100%;
}

.context-workspace {
  overflow: hidden;
  border: 1px solid rgb(16 23 19 / .16);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(16 23 19 / .08);
}

.context-workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 15px 22px;
  border-bottom: 1px solid rgb(16 23 19 / .12);
}

.context-workspace-title {
  display: flex;
  gap: 13px;
  align-items: center;
}

.context-workspace-mark {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--green);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: -.03em;
}

.context-workspace-title div {
  display: grid;
  gap: 3px;
}

.context-workspace-title strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.context-workspace-title small,
.context-workspace-owner small,
.context-workspace-nav li small,
.context-worklog li small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.context-workspace-status,
.context-result header strong {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.context-workspace-status i,
.context-result header strong i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgb(22 211 79 / .12);
}

.context-workspace-grid {
  display: grid;
  grid-template-columns: 210px minmax(300px, .92fr) minmax(360px, 1.08fr);
  min-height: 540px;
}

.context-workspace-nav {
  display: flex;
  flex-direction: column;
  padding: 24px 16px 18px;
  border-right: 1px solid rgb(16 23 19 / .1);
  background: #f7f8f5;
}

.context-workspace-nav > p,
.context-worklog header span,
.context-result header > span,
.context-result-summary > span,
.context-result dt,
.context-workspace-owner > span {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.context-workspace-nav ol,
.context-worklog ol {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.context-workspace-nav li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
}

.context-workspace-nav li.is-active {
  border-color: rgb(16 23 19 / .1);
  background: #fff;
  box-shadow: 0 8px 22px rgb(16 23 19 / .05);
}

.context-workspace-nav li > span {
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.context-workspace-nav li.is-active > span {
  color: var(--green-dark);
  font-weight: 720;
}

.context-workspace-nav li div {
  display: grid;
  gap: 3px;
}

.context-workspace-nav li strong {
  font-size: 13px;
  font-weight: 620;
  letter-spacing: -.018em;
}

.context-workspace-owner {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 17px 10px 4px;
  border-top: 1px solid rgb(16 23 19 / .1);
}

.context-workspace-owner strong {
  font-size: 13px;
  font-weight: 650;
}

.context-worklog {
  padding: clamp(26px, 3vw, 38px);
  background: #fff;
}

.context-worklog > header,
.context-result > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.context-worklog header div {
  display: grid;
  gap: 8px;
}

.context-worklog h3 {
  margin: 0;
  font-size: clamp(24px, 2.25vw, 32px);
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.context-worklog time {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.context-worklog ol {
  gap: 0;
  margin-top: 26px;
}

.context-worklog li {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 28px;
}

.context-worklog li:not(:last-child)::after {
  position: absolute;
  top: 24px;
  bottom: 2px;
  left: 11px;
  width: 1px;
  background: rgb(16 23 19 / .13);
  content: "";
}

.context-worklog li > i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #e6f8eb;
  color: var(--green-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
}

.context-worklog li div {
  display: grid;
  gap: 6px;
}

.context-worklog li strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.context-worklog li p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.context-result {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 46px);
  border-left: 1px solid rgb(16 23 19 / .1);
  background: #fcfcfa;
}

.context-result h3 {
  max-width: 13ch;
  margin: clamp(36px, 4vw, 54px) 0 0;
  font-size: clamp(34px, 3.3vw, 48px);
  font-weight: 610;
  line-height: 1;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.context-result > p {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.context-result-summary {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 18px 0;
  border-top: 1px solid rgb(16 23 19 / .14);
  border-bottom: 1px solid rgb(16 23 19 / .14);
}

.context-result-summary p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 540;
  line-height: 1.48;
  letter-spacing: -.015em;
}

.context-result dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 18px 0 0;
}

.context-result dl div {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 0 13px;
  border-left: 1px solid rgb(16 23 19 / .1);
}

.context-result dl div:first-child {
  padding-left: 0;
  border-left: 0;
}

.context-result dl div:last-child {
  padding-right: 0;
}

.context-result dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.42;
}

.context-result footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: auto;
  padding-top: 26px;
  color: var(--muted);
  font-size: 11px;
}

.context-result footer a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.context-result footer a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 160ms ease;
}

.context-result footer a:hover span,
.context-result footer a:focus-visible span {
  transform: translateX(3px);
}

.preview-section .preview-heading {
  display: block;
  max-width: 820px;
}

.preview-section .preview-heading > p {
  max-width: 650px;
  margin-top: 20px;
}

.preview-section .scenario-tabs {
  display: flex;
  grid-template-columns: none;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin-top: 40px;
  padding: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--card-lilac);
}

.preview-section .scenario-tab {
  flex: 0 0 auto;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
}

.preview-section .scenario-tab.is-active {
  background: var(--card-paper);
  color: var(--ink);
  box-shadow: 0 7px 20px rgba(16, 23, 19, .08);
}

#scenario-panel.scenario-stage {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  grid-template-areas:
    "brief artifact"
    "trace artifact";
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  background: var(--card-mist);
  box-shadow: none;
}

#scenario-panel.scenario-stage > section {
  min-width: 0;
  padding: 30px;
  border: 0;
  border-radius: var(--inset-radius);
}

#scenario-panel .scenario-brief {
  grid-area: brief;
  background: var(--card-peach);
}

#scenario-panel .scenario-brief dl {
  gap: 10px;
}

#scenario-panel .scenario-brief dl div {
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .48);
}

#scenario-panel .scenario-trace {
  grid-area: trace;
  background: var(--card-mist);
}

.scenario-trace ol::before {
  display: none;
}

.scenario-trace li {
  grid-template-columns: 34px 1fr;
  gap: 14px;
  min-height: 0;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
}

.scenario-trace li i {
  width: 34px;
  height: 34px;
  border: 0;
  background: rgba(22, 211, 79, .11);
  color: var(--green-dark);
  font-size: 15px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
}

.scenario-result-meta i {
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font-size: 10px;
  font-style: normal;
}

#scenario-panel .scenario-artifact {
  grid-area: artifact;
  align-self: stretch;
  width: auto;
  margin: 0;
  padding: 48px;
  border: 0;
  border-radius: var(--inset-radius);
  background: var(--card-paper);
  box-shadow: var(--card-shadow);
}

.scenario-result-meta {
  border: 0;
}

.scenario-artifact-motion {
  position: relative;
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(320px, 29vw, 430px);
  margin: clamp(26px, 3vw, 38px) 0 26px;
  padding: clamp(28px, 3.4vw, 46px);
  overflow: hidden;
  border-radius: 26px;
  background: rgba(239, 247, 237, .9);
  box-shadow: inset 0 0 0 1px rgba(16, 23, 19, .045);
}

.scenario-artifact-motion::before,
.scenario-artifact-motion::after {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: '';
  filter: blur(2px);
  will-change: transform, opacity;
}

.scenario-artifact-motion::before {
  top: -34%;
  left: -18%;
  background: radial-gradient(circle, rgba(22, 211, 79, .25), rgba(22, 211, 79, 0) 68%);
  animation: scenario-artifact-green 6.4s cubic-bezier(.2, 0, 0, 1) infinite alternate;
}

.scenario-artifact-motion::after {
  right: -18%;
  bottom: -42%;
  background: radial-gradient(circle, rgba(115, 91, 255, .23), rgba(115, 91, 255, 0) 68%);
  animation: scenario-artifact-violet 7.2s cubic-bezier(.2, 0, 0, 1) infinite alternate;
}

.scenario-artifact-motion > * {
  position: relative;
  z-index: 1;
}

.scenario-artifact-state {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.scenario-artifact-state i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(22, 211, 79, .28);
  animation: scenario-artifact-pulse 2.4s cubic-bezier(.2, 0, 0, 1) infinite;
  will-change: transform, opacity;
}

.scenario-artifact-copy {
  display: grid;
  gap: 14px;
  width: min(100%, 560px);
  padding: clamp(32px, 5vw, 68px) 0;
}

.scenario-artifact-copy small {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.scenario-artifact-copy strong {
  max-width: 18ch;
  color: var(--ink);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.scenario-artifact-copy p {
  max-width: 48ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.5;
  text-wrap: pretty;
}

.scenario-artifact-motion.is-updating .scenario-artifact-copy {
  animation: scenario-artifact-content-in 420ms cubic-bezier(.2, 0, 0, 1);
}

.scenario-artifact-progress {
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 23, 19, .1);
}

.scenario-artifact-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #cbe75a 50%, #735bff);
  transform: scaleX(.12);
  transform-origin: left center;
  animation: scenario-artifact-progress 4.8s cubic-bezier(.2, 0, 0, 1) infinite;
  will-change: transform, opacity;
}

@keyframes scenario-artifact-green {
  from { opacity: .68; transform: translate3d(-5%, -4%, 0) scale(.92); }
  to { opacity: 1; transform: translate3d(18%, 17%, 0) scale(1.16); }
}

@keyframes scenario-artifact-violet {
  from { opacity: .72; transform: translate3d(7%, 6%, 0) scale(.94); }
  to { opacity: 1; transform: translate3d(-18%, -18%, 0) scale(1.14); }
}

@keyframes scenario-artifact-progress {
  0%, 8% { opacity: .48; transform: scaleX(.12); }
  72%, 86% { opacity: 1; transform: scaleX(1); }
  100% { opacity: .48; transform: scaleX(.12); }
}

@keyframes scenario-artifact-content-in {
  from { opacity: 0; filter: blur(4px); transform: translateY(12px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes scenario-artifact-pulse {
  0%, 100% { opacity: .62; transform: scale(.8); box-shadow: 0 0 0 0 rgba(22, 211, 79, .28); }
  50% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 12px rgba(22, 211, 79, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .scenario-artifact-motion::before,
  .scenario-artifact-motion::after,
  .scenario-artifact-state i,
  .scenario-artifact-progress i,
  .scenario-artifact-motion.is-updating .scenario-artifact-copy {
    animation: none;
  }

  .scenario-artifact-progress i {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Clear before/after proof: scattered inputs become one structured file. */
.scenario-artifact-motion {
  display: grid;
  grid-template-columns: minmax(0, .9fr) 64px minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
  min-height: clamp(340px, 31vw, 470px);
  padding: 24px;
  background: #f2f5ee;
  font-family: "Rubik", Arial, sans-serif;
}

.scenario-artifact-motion::before,
.scenario-artifact-motion::after {
  display: none;
}

.scenario-compare-before,
.scenario-compare-after {
  display: flex;
  min-width: 0;
  padding: clamp(22px, 2.5vw, 34px);
  border-radius: 20px;
  flex-direction: column;
}

.scenario-compare-before {
  background: #f4e8e2;
  box-shadow: inset 0 0 0 1px rgba(16, 23, 19, .045);
}

.scenario-compare-after {
  background: #e1f1e7;
  box-shadow:
    0 18px 44px rgba(21, 52, 38, .08),
    inset 0 0 0 1px rgba(16, 23, 19, .045);
}

.scenario-compare-before > strong,
.scenario-compare-after > strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.scenario-source-stack {
  display: grid;
  gap: 16px;
  align-content: center;
  flex: 1;
}

.scenario-source-stack > span {
  display: grid;
  gap: 10px;
  min-height: 74px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 24px rgba(48, 35, 28, .055);
  animation: scenario-source-gather 5.4s cubic-bezier(.2, 0, 0, 1) infinite;
  will-change: transform, opacity;
}

.scenario-source-stack > span:nth-child(2) { animation-delay: .14s; }
.scenario-source-stack > span:nth-child(3) { animation-delay: .28s; }

.scenario-source-stack b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 620;
}

.scenario-source-stack i {
  display: block;
  width: 86%;
  height: 5px;
  border-radius: 999px;
  background: rgba(16, 23, 19, .14);
}

.scenario-source-stack i:last-child {
  width: 58%;
}

.scenario-compare-arrow {
  align-self: center;
  width: 56px;
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-dasharray: 72;
  stroke-dashoffset: 72;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
  animation: scenario-arrow-build 5.4s cubic-bezier(.2, 0, 0, 1) infinite;
  will-change: transform, opacity;
}

.scenario-output-sheet {
  display: grid;
  gap: 0;
  align-content: center;
  flex: 1;
}

.scenario-output-sheet > b {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 620;
  letter-spacing: -.03em;
}

.scenario-output-sheet > span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 68px;
  border-top: 1px solid rgba(16, 23, 19, .15);
  animation: scenario-output-reveal 5.4s cubic-bezier(.2, 0, 0, 1) infinite;
  will-change: transform, opacity;
}

.scenario-output-sheet > span:nth-of-type(2) { animation-delay: .14s; }
.scenario-output-sheet > span:nth-of-type(3) { animation-delay: .28s; }

.scenario-output-sheet i {
  color: var(--green-dark);
  font-size: 14px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.scenario-output-sheet em {
  color: var(--ink);
  font-size: clamp(15px, 1.25vw, 18px);
  font-style: normal;
  font-weight: 580;
}

@keyframes scenario-source-gather {
  0%, 16% { opacity: 1; transform: translateX(0); }
  42%, 68% { opacity: .42; transform: translateX(12px); }
  86%, 100% { opacity: 1; transform: translateX(0); }
}

@keyframes scenario-arrow-build {
  0%, 16% { opacity: .24; stroke-dashoffset: 72; transform: translateX(-6px); }
  42%, 72% { opacity: 1; stroke-dashoffset: 0; transform: translateX(4px); }
  100% { opacity: .24; stroke-dashoffset: 72; transform: translateX(-6px); }
}

@keyframes scenario-output-reveal {
  0%, 24% { opacity: .3; transform: translateX(-10px); }
  50%, 82% { opacity: 1; transform: translateX(0); }
  100% { opacity: .3; transform: translateX(-10px); }
}

@media (max-width: 760px) {
  .scenario-artifact-motion {
    flex: none;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .scenario-compare-arrow {
    width: 46px;
    transform: rotate(90deg);
  }

  .scenario-source-stack,
  .scenario-output-sheet {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scenario-source-stack > span,
  .scenario-compare-arrow,
  .scenario-output-sheet > span {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
    transform: none;
  }

  .scenario-compare-arrow {
    transform: none;
  }
}

.scenario-artifact-motion {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: clamp(380px, 34vw, 500px);
  padding: 12px;
}

.scenario-flow-column {
  position: relative;
  display: flex;
  min-width: 0;
  padding: clamp(16px, 1.5vw, 22px);
  overflow: hidden;
  border-radius: 18px;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(16, 23, 19, .05);
}

.scenario-flow-input { background: #f4e7e0; }
.scenario-flow-process { background: #eef0e9; }
.scenario-flow-output {
  background: #dff0e6;
  box-shadow:
    0 18px 42px rgba(21, 52, 38, .075),
    inset 0 0 0 1px rgba(16, 23, 19, .05);
}

.scenario-flow-input::after,
.scenario-flow-process::after {
  display: none;
}

.scenario-flow-column header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(16, 23, 19, .14);
}

.scenario-flow-column header span,
.scenario-flow-column header b {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.scenario-flow-column header b {
  color: var(--green-dark);
  font-variant-numeric: tabular-nums;
}

.scenario-flow-column ul,
.scenario-flow-column ol {
  display: grid;
  gap: 12px;
  align-content: start;
  flex: 1;
  margin: 0;
  padding: 24px 0 0;
  list-style: none;
}

.scenario-flow-input li,
.scenario-flow-output li {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .76);
  color: var(--ink);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 580;
  overflow-wrap: anywhere;
}

.scenario-flow-input li {
  animation: scenario-real-input 6s cubic-bezier(.2, 0, 0, 1) infinite;
  will-change: transform, opacity;
}

.scenario-flow-input li:nth-child(2) { animation-delay: .16s; }
.scenario-flow-input li:nth-child(3) { animation-delay: .32s; }

.scenario-flow-process ol {
  gap: 0;
  counter-reset: scenario-stage;
}

.scenario-flow-process li {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 54px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink);
  counter-increment: scenario-stage;
  font-size: clamp(11px, .92vw, 13px);
  font-weight: 560;
  animation: scenario-real-stage 6s cubic-bezier(.2, 0, 0, 1) infinite;
}

.scenario-flow-process li::before {
  color: var(--green-dark);
  content: counter(scenario-stage, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.scenario-flow-process li:nth-child(2) { animation-delay: .18s; }
.scenario-flow-process li:nth-child(3) { animation-delay: .36s; }
.scenario-flow-process li:nth-child(4) { animation-delay: .54s; }
.scenario-flow-process li:nth-child(5) { animation-delay: .72s; }

.scenario-flow-output li {
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, .62);
  animation: scenario-real-output 6s cubic-bezier(.2, 0, 0, 1) infinite;
  will-change: transform, opacity;
}

.scenario-flow-output li:nth-child(2) { animation-delay: .18s; }
.scenario-flow-output li:nth-child(3) { animation-delay: .36s; }

@keyframes scenario-real-input {
  0%, 14% { opacity: 1; transform: translateX(0); }
  34%, 60% { opacity: .72; transform: translateX(0); }
  82%, 100% { opacity: 1; transform: translateX(0); }
}

@keyframes scenario-real-stage {
  0%, 18% { background: transparent; transform: translateX(0); }
  34%, 52% { background: rgba(203, 231, 90, .42); transform: translateX(0); }
  72%, 100% { background: transparent; transform: translateX(0); }
}

@keyframes scenario-real-output {
  0%, 36% { opacity: .72; transform: translateX(0); }
  58%, 86% { opacity: 1; transform: translateX(0); }
  100% { opacity: .72; transform: translateX(0); }
}

@media (max-width: 760px) {
  .scenario-artifact-motion {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .scenario-flow-input::after,
  .scenario-flow-process::after {
    top: auto;
    right: 50%;
    bottom: -18px;
    transform: translateX(50%) rotate(90deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scenario-flow-input li,
  .scenario-flow-process li,
  .scenario-flow-output li {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.scenario-artifact-top,
.scenario-result-meta,
.decision-top,
.decision-panel dl,
.faq-list summary,
.site-footer {
  border: 0;
}

.memory-chapter {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
  padding: clamp(40px, 4.5vw, 64px);
  border-radius: var(--card-radius);
  background: var(--card-mint);
}

.memory-heading {
  display: block;
}

.memory-heading h2 {
  max-width: 570px;
  margin: 0;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 560;
  line-height: .98;
  letter-spacing: -.055em;
}

.memory-heading > p:last-child {
  max-width: 500px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.5;
}

.memory-notebook {
  position: relative;
  min-width: 0;
  padding: 0 18px 18px 0;
}

.memory-notebook::before {
  content: "";
  position: absolute;
  inset: 18px 0 0 16px;
  border-radius: 48px;
  background: var(--card-mist);
}

.memory-sheet {
  position: relative;
  z-index: 2;
  min-height: 520px;
  padding: clamp(34px, 4vw, 48px);
  border-radius: 48px;
  background: var(--card-paper);
}

.memory-sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.memory-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.memory-brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1;
  text-transform: none;
}

.memory-brand__teamon {
  width: 85px;
  height: 13px;
  overflow: hidden;
  background: url("/assets/brand/teamon-wordmark.svg?v=2") center / contain no-repeat;
  color: transparent;
  font-size: 0;
}

.memory-brand b {
  color: var(--violet);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 720;
  line-height: .84;
  letter-spacing: -.045em;
  text-transform: none;
  transform: translateY(1px);
}

.memory-mission-label {
  margin: 42px 0 0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.memory-sheet h3 {
  max-width: 17ch;
  margin: 12px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 570;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.memory-facts {
  display: grid;
  gap: 18px;
  margin: 38px 0 0;
}

.memory-facts > div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.memory-facts dt {
  width: max-content;
  min-width: 78px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--card-mint);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 680;
  text-align: center;
}

.memory-fact-decision dt {
  background: var(--card-peach);
}

.memory-fact-skill dt {
  background: var(--card-lilac);
}

.memory-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}

.memory-file {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding: 18px 22px;
  border-radius: 26px;
  background: var(--card-lime);
}

.memory-file div {
  display: grid;
  gap: 6px;
}

.memory-file span,
.memory-file small {
  color: var(--ink-muted);
  font-size: 11px;
}

.memory-file strong {
  font-size: 18px;
  font-weight: 650;
}

.memory-boundary {
  max-width: 720px;
  margin: 22px 0 0 auto;
  color: var(--ink-muted);
  font-size: 13px;
}

.call-story-section {
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(72px, 7vw, 104px);
  background: var(--milk);
}

.call-story-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .65fr);
  gap: clamp(48px, 9vw, 150px);
  align-items: end;
}

.call-story-heading h2 {
  max-width: 12ch;
  margin: 14px 0 0;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 620;
  line-height: .99;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.call-story-heading > p {
  max-width: 520px;
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5;
  letter-spacing: -.02em;
}

.call-photo-stage {
  position: relative;
  margin: clamp(40px, 5vw, 64px) 0 0;
  overflow: hidden;
  border-radius: clamp(38px, 5vw, 72px);
  background: #f3efe7;
}

.call-photo-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.call-photo-stage figcaption {
  position: absolute;
  bottom: clamp(18px, 3vw, 34px);
  left: clamp(18px, 3vw, 34px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgb(245 248 239 / .9);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  backdrop-filter: blur(12px);
}

@media (prefers-reduced-motion: no-preference) {
  .call-photo-stage.is-reveal-pending {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    will-change: opacity, transform;
  }

  .call-photo-stage.is-revealed {
    opacity: 1;
    transform: none;
    transition:
      opacity 480ms cubic-bezier(.22, 1, .36, 1),
      transform 560ms cubic-bezier(.22, 1, .36, 1);
  }
}

.control-section {
  margin: 24px var(--page-gutter);
  padding: 0;
  border: 0;
  border-radius: var(--card-radius);
  background: var(--card-mint);
}

.control-grid {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(42px, 8vw, 110px);
  width: min(1280px, 100%);
  padding: clamp(40px, 5vw, 72px);
  background: transparent;
}

.control-copy > p:last-child {
  max-width: 570px;
  margin-top: 28px;
}

.decision-panel {
  align-self: center;
  padding: 38px;
  border: 0;
  border-radius: var(--inset-radius);
  background: var(--card-lilac);
  box-shadow: none;
}

.decision-panel dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.decision-panel dl div {
  display: block;
  padding: 16px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .6);
}

.decision-panel dl div:last-child {
  grid-column: 1 / -1;
}

.decision-panel dd {
  margin-top: 7px;
}

.decision-preview {
  padding: 18px 20px;
  border: 0;
  border-radius: 22px;
  background: var(--card-lime);
}

.demo-access-section {
  margin: 24px var(--page-gutter);
  padding: 0;
  border: 0;
  border-radius: var(--card-radius);
  background: var(--card-peach);
}

.demo-access-grid {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(52px, 8vw, 120px);
  width: min(1280px, 100%);
  padding: clamp(40px, 5vw, 72px);
  background: transparent;
}

.demo-access-copy h2 {
  max-width: 600px;
  margin: 18px 0 0;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 560;
  line-height: .98;
  letter-spacing: -.055em;
}

.demo-access-copy > p:last-of-type {
  max-width: 560px;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.5;
}

.demo-access-copy .button {
  margin-top: 32px;
}

.demo-access-copy > small {
  display: block;
  margin-top: 14px;
  color: var(--ink-muted);
}

.demo-access-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px;
  border: 0;
  border-radius: var(--inset-radius);
  background: var(--card-paper);
  box-shadow: var(--card-shadow);
}

.demo-access-proof section,
.demo-access-proof section + section {
  padding: 24px;
  border: 0;
  border-radius: 26px;
  background: var(--card-mint);
}

.demo-access-proof section + section {
  background: var(--card-lime);
}

.demo-access-proof h3 {
  margin: 0 0 16px;
}

.demo-access-proof ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-access-proof li {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 58px;
  margin-top: 8px;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.demo-access-proof li::before {
  content: none;
}

.demo-access-proof section:last-child li::before {
  content: none;
}

.faq-grid {
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(40px, 4.5vw, 64px);
  background: var(--card-lilac);
}

.faq-list {
  display: grid;
  gap: 12px;
  border: 0;
}

.faq-list details {
  padding: 0 24px;
  border: 0;
  border-radius: 24px;
  background: var(--card-paper);
}

.faq-list details:nth-child(2) {
  background: var(--card-mint);
}

.faq-list details:nth-child(3) {
  background: var(--card-peach);
}

.faq-list details:nth-child(4) {
  background: var(--card-mist);
}

.faq-list summary {
  padding: 22px 42px 22px 0;
  border: 0;
}

.faq-list details p {
  padding-bottom: 24px;
}

.final-section {
  padding-top: 32px;
}

.final-inner {
  padding: clamp(40px, 4.5vw, 60px);
  border: 0;
  background: #d9ff55;
  color: var(--ink);
}

.final-inner .chapter-label,
.final-inner p:last-of-type,
.final-inner small {
  color: var(--ink);
}

.final-inner small {
  display: block;
  margin-top: 14px;
  opacity: .62;
}

.final-inner .button {
  border-radius: 999px;
  background: var(--ink);
  color: var(--milk);
}

/* Раскладку .header-inner целиком держит app.css: там же задан порог 1040px и
   flex-строка компактного режима. editorial отвечает только за свой компонент
   .mobile-menu — базовое правило выше прячет его, и вернуть меню в компактном
   режиме может только этот файл.

   Здесь намеренно нет ни grid-template-columns, ни gap для .header-inner:
   editorial подключается после app.css и молча перебивал бы его раскладку.
   Раньше эти объявления стояли на 1050px и 760px, то есть не совпадали ни с
   одним порогом app.css; в полосах 1041–1050px и 701–760px кнопка «Меню»
   уезжала во вторую строку и торчала из-под шапки поверх страницы. */
@media (max-width: 1040px) {
  .mobile-menu {
    display: block;
  }
}

@media (max-width: 1050px) {
  .context-proof-grid,
  .control-grid,
  .demo-access-grid {
    grid-template-columns: 1fr;
  }

  .context-proof-copy {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: none;
  }

  .context-proof-copy h2 {
    max-width: 14ch;
  }

  .context-proof-copy > p:last-child {
    max-width: 54ch;
  }

  .context-flow {
    width: 100%;
    margin: 0;
  }

  .context-workspace-grid {
    grid-template-columns: 180px minmax(270px, .9fr) minmax(320px, 1.1fr);
  }

  .memory-chapter {
    grid-template-columns: 1fr;
  }

  .memory-heading {
    max-width: 720px;
  }

  .demo-access-grid,
  .control-grid {
    gap: 54px;
  }
}

@media (max-width: 900px) {
  .context-workspace-grid {
    grid-template-columns: 1fr;
  }

  .context-workspace-nav {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgb(16 23 19 / .1);
  }

  .context-workspace-nav ol {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 13px;
  }

  .context-workspace-owner {
    display: none;
  }

  .context-result {
    border-top: 1px solid rgb(16 23 19 / .1);
    border-left: 0;
  }

  #scenario-panel.scenario-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brief"
      "trace"
      "artifact";
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --card-radius: 32px;
    --inset-radius: 24px;
  }

  .context-proof-grid,
  #scenario-panel.scenario-stage,
  .control-grid,
  .demo-access-grid,
  .faq-grid,
  .final-inner {
    padding: 24px;
  }

  .context-flow,
  .decision-panel dl,
  .demo-access-proof {
    grid-template-columns: 1fr;
  }

  .context-flow {
    margin-top: 0;
    padding: 0;
  }

  .context-proof-copy {
    display: block;
    margin-bottom: 38px;
  }

  .context-proof-copy .chapter-label {
    margin-bottom: 22px;
  }

  .context-proof-copy h2 {
    max-width: 13ch;
    font-size: clamp(42px, 12vw, 56px);
  }

  .context-proof-copy > p:last-child {
    margin-top: 24px;
    font-size: 17px;
  }

  .context-workspace {
    border-radius: 16px;
  }

  .context-workspace-bar {
    align-items: flex-start;
    padding: 15px;
  }

  .context-workspace-title small {
    display: none;
  }

  .context-workspace-status {
    margin-top: 4px;
    font-size: 11px;
  }

  .context-workspace-nav {
    padding: 14px 10px;
  }

  .context-workspace-nav > p {
    padding-left: 8px;
  }

  .context-workspace-nav ol {
    gap: 4px;
  }

  .context-workspace-nav li {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: 64px;
    padding: 9px 8px;
  }

  .context-workspace-nav li small {
    display: none;
  }

  .context-worklog,
  .context-result {
    padding: 24px;
  }

  .context-result h3 {
    margin-top: 34px;
    font-size: clamp(34px, 10vw, 44px);
  }

  .context-result dl {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .context-result dl div,
  .context-result dl div:first-child,
  .context-result dl div:last-child {
    gap: 5px;
    padding: 13px 0;
    border-top: 1px solid rgb(16 23 19 / .1);
    border-left: 0;
  }

  .context-result dl div:first-child {
    border-top: 0;
  }

  .context-result footer {
    align-items: flex-start;
    margin-top: 24px;
  }

  .call-story-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .call-story-heading h2 {
    max-width: 11ch;
    font-size: clamp(39px, 11vw, 48px);
  }

  .call-photo-stage {
    width: calc(100% + 12px);
    margin-left: -6px;
    border-radius: 32px;
  }

  .call-photo-stage img {
    min-height: 380px;
    object-fit: cover;
    object-position: 48% center;
  }

  .call-photo-stage figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 11px 14px;
    text-align: center;
  }

  @media (prefers-reduced-motion: no-preference) {
    .call-photo-stage.is-reveal-pending {
      transform: translate3d(0, 8px, 0);
    }

    .call-photo-stage.is-revealed {
      transition-duration: 360ms, 420ms;
    }
  }

  .preview-section .scenario-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    max-width: none;
    overflow: visible;
  }

  .preview-section .scenario-tabs::-webkit-scrollbar {
    display: none;
  }

  .preview-section .scenario-tab {
    min-width: 0;
    min-height: 58px;
    padding: 8px 6px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .support-launcher {
    width: 52px;
    min-width: 52px;
    padding: 0;
    border-radius: 50%;
  }

  .support-launcher strong {
    display: none;
  }

  .support-launcher::before {
    content: '?';
    font-size: 19px;
    font-weight: 760;
    line-height: 1;
  }

  #scenario-panel.scenario-stage > section,
  #scenario-panel .scenario-artifact {
    padding: 24px;
  }

  .memory-chapter {
    gap: 36px;
    padding: 24px;
    border-radius: 32px;
  }

  .memory-heading h2 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .memory-heading > p:last-child {
    font-size: 16px;
  }

  .memory-notebook {
    padding: 0 0 12px;
  }

  .memory-notebook::before {
    inset: 10px -4px 0 8px;
    border-radius: 30px;
  }

  .memory-sheet {
    min-height: 0;
    padding: 26px;
    border-radius: 30px;
  }

  .memory-sheet h3 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .memory-facts > div {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .memory-file {
    align-items: start;
    border-radius: 22px;
  }

  .control-section,
  .demo-access-section {
    margin-right: 12px;
    margin-left: 12px;
  }

  .decision-panel {
    padding: 24px;
  }

  .decision-panel dl div:last-child {
    grid-column: auto;
  }

  .demo-access-copy h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .demo-access-proof {
    padding: 10px;
  }

  .demo-access-proof section + section {
    margin-top: 0;
  }

  .faq-list details {
    border-radius: 20px;
  }

  .final-section {
    padding-top: 24px;
  }
}

/* Sales story: one task in, a reviewable result out. */
.lindy-hero--video .lindy-copy {
  max-width: 760px;
}

.lindy-hero--video .lindy-copy h1 {
  max-width: 16ch;
  font-size: clamp(54px, 5.9vw, 86px);
  line-height: .94;
  letter-spacing: -.064em;
  text-wrap: balance;
}

.lindy-copy > p {
  max-width: 620px;
}

.lindy-copy .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.lindy-copy .hero-actions .button {
  min-height: 50px;
  padding-inline: 22px;
  white-space: nowrap;
}

.lindy-copy .hero-actions .button-secondary {
  border-color: rgb(20 53 39 / .16);
  background: rgb(255 255 255 / .56);
}

.hero-proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 28px 0 0;
  padding: 0;
  color: #385345;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
}

.sales-proof-section {
  padding-top: clamp(48px, 5vw, 76px);
}

.sales-proof-shell {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 6vw, 92px);
  padding: clamp(38px, 5vw, 70px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 8%, rgb(217 255 85 / .36), transparent 34%),
    rgb(229 242 231 / .76);
}

.sales-proof-heading {
  align-self: start;
}

.sales-proof-heading h2 {
  max-width: 13ch;
  margin: 18px 0 0;
  font-size: clamp(42px, 4.7vw, 68px);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -.054em;
  text-wrap: balance;
}

.sales-proof-heading > p:last-child {
  max-width: 48ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.52;
}

.sales-comparison {
  display: grid;
  gap: 8px;
  align-content: start;
}

.sales-comparison > div {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  min-height: 74px;
  padding: 18px 22px;
  border-radius: 8px;
  background: rgb(255 255 255 / .64);
}

.sales-comparison > .sales-comparison-head {
  min-height: auto;
  padding-block: 0 8px;
  background: transparent;
}

.sales-comparison span,
.sales-comparison strong {
  font-size: 15px;
  line-height: 1.4;
}

.sales-comparison span {
  color: #67746d;
  font-weight: 520;
}

.sales-comparison strong {
  color: #163e2d;
  font-weight: 700;
}

.sales-comparison-head span,
.sales-comparison-head strong {
  font-size: 12px;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.sales-proof-outcome {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(150px, .35fr) minmax(0, 1.65fr);
  gap: 26px;
  align-items: start;
  margin: 0;
  padding-top: clamp(8px, 1vw, 16px);
}

.sales-proof-outcome span {
  color: #426253;
  font-size: 14px;
  font-weight: 650;
}

.sales-proof-outcome strong {
  max-width: 34ch;
  color: #153b2b;
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 590;
  line-height: 1.08;
  letter-spacing: -.04em;
}

@media (max-width: 900px) {
  .sales-proof-shell {
    grid-template-columns: 1fr;
  }

  .sales-proof-heading h2 {
    max-width: 15ch;
  }

  .sales-proof-outcome {
    grid-column: auto;
  }
}

@media (min-width: 1100px) and (max-width: 1360px) {
  .lindy-hero--video .lindy-hero-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 38px;
    width: calc(100% - 80px);
    padding-block: 96px;
  }

  .lindy-hero--video .phone-scene {
    width: 360px;
    height: 702px;
    margin: 0;
  }
}

@media (max-width: 700px) {
  .lindy-hero--video .lindy-copy h1 {
    max-width: 16ch;
    font-size: clamp(42px, 11.5vw, 56px);
  }

  .lindy-copy .hero-actions {
    display: grid;
  }

  .lindy-copy .hero-actions .button {
    width: 100%;
  }

  .hero-proofline {
    display: grid;
    gap: 7px;
  }

  .sales-proof-section {
    padding-top: 28px;
  }

  .sales-proof-shell {
    gap: 34px;
    padding: 30px 20px;
  }

  .sales-comparison > div {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 14px;
    min-height: 86px;
    padding: 15px;
  }

  .sales-comparison span,
  .sales-comparison strong {
    font-size: 13px;
  }

  .sales-comparison-head span,
  .sales-comparison-head strong {
    font-size: 10px;
  }

  .sales-proof-outcome {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Visible page-wide colour motion. This is one physical gradient plane rather
 * than a collection of blobs. It moves as a whole with page scroll. */
html,
body:not(.demo-page) {
  overflow-x: clip;
}

body:not(.demo-page) {
  min-width: 0;
  isolation: isolate;
  background: #f5f8ef;
}

/* Слой намеренно длиннее экрана: вьюпорт едет вдоль него по мере прокрутки,
   поэтому цвет перетекает от блока к блоку, а не стоит растянутым на всю
   страницу. Градиент по-прежнему один и не начинается заново внутри секций. */
.gradient-field {
  --gradient-shift-x: -3vw;
  --gradient-shift-y: 0vh;
  position: fixed;
  z-index: 0;
  top: 0;
  left: -4vw;
  width: 108vw;
  height: 520vh;
  pointer-events: none;
  background:
    linear-gradient(
      168deg,
      #f5f8ef 0%,
      #dff5df 9%,
      #bfeebc 24%,
      #ecf7b3 40%,
      #e5ddf7 58%,
      #cfc2f3 80%,
      #cfc2f3 94%,
      #f5f8ef 100%
    );
  opacity: .96;
  transform: translate3d(var(--gradient-shift-x), var(--gradient-shift-y), 0);
  transform-origin: 50% 0;
  will-change: transform;
}

body:not(.demo-page) main,
body:not(.demo-page) .site-footer {
  position: relative;
  z-index: 1;
}

body:not(.demo-page) .site-header {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  z-index: 20;
  transition-property: opacity, transform;
  transition-duration: 420ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}

body:not(.demo-page) .site-header .brand > :first-child {
  filter: brightness(0) invert(1) drop-shadow(0 1px 10px rgb(0 0 0 / .22));
}

body:not(.demo-page) .site-header .brand > :last-child {
  color: #fff;
  text-shadow: 0 1px 10px rgb(0 0 0 / .22);
}
body:not(.demo-page) .support-dock {
  z-index: 40;
  transition-property: opacity, transform;
  transition-duration: 420ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}
body:not(.demo-page) .site-loader { z-index: 1000; }

.site-loader {
  background: transparent;
}

.lindy-hero--video {
  --video-frame-gap: clamp(12px, 1.4vw, 20px);
  min-height: 0;
  overflow: clip;
  padding-top: var(--video-frame-gap);
  background: #bfeebc;
}

.lindy-hero--video .lindy-hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 450px;
  align-items: start;
  gap: clamp(48px, 6vw, 96px);
  width: min(1256px, calc(100% - 184px));
  min-height: 0;
  margin: 0 auto;
  padding: clamp(88px, 8vw, 128px) 0 clamp(96px, 9vw, 144px);
  transition-property: opacity, transform;
  transition-duration: 520ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}

html.intro-playing {
  overflow: hidden;
  overscroll-behavior: none;
}

html.intro-playing body:not(.demo-page) .site-header,
html.intro-playing body:not(.demo-page) .support-dock,
html.intro-playing body:not(.demo-page) .lindy-hero-inner {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

html.intro-playing body:not(.demo-page) .site-header {
  transform: translateY(-12px);
}

html.intro-playing body:not(.demo-page) .support-dock,
html.intro-playing body:not(.demo-page) .lindy-hero-inner {
  transform: translateY(12px);
}

html.intro-complete body:not(.demo-page) .site-header {
  position: fixed;
  transition-delay: 160ms;
}

html.intro-complete body:not(.demo-page) .lindy-hero-inner {
  transition-delay: 240ms;
}

html.intro-complete body:not(.demo-page) .support-dock {
  transition-delay: 320ms;
}

html.hero-media-playing body:not(.demo-page) .support-dock {
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition-delay: 0ms;
}

html.intro-complete body:not(.demo-page) .site-header .brand > :first-child {
  filter: none;
}

html.intro-complete body:not(.demo-page) .site-header .brand > :last-child {
  color: var(--violet);
  text-shadow: none;
}

.lindy-hero--video .lindy-copy {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  max-width: 660px;
  margin-left: 0;
}

.lindy-hero--video .lindy-copy h1 {
  font-size: clamp(52px, 5.4vw, 78px);
  white-space: normal;
}

.lindy-hero--video .phone-scene {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  width: 450px;
  height: 878px;
  margin: 0;
}

.hero-video-scene {
  position: relative;
  z-index: 2;
  top: auto;
  right: auto;
  width: calc(100% - (var(--video-frame-gap) * 2));
  height: calc(100vh - (var(--video-frame-gap) * 2));
  height: calc(100svh - (var(--video-frame-gap) * 2));
  margin: 0 auto;
  overflow: hidden;
  border-radius: clamp(24px, 2.6vw, 42px);
  outline: 1px solid rgb(0 0 0 / .1);
  outline-offset: -1px;
  background: #08151b;
  box-shadow:
    0 1px 2px rgb(0 0 0 / .08),
    0 20px 60px rgb(24 74 47 / .16);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms cubic-bezier(.22, 1, .36, 1), transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.hero-video-credit {
  width: calc(100% - (var(--video-frame-gap) * 2));
  max-width: 1920px;
  margin: 12px auto 0;
  color: rgb(18 49 35 / .68);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

@media (min-width: 701px) {
  .hero-video-scene {
    aspect-ratio: 16 / 9;
    max-width: 1920px;
    max-height: 1080px;
  }
}

@media (min-width: 701px) and (max-aspect-ratio: 16 / 9) {
  .hero-video-scene {
    width: calc(100% - (var(--video-frame-gap) * 2));
    height: auto;
  }
}

@media (min-width: 701px) and (min-aspect-ratio: 16 / 9) {
  .hero-video-scene {
    width: auto;
    height: calc(100svh - (var(--video-frame-gap) * 2));
  }
}

.hero-video-scene::after {
  content: none;
}

.hero-video-scene::before {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(144px, 20vh, 220px);
  pointer-events: none;
  background: linear-gradient(180deg, rgb(191 238 188 / 0) 0%, rgb(191 238 188 / .18) 42%, #bfeebc 100%);
  opacity: 1;
  transition: opacity 700ms cubic-bezier(.2, 0, 0, 1);
}

html.intro-playing .hero-video-scene::before {
  opacity: .68;
}

html.intro-playing .hero-video-scene.is-playing::before {
  opacity: .42;
}

.hero-video-scene.is-ready {
  opacity: 1;
  transform: none;
}

.hero-video-poster,
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-video-poster img,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-poster img { display: block; }

.hero-video {
  z-index: 2;
  background: transparent;
  opacity: 0;
  transition: opacity 240ms ease;
}

.hero-video-scene.is-media-ready.is-playing:not(.is-ended) .hero-video {
  opacity: 1;
}

.hero-play-gate {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: rgb(5 15 12 / .16);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition-property: opacity, transform;
  transition-duration: 260ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}

.hero-play-gate[hidden],
.hero-audio-toggle[hidden] { display: none; }

.hero-video-scene.is-ready:not(.is-playing):not(.is-ended) .hero-play-gate {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero-video-scene.is-playing .hero-play-gate,
.hero-video-scene.is-ended .hero-play-gate {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition-duration: 180ms;
}

.hero-play-with-sound,
.hero-play-muted {
  min-height: 44px;
  border: 0;
  cursor: pointer;
  transition-property: scale, color, background-color, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}

.hero-play-with-sound:active,
.hero-play-muted:active {
  scale: .96;
}

.hero-play-with-sound {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(280px, 100%);
  padding: 13px 22px;
  border-radius: 999px;
  color: #07130e;
  background: #fff;
  box-shadow: 0 18px 52px rgb(0 0 0 / .25), 0 0 0 1px rgb(255 255 255 / .22);
  font: inherit;
  font-weight: 800;
}

.hero-play-with-sound:hover,
.hero-play-with-sound:focus-visible {
  background: #eaffed;
  box-shadow: 0 18px 56px rgb(0 0 0 / .3), 0 0 0 3px rgb(25 223 111 / .7);
}

.hero-play-with-sound svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-play-muted {
  padding: 8px 16px;
  border-radius: 999px;
  color: rgb(255 255 255 / .82);
  background: rgb(5 15 12 / .36);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.hero-play-muted:hover,
.hero-play-muted:focus-visible {
  color: #fff;
  background: rgb(5 15 12 / .64);
  outline: 2px solid rgb(255 255 255 / .72);
  outline-offset: 2px;
}

.hero-audio-toggle {
  position: absolute;
  z-index: 4;
  right: clamp(16px, 2.4vw, 34px);
  bottom: clamp(16px, 2.4vw, 34px);
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(255 255 255 / .3);
  border-radius: 50%;
  color: #fff;
  background: rgb(5 15 12 / .58);
  box-shadow: 0 12px 32px rgb(0 0 0 / .18);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  cursor: pointer;
  transition-property: opacity, transform, background-color, border-color;
  transition-duration: 260ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}

.hero-video-scene.is-playing:not(.is-ended) .hero-audio-toggle {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero-audio-toggle:hover,
.hero-audio-toggle:focus-visible,
.hero-audio-toggle.is-sound-on {
  border-color: rgb(255 255 255 / .64);
  background: rgb(5 15 12 / .8);
}

.hero-audio-toggle:focus-visible {
  outline: 3px solid #19df6f;
  outline-offset: 3px;
}

.hero-audio-icon {
  grid-area: 1 / 1;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
  scale: 1;
  filter: blur(0);
  transition-property: opacity, scale, filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}

.hero-audio-icon-on {
  opacity: 0;
  scale: .25;
  filter: blur(4px);
}

.hero-audio-toggle.is-sound-on .hero-audio-icon-on {
  opacity: 1;
  scale: 1;
  filter: blur(0);
}

.hero-audio-toggle.is-sound-on .hero-audio-icon-off {
  opacity: 0;
  scale: .25;
  filter: blur(4px);
}

@media (max-width: 1360px) {
  .lindy-hero--video .lindy-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 80px);
    min-height: 0;
    margin-top: 0;
    padding: 96px 0;
  }

  .lindy-hero--video .lindy-copy {
    max-width: 720px;
    margin-left: 0;
  }

  .lindy-hero--video .phone-scene {
    width: min(340px, 100%);
    height: 668px;
    margin: 64px auto 0;
  }

}

@media (max-width: 900px) {
  .lindy-hero--video .lindy-hero-inner {
    width: calc(100% - 40px);
    margin-top: 0;
    padding: 120px 0 72px;
  }

  .lindy-hero--video .phone-scene {
    margin-top: 48px;
  }
}

@media (max-width: 700px) {
  .lindy-hero--video {
    --video-frame-gap: 8px;
  }

  .hero-video-scene {
    border-radius: 24px;
  }

  .hero-video-credit {
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
  }

  .hero-video-poster img,
  .hero-video { object-position: center; }

  .lindy-hero--video .lindy-hero-inner {
    width: calc(100% - 40px);
    padding: 112px 0 64px;
  }

}

/* Лоадер прозрачен, чтобы во время загрузки был виден общий gradient-field.
   Поэтому содержимое страницы скрывается на время загрузки: иначе вордмарк,
   строка прогресса и полоса лоадера рисуются поверх уже свёрстанного героя. */
body[aria-busy="true"]:not(.demo-page) main,
body[aria-busy="true"]:not(.demo-page) .site-header,
body[aria-busy="true"]:not(.demo-page) .site-footer,
body[aria-busy="true"]:not(.demo-page) .support-dock {
  visibility: hidden;
}

.site-loader__aurora {
  display: none;
}

body[aria-busy="true"] .gradient-field {
  animation: loader-gradient-drift var(--loader-duration) cubic-bezier(.37, 0, .63, 1) both;
}

.capsule-teaser { padding-block: 52px 76px; }

.capsule-teaser-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
  padding: clamp(34px, 5vw, 72px);
  border: 1px solid rgb(17 24 21 / .09);
  border-radius: clamp(32px, 4vw, 58px);
  background: linear-gradient(135deg, rgb(250 246 232 / .94), rgb(228 244 232 / .9) 58%, rgb(235 229 250 / .88));
  box-shadow: 0 30px 90px rgb(45 62 52 / .1);
}

.capsule-teaser-copy { max-width: 720px; }

.capsule-teaser-copy h2 {
  max-width: 680px;
  margin: 12px 0 20px;
  font-size: clamp(42px, 5.4vw, 76px);
  letter-spacing: -.065em;
  line-height: .98;
}

.capsule-teaser-copy > p:not(.chapter-label) {
  max-width: 630px;
  margin: 0 0 30px;
  color: #536059;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
}

.capsule-teaser-selector {
  width: min(100%, 520px);
  justify-self: center;
}

.capsule-teaser-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 72px;
}

.capsule-teaser-chamber {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  cursor: grab;
  touch-action: pan-y;
}

.capsule-teaser-chamber:active { cursor: grabbing; }

.capsule-teaser-chamber[hidden] { display: none; }

.capsule-teaser-rotor {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgb(17 24 21 / .16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 35%, rgb(255 255 255 / .88) 0 7%, transparent 8%),
    radial-gradient(circle at 48% 45%, #f6f1e5 0 48%, #ded6c5 72%, #ada38f 100%);
  box-shadow:
    inset 20px 18px 38px rgb(255 255 255 / .7),
    inset -22px -24px 38px rgb(64 62 54 / .16),
    0 24px 46px rgb(45 62 52 / .15);
  transform: rotate(var(--teaser-rotation, 0deg));
  transition: transform 560ms cubic-bezier(.18, .78, .2, 1.08);
  touch-action: pan-y;
}

.capsule-teaser-orbit.has-webgl .capsule-teaser-rotor {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  transform: none;
  transition: none;
}

.capsule-teaser-rotor:focus-visible {
  outline: 4px solid #6c4cf1;
  outline-offset: 8px;
}

.capsule-teaser-orbit strong {
  position: absolute;
  z-index: 3;
  inset: 34%;
  display: grid;
  place-items: center;
  border-radius: 36%;
  border: 1px solid rgb(22 112 71 / .12);
  color: #176b45;
  background: linear-gradient(145deg, #e4f2df, #cfe5d3);
  box-shadow: inset 4px 4px 8px rgb(255 255 255 / .58), 0 8px 18px rgb(37 79 53 / .1);
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -.06em;
  text-align: center;
  pointer-events: none;
}

.capsule-teaser-orbit.has-webgl strong {
  inset: 39%;
  border-color: rgb(255 255 255 / .72);
  border-radius: 50%;
  background: linear-gradient(145deg, #d9eedc, #accdb4);
  box-shadow:
    inset -9px -11px 18px rgb(35 86 55 / .14),
    inset 8px 8px 16px rgb(255 255 255 / .68),
    0 16px 30px rgb(34 77 51 / .18);
  font-size: clamp(24px, 2.4vw, 34px);
}

.capsule-teaser-tooltip {
  position: absolute;
  z-index: 4;
  top: 2%;
  left: 50%;
  margin: 0;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff;
  background: #111815;
  box-shadow: 0 10px 24px rgb(17 24 21 / .2);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.capsule-teaser-orbit:hover .capsule-teaser-tooltip,
.capsule-teaser-orbit:focus-within .capsule-teaser-tooltip,
.capsule-teaser-orbit.is-tooltip-active .capsule-teaser-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.capsule-teaser-slot {
  position: absolute;
  top: 8%;
  left: 42%;
  width: 15%;
  aspect-ratio: .72;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #1d7047;
  background:
    radial-gradient(circle at 35% 24%, rgb(255 255 255 / .94), transparent 34%),
    color-mix(in srgb, var(--slot-accent), #f8f5ec 88%);
  box-shadow: inset 5px 5px 8px rgb(255 255 255 / .9), inset -5px -7px 9px rgb(58 62 55 / .14), 0 8px 15px rgb(45 62 52 / .13);
  font-family: inherit;
  cursor: pointer;
  transform-origin: 50% 262%;
  transform: rotate(var(--slot-angle));
}

.capsule-teaser-slot[aria-pressed="true"] {
  outline: 4px solid var(--slot-accent);
  outline-offset: 3px;
  background:
    radial-gradient(circle at 35% 24%, rgb(255 255 255 / .88), transparent 34%),
    color-mix(in srgb, var(--slot-accent), #f8f5ec 66%);
  box-shadow: inset 5px 5px 8px rgb(255 255 255 / .82), inset -5px -7px 9px rgb(58 62 55 / .14), 0 10px 24px color-mix(in srgb, var(--slot-accent), transparent 66%);
}

.capsule-teaser-orbit.has-webgl .capsule-teaser-slot {
  top: var(--pose-y, 50%);
  left: var(--pose-x, 50%);
  width: 64px;
  height: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  outline: 0;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transform-origin: center;
}

.capsule-teaser-orbit.has-webgl .capsule-teaser-slot:focus-visible {
  outline: 3px solid #111815;
  outline-offset: 4px;
}

.capsule-teaser-readout {
  min-height: 118px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgb(17 24 21 / .1);
  border-radius: 22px;
  background: rgb(255 255 255 / .58);
  box-shadow: 0 12px 28px rgb(45 62 52 / .08);
  text-align: center;
}

.capsule-teaser-readout b,
.capsule-teaser-readout span { display: block; }

.capsule-teaser-readout b {
  color: #15231b;
  font-size: 18px;
}

.capsule-teaser-readout span {
  max-width: 390px;
  margin: 7px auto 0;
  color: #536059;
  font-size: 15px;
  line-height: 1.45;
}

.capsule-teaser-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.capsule-teaser-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(17 24 21 / .16);
  border-radius: 50%;
  color: #15231b;
  background: rgb(255 255 255 / .72);
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.capsule-teaser-controls button:focus-visible {
  outline: 3px solid #6c4cf1;
  outline-offset: 3px;
}

.capsule-teaser-controls span {
  min-width: 48px;
  color: #536059;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

@media (max-width: 820px) {
  .capsule-teaser-shell { grid-template-columns: 1fr; }
  .capsule-teaser-selector { width: min(100%, 340px); }
}

@media (max-width: 430px) {
  .capsule-teaser { padding-block: 32px 56px; }
  .capsule-teaser-shell { padding: 30px 24px 34px; }
  .capsule-teaser-copy h2 { font-size: 42px; }
  .capsule-teaser-orbit { margin-bottom: 58px; }
  .capsule-teaser-readout { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .capsule-teaser-rotor { transition: none; }
}

/* Загрузка стартует с насыщенного участка (зелёный — лайм) и приезжает ровно
   в 0, то есть в тот цвет, с которого начинается герой. Без этого экран
   загрузки показывал только самый верх длинного градиента и выглядел выцветшим,
   а на старте прокрутки цвет прыгал. */
@keyframes loader-gradient-drift {
  from { transform: translate3d(-3vw, -96vh, 0); }
  to { transform: translate3d(-3vw, 0vh, 0); }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.demo-page) .site-header,
  body:not(.demo-page) .support-dock,
  .lindy-hero--video .lindy-hero-inner,
  .hero-video-scene {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-audio-toggle {
    transition: none;
  }

  .hero-play-gate,
  .hero-play-with-sound,
  .hero-play-muted,
  .hero-audio-icon {
    transition: none;
  }

  .gradient-field {
    animation: none;
    transform: translate3d(-3vw, -180vh, 0);
  }
}

@media (max-width: 700px) {
  .gradient-field {
    --gradient-shift-x: -1vw;
    --gradient-shift-y: 0vh;
  }
}

@media (max-width: 430px) {
  .memory-file {
    align-items: start;
    flex-direction: column;
  }

  .memory-facts > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .memory-file strong {
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .mobile-menu-auth {
    display: flex;
  }
}

@media (max-width: 360px) {
  .memory-sheet-top {
    align-items: start;
    flex-direction: column;
  }
}

/* Work record: a real source-to-document example, without simulated app chrome. */
.context-proof-copy {
  display: block;
  max-width: 820px;
  margin-bottom: clamp(42px, 6vw, 82px);
}

.context-proof-copy h2 {
  max-width: 16ch;
}

.context-proof-copy > p:last-child {
  max-width: 54ch;
  margin-top: 24px;
}

.context-work-record {
  display: grid;
  grid-template-columns: minmax(260px, .58fr) minmax(0, 1.42fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
  padding-top: clamp(10px, 2vw, 24px);
}

.context-source {
  padding-top: 4px;
}

.context-source > p,
.context-document > header > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.context-source blockquote {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(23px, 2.3vw, 32px);
  font-weight: 560;
  line-height: 1.24;
  letter-spacing: -.035em;
}

.context-source dl {
  display: grid;
  gap: 10px;
  margin: clamp(38px, 5vw, 66px) 0 0;
}

.context-source dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgb(255 255 255 / .52);
}

.context-source dt,
.context-source dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.context-source dt {
  color: var(--ink-soft);
}

.context-source dd {
  color: var(--ink);
  font-weight: 560;
}

.context-document {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fffefa;
  box-shadow: 0 18px 44px rgb(16 23 19 / .07);
}

.context-document > header {
  padding: clamp(30px, 4vw, 54px);
}

.context-document h3 {
  max-width: 14ch;
  margin: 15px 0 0;
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 590;
  line-height: .98;
  letter-spacing: -.055em;
}

.context-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px);
}

.context-document-grid section {
  min-height: 184px;
  padding: clamp(26px, 3.2vw, 42px);
  border-radius: 8px;
  background: #f6f7f2;
}

.context-document h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -.02em;
}

.context-document-grid p {
  max-width: 40ch;
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.52;
}

.context-document > footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 22px clamp(26px, 3.2vw, 42px);
  color: var(--ink-soft);
  font-size: 12px;
}

@media (max-width: 900px) {
  .context-work-record {
    grid-template-columns: 1fr;
  }

  .context-source {
    max-width: 640px;
  }
}

@media (max-width: 620px) {
  .context-document-grid {
    grid-template-columns: 1fr;
  }

  .context-document-grid section:nth-child(odd) {
    border: 0;
  }

  .context-document > footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Honest result stories: scenario proof without fabricated people or metrics. */
.story-proof-section {
  padding-top: clamp(48px, 6vw, 96px);
}

.story-proof-shell {
  display: grid;
  gap: clamp(34px, 4.5vw, 66px);
  overflow: hidden;
}

.story-proof-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
  gap: clamp(38px, 8vw, 130px);
  align-items: end;
}

.story-proof-heading h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(46px, 5.2vw, 78px);
  line-height: .96;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.story-proof-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
  text-wrap: pretty;
}

.story-proof-track {
  display: flex;
  gap: 18px;
  padding: 0 0 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgb(16 23 19 / .25) transparent;
  scrollbar-width: thin;
}

.story-proof-card {
  display: grid;
  flex: 0 0 min(1060px, 82vw);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: clamp(28px, 4vw, 64px);
  min-height: 430px;
  padding: clamp(30px, 3.5vw, 52px);
  border-radius: 42px;
  scroll-snap-align: start;
}

.story-proof-card--analysis {
  background: #dff5e8;
}

.story-proof-card--design {
  background: #ebe3ff;
}

.story-proof-card--video {
  background: #f8e2d6;
}

.story-proof-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.story-proof-copy > header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.story-proof-copy > header span {
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -.02em;
}

.story-proof-copy > header small {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / .72);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .02em;
}

.story-proof-task {
  max-width: 15ch;
  margin: clamp(40px, 6vw, 76px) 0 20px;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.story-proof-task + p {
  max-width: 53ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.62;
}

.story-proof-copy > footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgb(255 255 255 / .74);
}

.story-proof-copy > footer span {
  color: var(--ink-soft);
  font-size: 12px;
}

.story-proof-copy > footer strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-proof-visual {
  position: relative;
  min-height: 320px;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border-radius: 30px;
  background: rgb(255 255 255 / .68);
}

.story-proof-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.story-proof-bars span {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: var(--bar);
  min-width: 58%;
  padding: 16px 18px;
  border-radius: 16px;
  background: #b5edc8;
}

.story-proof-bars span:nth-child(2) {
  background: #d8f4e2;
}

.story-proof-bars span:nth-child(3) {
  background: #edf8f0;
}

.story-proof-bars i,
.story-proof-bars b {
  font-style: normal;
  font-size: 12px;
}

.story-proof-bars em {
  max-width: 34ch;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.story-proof-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 28px 1fr 34px 1.2fr;
  gap: 14px;
  background: #fbfaf7;
  box-shadow: 0 24px 60px rgb(72 48 125 / .12);
}

.story-layout-browser {
  display: flex;
  grid-column: 1 / -1;
  gap: 6px;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  background: #262923;
}

.story-layout-browser i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f7f4ee;
  opacity: .62;
}

.story-layout-title,
.story-layout-copy,
.story-layout-actions,
.story-layout-grid i {
  display: block;
  border-radius: 12px;
  background: #ded1ff;
}

.story-layout-title {
  grid-row: 2;
  background: linear-gradient(145deg, #d5f455, #efe9ff);
}

.story-layout-copy {
  grid-row: 2;
  background: #ede9e1;
}

.story-layout-actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 10px;
  background: transparent;
}

.story-layout-actions i {
  width: 104px;
  border-radius: 999px;
  background: #1d211c;
}

.story-layout-actions i:last-child {
  background: #ded8cd;
}

.story-layout-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.story-layout-grid i:nth-child(2) {
  background: #dff5e8;
}

.story-layout-grid i:nth-child(3) {
  background: #f8e2d6;
}

.story-proof-video {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: center;
  background: #181b18;
}

.story-proof-video span {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(155deg, #ff9d71, #5f3f98);
  color: white;
}

.story-proof-video span:nth-child(2) {
  background: linear-gradient(155deg, #7edc9e, #243c35);
}

.story-proof-video span:nth-child(3) {
  background: linear-gradient(155deg, #d5f455, #7257bb);
}

.story-proof-video i,
.story-proof-video b {
  font-style: normal;
  font-size: 11px;
}

.story-proof-video em {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / .88);
  color: #151815;
  font-size: 20px;
  font-style: normal;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 40px rgb(0 0 0 / .2);
}

@media (max-width: 980px) {
  .story-proof-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-proof-card {
    flex-basis: 88vw;
    grid-template-columns: 1fr;
  }

  .story-proof-task {
    margin-top: 38px;
  }

  .story-proof-copy > footer {
    margin-top: 34px;
  }
}

@media (max-width: 700px) {
  .story-proof-shell {
    overflow: visible;
  }

  .story-proof-heading h2 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .story-proof-track {
    display: grid;
    overflow: visible;
  }

  .story-proof-card {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    padding: 24px;
    border-radius: 30px;
  }

  .story-proof-visual {
    min-height: 240px;
    border-radius: 22px;
  }

  .story-proof-video span {
    min-height: 160px;
    padding: 12px;
  }
}

/*
 * Continuous landing field — authoritative guardrail layer.
 * Keep chapter sections transparent: the single page gradient must remain
 * visible through every boundary. Colour belongs to real content surfaces,
 * never to full-width bands, rules or pseudo-element masks.
 */
body:not(.demo-page) main,
body:not(.demo-page) main > section {
  margin-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.context-proof-section {
  padding-top: clamp(42px, 4.6vw, 72px);
}

.context-proof-grid {
  padding-top: 0;
}

.control-section,
.demo-access-section {
  margin-block: 0;
}

.control-grid,
.demo-access-grid {
  border: 0;
  background: transparent;
}

.decision-panel {
  border: 0;
}

.decision-panel dl,
.decision-panel dl div,
.control-principles,
.control-principles div {
  border: 0;
}

#scenario-panel.scenario-stage {
  background: rgb(228 240 235 / .58);
}

.memory-chapter {
  background: rgb(226 246 231 / .58);
}

.call-photo-stage {
  background: rgb(243 239 231 / .68);
}

.faq-grid {
  background: rgb(238 233 252 / .56);
}

.final-section {
  padding-top: clamp(38px, 4vw, 64px);
}

.final-inner {
  border: 0;
  background:
    linear-gradient(135deg, rgb(217 255 85 / .46), rgb(255 255 255 / .58));
}

@media (max-width: 760px) {
  .control-section,
  .demo-access-section {
    margin-inline: 0;
  }

  .context-proof-section {
    padding-top: 34px;
  }

  .final-section {
    padding-top: 24px;
  }
}

/* Final hero conversion layer: it must win over historical responsive rules. */
.lindy-hero--video .lindy-copy {
  max-width: 760px;
}

.lindy-hero--video .lindy-copy h1 {
  max-width: 16ch;
  font-size: clamp(54px, 5.9vw, 86px);
  line-height: .94;
  letter-spacing: -.064em;
  white-space: normal;
  text-wrap: balance;
}

@media (min-width: 1100px) and (max-width: 1360px) {
  .lindy-hero--video .lindy-hero-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 38px;
    width: calc(100% - 80px);
    padding-block: 96px;
  }

  .lindy-hero--video .phone-scene {
    width: 360px;
    height: 702px;
    margin: 0;
  }
}

@media (max-width: 700px) {
  .lindy-hero--video .lindy-copy h1 {
    max-width: 16ch;
    font-size: clamp(42px, 11.5vw, 56px);
  }
}

/* Wide-screen content frame: the page gradient stays full-bleed. */
@media (min-width: 1361px) {
  .section-shell,
  .header-inner,
  .lindy-hero--video .lindy-hero-inner,
  .final-inner,
  .hero-video-scene,
  .hero-video-credit {
    width: min(1200px, calc(100% - 80px));
  }

  .hero-video-scene {
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
    transition:
      opacity 700ms cubic-bezier(.22, 1, .36, 1),
      transform 700ms cubic-bezier(.22, 1, .36, 1),
      width 900ms cubic-bezier(.22, 1, .36, 1),
      height 900ms cubic-bezier(.22, 1, .36, 1),
      max-width 900ms cubic-bezier(.22, 1, .36, 1),
      border-radius 900ms cubic-bezier(.22, 1, .36, 1);
  }

  .hero-video-scene.is-ready:not(.is-ended) {
    width: calc(100% - (var(--video-frame-gap) * 2));
    height: calc(100svh - (var(--video-frame-gap) * 2));
    max-width: 1920px;
    max-height: 1080px;
    border-radius: clamp(24px, 2.6vw, 42px);
  }

  .capsule-teaser-shell {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: clamp(40px, 3vw, 48px);
  }

  .capsule-teaser-copy h2 {
    font-size: clamp(42px, 4.2vw, 72px);
  }
}
