/* The need-page family, copied from B2b1's need-late-payments.html (13 Nov) so the six need pages match. */
/* 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)}
.fbody>.bubble-q{justify-self:end}
@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}
  .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)}
}
@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)}
  .nd-pains li{padding:52px 22px 24px}
}
/* Need pages and the software page (builder B2b2): layout only, the shared tokens, no new colours, no dark mode. */
/* hero: the handwritten half centred, the line under it, the buttons, then one large picture */
.nhero .hx-top-hand{margin-bottom:clamp(30px,4vw,52px)}
.nhero .eyebrow{justify-content:center;margin-bottom:12px}
.nhero h1.display{max-width:980px}
.nhero .lede{margin-top:22px}
.nhero .cta-row{justify-content:center;margin-top:28px}
.nhero .nx-under{margin-top:16px;max-width:52ch}
.nx-hfw{position:relative;max-width:1120px;margin-inline:auto;padding-bottom:0}
.nx-hfw .bs-list{margin-top:18px}
/* the product's own top bar inside a frame */
.nx-app .app-bar{gap:12px}
.nx-app .app-bar .crumbs{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
.nx-app .app-bar .search{margin-left:0;width:200px}
.nx-wait{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;padding:3px 4px 3px 9px;border-radius:8px;border:1px solid var(--line-2);background:var(--surface);white-space:nowrap;flex:none}
.nx-wait .ico{width:14px;height:14px;color:var(--flow-i)}
.nx-wait b{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--warn-t);color:var(--warn);display:inline-grid;place-items:center;font-size:11px}
/* how it works: the steps on the left, the panels on the right */
.nx-how{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,72px);align-items:start}
.nx-steps{list-style:none;margin:0;padding:0;display:grid;border-top:1px solid var(--line-2)}
.nx-steps li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:14px;padding:17px 0;border-bottom:1px solid var(--line);min-width:0}
.nx-steps .step-n{margin-top:1px}
.nx-steps p{margin:0;font-size:16px;color:var(--ink-2)}
.nx-steps b{color:var(--ink);font-weight:600}
.nx-stage{display:grid;gap:48px}
.nx-pco{position:absolute;left:var(--x);top:var(--y);z-index:6;display:flex;align-items:center;gap:8px;transform:translate(-11px,-11px);pointer-events:none}
.nx-pco.left{flex-direction:row-reverse;transform:translate(calc(-100% + 11px),-11px)}
.nx-mh{font-size:12.5px;font-weight:600}
/* flows drawn inside a panel */
.nx-flow{justify-items:center;padding:2px 0}
.nx-flow .node{min-width:min(250px,100%)}
.nx-flow .link-v{margin-left:0}
.nx-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
.nx-pair .node{min-width:0}
.nx-fork,.nx-join{position:relative;width:100%;height:22px}
.nx-fork::before{content:"";position:absolute;left:25%;right:25%;top:10px;bottom:0;border:2px solid var(--line-2);border-bottom:0;border-radius:8px 8px 0 0}
.nx-fork::after{content:"";position:absolute;left:calc(50% - 1px);top:0;width:2px;height:10px;background:var(--line-2)}
.nx-join::before{content:"";position:absolute;left:25%;right:25%;top:0;height:12px;border:2px solid var(--line-2);border-top:0;border-radius:0 0 8px 8px}
.nx-join::after{content:"";position:absolute;left:calc(50% - 1px);top:12px;width:2px;height:10px;background:var(--line-2)}
/* quotes, lists, the built-with row */
.nx-fam .role q{font-size:clamp(21px,1.9vw,24px)}
.nx-gets .feat p{font-size:17px;color:var(--ink);line-height:1.5}
.nx-duo{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:40px;align-items:start}
.nx-duo-h{display:grid;gap:16px;align-content:start;position:relative;min-width:0}
.nx-duo-h .more{width:max-content}
.nx-h3{font-family:var(--f-body);font-weight:600;font-size:21px;letter-spacing:0;line-height:1.3}
.nx-builtsec{padding-block:clamp(44px,5vw,72px)}
.nx-builtrow{display:flex;flex-wrap:wrap;gap:18px 40px;align-items:center;justify-content:space-between}
.nx-built-h{font-family:var(--f-mono);font-weight:500;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);margin:0 4px 0 0;line-height:1.4}
.nx-final-long h2{font-size:clamp(36px,4.3vw,62px)}
.nx-see{margin:0;font-size:17px;color:var(--ink-2);display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
@media (max-width:1000px){
  .nx-how,.nx-duo{grid-template-columns:1fr}
}
@media (max-width:760px){
  .nx-app .app-bar .search,.nx-app .app-bar .av{display:none}
  .nx-pco,.nx-pco.left{position:static;transform:none;flex-direction:row;margin:2px 14px 16px}
  .nx-pco .co-l{white-space:normal}
}
/* this page */
.hxneed h1.display{max-width:980px}
.dc-board{padding:18px 18px 20px}
.dc-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.dc-charts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}
.dc-month{grid-column:span 2}
.dc-late .lt td{padding:7px 2px}
.dc-start{margin-left:8px;vertical-align:2px;background:var(--dash-t);color:var(--dash-i)}
.dc-mail{position:absolute;right:-22px;bottom:-20px;width:min(340px,31%);z-index:4;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-pop);padding:16px 16px 18px;display:grid;gap:10px;font-size:13px}
.dc-mail-h{display:flex;gap:10px;align-items:center;padding-bottom:10px;border-bottom:1px solid var(--line)}
.dc-mail-h .e-ico{width:30px;height:30px;border-radius:9px}
.dc-mail-h .e-ico .ico{width:16px;height:16px}
.dc-mail-h b{display:block;font-size:14px}
.dc-mail-h small{display:block;color:var(--ink-3);font-size:11.5px}
.dc-mail p{margin:0;font-size:13.5px;line-height:1.55}
.dc-menu{display:grid;gap:8px}
.dc-ny-hn{right:74px;top:calc(100% + 6px)}
.dc-ny-hn .harrow{left:calc(100% + 6px);top:-4px;transform:scaleX(-1) rotate(30deg)}
.nd-panel .nx-pair .node b{line-height:1.25}
@media (max-width:1000px){.dc-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-charts{grid-template-columns:repeat(3,minmax(0,1fr))}.dc-late{display:none}}
@media (max-width:760px){
  .dc-mail{position:relative;right:auto;bottom:auto;width:auto;margin:-16px 12px 0}
  .dc-charts{grid-template-columns:1fr}
  .dc-month{grid-column:auto}
  .dc-region{display:none}
  .dc-board .board-actions .ui-btn:not(.pri){display:none}
}

/* This page's inline styles, as classes (written by the build). */
.s-0ac3af6d{margin:0 !important}
.s-2c50d301{--rows:4 !important}
.s-59e14bb0{display:grid !important;gap:18px !important}
.s-59e14bb0[hidden]{display:none !important}
.s-62e0ddb5{--x:75.1% !important;--y:4.4% !important}
.s-977af7b0{font-size:15.5px !important}
.s-b42d1240{--x:0% !important;--y:62% !important}
.s-dad8d734{left:6% !important;top:4px !important}
.s-f37bc93c{--fs:11px !important}
