/* Align factory typography and component density with other product pages. */
html[data-product-surface="p1"] .hero h1{font-size:clamp(44px,5.3vw,72px);line-height:1.15}
html[data-product-surface="p1"] .hero-sub{font-size:22px;margin-top:18px}
html[data-product-surface="p1"] .hero-description{font-size:15px;line-height:1.8;max-width:760px;margin-top:14px}
html[data-product-surface="p1"] .hero-product{width:min(1080px,100%);margin-top:32px}
html[data-product-surface="p1"] .section{padding:52px 4vw}
html[data-product-surface="p1"] .sec-head{gap:32px;margin-bottom:24px}
html[data-product-surface="p1"] .sec-head h2{font-size:clamp(28px,3vw,40px);line-height:1.35}
html[data-product-surface="p1"] .sec-head>p{font-size:14px;line-height:1.8}
html[data-product-surface="p1"] .button{min-height:44px;padding:0 22px;font-size:14px}
html[data-product-surface="p1"] .pain-card{padding:22px 20px}
html[data-product-surface="p1"] .icon-heading{gap:10px;margin-bottom:12px}
html[data-product-surface="p1"] .icon-heading>svg{width:32px!important;height:32px!important;flex-basis:32px;padding:7px;border-radius:9px}
html[data-product-surface="p1"] .pain-card>.icon-heading h3{font-size:18px;line-height:1.5}
html[data-product-surface="p1"] .pain-card p{font-size:14px;line-height:1.8;margin-top:12px}
html[data-product-surface="p1"] .baseline{font-size:12px;margin-top:16px;padding-top:14px}
html[data-product-surface="p1"] .baseline b{font-size:22px}
html[data-product-surface="p1"] .arch-input b,html[data-product-surface="p1"] .arch-module>.icon-heading>b{font-size:15px}
html[data-product-surface="p1"] .arch-input small,html[data-product-surface="p1"] .arch-module>small{font-size:12px;line-height:1.75}
html[data-product-surface="p1"] .arch-module{padding:17px 15px}
html[data-product-surface="p1"] .hub-heading h3{font-size:24px}
html[data-product-surface="p1"] .hub-heading p{font-size:13px}
html[data-product-surface="p1"] .module-tab{padding:12px 14px;gap:10px}
html[data-product-surface="p1"] .module-tab b{font-size:15px}
html[data-product-surface="p1"] .module-tab small{font-size:11px}
html[data-product-surface="p1"] .module-copy h3{font-size:24px}
html[data-product-surface="p1"] .module-copy>p,html[data-product-surface="p1"] .module-points li{font-size:14px;line-height:1.8}
html[data-product-surface="p1"] .metric{padding:20px 16px}
html[data-product-surface="p1"] .metric>.icon-heading{gap:8px;margin-bottom:14px}
html[data-product-surface="p1"] .metric>.icon-heading>svg{width:30px!important;height:30px!important;flex-basis:30px;padding:6px}
html[data-product-surface="p1"] .metric>.icon-heading>b{font-size:14px;line-height:1.5}
html[data-product-surface="p1"] .metric>strong{font-size:32px}
html[data-product-surface="p1"] .metric>p,html[data-product-surface="p1"] .metric>.target{font-size:12px;line-height:1.75}
html[data-product-surface="p1"] .sidebar-foot{gap:9px;margin-top:18px}
html[data-product-surface="p1"] .sidebar-note{padding:11px 10px}
html[data-product-surface="p1"] .sidebar-note strong{font-size:12px}
html[data-product-surface="p1"] .sidebar-note p{font-size:11px;line-height:1.7;margin-top:5px}
html[data-product-surface="p1"] .roadmap{gap:16px;padding-top:0;align-items:stretch}
html[data-product-surface="p1"] .roadmap .phase{padding:20px 18px;min-height:0;margin-top:0!important;border-bottom-width:3px}
html[data-product-surface="p1"] .roadmap .phase:after,html[data-product-surface="p1"] .roadmap .phase:before{display:none}
html[data-product-surface="p1"] .roadmap .phase-heading{gap:10px;margin-bottom:14px}
html[data-product-surface="p1"] .roadmap .phase-heading .phase-no{width:34px;height:34px;flex-basis:34px;font-size:13px}
html[data-product-surface="p1"] .roadmap .phase-heading h3{font-size:18px;line-height:1.5}
html[data-product-surface="p1"] .roadmap .phase p{font-size:14px;line-height:1.8;margin-bottom:16px}
html[data-product-surface="p1"] .roadmap .deliverable{padding:12px;font-size:12px;line-height:1.8}
html[data-product-surface="p1"] .footer h2{font-size:clamp(28px,3vw,40px)}
html[data-product-surface="p1"] .footer p{font-size:14px;line-height:1.8}
@media(max-width:820px){
html[data-product-surface="p1"] .hero{padding:88px 20px 30px}
html[data-product-surface="p1"] .hero h1{font-size:42px}
html[data-product-surface="p1"] .hero-sub{font-size:18px}
html[data-product-surface="p1"] .hero-description{font-size:14px}
html[data-product-surface="p1"] .section{padding:34px 20px}
html[data-product-surface="p1"] .sec-head h2{font-size:28px}
html[data-product-surface="p1"] .sec-head>p{font-size:13px}
html[data-product-surface="p1"] .arch-inputs{gap:10px}
html[data-product-surface="p1"] .roadmap .phase-heading h3{font-size:17px}
}
@media(max-width:767px){
html[data-product-surface="p1"] .arch{padding:14px}
html[data-product-surface="p1"] .arch-input{padding:12px;gap:9px}
html[data-product-surface="p1"] .arch-input b,html[data-product-surface="p1"] .arch-module>.icon-heading>b{font-size:14px}
html[data-product-surface="p1"] .arch-input small,html[data-product-surface="p1"] .arch-module>small{font-size:12px}
html[data-product-surface="p1"] .arch-connector{font-size:12px;padding:12px 0}
html[data-product-surface="p1"] .arch-hub{padding:17px 14px}
html[data-product-surface="p1"] .hub-heading h3{font-size:21px}
html[data-product-surface="p1"] .arch-output h4{font-size:15px}
html[data-product-surface="p1"] .arch-output p{font-size:12px}
html[data-product-surface="p1"] .module-tab{padding:11px 10px;gap:8px}
html[data-product-surface="p1"] .module-tab b{font-size:14px}
html[data-product-surface="p1"] .module-tab small{font-size:11px}
html[data-product-surface="p1"] .module-points{gap:9px;margin-top:14px}
html[data-product-surface="p1"] .comparison{padding:17px 15px}
html[data-product-surface="p1"] .before b{font-size:19px}
html[data-product-surface="p1"] .after b{font-size:25px}
html[data-product-surface="p1"] .governance .step-name b{font-size:15px}
html[data-product-surface="p1"] .governance .step-name span{width:26px;height:26px;font-size:12px}
html[data-product-surface="p1"] .baseline b{font-size:21px}
html[data-product-surface="p1"] .baseline{font-size:12px}
html[data-product-surface="p1"] .under-demo{font-size:12px;gap:10px;margin-top:18px}
html[data-product-surface="p1"] .acceptance{font-size:12px;gap:10px;margin-top:16px}
html[data-product-surface="p1"] .acceptance b{font-size:14px}
html[data-product-surface="p1"] .footer-values{font-size:12px;gap:12px;margin-top:20px;padding:18px 0}
html[data-product-surface="p1"] .footer-legal{font-size:11px}
}

/* Smaller problem cards, scoped to the requested group. */
html[data-product-surface="p1"] #pain .pain-grid{gap:12px}
html[data-product-surface="p1"] #pain .pain-card{padding:18px 16px}
html[data-product-surface="p1"] #pain .pain-card>.icon-heading{gap:8px;margin-bottom:10px}
html[data-product-surface="p1"] #pain .pain-card>.icon-heading h3{font-size:16px;line-height:1.45}
html[data-product-surface="p1"] #pain .pain-card>.icon-heading>svg{width:28px!important;height:28px!important;flex:0 0 28px!important;padding:6px;border-radius:8px}
html[data-product-surface="p1"] #pain .pain-card p{font-size:13px;line-height:1.75;margin-top:9px}
html[data-product-surface="p1"] #pain .baseline{font-size:11px;line-height:1.7;padding-top:12px;margin-top:13px}
html[data-product-surface="p1"] #pain .baseline b{font-size:20px;line-height:1.4;margin-bottom:4px}
html[data-product-surface="p1"] #pain .statement{font-size:13px;line-height:1.8;padding:15px 17px;margin-top:18px}
@media(max-width:767px){
html[data-product-surface="p1"] #pain .pain-grid{gap:10px!important}
html[data-product-surface="p1"] #pain .pain-card{padding:12px!important;border-radius:11px!important}
html[data-product-surface="p1"] #pain .pain-card>.icon-heading{gap:7px!important;margin-top:0!important;margin-bottom:9px!important}
html[data-product-surface="p1"] #pain .pain-card>.icon-heading h3{font-size:15px!important;line-height:1.45!important}
html[data-product-surface="p1"] #pain .pain-card>.icon-heading>svg{width:24px!important;height:24px!important;flex-basis:24px!important;padding:5px!important;border-radius:7px!important}
html[data-product-surface="p1"] #pain .pain-card p{font-size:12px!important;line-height:1.75!important;margin-top:8px!important}
html[data-product-surface="p1"] #pain .baseline{font-size:11px!important;line-height:1.65!important;padding-top:10px!important;margin-top:12px!important}
html[data-product-surface="p1"] #pain .baseline b{font-size:18px!important;line-height:1.4!important}
html[data-product-surface="p1"] #pain .statement{font-size:12px!important;line-height:1.75!important;padding:13px 14px!important;margin-top:15px!important}
}

/* Metric values share the exact title scale, including the final full-width card. */
html[data-product-surface="p1"] #value .metric>.icon-heading>b,
html[data-product-surface="p1"] #value .metric>strong{font-size:14px!important;line-height:1.5!important;letter-spacing:normal!important}
@media(max-width:767px){
html[data-product-surface="p1"] #value .metric>.icon-heading>b,
html[data-product-surface="p1"] #value .metric>strong{font-size:13px!important;line-height:1.6!important}
html[data-product-surface="p1"] #value .metric>.icon-heading{margin-bottom:9px!important}
}

/* Scenario comparisons use the same restrained scale as other card text. */
html[data-product-surface="p1"] .comparison .before b,
html[data-product-surface="p1"] .comparison .after b{font-size:14px!important;line-height:1.6!important;letter-spacing:normal!important;font-weight:700}
@media(max-width:767px){
html[data-product-surface="p1"] .comparison .before b,
html[data-product-surface="p1"] .comparison .after b{font-size:13px!important;line-height:1.6!important}
}

/* Compact quotation comparison, using the metric name as the first label. */
html[data-product-surface="p1"] #modules .comparison-quote{display:block!important;padding:14px 16px!important;border-radius:12px;min-height:0!important}
html[data-product-surface="p1"] #modules .comparison-quote .before{padding:0 0 10px!important;border-right:0!important;border-bottom:1px solid var(--line)}
html[data-product-surface="p1"] #modules .comparison-quote .after{padding:10px 0 0!important}
html[data-product-surface="p1"] #modules .comparison-quote span{font-size:12px;line-height:1.5;margin:0 0 5px}
html[data-product-surface="p1"] #modules .comparison-quote b{display:block;line-height:1.6!important}
@media(max-width:767px){html[data-product-surface="p1"] #modules .comparison-quote{padding:12px 14px!important}}

/* Quotation comparison follows the same side-by-side arrangement as order preparation. */
html[data-product-surface="p1"] #modules .comparison-quote{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:0!important;align-items:stretch!important}
html[data-product-surface="p1"] #modules .comparison-quote .before{min-width:0;padding:0 12px 0 0!important;border-bottom:0!important;border-right:1px solid var(--line)!important}
html[data-product-surface="p1"] #modules .comparison-quote .after{min-width:0;padding:0 0 0 12px!important}

/* Fill the quotation panel with practical inputs, rules and outputs. */
html[data-product-surface="p1"] #modules .quote-results{display:grid;gap:16px;min-width:0}
html[data-product-surface="p1"] #modules .quote-details{padding:0 2px}
html[data-product-surface="p1"] #modules .quote-details h4{margin:0 0 12px;font-size:14px;line-height:1.5;color:var(--ink);font-weight:750}
html[data-product-surface="p1"] #modules .quote-details dl{display:grid;gap:11px;margin:0}
html[data-product-surface="p1"] #modules .quote-details dl>div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:start}
html[data-product-surface="p1"] #modules .quote-details dt{margin:0;color:var(--blue);font-size:12px;line-height:1.8;font-weight:650}
html[data-product-surface="p1"] #modules .quote-details dd{margin:0;color:var(--muted);font-size:12px;line-height:1.8}
@media(max-width:767px){html[data-product-surface="p1"] #modules .quote-results{gap:14px}html[data-product-surface="p1"] #modules .quote-details h4{font-size:13px;margin-bottom:10px}html[data-product-surface="p1"] #modules .quote-details dl{gap:9px}html[data-product-surface="p1"] #modules .quote-details dl>div{grid-template-columns:54px minmax(0,1fr);gap:10px}}

html.dark[data-product-surface="p1"] #modules .quote-details h4{color:#dce6f3}
html.dark[data-product-surface="p1"] #modules .quote-details dt{color:#78bcff}
html.dark[data-product-surface="p1"] #modules .quote-details dd{color:#adbed2}
