.workflow { padding-block: clamp(2.5rem,5vw,5rem); background: #111d1b; color:#edf6ed; }
.workflow-layout { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1fr); align-items:center; gap:clamp(1.75rem,6vw,7rem); }
.workflow-copy .eyebrow { color:#a8c5b3; }
.workflow h2 { margin:.22em 0; font-size:clamp(3.25rem,6.7vw,7rem); font-weight:600; letter-spacing:-.074em; line-height:.95; }
.workflow-lead,.workflow-description p { max-width:39ch; font-size:clamp(1rem,1.3vw,1.2rem); line-height:1.52; color:#c8d8ce; }
.workflow-chapters { display:flex; flex-wrap:wrap; gap:.3rem; margin:clamp(1.25rem,3vw,3rem) 0 1.3rem; }
.workflow-chapters button,.workflow-navigation button { border:1px solid #597064; background:transparent; color:#e2eddf; font:inherit; cursor:pointer; }
.workflow-chapters button { padding:.48rem .8rem; border-radius:2rem; }
.workflow-chapters button[aria-pressed=true] { background:#d8edc4; border-color:#d8edc4; color:#233226; }
.workflow-description { border-top:1px solid #53665b; padding-top:1.25rem; min-height:9rem; }
.workflow-description h3 { margin:0 0 .5rem; font-size:clamp(1.35rem,2vw,2rem); letter-spacing:-.03em; }
.workflow-navigation { display:flex; align-items:center; gap:.7rem; margin-top:1.2rem; }
.workflow-navigation button { height:2.65rem; border-radius:1.5rem; }
.workflow-back,.workflow-forward { width:2.65rem; font-size:1.8rem!important; line-height:.9; }
.workflow-navigation button:disabled { opacity:.35; cursor:default; }
.workflow-counter { font:.84rem/1 var(--mono); font-variant-numeric:tabular-nums; }
.workflow-play { padding:0 1rem; }
.workflow-exhibit { min-width:0; }
.workflow-stage {
  display:grid; place-items:center; position:relative; isolation:isolate;
  padding:clamp(1.25rem,2.5vw,2.5rem) clamp(.8rem,2vw,1rem);
  border-radius:1rem; overflow:hidden;
  background:radial-gradient(ellipse at 24% 18%,#faf9ef,transparent 68%),linear-gradient(155deg,#e2e9db 20%,#cad9ca 72%,#b8c3b7);
}
.workflow-stage::before {
  content:""; position:absolute; left:16%; right:12%; bottom:3.5%; height:4.5%;
  background:radial-gradient(ellipse closest-side,#43504759,transparent);
  filter:blur(4px); pointer-events:none;
}
.wf-phone { width:min(84%, 20rem); }
.wf-arrival { transform-origin:0 100%; animation:wf-delivery .45s cubic-bezier(.18,.84,.24,1) both; }
@keyframes wf-delivery { from { opacity:.25; transform:translateY(14px) scale(.95); } }
@media(max-width:920px) {
  .workflow-layout { gap:1.5rem; }
}
@media(max-width:700px) {
  .workflow-layout { grid-template-columns:minmax(0,1fr); }
  .workflow-description { min-height:0; }
  .workflow-copy h2 { max-width:11ch; }
  .workflow-exhibit { width:min(100%,29rem); margin-inline:auto; }
}
@media(prefers-reduced-motion:reduce) {
  .wf-arrival { animation:none; }
}

/* Telegram iOS: translucent floating bars over a green chat wallpaper. */
.workflow .iphone-chat, .crosspost .iphone-chat {
  --iphone-tint:#c8dca9;
  --iphone-ink:#213024;
}
.wf-viewport, .crosspost-phone .tg-screen {
  --tg-glass: #263829e0;
  --tg-ink: #eaf4e7;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #101c12;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background:
    linear-gradient(to bottom, var(--iphone-tint) 0, transparent 10%, transparent 90%, var(--iphone-tint)),
    radial-gradient(ellipse at 16% 6%, #e4ecbce0, transparent 48%),
    radial-gradient(ellipse at 94% 47%, #88b790c9, transparent 57%),
    radial-gradient(ellipse at 16% 97%, #e0e7a5cc, transparent 55%), #bad6a0;
}
.tg-header {
  flex: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: .32em;
  margin-block-start: .3rem;
  padding-inline: 4.5%;
  padding-bottom: 1.8%;
  font-size: clamp(11px, 4.35cqw, 16px);
  line-height: 1.15;
}
.tg-back, .tg-chat-title, .tg-avatar, .tg-menu,.tg-attach,.tg-draft,.tg-mic {
  background: var(--tg-glass); color: var(--tg-ink);
  box-shadow: inset 0 1px 1px #fff4, 0 1px 3px #1c30202b;
}
.tg-back, .tg-avatar, .tg-attach,.tg-mic { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; }
.tg-back { justify-self: start; font-size: 1em; width: 2.35em; border-radius: 999px; line-height: 1; color: transparent; position: relative; }
.tg-back::after { content: ""; width: .55em; height: .55em; border: solid var(--tg-ink); border-width: 0 0 2px 2px; transform: rotate(45deg); position: absolute; left: 42%; }
.tg-chat-title { display: grid; justify-items:center; align-content:center; min-height:2.35em; padding:.15em 1em; border-radius:2em; }
.tg-chat-title strong { font-size:.94em; font-weight:650; white-space:nowrap; }
.tg-chat-title small { color:#d0ddcc; font-size:.69em; }
.tg-avatar { justify-self:end; font-size:.86em; width:2.47em; height:2.47em; font-weight:700; }
.wf-dialog,.crosspost-chat {
  min-height:0; flex:1; overflow:auto; display:flex; flex-direction:column;
  padding:1.5% 3.1% 2%; scrollbar-width:thin; scrollbar-color:#40544166 transparent;
}
.wf-message-flow, .crosspost-bubble:not([hidden]) { margin-top:auto; flex:none; }
.wf-bubble, .wf-widget, .crosspost-bubble {
  color:var(--tg-ink); background:#283c2ceF;
  width:95%; margin-inline:0; padding:.55em .74em .48em;
  border-radius:1.1em 1.1em 1.1em .35em;
  box-shadow:0 1px 1px #152b181a;
  font:400 clamp(11px,4.15cqw,15.4px)/1.33 -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;
  overflow-wrap:normal;
}
.wf-bubble > p { margin:.68em 0; }
.wf-bubble em { font-size:.89em; color:#d1dfcc; }
.tg-message-time { display:block; text-align:right; font-size:.72em; font-weight:400; line-height:1.2; color:#b8c9b4; margin-top:.23em; }
.wf-keyboard { width:95%; display:grid; gap:2px; margin-top:3px; }
.wf-keyboard > div { display:flex; gap:2px; }
.wf-keyboard span,.wf-keyboard button { flex:1; padding:.55em .2em; border-radius:.5em; background:#415a43ec; color:white; text-align:center; font:600 clamp(10px,3.55cqw,13.5px)/1.2 -apple-system,BlinkMacSystemFont,sans-serif; }
.wf-keyboard button { border:0; cursor:pointer; background:#365949; min-height:30px; }
.wf-keyboard .wf-current { background:#607560d1; color:#e9f1e7; }
.wf-widget { width:98%; padding:.22em; }
.wf-widget img { display:block; width:100%; height:auto; border-radius:.85em; }
.wf-widget p { margin:.42em .5em .12em; line-height:1.32; font-size:.93em; }
.wf-widget .tg-message-time { padding:0 .6em .25em; }
.tg-composer {
  display:flex; flex:none; align-items:center; position:relative; gap:1.5%; padding:0 3.5%; margin:0 0 .3rem;
  font:500 clamp(10px,3.75cqw,15px)/1.1 -apple-system,BlinkMacSystemFont,sans-serif;
}
.tg-menu,.tg-draft { display:flex; align-items:center; height:2.25em; gap:.45em; padding-inline:.65em; border-radius:2em; }
.tg-menu,.tg-send { cursor:pointer; border:0; background:#267dc8; color:white; font:inherit; font-weight:600; }
.tg-menu { min-width:48px; min-height:28px; justify-content:center; }
.tg-menu:focus-visible,.tg-options button:focus-visible,.wf-keyboard button:focus-visible,.tg-send:focus-visible,.tg-quantity:focus-visible { outline:2px solid #fff; outline-offset:-3px; }
.tg-menu[aria-expanded="true"] { background:#195584; }
.tg-options {
  position:absolute; bottom:calc(100% + .45rem); left:3.5%; width:min(87%, 14rem);
  padding:.3rem; background:#283d30; border:1px solid #6b8169; border-radius:1rem; color:white;
  box-shadow:0 6px 24px #19281952; z-index:2;
}
.tg-options button {
  display:flex; align-items:center; justify-content:space-between; gap:.4rem; width:100%; min-height:40px;
  padding:.5rem .65rem; border:0; border-radius:.65rem; color:inherit; background:transparent;
  text-align:left; font:600 clamp(12px,4.35cqw,16px)/1.2 -apple-system,BlinkMacSystemFont,sans-serif; cursor:pointer;
}
.tg-options button:hover,.tg-options button:focus-visible { background:#3e5743; }
.tg-options button[aria-pressed=true]::after { content:""; width:.65em; height:.35em; border:solid #bfe1ad; border-width:0 0 2px 2px; transform:rotate(-45deg); }
.tg-quantity { flex:1; min-width:0; height:30px; padding:0 .65em; border:0; border-radius:2em; color:white; background:#304737; font:inherit; }
.tg-quantity::placeholder { color:#d5e1ce; }
.tg-send { border-radius:50%; width:30px; height:30px; font-size:1.4em; }
.tg-composer [hidden] { display:none; }
.wf-bubble:focus { outline:none; }
@media (pointer:coarse) {
  .tg-menu,.tg-send,.tg-quantity { min-height:36px; }
  .tg-options button { min-height:44px; }
  .wf-keyboard button { min-height:36px; }
}
.tg-menu i { height:.67em; width:.8em; border-block:1px solid; position:relative; }
.tg-menu i::before { content:""; position:absolute; inset:50% 0 auto; border-top:1px solid; }
.tg-draft { flex:1; color:#c5d3bf; min-width:0; }
.tg-attach i { position:relative; width:.58em; height:1.05em; border:1.2px solid currentColor; border-radius:.4em; transform:rotate(32deg); }
.tg-attach i::after { content:""; position:absolute; top:.05em; left:.13em; width:.12em; height:.52em; border:1px solid currentColor; border-top:none; border-radius:0 0 .25em .25em; }
.tg-mic i { width:.55em; height:.87em; border:1.3px solid currentColor; border-radius:.45em; position:relative; }
.tg-mic i::after { content:""; position:absolute; inset:35% -.22em -.25em; border:1px solid; border-top:0; border-radius:0 0 .5em .5em; }
.crosspost-bubble { margin-bottom:0; }
.crosspost-bubble b,.crosspost-bubble strong { font-weight:650; }
.crosspost-bubble ul { list-style:none; padding:0; margin:.65em 0 0; }
.crosspost-bubble i { color:#cbdccb; font-size:.94em; }
