/* Наглядные объяснения на главной. Иконки Lucide, текст остаётся в HTML. */
.ui-icon { display: inline-block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.app-list { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 16px; }
.app-list li { display: inline-flex; align-items: center; gap: 8px; }
.app-list .ui-icon { width: 20px; height: 20px; }
.illustrated-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.illustrated-heading .sec-head { margin: 0; min-width: 0; flex: 1 1 10em; }
.illustrated-heading .sec-lead { margin-top: 12px; }
.reply-illustration { width: 230px; height: auto; flex-shrink: 0; }
.reply-story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 0; margin: 28px 0 0; }
.reply-story > li { position: relative; min-width: 0; }
.story-frame { display: flex; flex-direction: column; justify-content: center; gap: 22px; min-height: 182px; padding: 24px; background: var(--soft); border-radius: 12px; }
.story-message { align-self: flex-start; max-width: 95%; padding: 10px 14px; border-radius: 10px 10px 10px 2px; background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.45; }
.story-input { display: flex; align-items: center; gap: 6px; padding: 12px 0 8px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.story-input i { flex: none; width: 1px; height: 18px; background: var(--leaf-ink); }
.story-ghost { color: var(--ghost); }
.story-ghost i { order: -1; }
.story-key { display: flex; align-items: center; gap: 16px; min-height: 40px; color: var(--ink-2); }
.story-key kbd { display: inline-grid; place-items: center; min-width: 58px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 3px 0 var(--line); background: var(--paper); color: var(--ink); font: 500 16px/1.5 var(--sans); }
.story-out { align-self: flex-end; background: var(--memory); border-radius: 10px 10px 2px 10px; }
.story-finish .story-key { justify-content: flex-end; }
.reply-story h3 { margin-top: 20px; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }
.story-caption > p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.story-arrow { position: absolute; right: -32px; top: 80px; width: 24px; color: var(--ink-2); }
.story-dismiss { margin: 24px 0 12px; font-size: 14px; color: var(--ink-2); }
.story-dismiss kbd { padding: 3px 6px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; margin-right: 5px; }
.case-tab { gap: 9px; }
.case-tab .ui-icon { width: 21px; height: 21px; }
.case-feature { position: relative; gap: 32px 72px; }
.case-context { display: flex; flex-direction: column; }
.case-context .case-meta { order: -3; }
.case-context .case-quote { order: -2; margin-top: 16px; font-size: clamp(24px, 2.3vw, 30px); }
.case-context .case-history { margin-top: 20px; }
.reply-preview { padding: 26px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.reply-preview-label { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--ink-2); }
.reply-preview-label .ui-icon { width: 20px; height: 20px; }
.reply-preview > p { margin-top: 18px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; }
.answer-options { margin-top: 12px; }
.answer-options .suggest-window { margin-top: 12px; }
.answer-options .sample-field { margin-top: 16px; }
.case-caption .ui-icon { width: 17px; height: 17px; margin-right: 5px; }
.case-links { margin-top: 16px; }
.memory-visual { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 24px 72px; align-items: start; }
.memory-heading { margin: 0; }
.memory-heading h2 { max-width: 10em; }
.memory-heading img { display: block; width: 270px; max-width: 100%; height: auto; margin-top: 24px; }
.memory-example { grid-column: 2; grid-row: 1 / span 2; }
.memory-note { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; padding: 18px 22px; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.memory-note > .ui-icon { grid-row: 1 / span 2; align-self: center; width: 30px; height: 30px; color: var(--leaf-ink); }
.memory-note > span { font-size: 13px; color: var(--ink-2); }
.memory-note > strong { font-size: 20px; font-weight: 600; }
.memory-connector { height: 36px; padding-left: 36px; color: var(--leaf-ink); }
.memory-connector .ui-icon { width: 30px; height: 36px; transform: rotate(-90deg); }
.memory-example .voice-chat { padding: 22px; box-shadow: none; }
.memory-example .voice-chat-head { font-size: 14px; padding-bottom: 12px; margin-bottom: 16px; }
.memory-incoming { color: var(--ink-2); max-width: 28em; font-size: 16px; }
.memory-answer { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.memory-answer .sample-field { padding: 12px 0 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); font-size: 22px; line-height: 1.5; }
.memory-answer .memory-match { color: var(--leaf-ink); }
.memory-visual .memory-disclosure { margin: 0; font-size: 13px; max-width: 31em; }
.memory-visual .memory-details { grid-column: 1 / -1; margin-top: 8px; }
.memory-expanded { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; padding-top: 24px; }
.memory-expanded .voice-profile { padding: 0; }
.memory-expanded h3 { font-size: 16px; }
.memory-expanded .voice-profile dl { grid-template-columns: 7em minmax(0, 1fr); }
.memory-expanded .voice-notes { grid-column: 1 / -1; }
.memory-expanded .case-thread { margin-top: 16px; font-size: 14px; }
.data-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; padding: 0; margin: 0; list-style: none; }
.data-route > li { position: relative; text-align: center; }
.route-picture { display: grid; place-items: center; min-height: 112px; }
.route-picture .ui-icon { width: 78px; height: 78px; stroke-width: 1; color: var(--ink); }
.data-route h3 { font-size: 20px; font-weight: 600; margin-top: 12px; }
.data-route p { max-width: 26em; margin: 10px auto 0; font-size: 15px; color: var(--ink-2); }
.route-arrow { position: absolute; right: -46px; top: 40px; width: 32px; height: 32px; color: var(--leaf-ink); }
.route-return { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 28px 8% 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; color: var(--ink-2); font-size: 14px; }
.route-return .ui-icon { color: var(--leaf-ink); }
.data-defaults { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; margin-top: 32px; }
.data-defaults dt { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.data-defaults dt .ui-icon { width: 20px; height: 20px; }
.data-defaults dd { font-size: 14px; color: var(--ink-2); margin: 8px 0 0 30px; max-width: 37em; }
.install-path { display: flex; gap: 12px 32px; list-style: none; margin: 24px 0 0; padding: 0; }
.install-path li { position: relative; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink-2); }
.install-path .ui-icon { width: 28px; height: 28px; color: var(--ink); }
.install-path li:not(:last-child)::after { content: "→"; position: absolute; top: 0; right: -23px; color: var(--ink-2); }
@media (max-width: 959px) {
  .reply-story { gap: 28px; }
  .story-frame { padding: 16px; min-height: 190px; }
  .story-arrow { right: -26px; width: 22px; }
  .memory-visual { gap: 24px 40px; }
}
@media (max-width: 719px) {
  .illustrated-heading { gap: 12px; }
  .reply-illustration { width: 126px; }
  .illustrated-heading h2 { font-size: 30px; }
  .illustrated-heading .sec-lead { font-size: 15px; }
  .reply-story { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .reply-story > li { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14ch), 1fr)); gap: 16px 20px; align-items: center; }
  .story-frame { min-height: 164px; gap: 14px; padding: 12px; }
  .story-message, .story-input { font-size: 12px; }
  .story-message { padding: 8px 10px; max-width: 100%; }
  .story-input { gap: 3px; }
  .story-key { gap: 10px; min-height: 32px; }
  .story-key kbd { font-size: 13px; min-width: 44px; padding: 4px 8px; }
  .story-key .ui-icon { width: 19px; }
  .reply-story h3 { margin: 0; font-size: 18px; align-self: end; }
  .story-caption > p { margin-top: 8px; font-size: 14px; }
  .story-arrow { right: auto; left: calc(25% - 17px); top: auto; bottom: -26px; transform: rotate(90deg); }
  .story-dismiss { font-size: 13px; }
  .case-tab { gap: 7px; }
  .case-tab .ui-icon { width: 18px; height: 18px; }
  .case-feature { gap: 24px; }
  .reply-preview { padding: 20px; }
  .case-context .case-history { margin-top: 12px; margin-bottom: 0; }
  .memory-visual { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .memory-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
  .memory-heading h2 { font-size: 30px; flex: 1 1 5.5em; min-width: 0; }
  .memory-heading img { width: 130px; flex: none; margin: 0; }
  .memory-example { grid-column: 1; grid-row: auto; }
  .memory-note { max-width: none; padding: 16px; }
  .memory-note > strong { font-size: 19px; }
  .memory-example .voice-chat { padding: 18px; }
  .memory-answer .sample-field { font-size: 20px; }
  .memory-expanded { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .memory-visual .memory-disclosure { max-width: none; }
  .memory-visual .memory-details { margin-top: -8px; }
  .data-route { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .data-route > li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px 24px; text-align: left; }
  .route-picture { grid-row: 1 / span 2; min-height: 88px; }
  .route-picture .ui-icon { width: 62px; height: 62px; }
  .data-route h3 { font-size: 18px; margin-top: 0; align-self: end; }
  .data-route p { margin: 0; font-size: 14px; }
  .route-arrow { top: auto; bottom: -28px; left: 26px; width: 24px; height: 24px; transform: rotate(90deg); }
  .route-return { margin-inline: 0; align-items: flex-start; }
  .data-defaults { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
  .data-defaults dt { align-items: flex-start; }
  .install-path { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7em), 1fr)); gap: 20px 24px; font-size: 13px; }
  .install-path li { min-width: 0; }
  .install-path li::after { display: none; }
}
@media (max-width: 359px) {
  .reply-illustration, .memory-heading img { width: 96px; }
  .reply-story > li { gap: 14px; }
  .reply-story h3 { font-size: 17px; }
  .story-frame { padding: 10px; }
  .install-path { grid-template-columns: repeat(auto-fit, minmax(min(100%, 6em), 1fr)); gap: 20px 12px; }
}
