/* /commercial-moves without the panel hero (owner, Nov 10 2026: «Сделай тоже вид новый но не такой же как прошлая страница а
   в совсем новом виде современном но в нашем стиле», then «ок выгружай коммерческую страницу на сайт»). Not the
   long-distance page's grid of cells: an open page on white.
   - First screen: the deal itself on one line, from the estimate to the close, the agreed price holding along it.
   - Then:
     - what is built in, as oat tiles;
     - the office's Items tab;
     - AI: an office photo read into items, and MovePilot asked about the job;
     - the Billing switch, drawn against the hours of one day;
     - the product's screens on oat with the words around them.
   Our tokens: navy, oat, hairlines, Figtree / Geist / Geist Mono. One accent, the commercial amber, only where the price
   is. MovePilot carries our logo mark. Prefix ofc-, body.ofc. The photo's script: assets/commercial.js. */

.ofc{ --hair: #e3e6ec; --ink-s: #4a5160; --com: #d97706; --com-ink: #a65d03; --oat-line: #e0ddd5; background: #fff; }

/* ── first screen: the words, then the deal on one line ── */
.ofc-hero{ padding: calc(var(--hdr) + clamp(28px, 3.4vw, 52px)) 0 0; }
.ofc-top{ display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; padding-bottom: clamp(36px, 4vw, 56px); }
.ofc-hero h1{ max-width: 12em; margin: 0; color: var(--navy); font: 600 clamp(44px, 4.9vw, 72px)/1 var(--font); letter-spacing: -.045em; text-wrap: balance; }
.ofc-intro > p{ max-width: 34em; margin: 0 0 24px; color: var(--ink-s); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.ofc-ctas{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.ofc-ghost{ padding-bottom: 3px; border-bottom: 1.5px solid rgba(6, 26, 63, .3); color: var(--navy); font: 500 17px/1 var(--font-ui); transition: border-color .2s; }
.ofc-ghost:hover{ border-color: var(--navy); }

.ofc-deal{ border-top: 1px solid var(--hair); }
.ofc-deal-h{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 18px 0 34px; color: var(--ink-s); font: 500 14px/1.3 var(--font-ui); }
.ofc-deal-h b{ color: var(--navy); font-weight: 600; }
.ofc-id{ font: 500 13px/1 var(--font-mono); }
.ofc-bill-v{ margin-left: auto; }

/* a station: its dot on the line, and the line on to the next one — dashed while it is an estimate, our amber once the
   price is agreed */
.ofc-rail{ display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.ofc-st{ position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding: 36px 28px 0 0; }
.ofc-st::before{ content: ""; position: absolute; left: 0; top: 0; z-index: 1; box-sizing: border-box; width: 14px; height: 14px; border-radius: 50%; background: var(--com); }
.ofc-st.est::before{ border: 2px solid #9aa3b2; background: #fff; }
.ofc-st::after{ content: ""; position: absolute; left: 14px; right: 0; top: 5.5px; border-top: 3px solid var(--com); }
.ofc-st.est::after{ left: 18px; right: 4px; top: 6px; border-top: 2px dashed #b7bec9; }
.ofc-st:last-child::after{ display: none; }
.ofc-st > small{ display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--ink-s); font: 500 13px/1.2 var(--font-ui); }
.ofc-st > b{ color: var(--navy); font: 600 clamp(20px, 1.9vw, 27px)/1.05 var(--font-mono); letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ofc-st.est > b{ color: #5d6575; }
.ofc-st > span{ color: var(--ink-s); font-size: 13.5px; line-height: 1.4; }
.ofc-ok{ display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e6f5ef; color: #1f7a5c; }
.ofc-ok svg{ width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.ofc-sigs{ display: flex; gap: 12px; width: 100%; max-width: 230px; }
.ofc-sigs svg{ flex: 1; min-width: 0; height: 32px; padding-bottom: 3px; border-bottom: 1px solid var(--hair); overflow: visible; }
.ofc-sigs path{ fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* once, on arrival: the stations come in along the line, the line draws on to each next one, then the two sign */
.js .ofc-st::before{ animation: ofc-pop .35s var(--ease) calc(.2s + var(--i) * .2s) both; }
.js .ofc-st::after{ animation: ofc-draw .45s var(--ease) calc(.32s + var(--i) * .2s) both; }
.js .ofc-st > *{ animation: ofc-in .5s var(--ease) calc(.28s + var(--i) * .2s) both; }
.js .ofc-sigs path{ stroke-dasharray: 1; animation: ofc-sign .9s ease-in-out 1.15s both; }
.js .ofc-sigs svg + svg path{ animation-delay: 1.75s; }
@keyframes ofc-pop{ from{ transform: scale(0); } }
@keyframes ofc-draw{ from{ clip-path: inset(0 100% 0 0); } to{ clip-path: inset(0 0 0 0); } }
@keyframes ofc-drop{ from{ clip-path: inset(0 0 100% 0); } to{ clip-path: inset(0 0 0 0); } }
@keyframes ofc-in{ from{ opacity: 0; transform: translateY(6px); } }
@keyframes ofc-sign{ from{ stroke-dashoffset: 1; } to{ stroke-dashoffset: 0; } }

/* ── the sections ── */
.ofc-sec{ padding: clamp(72px, 7vw, 112px) 0 0; }
.ofc-sec.sec-tight{ padding-bottom: clamp(72px, 7vw, 112px); }
.ofc-head{ display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px 64px; align-items: end; margin-bottom: 32px; }
.ofc-head h2{ margin: 0; color: var(--navy); font: 600 clamp(32px, 3.4vw, 48px)/1.04 var(--font); letter-spacing: -.035em; text-wrap: balance; }
.ofc-head p{ max-width: 34em; margin: 0; color: var(--ink-s); font-size: 16.5px; line-height: 1.5; text-wrap: pretty; }
.ofc h3{ margin: 0; color: var(--navy); font: 600 clamp(22px, 2vw, 28px)/1.15 var(--font); letter-spacing: -.025em; text-wrap: balance; }
.ofc-k{ display: inline-flex; align-items: center; gap: 8px; color: var(--ink-s); font: 500 13px/1 var(--font-ui); }
.ofc-k .ico{ width: 16px; height: 16px; }

/* the app's screens sit on oat, framed by a hairline instead of the old shadows and gradients */
.ofc-stage{ border-radius: 24px; background: var(--oat); }
.ofc-stage svg{ stroke-linecap: round; stroke-linejoin: round; }
.ofc-pad{ padding: clamp(16px, 2.4vw, 32px); }
.ofc .cmo, .ofc .cmx{ padding: 0; border-radius: 0; background: none; }
.ofc .cmo-card, .ofc .cmx-modal, .ofc .cmx-act, .ofc .cmq-card, .ofc .cmk-paper, .ofc .cmy-card{ box-shadow: 0 0 0 1px var(--hair); }
.ofc-notes{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 40px; margin-top: 28px; }
.ofc-notes p{ margin: 0; padding-top: 16px; border-top: 1px solid var(--hair); color: var(--ink-s); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.ofc-notes b{ color: var(--navy); font-weight: 600; }

/* built in: what the system does, an icon and a line each, on oat tiles (owner, Nov 10: «по простому … иконками и
   текстами просто понятно и красиво») */
.ofc-feats{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ofc-feats li{ display: grid; align-content: start; gap: 8px; padding: 26px 24px 28px; border-radius: 20px; background: var(--oat); }
.ofc-feats i{ display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 14px; background: #fff; color: var(--navy); box-shadow: 0 0 0 1px var(--oat-line); }
.ofc-feats .ico{ width: 22px; height: 22px; }
.ofc-feats b{ color: var(--navy); font: 600 18px/1.25 var(--font); letter-spacing: -.015em; }
.ofc-feats p{ max-width: 22em; margin: 0; color: var(--ink-s); font-size: 15px; line-height: 1.45; text-wrap: pretty; }

/* AI: the photo read into items, then MovePilot asked about the job — the text beside each */
.ofc-ai-row{ display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 56px; align-items: center; }
.ofc-ai-row + .ofc-ai-row{ margin-top: clamp(40px, 4.4vw, 72px); }
.ofc-ai-t{ display: grid; align-content: start; justify-items: start; gap: 14px; }
.ofc-ai-t > p{ max-width: 30em; margin: 0; color: var(--ink-s); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
.ofc-ai-t .ofc-k .ico{ color: var(--blue); }
/* the photo's row runs the full width: its words in a line above, the photo big under them */
.ofc-ai-wide{ grid-template-columns: minmax(0, 1fr); gap: 22px; }
.ofc-ai-wide .ofc-ai-t{ grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px 64px; align-items: end; justify-items: stretch; }
.ofc-ai-wide .ofc-ai-t > div{ display: grid; justify-items: start; gap: 14px; }
.ofc-asks{ display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.ofc-asks li{ padding: 9px 14px; border-radius: 12px; background: var(--oat); color: var(--navy); font: 500 14px/1.35 var(--font-ui); }
.ofc-mark{ flex: none; display: block; width: 30px; height: 28px; }   /* MovePilot is marked with our logo (owner, Nov 10) */

/* the photo: boxes over what it finds, the review list filling beside it */
.ofc-scan{ display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px; padding: 14px; }
.ofc-scan-photo{ position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 14px; background: #2a2f3a; }
.ofc-scan-photo img{ display: block; width: 100%; height: 100%; object-fit: cover; }
.ofc-scan-boxes{ position: absolute; inset: 0; width: 100%; height: 100%; }
.ofc-scan-boxes rect{ fill: rgba(143, 195, 255, .12); stroke: #8fc3ff; stroke-width: 5; opacity: 0; transition: opacity .35s var(--ease); }
.ofc-scan-boxes rect.on{ opacity: 1; }
.ofc-ptag{ position: absolute; z-index: 2; padding: 4px 7px; border-radius: 6px 6px 6px 2px; background: #8fc3ff; color: var(--navy); font: 600 11px/1 var(--font-ui); white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(calc(-100% - 2px)); transition: opacity .3s var(--ease); }
.ofc-ptag.on.big, .ofc-ptag.now{ opacity: 1; }
.ofc-scan-line{ position: absolute; left: 0; right: 0; top: 0; height: 30%; border-bottom: 2px solid #8fc3ff; background: rgba(143, 195, 255, .16); opacity: 0; pointer-events: none; }
.ofc-scan-room{ display: grid; gap: 6px; }
.ofc-scan-room small{ color: var(--ink-s); font-size: 12px; font-weight: 500; }
.ofc-scan-room span{ display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 11px; border: 1px solid #e4e4e9; border-radius: 8px; color: var(--navy); font-size: 13.5px; }
.ofc-scan-room svg{ width: 15px; height: 15px; fill: none; stroke: #8a8f99; stroke-width: 2; }
.ofc-scan-panel{ display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 12px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--hair); font-family: var(--font-ui); }
.ofc-scan-h{ display: flex; align-items: center; gap: 10px; }
.ofc-scan-h b{ display: block; color: var(--navy); font-size: 15px; font-weight: 600; }
.ofc-scan-h small{ display: block; margin-top: 2px; color: var(--ink-s); font-size: 12.5px; }
.ofc-scan-list{ display: grid; align-content: start; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ofc-scan-list li{ display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 10px 6px 6px; border: 1px solid #eef0f3; border-radius: 10px; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ofc-scan-list li[data-k]:not(.on){ opacity: 0; transform: translateX(8px); }
.ofc-scan-list img{ flex: none; width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: #f6f6f8; }
.ofc-scan-list li > span{ flex: 1; min-width: 0; }
.ofc-scan-list b{ display: block; overflow: hidden; color: var(--navy); font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.ofc-scan-list small{ display: block; margin-top: 3px; color: var(--ink-s); font: 500 11px/1 var(--font-mono); }
.ofc-scan-list em{ flex: none; height: 24px; padding: 0 8px; border-radius: 7px; background: #eef4fe; color: #1559c9; font: 600 12px/24px var(--font-mono); font-style: normal; }
.ofc-scan-list strong{ flex: none; min-width: 50px; color: var(--navy); font: 600 12.5px/1 var(--font-mono); text-align: right; }
.ofc-scan-list .ofc-scan-done{ display: none; border-color: transparent; background: #e6f6ec; }
.ofc-scan-done > i{ flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #fff; color: #16794a; }
.ofc-scan-done > i svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.ofc-scan-list .ofc-scan-done b{ color: #16794a; }
.ofc-scan.is-done li[data-k]{ display: none; }
.ofc-scan.is-done .ofc-scan-done{ display: flex; animation: ofc-in .45s var(--ease) both; }
.ofc-scan-f{ display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid #eef0f3; }
.ofc-scan-f small{ display: block; color: var(--ink-s); font-size: 11.5px; }
.ofc-scan-f b{ display: block; margin-top: 3px; color: var(--navy); font: 600 16px/1 var(--font-mono); }
.ofc-scan-btn{ display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--blue); color: #fff; font: 600 13px/1 var(--font-ui); white-space: nowrap; transition: background-color .3s; }
.ofc-scan-btn.done{ background: #16a34a; }

/* MovePilot, asked about Grace's move: the question, the answer with the job's card, and a text it proposes */
.ofc-chat{ display: grid; place-items: center; padding: clamp(18px, 2.6vw, 40px); }
.ofc-mp{ display: grid; width: min(100%, 500px); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--hair); font-family: var(--font-ui); }
.ofc-mp-h{ display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid #eef0f3; }
.ofc-mp-h b{ display: block; color: var(--navy); font-size: 14.5px; font-weight: 600; }
.ofc-mp-h small{ display: block; margin-top: 1px; color: var(--ink-s); font-size: 12px; }
.ofc-mp-body{ display: grid; gap: 14px; padding: 18px 16px; }
.ofc-q{ justify-self: end; max-width: 86%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--oat); color: var(--navy); font-size: 14px; line-height: 1.45; }
.ofc-a{ position: relative; display: grid; gap: 12px; color: #2a2e35; font-size: 14px; line-height: 1.55; }
.ofc-a > p{ margin: 0; }
.ofc-a b{ color: var(--navy); font-weight: 600; }
.ofc-dots{ position: absolute; left: 0; top: 0; display: none; gap: 4px; padding: 11px 12px; border-radius: 12px; background: var(--oat); }
.ofc-dots i{ width: 6px; height: 6px; border-radius: 50%; background: #9aa3b2; animation: ofc-dot 1s ease-in-out infinite; }
.ofc-dots i:nth-child(2){ animation-delay: .15s; }
.ofc-dots i:nth-child(3){ animation-delay: .3s; }
.ofc-jc{ display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid #eef0f3; border-radius: 12px; }
.ofc-jc-d{ display: grid; justify-items: center; padding: 6px 0; border-radius: 9px; background: #eef4fe; color: #1559c9; }
.ofc-jc-d small{ font: 600 9.5px/1.2 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.ofc-jc-d b{ color: inherit; font: 700 17px/1.1 var(--font-mono); }
.ofc-jc-m{ min-width: 0; }
.ofc-jc-m b{ display: block; font-size: 13.5px; line-height: 1.3; }
.ofc-jc-m em{ margin-left: 6px; color: var(--ink-s); font: 500 11.5px/1 var(--font-mono); font-style: normal; }
.ofc-jc-m small{ display: block; margin-top: 3px; overflow: hidden; color: var(--ink-s); font-size: 12px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.ofc-jc-v{ text-align: right; }
.ofc-jc-v b{ display: block; font: 600 14px/1.2 var(--font-mono); }
.ofc-jc-v small{ display: block; margin-top: 3px; color: #16794a; font-size: 11.5px; font-weight: 600; }
.ofc-act{ display: grid; gap: 9px; padding: 12px; border: 1px solid #dfe6f3; border-radius: 12px; background: #f8faff; }
.ofc-act-h{ display: flex; align-items: center; gap: 8px; }
.ofc-act-h svg{ flex: none; width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 2; }
.ofc-act-h b{ flex: 1; font-size: 13.5px; }
.ofc-act-h em{ padding: 4px 7px; border-radius: 6px; background: #fff4e5; color: var(--com-ink); font: 600 10.5px/1 var(--font-ui); font-style: normal; white-space: nowrap; }
.ofc-act-r{ display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; font-size: 12.5px; line-height: 1.45; }
.ofc-act-r span{ color: var(--ink-s); }
.ofc-act-r div{ color: var(--navy); }
.ofc-act-r.long div{ padding: 8px 10px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px #e6ebf3; }
.ofc-act-b{ display: flex; gap: 8px; padding-top: 2px; }
.ofc-act-b span{ display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #e1e5ec; color: var(--navy); font: 600 12.5px/1 var(--font-ui); }
.ofc-act-b .go{ background: var(--navy); box-shadow: none; color: #fff; }
.ofc-mp-in{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 12px 12px; padding: 9px 9px 9px 14px; border-radius: 12px; background: var(--oat); color: #8a8f99; font-size: 13.5px; }
.ofc-mp-in span{ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ofc-mp-in i{ flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--navy); color: #fff; }
.ofc-mp-in svg{ width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
/* the conversation plays once it is in view: the question, MovePilot typing, then its answer piece by piece */
.js .ofc-chat .ofc-q, .js .ofc-chat .ofc-a > :not(.ofc-dots){ opacity: 0; }
.js .ofc-chat.is-in .ofc-q{ animation: ofc-show .45s var(--ease) .35s both; }
.js .ofc-chat.is-in .ofc-dots{ display: flex; animation: ofc-typing 1.15s linear .85s both; }
.js .ofc-chat.is-in .ofc-a > :nth-child(2){ animation: ofc-show .5s var(--ease) 2s both; }
.js .ofc-chat.is-in .ofc-a > :nth-child(3){ animation: ofc-show .5s var(--ease) 2.35s both; }
.js .ofc-chat.is-in .ofc-a > :nth-child(4){ animation: ofc-show .5s var(--ease) 2.75s both; }
.js .ofc-chat.is-in .ofc-a > :nth-child(5){ animation: ofc-show .5s var(--ease) 3.1s both; }
@keyframes ofc-show{ from{ opacity: 0; transform: translateY(6px); } to{ opacity: 1; transform: none; } }
@keyframes ofc-typing{ 0%{ opacity: 0; } 12%{ opacity: 1; } 88%{ opacity: 1; } 100%{ opacity: 0; visibility: hidden; } }
@keyframes ofc-dot{ 0%, 60%, 100%{ opacity: .45; transform: none; } 30%{ opacity: 1; transform: translateY(-3px); } }

/* the office: its Items tab beside what the volume sets */
.ofc-office{ display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(16px, 2.6vw, 40px); padding: clamp(16px, 2.4vw, 32px); }
.ofc-nums{ display: grid; align-content: center; margin: 0; }
.ofc-nums > div{ display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--oat-line); }
.ofc-nums > div:first-child{ border-top: 0; }
.ofc-nums dt{ color: var(--ink-s); font: 500 13px/1 var(--font-ui); }
.ofc-nums dd{ margin: 0; }
.ofc-nums dd b{ display: block; color: var(--navy); font: 600 clamp(30px, 3vw, 44px)/1 var(--font-mono); letter-spacing: -.045em; }
.ofc-nums dd span{ display: block; margin-top: 9px; color: var(--ink-s); font-size: 13.5px; line-height: 1.4; }

/* the price: the Billing switch, the rule beside the day it is drawn against */
.ofc-bill{ position: relative; }
.ofc-bill > input{ position: absolute; width: 1px; height: 1px; opacity: 0; }
.ofc-seg{ display: inline-flex; align-items: center; gap: 4px; margin-bottom: 20px; padding: 4px; border-radius: 12px; background: var(--oat); }
.ofc-seg > span{ padding: 0 10px 0 12px; color: var(--ink-s); font: 500 13px/1 var(--font-ui); }
.ofc-seg label{ display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 9px; color: var(--ink-s); font: 500 15px/1 var(--font-ui); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.ofc-seg label:hover{ color: var(--navy); }
#ofc-flat:checked ~ .ofc-seg [for="ofc-flat"], #ofc-hourly:checked ~ .ofc-seg [for="ofc-hourly"]{ background: #fff; color: var(--navy); box-shadow: 0 0 0 1px var(--hair); }
#ofc-flat:focus-visible ~ .ofc-seg [for="ofc-flat"], #ofc-hourly:focus-visible ~ .ofc-seg [for="ofc-hourly"]{ outline: 2px solid var(--blue); outline-offset: 2px; }
#ofc-flat:checked ~ .ofc-bill-body .m-hourly, #ofc-hourly:checked ~ .ofc-bill-body .m-flat{ display: none; }
.ofc-bill-body{ display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; border: 1px solid var(--hair); border-radius: 24px; }
.ofc-bill-txt{ padding: clamp(24px, 2.8vw, 40px); }
.ofc-m{ display: grid; align-content: start; justify-items: start; gap: 14px; animation: ofc-in .4s var(--ease) both; }
.ofc-m > p{ max-width: 32em; margin: 0; color: var(--ink-s); font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
.ofc .ofc-proof{ display: block; width: 100%; margin-top: 8px; background: none; }
.ofc .ofc-proof .cmq-card{ width: 100%; }

.ofc-chart{ display: grid; align-content: start; gap: 20px; margin: 0; padding: clamp(20px, 2.6vw, 36px); background: var(--oat); }
.ofc-leg{ display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-s); font: 500 13px/1.3 var(--font-ui); }
.ofc-leg span{ display: inline-flex; align-items: center; gap: 8px; }
.ofc-leg span::before{ content: ""; width: 18px; border-top: 2px solid var(--navy); }
.ofc-leg .b::before{ border-top: 3.5px solid var(--com); }
.ofc-plot{ position: relative; aspect-ratio: 16 / 10; margin: 4px 0 30px 52px; }
.ofc-plot > svg{ position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ofc-plot path{ fill: none; vector-effect: non-scaling-stroke; }
.ofc-grid{ stroke: var(--oat-line); stroke-width: 1; }
.ofc-hours{ stroke: var(--navy); stroke-width: 2; }
.ofc-billed{ stroke: var(--com); stroke-width: 3.5; animation: ofc-in .4s var(--ease) both; }
.ofc-cap{ stroke: var(--com); stroke-width: 1.5; stroke-dasharray: 5 5; }
.ofc-band{ position: absolute; left: 0; top: 0; bottom: 0; width: 40%; border-right: 1px dashed #c4c9d2; background: rgba(6, 26, 63, .035); }
.ofc-band span{ position: absolute; left: 10px; top: 9px; color: var(--ink-s); font: 500 12px/1 var(--font-ui); white-space: nowrap; }
.ofc-end{ position: absolute; left: 70%; top: 0; bottom: 0; border-left: 1px dashed #aab2c0; }
.ofc-dot{ position: absolute; z-index: 1; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px var(--oat); }
.ofc-dot.b{ width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--com); animation: ofc-pop .35s var(--ease) both; }
.ofc-tag{ position: absolute; left: calc(70% + 14px); top: calc(var(--y) * 1%); display: grid; gap: 4px; color: var(--navy); font: 600 14px/1 var(--font-mono); white-space: nowrap; transform: translateY(-50%); }
.ofc-tag.b{ color: var(--com-ink); animation: ofc-in .4s var(--ease) both; }
.ofc-tag small{ color: var(--ink-s); font: 500 11.5px/1 var(--font-ui); }
.ofc-y span{ position: absolute; right: calc(100% + 10px); top: calc(var(--y) * 1%); color: var(--ink-s); font: 500 12px/1 var(--font-mono); white-space: nowrap; transform: translateY(-50%); }
.ofc-x span{ position: absolute; top: calc(100% + 11px); left: calc(var(--x) * 1%); color: var(--ink-s); font: 500 12px/1 var(--font-mono); white-space: nowrap; transform: translateX(-50%); }
.ofc-x span:first-child{ transform: none; }
.ofc-x .ofc-at{ color: var(--navy); font-weight: 600; }
.ofc-chart figcaption{ max-width: 40em; color: var(--ink-s); font-size: 14.5px; line-height: 1.5; }
/* drawn once it is in view: the plot is uncovered from the left */
.js .ofc-plot::after{ content: ""; position: absolute; z-index: 2; inset: -8px -110px -8px -2px; background: var(--oat); transform-origin: right; pointer-events: none; }
.js .ofc-chart.is-in .ofc-plot::after{ transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }

/* signed on site, paid like a business: two screens, their words under them, in line on a wide screen */
.ofc-pair{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ofc-tile .ofc-stage{ display: grid; place-items: center; min-height: 380px; padding: clamp(20px, 2.6vw, 40px); }
.ofc .ofc-stage.cmk, .ofc .ofc-stage.cmy{ background: var(--oat); }
.ofc-tile-t{ display: grid; align-content: start; justify-items: start; gap: 10px; padding: 22px 4px 0; }
.ofc-tile-t p{ max-width: 34em; margin: 0; color: var(--ink-s); font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
@media (min-width: 1081px){
  .ofc-tile{ display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
}

/* the questions: the same markup, as cards two by two */
.ofc-faq .ofc-head .link{ margin-left: 4px; white-space: nowrap; }
.ofc .ofc-faq .faq-list{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; border: 0; }
.ofc .ofc-faq .faq-list details{ border: 1px solid var(--hair); border-radius: 16px; background: #fff; transition: border-color .2s; }
.ofc .ofc-faq .faq-list details[open]{ border-color: #c9cfd9; }
.ofc .ofc-faq .faq-list summary{ padding: 20px 22px; color: var(--navy); font-size: 17px; font-weight: 600; }
.ofc .ofc-faq .faq-list summary::after{ width: 26px; height: 26px; border-radius: 8px; }
.ofc .ofc-faq .faq-a{ padding: 0 22px 22px; color: var(--ink-s); font-size: 15.5px; }

/* the other move types: one line of links with the app's own chips */
.ofc-types{ display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.ofc-types h2{ margin: 0; padding: 22px 24px 22px 0; color: var(--navy); font: 600 22px/1.15 var(--font); letter-spacing: -.02em; }
.ofc-types a{ position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 44px 22px 22px; border-left: 1px solid var(--hair); color: var(--navy); transition: background-color .2s; }
.ofc-types a:hover{ background: var(--oat); }
.ofc-types b{ font: 600 17px/1.2 var(--font); letter-spacing: -.015em; }
.ofc-types small{ color: var(--ink-s); font-size: 13.5px; line-height: 1.4; }
.ofc-types .ico{ position: absolute; right: 18px; top: 24px; width: 16px; height: 16px; color: var(--ink-s); transition: transform .3s var(--ease); }
.ofc-types a:hover .ico{ transform: translateX(3px); }

/* ── narrower ── */
@media (max-width: 1080px){
  .ofc-top, .ofc-head, .ofc-ai-row, .ofc-ai-wide .ofc-ai-t{ grid-template-columns: minmax(0, 1fr); }
  .ofc-feats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ofc-office{ grid-template-columns: minmax(0, 1fr); }
  .ofc-nums{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ofc-nums > div{ padding: 4px 0 4px 18px; border-top: 0; border-left: 1px solid var(--oat-line); }
  .ofc-nums > div:first-child{ padding-left: 0; border-left: 0; }
  .ofc-bill-body, .ofc-pair{ grid-template-columns: minmax(0, 1fr); }
  .ofc .ofc-faq .faq-list{ grid-template-columns: minmax(0, 1fr); }
  .ofc-types{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ofc-types h2{ grid-column: 1 / -1; padding-bottom: 14px; }
  .ofc-types a{ border-top: 1px solid var(--hair); }
  .ofc-types a:nth-of-type(odd){ border-left: 0; padding-left: 0; }
}
@media (max-width: 860px){
  /* the line turns and runs down the side */
  .ofc-bill-v{ margin-left: 0; }
  .ofc-rail{ grid-template-columns: minmax(0, 1fr); }
  .ofc-st{ padding: 0 0 28px 34px; }
  .ofc-st:last-child{ padding-bottom: 0; }
  .ofc-st::before{ top: 2px; }
  .ofc-st::after{ left: 5.5px; right: auto; top: 16px; bottom: -2px; border-top: 0; border-left: 3px solid var(--com); }
  .ofc-st.est::after{ left: 6px; right: auto; top: 20px; bottom: 2px; border-top: 0; border-left: 2px dashed #b7bec9; }
  .js .ofc-st::after{ animation-name: ofc-drop; }
  .ofc-scan{ grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px){
  /* the owner's phone rule: 8px outside, 16px inside, nothing off the side */
  .ofc .wrap.ofc-edge{ width: calc(100% - 16px); }
  .ofc-top, .ofc-head, .ofc-ai-t, .ofc-deal, .ofc-notes, .ofc-tile-t, .ofc-seg, .ofc-types h2{ margin-inline: 8px; }
  .ofc-hero h1{ font-size: clamp(38px, 11vw, 50px); }
  .ofc-feats li{ padding: 22px 18px 24px; }
  .ofc-pad, .ofc-office, .ofc-chat{ padding: 12px; }
  .ofc-scan{ padding: 10px; }
  .ofc-ptag{ padding: 3px 5px; font-size: 10px; }
  .ofc-ptag.big:not(.now){ opacity: 0; }   /* a small photo: only the label of what is being found */
  .ofc-mp-body{ padding: 16px 12px; }
  .ofc-nums{ grid-template-columns: minmax(0, 1fr); padding: 4px 4px 2px; }
  .ofc-nums > div, .ofc-nums > div:first-child{ padding: 14px 0; border-left: 0; border-top: 1px solid var(--oat-line); }
  .ofc-nums > div:first-child{ border-top: 0; }
  .ofc-notes{ grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ofc-notes p{ padding-block: 14px; }
  .ofc-seg{ display: flex; }
  .ofc-seg > span{ display: none; }
  .ofc-seg label{ flex: 1; justify-content: center; padding: 0 10px; font-size: 14px; }
  .ofc-bill-txt{ padding: 22px 16px; }
  .ofc-chart{ padding: 20px 16px; }
  .ofc-plot{ margin-left: 44px; aspect-ratio: 4 / 3.6; }
  .ofc-y span, .ofc-x span{ font-size: 11px; }
  .ofc-tag{ left: calc(70% + 9px); font-size: 12.5px; }
  .ofc-tag small{ font-size: 10.5px; }
  .ofc-band span{ left: 7px; font-size: 11px; }
  .ofc-tile .ofc-stage{ min-height: 0; padding: 20px 12px; }
  .ofc .ofc-faq .faq-list summary{ padding: 18px 16px; font-size: 16px; }
  .ofc .ofc-faq .faq-a{ padding: 0 16px 18px; }
  .ofc-types{ grid-template-columns: minmax(0, 1fr); }
  .ofc-types a, .ofc-types a:nth-of-type(odd){ padding: 18px 44px 18px 8px; border-left: 0; }
}
@media (max-width: 560px){
  .ofc-feats{ grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce){
  .js .ofc-rail *, .js .ofc-rail ::before, .js .ofc-rail ::after, .ofc-m, .ofc-billed, .ofc-dot, .ofc-tag, .ofc-scan-done{ animation: none !important; }
  .js .ofc-plot::after{ display: none; }
  .js .ofc-chat .ofc-q, .js .ofc-chat .ofc-a > *{ opacity: 1 !important; animation: none !important; }
  .js .ofc-chat .ofc-dots{ display: none !important; }
}
