/* Need pages (one family: the problem, how it is done step by step, what you get, conditions, call).
   Layout only; existing tokens only; no dark mode. Shared by need-late-payments, need-late-orders, need-forecast,
   need-progress (built by work/b2b1/build.py). */
/* hero: the centred headline (handwritten first half), the line under it, the buttons, then the picture */
.hxneed{padding-bottom:clamp(64px,8vw,112px)}
.hxneed .hx-top-hand{margin-bottom:0}
.hxneed .eyebrow{justify-content:center;margin-bottom:10px}
.nd-lede{margin:22px auto 0;text-align:center}
.nd-cta{justify-content:center;margin-top:26px}
.nd-stage{position:relative;isolation:isolate;margin-top:clamp(40px,5vw,60px)}
.nd-stage::before{content:"";position:absolute;left:-24px;right:-24px;top:30%;bottom:-28px;border-radius:var(--r-pane);background:var(--pane,var(--paper-2));z-index:-1}
.nd-stage>.frame{position:relative;z-index:1}
.nd-stage>.hnote{z-index:3}
.nd-stage.notes-top{padding-top:88px}
.nd-stage.notes-bottom{padding-bottom:92px}
.nd-stage.notes-top::before{top:40%}
/* note arrows: d = the arrow points down, u = up; l / r = towards the left or right */
.hn-dl .harrow{left:-30px;top:calc(100% - 8px)}
.hn-dr .harrow{right:-34px;top:calc(100% - 8px);transform:scaleX(-1)}
.hn-ul .harrow{left:-36px;bottom:calc(100% - 10px);transform:scaleY(-1)}
.hn-ur .harrow{right:-40px;bottom:calc(100% - 10px);transform:rotate(180deg)}
.nd-pins{margin-top:18px}
.nd-pins li{font-size:15px}
.frame .co{z-index:6}

/* sounds familiar: three lines in the customer's words */
.nd-pains{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.nd-pains li{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:58px 26px 28px;min-width:0}
.nd-pains li::before{content:"\201C";position:absolute;left:22px;top:6px;font-family:var(--f-display);font-size:78px;line-height:1;color:var(--hl-yellow)}
.nd-pains q{display:block;quotes:none;font-family:var(--f-display);font-size:clamp(21px,1.9vw,25px);line-height:1.28;letter-spacing:-.01em}

/* how it works: numbered steps (each in its engine's colour), then the pictures of the steps */
.nd-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--rows,4),auto);grid-auto-flow:column;column-gap:clamp(32px,5vw,72px);border-top:1px solid var(--line-2)}
.nd-steps>li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:4px 14px;align-content:start;padding:22px 0 24px;border-bottom:1px solid var(--line);min-width:0}
.nd-steps .step-n{grid-row:1/3;margin-top:0;width:30px;height:30px;font-size:13px}
.nd-steps p{margin:0;font-size:16.5px;color:var(--ink-2)}
.nd-steps p>b{color:var(--ink);font-weight:600;font-size:17.5px}
.nd-steps .eng-tag{margin-top:6px;color:var(--ei)}
.nd-panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.4vw,32px);align-items:start;margin-top:clamp(48px,6vw,72px)}
.nd-panels.nd-one{grid-template-columns:minmax(0,1fr)}
.nd-panel{margin:0;display:grid;gap:12px;min-width:0}
.nd-pk{margin:0;display:flex;align-items:center;gap:10px;font-family:var(--f-mono);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.nd-pk .step-n{margin:0;width:22px;height:22px;font-size:11px}
.nd-call{display:flex;justify-content:center;margin:-24px 12px 0;position:relative;z-index:2;pointer-events:none}
.nd-call>span{display:inline-flex;align-items:center;gap:8px;max-width:100%}
.nd-call .co-dot{width:18px;height:18px}
.nd-call .co-dot::after{display:none}
.nd-call .co-l{white-space:normal;text-align:center;line-height:1.3}

/* what you get */
.nd-gets{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.nd-gets.c4{grid-template-columns:repeat(4,minmax(0,1fr))}
.nd-gets li{display:grid;gap:16px;align-content:start;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:22px 22px 24px;min-width:0}
.nd-gets .e-ico{background:var(--et);color:var(--ei)}
.nd-gets p{margin:0;font-size:17px;line-height:1.45}
.nd-gets-foot{margin-top:24px}

/* before you start, and the lists under a title on the left */
.ny-list.nd-pre li{color:var(--ink)}
.nd-side{display:grid;gap:14px;align-content:start}
.nd-side .more{width:max-content}

/* built with */
.nd-built{padding-block:clamp(36px,4vw,52px)}
.nd-built-row{display:flex;flex-wrap:wrap;gap:18px 40px;align-items:center;justify-content:space-between;border-top:1px solid var(--line-2);padding-top:clamp(28px,3vw,40px)}
.nd-built-row>p{margin:0;font-size:16.5px;color:var(--ink-2);display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
.nd-built-row .more{width:max-content}
.nd-final h2{font-size:clamp(36px,4.4vw,62px)}

/* small product parts used in the pictures */
.nd-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.nd-row b{font-size:14px}
.nd-sw{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--ink-2)}
.nd-sw i{width:30px;height:18px;border-radius:999px;background:var(--line-2);position:relative;flex:none}
.nd-sw i::after{content:"";position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:var(--surface)}
.nd-box{border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:grid;gap:8px;background:var(--surface-2);min-width:0}
.nd-box>b{font-size:12.5px}
.nd-fl{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12.5px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:7px 10px}
.nd-k{font-size:11px;font-weight:600;color:var(--ink-3);text-transform:uppercase;letter-spacing:.06em}
.nd-mail{border:1px solid var(--line);border-radius:10px;background:var(--surface);display:grid;min-width:0}
.nd-mail>div{padding:9px 12px;display:grid;gap:4px;border-bottom:1px solid var(--line);font-size:12.5px}
.nd-mail>div:last-child{border-bottom:0}
.nd-mail p{margin:0;line-height:1.5}
.nd-edit{font-size:11.5px;font-weight:600;color:var(--dash-i);text-decoration:underline;text-underline-offset:2px;justify-self:end}
.nd-acts{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}
.nd-vflow{display:grid;gap:0;justify-items:start;min-width:0}
.nd-vflow .node{min-width:0;width:100%}
.nd-wire{display:flex;align-items:center;gap:8px;height:30px;margin-left:24px;padding-left:12px;border-left:2px solid var(--line-2);font-size:11px;color:var(--ink-3)}
.nd-wire b{font-weight:600;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:1px 8px}
.nd-wire.ok{border-left-color:var(--good)}
.nd-steppanel{border:1px solid var(--line);border-radius:10px;background:var(--surface-2);padding:10px 12px;display:grid;gap:6px;font-size:12.5px}
.nd-steppanel .nd-fl{background:var(--surface)}
.nd-st{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap}
.nd-st .ico{width:12px;height:12px}
.nd-st.good{color:var(--good);background:var(--good-t)} .nd-st.warn{color:var(--warn);background:var(--warn-t)} .nd-st.bad{color:var(--bad);background:var(--bad-t)}
.nd-st.mute{color:var(--ink-2);background:var(--paper-2)}
.nd-chance{display:flex;align-items:center;gap:8px;white-space:nowrap}
.fbody>.bubble-q{justify-self:end}
.nd-meter{display:block;width:64px;height:6px;border-radius:3px;background:var(--paper-2);overflow:hidden}
.nd-meter i{display:block;height:100%;border-radius:3px;background:var(--anl)}
.lt td.nd-wrap{white-space:normal;min-width:150px}
.nd-mini-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;font-weight:600;color:var(--ink-2)}
.nd-mini-h b{color:var(--ink);font-size:13px}
.nd-swatch{display:inline-block;width:16px;height:0;border-top:2px solid var(--anl);margin-right:6px;vertical-align:3px}
.nd-swatch.dash{border-top-style:dashed}
.chart .nd-mark{stroke:var(--ink-3);stroke-width:1.2;stroke-dasharray:3 3}
.chart .nd-today{stroke:var(--ink-2);stroke-width:1.2;stroke-dasharray:3 3}

/* flow canvas in a hero: the cards in a row, the "no" wire below "Ask first" */
.nd-flowcanvas{padding:16px 18px 18px;border-bottom-left-radius:var(--r-frame);border-bottom-right-radius:var(--r-frame)}
.nd-flowcanvas .fnodes{margin-top:30px;margin-bottom:70px;align-items:stretch}
.nd-flowcanvas .fnode{width:auto;flex:1 1 0;min-width:0;max-width:170px}
.nd-flowcanvas .flink{flex:0 1 44px;align-self:center}
.fnode .nd-no{position:absolute;left:50%;top:100%;display:grid;justify-items:center;transform:translateX(-50%);width:max-content}
.fnode .nd-no::before{content:"";width:2px;height:30px;background:var(--line-2)}
.fnode .nd-no span{background:var(--surface);border:1.5px dashed var(--line-2);border-radius:10px;padding:7px 11px;font-size:11.5px;color:var(--ink-2);white-space:nowrap}

/* late orders: the board, its flow card at the right edge, the flow with two wires */
.nd-lo-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nd-lo-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr) 250px;gap:10px;align-items:start}
.nd-lo-card{position:relative;z-index:2;margin-right:-44px;margin-top:18px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-pop);padding:16px;display:grid;gap:10px;font-size:13px;min-width:0}
.nd-lo-card .ap-h{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--flow-i)}
.nd-lo-card .ap-h .e-ico{width:26px;height:26px;border-radius:8px}
.nd-lo-card .ap-h .e-ico .ico{width:15px;height:15px}
.nd-lo-panels{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr)}
.nd-branch{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.nd-branch::before{content:"";position:absolute;top:0;left:24px;width:calc(50% + 5px);height:2px;background:var(--line-2)}
.nd-branch .link-v:first-child{height:12px}
.nd-vflow>.link-v:last-child{height:12px}

/* forecast: the total above five small forecasts */
.nd-fc-total{gap:8px}
.nd-narrow{display:none}
.nd-sm{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.nd-sm .tile{gap:4px;padding:10px 10px 8px}

.nd-pg-board{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
/* progress: the assistant's plan card; the window's step dots; History rows */
.nd-plan{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:12px;display:grid;gap:10px;box-shadow:var(--shadow-frame)}
.nd-plan-h{display:flex;align-items:center;gap:9px}
.nd-plan-h .e-ico{width:28px;height:28px;border-radius:8px}
.nd-plan-h .e-ico .ico{width:15px;height:15px}
.nd-plan-h b{font-size:13.5px}
.nd-plan ul{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:12.5px}
.nd-plan li{display:flex;align-items:center;gap:8px}
.nd-plan li .ico{width:14px;height:14px;color:var(--ink-3)}
.nd-dots{display:inline-flex;gap:5px}
.nd-dots i{width:8px;height:8px;border-radius:50%;background:var(--line-2)}
.nd-dots i.on{background:var(--hist)}
.nd-rl{grid-template-columns:18px minmax(0,1fr) auto;padding:9px 12px}
.nd-two{gap:clamp(36px,5vw,72px)}
.nd-two h2.sec{font-size:clamp(30px,3.2vw,44px)}
.nd-two .ticks{margin-top:8px}
.hn-rr .harrow{right:-62px;top:-6px;transform:scaleX(-1)}

@media (max-width:1100px){
  .nd-stage.notes-top{padding-top:0}
  .nd-stage.notes-bottom{padding-bottom:0}
  .nd-stage>.hnote{position:static;margin:0 0 14px 6px}
  .spot-stage>.hnote{right:auto;top:auto;bottom:auto;left:auto}
  .nd-stage>.frame~.hnote{margin:30px 0 0 6px}
}
@media (max-width:1000px){
  main[data-page^="need-"] .hx-top-hand .hand-line{font-size:clamp(36px,10vw,64px)}
  .nd-panels{grid-template-columns:minmax(0,1fr);max-width:620px;margin-inline:auto}
  .nd-gets,.nd-gets.c4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nd-pains{grid-template-columns:minmax(0,1fr)}
  .nd-lo-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}
  .nd-lo-card{grid-column:1/-1;margin:4px 0 0;justify-self:end;width:min(340px,100%)}
  .nd-lo-panels{grid-template-columns:minmax(0,1fr)}
  .nd-sm{grid-template-columns:repeat(3,minmax(0,1fr))}
  .nd-pg-board{grid-template-columns:minmax(0,1fr)}
  .nd-flowcanvas .fnodes{flex-direction:column;align-items:stretch;margin:14px 0 6px}
  .nd-flowcanvas .fnode{max-width:none;flex:none}
  .nd-flowcanvas .flink{flex:none;width:2px;height:16px;min-width:0;margin-left:24px}
  .nd-flowcanvas .flink i{width:100%}
  .fnode .nd-no{left:auto;right:10px;top:50%;transform:translateY(-50%);display:flex;align-items:center}
  .fnode .nd-no::before{display:none}
}
@media (max-width:760px){
  .nd-stage::before{left:-8px;right:-8px;bottom:-14px}
  .nd-steps{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row}
  .nd-gets,.nd-gets.c4{grid-template-columns:minmax(0,1fr);gap:12px}
  .nd-gets li{grid-template-columns:36px minmax(0,1fr);gap:14px;padding:18px}
  .nd-pains li{padding:52px 22px 24px}
  .nd-lo-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .nd-lo-tiles .big{font-size:20px}
  .nd-lo .lt th,.nd-lo .lt td,.nd-pred .lt th,.nd-pred .lt td{padding:6px}
  .nd-meter{width:36px}
  .nd-pinhold{display:none}
  .nd-lo-grid{grid-template-columns:minmax(0,1fr)}
  .nd-lo-card{justify-self:stretch;width:auto}
  .nd-sm{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nd-wide{display:none}
  .nd-narrow{display:block}
  .nd-branch{grid-template-columns:minmax(0,1fr)}
  .nd-branch::before{display:none}
  .nd-flowcanvas .fnode{padding-right:10px}
  .fnode .nd-no{position:static;transform:none;justify-self:start;margin-top:4px}
  .fnode .nd-no span{white-space:normal}
}

/* This page's inline styles, as classes (written by the build). */
.s-0ac3af6d{margin:0 !important}
.s-0c7d2a30{--x:calc(100% - 22px) !important;--y:50% !important}
.s-1eebb3f3{display:grid !important;gap:14px !important}
.s-1eebb3f3[hidden]{display:none !important}
.s-2c50d301{--rows:4 !important}
.s-33ed1937{width:max-content !important}
.s-59e14bb0{display:grid !important;gap:18px !important}
.s-59e14bb0[hidden]{display:none !important}
.s-7618bb0e{margin-top:-14px !important}
.s-977af7b0{font-size:15.5px !important}
.s-b5cfff10{position:relative !important}
.s-c84a7a2b{left:73% !important;top:2px !important}
.s-d078a21f{left:43% !important;top:6px !important}
.s-e4b4218d{width:57% !important}
.s-ed6dde05{width:81% !important}
