/* Flow PL/EN: mniej tekstu, przykłady UI i geometria istniejącego znaku.
   Własny arkusz powierzchni: flow.css pozostaje kontraktem PL/EN. */
html.flow-refresh {
  --canvas: #fafbf9;
  --flow-green: #3eab87;
  --accent: #20785d;
  --accent-soft: #e7f2ec;
  --muted: #616761;
  --shell: 1280px;
}
html.flow-refresh[data-theme="dark"] {
  --canvas: #0b0d0c;
  --accent: #63c5a2;
  --accent-soft: #182c24;
  --muted: #a2ada7;
}
.flow-refresh .section { min-height: 0; padding: 96px 0; background: var(--canvas); }
.flow-refresh .section h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 450; line-height: 1.08; letter-spacing: -.035em; }
.flow-refresh .button { border-radius: 100px; font-weight: 500; min-height: 46px; padding: 12px 23px; }
.flow-refresh .button--solid { background: var(--ink); border-color: var(--ink); color: var(--canvas); box-shadow: none; }
.flow-refresh .button--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--canvas); }
.flow-refresh svg { flex-shrink: 0; }
.flow-opening { padding-top: 52px; }
.flow-opening__copy { max-width: 1020px; margin: 0 auto; text-align: center; }
.flow-opening h1 { margin: 0; font-size: clamp(46px, 6vw, 80px); line-height: 1.04; font-weight: 450; letter-spacing: -.04em; }
.flow-opening__verb { display: inline-grid; color: var(--accent); }
.flow-opening__verb > span { grid-area: 1 / 1; }
.flow-opening__verb > span:not(:first-child) { visibility: hidden; }
.flow-opening__copy > p { color: var(--muted); font-size: 20px; line-height: 1.5; font-weight: 400; margin: 25px auto 30px; }
.flow-opening__actions { display: flex; justify-content: center; align-items: center; gap: 28px; }
.flow-opening__actions svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.5; fill: none; margin-left: 12px; }
.flow-text-link { border-bottom: 1px solid var(--line-strong); padding-block: 10px; }
.flow-text-link:hover { color: var(--accent); border-color: currentColor; }
.flow-opening__date { display: block; margin-top: 19px; font-size: 13px; color: var(--muted); }
.flow-demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; scroll-margin-top: 140px; }
.flow-demo { min-width: 0; background: var(--knows-tile); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transition: border-color 180ms ease; }
.flow-demo:hover { border-color: var(--accent); }
.flow-demo:focus-visible { outline-offset: 5px; }
.flow-demo__scene { height: 246px; position: relative; overflow: hidden; }
.flow-demo__label { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 22px 21px; background: var(--knows-tile); }
.flow-demo__label h2 { font-size: 18px; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; margin: 0; }
.flow-demo__label > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.flow-demo__slots { position: absolute; top: 8px; left: 50%; width: 158px; transform: translateX(-50%); color: var(--ink); }
.flow-demo__slots svg { width: 100%; height: 158px; }
.flow-demo__readers { position: absolute; width: max(440px, 100%); max-width: none; left: 16px; bottom: 20px; }
.flow-demo--days img { position: absolute; top: -15px; left: 19px; width: max(400px, 100%); max-width: none; }
.flow-demo--verify { background: var(--surface); }
.flow-demo--verify .flow-demo__label { background: var(--surface); }
.flow-demo--verify video { width: max(440px, 108%); max-width: none; position: absolute; left: 8px; top: 30px; }
.flow-demos__foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-top: 18px; color: var(--muted); font-size: 12px; }
.flow-demos__foot button { border: 0; background: none; cursor: pointer; padding: 12px 0 12px 12px; font-size: 12px; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
/* Nacięcia to maskujące narożniki. Wideo nie dostaje clip-path. */
.flow-notch { position: relative; isolation: isolate; border-radius: 0 !important; }
.flow-notch::before, .flow-notch::after { content: ""; display: block !important; position: absolute; z-index: 5; width: 16px; height: 16px; background: var(--canvas); pointer-events: none; }
.flow-notch::before { top: 0; left: 0; box-shadow: 0 16px 0 -8px var(--canvas); }
.flow-notch::after { bottom: 0; right: 0; box-shadow: 0 -16px 0 -8px var(--canvas); }
.flow-refresh .process-sequence { height: auto; }
.flow-refresh .process-sticky { position: static; height: auto; min-height: 0; padding: 0; }
.flow-refresh .process-shell { width: min(calc(100% - var(--gutter) * 2), var(--shell)); }
.flow-refresh .process-heading, .flow-refresh .process-grid { width: 100%; }
.flow-refresh .process-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.flow-refresh .process-heading h2 { margin: 0; max-width: 18ch; }
.flow-refresh .process-heading p { max-width: 33ch; margin: 0; font-weight: 400; }
.flow-refresh .process-overview { display: none; }
.flow-refresh .process-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 48px; align-items: center; margin-top: 38px; }
html.flow-refresh .process-media { width: 100%; min-height: 0; height: auto; aspect-ratio: 1.36; margin: 0; background: var(--accent-soft); box-shadow: none; }
.flow-refresh .process-screen[data-fit="window"] { top: 9%; left: 50%; width: 95%; height: auto; max-width: none; }
.flow-refresh .process-steps { display: flex; flex-direction: column; overflow: visible; gap: 0; padding: 0; margin: 0; }
.flow-refresh .process-steps li { width: 100%; flex: auto; }
.flow-refresh .process-step { width: 100%; min-height: 64px; grid-template-columns: 42px 1fr; border-radius: 0; padding: 12px 0; border-top: 1px solid var(--line); background: none; text-align: left; }
.flow-refresh .process-step__thumb { width: 40px; height: 40px; }
.flow-refresh .process-step__copy { display: block; }
.flow-refresh .process-step__copy strong { font-size: 20px; font-weight: 450; }
.flow-refresh .process-step__copy > span:last-child { display: block; font-size: 15px; font-weight: 400; line-height: 1.5; }
.flow-refresh .process-step.is-active .process-step__copy > span:last-child { max-height: 12em; }
.flow-refresh .process-step.is-active { color: var(--accent); }
.flow-refresh .knows { padding-top: 0; }
.flow-refresh .knows .section-heading { display: flex; align-items: center; gap: 16px; margin: 0; }
.flow-refresh .knows-mark { width: 40px; height: 40px; }
.flow-refresh .knows h2 { font-size: 30px; max-width: none; }
.flow-refresh .knows h2 .knows-brand { display: inline; }
.flow-refresh .knows-lead { max-width: none; margin: 16px 0 28px; font-size: 17px; font-weight: 400; }
.flow-details { border-block: 1px solid var(--line); }
.flow-details summary { padding: 24px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.flow-details summary::-webkit-details-marker { display: none; }
.flow-details summary span { font-size: 28px; line-height: 1; transition: transform 180ms ease; }
.flow-details[open] summary span { transform: rotate(45deg); }
.flow-refresh .knows-grid { margin-top: 8px; padding-bottom: 32px; }
.flow-refresh .knows-tile { border: 0; border-radius: 12px; padding-bottom: 22px; }
.flow-refresh .knows-tile h3 { font-size: 21px; }
.flow-refresh .knows-tile p { font-size: 16px; font-weight: 400; }
.flow-refresh .flow-proof { border-block: 1px solid var(--line); padding: 64px 0; }
.flow-proof__heading { display: flex; justify-content: space-between; gap: 48px; align-items: start; }
.flow-proof__heading h2 { max-width: 16ch; margin: 0; }
.flow-proof__heading p { max-width: 38ch; color: var(--muted); font-size: 18px; line-height: 1.5; margin: 0; }
.flow-status-band { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; gap: 32px; }
.flow-status-band > div { position: relative; display: flex; flex-direction: column; padding-bottom: 22px; gap: 10px; }
.flow-status-band__mark svg { width: 66px; height: 66px; color: var(--accent); }
.flow-status-band strong { font-size: clamp(28px, 3.4vw, 44px); font-weight: 450; letter-spacing: -.035em; line-height: 1.1; }
.flow-status-band div > span:last-of-type { color: var(--muted); font-size: 15px; }
.flow-status-band i { position: absolute; height: 3px; bottom: 0; width: 100%; background: var(--line); overflow: hidden; }
.flow-status-band i::after { content: ""; position: absolute; inset: 0; background: var(--flow-green); transform-origin: left; }
.flow-proof__mirror { margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.flow-proof__mirror a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.flow-refresh .offer-grid { margin: 0; gap: 64px; align-items: center; }
.flow-refresh .offer-document { padding: 36px; box-shadow: none; background: var(--accent-soft); border: 0; }
.flow-refresh .offer-document blockquote { font-size: 19px; font-weight: 400; line-height: 1.6; }
.flow-refresh .offer-copy p { font-weight: 400; }
.flow-refresh .pricing-heading__lead { display: block; }
.flow-refresh .pricing-mark { display: none; }
.flow-refresh .pricing-heading h2 { max-width: 23ch; }
.flow-refresh .pricing-statement { font-size: 20px; margin-top: 24px; }
.flow-refresh .price-plan--featured { background: var(--accent-soft); box-shadow: none; border-color: var(--accent); }
.flow-refresh .price-plan__visual { display: none; }
.flow-refresh .system-manifesto__closing { font-size: inherit; }
.flow-refresh .system-manifesto { text-align: left; margin: 0 0 32px; }
.flow-refresh .system-grid { margin-top: 0; }
.flow-refresh .premiere { background: var(--accent-soft); }
.flow-refresh .premiere::before { display: none; }
.flow-refresh .premiere-inner { text-align: left; align-items: start; }
.flow-refresh .premiere-inner h2 { max-width: 20ch; }
.flow-refresh .premiere-inner > p { margin-left: 0; font-weight: 400; }
.flow-refresh .signup-form { margin-left: 0; }
.flow-news__heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 30px; }
.flow-news__heading h2 { margin: 0; }
.flow-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.flow-news__item a { display: block; }
.flow-news__image { aspect-ratio: 1.65; overflow: hidden; background: #eeefed; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 18px; }
.flow-news__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 250ms ease; }
.flow-news__item a:hover img { transform: scale(1.035); }
.flow-news__item time { color: var(--muted); font-size: 13px; }
.flow-news__item h3 { margin: 8px 0; font-size: 23px; font-weight: 450; line-height: 1.2; letter-spacing: -.025em; }
.flow-news__item p { font-size: 15px; line-height: 1.5; color: var(--muted); font-weight: 400; margin: 0; }
.flow-reading { padding-top: 0; }
.flow-notes-nav { display: flex; align-items: center; gap: 34px; min-height: 88px; border-bottom: 1px solid var(--line); font-size: 15px; }
.flow-notes-brand { margin-right: auto; display: inline-flex; gap: 8px; align-items: center; color: var(--accent); font-size: 24px; }
.flow-skip { position: fixed; top: -100px; left: 20px; padding: 12px; background: var(--surface); z-index: 100; }
.flow-skip:focus { top: 12px; }
.flow-notes-heading { padding: 80px 0 48px; }
.flow-reading h1 { font-size: clamp(40px, 5vw, 70px); font-weight: 450; letter-spacing: -.035em; line-height: 1.06; margin: 0; }
.flow-notes-heading p { font-size: 20px; line-height: 1.5; color: var(--muted); margin: 24px 0 0; }
.flow-notes-footer { display: flex; gap: 30px; padding-block: 30px; margin-top: 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.flow-notes-footer > span { margin-right: auto; }
.flow-note { max-width: 800px; margin: 72px auto 0; }
.flow-note header .flow-text-link { display: inline-block; margin-bottom: 28px; font-size: 14px; }
.flow-note__meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: 14px; }
.flow-note__image { width: 100%; height: auto; max-height: 420px; object-fit: contain; background: #eeefed; margin: 40px 0; border: 1px solid var(--line); border-radius: 12px; }
.flow-note__body { max-width: 680px; margin-inline: auto; }
.flow-note__body p { font-size: 19px; line-height: 1.7; font-weight: 400; margin: 0 0 22px; }
.flow-note__body h2 { margin: 44px 0 18px; font-size: 30px; line-height: 1.15; letter-spacing: -.025em; font-weight: 450; }
.flow-note__end { padding-top: 28px; border-top: 1px solid var(--line); }
.flow-note__end a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.flow-note__related { margin-top: 80px; }
.flow-note__related > h2 { font-size: 30px; font-weight: 450; margin-bottom: 30px; }
.flow-note__related .flow-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Animacje ruszają tylko w widocznej części strony. */
@media (prefers-reduced-motion: no-preference) {
  .flow-motion-on .flow-opening__verb > span { animation: flow-words 12s infinite; }
  .flow-motion-on .flow-opening__verb > span:nth-child(2) { animation-delay: -8s; }
  .flow-motion-on .flow-opening__verb > span:nth-child(3) { animation-delay: -4s; }
  .flow-motion-on .flow-demo--cards.is-in-view .flow-demo__readers { animation: flow-readers 7s infinite; }
  .flow-motion-on .flow-demo--days.is-in-view img { animation: flow-days 9s infinite; }
  .flow-motion-on .flow-status-band.is-in-view i::after { animation: flow-check 7s infinite; }
  .flow-status-band > div:nth-child(2) i::after { animation-delay: .8s; }
  .flow-status-band > div:nth-child(3) i::after { animation-delay: 1.6s; }
}
@keyframes flow-words { 0%, 28% { visibility: visible; opacity: 1; transform: translateY(0); } 31%, 98% { visibility: hidden; opacity: 0; transform: translateY(-8px); } 99% { opacity: 0; transform: translateY(8px); } }
@keyframes flow-readers { 0%, 8% { transform: translateY(24px); opacity: .35; } 20%, 85% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(24px); opacity: .35; } }
@keyframes flow-days { 0%, 12%, 100% { transform: translateY(0); } 45%, 82% { transform: translateY(-44px); } }
@keyframes flow-check { 0%, 10% { transform: scaleX(0); } 65%, 100% { transform: scaleX(1); } }
@media (min-width: 1400px) { .flow-opening h1 { font-size: 80px; } .flow-refresh .section h2 { font-size: 52px; } .flow-refresh .knows h2 { font-size: 30px; } }
@media (max-width: 1040px) {
  .flow-opening { padding-top: 62px; }
  .flow-opening h1 { font-size: 64px; }
  .flow-demo__scene { height: 220px; }
  .flow-demo__label { padding: 18px 15px; }
  .flow-demo__label h2 { font-size: 16px; }
  .flow-refresh .process-grid { gap: 28px; grid-template-columns: 1.25fr 1fr; }
}
@media (max-width: 760px) {
  .flow-news__grid, .flow-note__related .flow-news__grid { grid-template-columns: 1fr; gap: 34px; }
  .flow-news__heading { align-items: center; }
  .flow-news__heading .flow-text-link { font-size: 14px; }
  .flow-notes-nav { gap: 18px; min-height: 76px; font-size: 13px; flex-wrap: wrap; }
  .flow-notes-heading { padding-top: 48px; }
  .flow-note { margin-top: 40px; }
  .flow-note__body p { font-size: 18px; }
  .flow-note__meta { gap: 8px 14px; }
  .flow-notes-footer { flex-wrap: wrap; gap: 16px; }
  .flow-opening { padding-top: 44px; }
  .flow-opening__copy { text-align: left; }
  .flow-opening h1 { font-size: clamp(36px, 8vw, 54px); }
  .flow-opening__copy > p { font-size: 18px; margin: 22px 0; }
  .desktop-break { display: none; }
  .flow-opening__actions { justify-content: start; gap: 14px; flex-wrap: wrap; }
  .flow-opening__date { font-size: 12px; }
  .flow-demos { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .flow-demo__scene { height: 210px; }
  .flow-demo__label { padding: 18px 21px; }
  .flow-demo__label h2 { font-size: 18px; }
  .flow-demo--days img { width: min(460px, 105%); top: -65px; }
  .flow-demo--verify video { width: 420px; left: 0; top: 16px; }
  .flow-demo__readers { width: 440px; left: 20px; bottom: 8px; }
  .flow-refresh .section { padding: 64px 0; }
  .flow-refresh .process-heading, .flow-proof__heading { display: block; }
  .flow-refresh .process-heading p, .flow-proof__heading p { margin-top: 20px; }
  .flow-refresh .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .flow-refresh .process-media { aspect-ratio: 1.3; }
  .flow-refresh .process-steps { width: 100%; }
  .flow-refresh .process-step__thumb { display: block; }
  .flow-refresh .process-step__copy > span:last-child { white-space: normal; }
  .flow-refresh .knows { padding-top: 0; }
  .flow-refresh .knows h2 { font-size: 25px; }
  .flow-status-band { grid-template-columns: 1fr; gap: 28px; }
  .flow-status-band > div { display: grid; grid-template-columns: 64px 1fr; gap: 8px 20px; }
  .flow-status-band__mark { grid-row: span 2; }
  .flow-status-band strong { font-size: 32px; align-self: end; }
  .flow-refresh .offer-grid { grid-template-columns: 1fr; gap: 30px; }
  .flow-refresh .offer-document { padding: 28px; }
  .flow-refresh .offer-document blockquote { font-size: 17px; }
  .flow-refresh .system-grid { grid-template-columns: 1fr; }
}
