/* Reclaim — 3PL site. Values mirror the Paper artboard (1440 desktop). */
:root{
  --blue:#2456C6; --navy:#153E95; --ink:#0F1B33; --ink-2:#101B30;
  --muted:#53627C; --muted-2:#59687D; --faint:#687890; --faint-2:#8A94A6;
  --line:#DCE4F0; --line-2:#E3E8F0; --ground:#F4F6FA; --pale:#EAF0FB;
  --page:1344px; --inner:1220px;
  --manrope:'Manrope',system-ui,sans-serif; --dm:'DM Sans',system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--dm);-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.5}
a{color:inherit;text-decoration:none}
h1,h2,h3{margin:0;font-family:var(--manrope)}
p{margin:0}
.page{max-width:var(--page);margin:0 auto;padding-inline:24px}
.inner{max-width:var(--inner);margin:0 auto}
.eyebrow{font-size:12px;letter-spacing:.12em;font-weight:500;color:var(--blue);text-transform:uppercase}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* buttons */
.btn{white-space:nowrap;display:inline-flex;align-items:center;gap:22px;padding:18px 26px;border-radius:10px;background:var(--blue);color:#fff;font-weight:500;font-size:16px;line-height:1.25;
  background-image:linear-gradient(170deg,#3468CB 0%,var(--blue) 100%);box-shadow:0 3px 5px rgba(36,86,198,.08);transition:transform .2s ease,box-shadow .2s ease}
.btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(36,86,198,.22)}
.btn svg{flex-shrink:0;transition:transform .25s ease}
.btn:hover svg{transform:translateX(4px)}
.btn.sm{padding:15px 22px;font-size:15px;gap:20px;background-image:none}
.btn.light{background:#fff;background-image:none;color:#18428F;box-shadow:none}
.textlink{display:inline-flex;align-items:center;gap:22px;font-size:15px;font-weight:500;color:var(--blue)}
.textlink svg{transition:transform .25s ease}
.textlink:hover svg{transform:translateX(4px)}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid #E8EDF5}
.nav .row{height:88px;display:flex;align-items:center;justify-content:space-between;max-width:1440px;margin:0 auto;padding:0 88px}
.brand{display:flex;align-items:center;gap:10px;font-family:var(--manrope);font-weight:700;font-size:31px;letter-spacing:-.06em;color:#000;line-height:1}
.nav .links{display:flex;gap:34px;font-size:15px;color:#485468}
.nav .links a:hover{color:var(--ink)}

/* hero */
.hero{padding-top:54px;text-align:center}
.hero .kicker{display:inline-flex;align-items:center;gap:8px;font-size:13px;letter-spacing:.1em;font-weight:600;color:#526C9A}
.hero .kicker i{width:6px;height:6px;border-radius:50%;background:var(--blue)}
.hero h1{font-size:clamp(34px,4.2vw,50px);line-height:1.2;letter-spacing:-.05em;font-weight:700;color:#000;max-width:916px;margin:20px auto 0}
.hero .sub{font-size:19px;line-height:1.53;color:#5A687E;max-width:665px;margin:20px auto 0}
.hero .actions{display:flex;justify-content:center;align-items:center;gap:28px;margin-top:26px;flex-wrap:wrap}
.hero .actions .link{font-size:15px;color:#385C97}
.scene{position:relative;width:1220px;height:400px;margin:56px auto 0}
.scene svg.route{position:absolute;left:0;top:0}
.desk{position:absolute;left:280px;top:18px;width:670px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 18px 45px rgba(36,86,198,.07);overflow:hidden;text-align:left}
.desk .head{display:flex;justify-content:space-between;align-items:center;height:58px;padding:0 24px;border-bottom:1px solid #E7ECF4}
.desk .head b{font-size:17px;font-weight:600;color:#000}
.desk .head span{font-size:13px;color:#65738B}
.desk .item{display:flex;align-items:center;gap:15px;height:65px;padding:0 24px;border-bottom:1px solid #EFF2F7}
.desk .item:last-child{border-bottom:0}
.desk .ico{width:33px;height:33px;border-radius:8px;background:#F1F5FC;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.desk .txt{flex:1;display:flex;flex-direction:column;gap:4px}
.desk .txt b{font-size:15px;font-weight:500;color:#263E65}
.desk .txt span{font-size:13px;color:#68788E}
.desk .pill{width:95px;padding:7px 0;border-radius:6px;text-align:center;font-size:12px;background:#EBF2FF;color:#315DAB;flex-shrink:0}
.desk .pill.review{background:#F4F1E6;color:#79642E}
.msg{position:absolute;left:-10px;top:63px;width:270px;padding:22px;border-radius:15px;background:#fff;border:1px solid #DFE6F1;box-shadow:0 12px 30px rgba(36,86,198,.06);transform:rotate(-4deg);transform-origin:0 0;text-align:left}
.msg .who{display:flex;align-items:center;gap:10px;font-size:13px;color:#62758F}
.msg .who i{width:33px;height:33px;border-radius:50%;background:#E8EDF6;display:flex;align-items:center;justify-content:center;font-size:12px;font-style:normal;color:#3D5C8F}
.msg p{margin-top:14px;font-size:17px;line-height:1.47;color:#233D64}
.reply{position:absolute;left:970px;top:189px;width:278px;padding:22px;border-radius:14px;background:var(--navy);box-shadow:0 14px 30px rgba(36,86,198,.1);text-align:left;color:#fff}
.reply .st{display:flex;align-items:center;gap:9px;font-size:13px;color:#D8E5FF}
.reply p{margin-top:10px;font-size:16px;line-height:1.5}
.foundation{display:flex;justify-content:center;align-items:center;gap:16px;font-size:13px;color:#65738A;margin-top:14px}
.foundation i{width:3px;height:3px;border-radius:50%;background:#A8B8D3}

/* problem */
.problem{padding-block:136px 92px}
.problem .head{display:flex;justify-content:space-between;align-items:center;gap:64px;margin-top:32px}
.problem h2{font-size:clamp(32px,3.2vw,44px);line-height:1.18;letter-spacing:-.045em;font-weight:600;color:var(--ink-2);max-width:620px}
.problem .head p{font-size:18px;line-height:1.55;color:var(--muted-2);max-width:470px}
.problem .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:36px}
.pcard{border:1px solid var(--line);border-radius:39px;padding:28px 30px;min-height:252px;display:flex;flex-direction:column;gap:16px}
.pcard .t{display:flex;align-items:baseline;gap:12px}
.pcard .n{font-size:13px;font-weight:500;color:var(--blue);width:18px;flex-shrink:0}
.pcard h3{font-size:23px;line-height:1.3;letter-spacing:-.025em;font-weight:600;color:var(--ink-2)}
.pcard p{font-size:17px;line-height:1.6;color:var(--muted-2)}

/* ===== mechanism (pinned) ===== */
.mech{position:relative;height:340vh}
.mech .pin{position:sticky;top:88px;height:calc(100vh - 88px);overflow:hidden;background:var(--ground)}
.mech .dots{position:absolute;inset:0;background-image:radial-gradient(#C9D4EA 1.2px,transparent 1.3px);background-size:26px 26px;opacity:.55;
  mask-image:radial-gradient(60% 70% at 72% 50%,#000 30%,transparent 100%);-webkit-mask-image:radial-gradient(60% 70% at 72% 50%,#000 30%,transparent 100%);will-change:background-position}
.mech .grid{position:relative;height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center;max-width:1216px;margin:0 auto;padding:24px 24px}
.mech h2{font-weight:500;font-size:clamp(30px,2.9vw,40px);line-height:1.12;letter-spacing:-.04em;margin:14px 0 16px;max-width:540px}
.mech .intro{color:var(--muted);font-size:16px;line-height:1.6;max-width:520px;margin:0 0 28px}
.steps{position:relative;display:flex;flex-direction:column;gap:18px;padding-left:44px}
.rail{position:absolute;left:11px;top:6px;bottom:6px;width:1px;background:var(--line-2)}
.rail .fill{position:absolute;left:0;top:0;width:100%;height:0;background:var(--blue);transition:height .1s linear}
.rail .dot{position:absolute;left:50%;top:0;width:12px;height:12px;border-radius:50%;background:var(--blue);transform:translate(-50%,-50%);box-shadow:0 0 0 6px rgba(36,86,198,.14)}
.step{position:relative;transition:opacity .35s ease;opacity:.42}
.step.on{opacity:1}
.step .k{font-size:12px;letter-spacing:.12em;color:var(--faint-2);text-transform:uppercase}
.step .t{font-family:var(--manrope);font-weight:500;font-size:20px;line-height:1.3;letter-spacing:-.01em;margin:4px 0 0}
.step .b{color:var(--muted);font-size:15px;line-height:1.55;margin:6px 0 0;max-height:0;overflow:hidden;transition:max-height .45s ease;max-width:430px}
.step.on .b{max-height:120px}
.stack{position:relative;height:min(560px,66vh);perspective:1200px}
.card{position:absolute;inset:0;border-radius:22px;padding:34px 36px;display:flex;flex-direction:column;justify-content:space-between;will-change:transform,opacity;transform:translateY(112%);box-shadow:0 30px 60px rgba(15,27,51,.18)}
.card .top{display:flex;justify-content:space-between;align-items:flex-start}
.card .word{font-family:var(--manrope);font-weight:500;font-size:clamp(36px,4vw,56px);letter-spacing:-.04em;line-height:1}
.card .desc{font-size:17px;line-height:1.55;max-width:460px}
.card .mini{margin:22px 0 26px;border-radius:12px;padding:16px 18px;font-size:13px;line-height:1.5}
.c1{background:var(--pale);color:var(--ink);transform:none}
.c1 .mini{background:#fff;color:var(--muted)}
.c2{background:var(--blue);color:#fff}
.c2 .mini{background:rgba(255,255,255,.12);color:#D7E2F9}
.c3{background:var(--navy);color:#fff}
.c3 .mini{background:rgba(255,255,255,.10);color:#D7E2F9}
.bar{height:6px;border-radius:3px;background:rgba(15,27,51,.08);margin-top:6px;overflow:hidden}
.bar i{display:block;height:100%;background:var(--blue);border-radius:3px}
.mrow{display:flex;justify-content:space-between;gap:12px;margin-top:10px}
.mrow:first-child{margin-top:0}
.chip{display:inline-block;padding:6px 10px;border-radius:7px;background:#fff;color:var(--ink);font-size:12px;margin:4px 6px 0 0}
.c2 .chip{background:rgba(255,255,255,.16);color:#fff}
.c2 .chip.core{background:#fff;color:var(--blue);font-weight:600}
/* Selected Build illustration — option B, one continuous flow (23 September). */
.build-art{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;margin:8px 0 18px}
.build-art svg{display:block;width:100%;height:100%;max-height:300px;overflow:visible}
.build-flow-lines{fill:none;stroke:white;stroke-opacity:.6;stroke-width:1.3}
.build-flow-pass{fill:none;stroke:white;stroke-width:2;stroke-linecap:round;stroke-dasharray:6 94;animation:build-flow-travel 7s linear infinite}
.build-flow-pass.delayed{animation-delay:-3.5s}
@keyframes build-flow-travel{0%{stroke-dashoffset:6;opacity:0}7%,93%{opacity:1}100%{stroke-dashoffset:-100;opacity:0}}
@media(max-width:1000px){.build-art{flex:0 0 240px;height:240px}}
@media(prefers-reduced-motion:reduce){.build-art{flex:0 0 240px;height:240px}.build-flow-pass{animation:none;display:none}}
/* Selected Map illustration — option D, the work behind one message (23 September). */
.map-art{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;margin:8px 0 18px}
.map-art svg{display:block;width:100%;height:100%;max-height:300px;overflow:visible}
.map-art path,.map-art line{fill:none;stroke-linecap:round;stroke-linejoin:round}
.map-lbl{font-family:var(--dm);font-size:12px;fill:var(--muted)}
.map-surface{stroke:var(--ink);stroke-opacity:.4;stroke-width:1.3}
.map-art .map-bubble{fill:#fff;stroke:var(--ink);stroke-width:1.3}
.map-bubble-dot{fill:var(--ink);fill-opacity:.55}
.map-node{fill:var(--pale);stroke:var(--ink);stroke-width:1.3}
.map-hot{fill:var(--blue);fill-opacity:.1;stroke:var(--blue);stroke-width:1.1}
.map-grow{stroke:var(--ink);stroke-opacity:.55;stroke-width:1.3;stroke-dasharray:1 1;stroke-dashoffset:1;animation:map-grow 8s ease infinite}
.map-redo path{stroke:var(--blue);stroke-width:1.3;stroke-dasharray:3 4}
.map-reveal{animation:map-reveal 8s ease infinite}
@keyframes map-grow{0%{stroke-dashoffset:1;opacity:1}16%{stroke-dashoffset:0}86%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes map-reveal{0%,4%{opacity:0}14%,86%{opacity:1}100%{opacity:0}}
@media(max-width:1000px){.map-art{flex:0 0 240px;height:240px}}
@media(max-width:560px){.map-lbl{display:none}} /* labels would render below 8px once the art scales to phone width */
@media(prefers-reduced-motion:reduce){.map-art{flex:0 0 240px;height:240px}.map-grow,.map-reveal{animation:none}.map-grow{stroke-dashoffset:0}}
/* Build card: hub diagram (inputs → core → outputs), no wrapping */
.hub{--ln:rgba(255,255,255,.6);display:grid;grid-template-columns:1fr auto 1fr;column-gap:34px;align-items:center}
.hub .side{display:flex;flex-direction:column;gap:9px}
.hub .side.in{align-items:flex-end}
.hub .side.out{align-items:flex-start}
.hub .chip{margin:0;position:relative;white-space:nowrap;padding:6px 10px;font-size:13px}
.hub .core{white-space:nowrap;text-align:center;line-height:1.3;padding:10px 14px;border-radius:9px;box-shadow:0 6px 16px rgba(0,0,0,.18)}
.hub .in .chip::after{content:"";position:absolute;left:100%;top:50%;width:16px;height:1px;background:var(--ln)}
.hub .in .chip::before{content:"";position:absolute;left:calc(100% + 10px);top:50%;width:5px;height:5px;border-top:1px solid var(--ln);border-right:1px solid var(--ln);transform:translateY(-50%) rotate(45deg)}
.hub .out .chip::before{content:"";position:absolute;right:100%;top:50%;width:16px;height:1px;background:var(--ln)}
.hub .out .chip::after{content:"";position:absolute;right:calc(100% - 1px);top:50%;width:5px;height:5px;border-top:1px solid var(--ln);border-right:1px solid var(--ln);transform:translateY(-50%) rotate(45deg)}
.tag{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}
.tag.ok{background:#E4F5EA;color:#1B6B3A}
.tag.you{background:#FFF4DE;color:#8A5A00}
.pict{display:grid;grid-template-columns:repeat(6,6px);gap:5px}
.pict b{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.25}
.pict b.on{opacity:1}
.mech .after{display:flex;align-items:center;gap:28px;margin-top:28px;flex-wrap:wrap}
.mech .after span{font-size:14px;color:#6B7280}
/* Short viewports: compress the pinned copy column so the CTA stays in view */
@media (min-width:1001px) and (max-height:840px){
  .mech .grid{padding:16px 24px}
  .mech h2{font-size:clamp(28px,2.5vw,34px);margin:10px 0 12px}
  .mech .intro{font-size:15px;line-height:1.55;margin:0 0 20px}
  .steps{gap:12px}
  .step .t{font-size:18px}
  .step .b{font-size:14px;line-height:1.5}
  .mech .after{margin-top:18px}
  .stack{height:min(500px,62vh)}
}
@media (min-width:1001px) and (max-height:720px){
  .mech h2{font-size:clamp(26px,2.2vw,30px)}
  .mech .intro{margin:0 0 14px}
  .steps{gap:8px}
  .step.on .b{max-height:96px}
  .stack{height:min(440px,60vh)}
}

/* build examples */
.build{padding-block:96px 72px}
.build .head{display:flex;justify-content:space-between;align-items:flex-end;gap:64px;padding:0 62px;margin-top:20px}
.build h2{font-size:clamp(32px,3.4vw,48px);line-height:1.17;letter-spacing:-.045em;font-weight:500;color:var(--ink);max-width:640px}
.build .head p{font-size:17px;line-height:1.6;color:var(--muted);max-width:450px}
.rows{display:flex;flex-direction:column;gap:40px;margin-top:40px}
.brow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:10px;border-radius:22px;background:#fff;border:1px solid var(--line);min-height:450px}
.brow.flip .copy{order:2}
.brow .copy{display:flex;flex-direction:column;justify-content:center;gap:24px;padding:36px 52px}
.brow .copy h3{font-size:clamp(28px,2.6vw,36px);line-height:1.22;letter-spacing:-.045em;font-weight:500;color:var(--ink);max-width:500px}
.brow .copy p{font-size:17px;line-height:1.6;color:var(--muted);max-width:485px}
.brow .copy .textlink{padding-top:10px}
.brow .vis{position:relative;border-radius:14px;background:linear-gradient(135deg,#F9FAFC 0%,#EFF3F9 100%);display:flex;align-items:center;justify-content:center;padding:32px 40px;min-height:428px}
.brow .vis .note{position:absolute;right:24px;bottom:20px;font-size:11px;color:var(--faint)}
/* Build section: six more builds */
.more{margin-top:56px}
.more-lead{margin:0 0 18px;font-size:12px;letter-spacing:.12em;font-weight:500;color:var(--faint);text-transform:uppercase}
.grid6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tile{background:var(--ground);border-radius:18px;padding:26px 26px 28px;display:flex;flex-direction:column;gap:12px;transition:background-color .25s ease,transform .25s ease}
.tile:hover{background:var(--pale);transform:translateY(-2px)}
.tile .ico{width:40px;height:40px;border-radius:11px;background:#fff;color:var(--blue);display:grid;place-items:center;margin-bottom:6px}
.tile h4{margin:0;font-family:var(--manrope);font-weight:500;font-size:18px;line-height:1.3;letter-spacing:-.02em;color:var(--ink)}
.tile p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}
.win{background:#fff;border:1px solid #E2E8F2;border-radius:16px;box-shadow:0 16px 36px rgba(23,46,88,.06);overflow:hidden;width:100%;max-width:488px}
.win .wh{display:flex;align-items:center;gap:12px;height:64px;padding:0 22px;border-bottom:1px solid #EEF1F6}
.win .av{width:32px;height:32px;border-radius:50%;background:#EDF2FC;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:var(--blue)}
.win .wh b{display:block;font-size:15px;font-weight:500;color:var(--ink)}
.win .wh small{display:block;font-size:11px;color:var(--faint)}
.win .wh .more{margin:0 0 0 auto;font-size:20px;color:var(--faint)}
.chat{display:flex;flex-direction:column;gap:14px;padding:20px 22px 22px}
.bub{display:flex;flex-direction:column;gap:6px;max-width:360px}
.bub.them{align-self:flex-end;max-width:334px}
.bub small{font-size:11px;color:var(--faint)}
.bub .b{padding:14px 16px;border-radius:12px;font-size:16px;line-height:1.45}
.bub.them .b{background:#EFF3FA;color:var(--ink);border-bottom-right-radius:3px}
.bub.us .b{background:var(--blue);color:#fff;border-bottom-left-radius:3px;display:flex;flex-direction:column;gap:12px}
.bub .att{display:flex;align-items:center;gap:8px;font-size:12px;color:#E3ECFF}
.bub .chk{display:flex;align-items:center;gap:6px;font-size:11px;color:#526A91;padding-left:2px}
/* report window */
.rep{max-width:532px}
.rep .wh{justify-content:space-between;height:60px;padding:0 24px}
.rep .wh b{font-weight:600}
.rep .wh span{font-size:12px;color:var(--muted)}
.rep .body{padding:0 24px 24px;display:flex;flex-direction:column;gap:16px}
.tabs{display:flex;gap:28px;height:40px;align-items:center;border-bottom:1px solid #E5EAF2;font-size:13px;color:var(--faint)}
.tabs .on{color:var(--blue);font-weight:500;height:40px;display:flex;align-items:center;border-bottom:2px solid var(--blue)}
.rep .title{display:flex;justify-content:space-between;align-items:center}
.rep .title b{display:block;font-size:20px;font-weight:500;color:var(--ink)}
.rep .title small{display:block;font-size:12px;color:var(--faint);margin-top:5px}
.rep .ready{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:20px;background:#EBF1FC;font-size:11px;font-weight:500;color:var(--blue)}
.rep .lines{background:#F5F7FB;border-radius:8px;padding:8px 14px}
.rep .ln{display:flex;align-items:center;gap:18px;height:36px;font-size:12px;border-bottom:1px solid #E4EAF3}
.rep .ln:last-child{border-bottom:0}
.rep .ln b{width:104px;font-weight:500;color:#304462}
.rep .ln span{flex:1;color:var(--faint)}
.rep .ln em{width:100px;font-style:normal;color:var(--blue)}
.rep .foot{display:flex;justify-content:space-between;align-items:center;gap:18px}
.rep .foot small{font-size:12px;color:var(--faint);line-height:1.5}
/* order feed */
.feed{position:relative;width:100%;min-height:340px}
.sheet{position:absolute;left:0;top:0;width:440px;background:#fff;border:1px solid #E2E8F2;border-radius:12px;padding:18px;box-shadow:0 12px 28px rgba(23,46,88,.04)}
.sheet .sh{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:var(--ink)}
.sheet .sh small{margin-left:auto;font-size:11px;font-weight:400;color:var(--faint)}
.sheet table{width:100%;border-collapse:collapse;margin-top:10px;font-size:12px;color:#304462}
.sheet th{text-align:left;font-size:10px;font-weight:400;color:var(--faint);padding:4px 0 6px;border-bottom:1px solid #E5EAF2}
.sheet td{padding:7px 0;border-bottom:1px solid #EEF1F6}
.sheet tr:last-child td{border-bottom:0}
.sheet .miss{color:#8C6630}
.feed .conn{position:absolute;left:306px;top:170px}
.wms{position:absolute;right:0;top:214px;width:456px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;box-shadow:0 16px 36px rgba(23,46,88,.06)}
.wms .wh2{display:flex;justify-content:space-between;font-size:14px;font-weight:500;color:var(--ink)}
.wms .wh2 small{font-size:11px;font-weight:400;color:var(--faint)}
.wms .r{display:flex;align-items:center;gap:12px;height:42px;font-size:12px;color:#304462;border-bottom:1px solid #EDF1F7;margin-top:6px}
.wms .r:last-child{border-bottom:0}
.wms .r b{width:74px;font-weight:400}
.wms .r span{flex:1}
.wms .r em{width:126px;text-align:center;font-style:normal;padding:5px 8px;border-radius:20px;background:#EBF1FC;color:var(--blue);font-size:11px}
.wms .r em.you{background:#FAF3E6;color:#8C6630}

/* FAQ (centred accordion) */
.faq{padding-block:120px 40px}
.faq .fhead{text-align:center;max-width:640px;margin:0 auto}
.faq h2{font-size:clamp(40px,4.4vw,60px);line-height:1;letter-spacing:-.05em;font-weight:500;color:var(--ink);margin-top:18px}
.faq .fhead p{font-size:19px;line-height:1.5;color:var(--muted);margin-top:16px}
.acc{max-width:860px;margin:56px auto 0}
.acc details{border-radius:14px;background:transparent;transition:background-color .3s ease}
.acc details:hover{background:#F7F9FC}
.acc details.is-open,.acc details.is-open:hover{background:var(--ground)}
.acc summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 22px;font-family:var(--manrope);font-weight:500;font-size:19px;line-height:1.4;letter-spacing:-.01em;color:var(--ink);border-radius:14px;transition:color .25s ease}
.acc details:hover summary{color:var(--navy)}
.acc summary::-webkit-details-marker{display:none}
.acc summary svg{flex-shrink:0;transition:transform .4s cubic-bezier(.4,0,.2,1),color .25s ease;color:var(--faint)}
.acc details:hover summary svg{color:var(--blue)}
.acc details.is-open summary svg{transform:rotate(180deg);color:var(--blue)}
.acc .a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s cubic-bezier(.4,0,.2,1)}
.acc .a>div{overflow:hidden;min-height:0;opacity:0;transform:translateY(-6px);transition:opacity .3s ease,transform .4s cubic-bezier(.4,0,.2,1)}
.acc details.is-open .a{grid-template-rows:1fr}
.acc details.is-open .a>div{opacity:1;transform:none;transition-delay:.08s}
.acc .a p{margin:0;padding:0 22px 26px;font-size:15px;line-height:1.65;color:var(--muted);max-width:760px}
.acc summary:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}

/* next steps */
.next{margin-top:40px;padding:96px 96px 88px;border-radius:26px;background:var(--navy);color:#fff;display:flex;flex-direction:column;gap:64px}
.next .head{display:flex;justify-content:space-between;align-items:flex-end;gap:64px;flex-wrap:wrap}
.next .eyebrow{color:#94B3F1}
.next h2{font-size:clamp(34px,3.4vw,48px);line-height:1.12;letter-spacing:-.045em;font-weight:500;max-width:640px;margin-top:20px}
.next .head p{font-size:17px;line-height:1.6;color:#D7E2F9;max-width:420px;padding-bottom:6px}
.stages{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.stage{border-top:1px solid rgba(255,255,255,.2);padding-top:22px;display:flex;flex-direction:column;gap:14px}
.stage .k{font-size:12px;letter-spacing:.12em;font-weight:600;color:#94B3F1}
.stage h3{font-size:22px;line-height:1.36;letter-spacing:-.01em;font-weight:500}
.stage p{font-size:15px;line-height:1.6;color:#C4D4F6}
.next .act{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.next .act span{font-size:14px;color:#C4D4F6}

/* footer */
.foot{display:flex;justify-content:space-between;gap:24px;padding:40px 0 48px;font-size:13px;color:var(--faint);border-top:1px solid #E8EDF5;margin-top:40px;flex-wrap:wrap}

/* responsive */
@media (max-width:1280px){
  .nav .row{padding:0 24px}
  .scene{width:100%;height:auto;margin-top:40px}
  .scene svg.route,.msg,.reply{display:none}
  .desk{position:relative;left:auto;top:auto;width:100%;max-width:670px;margin:0 auto}
}
@media (max-width:1180px){
  .hub{column-gap:26px}
  .hub .chip{font-size:12px;padding:6px 8px}
  .hub .core{padding:9px 11px}
  .hub .in .chip::after,.hub .out .chip::before{width:12px}
  .hub .in .chip::before{left:calc(100% + 6px)}
  .problem .head,.build .head,.next .head{flex-direction:column;align-items:flex-start;gap:20px}
  .problem .head p,.build .head p{max-width:620px}
  .brow .copy{padding:28px 32px;gap:18px}
  .brow .copy h3{font-size:30px}
  .brow .vis{padding:24px 20px}
  .mech .grid{gap:36px}
  .next{padding:72px 56px 64px}
}
@media (max-width:1000px){
  .grid6{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nav .links{display:none}
  .problem .head,.build .head,.next .head{flex-direction:column;align-items:flex-start;gap:20px}
  .problem .cards{grid-template-columns:1fr}
  .brow,.brow.flip{grid-template-columns:1fr}
  .brow.flip .copy{order:0}
  .brow .copy{padding:28px 22px}
  .brow .vis{padding:24px 16px}
  .feed{min-height:0;display:flex;flex-direction:column;gap:16px}
  .sheet,.wms{position:relative;left:auto;right:auto;top:auto;width:100%}
  .feed .conn{display:none}
  .wms .r b{width:56px}.wms .r em{width:auto;padding:5px 10px;white-space:nowrap}
  .faq{padding-block:80px 24px}
  .acc summary{padding:20px 14px;font-size:17px}
  .acc .a p{padding:0 14px 20px}
  .next{padding:56px 28px}
  .stages{grid-template-columns:1fr}
  /* mechanism becomes a static stack */
  .mech{height:auto}
  .mech .pin{position:relative;height:auto;padding:64px 0}
  .mech .grid{grid-template-columns:1fr;gap:40px}
  .stack{height:auto;display:flex;flex-direction:column;gap:16px}
  .card{position:relative;transform:none!important;opacity:1!important;min-height:0}
  .step{opacity:1}.step .b{max-height:none}
  .rail .dot,.rail .fill{display:none}
}
@media (prefers-reduced-motion:reduce){
  .acc details,.acc summary,.acc summary svg,.acc .a,.acc .a>div{transition:none}
  .mech{height:auto}.mech .pin{position:relative;height:auto;padding:64px 0}
  .stack{height:auto;display:flex;flex-direction:column;gap:16px}
  .card{position:relative;transform:none!important;opacity:1!important}
  .step{opacity:1}.step .b{max-height:none}.rail .dot,.rail .fill{display:none}
  .btn,.btn svg,.textlink svg{transition:none}
}

@media (max-width:600px){
  .grid6{grid-template-columns:minmax(0,1fr)}
}

/* ===== Tablet and phone layout (24 September) =====
   Desktop is untouched. Under 1000px the hero tells the same story as desktop
   (client message → your requests → reply), "How it works" pairs each step with
   its card, and the build rows can no longer push the page wider than the screen. */
@media (max-width:1000px){
  /* hero: stacked version of the desktop scene */
  .scene{display:flex;flex-direction:column;gap:18px;width:100%;max-width:560px;height:auto;margin:44px auto 0;padding:28px 18px;border-radius:28px;
    background-color:#FAFBFD;background-image:radial-gradient(#DCE5DF 1.4px,transparent 1.5px);background-size:18px 18px}
  .scene::before{content:"";position:absolute;left:50%;top:40px;bottom:40px;width:1.5px;background:#9AB2DE;transform:translateX(-50%)}
  .msg,.reply{display:block;position:relative;left:auto;top:auto;z-index:1}
  .msg{order:-1;align-self:flex-start;width:min(80%,300px);padding:18px 20px;transform:rotate(-2.5deg);transform-origin:50% 50%}
  .msg p{margin-top:10px;font-size:16px}
  .desk{position:relative;z-index:1;width:100%}
  .reply{order:1;align-self:flex-end;width:min(80%,300px);padding:18px 20px}
  .reply p{font-size:15px}

  /* how it works: each step sits directly above its own card */
  .mech .pin{padding:80px 0 64px}
  .mech .grid{display:flex;flex-direction:column;align-items:stretch;gap:0;max-width:640px;padding:0 24px}
  .mech .copy,.mech .steps,.mech .stack{display:contents}
  .mech .copy>.eyebrow{order:1}
  .mech h2{order:2;max-width:none}
  .mech .intro{order:3;max-width:none;margin:0 0 44px}
  .rail{display:none}
  .steps .step:nth-child(2){order:4}.c1{order:5}
  .steps .step:nth-child(3){order:6}.c2{order:7}
  .steps .step:nth-child(4){order:8}.c3{order:9}
  .mech .after{order:10;margin-top:4px}
  .step{margin-bottom:18px}
  .step .t{font-size:22px;letter-spacing:-.02em}
  .step .b{max-width:none;font-size:16px;margin-top:8px}
  .card{margin-bottom:48px;padding:26px 24px;box-shadow:0 18px 40px rgba(15,27,51,.12)}
  .card .desc{display:none} /* the step above already says it */
  .card .mini{margin:18px 0 0}
  .mrow{align-items:center}
  .tag{flex-shrink:0}

  /* build rows: columns may shrink below their content */
  .brow,.brow.flip{grid-template-columns:minmax(0,1fr)}
  .build .head{padding:0}
}

@media (max-width:700px){
  .page{padding-inline:20px}
  .nav .row{height:68px;padding:0 20px}
  .brand{font-size:26px;gap:8px}
  .brand svg{width:26px;height:26px}
  .nav .btn.sm{padding:11px 16px;font-size:14px;gap:12px}

  /* hero */
  .hero{padding-top:40px}
  .hero .kicker{font-size:11px;letter-spacing:.12em}
  .hero h1{font-size:34px;line-height:1.12;letter-spacing:-.045em;margin-top:16px;text-wrap:balance}
  .hero .sub{font-size:17px;line-height:1.55;margin-top:16px;text-wrap:pretty}
  .hero .actions{flex-direction:column;gap:16px;margin-top:28px}
  .hero .actions .btn{width:100%;justify-content:center}
  .scene{margin-top:40px;padding:24px 10px;border-radius:24px}
  .desk .head{height:52px;padding:0 18px}
  .desk .head b{font-size:16px}
  .desk .item{height:auto;min-height:64px;padding:12px 14px;gap:10px}
  .desk .ico{width:30px;height:30px}
  .desk .txt{min-width:0;gap:2px}
  .desk .txt b{font-size:14px}
  .desk .txt span{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .desk .pill{width:auto;padding:6px 9px;font-size:11px}
  .foundation{flex-wrap:wrap;gap:6px 12px;margin-top:18px;font-size:12px}

  /* problem */
  .problem{padding-block:88px 64px}
  .pcard{border-radius:24px;min-height:0;padding:24px 22px;gap:12px}
  .pcard h3{font-size:21px}
  .pcard p{font-size:16px}

  /* how it works */
  .mech .pin{padding:72px 0 56px}
  .mech .grid{padding:0 20px}
  .card{padding:24px 20px;border-radius:20px}
  .card .word{font-size:40px}
  .mech .after .btn{width:100%;justify-content:center}

  /* build rows */
  .build{padding-block:72px 56px}
  .brow{padding:8px;border-radius:20px;min-height:0;gap:4px}
  .brow .copy{padding:22px 14px 18px;gap:14px}
  .brow .copy h3{font-size:26px;line-height:1.2}
  .brow .copy p{font-size:16px}
  .brow .copy .textlink{padding-top:4px}
  .brow .vis{min-height:0;padding:18px 10px;border-radius:14px}
  .win{max-width:100%}
  .win .wh{height:58px;padding:0 16px}
  .chat{padding:16px}
  .bub,.bub.them{max-width:90%}
  .bub .b{font-size:15px;padding:12px 14px}
  .rep .wh{padding:0 16px}
  .rep .body{padding:0 16px 18px;gap:14px}
  .tabs{gap:18px;font-size:12px}
  .rep .title{flex-wrap:wrap;gap:10px}
  .rep .title b{font-size:17px}
  .rep .ln{height:auto;flex-wrap:wrap;gap:2px 12px;padding:9px 0}
  .rep .ln b{width:auto;flex:1}
  .rep .ln em{width:auto}
  .rep .ln span{order:3;flex-basis:100%}
  .rep .foot{flex-direction:column;align-items:flex-start;gap:10px;margin-top:4px;padding:16px 0 0}
  .sheet{padding:14px}
  .sheet table{font-size:11px}
  .wms{padding:14px 16px}
  .wms .r{height:auto;min-height:44px;flex-wrap:wrap;padding:8px 0;gap:4px 10px}
  .more{margin-top:44px}
  .tile{padding:22px}

  /* FAQ, next steps, footer */
  .faq h2{font-size:40px}
  .faq .fhead p{font-size:17px}
  .acc{margin-top:40px}
  .next{padding:48px 22px 44px;border-radius:22px;gap:44px}
  .next h2{font-size:30px}
  .next .act{flex-direction:column;align-items:stretch;gap:16px}
  .next .act .btn{justify-content:center}
  footer .foot{flex-direction:column;gap:10px;padding:32px 0 40px}
}
@media (max-width:420px){
  .desk .ico{display:none} /* the three row icons are identical; the text needs the room */
}
