.demo-page { padding: 48px 0 80px; }
.demo-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.demo-intro h1 { font-size: clamp(32px, 4vw, 52px); max-width: 800px; }
.demo-intro p { max-width: 740px; color: var(--muted); margin-bottom: 0; }
.demo-back { flex-shrink: 0; font-size: 14px; text-underline-offset: 4px; }
.learning-demo { --demo-accent: #176c5f; border: 1px solid #dce2db; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 22px 65px #172c2010; }
.learning-demo[data-demo="dialog"] { --demo-accent: #6051a3; }
.learning-demo[data-demo="crm"] { --demo-accent: #315a83; }
.learning-demo[data-demo="onboarding"] { --demo-accent: #a9572e; }
.lesson-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 28px; border-bottom: 1px solid #e7ebe6; font-size: 13px; }
.lesson-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.lesson-brand i { width: 10px; height: 10px; border-radius: 50%; background: var(--demo-accent); }
.lesson-time { color: #65716a; }
.lesson-progress { height: 4px; background: #edf0ec; }
.lesson-progress span { display: block; height: 100%; background: var(--demo-accent); transition: width .3s; }
.lesson-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 540px; }
.lesson-rail { background: #f7f8f4; border-right: 1px solid #e7ebe6; padding: 32px 22px; }
.rail-label { color: #77817b; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 25px; }
.rail-step { display: flex; gap: 10px; align-items: center; margin-bottom: 24px; color: #737b75; font-size: 13px; }
.rail-step b { border: 1px solid #d5ddd5; border-radius: 50%; min-width: 28px; height: 28px; display: grid; place-items: center; font-size: 11px; }
.rail-step.active { color: var(--demo-accent); font-weight: 800; }
.rail-step.active b, .rail-step.done b { background: var(--demo-accent); border-color: var(--demo-accent); color: #fff; }
.rail-foot { font-size: 12px; color: #7b857e; margin: 42px 0 0; }
.lesson-main { padding: clamp(24px, 4vw, 48px); min-width: 0; outline: none; }
.lesson-main h2 { font-size: clamp(27px, 3vw, 39px); line-height: 1.12; letter-spacing: -.025em; }
.lesson-main h3 { font-size: 21px; line-height: 1.25; }
.lesson-kicker { color: var(--demo-accent); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 850; margin: 0 0 14px; }
.lesson-text { color: #58665e; max-width: 560px; margin: 18px 0 24px; font-size: 16px; }
.lesson-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; min-height: 380px; }
.lesson-button { appearance: none; display: inline-flex; gap: 8px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 9px; padding: 14px 22px; background: var(--demo-accent); color: #fff; font: inherit; font-size: 14px; font-weight: 750; text-decoration: none; cursor: pointer; min-height: 48px; }
.lesson-button:hover { filter: brightness(.94); }
.lesson-button.secondary { background: #fff; border-color: #d7dfd7; color: #283d30; }
.lesson-button:disabled { opacity: .5; cursor: default; }
.lesson-button:focus-visible, .answer:focus-visible, .product-tab:focus-visible, .crm-nav:focus-visible { outline: 3px solid #da9652; outline-offset: 3px; }
.lesson-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.lesson-fine { color: #7a847d; font-size: 12px; margin-top: 18px; }
.product-art { display: grid; place-items: center; position: relative; min-height: 310px; border-radius: 50% 50% 14px 14px; background: #eef0e5; overflow: hidden; }
.product-art:before, .product-art:after { content: ''; position: absolute; border: 1px solid #cdd4be; width: 240px; height: 240px; border-radius: 50%; }
.product-art:after { width: 290px; height: 290px; }
.coffee-pack { position: relative; z-index: 1; transform: rotate(-7deg); width: 146px; min-height: 218px; background: #d3b39a; border-radius: 9px 9px 14px 14px; box-shadow: 15px 20px 20px #22321e22; border-top: 9px solid #c29f84; padding: 18px 14px; text-align: center; }
.coffee-label { background: #f6f5ed; min-height: 158px; padding: 15px 8px 10px; }
.coffee-label small { font-size: 9px; display: block; letter-spacing: .15em; }
.coffee-label strong { font-size: 28px; display: block; color: #234a38; margin: 4px 0 7px; letter-spacing: .08em; }
.coffee-label svg { width: 72px; height: 40px; color: #587450; }
.coffee-label span { font-size: 10px; display: block; color: #6a7061; }
.product-facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.fact-chip { padding: 6px 10px; border-radius: 6px; background: #eef2e9; color: #44604a; font-size: 12px; }
.product-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 16px; }
.product-tab { padding: 10px 14px; border: 1px solid #d9e1d6; border-radius: 7px; background: white; cursor: pointer; font: inherit; font-size: 13px; }
.product-tab[aria-pressed="true"] { background: #176c5f; border-color: #176c5f; color: #fff; }
.fact-panel { padding: 22px; background: #f3f5ef; border-radius: 10px; min-height: 130px; }
.fact-panel p { margin: 8px 0 0; color: #53634f; font-size: 15px; }
.answers { display: grid; gap: 11px; margin: 25px 0 0; }
.answer { display: flex; gap: 13px; align-items: start; padding: 16px 18px; width: 100%; border: 1px solid #dce1da; border-radius: 10px; text-align: left; background: #fff; color: #25392d; font: inherit; font-size: 15px; line-height: 1.5; cursor: pointer; }
.answer:hover { border-color: var(--demo-accent); background: #f7f8f3; }
.answer .answer-letter { display: grid; place-items: center; flex: 0 0 23px; height: 23px; border: 1px solid #dce1da; border-radius: 5px; color: #778479; font-size: 11px; margin-top: 1px; }
.answer.chosen { border-color: var(--demo-accent); background: #f1f4ed; }
.answer:disabled { cursor: default; }
.feedback { padding: 17px 20px; border-left: 3px solid #a36b24; border-radius: 0 8px 8px 0; background: #fbf4e8; margin-top: 20px; color: #705528; font-size: 14px; }
.feedback p { margin: 5px 0 0; }
.feedback.good { border-color: #337b52; background: #eef6ee; color: #2d5e3c; }
.feedback[hidden] { display: none; }
.chat-person { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; }
.chat-avatar { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #eae5f3; color: #6b589b; font-weight: 800; }
.chat-person strong { display: block; font-size: 14px; }
.chat-person small { color: #849087; font-size: 11px; }
.chat-bubble { padding: 22px 24px; background: #f2f0f7; border-radius: 0 16px 16px; color: #463c5e; font-size: 17px; line-height: 1.6; }
.chat-history { display: flex; gap: 5px; margin: 0 0 22px; }
.chat-history span { width: 30px; height: 4px; border-radius: 3px; background: #e8e5ee; }
.chat-history span.done { background: #8b7cb8; }
.dialog-art { background: #f2eff8; padding: 32px; border-radius: 18px; }
.dialog-art div { background: #fff; border: 1px solid #e7e2f0; border-radius: 14px 14px 14px 0; padding: 19px; font-size: 14px; margin: 16px 0; color: #675585; }
.dialog-art div:last-child { margin-left: 24px; background: #675585; color: white; border-radius: 14px 14px 0 14px; }
.result-mark { width: 72px; height: 72px; display: grid; place-items: center; background: #edf4ea; color: #2c7644; font-size: 34px; border-radius: 50%; margin-bottom: 25px; }
.result-stats { display: flex; gap: 30px; border-block: 1px solid #e3e8df; padding: 22px 0; margin: 28px 0; }
.result-stats strong { font-size: 30px; display: block; line-height: 1.15; }
.result-stats span { color: #778279; font-size: 12px; }
.crm-task { padding: 14px 18px; background: #eef3f9; border: 1px solid #dbe6f1; border-radius: 9px; color: #375b79; font-size: 13px; margin-bottom: 22px; }
.crm-window { border: 1px solid #dbe1e8; border-radius: 10px; overflow: hidden; }
.crm-toolbar { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 14px 18px; background: #f7f9fc; border-bottom: 1px solid #e1e6ed; }
.crm-toolbar strong { font-size: 14px; }
.crm-toolbar span { font-size: 11px; color: #7c8995; }
.crm-columns { display: grid; grid-template-columns: 130px minmax(0, 1fr); min-height: 290px; }
.crm-sidebar { background: #f7f9fc; border-right: 1px solid #e1e6ed; padding: 12px 8px; }
.crm-nav { border: none; font: inherit; font-size: 12px; padding: 11px 10px; border-radius: 6px; background: transparent; width: 100%; text-align: left; cursor: pointer; color: #6c7c8b; }
.crm-nav.active { background: #e5edf7; color: #315a83; font-weight: 750; }
.crm-content { padding: 22px; min-width: 0; }
.crm-content h3 { font-size: 18px; }
.crm-empty { padding: 36px 12px; text-align: center; color: #8493a2; font-size: 13px; }
.crm-empty b { font-size: 27px; display: block; margin-bottom: 6px; color: #adc1d4; }
.crm-new { font: inherit; font-size: 12px; padding: 9px 12px; background: #315a83; color: white; border: 0; border-radius: 6px; cursor: pointer; }
.crm-field { display: grid; gap: 6px; margin: 14px 0; font-size: 12px; color: #667b8b; }
.crm-field input, .crm-field select { font: inherit; padding: 11px 12px; border: 1px solid #cad5df; border-radius: 6px; background: #fff; color: #29445d; width: 100%; }
.crm-field input:focus, .crm-field select:focus { outline: 2px solid #8fb1d0; outline-offset: 1px; }
.crm-field [aria-invalid="true"] { border-color: #b74d3e; }
.crm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.crm-hint { font-size: 13px; margin-top: 18px; color: #4d7496; }
.crm-hint-toggle { border: 0; text-decoration: underline; text-underline-offset: 3px; background: transparent; font: inherit; color: #315a83; cursor: pointer; padding: 10px 0; font-size: 12px; }
.onboarding-art { background: #faf1e8; padding: 24px; border-radius: 18px; transform: rotate(3deg); }
.shift-pass { padding: 28px 25px; background: #fff; border: 1px solid #ebddcd; border-radius: 12px; box-shadow: 0 12px 25px #824e1510; }
.shift-pass svg { height: 70px; width: 70px; color: #bd784c; margin: 12px 0 25px; }
.shift-pass b { display: block; font-size: 21px; }
.shift-pass span { color: #ae8261; font-size: 12px; }
.shift-rule { height: 1px; margin: 20px 0; background: repeating-linear-gradient(90deg, #ded2c4 0 5px, transparent 5px 9px); }
.shift-list { display: grid; gap: 10px; margin: 22px 0; }
.shift-check { display: flex; gap: 12px; align-items: start; background: #fbf8f3; border: 1px solid #ece3d7; border-radius: 9px; padding: 16px; cursor: pointer; font-size: 14px; }
.shift-check input { width: 18px; height: 18px; accent-color: #a9572e; flex-shrink: 0; }
.demo-context { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 42px 0; }
.demo-context h2 { font-size: 25px; }
.demo-context p { color: #68766d; font-size: 15px; margin-bottom: 0; }
.demo-contact { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #edf1e8; border-radius: 12px; padding: 28px 32px; }
.demo-contact h2 { font-size: 25px; }
.demo-contact p { margin: 8px 0 0; color: #68766d; font-size: 14px; }
.demo-contact .button { flex-shrink: 0; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.offer-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.offer-number { color: var(--accent); font-size: 12px; margin-bottom: 30px; font-weight: 800; }
.offer-card h3 { line-height: 1.2; }
.offer-card p { color: var(--muted); font-size: 15px; flex: 1; }
.offer-card a { margin-top: 15px; font-weight: 800; font-size: 14px; color: var(--accent); text-underline-offset: 5px; }
.offer-page { padding: 64px 0 80px; }
.offer-page h1 { font-size: clamp(36px, 5vw, 62px); }
.offer-page .lead { max-width: 760px; }
.offer-deliverables { margin: 44px 0; display: grid; gap: 14px; }
.offer-deliverables article { padding: 24px 28px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.offer-deliverables h2 { font-size: 23px; }
.offer-deliverables p { color: var(--muted); margin-bottom: 0; }
.offer-example { border-left: 3px solid var(--accent); padding: 4px 0 4px 24px; margin: 36px 0; }
.offer-example h2 { font-size: 24px; }
.offer-example p { color: var(--muted); }
.course-cover { width: 100%; height: 100%; object-fit: cover; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; }
@media(max-width: 980px) {
  .lesson-layout { grid-template-columns: 155px minmax(0,1fr); }
  .lesson-rail { padding: 28px 16px; }
  .lesson-split { gap: 24px; }
  .offer-card { padding: 23px; }
}
@media(max-width: 700px) {
  .demo-page { padding-top: 28px; }
  .demo-intro { display: block; }
  .demo-back { display: inline-block; margin-top: 16px; }
  .lesson-layout { display: block; min-height: 0; }
  .lesson-rail { display: none; }
  .lesson-bar { padding: 15px 20px; }
  .lesson-main { padding: 28px 22px; min-height: 460px; }
  .lesson-split { grid-template-columns: 1fr; min-height: auto; }
  .product-art { min-height: 240px; grid-row: 1; }
  .coffee-pack { transform: rotate(-6deg) scale(.85); }
  .dialog-art { display: none; }
  .onboarding-art { grid-row: 1; transform: none; padding: 14px; }
  .shift-pass { padding: 18px; display: grid; grid-template-columns: 55px 1fr; gap: 0 15px; align-items: center; }
  .shift-pass svg { width: 48px; height: 48px; margin: 0; grid-row: 1 / 3; }
  .shift-pass b { font-size: 18px; }
  .shift-pass > span { grid-column: 2; }
  .shift-rule, .shift-pass p { display: none; }
  .lesson-text { font-size: 15px; }
  .crm-columns { grid-template-columns: 90px minmax(0, 1fr); }
  .crm-nav { padding: 10px 5px; font-size: 11px; }
  .crm-content { padding: 15px 12px; }
  .crm-toolbar { padding: 12px; }
  .crm-row { grid-template-columns: 1fr; gap: 0; }
  .crm-task { font-size: 12px; }
  .demo-context { grid-template-columns: 1fr; gap: 25px; padding: 30px 0; }
  .demo-contact { display: block; padding: 24px; }
  .demo-contact .button { margin-top: 20px; width: 100%; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-number { margin-bottom: 18px; }
}
@media(prefers-reduced-motion: reduce) { .lesson-progress span { transition: none; } }
