/* Modou website v2: page styles for How it works, Why Modou and Integrations (builder A).
   Loaded after site.css on those pages only. Tokens only, so both themes work. */

/* ------------------------------------------------------------------ shared bits */
.ph .h1 .mute { color: var(--ink-3); }
.ph .fine { margin-top: 14px; }
.pa-ref { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.pa-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.pa-btns span { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border-radius: 4px; font-size: 12.5px; font-weight: 500; border: 1px solid var(--line-2); color: var(--ink); white-space: nowrap; }
.pa-btns span.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pa-btns span.acc { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.pa-btns span.mute { color: var(--ink-2); }
.pa-sw { width: 22px; height: 22px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.pa-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pa-chips span { height: 28px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 13px; color: var(--ink); white-space: nowrap; }
.pa-chips span em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--warn); margin-left: 8px; }

/* ------------------------------------------------------------------ how it works: step index under the hero */
.hw-index { border-bottom: 1px solid var(--line); }
.hw-index ol { display: grid; grid-template-columns: repeat(5, 1fr); }
.hw-index li + li { border-left: 1px solid var(--line); }
.hw-index a { display: block; padding: 22px 20px 24px; height: 100%; transition: background-color .25s var(--ease); }
.hw-index li:first-child a { padding-left: 0; }
.hw-index a:hover { background: var(--panel-2); }
.hw-index .num { display: block; font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--ink-3); }
.hw-index b { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); max-width: 15em; }
.hw-index a.fl .num { color: var(--accent-hi); }

/* one step: text on the left, the product moment on the right */
.hw-step { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; padding: 128px 0; border-top: 1px solid var(--line); }
.hw-steps > .hw-step:first-child { border-top: 0; }
.hw-step > * { min-width: 0; }
.hw-txt { position: sticky; top: calc(var(--hd) + 48px); }
.hw-n { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hw-n b { font-weight: 500; color: var(--ink); }
.hw-n::after { content: ""; width: 32px; height: 1px; background: var(--line-2); }
.hw-step.fl .hw-n b { color: var(--accent-hi); }
.hw-txt h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 500; letter-spacing: -.034em; line-height: 1.06; margin-top: 24px; text-wrap: balance; max-width: 13em; }
.hw-txt p { font-size: 17.5px; line-height: 1.6; color: var(--ink-2); margin-top: 22px; max-width: 30em; }
.hw-txt .pa-chips { margin-top: 24px; }
.hw-txt .note { margin-top: 18px; }

/* a photo with a panel laid over its lower edge */
.moment { position: relative; }
.moment .figure { aspect-ratio: 16 / 10; }
.moment .figure img { filter: saturate(.8) brightness(.92); }
.moment > .panel { position: relative; z-index: 2; margin: -132px 0 0 44px; }
.moment.crop-l .figure img { object-position: 88% 50%; }

/* step 1: upload */
.drop { margin: 16px 18px 6px; border: 1px dashed var(--line-3); border-radius: 6px; padding: 22px 18px; display: flex; align-items: center; gap: 16px; background: var(--panel-2); }
.drop svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 1.3; }
.drop b { display: block; font-size: 14.5px; font-weight: 500; }
.drop span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.up .li { grid-template-columns: auto 1fr auto auto; }
.up .li .bar { width: 72px; height: 3px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.up .li .bar i { display: block; height: 100%; width: 100%; background: var(--ok); transform-origin: left; }
.rv.in .up .li .bar i { animation: pa-fill 1.2s var(--ease) .2s both; }
.rv.in .up .li:nth-child(2) .bar i { animation-delay: .35s; } .rv.in .up .li:nth-child(3) .bar i { animation-delay: .5s; } .rv.in .up .li:nth-child(4) .bar i { animation-delay: .65s; }
@keyframes pa-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* step 2: reading, requirements linked to the page */
.read { display: grid; grid-template-columns: 1fr 236px; }
.read-l { border-right: 1px solid var(--line); min-width: 0; }
.read-l .li { padding: 11px 16px; font-size: 13.5px; }
.read-l .li.sel { box-shadow: inset 2px 0 0 var(--accent-hi); }
.read-l .grp { padding: 10px 16px 8px; font-size: 10.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); background: var(--panel-2); }
.pg { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-0); }
.pg-hd { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); }
.pg-sheet { position: relative; flex: 1; aspect-ratio: 1 / 1.3; background: rgba(var(--ink-rgb), .94); border-radius: 2px; padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.pg-sheet i { display: block; height: 4px; border-radius: 2px; background: rgba(var(--bg-rgb), .18); }
.pg-sheet i.h { height: 6px; width: 44%; background: rgba(var(--bg-rgb), .42); margin: 8px 0 3px; }
.pg-sheet .hl { position: relative; margin: 4px -6px; padding: 7px 6px; border-radius: 2px; box-shadow: 0 0 0 1.5px var(--accent); background: rgba(var(--accent-rgb), .12); display: flex; flex-direction: column; gap: 4px; }
.pg-sheet .hl b { font-size: 9.5px; font-weight: 600; color: #1d1d1f; letter-spacing: 0; line-height: 1.25; }
.pg-sheet .hl span { font-size: 9px; color: #3a3a3c; line-height: 1.25; }
.pg-sheet .tag { position: absolute; right: -1px; top: -9px; transform: translateY(-100%); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-fg); background: var(--accent); padding: 2px 5px; border-radius: 2px; }
.pg-ft { font-size: 11.5px; color: var(--ink-3); }

/* step 3: two sources side by side */
.conf { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.conf > div { padding: 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
.conf > div + div { border-left: 1px solid var(--line); }
.conf .pa-sw { width: 40px; height: 40px; grid-row: span 2; border-radius: 4px; }
.conf b { font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.conf span.s { font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.conf em { grid-column: 1 / -1; font-style: normal; font-size: 12px; color: var(--ink-3); padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.conf-k { display: flex; align-items: center; gap: 8px; padding: 14px 18px 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); }
.conf-k i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-hi); }
.conf-t { padding: 8px 18px 16px; font-size: 17px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; border-bottom: 1px solid var(--line); }
.conf-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; font-size: 13px; color: var(--ink-2); }
.li.quiet span:first-child { color: var(--ink-2); }

/* step 4: the build-up worked out */
.bu { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.bu-x { padding: 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.bu-x svg { width: 100%; height: auto; }
.bu-x .cap { font-size: 11.5px; color: var(--ink-3); }
.bu-l { min-width: 0; }
.bu-l .li { padding: 10px 16px; font-size: 13.5px; grid-template-columns: 14px 1fr auto; }
.bu-l .li .k { width: 10px; height: 10px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .22); }
.bu-l .li .num { color: var(--ink); font-weight: 500; }
.q-tbl td, .q-tbl th { white-space: nowrap; }
.q-tbl td.it { white-space: normal; }
.q-tbl tr.sel td { background: var(--panel-2); }
.q-tbl tr.work td { padding-top: 0; padding-bottom: 14px; background: var(--panel-2); white-space: normal; }
.q-tbl tr.work .eq { flex-direction: column; align-items: flex-start; gap: 4px; }
.asm { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 13px 18px; border-top: 1px solid var(--line); font-size: 13.5px; }
.asm .label { font-size: 10.5px; }
.asm b { font-weight: 500; }
.asm .chip { margin-left: auto; }

/* step 5: approve and export */
.ap-i { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ap-i .label { font-size: 10.5px; }
.ap-i h4 { font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; margin-top: 6px; line-height: 1.35; }
.ap-i p { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.ap-i .pa-btns { margin-top: 12px; }
.ap-why { margin-top: 10px; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 13px; color: var(--ink-3); background: var(--bg-2); }
.ap-why b { font-weight: 500; color: var(--ink-2); }
.ap-src { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ap-src > span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 13px; line-height: 1.3; }
.ap-src > span small { display: block; font-size: 11.5px; color: var(--ink-3); }
.ap-src > span.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ap-src .pa-sw { width: 18px; height: 18px; }
.ex-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 18px; }
.ex-f { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line-2); border-radius: 5px; }
.ex-f .ft-chip { align-self: flex-start; }
.ex-f b { font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.ex-f .chip { align-self: flex-start; }

/* free first project, right under the five steps */
.hw-free { padding: 0 0 128px; }
.hw-free .box { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 36px 40px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-2); }
.hw-free h2 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.028em; line-height: 1.15; }
.hw-free p { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.hw-free .ctas { margin-top: 0; }

/* around the loop: chat, decisions, your own package */
.around { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.around > * { min-width: 0; }
.around h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 500; letter-spacing: -.034em; line-height: 1.06; text-wrap: balance; max-width: 13em; }
.around > div:first-child p { font-size: 17.5px; line-height: 1.6; color: var(--ink-2); margin-top: 22px; max-width: 30em; }
.around .pa-chips { margin-top: 24px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 112px; }
.duo > div { border-top: 1px solid var(--line-2); padding-top: 28px; min-width: 0; }
.duo h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.028em; line-height: 1.12; }
.duo p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); margin-top: 16px; max-width: 34em; }
.duo .pa-chips { margin-top: 22px; }

/* a chat thread */
.chat { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat .q, .chat .a { max-width: 86%; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.chat .q { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 3px; }
.chat .a { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.chat .a .eq { margin-top: 8px; flex-direction: column; align-items: flex-start; gap: 3px; }
.chat .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chat .src span { height: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 11.5px; color: var(--ink-2); }
.chat-ch { display: flex; gap: 6px; padding: 12px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.chat-ch span { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 13px; font-size: 12px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.chat-ch span.on { background: rgba(var(--ink-rgb), .1); color: var(--ink); box-shadow: none; }

/* ------------------------------------------------------------------ why modou */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pain > article { display: flex; flex-direction: column; min-width: 0; }
.pain .figure { aspect-ratio: 4 / 3; }
.pain .n { display: block; margin-top: 26px; font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--ink-3); }
.pain h3 { font-size: clamp(22px, 1.9vw, 27px); font-weight: 500; letter-spacing: -.026em; line-height: 1.15; margin-top: 14px; text-wrap: balance; }
.pain p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin-top: 12px; }
.stamp { margin-top: auto; padding-top: 22px; }
.stamp span { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; border: 1px solid rgba(var(--accent-rgb), .55); border-radius: 3px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; color: var(--accent-hi); }
.stamp span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px; }
.tool { display: grid; grid-row: span 5; grid-template-rows: subgrid; border-top: 1px solid var(--line-2); padding: 26px 0 0; min-width: 0; }
.tool h3 { font-size: 24px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.tool .kind { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
.tool dl { display: contents; }
.tool dl > div { padding-top: 22px; }
.tool dt { font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); }
.tool dd { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-top: 6px; }
.tool.me { background: var(--panel); border: 1px solid rgba(var(--accent-rgb), .6); border-radius: 8px; padding: 26px 22px 24px; margin-top: -1px; }
.tool.me h3 { display: flex; align-items: center; gap: 10px; }
.tool.me h3 svg { height: 22px; width: auto; color: var(--ink); }
.tool.me dd { color: var(--ink); }
.tool dl.diff { display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(var(--accent-rgb), .45); }
.tool dl.diff > div { padding-top: 0; }
.tool .diff dt { color: var(--accent-hi); }
.tool .diff dd { font-weight: 500; }

.promises { margin-top: 40px; border-top: 1px solid var(--line-2); }
.promises li { display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.promises .num { font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--ink-3); padding-top: 4px; }
.promises b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -.016em; line-height: 1.3; }
.promises p { font-size: 15.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.55; }
.appr .opp { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.appr .opp h4 { font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; margin-top: 10px; }
.appr .opp p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.appr .srcs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.appr .srcs > span { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; line-height: 1.3; }
.appr .srcs small { display: block; font-size: 11.5px; color: var(--ink-3); }
.appr .draft { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.appr .draft .label { font-size: 10.5px; color: var(--accent-hi); }
.appr .draft blockquote { margin-top: 10px; padding: 12px 14px; border-left: 2px solid var(--line-3); background: var(--panel-2); font-size: 14px; line-height: 1.55; color: var(--ink); border-radius: 0 4px 4px 0; }
.appr .act { padding: 14px 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.appr .rcpt { display: flex; gap: 10px; align-items: flex-start; margin: 0 18px 18px; padding: 12px 14px; border-radius: 5px; background: var(--ok-bg); color: var(--ok); font-size: 13px; line-height: 1.5; }
.appr .rcpt svg { width: 14px; height: 14px; flex: none; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ------------------------------------------------------------------ integrations */
.flow { display: grid; grid-template-columns: 1fr 200px 1fr; align-items: center; }
.flow > * { min-width: 0; }
.flow .panel .li { padding: 11px 16px; font-size: 13.5px; }
.flow-mid { position: relative; height: 100%; display: grid; place-items: center; }
.flow-mid::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.flow-mid .dot { position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent-hi); animation: pa-run 3.2s var(--ease-io) infinite; }
.flow-mid .dot + .dot { animation-delay: 1.6s; }
@keyframes pa-run { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 6px); opacity: 0; } }
.flow-node { position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 10px var(--bg); display: grid; place-items: center; color: var(--ink); }
.flow-node svg { height: 40px; width: auto; }
.flow-cap { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; color: var(--ink-3); gap: 24px; }

.in-list .li { padding: 16px 0; grid-template-columns: 96px 1fr; gap: 20px; align-items: baseline; font-size: 16px; color: var(--ink); line-height: 1.5; }
.in-list { border-top: 1px solid var(--line-2); }
.in-list .li .types { display: flex; flex-wrap: wrap; gap: 4px; }
.in-list .li small { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.in-note { margin-top: 26px; font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 40em; }
.mailbox { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); }
.mailbox svg { width: 28px; height: 28px; fill: none; stroke: var(--ink-2); stroke-width: 1.3; }
.mailbox p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.mailbox .chip { margin-bottom: 10px; }

.outs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.out-c { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel); min-width: 0; }
.out-c .hd2 { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.out-c .fts { display: flex; gap: 6px; }
.out-c h3 { font-size: 28px; font-weight: 500; letter-spacing: -.028em; line-height: 1.1; margin-top: 26px; }
.out-c p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin-top: 12px; }
.out-c .pa-chips { margin-top: auto; padding-top: 24px; }
.out-c .pkgs { font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin-top: auto; padding-top: 24px; }
.out-c .pkgs + .pa-chips { margin-top: 10px; padding-top: 0; }
.ex-prev { margin-top: 48px; }
.ex-prev .sheet-bar .fts { display: flex; gap: 6px; }

.two-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two-facts > div { border-top: 1px solid var(--line-2); padding-top: 28px; min-width: 0; }
.two-facts h2 { font-size: clamp(26px, 2.5vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.two-facts p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); margin-top: 16px; max-width: 34em; }
.two-facts .chat-ch { padding: 0; border: 0; margin-top: 22px; }

.coming .rows dd { letter-spacing: .14em; }

/* ------------------------------------------------------------------ responsive */
@media (prefers-reduced-motion: reduce) {
  .flow-mid .dot { animation: none; display: none; }
  .up .li .bar i { animation: none !important; }
}
@media (max-width: 1100px) {
  .hw-step, .around { grid-template-columns: 1fr; gap: 48px; padding: 104px 0; }
  .around { padding: 0; }
  .hw-txt { position: static; }
  .hw-index ol { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .hw-index ol::-webkit-scrollbar { display: none; }
  .pain { grid-template-columns: 1fr 1fr; }
  .pain > article:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .pain > article:last-child .figure { grid-row: span 5; }
  .pain > article:last-child .n { margin-top: 0; }
  .tools { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .tool:nth-child(n+3) { margin-top: 48px; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-mid { height: 96px; }
  .flow-mid::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow-mid .dot { left: 50%; margin-left: -3px; animation-name: pa-run-v; }
  @keyframes pa-run-v { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: calc(100% - 6px); opacity: 0; } }
  .flow-cap { display: none; }
  .outs, .two-facts, .duo { grid-template-columns: 1fr; }
  .duo { margin-top: 88px; gap: 56px; }
}
@media (max-width: 760px) {
  .hw-step { padding: 80px 0; gap: 36px; }
  .hw-txt h2 { font-size: 30px; margin-top: 18px; }
  .hw-txt p, .around > div:first-child p { font-size: 16.5px; margin-top: 16px; }
  .hw-index ol { display: block; overflow: visible; padding: 8px 0; }
  .hw-index li + li { border-left: 0; border-top: 1px solid var(--line); }
  .hw-index a, .hw-index li:first-child a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; }
  .hw-index b { margin-top: 0; font-size: 14.5px; max-width: none; }
  .hw-index a:hover { background: none; }
  .moment > .panel { margin: -48px 10px 0; }
  .moment .figure { aspect-ratio: 4 / 3; }
  .moment.crop-l .figure img { object-position: 74% 50%; }
  .drop { margin: 14px 14px 4px; padding: 16px 14px; }
  .up .li { grid-template-columns: auto 1fr auto; padding: 11px 14px; }
  .up .li .bar { display: none; }
  .read { grid-template-columns: 1fr; }
  .read-l { border-right: 0; border-bottom: 1px solid var(--line); }
  .pg { flex-direction: row; align-items: stretch; gap: 14px; }
  .pg-sheet { flex: none; width: 150px; aspect-ratio: auto; height: 196px; padding: 14px 12px; }
  .pg-meta { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-width: 0; }
  .pg-hd { flex-direction: column; gap: 4px; }
  .conf { grid-template-columns: 1fr; }
  .conf > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .conf > div { padding: 14px; }
  .conf-k, .conf-t, .conf-q { padding-left: 14px; padding-right: 14px; }
  .bu { grid-template-columns: 1fr; }
  .bu-x { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; }
  .bu-x svg { width: 120px; flex: none; }
  .q-tbl .o { display: none; }
  .asm { padding: 12px 14px; }
  .asm .chip { margin-left: 0; }
  .ap-i { padding: 14px; }
  .ap-src { grid-template-columns: 1fr; }
  .ex-row { grid-template-columns: 1fr; padding: 14px; }
  .ex-f { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .ex-f b { flex: 1; min-width: 0; }
  .hw-free { padding-bottom: 104px; }
  .hw-free .box { padding: 26px 22px; flex-direction: column; align-items: flex-start; gap: 22px; }
  .duo { margin-top: 72px; }
  .chat { padding: 14px; }
  .chat .q, .chat .a { max-width: 92%; font-size: 13.5px; }
  .pain { grid-template-columns: 1fr; gap: 64px; }
  .pain > article:last-child { grid-column: auto; display: flex; }
  .pain > article:last-child .n { margin-top: 26px; }
  .tools { grid-template-columns: 1fr; gap: 0; }
  .tool { grid-row: auto; grid-template-rows: none; display: block; padding: 24px 0 28px; }
  .tool:nth-child(n+3) { margin-top: 0; }
  .tool.me { padding: 24px 18px; margin-top: 8px; }
  .tool dl { display: block; }
  .tool dl > div { padding-top: 16px; }
  .promises li { grid-template-columns: 32px 1fr; padding: 18px 0; }
  .promises b { font-size: 17.5px; }
  .appr .srcs { grid-template-columns: 1fr; }
  .appr .opp, .appr .draft { padding: 14px; }
  .appr .act { padding: 12px 14px; }
  .appr .rcpt { margin: 0 14px 14px; }
  .in-list .li { grid-template-columns: 1fr; gap: 8px; font-size: 15.5px; }
  .flow .panel .li { padding: 11px 14px; gap: 10px; }
  .flow .li > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .flow .li em { display: none; }
  .flow .li { grid-template-columns: auto 1fr auto; }
  .coming .rows dd { display: none; }
  .mailbox { grid-template-columns: 1fr; padding: 20px; gap: 12px; }
  .out-c { padding: 22px; }
  .out-c h3 { font-size: 24px; margin-top: 20px; }
}
