/* /route-optimization-software/ page styles.
   Everything is scoped under .ros so it can't collide with the site-wide classes in /styles.css
   (.btn, .hero, .card, .story, .stats ...). Mobile rules sit at the bottom. */

.ros {
  --bg: #ffffff; --soft: #f4f7f9; --ink: #1a2b3c; --navy: #001e39; --muted: #5a6670; --line: #e1e7ec;
  --green: #7ed321; --green-d: #4f9a0b; --red: #d64545; --blue: #2f7fd8; --tag: #e8f5d6; --link: #007a99;
  color: var(--ink); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.6; background: var(--bg);
}
.ros *, .ros *::before, .ros *::after { box-sizing: border-box; }
/* Layout classes below set display (flex, grid), which would otherwise beat the hidden attribute the tabs and form steps rely on */
.ros [hidden] { display: none !important; }
:where(.ros) :is(h1, h2, h3) { text-wrap: balance; color: var(--ink); line-height: 1.15; margin: 0; }
:where(.ros) h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.02em; }
:where(.ros) h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.015em; }
:where(.ros) h3 { font-size: 17px; font-weight: 700; }
:where(.ros) p { margin: 0; }
:where(.ros) ul { margin: 0; padding: 0; }
:where(.ros) img { max-width: 100%; }
.ros :focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.ros-wrap { max-width: 1160px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.ros-narrow { max-width: 760px; }
.ros-sec { padding-block: 80px; }
.ros-alt { background: var(--soft); }
.ros-stack { display: flex; flex-direction: column; gap: 16px; }
.ros-center { text-align: center; align-items: center; }
.ros-head { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.ros-muted { color: var(--muted); }
.ros-small { font-size: 13.5px; }
.ros-grid { display: grid; gap: 20px; }
.ros-card { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ros-more { font-size: 14px; font-weight: 600; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.ros-more::after { content: " \2192"; }
.ros-more:hover { color: var(--navy); }
.ros-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; background: var(--green); color: var(--navy); font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 6px; border: 0; cursor: pointer; font-family: inherit; text-decoration: none; transition: background .2s; }
.ros-btn:hover { background: #6fc01a; }
.ros-btn2 { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; background: transparent; color: var(--ink); font-weight: 600; font-size: 15px; padding: 12px 21px; border-radius: 6px; border: 1px solid var(--ink); text-decoration: none; transition: background .2s; }
.ros-btn2:hover { background: var(--soft); }

.ros-crumb { max-width: 1160px; margin: 0 auto; padding: 20px 24px 0; font-size: 13px; color: #6b7a88; }
.ros-crumb a { color: #6b7a88; text-decoration: underline; text-underline-offset: 2px; }
.ros-crumb span[aria-current] { color: var(--ink); font-weight: 600; }
.ros-crumb .sep { margin: 0 8px; }

/* hero */
.ros-hero { padding-block: 48px 0; }
.ros-lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.ros-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ros-help { list-style: none; display: flex; gap: 6px 18px; flex-wrap: wrap; justify-content: center; font-size: 13.5px; color: var(--muted); }
.ros-help li::before { content: "\2713  "; color: var(--green-d); font-weight: 800; }
.ros-badges { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.ros-badges img { height: 64px; width: auto; }
.ros-badges img.r { height: 52px; }
.ros-shot { margin: 36px auto 8px; max-width: 1160px; padding: 0 24px; position: relative; z-index: 1; }
/* Storylane demos, same two as /product/ with the same switch */
.ros-demo-caption { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 0 auto 20px; max-width: 640px; text-align: center; }
.ros-demo-caption strong { color: var(--ink); }
.ros-demo-frame { position: relative; width: 100%; aspect-ratio: 2.11 / 1; background: #0f1a26; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 30, 57, .18), 0 0 0 1px rgba(0, 0, 0, .08); }
.ros-demo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ros-demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ros-demo-toggle { display: flex; width: max-content; gap: 6px; padding: 6px; background: #eef1f5; border-radius: 999px; margin: 20px auto 0; }
.ros-demo-tab { appearance: none; border: 0; background: transparent; min-height: 44px; padding: 10px 22px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .15s ease, color .15s ease; }
.ros-demo-tab:hover { color: var(--ink); }
.ros-demo-tab[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 4px 12px rgba(26, 43, 60, .2); }

/* logo band: markup and styles shared with the homepage (.logo-band in /styles.css) */
.ros .logo-band { padding-top: 40px; }

/* benefits + savings */
.ros-ben { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
.ros-blist { display: flex; flex-direction: column; gap: 10px; }
.ros-bitem { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 116px 1fr; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.ros-bitem b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ros-bitem span { font-weight: 700; }
.ros-bitem small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 400; margin-top: 2px; }
.ros-bitem[aria-selected="true"] { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--green); }
.ros-bitem:focus-visible { outline: 3px solid var(--navy); }
.ros-panel { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 22px; display: flex; flex-direction: column; gap: 16px; min-height: 380px; }
.ros-ui { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.ros-ui-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 600; }
.ros-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ros-mini { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.ros-mini .k { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ros-mini .l { color: var(--muted); font-size: 12px; }
.ros-barline { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.ros-barline i { display: block; height: 100%; background: var(--green); border-radius: 5px; transition: width .6s ease; }
.ros-barline.grey i { background: #c9d2d9; }
.ros-calc { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.ros-calc label { font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.ros-calc input[type=range] { width: 100%; accent-color: var(--green-d); height: 28px; }
.ros-calc .out { font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.ros-calc .ros-btn { align-self: flex-start; margin-top: 6px; }

/* customer results + quotes */
.ros-results { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 16px; }
.ros-res { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.ros-res b { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ros-res span { color: var(--muted); font-size: 14px; }
.ros-res img.co { order: -1; height: 30px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; align-self: flex-start; margin-bottom: 10px; }
.ros-res.big { grid-row: span 2; background: var(--navy); border-color: var(--navy); justify-content: flex-end; margin: 0; }
.ros-res.big img.co { height: 38px; filter: brightness(0) invert(1); }
.ros-res.big b { font-size: 64px; color: var(--green); }
.ros-res.big span { color: #b9c6d1; }
.ros-res.big blockquote { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .15); }
.ros-res.big blockquote p { color: #fff; font-size: 16px; font-weight: 600; line-height: 1.5; }
.ros-res.big .ros-who b { color: #fff; font-size: 14px; }
.ros-res.big .ros-who span { color: #b9c6d1; font-size: 13px; }
.ros-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ros-q p { font-size: 16px; line-height: 1.55; }
.ros-who { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 6px; }
.ros-av { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; object-fit: cover; }
.ros-who b { display: block; font-size: 14px; }
.ros-who span { font-size: 13px; color: var(--muted); }

/* constraints bento */
.ros-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ros-bento .ros-card { padding: 0; overflow: hidden; gap: 0; transition: border-color .2s, transform .2s; }
.ros-bento .ros-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.ros-vis { background: var(--soft); border-bottom: 1px solid var(--line); padding: 16px 18px; height: 250px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ros-shot { padding: 18px; }
.ros-shot img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 30, 57, .08); }
.ros-txt { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ros-txt p { color: var(--muted); font-size: 14.5px; }
.s3 { grid-column: span 3; } .s2 { grid-column: span 2; }
.ros-go { font-size: 14px; font-weight: 600; color: var(--link); display: inline-flex; gap: 6px; align-items: center; margin-top: auto; padding-top: 6px; }
.ros-go::after { content: "\2192"; transition: transform .2s; }
a.ros-card:hover .ros-go::after { transform: translateX(4px); }
.ros-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: var(--bg); white-space: nowrap; }
.ros-chip.ok { border-color: #bfe39a; background: var(--tag); color: #2f5d0a; }
.ros-chip.no { border-color: #f2c4c4; background: #fdeeee; color: #8a1f1f; }
.ros-tech { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; width: 100%; }
.ros-tech .n { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 13px; }
.ros-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ros-tl { width: 100%; display: flex; flex-direction: column; gap: 8px; font-size: 11px; color: var(--muted); }
.ros-tl .r { display: grid; grid-template-columns: 54px 1fr; gap: 8px; align-items: center; }
.ros-tl .t { position: relative; height: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; }
.ros-tl .w { position: absolute; top: 2px; bottom: 2px; border-radius: 3px; background: rgba(126, 211, 33, .25); border: 1px dashed var(--green-d); }
.ros-tl .j { position: absolute; top: 3px; bottom: 3px; border-radius: 3px; background: var(--ink); }
.ros-cost { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: 12.5px; display: flex; flex-direction: column; gap: 6px; font-variant-numeric: tabular-nums; }
.ros-cost div { display: flex; justify-content: space-between; gap: 8px; }
.ros-cost .tot { border-top: 1px solid var(--line); padding-top: 6px; font-weight: 800; }
.ros-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; width: 100%; font-size: 10px; text-align: center; }
.ros-cal i { display: block; aspect-ratio: 1; border-radius: 4px; background: var(--bg); border: 1px solid var(--line); font-style: normal; padding-top: 3px; color: var(--muted); }
.ros-cal i.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ros-cal i.m { background: var(--green); color: var(--navy); border-color: var(--green); }
.ros-bars { display: flex; gap: 10px; align-items: flex-end; height: 140px; width: 100%; }
.ros-bars div { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: center; font-size: 10px; color: var(--muted); }
.ros-bars span { width: 100%; border-radius: 4px 4px 0 0; background: var(--ink); }
.ros-bars span.g { background: var(--green); }
.ros-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
a.ros-mini4 { transition: border-color .2s, transform .2s; }
a.ros-mini4:hover { border-color: var(--ink); transform: translateY(-2px); }
.ros-mini4 p { color: var(--muted); font-size: 14px; }
.ros-ic { width: 36px; height: 36px; border-radius: 8px; background: var(--tag); color: #2f5d0a; display: grid; place-items: center; }
.ros-ic svg { width: 20px; height: 20px; }
.ros-center-link { display: flex; justify-content: center; }
.ros-center-link .ros-more { font-size: 15px; }

/* same-day replanning */
.ros-dyn { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.ros-dyn-shot { margin-top: 8px; }
.ros-dyn-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1482 / 703; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 30, 57, .14); }
.ros-dyn-shot figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* segments */
.ros-segtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 720px; }
.ros-segtabs button { font-family: inherit; display: flex; gap: 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.ros-segtabs button:hover { border-color: var(--muted); }
.ros-segtabs button b { display: block; font-size: 16px; }
.ros-segtabs button small { display: block; font-size: 13px; color: var(--muted); }
.ros-si { width: 44px; height: 44px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; flex: none; }
.ros-si svg { width: 22px; height: 22px; }
.ros-segtabs button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.ros-segtabs button[aria-pressed="true"] small { color: #b9c6d1; }
.ros-segtabs button[aria-pressed="true"] .ros-si { background: var(--green); color: var(--navy); }
.ros-segintro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.ros-segintro img { border-radius: 12px; width: 100%; height: 240px; object-fit: cover; }
.ros-ind { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ros-ind a.ros-card { gap: 6px; transition: border-color .2s; }
.ros-ind a.ros-card:hover { border-color: var(--ink); }
.ros-ind h3 { display: flex; justify-content: space-between; gap: 8px; }
.ros-ind h3::after { content: "\2192"; color: var(--muted); font-weight: 600; }
.ros-ind p { font-size: 14px; color: var(--muted); }

/* demo band + 2-step form */
.ros-band { background: var(--navy); color: #fff; }
:where(.ros-band) h2 { color: #fff; }
.ros-band .ros-muted, .ros-band .ros-help { color: #b9c6d1; }
.ros-band .ros-help li::before { color: var(--green); }
.ros-demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.ros-demo .ros-help { justify-content: flex-start; }
.ros-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.ros-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: #dbe3ea; font-size: 15px; }
.ros-steps li b { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--navy); display: grid; place-items: center; font-size: 13px; }
.ros-form-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.ros-form-card h3 { font-size: 20px; }
.ros-form-card .ros-step-n { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ros-form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.ros-field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }
.ros-field input, .ros-field select { font-family: inherit; font-size: 16px; padding: 11px 12px; min-height: 48px; border: 1px solid #c9d2d9; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.ros-field input[aria-invalid="true"], .ros-field select[aria-invalid="true"] { border-color: var(--red); }
.ros-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ros-form .ros-btn { width: 100%; }
.ros-form-back { all: unset; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--link); text-decoration: underline; align-self: flex-start; min-height: 32px; }
.ros-form-err { color: #b42318; font-size: 13.5px; }
.ros-form-err a { text-decoration: underline; }
.ros-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.ros-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.ros-form-done h3 { font-size: 20px; }
.ros-form-done p { color: var(--muted); margin-top: 6px; }
.ros-meet { margin-top: 14px; }
.ros-meet iframe { width: 100%; height: 640px; border: 0; }

/* comparison */
.ros-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.ros-cmp { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 980px; }
.ros-cmp th, .ros-cmp td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ros-cmp th { background: var(--soft); font-weight: 700; font-size: 13.5px; }
.ros-cmp tr:last-child td { border-bottom: 0; }
.ros-cmp td:first-child { font-weight: 600; width: 200px; }
.ros-cmp .me { background: #f3fbe9; }
.ros-cmp th.me { background: var(--ink); color: #fff; }
.ros-cmp-logo { display: block; height: 22px; width: auto; filter: brightness(0) invert(1); }
.ros-cmp .grp td { background: var(--soft); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ros-cmp .y { color: #2f5d0a; font-weight: 700; }
.ros-cmp .p { color: #7a5600; font-weight: 600; }
.ros-cmp .n { color: #8a1f1f; font-weight: 600; }
.ros-cmp .y::before { content: "\25CF  "; } .ros-cmp .p::before { content: "\25D0  "; } .ros-cmp .n::before { content: "\25CB  "; }
.ros-cmppick { display: none; }
.ros-cmpcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ros-cmpcards a.ros-card { gap: 6px; transition: border-color .2s; }
.ros-cmpcards a.ros-card:hover { border-color: var(--ink); }
.ros-cmpcards b { font-size: 16px; }
.ros-kind { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* stories */
.ros-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); }
.ros-video { all: unset; position: relative; display: block; aspect-ratio: 16 / 9; background: var(--ink); cursor: pointer; width: 100%; }
.ros-video img { width: 100%; height: 100%; object-fit: cover; opacity: .8; display: block; }
.ros-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ros-play { position: absolute; inset: 0; display: grid; place-items: center; }
.ros-play span { width: 76px; height: 76px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.ros-play span::after { content: ""; border-left: 22px solid var(--navy); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.ros-feature .body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ros-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ros-nums b { display: block; font-size: 24px; font-weight: 800; }
.ros-nums span { font-size: 12px; color: var(--muted); }
.ros-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ros-story { padding: 28px; gap: 12px; }
.ros-story .lg { height: 28px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; align-self: flex-start; }
.ros-story .tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ros-story .big { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.ros-story p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.ros-story .ros-more { margin-top: auto; padding-top: 8px; }

/* integrations */
.ros-integ { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ros-integ .ros-card .ros-more { margin-top: auto; }
.ros-partners { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: center; }
.ros-partners img { width: 116px; height: 40px; object-fit: contain; filter: grayscale(1); opacity: .8; }

/* pricing estimate: /pricing/pricing.css styles the configurator; this only fits it into the page.
   The base rules above use :where() so they never outrank pricing.css. */
.ros-pricing .configurator-card { text-align: left; }
.ros .pricing-output { padding-top: 72px; }

/* faq */
.ros-faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.ros-faq summary { font-weight: 700; cursor: pointer; font-size: 17px; min-height: 28px; }
.ros-faq details p { margin-top: 10px; color: var(--muted); }

/* final cta */
.ros-trust { display: flex; gap: 14px 26px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 10px; }
.ros-trust img { height: 56px; width: auto; }
.ros-trust span { color: #b9c6d1; font-size: 13.5px; font-weight: 600; }

/* sticky bar */
.ros-sticky { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); z-index: 900; transform: translateY(110%); transition: transform .3s ease; box-shadow: 0 -8px 24px rgba(0, 30, 57, .08); }
.ros-sticky.is-on { transform: none; }
.ros-sticky .ros-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 10px; }
.ros-sticky b { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .ros-barline i, .ros-sticky { transition: none; }
}

/* === MOBILE: route-optimization-software === */
@media (max-width: 1024px) {
  .ros-quotes { grid-template-columns: 1fr 1fr; }
  .ros-integ { grid-template-columns: 1fr 1fr; }
  .ros-demo { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .ros-ben, .ros-dyn, .ros-feature { grid-template-columns: 1fr; }
  .ros-bento { grid-template-columns: 1fr 1fr; }
  .s3, .s2 { grid-column: span 1; }
  .ros-four { grid-template-columns: 1fr 1fr; }
  .ros-g3 { grid-template-columns: 1fr 1fr; }
  .ros-cmpcards { grid-template-columns: 1fr 1fr; }
  .ros-segintro { grid-template-columns: 1fr; }
  .ros-ind { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ros-results { grid-template-columns: 1fr 1fr; }
  .ros-res.big { grid-column: 1 / -1; grid-row: auto; }
  /* comparison: eLogii vs one tool at a time */
  .ros-cmppick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .ros-cmppick span { font-weight: 700; font-size: 14px; width: 100%; }
  .ros-cmppick button { font-family: inherit; font-size: 13px; font-weight: 600; min-height: 44px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
  .ros-cmppick button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
  .ros-tablewrap { overflow: visible; }
  .ros-cmp { min-width: 0; }
  .ros-cmp thead { display: none; }
  .ros-cmp tbody { display: block; }
  .ros-cmp tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .ros-cmp td { border: 0; padding: 10px 12px; font-size: 13.5px; }
  .ros-cmp td:first-child { grid-column: 1 / -1; width: auto; padding-bottom: 0; font-size: 13px; }
  .ros-cmp td[data-c]::before { content: attr(data-h); display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  /* eLogii cells are labelled with the logo, like the column heading on desktop */
  .ros-cmp td.me[data-c]::before { content: ""; width: 56px; height: 15px; margin-bottom: 6px; background: url(/assets/logos/elogii-logo.webp) left center / contain no-repeat; }
  .ros-cmp.js td[data-c]:not(.me):not(.on) { display: none; }
  .ros-cmp tr.grp, .ros-cmp tr.grp td { display: block; }
}
@media (max-width: 640px) {
  .ros-sec { padding-block: 56px; }
  .ros-wrap, .ros-shot { padding-left: 16px; padding-right: 16px; }
  .ros-crumb { padding: 16px 16px 0; }
  .ros-hero { padding-top: 32px; }
  .ros-lead { font-size: 17px; }
  .ros-ctas { flex-direction: column; align-self: stretch; }
  .ros-ctas a { width: 100%; }
  .ros-badges img { height: 48px; }
  .ros-badges img.r { height: 40px; }
    .ros-demo-caption { font-size: 14px; }
  .ros-demo-tab { padding: 8px 16px; font-size: 13px; }
  .ros-bitem { grid-template-columns: 92px 1fr; padding: 14px; }
  .ros-bitem b { font-size: 22px; }
  .ros-panel { padding: 16px; min-height: 0; }
  .ros-bento, .ros-four, .ros-g3, .ros-cmpcards, .ros-quotes, .ros-integ, .ros-ind { grid-template-columns: 1fr; }
  .ros-vis { height: 220px; }
  .ros-partners { gap: 20px 24px; }
  .ros-partners img { width: 92px; height: 32px; }
  .ros-results { grid-template-columns: 1fr; }
  .ros-res b { font-size: 32px; }
  .ros-res.big b { font-size: 52px; }
  .ros-segtabs { grid-template-columns: 1fr; }
  .ros-segintro img { height: 180px; }
  .ros-row-2 { grid-template-columns: 1fr; }
  .ros-form-card { padding: 20px; }
  .ros-sticky b { font-size: 12.5px; }
  .ros-sticky .ros-btn { padding: 10px 14px; font-size: 14px; }
  .ros-trust img { height: 44px; }
}
