/* CRM keeps its product demos while adopting the homepage canvas and shared navbar.
   The scoped important declarations replace canvas values in the legacy response. */
html.rl-crm-root{
  --crm-bg:#f0f6fc;
  --crm-backdrop:radial-gradient(ellipse at 78% 36%,#b6dcff50,transparent 58%),linear-gradient(112deg,#f5f9ff 12%,#edf5ff 73%,#e1effe);
  --crm-arc-glass:#8bc4ef;--crm-arc-shade:#c4dff7;--crm-arc-rim:#4d9cdd;--crm-arc-light:#fff;
  color-scheme:light;background:var(--crm-bg)!important;scroll-padding-top:105px;
}
html.rl-crm-root.bf-dark{
  --crm-bg:#030910;
  --crm-backdrop:radial-gradient(ellipse at 77% 33%,#145a9e20,transparent 58%),linear-gradient(112deg,#030b17 12%,#061426 73%,#091d35);
  --crm-arc-glass:#5badef;--crm-arc-shade:#102c4c;--crm-arc-rim:#6bbdff;--crm-arc-light:#e1f6ff;
  color-scheme:dark;
}
html.rl-crm-root body.rl-crm-page{background:var(--crm-bg)!important;padding-top:0!important}
.rl-crm-root .rl-crm-page main{position:relative;isolation:isolate;background:transparent!important}
.rl-crm-root .rl-crm-page main>.hero{background:transparent!important}
.rl-crm-root .rl-crm-page .hero .hero-artwork{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.rl-crm-page section[id]{scroll-margin-top:105px}
.rl-crm-page .wrap{width:min(1180px,calc(100% - 80px));margin-inline:auto}
.crm-hero-backdrop{position:absolute;z-index:-1;top:0;left:0;right:0;height:1150px;overflow:hidden;pointer-events:none;background:var(--crm-backdrop);-webkit-mask-image:linear-gradient(#000 0%,#000 65%,transparent 100%);mask-image:linear-gradient(#000 0%,#000 65%,transparent 100%)}
.crm-glass-arc{display:block;position:absolute;top:-124px;right:-240px;width:640px;height:1080px;max-width:none;overflow:visible}
.crm-glass-volume{fill:url(#crm-glass-volume)}
.crm-glass-glow,.crm-glass-edge,.crm-glass-rim{fill:none;stroke:url(#crm-glass-rim)}
.crm-glass-glow{stroke-width:24;opacity:.17;filter:blur(11px)}
.crm-glass-edge{stroke-width:7;opacity:.54;filter:blur(2.5px)}
.crm-glass-rim{stroke-width:1.8;opacity:.92}
.crm-glass-color{stop-color:var(--crm-arc-glass)}
.crm-glass-shade{stop-color:var(--crm-arc-shade)}
.crm-glass-rim-color{stop-color:var(--crm-arc-rim)}
.crm-glass-light{stop-color:var(--crm-arc-light)}
@media(min-width:1600px){.crm-hero-backdrop{height:1210px}}
@media(max-width:1200px){.rl-crm-page .wrap{width:calc(100% - 56px)}}
@media(max-width:1040px){.crm-glass-arc{top:260px;right:-325px;width:520px;height:877.5px}}
@media(max-width:680px){.crm-glass-arc{top:360px;right:-270px;width:420px;height:708.75px}}
@media(max-width:600px){.rl-crm-page .wrap{width:calc(100% - 40px)}}
@media(max-width:520px){.rl-crm-page .wrap{width:calc(100% - 32px)}}
@media(max-width:360px){.rl-crm-page .wrap{width:calc(100% - 24px)}}

/* Keep this section's text and surfaces in the same theme. Legacy heading
   rules are important, so the component explicitly owns its text colors. */
.rl-crm-page #product-guide{
  --guide-ink:#153750;--guide-copy:#506d84;--guide-accent:#0767c9;
  --guide-panel:radial-gradient(circle at 85% 10%,#19c5f426,transparent 31%),linear-gradient(135deg,#f8fcff,#eef7ff);
  --guide-border:#c5dff1;--guide-pill:#ffffffd9;--guide-pill-border:#c3dced;
  --guide-shadow:0 24px 60px #1f507b14;
  background:transparent!important;
}
html.bf-dark .rl-crm-page #product-guide{
  --guide-ink:#edf5ff;--guide-copy:#b0c4d7;--guide-accent:#8bceff;
  --guide-panel:radial-gradient(circle at 85% 10%,#168bff1f,transparent 42%),linear-gradient(135deg,#102235,#0a1726);
  --guide-border:#9ccaff30;--guide-pill:#122a40;--guide-pill-border:#97c8ef36;
  --guide-shadow:0 24px 60px #00000029;
}
.rl-crm-page #product-guide .product-guide-card{background:var(--guide-panel);border-color:var(--guide-border);box-shadow:var(--guide-shadow)}
.rl-crm-page #product-guide .product-guide-copy h2,
.rl-crm-page #product-guide .product-guide-copy>p strong{color:var(--guide-ink)!important}
.rl-crm-page #product-guide .product-guide-copy>p,
.rl-crm-page #product-guide .product-guide-note{color:var(--guide-copy)!important}
.rl-crm-page #product-guide .kicker{color:var(--guide-accent)!important}
.rl-crm-page #product-guide .product-guide-pills span{color:var(--guide-copy)!important;background:var(--guide-pill);border-color:var(--guide-pill-border)}
.rl-crm-page #product-guide .product-guide-download{color:var(--guide-accent)!important;background:var(--guide-pill);border-color:var(--guide-pill-border)}

/* CRM Hero owns its typography and layout; the retained product sections keep
   their existing styles. Both themes share the same quiet glass canvas. */
.rl-crm-page .crm-product-hero{
  --cr-ink:#173b55;--cr-copy:#627b92;--cr-muted:#6c859c;
  --cr-surface:#ffffffb8;--cr-line:#bbd4ed8c;--cr-soft:#fff;
  --cr-blue:#0875da;--cr-purple:#8859d8;--cr-mint:#159d7a;--cr-amber:#ba7a22;
  --cr-shadow:0 16px 45px #2a608b0c;
  color:var(--cr-ink);font-family:Anuphan,system-ui,sans-serif;
}
html.bf-dark .rl-crm-page .crm-product-hero{
  --cr-ink:#edf5ff;--cr-copy:#a9bfd3;--cr-muted:#8da6bf;
  --cr-surface:#102035b3;--cr-line:#9bc8ff26;--cr-soft:#13263b;
  --cr-blue:#75c4ff;--cr-purple:#bda0ff;--cr-mint:#69dbb6;--cr-amber:#f2c17a;
  --cr-shadow:0 16px 45px #00000019;
}
html.rl-crm-root body.rl-crm-page #home.crm-product-hero{padding:138px 0 48px!important;overflow:hidden!important}
.rl-crm-page #home .cr-hero-wrap{width:min(1180px,calc(100% - 80px));margin-inline:auto}
.crm-product-hero *{box-sizing:border-box}
.crm-product-hero :is(a,p,h1,strong,span){font-family:Anuphan,system-ui,sans-serif}
.cr-icon{display:block;width:20px;height:20px;flex:0 0 20px}
.cr-hero-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:30px;align-items:center}
.cr-hero-copy{min-width:0;padding:12px 0 20px;animation:cr-enter .75s both}
.cr-eyebrow{display:inline-flex;align-items:center;gap:9px;max-width:100%;padding:8px 12px;border:1px solid var(--cr-line);border-radius:99px;background:var(--cr-surface);box-shadow:inset 0 1px 0 #ffffff12;color:var(--cr-muted);font-size:11px;line-height:1.6;white-space:nowrap}
.cr-eyebrow strong{color:var(--cr-blue);font-weight:600}
.cr-product-dot{display:block;width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#259bfa;box-shadow:0 0 0 4px #259bfa14}
.cr-eyebrow-divider{width:1px;height:12px;background:var(--cr-line)}
.rl-crm-page #home .cr-hero-copy h1{margin:24px 0 16px;color:var(--cr-ink)!important;font-size:clamp(40px,4.15vw,56px)!important;font-weight:700;line-height:1.36!important;letter-spacing:-1.6px;overflow:visible}
.rl-crm-page #home h1 .cr-headline-accent{display:inline-block;padding-bottom:.09em;background:linear-gradient(105deg,#0879e8 8%,#5376e7 55%,#915bdc);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;color:var(--cr-blue)!important}
html.bf-dark .rl-crm-page #home h1 .cr-headline-accent{background-image:linear-gradient(105deg,#4ebaff 5%,#81a4ff 55%,#c399ff)}
.rl-crm-page #home .cr-hero-lead{max-width:480px;margin:0;color:var(--cr-copy)!important;font-size:16px;line-height:1.95;font-weight:400;letter-spacing:0}
.cr-hero-actions{display:flex;gap:12px;align-items:center;margin-top:27px}
.rl-crm-page #home .cr-button{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:51px;padding:13px 21px;border:1px solid var(--cr-line);border-radius:14px;font-size:14px;font-weight:600;line-height:1.6;text-decoration:none;transition:transform .22s,box-shadow .22s,border-color .22s}
.rl-crm-page #home .cr-button-primary{position:relative;isolation:isolate;overflow:hidden;color:#fff!important;background:linear-gradient(112deg,#168bff,#2469df 78%,#596ce7);border-color:#4ba0ff5c;box-shadow:inset 0 1px 0 #ffffff59,0 9px 25px #168bff29}
.cr-button-primary:before{position:absolute;z-index:-1;content:'';inset:0;background:linear-gradient(110deg,transparent 10%,#ffffff24 48%,transparent 80%);transform:translateX(-100%);transition:transform .65s}
.rl-crm-page #home .cr-button-secondary{color:var(--cr-ink)!important;background:var(--cr-surface);box-shadow:inset 0 1px 0 #ffffff12}
.cr-button .cr-icon{width:17px;height:17px;flex-basis:17px;transition:transform .2s}
.cr-button:focus-visible{outline:3px solid #168bff;outline-offset:4px}
.cr-hero-proof{display:flex;flex-wrap:wrap;align-items:center;gap:11px 21px;margin:19px 0 0;color:var(--cr-muted)!important;font-size:11px;line-height:1.7}
.cr-hero-proof span{display:flex;align-items:center;gap:6px}
.cr-hero-proof .cr-icon{width:14px;height:14px;flex-basis:14px;color:var(--cr-blue)}
.cr-visual{position:relative;min-width:0;animation:cr-enter .9s .08s both}
.cr-visual:before{position:absolute;z-index:-1;content:'';inset:10% -10% 0;border-radius:50%;background:radial-gradient(ellipse,#208bf51b,#9982f40d 50%,transparent 72%);pointer-events:none}
.cr-workspace-label{display:flex;align-items:center;justify-content:center;gap:9px;width:max-content;max-width:100%;margin:0 auto 10px;padding:7px 11px 7px 7px;color:var(--cr-copy);font-size:10px;line-height:1.6;border:1px solid var(--cr-line);border-radius:12px;background:var(--cr-surface);box-shadow:var(--cr-shadow)}
.cr-workspace-mark{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;color:var(--cr-blue);background:#168bff12;border-radius:7px}
.cr-workspace-mark .cr-icon{width:14px;height:14px;flex-basis:14px}
.cr-workspace-label>i,.cr-connected>i{display:block;width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#36c69d;box-shadow:0 0 0 3px #36c69d10}
.cr-workspace-label>i{margin-left:6px}
.cr-visual-picture{display:block;width:100%;animation:cr-float 8s ease-in-out 1s infinite}
.cr-visual-image{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 18px 32px #165c9712)}
.cr-capabilities-panel{position:relative;margin-top:31px;padding:19px 25px 23px;border:1px solid var(--cr-line);border-radius:22px;background:var(--cr-surface);box-shadow:inset 0 1px 0 #ffffff14,var(--cr-shadow);animation:cr-enter .9s .15s both}
.cr-capabilities-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px;color:var(--cr-muted);font-size:10px;line-height:1.8}
.cr-connected{display:flex;align-items:center;gap:7px;font-size:9px}
.cr-capabilities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.cr-capability{display:flex;align-items:center;gap:12px;min-width:0;--cr-tone:var(--cr-blue);--cr-tint:#168bff14;--cr-border:#168bff24}
.cr-purple{--cr-tone:var(--cr-purple);--cr-tint:#9870ef14;--cr-border:#9870ef24}
.cr-mint{--cr-tone:var(--cr-mint);--cr-tint:#25b99014;--cr-border:#25b99024}
.cr-amber{--cr-tone:var(--cr-amber);--cr-tint:#e9af4a14;--cr-border:#e9af4a24}
.cr-capability-icon{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border:1px solid var(--cr-border);border-radius:14px;background:linear-gradient(140deg,var(--cr-tint),transparent),var(--cr-soft);color:var(--cr-tone);transition:transform .25s}
.cr-capability-icon .cr-icon{width:21px;height:21px;flex-basis:21px}
.cr-capability>div{min-width:0}
.cr-capability strong{display:block;color:var(--cr-ink);font-size:13px;font-weight:600;line-height:1.7}
.cr-capability>div>span{display:block;margin-top:3px;color:var(--cr-muted);font-size:10px;line-height:1.75}
@media(hover:hover){.cr-button:hover{transform:translateY(-2px);box-shadow:0 12px 28px #168bff29}.cr-button-primary:hover:before{transform:translateX(100%)}.cr-button-primary:hover .cr-icon{transform:translateX(3px)}.cr-capability:hover .cr-capability-icon{transform:translateY(-3px) rotate(-4deg)}}
@keyframes cr-enter{from{opacity:.35;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes cr-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media(max-width:1200px){.rl-crm-page #home .cr-hero-wrap{width:calc(100% - 56px)}.cr-hero-grid{gap:24px}.rl-crm-page #home .cr-hero-copy h1{font-size:45px!important;letter-spacing:-1.3px}.cr-capabilities-panel{padding-inline:20px}.cr-capability{gap:10px}.cr-capability strong{font-size:12px}.cr-capability>div>span{font-size:9px}}
@media(max-width:980px){.cr-hero-grid{grid-template-columns:1fr;gap:25px}.cr-hero-copy{text-align:center;padding:0}.rl-crm-page #home .cr-hero-copy h1{font-size:52px!important}.cr-hero-lead{margin-inline:auto!important}.cr-hero-actions,.cr-hero-proof{justify-content:center}.cr-visual{width:min(620px,100%);margin-inline:auto}.cr-capabilities{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.cr-capability strong{font-size:13px}.cr-capability>div>span{font-size:11px}.cr-capabilities-panel{margin-top:29px;padding:20px 25px 25px}.cr-capabilities-heading{font-size:11px}}
@media(max-width:680px){html.rl-crm-root body.rl-crm-page #home.crm-product-hero{padding:121px 0 31px!important}.rl-crm-page #home .cr-hero-wrap{width:calc(100% - 40px)}.cr-eyebrow{font-size:10px;gap:8px;padding:7px 10px}.rl-crm-page #home .cr-hero-copy h1{font-size:clamp(33px,8.6vw,45px)!important;letter-spacing:-.9px;margin:20px 0 12px;line-height:1.39!important}.rl-crm-page #home .cr-hero-lead{font-size:14px;line-height:1.9}.cr-hero-actions{display:grid;grid-template-columns:1.22fr 1fr;gap:10px;margin-top:23px}.rl-crm-page #home .cr-button{min-height:48px;padding:12px 8px;font-size:12px;gap:7px;border-radius:13px}.cr-button .cr-icon{width:15px;height:15px;flex-basis:15px}.cr-hero-proof{margin-top:15px;gap:15px;font-size:10px}.cr-hero-proof .cr-icon{width:12px;height:12px;flex-basis:12px}.cr-hero-grid{gap:26px}.cr-workspace-label{font-size:9px;margin-bottom:5px;padding:6px 9px 6px 6px}.cr-workspace-mark{height:23px;width:23px;flex-basis:23px}.cr-capabilities-panel{margin-top:22px;padding:17px 15px 19px;border-radius:19px}.cr-capabilities-heading{font-size:10px;justify-content:center;margin-bottom:17px}.cr-connected{display:none}.cr-capabilities{gap:19px 12px}.cr-capability{display:block}.cr-capability-icon{width:34px;height:34px;border-radius:11px;margin-bottom:9px}.cr-capability-icon .cr-icon{width:18px;height:18px;flex-basis:18px}.cr-capability strong{font-size:12px}.cr-capability>div>span{font-size:10px;line-height:1.8;margin-top:4px}.cr-lead-break{display:none}.cr-hero-lead{max-width:325px!important}}
@media(max-width:360px){.rl-crm-page #home .cr-hero-wrap{width:calc(100% - 24px)}.cr-eyebrow{font-size:9px;gap:7px}.rl-crm-page #home .cr-hero-copy h1{font-size:30px!important;letter-spacing:-.8px}.rl-crm-page #home .cr-hero-lead{font-size:13px}.rl-crm-page #home .cr-button{font-size:11px;gap:6px}.cr-hero-proof{font-size:9px;gap:13px}.cr-capabilities-panel{padding-inline:13px}.cr-capability strong{font-size:11px}.cr-capability>div>span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.crm-product-hero *,.crm-product-hero *:before{animation:none!important;transition:none!important}}
