/* Software that evolves (/how-it-works/, MKT-09 launch): ported from the approved MKT-07 R2 mockup (hiw.css).
   Page-only rules on top of /assets/ed/base.css. */

/* ---------- Hero ---------- */
.ev-hero { text-align: left; padding: 104px 0 112px; }
.ev-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.ev-hero .eyebrow { justify-content: flex-start; }
.ev-hero h1 { margin: 16px 0 0; max-width: none; font-size: clamp(40px, 5vw, 68px); }
.ev-hero .sub { margin: 22px 0 0; max-width: 560px; }
.ev-hero .ctas { justify-content: flex-start; }
.flowline { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 0; margin: 30px 0 0; padding: 0; font-size: 14px; font-weight: 700; color: #fff; }
.flowline li { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.flowline li + li::before { content: "→"; color: var(--gold); margin: 0 10px 0 -2px; }
.flowline li:not(:first-child) { margin-left: 8px; }
.bigreq { position: relative; padding: 40px 0 0 0; }
.bigreq .note-q { position: absolute; left: -10px; top: 0; z-index: 1; width: 290px; background: #fff3b8; color: #3d3200; border-radius: 6px; padding: 16px 18px 18px; font: 700 17px/1.4 Manrope; box-shadow: 0 18px 30px -20px rgba(0,0,0,.6); transform: rotate(-3deg); animation: evFloat 7s ease-in-out infinite; }
.bigreq .note-q small { display: block; font: 800 11px Manrope; letter-spacing: .1em; text-transform: uppercase; color: #8a6d00; margin-bottom: 6px; }
@keyframes evFloat { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-8px); } }
.bigreq .rq { position: relative; z-index: 2; margin: 90px 0 0 auto; width: min(470px, 100%); }
.rq { background: #fff; color: #1d2433; border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); font-family: Inter, "Segoe UI", sans-serif; padding: 22px 24px 24px; }
.rq .rh { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: #6b7385; }
.rq .who { display: inline-flex; align-items: center; gap: 8px; }
.rq .who img { object-fit: contain; }
.rq h4 { margin: 12px 0 8px; font: 700 21px/1.3 Inter; letter-spacing: -.01em; }
.rq .sp { display: inline-flex; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #eef0f4; color: #4b5467; transition: background .4s, color .4s; }
.rq .sp.s1 { background: #fff3d6; color: #8a5b00; }
.rq .sp.s2 { background: #e6eefc; color: #1a4fb3; }
.rq .sp.s3 { background: #e3f5ea; color: #1f7a45; }
.rq .rsub { font-size: 14.5px; color: #6b7385; min-height: 1.4em; }
.rq .track { display: flex; gap: 6px; margin: 16px 0 6px; }
.rq .track i { flex: 1; height: 6px; border-radius: 6px; background: #eef0f4; overflow: hidden; position: relative; }
.rq .track i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.rq .track i.on::after { transform: none; }
.rq .rsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 11.5px; font-weight: 600; color: #9aa1b0; }
.rq .rsteps li.on { color: #1d2433; }
.rq .prev { margin-top: 16px; border: 1.5px dashed #cfd4de; border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; opacity: .4; transition: opacity .5s, border-color .5s, background .5s; }
.rq .prev.on { opacity: 1; border-style: solid; border-color: #cfeedb; background: #f3fbf6; }
.nb { display: inline-flex; align-items: center; gap: 7px; background: #172c43; color: #fff; font: 600 13px Inter; padding: 8px 12px; border-radius: 9px; white-space: nowrap; }
.nb svg { width: 14px; height: 14px; }
.rq .prev.on .nb { animation: evGlow 1.5s ease-out 2; }
@keyframes evGlow { 0% { box-shadow: 0 0 0 0 rgba(234,197,27,.8); } 100% { box-shadow: 0 0 0 12px rgba(234,197,27,0); } }

/* ---------- One request: the walkthrough ---------- */
.demo { max-width: 1040px; margin: 0 auto; }
.dbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--card); border-radius: 20px; padding: 16px 20px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; }
.dbar small { display: block; font: 800 11px Manrope; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dbar b { font-size: 16px; }
.dbar p { margin: 0; color: var(--muted); font-size: 14.5px; }
.dctl { display: flex; gap: 8px; }
.dctl button { border: 0; background: var(--surface); color: var(--text); font: 700 13.5px Manrope; padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.dsteps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.dsteps li { font: 700 13.5px Manrope; padding: 8px 14px; border-radius: 999px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.dsteps li.on { background: var(--green); color: #fff; box-shadow: none; }
.laptop .screen { background: #f6f7f9; }
.demo .screen .sc-in { position: absolute; inset: 0; }
.demo .screen .app { width: 960px; height: 600px; grid-template-columns: 196px 1fr; --t: #574371; --t-ink: #574371; --t-soft: #F5ECF3; }
.demo .screen .app .side { padding: 18px 12px; }
.demo .screen .app .brand { padding-bottom: 16px; }
.demo .screen .app .top { height: 56px; padding: 0 22px; }
.demo .screen .app .body { padding: 18px 22px; gap: 14px; overflow: hidden; position: relative; }
.demo .scene { animation: evScene .45s var(--ease) both; display: flex; flex-direction: column; gap: 14px; }
@keyframes evScene { from { opacity: 0; transform: translateY(6px); } }
.app .pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.app .pcard { background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; min-height: 150px; }
.app .pcard b { font-size: 15px; }
.app .pcard small { color: #6b7385; font-size: 13px; }
.app .pcard .nx { margin-top: 4px; font-size: 13px; background: #f6f7f9; border-radius: 8px; padding: 7px 9px; }
.app .pcard .nx em { font-style: normal; font-weight: 700; color: #8a5b00; }
.app .pcard .nb { align-self: flex-start; margin-top: auto; }
.app .pcard.new .nx, .app .pcard.new .nb { animation: popIn .6s var(--ease) both; }
.app .drawer { position: absolute; right: 22px; top: 18px; bottom: 18px; width: 360px; background: #fff; border: 1px solid #e6e8ee; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); padding: 18px; display: flex; flex-direction: column; gap: 12px; animation: evDrawer .5s var(--ease) both; }
@keyframes evDrawer { from { opacity: 0; transform: translateX(30px); } }
.app .drawer h5 { margin: 0; font: 700 17px Inter; }
.app .drawer .fl { border: 1px solid #dfe2ea; border-radius: 12px; padding: 12px; font-size: 14px; line-height: 1.5; min-height: 110px; color: #2c3446; }
.app .drawer small { color: #6b7385; font-size: 12.5px; }
.app .mail { max-width: 620px; margin: 10px auto 0; background: #fff; border: 1px solid #e6e8ee; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); overflow: hidden; }
.app .mail .mh { display: flex; justify-content: space-between; padding: 12px 18px; background: #f7f8fa; font-size: 13px; color: #6b7385; }
.app .mail .mb { padding: 18px 22px 22px; font-size: 14.5px; line-height: 1.6; color: #2c3446; display: grid; gap: 10px; }
.app .mail .mb h5 { margin: 0; font: 700 20px Inter; color: #1d2433; }
.app .banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff8e1; border: 1px solid #f2d27a; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.app .banner b { font-weight: 700; }
.app .b.p.sent, .app .b.ok { background: #1f7a45; border-color: #1f7a45; color: #fff; }

/* ---------- The four steps ---------- */
.rel { background: var(--surface); }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.st4 { background: var(--card); border-radius: 22px; padding: 14px 14px 22px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.st4 .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--gold); color: var(--green); font: 800 13px Manrope; margin: 18px 8px 0; }
.st4 h3 { font-size: 20px; letter-spacing: -.02em; margin: 12px 8px 6px; }
.st4 > p { margin: 0 8px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.mini { background: #fff; color: #1d2433; font-family: Inter, "Segoe UI", sans-serif; border-radius: 16px; padding: 14px; box-shadow: inset 0 0 0 1px #e6e8ee; min-height: 196px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.mini .mh { font-weight: 700; font-size: 12.5px; color: #4b5467; display: flex; justify-content: space-between; gap: 8px; }
.mini .mh em { font-style: normal; font-weight: 600; color: #1a4fb3; background: #e6eefc; padding: 1px 7px; border-radius: 999px; font-size: 11px; }
.mini .fld { border: 1px solid #dfe2ea; border-radius: 10px; padding: 9px 10px; flex: 1; }
.mini .fld small { color: #8a91a1; font-size: 11.5px; }
.mini .fld p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; min-height: 3em; }
.mini .row2 { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.mini .chip { font-size: 11.5px; font-weight: 600; color: #1f7a45; background: #e3f5ea; padding: 3px 8px; border-radius: 999px; }
.mini .bt { font-weight: 700; font-size: 12.5px; background: #172c43; color: #fff; padding: 7px 11px; border-radius: 8px; transition: background .3s; }
.mini .bt.ghost { background: #fff; color: #2c3446; box-shadow: inset 0 0 0 1px #dfe2ea; }
.mini .bt.go { background: #1f7a45; }
.mini .kv3 { display: grid; grid-template-columns: 78px 1fr; gap: 8px; font-size: 12.5px; opacity: .25; transition: opacity .4s; }
.mini .kv3 span { color: #8a91a1; }
.mini .kv3.on { opacity: 1; }
.mini .ok3 { margin-top: auto; align-self: flex-start; font-weight: 700; font-size: 12.5px; color: #1f7a45; background: #e3f5ea; padding: 5px 10px; border-radius: 999px; opacity: 0; transition: opacity .4s; }
.mini .ok3.on { opacity: 1; }
.mini .job { border: 1px solid #e6e8ee; border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; flex: 1; align-content: start; }
.mini .job small { color: #6b7385; }
.mini .job .nb { justify-self: start; margin-top: 6px; font-size: 12px; opacity: .25; transition: opacity .4s; }
.mini .job .nb.on { opacity: 1; animation: evGlow 1.5s ease-out 1; }
.mini .rl { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #eef0f4; }
.mini .rl:last-child { border-bottom: 0; }
.mini .rl em { font-style: normal; font-weight: 700; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.mini .rl .s1 { background: #fff3d6; color: #8a5b00; }
.mini .rl .s2 { background: #e6eefc; color: #1a4fb3; }
.mini .rl .s3 { background: #e3f5ea; color: #1f7a45; }
.mini .rl.new { animation: rowIn .7s var(--ease) both; }
.mini .rl.hide { display: none; }

/* ---------- Two ways ---------- */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1040px; margin: 0 auto; }
.way { background: var(--card); border-radius: 28px; padding: 18px 18px 28px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.way > .k, .way > h3, .way > p, .way > .tlink { margin-left: 12px; margin-right: 12px; }
.way .k { margin-top: 22px; font: 800 12px Manrope; letter-spacing: .1em; text-transform: uppercase; color: var(--green-2); }
.way h3 { font-size: 26px; letter-spacing: -.02em; margin-top: 6px; }
.way p { color: var(--muted); font-size: 16px; margin-top: 8px; margin-bottom: 0; }
.way.dark { background: var(--green); box-shadow: none; }
.way.dark h3 { color: #fff; }
.way.dark p { color: var(--on-dark-muted); }
.way.dark .k, .way.dark .tlink { color: var(--gold); }
.tlink { display: inline-flex; align-self: flex-start; margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--green-2); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.auto { background: #fff; color: #1d2433; font-family: Inter, "Segoe UI", sans-serif; border-radius: 18px; padding: 16px; box-shadow: inset 0 0 0 1px #e6e8ee; display: flex; flex-direction: column; align-items: center; min-height: 250px; justify-content: center; }
.auto .an { width: min(300px, 100%); background: #fff; border: 1px solid #e6e8ee; border-radius: 12px; padding: 9px 14px; display: flex; gap: 10px; align-items: baseline; font-size: 14px; opacity: .25; transform: scale(.97); transition: opacity .4s, transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.auto .an small { font: 800 10.5px Manrope; letter-spacing: .1em; text-transform: uppercase; color: #8a91a1; min-width: 44px; }
.auto .an.on { opacity: 1; transform: none; border-color: #172c43; box-shadow: 0 8px 18px -12px rgba(0,0,0,.4); }
.auto .an.lock.on { border-color: #1f7a45; background: #f3fbf6; }
.auto .al { width: 2px; height: 16px; background: #e6e8ee; position: relative; overflow: hidden; }
.auto .al i { position: absolute; inset: 0; background: #172c43; transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.auto .al.on i { transform: none; }
.chg { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; min-height: 250px; border-radius: 18px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); padding: 16px; }
.chg span { font: 700 13px Manrope; color: var(--on-dark-muted); padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background .4s, color .4s; }
.chg span.on { background: var(--gold); color: var(--green); box-shadow: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .ev-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .bigreq .rq { margin: 70px auto 0; }
  .bigreq .note-q { left: 0; }
  .dbar { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ways { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .ev-hero { padding: 80px 0 90px; }
  .bigreq .note-q { width: 250px; font-size: 15.5px; }
  .four { grid-template-columns: minmax(0, 1fr); }
  .demo .laptop .lid { padding: 5px; border-radius: 16px; }
  .demo .laptop .lid::before, .demo .laptop .base { display: none; }
  .demo .laptop .screen { aspect-ratio: 680 / 600; border-radius: 12px; }
  .demo .screen .app { width: 680px; height: 600px; grid-template-columns: 1fr; }
  .demo .screen .app .side { display: none; }
  .app .pgrid { grid-template-columns: 1fr 1fr; }
  .app .pgrid .pcard:nth-child(3) { display: none; }
  .rq .rsteps { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .bigreq .note-q, .rq .prev.on .nb, .mini .job .nb.on { animation: none; }
  .demo .scene, .app .drawer, .mini .rl.new { animation: none; }
}

/* ---------- Launch additions ---------- */
/* The built-for strip stands still with reduced motion (as on the homepage) */
@media (prefers-reduced-motion: reduce) {
  .trow .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .trows { -webkit-mask-image: none; mask-image: none; }
}
/* Small-screen polish: the request heading stays on one line, wrapped pills stay together */
.rq .rh { flex-wrap: wrap; }
.rq .who, .rq .sp { white-space: nowrap; }
.chg { align-content: center; }

/* ---------- Round 2 (1 Oct 2026): a third, quicker way ---------- */
.way3{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:center;margin-top:22px;background:var(--card);border-radius:26px;padding:28px 30px;box-shadow:inset 0 0 0 1px var(--line)}
.way3 .k{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--green-2)}
.way3 h3{font-size:24px;letter-spacing:-.02em;margin:8px 0}
.way3 p{color:var(--muted);margin:0;line-height:1.55}
.way3 .cfm{transform:none;opacity:1;font-family:Inter,"Segoe UI",system-ui,sans-serif}
@media (max-width:860px){.way3{grid-template-columns:1fr;padding:22px 18px}}
