/* shar8 landing: the agent flow section (#flow) and the connect guide (#agents, an FAQ answer). Tokens come from landing.css. */

/* flow */
.flw{display:flex;flex-direction:column;gap:24px}
.fl-ctl{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fl-ctl .btn{min-width:120px}
.fl-st{font:600 14px var(--mono);color:var(--text-dim);margin-left:6px}
.fl-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:40px;align-items:center}
.fl-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.fl-step{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;padding:16px 18px;border-radius:20px;background:var(--bg-elev);box-shadow:inset 0 0 0 1.5px var(--line)}
.fl-step h3{font-size:18px;font-weight:800;margin-bottom:4px}
.fl-step p{color:var(--text-body);font-size:16px}
.fn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--bg);font-weight:800;color:var(--text)}
.flw[data-js] .fl-step[aria-current="step"]{box-shadow:inset 0 0 0 2.5px var(--ink)}
.flw[data-js] .fl-step[aria-current="step"] .fn{background:var(--ink);color:var(--on-ink)}
.fl-scene{display:flex;gap:20px;align-items:flex-end;justify-content:center;flex-wrap:wrap}
.fl-term{flex:1 1 250px;min-width:0;background:var(--ink);color:#e8eaf0;border-radius:18px;padding:16px 18px;font:500 12.5px/1.75 var(--mono);display:flex;flex-direction:column;gap:2px;overflow-wrap:anywhere}
.fl-term b{color:#fff}
.fl-term .tp{color:#a8abf5}
.fl-term .ok{color:#86e0a6}
.fl-phone{flex:none;width:252px;border-radius:40px;background:var(--l-stage);padding:10px;box-shadow:var(--shadow)}
.fl-screen{background:var(--bg-elev);border-radius:31px;min-height:340px;padding:22px 12px 16px;display:flex;flex-direction:column;gap:8px}
.fl-bar{gap:10px;display:flex;align-items:baseline;justify-content:space-between;padding:0 4px 6px;font-size:17px}
.fl-cnt{text-align:right;font-size:12px;font-weight:700;color:var(--text-dim)}
.fl-grp{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--text-dim);padding:6px 4px 0}
.fl-row{display:flex;align-items:center;gap:8px;padding:10px;border-radius:14px;background:var(--bg);font-size:13px;line-height:1.3}
.fl-row .t{flex:1;min-width:0}
.fl-row .when{font:600 11px var(--mono);color:var(--text-dim)}
.fl-ring{flex:none;width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--p4)}
.fl-row[data-done="true"] .fl-ring{background:var(--ok-fg);box-shadow:none}
.fl-row[data-done="true"] .t{text-decoration:line-through;color:var(--text-dim)}
.fl-row .pr{font-size:11px;font-weight:700;padding:2px 7px;border-radius:999px}
.fl-row .p1{background:var(--p1-bg);color:var(--p1-fg)}
.fl-row .p2{background:var(--p2-bg);color:var(--p2-fg)}
.fl-row .p3{background:var(--p3-bg);color:var(--p3-fg)}
.fl-row .p4{background:var(--p4-bg);color:var(--p4-fg)}
.flw[data-js] [data-from]{transition:opacity .35s,transform .35s}
.flw[data-js] [data-from][data-on="false"]{opacity:0;transform:translateY(6px)}
.fl-why{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fl-why li{padding:18px;border-radius:20px;background:var(--bg-elev);box-shadow:inset 0 0 0 1.5px var(--line);color:var(--text-body);font-size:15px}
.fl-why b{display:block;color:var(--text);font-size:16px;margin-bottom:4px}

/* connect guide */
.ag-note{padding:18px 22px;border-radius:18px;background:var(--l-soon-bg);box-shadow:inset 0 0 0 1.5px var(--l-soon-line);color:var(--p2-fg);font-size:16px}
.ag-note a,.ag-steps a{color:var(--accent-deep);text-decoration:underline}
.ag-steps{list-style:none;margin:0;padding:0;counter-reset:ag;display:flex;flex-direction:column;gap:32px}
.ag-steps>li{counter-increment:ag;display:flex;flex-direction:column;gap:14px;min-width:0;padding-left:56px;position:relative}
.ag-steps>li::before{content:counter(ag);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:var(--on-ink);font-weight:800}
.ag-steps h3{font-size:22px;font-weight:800;line-height:1.3;padding-top:5px}
.ag-steps h4{font-size:16px;font-weight:800;margin-top:6px}
.ag-steps p{color:var(--text-body)}
.ag-steps code,.ag-note code{font:600 .9em var(--mono);background:var(--bg);padding:1px 6px;border-radius:6px}
.ag-note code{background:var(--bg-elev)}
.ag-steps .cmd pre code{background:none;padding:0;font-size:inherit;font-weight:inherit}
.ag-steps .panel{gap:12px}
.ag-steps .panel[hidden]{display:none}
.tg{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tgn{min-width:120px;font-size:14px;font-weight:700;color:var(--text-dim)}

@media (max-width:900px){
  .fl-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .fl-why{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .fl-why{grid-template-columns:minmax(0,1fr)}
  .fl-phone{width:min(252px,100%)}
  .ag-steps>li{padding-left:0;padding-top:52px}
  .ag-steps h3{font-size:20px;padding-top:0}
  .tgn{min-width:100%}
}
@media (prefers-reduced-motion:reduce){
  .flw [data-from]{transition:none !important}
}

/* the connect guide lives inside the FAQ item #agents */
.fq-body{display:flex;flex-direction:column;gap:28px;padding:0 24px 26px;min-width:0}
.fq-body p{padding:0}
.fq-body .intro{max-width:none}
#agents{scroll-margin-top:88px}
@media (max-width:640px){.fq-body{padding:0 16px 22px}}
