/* Template detail: shared Nodomo colours, type, and surfaces from main.css. */
.retail-template-page{color:var(--ink);background:var(--paper)}
.retail-hero h1,.retail-section h2,.retail-section h3,.retail-conversion h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:500;letter-spacing:-.045em}
.retail-section h2,.retail-conversion h2{font-size:clamp(32px,3.6vw,48px);line-height:1.06}
.retail-template-page .template-eyebrow{display:inline-flex;font-size:11px;letter-spacing:.11em;color:var(--blue)}
.retail-hero{padding-block:32px 48px}
.retail-hero-content{padding-top:52px;max-width:880px;margin-inline:auto;text-align:center}
.retail-hero h1{font-size:clamp(40px,4.8vw,64px);line-height:1.04;margin:20px 0 24px}
.retail-hero h1 span{color:var(--blue)}
.retail-hero-content>p{max-width:750px;font-size:16px;line-height:1.8;color:var(--muted);margin:0 auto}
.hero-cta{display:flex;gap:24px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:28px}
.text-link{font-size:14px;font-weight:500;color:var(--blue)}
.hero-facts{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:26px 0 0;padding:0;list-style:none;font-size:12px;color:var(--ink)}
.hero-facts li{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:var(--soft);line-height:1.4}
.hero-facts svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:var(--blue);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hero-facts svg circle{fill:var(--soft)}
.retail-section{padding-block:56px}
.retail-section-head{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-bottom:32px}
.retail-section-head h2{margin:16px 0 18px}
.retail-section-head p{max-width:740px;font-size:16px;line-height:1.8;color:var(--muted);margin:0}
.retail-section-head>.btn{flex-shrink:0}
.retail-template-page #explore-workflow,.retail-template-page #whats-inside{scroll-margin-top:96px}
.retail-template-page :is(a,button,summary,[tabindex]):focus-visible{outline:2px solid var(--blue);outline-offset:4px}

/* Read-only product explorer. */
.explorer{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--paper);box-shadow:0 8px 24px #213a8506}
.explorer-bar,.explorer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;font-size:12px;color:var(--muted);background:var(--paper)}
.explorer-bar>span:first-child{display:flex;align-items:center;gap:10px;font-weight:500;color:var(--ink);flex-wrap:wrap}
.explorer-bar i{width:9px;height:9px;background:var(--blue);border-radius:50%}
.read-only,.recording-duration{padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:var(--soft);color:var(--muted);font-size:10px;font-weight:400}
.workflow-chapters{display:flex;gap:8px;padding:12px 20px;background:var(--soft);border-top:1px solid var(--line);overflow-x:auto}
.workflow-chapters[hidden],.zoom-controls[hidden],.milestone-tabs[hidden]{display:none}
.workflow-chapters button{border:1px solid transparent;background:transparent;color:var(--muted);white-space:nowrap;border-radius:999px;padding:9px 14px;font-size:12px;cursor:pointer}
.workflow-chapters button:hover{color:var(--blue)}
.workflow-chapters button[aria-pressed=true]{background:var(--paper);border-color:#dce3ff;color:var(--blue);box-shadow:0 2px 5px #0033ff06}
.workflow-viewport{height:400px;overflow:auto;border-block:1px solid var(--line);background-color:#f8fafc;background-image:radial-gradient(#d3deea .8px,transparent .8px);background-size:22px 22px;cursor:grab;touch-action:pan-x pan-y;overscroll-behavior-x:contain;overflow-anchor:none}
.workflow-viewport.is-dragging{cursor:grabbing;user-select:none}
.workflow-space{width:7571px;height:1380px;position:relative;overflow:hidden}
.starter-flow{position:absolute;left:0;top:0;width:7571px;height:1380px;display:block;padding:0;transform-origin:0 0;font-family:Poppins,sans-serif}
.graph-connections{position:absolute;inset:0;overflow:visible;pointer-events:none}
.graph-edge path{fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.graph-edge.restart path{stroke-dasharray:7 5}
.graph-edge text{font:11px Poppins,sans-serif;fill:var(--muted);paint-order:stroke;stroke:#f8fafc;stroke-width:5px;stroke-linejoin:round}
.graph-edge.restart text{fill:#a66e15}
.product-node{position:absolute;width:360px;height:210px;padding:18px 20px 16px 24px;border:1px solid #dce3ed;border-radius:16px;background:var(--paper);box-shadow:0 5px 16px #223e5c08;display:grid;grid-template-columns:36px 1fr;column-gap:12px;align-content:start;color:var(--ink)}
.product-node::before{content:'';position:absolute;left:10px;top:16px;bottom:16px;width:3px;border-radius:5px;background:#d0d9ff}
.product-node.approval::before{background:#eddfd3}
.product-node-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--soft-blue);color:var(--blue)}
.product-node-icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.product-node.approval .product-node-icon{background:#fbf0e8;color:#aa6634}
.product-node-title{min-height:60px}
.product-node-title>span{display:block;color:var(--blue);font-size:11px;font-weight:500;letter-spacing:.06em;line-height:16px;margin-bottom:5px}
.product-node.approval .product-node-title>span{color:#aa6634}
.retail-template-page .product-node h3{font:500 18px/1.3 Poppins,sans-serif;letter-spacing:-.025em;color:var(--ink);margin:0;overflow-wrap:break-word}
.product-node-title>p{font:13px/1.4 Poppins,sans-serif;margin:6px 0 0;color:var(--muted)}
.product-node-meta{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:10px;font:12px/1.3 Poppins,sans-serif}
.graph-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 8px;font-size:12px;white-space:nowrap}
.duration-badge{background:var(--soft);color:var(--muted)}
.join-badge{background:#ecf8fd;color:#276d8a}
.approval-level{font-size:12px;color:var(--muted)}
.restart-badge{padding:5px 9px;border-radius:999px;background:#fff5d1;color:#a66e15;font-size:12px}
.node-port{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--blue);border:2px solid #fff;box-shadow:0 0 0 1px #c1d1f3;top:calc(50% - 5px)}
.port-in{left:-5px}.port-out{right:-5px}
.product-node.approval .port-in{background:#aa6634}.product-node.approval .port-out{background:#29b28b}
.node-assignment{position:absolute;left:24px;right:20px;bottom:16px;display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:11px}
.assignee-avatar{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;background:var(--soft-blue);color:var(--blue);border:1px solid #e0e5fc;border-radius:50%;font:500 11px Poppins,sans-serif}
.assignee-name,.assignee-team{display:block;font-family:Poppins,sans-serif}
.assignee-name{font-size:14px;line-height:1.3;font-weight:500;color:var(--ink)}
.assignee-team{font-size:12px;line-height:1.4;color:var(--muted);margin-top:2px}
.explorer-help{display:flex;flex-direction:column;gap:9px;font-size:11px}
.graph-legend{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}
.graph-legend i{width:16px;height:2px;display:inline-block}
.legend-task{background:#279d70}.legend-approval{background:var(--blue)}.legend-rework{border-top:2px dashed #ec9b20}
.workflow-minimap{width:150px;height:44px;border:1px solid var(--line);border-radius:9px;padding:5px;background:var(--soft);margin-left:auto}
.zoom-controls{display:flex;align-items:center;gap:5px;flex-shrink:0}
.zoom-controls button{background:var(--paper);border:1px solid var(--line);border-radius:999px;min-width:34px;height:32px;color:var(--ink);cursor:pointer;font-size:12px;padding-inline:9px}
.zoom-controls button:hover{border-color:var(--blue);color:var(--blue)}
.zoom-controls button:disabled{opacity:.4;cursor:default}
.zoom-level{min-width:42px;text-align:center;font-size:11px}
.graph-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Milestones: the same pill controls used by the shared pricing page. */
.milestone-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:5px;padding:5px;background:var(--soft);border:1px solid var(--line);border-radius:999px;margin-bottom:24px}
.milestone-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--muted);padding:14px 12px;font-size:14px;line-height:1.4;cursor:pointer}
.milestone-tabs button>span{font-size:11px;opacity:.7}
.milestone-tabs button[aria-selected=true]{color:var(--blue);background:var(--paper);border-color:#dce3ff;box-shadow:0 2px 6px #0033ff08}
.milestone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.milestone-grid.is-tabbed{display:block}
.milestone-card{display:block;padding:30px;border:1px solid var(--line);border-radius:16px;background:var(--paper);min-width:0;scroll-margin-top:110px}
.milestone-grid.is-tabbed .milestone-card{min-height:290px}
.milestone-grid.is-tabbed .milestone-card[hidden]{display:none}
.milestone-card-head{display:flex;align-items:center;gap:12px}
.milestone-index{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;font-size:11px;background:var(--soft-blue);color:var(--blue)}
.milestone-card-head h3{margin:0;font-size:26px;line-height:1.2;flex:1;min-width:0}
.milestone-count{font-size:11px;color:var(--muted);white-space:nowrap;border:1px solid var(--line);border-radius:999px;padding:5px 10px}
.milestone-teams{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0 24px}
.milestone-teams>span{font-size:11px;line-height:1.5;padding:5px 10px;border-radius:999px;background:var(--soft);color:var(--muted)}
.milestone-includes{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);border-top:1px solid var(--line);padding-top:20px;margin-bottom:16px}
.milestone-nodes{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px;padding:0;margin:0}
.milestone-node-row{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.65;color:var(--ink);min-width:0}
.milestone-node-icon{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border-radius:7px;background:var(--soft-blue);color:var(--blue)}
.milestone-node-icon svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.milestone-node-icon.approval{color:#aa6634;background:#fbf0e8}.milestone-node-icon.rework{color:#a66e15;background:#fff8e8}

/* Product views, benefits, and related library cards. */
.view-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 28px}
.view-card{min-width:0}
.view-visual{height:250px;overflow:hidden;background:var(--soft);border:1px solid var(--line);border-radius:16px;transition:border-color .2s}
.view-card:hover .view-visual{border-color:#aabaff}
.view-visual img{display:block;width:100%;height:100%;object-fit:contain;padding:18px}
.view-card:first-child .view-visual img{padding:0;object-fit:cover}
.view-copy{padding-top:18px}
.view-label{font-size:11px;color:var(--muted)}
.view-copy h3{font-size:26px;line-height:1.2;margin:9px 0 10px}
.view-copy p{font-size:15px;color:var(--muted);line-height:1.8;max-width:530px;margin:0}
.unavailable-view{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:24px;color:var(--muted);font-size:12px;text-align:center}
.unavailable-view>span:first-child{font-size:32px;color:#a5abb5}.unavailable-view strong{font-size:15px;font-weight:500;color:var(--muted)}
.benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.benefit-grid article{padding:30px;border:1px solid var(--line);border-radius:16px}
.benefit-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--soft-blue);color:var(--blue);font-size:21px}
.benefit-grid h3{font-size:26px;line-height:1.2;margin:24px 0 14px}
.benefit-grid p{font-size:14px;line-height:1.8;color:var(--muted);margin:0}
.retail-template-page .retail-related{display:grid;grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;scroll-snap-type:none;padding:0;margin-top:0}

/* FAQs share the pricing page's readable type and ruled rows. */
.retail-faq-section{display:grid;grid-template-columns:.85fr 1.15fr;gap:60px;border-top:1px solid var(--line);margin-top:30px}
.retail-faq-section h2{margin:16px 0}
.detail-faq{border-bottom:1px solid var(--line)}
.detail-faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:24px;cursor:pointer;font-size:17px;font-weight:500;padding:22px 0;line-height:1.6}
.detail-faq summary::-webkit-details-marker{display:none}
.detail-faq summary span{color:var(--muted);font-size:24px;font-weight:400}
.detail-faq[open] summary span{transform:rotate(45deg)}
.detail-faq p{font-size:15px;color:var(--muted);line-height:1.8;margin:0 26px 24px 0}
.retail-conversion{padding-block:32px 0}
.retail-conversion>div{border:1px solid var(--line);border-radius:24px;padding:52px 32px;background:var(--soft-blue);text-align:center}
.retail-conversion h2{margin:18px 0}
.retail-conversion p{font-size:16px;line-height:1.8;color:var(--muted);max-width:610px;margin:0 auto 28px}
/* Shared navigation, closing banner, footer, and buttons inherit main.css. */
.retail-template-page .final-box h2{font-weight:400}

@media(min-width:1450px){.view-visual{height:275px}}
@media(max-width:1100px){
 .retail-template-page .retail-related{grid-template-columns:repeat(2,minmax(0,1fr))}
 .milestone-tabs button{font-size:12px;padding:13px 8px;gap:6px}
 .milestone-nodes{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 .workflow-minimap{display:none}.explorer-bar{align-items:flex-start}.recording-duration{white-space:nowrap}
 .view-visual{height:210px}.view-card:first-child .view-visual img{object-fit:contain}
 .benefit-grid{gap:16px}.benefit-grid article{padding:24px}.benefit-grid h3{font-size:24px}
 .retail-faq-section{gap:32px;grid-template-columns:1fr 1.4fr}
}
@media(max-width:600px){
 .retail-hero{padding-block:24px 28px}.retail-hero-content{padding-top:34px}.retail-hero h1{font-size:42px}.retail-hero h1 br{display:none}.retail-hero h1 span{display:block}
 .retail-hero-content>p,.retail-section-head p{font-size:14px}.hero-facts{gap:12px;font-size:11px}.hero-cta{gap:20px}
 .retail-section{padding-block:36px}.retail-section-head{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:26px}.retail-section-head h2 br{display:none}
 .explorer-bar{padding:15px}.explorer-bar>span:last-child{display:none}.explorer-bar>span:first-child{font-size:11px}
 .workflow-chapters{padding:10px;gap:4px}.workflow-chapters button{padding:8px 11px;font-size:11px}.workflow-viewport{height:330px}
 .explorer-bottom{align-items:flex-start;flex-direction:column;gap:14px;padding:15px}.explorer-bottom .zoom-controls{align-self:flex-end}.explorer-help{font-size:10px}.graph-legend{font-size:9px}
 .milestone-tabs{display:flex;overflow-x:auto;scrollbar-width:thin}.milestone-tabs button{flex:0 0 auto;min-width:170px;white-space:nowrap}
 .milestone-grid,.view-grid,.benefit-grid,.retail-faq-section{grid-template-columns:1fr}
 .milestone-card{padding:22px}.milestone-grid.is-tabbed .milestone-card{min-height:0}.milestone-card-head{gap:10px;flex-wrap:wrap}.milestone-card-head h3{font-size:23px}.milestone-count{margin-left:44px}
 .milestone-nodes{grid-template-columns:1fr}.milestone-teams{margin:16px 0 20px}.milestone-node-row{font-size:14px}
 .view-grid{gap:32px}.view-visual{height:215px}.view-copy p{font-size:14px}
 .benefit-grid article{padding:26px}.benefit-grid h3{font-size:25px}
 .retail-template-page .retail-related{grid-template-columns:1fr}
 .retail-faq-section{gap:16px;margin-top:20px}.detail-faq summary{font-size:15px}.detail-faq p{font-size:14px}
 .retail-conversion>div{padding:36px 22px}.retail-conversion h2 br{display:none}.retail-conversion p{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.view-visual{transition:none}}
@media print{
 .workflow-viewport{height:auto;overflow:visible;background:#fff}.workflow-space{width:100%!important;height:auto!important;overflow:visible}
 .starter-flow{position:static;width:100%;height:auto;transform:none!important;display:grid;grid-template-columns:1fr 1fr;gap:20px}
 .graph-connections,.workflow-chapters,.workflow-minimap,.explorer-bottom,.hero-cta,.milestone-tabs{display:none}
 .product-node{position:relative;left:auto!important;top:auto!important;width:100%;height:210px;break-inside:avoid}.node-port{display:none}
 .milestone-grid.is-tabbed .milestone-card[hidden]{display:block!important}.milestone-grid.is-tabbed .milestone-card{margin-bottom:20px}
 .milestone-card,.view-card{break-inside:avoid}.retail-section{padding-block:24px}
}
/* Illustrated benefits follow the approved retail feature-card design. */
.benefit-section{scroll-margin-top:100px}
.benefit-section>.retail-section-head{align-items:flex-end;gap:60px;margin-bottom:46px}
.benefit-section>.retail-section-head>div{flex:1}
.benefit-section h2{font-size:clamp(40px,4.6vw,64px);line-height:1.02;margin-bottom:0}
.benefit-section>.retail-section-head>p{flex:1;max-width:520px;margin-bottom:2px}
.benefit-grid{gap:24px;padding:7px;max-width:1200px;margin:0 auto}
.benefit-grid article{display:flex;flex-direction:column;min-width:0;padding:8px;border:1px solid var(--line);border-radius:24px;background:var(--paper);box-shadow:0 0 0 7px var(--soft)}
.benefit-art{border:1px solid var(--line);border-radius:17px;background:color-mix(in srgb,var(--soft) 60%,var(--paper));overflow:hidden}
.benefit-art img{display:block;width:100%;height:auto;aspect-ratio:1.4;object-fit:contain;padding:12px}
.benefit-copy{padding:24px 20px}
.benefit-copy h3{font-size:23px;line-height:1.2;letter-spacing:-.035em;margin:0 0 14px}
.benefit-copy p{font-size:13px;line-height:1.85;max-width:36ch;margin:0}
@media(max-width:1000px){.benefit-section>.retail-section-head{gap:36px}.benefit-grid{gap:20px}.benefit-copy{padding:24px 16px 26px}.benefit-copy h3{font-size:22px}}
@media(max-width:760px){.benefit-section>.retail-section-head{align-items:flex-start;flex-direction:column;gap:24px;margin-bottom:34px}.benefit-section>.retail-section-head>p{max-width:100%}.benefit-section h2 br{display:block}.benefit-grid{grid-template-columns:1fr;gap:28px}.benefit-art img{aspect-ratio:1.45;max-height:290px}.benefit-copy{padding:24px 20px 28px}.benefit-copy h3{font-size:25px}.benefit-copy p{font-size:14px;max-width:none}.benefit-grid article{padding:8px}}
@media print{.benefit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.benefit-grid article{box-shadow:none;break-inside:avoid}.benefit-copy{padding:16px 10px}.benefit-copy h3{font-size:20px}}
