/* Rivo: readable semantic colours, restrained indigo and teal, shared across pages. */
:root{--rivo-primary:#245b85;--rivo-primary-hover:#194563;--rivo-tint:#122535;--rivo-teal:#91bfe8;--muted:#b2b6c4;--accent:#91bfe8}
html[data-theme=light]{--rivo-primary:#245b85;--rivo-primary-hover:#194563;--rivo-tint:#e9f1f7;--rivo-teal:#245b85;--muted:#526079;--accent:#245b85;--bg:#f7f9fd;--surface:#fff;--surface-strong:#edf2fb}
.rivo-site .hero h1{max-width:1040px;margin-left:auto;margin-right:auto;font-size:clamp(42px,5.5vw,72px);line-height:1.08;text-wrap:balance}.rivo-site .hero-accent{color:var(--accent)}.rivo-site .hero .description{max-width:680px;font-size:17px;line-height:1.8}.rivo-site .hero .category{color:var(--accent)}
.rivo-site :is(.hero-start,.nav-start),.rivo-full-demo .nav-cta{background:var(--rivo-primary)!important;color:#fff!important;border-color:transparent!important}.rivo-site :is(.hero-start,.nav-start):hover,.rivo-full-demo .nav-cta:hover{background:var(--rivo-primary-hover)!important;color:#fff!important}.rivo-site .hero-demo{background:var(--surface-strong);color:var(--text)!important;border-color:var(--line)}.rivo-site .hero-demo:hover{background:var(--rivo-tint);border-color:var(--accent);color:var(--text)!important}
.rivo-site :is(.plan a,.sector-detail-link,.workflow-demo-link){color:var(--text)!important;background:var(--surface-strong);border-color:var(--line)}.rivo-site :is(.plan a,.sector-detail-link,.workflow-demo-link):hover{background:var(--rivo-tint);color:var(--text)!important;border-color:var(--accent)}.rivo-site .plan a{display:flex;align-items:center;justify-content:center}.rivo-site .contact button{background:var(--rivo-primary);color:#fff}.rivo-site .contact button:hover{background:var(--rivo-primary-hover);color:#fff}
.rivo-site :is(.steps p,.plan p,.industry-card p,.foundation-steps p,.sector-description,.sector-story li,.sample-label,.sample-data,.field-label,.sector-window-footer,.trial-note,.billing-note){color:var(--muted)}.rivo-site .steps article{border-top:3px solid var(--rivo-primary)}.rivo-site .steps article:nth-child(even){border-top-color:var(--rivo-teal)}.rivo-site .plan:nth-child(2){border-color:var(--rivo-primary)}.rivo-site .industry-card .category{color:var(--accent)}.rivo-site .industry-card:hover{border-color:var(--rivo-primary)}
/* Text must stay readable even if a reveal observer misses an intersection. */
.rivo-site.motion-ready [data-reveal]{opacity:1!important;transform:none!important}
/* Tour fields formerly mixed light text with dark-only surfaces. */
#product-tour{--tour-muted:#b2b6c4;--tour-accent:#91bfe8}.rivo-site #product-tour .tour-order-row p{color:var(--tour-text)}#product-tour .tour-pane-tabs,.tour-steps,.tour-bottom,.tour-mileage-tabs{background:var(--tour-strong);color:var(--tour-muted)}#product-tour .tour-bottom button{color:var(--tour-text)}#product-tour .tour-trip-day small{color:var(--tour-text)}#product-tour .tour-sidebar nav button{color:var(--tour-muted)}#product-tour .tour-sidebar nav button[aria-pressed=true]{color:var(--tour-text);background:var(--tour-strong)}#product-tour .tour-story p{color:var(--tour-muted)}
html[data-theme=light] #product-tour{--tour-text:#172033;--tour-muted:#526079;--tour-accent:#245b85;--tour-strong:#edf2fb;--tour-surface:#fff}html[data-theme=light] #product-tour :is(.tour-map,.tour-order-footer,.tour-story,.tour-steps,.tour-bottom){background:var(--tour-surface);color:var(--tour-text)}html[data-theme=light] #product-tour :is(.tour-order-row p,.tour-driver-chip,.tour-trip-day small,.tour-trip-journey>div,.tour-trip-journey small,.tour-bottom button){color:var(--tour-text)}html[data-theme=light] #product-tour :is(.tour-pane-tabs>.is-active,.tour-mileage-tabs>.is-active,.tour-sidebar nav button[aria-pressed=true]){background:#dfeaf3;color:#245b85}html[data-theme=light] #product-tour .tour-status.is-complete{background:#dcefe6;color:#185b40}html[data-theme=light] #product-tour .tour-status.is-moving{background:#dfeaf3;color:#245b85}html[data-theme=light] #product-tour .tour-primary{background:var(--rivo-primary);color:#fff}html[data-theme=light] #product-tour .tour-primary:hover{background:var(--rivo-primary-hover);color:#fff}
html[data-theme=light] .rivo-site :is(.sector-fields strong,.sector-order h3,.sector-note p,.sector-trip strong,.sector-ui-heading,.sector-window-bar){color:var(--text)!important}html[data-theme=light] .rivo-site :is(.sector-note,.sector-window-footer,.sector-closing){background:var(--surface-strong);border-color:var(--line)}html[data-theme=light] .rivo-site :is(.sector-flow p,.sector-window-footer,.sector-trip small,.foundation-heading p,.foundation-steps p){color:var(--muted)!important}html[data-theme=light] .rivo-site .sector-fields .driver-avatar{background:#dfeaf3;color:#245b85}
html[data-theme=light] .rivo-full-demo :is(.demo-app-sidebar nav>.active,.demo-workspace-tabs>span:first-child){background:#dfeaf3;color:#245b85}html[data-theme=light] .rivo-full-demo .demo-workspace-tabs{background:var(--surface-strong);color:var(--text)}html[data-theme=light] .rivo-full-demo .demo-app-sidebar nav>a:hover{background:var(--surface-strong);color:var(--text)}
.operations-audience{max-width:1040px;margin:38px auto 0;padding:24px 12px 0;border-top:1px solid var(--line);text-align:center}.operations-audience p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 17px}.operations-audience ul{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 28px;list-style:none;margin:0;padding:0}.operations-audience li{font-size:13px;font-weight:500;color:var(--text);display:flex;align-items:center;gap:8px}.operations-audience li:before{content:"";width:5px;height:5px;background:var(--rivo-teal);border-radius:50%}.operations-audience>a{font-size:11px;display:inline-block;margin-top:18px;color:var(--accent)}
.rivo-confidence{max-width:1192px;margin:0 auto;padding:78px 0 44px;text-align:center}.rivo-confidence>.category{font-size:10px;letter-spacing:.13em;color:var(--accent);margin:0 0 18px}.rivo-site .rivo-confidence h2{font-size:clamp(30px,3.6vw,45px);font-weight:500;line-height:1.16;margin:0;letter-spacing:-.045em}.rivo-confidence h2 span{color:var(--muted)}.confidence-lede{font-size:15px;line-height:1.8;color:var(--muted);max-width:60ch;margin:23px auto 0}.confidence-capabilities{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;padding:42px 0}.confidence-symbol{display:grid;place-items:center;width:60px;height:60px;border-radius:17px;margin:0 auto 19px;border:1px solid var(--line);background:var(--rivo-tint);color:var(--accent)}.confidence-symbol svg{width:26px;height:26px}.confidence-capabilities article:nth-child(even) .confidence-symbol{color:var(--rivo-teal)}.rivo-confidence .confidence-capabilities h3{font-size:14px;font-weight:500;margin:0 0 8px}.confidence-capabilities p{font-size:12px;line-height:1.8;color:var(--muted);max-width:22ch;margin:auto}.confidence-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;border-top:1px solid var(--line);padding:30px 0}.confidence-outcomes strong{display:block;font-size:27px;line-height:1.25;font-weight:500;letter-spacing:-.035em;color:var(--accent)}.confidence-outcomes span{display:block;font-size:12px;color:var(--muted);margin-top:12px}
@media(max-width:1240px){.rivo-confidence{margin-left:24px;margin-right:24px}}
@media(max-width:760px){.rivo-site .hero h1{font-size:clamp(38px,7vw,56px)}.rivo-site .hero .description{font-size:15px}.operations-audience{margin-top:28px;padding-top:20px}.operations-audience ul{gap:12px 18px}.operations-audience li{font-size:11px}.rivo-confidence{padding:48px 0 20px;margin-left:22px;margin-right:22px}.confidence-capabilities{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;padding:32px 0}.confidence-capabilities article:last-child{grid-column:1/-1}.confidence-outcomes{gap:18px}.confidence-outcomes strong{font-size:19px}.confidence-outcomes span{font-size:11px}.confidence-lede{font-size:13px}}
@media(max-width:420px){.confidence-outcomes{grid-template-columns:1fr;text-align:left;gap:23px}.confidence-outcomes>div{display:flex;align-items:center;justify-content:space-between;gap:20px}.confidence-outcomes strong{font-size:21px;max-width:45%}.confidence-outcomes span{font-size:11px;max-width:45%;margin:0}.rivo-site .hero h1{font-size:38px}.rivo-site .hero h1 br{display:none}}
.rivo-site .step{color:var(--accent)}.rivo-site .contact-start{color:var(--accent)!important}.rivo-site .contact-start:hover{color:var(--text)!important}.rivo-site .contact p{color:var(--muted)}.rivo-site .contact-email a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
html[data-theme] .rivo-site :is(.hero-start,.nav-start),html[data-theme] .rivo-full-demo .nav-cta{background:var(--rivo-primary)!important;color:#fff!important;border-color:transparent!important}html[data-theme] .rivo-site :is(.hero-start,.nav-start):hover,html[data-theme] .rivo-full-demo .nav-cta:hover{background:var(--rivo-primary-hover)!important;color:#fff!important}html[data-theme=light] #product-tour .tour-checkbox{color:#fff}
.rivo-site .contact summary,.rivo-site footer p{color:var(--muted)}html[data-theme] .rivo-site .closing a{background:var(--rivo-primary);color:#fff!important;border-color:transparent}html[data-theme] .rivo-site .closing a:hover{background:var(--rivo-primary-hover);color:#fff!important}
/* Industry detail and full-tour surfaces follow the selected display theme. */
html[data-theme="light"] .rivo-site .industry-hero{background:var(--rivo-bg)!important}
html[data-theme="light"] .rivo-site .industry-boundary{background:var(--rivo-surface-strong)!important}
html[data-theme="light"] .rivo-full-demo .login-link{background:var(--rivo-surface-strong)!important;color:var(--rivo-text)!important}
html[data-theme="light"] .rivo-full-demo footer a{color:var(--rivo-muted)!important}
html[data-theme] :is(.rivo-site,.rivo-full-demo) .skip-link{background:var(--rivo-primary)!important;color:#fff!important}

html[data-theme=light]{--bg:#f8fafc;--surface-strong:#edf3f7}

/* Rivo deep-blue brand, with a lighter mark on dark surfaces. */
html[data-theme] img[src*="rivo-pinwheel.svg"]{filter:none!important}
html[data-theme=dark] img[src*="rivo-pinwheel.svg"]{content:url('/assets/rivo-pinwheel-on-dark.svg?v=103')}
html[data-theme]{--accent:#91bfe8;--blue:#91bfe8;--blue-dark:#bad9f0}
html[data-theme=light]{--accent:#245b85;--blue:#245b85;--blue-dark:#194563;--rb:#245b85}
html[data-theme=light] .button:not(.secondary):not(.danger):not(.ghost):not(.subtle):not(.success):not(.warning){background:#245b85!important;border-color:#245b85!important;color:#fff!important}
html[data-theme=light] .button:not(.secondary):not(.danger):not(.ghost):not(.subtle):not(.success):not(.warning):not(:disabled):hover{background:#194563!important;border-color:#194563!important}

.rivo-custom{max-width:1200px;margin:0 auto;padding:88px 0;display:grid;grid-template-columns:1fr 1fr;gap:80px;border-top:1px solid var(--line)}.rivo-custom h2{font-size:clamp(30px,3.6vw,46px);line-height:1.16;letter-spacing:-.035em;font-weight:500;margin:14px 0 22px}.rivo-custom p{color:var(--muted);line-height:1.8;font-size:14px;max-width:47ch}.rivo-custom .eyebrow{color:var(--accent);font-size:12px}.custom-workflows article{position:relative;padding:0 0 24px 42px;margin-bottom:24px;border-bottom:1px solid var(--line)}.custom-workflows article:last-child{margin-bottom:0}.custom-workflows span{position:absolute;left:0;top:2px;font-size:12px;color:var(--accent)}.custom-workflows h3{font-size:17px;font-weight:500;margin:0 0 8px}.custom-workflows p{margin:0;font-size:13px}@media(max-width:1240px){.rivo-custom{margin:0 24px}}@media(max-width:760px){.rivo-custom{grid-template-columns:1fr;gap:36px;padding:52px 0;margin:0 22px}}
