.flow-section {
  color-scheme: dark;
  --bg: #080909;
  --panel: #0d0f0f;
  --panel-raised: #121515;
  --line: rgba(234, 238, 234, .14);
  --line-strong: rgba(234, 238, 234, .24);
  --ink: #f1f2ee;
  --muted: #a0a6a2;
  --quiet: #737a76;
  --accent: #fa614c;
  --green: #55c59b;
  --font-body: Inter, ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", Inter, ui-sans-serif, sans-serif;
  color: var(--ink);
  background: transparent;
  font-family: var(--font-body);
}

.flow-section__shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.flow-section .concept {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 46px 0 64px;
  color: var(--ink);
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.flow-section .concept button { color: inherit; font: inherit; }
.flow-section .concept-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font: 600 10px/1 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.flow-section .concept-bar__index { color: var(--accent); }
.flow-section .concept-bar__rule { height: 1px; flex: 1; background: var(--line); }
.flow-section .concept-bar__tag { color: #d5d8d4; letter-spacing: .09em; }
.flow-section .intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr);
  align-items: end;
  gap: clamp(34px, 8vw, 120px);
  max-width: none;
  margin: 0;
  padding: 72px 0 54px;
  text-align: left;
}
.flow-section .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--accent);
  font: 700 11px/1.3 var(--font-display);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.flow-section .eyebrow::before { width: 22px; height: 1px; background: currentColor; content: ""; }
.flow-section .intro .flow-title {
  max-width: 790px;
  margin: 0;
  color: var(--ink);
  font: 600 52px/.99 var(--font-body);
  letter-spacing: -.065em;
}
.flow-section .intro .flow-title em { color: var(--accent); font-style: normal; }
.flow-section .intro__summary {
  max-width: 420px;
  margin: 0 0 5px;
  color: #b4bab6;
  font: 400 18px/normal var(--font-display);
}
.flow-section .intro__summary strong { color: var(--ink); font-weight: 600; }

.flow-section .journey {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgba(10, 12, 12, .93);
  box-shadow: none;
  backdrop-filter: none;
}
.flow-section .journey__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.flow-section .journey__identity { display: flex; align-items: center; gap: 15px; }
.flow-section .journey__glyph {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(250, 97, 76, .48);
  color: var(--accent);
  font: 600 14px/1 var(--font-display);
}
.flow-section .journey__identity p { margin: 0; color: var(--quiet); font: 600 9px/1.3 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.flow-section .journey__identity h3 { margin: 4px 0 0; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.flow-section .mode-switch { display: flex; flex: 0 0 auto; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 0; background: #090a0a; }
.flow-section .mode-switch button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 0;
  color: #a7adaa;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.flow-section .mode-switch button[aria-selected="true"] { border-color: rgba(250, 97, 76, .65); color: #fff; background: rgba(250, 97, 76, .13); box-shadow: none; }
.flow-section #journey[data-mode="store"] .mode-switch button[aria-selected="true"] { border-color: rgba(85, 197, 155, .68); color: #fff; background: rgba(85, 197, 155, .14); }
.flow-section .mode-switch button:hover { color: white; }
.flow-section .mode-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.flow-section .journey__panel { display: block; }
.flow-section .journey__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font: 600 9px/1.4 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.flow-section .journey__meta strong { color: #d3d7d3; font-weight: 600; }
.flow-section .journey__meta span:last-child { color: var(--accent); }
.flow-section #journey[data-mode="store"] .journey__meta span:last-child { color: var(--green); }
.flow-section .process-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow-section .stage { min-width: 0; padding: 24px 25px 25px; }
.flow-section .stage + .stage { border-left: 1px solid var(--line); }
.flow-section .stage__head { position: relative; z-index: 1; display: block; min-height: 82px; }
.flow-section .stage__node {
  display: grid;
  width: 25px;
  height: 25px;
  margin: 0 0 13px;
  place-items: center;
  border: 1px solid rgba(250, 97, 76, .74);
  color: #ffd5cd;
  background: #121111;
  font: 700 9px/1 var(--font-display);
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.flow-section .stage__kicker { margin: 2px 0 5px; color: var(--quiet); font: 600 9px/1.2 var(--font-display); letter-spacing: .13em; text-transform: uppercase; }
.flow-section .stage__head h3 { margin: 0; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.035em; line-height: 1.25; }
.flow-section .stage__description { min-height: 48px; margin: 16px 0 18px; color: #a7aeaa; font-size: 12px; line-height: 1.65; }
.flow-section .stage__mock { min-height: 190px; padding: 14px; border: 1px solid var(--line); background: #101212; }
.flow-section .stage__mock-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: #9da5a0; font: 600 9px/1.3 var(--font-display); }
.flow-section .stage__mock-label span:last-child { color: var(--quiet); font-weight: 500; }
.flow-section .social-channels { display: flex; gap: 6px; margin: 12px 0; }
.flow-section .channel { padding: 5px 8px; border: 1px solid var(--line); color: #d8dcda; font-size: 9px; }
.flow-section .post-preview { position: relative; display: flex; min-height: 99px; align-items: flex-end; justify-content: space-between; padding: 12px; overflow: hidden; border: 1px solid rgba(250, 97, 76, .38); background: linear-gradient(120deg, #39231e, #1b1716 72%); }
.flow-section .post-preview::before { position: absolute; top: -39px; right: 12%; width: 112px; height: 112px; border-radius: 50%; background: rgba(250, 97, 76, .1); content: ""; }
.flow-section .post-preview__product { position: absolute; top: 50%; right: 19%; display: block; width: 38px; height: 50px; border: 1px solid rgba(255, 226, 218, .68); background: rgba(250, 97, 76, .12); transform: translateY(-50%); }
.flow-section .post-preview__product::before { position: absolute; top: -7px; left: 11px; width: 14px; height: 7px; border: 1px solid rgba(255, 226, 218, .68); border-bottom: 0; content: ""; }
.flow-section .post-preview__product i { position: absolute; top: 20px; right: 6px; left: 6px; height: 1px; background: rgba(255, 226, 218, .58); }
.flow-section .post-preview__copy { position: relative; z-index: 1; display: grid; gap: 4px; }
.flow-section .post-preview__copy strong { color: var(--ink); font-size: 12px; font-weight: 600; }
.flow-section .post-preview__copy span { color: #c2aaa4; font-size: 9px; }

.flow-section .chat-window { display: grid; gap: 8px; padding-top: 12px; }
.flow-section .chat-status { display: flex; align-items: center; gap: 7px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: #a8b0ab; font-size: 9px; }
.flow-section .status-dot { width: 6px; height: 6px; background: var(--green); }
.flow-section .chat-line { position: relative; min-height: 34px; }
.flow-section .chat-line--reply { min-height: 34px; }
.flow-section .bubble { position: absolute; top: 0; left: 0; width: fit-content; max-width: 90%; padding: 8px 9px; border: 1px solid var(--line); color: #d3d8d4; background: #151818; font-size: 9px; line-height: 1.4; visibility: hidden; opacity: 0; transform: translateY(5px) scale(.94); transform-origin: left top; animation: flow-customer-message 7.2s ease-in-out infinite both; }
.flow-section .bubble--reply { right: 0; left: auto; border-color: rgba(85, 197, 155, .38); color: #b4e7d1; background: rgba(42, 102, 79, .19); transform-origin: right top; animation-name: flow-seller-message; }
.flow-section .typing { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; gap: 3px; width: fit-content; min-height: 25px; padding: 0 9px; border: 1px solid var(--line); background: #151818; visibility: hidden; opacity: 0; transform: translateY(3px) scale(.94); transform-origin: left top; animation: flow-customer-typing 7.2s linear infinite both; }
.flow-section .typing--reply { right: 0; left: auto; border-color: rgba(85, 197, 155, .38); background: rgba(42, 102, 79, .19); transform-origin: right top; animation-name: flow-seller-typing; }
.flow-section .typing i { width: 3px; height: 3px; background: #b7bfba; animation: flow-dot-bounce .7s ease-in-out infinite; }
.flow-section .typing i:nth-child(2) { animation-delay: .12s; }
.flow-section .typing i:nth-child(3) { animation-delay: .24s; }
.flow-section .faq-list { display: grid; gap: 7px; padding-top: 12px; }
.flow-section .faq-row { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 6px 8px; border: 1px solid var(--line); color: #c7ceca; background: #141717; font-size: 9px; animation: flow-faq-in 5.4s cubic-bezier(.2, .75, .25, 1) infinite both; }
.flow-section .faq-row:nth-child(2) { animation-delay: .3s; }
.flow-section .faq-row:nth-child(3) { animation-delay: .6s; }
.flow-section .faq-row::before { width: 5px; height: 5px; flex: 0 0 auto; background: var(--accent); content: ""; }
.flow-section .manual-flag { margin: 11px 0 0; color: #f08e7d; font: 600 8px/1.4 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.flow-section .catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 11px; }
.flow-section .catalog-item { display: grid; min-width: 0; grid-template-rows: 86px auto 20px; gap: 7px; padding: 7px; border: 1px solid var(--line); background: #141717; }
.flow-section .catalog-art { position: relative; display: grid; min-height: 86px; place-items: center; border: 1px solid rgba(85, 197, 155, .28); background: linear-gradient(145deg, #173229, #121816); }
.flow-section .catalog-art::before { width: 30px; height: 46px; border: 1px solid rgba(193, 232, 211, .72); background: rgba(102, 190, 146, .17); box-shadow: 0 7px 18px rgba(0, 0, 0, .24); content: ""; }
.flow-section .catalog-art::after { position: absolute; top: calc(50% - 1px); left: 50%; width: 16px; height: 1px; background: rgba(193, 232, 211, .58); transform: translateX(-50%); content: ""; }
.flow-section .catalog-item:nth-child(2) .catalog-art { border-color: rgba(250, 97, 76, .28); background: linear-gradient(145deg, #38251f, #171413); }
.flow-section .catalog-item:nth-child(2) .catalog-art::before { width: 43px; height: 35px; border-color: rgba(255, 210, 199, .72); background: rgba(250, 97, 76, .15); }
.flow-section .catalog-item:nth-child(2) .catalog-art::after { top: calc(50% - 6px); width: 15px; height: 11px; border: 1px solid rgba(255, 210, 199, .55); border-bottom: 0; background: transparent; }
.flow-section .catalog-item__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; min-width: 0; }
.flow-section .catalog-item__meta strong { overflow: hidden; color: #cbd2cd; font-size: 8px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.flow-section .catalog-item__meta span { flex: 0 0 auto; color: #a5b4ab; font-size: 7px; }
.flow-section .catalog-item__action { display: flex; align-items: center; justify-content: space-between; gap: 5px; border-top: 1px solid var(--line); color: var(--green); font: 600 8px/1 var(--font-display); }
.flow-section .catalog-item__action span { color: #d4ddd7; }
.flow-section .order-summary { padding-top: 11px; }
.flow-section .order-summary__status { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font: 600 8px/1.4 var(--font-display); text-transform: uppercase; letter-spacing: .06em; }
.flow-section .order-summary__status::before { width: 5px; height: 5px; background: currentColor; content: ""; }
.flow-section .order-summary h4 { margin: 10px 0 8px; color: var(--ink); font-size: 11px; font-weight: 600; }
.flow-section .order-line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); color: #9da6a1; font-size: 8px; }
.flow-section .order-line strong { color: #e0e5e1; font-weight: 600; }
.flow-section .order-action { margin-top: 10px; padding: 8px; border: 1px solid rgba(85, 197, 155, .4); color: #9de2c1; text-align: center; font: 600 8px/1.3 var(--font-display); }
.flow-section #journey[data-mode="store"] .stage__node { border-color: var(--green); color: var(--green); background: #0d1713; }
.flow-section #journey[data-mode="store"] .journey__outcome-label { color: var(--green); }
.flow-section .journey__outcome {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 17px 24px;
  border-top: 1px solid var(--line);
  background: #0b0d0d;
}
.flow-section .journey__outcome-label { color: var(--accent); font: 700 9px/1.3 var(--font-display); letter-spacing: .13em; text-transform: uppercase; }
.flow-section .journey__outcome p { margin: 0; color: #d7dcd8; font-size: 12px; line-height: 1.5; }
.flow-section .journey__outcome-note { color: var(--quiet); font: 500 9px/1.4 var(--font-display); text-align: right; }
.flow-section .flow-panel-enter { animation: flow-panel-reveal .32s ease both; }

@keyframes flow-customer-typing { 0%, 12% { visibility: visible; opacity: 1; transform: translateY(0) scale(1); } 14%, 100% { visibility: hidden; opacity: 0; transform: translateY(2px) scale(.94); } }
@keyframes flow-customer-message { 0%, 13% { visibility: hidden; opacity: 0; transform: translateY(5px) scale(.94); } 14% { visibility: visible; opacity: 1; transform: translateY(-2px) scale(1.03); } 18%, 89% { visibility: visible; opacity: 1; transform: translateY(0) scale(1); } 96%, 100% { visibility: hidden; opacity: 0; transform: translateY(-3px) scale(.98); } }
@keyframes flow-seller-typing { 0%, 37% { visibility: hidden; opacity: 0; transform: translateY(3px) scale(.94); } 40%, 51% { visibility: visible; opacity: 1; transform: translateY(0) scale(1); } 53%, 100% { visibility: hidden; opacity: 0; transform: translateY(2px) scale(.94); } }
@keyframes flow-seller-message { 0%, 52% { visibility: hidden; opacity: 0; transform: translateY(5px) scale(.94); } 53% { visibility: visible; opacity: 1; transform: translateY(-2px) scale(1.03); } 57%, 89% { visibility: visible; opacity: 1; transform: translateY(0) scale(1); } 96%, 100% { visibility: hidden; opacity: 0; transform: translateY(-3px) scale(.98); } }
@keyframes flow-dot-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-3px); } }
@keyframes flow-faq-in { 0%, 4% { opacity: 0; transform: translateY(5px); } 9%, 72% { opacity: 1; transform: translateY(0); } 80%, 100% { opacity: 0; transform: translateY(-3px); } }
@keyframes flow-panel-reveal { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 920px) {
  .flow-section .concept { width: min(calc(100% - 40px), 760px); padding-top: 30px; }
  .flow-section .intro { grid-template-columns: 1fr; gap: 20px; padding: 58px 0 34px; }
  .flow-section .intro__summary { max-width: 620px; }
  .flow-section .stage { padding: 20px 16px; }
  .flow-section .stage__head h3 { font-size: 16px; }
  .flow-section .stage__description { min-height: 68px; }
  .flow-section .stage__mock { padding: 11px; }
  .flow-section .journey__outcome { grid-template-columns: 90px 1fr; }
  .flow-section .journey__outcome-note { grid-column: 2; text-align: left; }
}
@media (max-width: 680px) {
  .flow-section .concept { width: calc(100% - 32px); padding: 23px 0 56px; }
  .flow-section .concept-bar { gap: 10px; font-size: 8px; }
  .flow-section .concept-bar__tag { display: none; }
  .flow-section .intro { gap: 17px; padding: 47px 0 27px; }
  .flow-section .eyebrow { margin-bottom: 15px; font-size: 9px; }
  .flow-section .intro .flow-title { font-size: clamp(36px, 8vw, 52px); }
  .flow-section .intro__summary { font-size: 18px; }
  .flow-section .journey__head { align-items: flex-start; flex-direction: column; padding: 16px; }
  .flow-section .journey__identity h3 { font-size: 13px; }
  .flow-section .mode-switch { width: 100%; }
  .flow-section .mode-switch button { flex: 1; padding: 0 7px; font-size: 10px; }
  .flow-section .journey__meta { padding: 12px 16px; font-size: 8px; }
  .flow-section .process-grid { grid-template-columns: 1fr; }
  .flow-section .stage { padding: 20px 16px 21px; }
  .flow-section .stage + .stage { border-top: 1px solid var(--line); border-left: 0; }
  .flow-section .stage__head { min-height: 32px; }
  .flow-section .stage__description { min-height: 0; margin: 12px 0; }
  .flow-section .stage__mock { min-height: 0; }
  .flow-section .post-preview { min-height: 82px; }
  .flow-section .journey__outcome { grid-template-columns: 1fr; gap: 8px; padding: 15px 16px; }
  .flow-section .journey__outcome-note { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-section .concept *, .flow-section .concept *::before, .flow-section .concept *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .flow-section .typing { display: none !important; }
  .flow-section .chat-line { display: flex; align-items: flex-start; min-height: 0; }
  .flow-section .chat-line--reply { justify-content: flex-end; }
  .flow-section .bubble { position: static; visibility: visible; opacity: 1; transform: none; animation: none; }
}
