/* aego.pl — narracyjny wariant demonstracji /przyklad-v2/ */

.aego-story { color: var(--aego-ink); background: #fff; }
.aego-story *, .aego-story *::before, .aego-story *::after { box-sizing: border-box; }
.aego-story svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.aego-story__narrow { max-width: 1020px; }
.aego-story__eyebrow { margin: 0 0 12px; color: var(--aego-cta); font-size: .7rem; font-weight: 850; letter-spacing: .11em; }

.aego-story__hero { position: relative; overflow: hidden; padding: 82px 0 86px; color: #fff; background: var(--aego-navy); }
.aego-story__hero::before { content: ""; position: absolute; width: 660px; height: 660px; right: -190px; top: -270px; border-radius: 50%; background: radial-gradient(circle, rgba(196,139,49,.25), rgba(196,139,49,0) 68%); }
.aego-story__hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); gap: clamp(55px, 7vw, 100px); align-items: center; }
.aego-story__hero h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(2.8rem, 5.35vw, 5.35rem); line-height: .94; letter-spacing: -.06em; }
.aego-story__hero h1 em { color: #efbf68; font-style: normal; }
.aego-story__lead { max-width: 660px; margin: 25px 0 0; color: #cbd5e1; font-size: clamp(1.02rem, 1.55vw, 1.22rem); line-height: 1.72; }
.aego-story__actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 31px; }
.aego-story .aego-story__button { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 51px; padding: 13px 22px; border: 0; color: #fff; background: var(--aego-cta); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.aego-story .aego-story__button:hover { color: #fff; background: var(--aego-cta-hover); transform: translateY(-1px); }
.aego-story__button svg { transition: transform .18s ease; }
.aego-story__button:hover svg { transform: translateX(3px); }
.aego-story__actions > a:last-child { color: #fff; font-size: .86rem; font-weight: 750; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 5px; }
.aego-story__hero-facts { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; color: #aebbd0; font-size: .71rem; }
.aego-story__hero-facts span { display: flex; gap: 6px; align-items: center; }
.aego-story__hero-facts svg { color: #5fd096; }

.aego-story__hero-scene { position: relative; min-height: 430px; }
.aego-story__deadline { position: absolute; z-index: 3; top: 0; right: 18px; display: flex; width: 114px; height: 114px; border: 6px solid rgba(255,255,255,.12); border-radius: 50%; align-items: center; justify-content: center; gap: 7px; color: var(--aego-navy); background: #efbf68; box-shadow: 0 18px 38px rgba(0,0,0,.3); transform: rotate(5deg); }
.aego-story__deadline strong { font-size: 2.25rem; line-height: 1; }
.aego-story__deadline span { font-size: .54rem; font-weight: 850; line-height: 1.2; }
.aego-story__chat-card, .aego-story__paper-card { position: absolute; border-radius: 17px; box-shadow: 0 24px 55px rgba(0,0,0,.28); }
.aego-story__chat-card { top: 68px; left: 0; width: 83%; padding: 23px 25px; color: var(--aego-navy); background: #fff; transform: rotate(-2deg); }
.aego-story__chat-card span, .aego-story__paper-card > span { display: block; margin-bottom: 9px; color: var(--aego-ink-2); font-size: .61rem; font-weight: 850; letter-spacing: .1em; }
.aego-story__chat-card p { margin: 0; font-size: .9rem; font-weight: 700; line-height: 1.55; }
.aego-story__scene-arrow { position: absolute; z-index: 4; top: 190px; left: 45%; display: grid; width: 48px; height: 48px; border: 5px solid var(--aego-navy); border-radius: 50%; place-items: center; color: #fff; background: var(--aego-cta); transform: rotate(55deg); }
.aego-story__paper-card { right: 0; bottom: 8px; width: 87%; padding: 27px 29px; color: var(--aego-navy); background: #f9fbfd; transform: rotate(2deg); }
.aego-story__paper-card strong { display: block; margin-bottom: 18px; font-family: Georgia, serif; font-size: 1.05rem; }
.aego-story__paper-card i { display: block; width: 100%; height: 7px; margin-top: 8px; border-radius: 5px; background: #d9e0e9; }
.aego-story__paper-card i.short { width: 68%; }
.aego-story__paper-card small { display: block; margin-top: 18px; color: var(--aego-ink-2); font-size: .68rem; }
.aego-story__paper-card small b { padding: 2px 5px; color: #8a570a; background: #fff0cf; }

.aego-story__proofbar { border-bottom: 1px solid var(--aego-line); background: #fff; }
.aego-story__proofbar .aego-container { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 14px; }
.aego-story__proofbar span { flex: 0 1 auto; color: var(--aego-navy); font-size: .72rem; font-weight: 750; white-space: nowrap; }
.aego-story__proofbar span b { margin-right: 6px; color: var(--aego-cta-hover); font-size: .62rem; }
.aego-story__proofbar i { flex: 1 1 80px; height: 1px; background: var(--aego-line); }

.aego-story__chapter { padding: 92px 0; scroll-margin-top: 20px; }
.aego-story__chapter--soft { background: var(--aego-surface-2); }
.aego-story__chapter--navy { color: #fff; background: var(--aego-navy); }
.aego-story__chapter-head { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 22px; align-items: start; margin-bottom: 37px; }
.aego-story__chapter-head > span { display: grid; width: 48px; height: 48px; border-radius: 50%; place-items: center; color: #fff; background: var(--aego-navy); font-size: .72rem; font-weight: 850; }
.aego-story__chapter-head h2, .aego-story__result-copy h2, .aego-story__evidence h2, .aego-story__cta h2 { margin: 0; color: var(--aego-navy); font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.04; letter-spacing: -.045em; }
.aego-story__chapter-head--light h2 { color: #fff; }
.aego-story__chapter-head--light > span { color: var(--aego-navy); background: #efbf68; }

.aego-story__conversation { display: grid; gap: 13px; }
.aego-story__message { max-width: 82%; padding: 21px 24px; border-radius: 15px; }
.aego-story__message span { display: block; margin-bottom: 8px; font-size: .62rem; font-weight: 850; letter-spacing: .09em; opacity: .65; }
.aego-story__message p { margin: 0; font-size: .88rem; line-height: 1.65; }
.aego-story__message p + p { margin-top: 9px; }
.aego-story__message--ai { border: 1px solid var(--aego-line); background: var(--aego-surface-2); }
.aego-story__message--user { margin-left: auto; color: #fff; background: var(--aego-navy); }
.aego-story__privacy { display: flex; gap: 15px; align-items: flex-start; margin-top: 17px; padding: 18px 21px; border-left: 3px solid var(--aego-green); border-radius: 0 12px 12px 0; color: #174b31; background: #edf8f1; }
.aego-story__privacy > span { display: grid; flex: 0 0 auto; width: 31px; height: 31px; border-radius: 50%; place-items: center; color: #fff; background: var(--aego-green); }
.aego-story__privacy strong { display: block; font-size: .84rem; }
.aego-story__privacy p { margin: 4px 0 0; font-size: .75rem; line-height: 1.55; }

.aego-story__assumption { display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: start; padding: 30px 32px; border: 1px solid var(--aego-line); border-radius: 17px; background: #fff; box-shadow: 0 13px 32px rgba(17,38,72,.06); }
.aego-story__assumption > div { display: grid; width: 52px; height: 52px; border-radius: 50%; place-items: center; color: var(--aego-cta-hover); background: var(--aego-cta-soft); font-size: 1.35rem; }
.aego-story__assumption blockquote { margin: 0; padding: 0; border: 0; color: var(--aego-navy); font-size: clamp(1.12rem, 2vw, 1.5rem); font-style: normal; font-weight: 720; line-height: 1.55; }
.aego-story__difference { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 17px; }
.aego-story__difference article { padding: 22px; border: 1px solid var(--aego-line); border-radius: 14px; background: #fff; }
.aego-story__difference b { display: block; margin-bottom: 20px; color: var(--aego-cta-hover); font-size: .65rem; text-transform: uppercase; letter-spacing: .07em; }
.aego-story__difference strong { display: block; color: var(--aego-navy); font-size: .94rem; }
.aego-story__difference p { margin: 8px 0 0; color: var(--aego-ink-2); font-size: .75rem; line-height: 1.55; }

.aego-story__chapter--result { background: #fff; }
.aego-story__result-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.aego-story__result-copy > p:not(.aego-story__eyebrow) { margin: 20px 0 0; color: var(--aego-ink-2); line-height: 1.7; }
.aego-story__result-copy ul { display: grid; gap: 11px; margin: 25px 0 0; padding: 0; list-style: none; }
.aego-story__result-copy li { display: flex; gap: 10px; align-items: center; color: var(--aego-navy); font-size: .83rem; font-weight: 700; }
.aego-story__result-copy li svg { flex: 0 0 auto; color: var(--aego-green); }
.aego-story__document { overflow: hidden; border: 1px solid var(--aego-line); border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(17,38,72,.12); }
.aego-story__document-top { display: flex; justify-content: space-between; padding: 13px 24px; border-bottom: 1px solid var(--aego-line); background: #f5f7fa; }
.aego-story__document-top span, .aego-story__document-top small { color: var(--aego-ink-2); font-size: .62rem; }
.aego-story__document-top span { font-weight: 850; letter-spacing: .08em; }
.aego-story__document-body { padding: 35px 39px 31px; font-family: Georgia, serif; font-size: .82rem; line-height: 1.72; }
.aego-story__document-body h3 { margin: 0 0 25px; color: #1d2634; font-size: .9rem; line-height: 1.45; text-align: center; }
.aego-story__document-body h4 { margin: 21px 0 7px; color: #1d2634; font-size: .82rem; }
.aego-story__document-body p { margin: 0; }
.aego-story__document-body ol { margin: 7px 0 0; padding-left: 19px; }
.aego-story__document-body mark { padding: 2px 4px; border-radius: 3px; color: #794b08; background: #fff0cf; }
.aego-story__legend { padding: 13px 24px; border-top: 1px solid var(--aego-line); color: var(--aego-ink-2); background: #fbfcfd; font-size: .64rem; }
.aego-story__legend i { display: inline-block; width: 11px; height: 11px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; background: #fff0cf; }

.aego-story__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.aego-story__checks article { display: grid; grid-template-columns: 39px 1fr; gap: 2px 13px; padding: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.045); }
.aego-story__checks span { grid-row: 1 / 3; color: #efbf68; font-size: .69rem; font-weight: 850; }
.aego-story__checks strong { color: #fff; font-size: .9rem; }
.aego-story__checks p { margin: 5px 0 0; color: #b9c5d6; font-size: .74rem; line-height: 1.55; }
.aego-story__disclaimer { margin: 18px 0 0; padding: 16px 19px; border-radius: 10px; color: #ccd5e2; background: rgba(255,255,255,.06); font-size: .72rem; line-height: 1.6; }

.aego-story__evidence { padding: 84px 0; background: var(--aego-surface-2); }
.aego-story__evidence-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 7vw, 90px); }
.aego-story__evidence-items { display: grid; gap: 12px; }
.aego-story__evidence-items article { padding: 20px 22px; border: 1px solid var(--aego-line); border-radius: 13px; background: #fff; }
.aego-story__evidence-items strong { display: block; color: var(--aego-navy); font-size: .86rem; }
.aego-story__evidence-items p { margin: 6px 0 0; color: var(--aego-ink-2); font-size: .74rem; line-height: 1.55; }

.aego-story__cta { padding: 84px 0 94px; background: #fff; }
.aego-story__cta-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 55px; align-items: center; padding: 48px 52px; border-radius: 20px; color: #fff; background: var(--aego-navy); box-shadow: 0 24px 55px rgba(11,31,67,.14); }
.aego-story__cta h2 { max-width: 760px; color: #fff; }
.aego-story__cta-box > div:first-child > p:last-child { max-width: 680px; margin: 16px 0 0; color: #bec9d9; line-height: 1.65; }
.aego-story__cta-actions { min-width: 275px; text-align: center; }
.aego-story__cta-actions .aego-story__button { width: 100%; }
.aego-story__cta-actions span { display: block; max-width: 270px; margin: 12px auto 0; color: #9facbf; font-size: .64rem; line-height: 1.5; }

@media (max-width: 980px) {
  .aego-story__hero-grid, .aego-story__result-grid, .aego-story__evidence-grid { grid-template-columns: 1fr; }
  .aego-story__hero-scene { max-width: 600px; width: 100%; }
  .aego-story__result-copy { max-width: 700px; }
  .aego-story__document { max-width: 760px; }
  .aego-story__cta-box { grid-template-columns: 1fr; }
  .aego-story__cta-actions { width: min(100%, 360px); }
}

@media (max-width: 700px) {
  .aego-story__hero { padding: 52px 0 57px; }
  .aego-story__hero-grid { gap: 40px; }
  .aego-story__hero h1 { font-size: clamp(2.65rem, 13vw, 3.7rem); }
  .aego-story__lead { font-size: .98rem; }
  .aego-story__actions { align-items: stretch; }
  .aego-story__actions .aego-story__button, .aego-story__actions > a:last-child { width: 100%; text-align: center; }
  .aego-story__hero-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .aego-story__hero-scene { min-height: 390px; }
  .aego-story__deadline { right: 0; width: 92px; height: 92px; }
  .aego-story__deadline strong { font-size: 1.8rem; }
  .aego-story__chat-card { top: 52px; width: 90%; padding: 20px; }
  .aego-story__scene-arrow { top: 175px; }
  .aego-story__paper-card { width: 92%; padding: 23px; }
  .aego-story__proofbar { overflow-x: auto; }
  .aego-story__proofbar .aego-container { width: max-content; min-width: 760px; min-height: 58px; justify-content: flex-start; }
  .aego-story__proofbar i { width: 35px; flex: 0 0 35px; }
  .aego-story__chapter { padding: 62px 0; }
  .aego-story__chapter-head { grid-template-columns: 43px minmax(0, 1fr); gap: 15px; }
  .aego-story__chapter-head > span { width: 40px; height: 40px; }
  .aego-story__chapter-head h2, .aego-story__result-copy h2, .aego-story__evidence h2, .aego-story__cta h2 { font-size: 2rem; }
  .aego-story__message { max-width: 94%; padding: 18px; }
  .aego-story__assumption { grid-template-columns: 1fr; gap: 17px; padding: 24px; }
  .aego-story__difference { grid-template-columns: 1fr; }
  .aego-story__difference b { margin-bottom: 11px; }
  .aego-story__result-grid { gap: 38px; }
  .aego-story__document-body { padding: 28px 22px 25px; font-size: .76rem; }
  .aego-story__document-top { padding: 12px 18px; }
  .aego-story__checks { grid-template-columns: 1fr 1fr; gap: 9px; }
  .aego-story__checks article { display: block; padding: 17px 15px; }
  .aego-story__checks span { display: block; margin-bottom: 12px; }
  .aego-story__evidence { padding: 62px 0; }
  .aego-story__evidence-grid { gap: 28px; }
  .aego-story__cta { padding: 62px 0 70px; }
  .aego-story__cta-box { gap: 32px; padding: 34px 24px; }
}

@media (max-width: 430px) {
  .aego-story__hero h1 { font-size: 2.72rem; }
  .aego-story__hero-facts { grid-template-columns: 1fr; }
  .aego-story__hero-scene { min-height: 410px; }
  .aego-story__chat-card p { font-size: .8rem; }
  .aego-story__paper-card { bottom: 2px; }
  .aego-story__checks p { font-size: .69rem; }
}

@media (prefers-reduced-motion: reduce) {
  .aego-story *, .aego-story *::before, .aego-story *::after { transition: none !important; }
}
