/* ============================================================
   Last Mile Strategies — Full Site (multi-page SPA)
   Page + section styles. Loads AFTER styles.css (tokens, buttons,
   nav, footer, reveal, kicker, eyebrow, icon-plate live there).
   Impeccable pass: no side-tab card stripes, inline icons,
   eased-out motion, sparing kickers.
   ============================================================ */

/* ---------- SPA page switching ---------- */
.page { display: none; }
.page.active { display: block; animation: pageIn .45s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page.active { animation: none; } }
main { padding-top: var(--nav-h); }

/* ---------- Shared section dressings ---------- */
.sec { padding: var(--section-pad) 0; }
.sec-tight { padding: calc(var(--section-pad) * .7) 0; }
.dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.alt { background: var(--light); }
.center { text-align: center; }
.sec-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.sec-head .h2, .sec-head .h1 { margin-top: 14px; }
.sec-head p { margin: 18px auto 0; }
.on-navy-sub { color: var(--on-dark-2); }

.hero-divider { position: absolute; left: 0; bottom: -1px; width: 100%; height: 56px; display: block; }

/* ---------- Page hero (navy) ---------- */
.phero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.phero .container { position: relative; z-index: 1; }
.phero-pad { padding: 92px 0 80px; }
.phero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.phero h1 .accent, .accent-word { color: var(--accent); }
.phero .lead { color: var(--on-dark-2); margin-top: 22px; }
@media (max-width: 900px) { .phero-split { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- HOME hero stat cards ---------- */
.hstats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hstat-card { background: rgba(255,255,255,.05); border: 1px solid var(--on-dark-line); border-radius: var(--r-lg); padding: 1.4rem; text-align: center; transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base); }
.hstat-card:hover { transform: translateY(-3px); border-color: var(--orange-ring); }
.hstat-card .n { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hstat-card .n.o { color: var(--accent); }
.hstat-card .n.b { color: var(--blue); }
.hstat-card .n.w { color: #fff; }
.hstat-card .l { font-size: .8rem; color: var(--on-dark-3); margin-top: .55rem; line-height: 1.4; }
.hero-chips { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.hero-chip { font-size: .7rem; font-weight: 600; color: var(--on-dark-3); padding: .25rem .7rem; border: 1px solid var(--on-dark-line); border-radius: var(--r-pill); }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 30px 0; overflow: hidden; }
.trust-cap { text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); margin: 0 0 1.2rem; }
.marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 58px; width: max-content; animation: marq 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 26px; width: auto; max-width: 124px; object-fit: contain; opacity: .58; filter: grayscale(100%); transition: filter var(--dur-base), opacity var(--dur-base); }
.marquee-track img:hover { opacity: 1; filter: grayscale(0); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ---------- Problem: before / after (de-slopped, no left stripe) ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 980px; margin: 0 auto; }
.ba-col-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.ba-col-label.old { color: var(--subtle); }
.ba-col-label.new { color: var(--blue); }
.ba-list { display: flex; flex-direction: column; gap: .9rem; }
.ba-old { background: var(--light); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; }
.ba-new { background: #fff; border: var(--edge); border-radius: var(--r-lg); padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--elev-blue); }
.ba-old p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.6; }
.ba-new p { margin: 0; font-size: .92rem; color: var(--navy); font-weight: 500; line-height: 1.6; }
.ba-ico { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; }
@media (max-width: 820px) { .ba-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- How it works timeline ---------- */
.hiw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 2.4rem; }
.step { position: relative; padding-left: 4rem; }
.step::before { content: attr(data-step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.1rem; font-weight: 700; display: grid; place-items: center; box-shadow: var(--elev-step); }
.step:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 50px; bottom: -30px; width: 2px; background: linear-gradient(to bottom, var(--orange-ring), rgba(30,130,190,.12)); }
.step h3 { margin: 0 0 .4rem; }
.step p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 820px) { .hiw-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Services 3-col (inline icon) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card { display: flex; flex-direction: column; }
.svc-card .icon-inline { margin-bottom: 1.1rem; }
.svc-card p { margin: 0 0 1.2rem; font-size: .9rem; color: var(--muted); line-height: 1.7; flex: 1; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonial ---------- */
.tq { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.tq-mark { font-size: 4rem; line-height: .5; color: var(--orange); opacity: .5; font-family: Georgia, serif; }
.tq-text { font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 500; font-style: italic; line-height: 1.6; color: #fff; margin: 1rem 0 0; }
.tq-by { margin-top: 1.6rem; display: flex; gap: .9rem; align-items: center; justify-content: center; }
.tq-av { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.tq-name { font-weight: 700; color: #fff; font-size: .92rem; text-align: left; }
.tq-role { font-size: .8rem; color: var(--on-dark-3); text-align: left; }
.tq-flag { margin-top: 1.5rem; font-size: .72rem; color: var(--on-dark-3); opacity: .7; }

/* ---------- Orange CTA band ---------- */
.cta-band { background: var(--accent); position: relative; overflow: hidden; }
.cta-band .noise { opacity: .07; }
.cta-band .inner { position: relative; z-index: 1; text-align: center; max-width: 620px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: 1rem auto 2rem; }

/* ---------- Industries grid ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.ind { position: relative; overflow: hidden; background: #fff; border: var(--edge); border-radius: var(--r-lg); padding: 1.6rem; transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med), border-color var(--dur-med); }
.ind::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(240px circle at var(--mx,50%) var(--my,50%), rgba(240,100,30,.1), transparent 60%); transition: opacity var(--dur-base); }
.ind:hover { transform: translateY(-4px); box-shadow: var(--elev-3); border-color: var(--orange-ring); }
.ind:hover::before { opacity: 1; }
.ind-head { display: flex; align-items: center; gap: 12px; margin-bottom: .9rem; position: relative; }
.ind-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--orange-soft); display: grid; place-items: center; color: var(--orange); }
.ind-ico svg { width: 22px; height: 22px; }
.ind h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.ind ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; position: relative; }
.ind li { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.ind li::before { content: "• "; color: var(--orange); }
@media (max-width: 980px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .ind-grid { grid-template-columns: 1fr; } }

/* ---------- Sound-familiar quote cards ---------- */
.sf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sf { background: #fff; border: var(--edge); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--elev-1); }
.sf .q { font-size: 1rem; color: var(--navy); line-height: 1.7; font-style: italic; margin: 0 0 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--hairline); }
.sf .a { font-size: .88rem; color: var(--muted); line-height: 1.7; margin: 0; }
@media (max-width: 860px) { .sf-grid { grid-template-columns: 1fr; } }

/* ---------- Stat row (navy) ---------- */
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 820px; margin: 0 auto; }
.statrow .s { text-align: center; }
.statrow .n { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--orange); line-height: 1; }
.statrow .l { font-size: .8rem; color: var(--on-dark-3); margin-top: .4rem; }
@media (max-width: 620px) { .statrow { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }

/* ---------- WHAT WE DO: principle chips (de-slopped: top accent) ---------- */
.principles { display: flex; flex-direction: column; gap: 1rem; }
.principle { background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-line); border-top: 2px solid var(--accent); border-radius: var(--r-md); padding: 1.15rem 1.4rem; }
.principle:nth-child(2) { border-top-color: var(--blue); }
.principle .t { font-weight: 600; color: #fff; font-size: .92rem; }
.principle .d { font-size: .8rem; color: var(--on-dark-2); margin-top: .25rem; line-height: 1.5; }

/* ---------- Service detail rows ---------- */
.svc-row { border-bottom: 1px solid var(--hairline); }
.svc-row.alt { background: var(--light); }
.svc-row .container { padding: 72px var(--pad); }
.svc-row .row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.svc-row h2 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1.25; margin: .8rem 0 1rem; }
.svc-row .body { font-size: .92rem; color: var(--muted); line-height: 1.8; margin: 0 0 1.4rem; max-width: none; }
.checks { display: flex; flex-direction: column; gap: .7rem; }
.check-item { display: flex; gap: .7rem; align-items: flex-start; }
.check-item .ci { width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.check-item .ci svg { width: 11px; height: 11px; }
.check-item span { font-size: .86rem; color: var(--navy); line-height: 1.5; }
.side-panel { background: var(--light); border-radius: var(--r-xl); padding: 2.4rem; box-shadow: var(--shadow-inset, inset 0 2px 8px rgba(40,60,80,.06)); }
.svc-row.alt .side-panel { background: #fff; box-shadow: var(--elev-1); }
.side-stat { font-size: 3rem; font-weight: 800; color: var(--accent); letter-spacing: -.03em; line-height: 1; }
.side-stat-l { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.side-rule { height: 1px; background: var(--line); margin: 1.5rem 0; }
.side-note { font-size: .86rem; color: var(--muted); line-height: 1.7; }
.side-fine { font-size: .75rem; color: var(--subtle); line-height: 1.6; margin-top: 1rem; font-style: italic; }
.side-label { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.1rem; }
.side-chk { display: flex; flex-direction: column; gap: .8rem; }
.side-chk .it { display: flex; align-items: center; gap: .7rem; padding: .7rem; background: var(--light); border-radius: var(--r-sm); }
.svc-row.alt .side-chk .it { background: var(--light); }
.side-chk .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.side-chk .dot.o { background: var(--orange); }
.side-chk .dot.b { background: var(--blue); }
.side-chk span { font-size: .85rem; color: var(--navy); }
.callout { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.2rem; padding: 1rem 1.2rem; background: var(--orange-soft); border: 1px solid var(--orange-ring); border-radius: var(--r-md); }
.callout span { font-size: .86rem; color: var(--navy); line-height: 1.55; }
.quote-panel { background: var(--navy); border-radius: var(--r-xl); padding: 2.4rem; }
.quote-panel .ql { font-size: .72rem; font-weight: 700; color: var(--on-dark-3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.1rem; }
.quote-panel .qt { font-size: 1.1rem; font-weight: 600; color: #fff; line-height: 1.6; font-style: italic; margin: 0; }
.demo-card { background: var(--accent); border-radius: var(--r-xl); padding: 1.9rem; position: relative; overflow: hidden; }
.demo-card .ey { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .7rem; }
.demo-card .t { font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.4; margin: 0 0 .5rem; }
.demo-card .d { font-size: .82rem; color: rgba(255,255,255,.88); line-height: 1.6; margin: 0 0 1.2rem; }
.demo-btn { display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: var(--accent); font-size: .9rem; font-weight: 700; padding: .7rem 1.2rem; border-radius: var(--r-sm); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.demo-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
@media (max-width: 860px) { .svc-row .row-grid { grid-template-columns: 1fr; gap: 2.2rem; } .hide-sm { display: none; } }

/* ---------- Comparison ---------- */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.cmp-card { border-radius: var(--r-lg); padding: 2rem; }
.cmp-old { background: #fff; box-shadow: var(--elev-1); border-top: 3px solid var(--line); }
.cmp-new { background: var(--navy); border-top: 3px solid var(--accent); }
.cmp-l { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.4rem; }
.cmp-old .cmp-l { color: var(--muted); }
.cmp-new .cmp-l { color: var(--on-dark-3); }
.cmp-row { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1rem; }
.cmp-row:last-child { margin-bottom: 0; }
.cmp-row .m { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.cmp-old .m { background: #f0f1f3; }
.cmp-new .m { background: rgba(30,130,190,.22); }
.cmp-old .cmp-row span { font-size: .9rem; color: var(--muted); }
.cmp-new .cmp-row span { font-size: .9rem; color: rgba(255,255,255,.86); }
@media (max-width: 760px) { .cmp { grid-template-columns: 1fr; } }

/* ---------- Provider network ---------- */
.providers { display: flex; gap: 0; flex-wrap: wrap; justify-content: center; align-items: center; opacity: .82; }
.providers a { width: 150px; height: 50px; display: grid; place-items: center; }
.providers img { height: 26px; width: auto; max-width: 120px; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; transition: opacity var(--dur-base); }
.providers a:hover img { opacity: 1; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-grid p { font-size: 1rem; color: var(--muted); line-height: 1.85; margin: 0 0 1.2rem; }
.about-grid .pull { font-weight: 700; color: var(--accent); }
.diff-panel { background: var(--light); border: var(--edge); border-radius: var(--r-xl); padding: 2.4rem; }
.diff-panel .dl { font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.4rem; }
.diff-item { display: flex; gap: 1rem; margin-bottom: 1.3rem; }
.diff-item:last-child { margin-bottom: 0; }
.diff-item .di { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0; }
.diff-item .di.o { background: var(--orange-soft); color: var(--orange); }
.diff-item .di.b { background: var(--blue-soft); color: var(--blue); }
.diff-item .dt { font-weight: 700; color: var(--navy); font-size: .92rem; }
.diff-item .dd { font-size: .8rem; color: var(--muted); margin-top: .25rem; line-height: 1.6; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; max-width: 1000px; margin: 0 auto; }
.cform { background: #fff; border-radius: var(--r-xl); padding: 2.4rem; box-shadow: var(--elev-2); }
.cform h2 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 0 0 1.6rem; }
.cf-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.cf-field label { font-size: .8rem; font-weight: 600; color: var(--navy); }
.cf-field input, .cf-field textarea { font-family: inherit; font-size: .92rem; color: var(--navy); padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); resize: vertical; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: var(--subtle); }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.cf-note { font-size: .8rem; color: var(--subtle); text-align: center; margin: 1rem 0 0; }
.cinfo { display: flex; flex-direction: column; gap: 1.4rem; }
.cinfo h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 0 0 .4rem; }
.crow { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: #fff; border: var(--edge); border-radius: var(--r-lg); box-shadow: var(--elev-1); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base); }
.crow:hover { transform: translateY(-2px); box-shadow: var(--elev-2); border-color: var(--orange-ring); }
.crow .ci { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0; }
.crow .ci.o { background: var(--orange-soft); color: var(--orange); }
.crow .ci.b { background: var(--blue-soft); color: var(--blue); }
.crow .cl { font-size: .8rem; color: var(--muted); display: block; }
.crow .cv { font-weight: 600; font-size: .92rem; color: var(--navy); margin-top: .1rem; display: block; }
.daniel { background: var(--navy); border-radius: var(--r-lg); padding: 1.7rem; }
.daniel .top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.daniel .av { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 1.25rem; font-weight: 700; flex-shrink: 0; }
.daniel .nm { font-weight: 700; color: #fff; }
.daniel .ro { font-size: .8rem; color: var(--on-dark-3); }
.daniel p { font-size: .86rem; color: var(--on-dark-2); line-height: 1.7; margin: 0; }
.supplier { background: #fff; border-radius: var(--r-lg); padding: 1.7rem; border: 1px solid var(--blue-ring); box-shadow: var(--elev-blue); }
.supplier .top { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.supplier h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.supplier p { font-size: .82rem; color: var(--muted); line-height: 1.7; margin: 0 0 1.2rem; }
.form-success { display: none; margin-top: 1.4rem; background: var(--blue-soft); border: 1.5px solid var(--blue-ring); border-radius: var(--r-md); padding: 1.2rem; text-align: center; }
.form-success.show { display: block; }
.form-success .ck { font-size: 1.4rem; color: var(--blue); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ============================================================
   THE PORTAL page — data-forward benchmark preview
   ============================================================ */
.portal-preview { background: #fff; color: var(--navy); border-radius: var(--r-xl); box-shadow: 0 30px 80px rgba(0,0,0,.34); overflow: hidden; }
.pp-bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: var(--light); border-bottom: 1px solid var(--line); }
.pp-dots { display: inline-flex; gap: 6px; }
.pp-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.pp-tab { font-size: .82rem; font-weight: 700; color: var(--navy); }
.pp-context { font-size: .78rem; color: var(--subtle); margin-left: auto; }
.pp-body { display: grid; grid-template-columns: 1.7fr 1fr; }
.pp-main { padding: 26px 28px; border-right: 1px solid var(--line); }
.pp-main-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; }
.pp-main-head h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.pp-legend { font-size: .74rem; color: var(--subtle); display: inline-flex; align-items: center; gap: 7px; }
.pp-legend-tick { width: 2px; height: 14px; background: var(--navy); display: inline-block; border-radius: 2px; }
.bench-row { display: grid; gap: 7px; padding: 13px 0; border-bottom: 1px solid var(--hairline); }
.bench-row:last-child { border-bottom: none; }
.bench-meta { display: flex; justify-content: space-between; align-items: baseline; }
.bench-cat { font-size: .9rem; font-weight: 600; color: var(--navy); }
.bench-fig { font-size: .9rem; font-weight: 700; color: var(--navy); }
.bench-fig small { font-weight: 500; color: var(--subtle); font-size: .76rem; }
.bench-track { position: relative; height: 9px; border-radius: 5px; overflow: hidden;
  background: linear-gradient(90deg, var(--gold-soft) 0 38%, var(--green-soft) 38% 62%, var(--orange-soft) 62% 100%); }
.bench-median { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--navy); opacity: .35; z-index: 2; }
.bench-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--pct, 0%); border-radius: 5px; transform-origin: left center; z-index: 1; }
.portal-preview.in .bench-fill { animation: benchGrow .9s var(--ease-out) both; }
.portal-preview.in .bench-row:nth-child(2) .bench-fill { animation-delay: .08s; }
.portal-preview.in .bench-row:nth-child(3) .bench-fill { animation-delay: .16s; }
.portal-preview.in .bench-row:nth-child(4) .bench-fill { animation-delay: .24s; }
.portal-preview.in .bench-row:nth-child(5) .bench-fill { animation-delay: .32s; }
.portal-preview.in .bench-row:nth-child(6) .bench-fill { animation-delay: .40s; }
@keyframes benchGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .portal-preview.in .bench-fill { animation: none; } }
.bench-row[data-tone="over"] .bench-fill { background: var(--orange); }
.bench-row[data-tone="healthy"] .bench-fill { background: var(--green); }
.bench-row[data-tone="under"] .bench-fill { background: var(--gold); }
.bench-rank { display: flex; align-items: center; gap: 10px; }
.pctile { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); }
.pctile.over { background: var(--orange-soft); color: var(--orange-deep); }
.pctile.healthy { background: var(--green-soft); color: var(--green-deep); }
.pctile.under { background: var(--gold-soft); color: var(--gold-deep); }
.bench-note { font-size: .76rem; color: var(--subtle); }
.pp-legend { gap: 12px; }
.zleg { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--muted); }
.zsw { width: 10px; height: 10px; border-radius: 3px; }
.zsw.under { background: var(--gold); }
.zsw.healthy { background: var(--green); }
.zsw.over { background: var(--orange); }
.pp-side { padding: 26px 24px; display: flex; flex-direction: column; gap: 16px; background: var(--light); }
.pp-card { background: #fff; border: var(--edge); border-radius: var(--r-lg); padding: 20px; }
.pp-card-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); margin-bottom: 10px; }
.pp-savings-num { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--blue); line-height: 1; }
.pp-savings-sub { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.pp-spark { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 16px; }
.pp-spark span { flex: 1; height: var(--h); background: rgba(30,130,190,.5); border-radius: 3px 3px 0 0; }
.pp-consol-head { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.pp-consol-body { font-size: .82rem; color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
.pp-consol-figure { display: flex; align-items: baseline; gap: 4px; }
.pp-consol-amt { font-size: 1.6rem; font-weight: 800; color: var(--orange); letter-spacing: -.02em; }
.pp-consol-unit { font-size: .85rem; color: var(--subtle); font-weight: 600; }
.portal-disclaimer { font-size: .78rem; color: var(--on-dark-3); text-align: center; margin: 16px 0 0; }
.phow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 2.5rem; }
.phow { border-top: 2px solid var(--on-dark-line); padding-top: 22px; }
.phow-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(240,100,30,.16); color: var(--orange); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.phow h4 { color: #fff; margin: 0 0 .5rem; font-size: 1.05rem; }
.phow p { margin: 0; font-size: .88rem; color: var(--on-dark-2); line-height: 1.65; }
@media (max-width: 860px) { .pp-body { grid-template-columns: 1fr; } .pp-main { border-right: none; border-bottom: 1px solid var(--line); } .phow-grid { grid-template-columns: 1fr; gap: 22px; } }

.feat-list { list-style: none; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: .5rem; }
.feat-list li { font-size: .84rem; color: var(--navy); display: flex; gap: .55rem; align-items: flex-start; }
.feat-list li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-top: 7px; }

/* ---------- TECH SCOPE — solution map (bento/treemap) ---------- */
.tmap { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(124px, 1fr); grid-auto-flow: row dense; gap: 12px; }
.tile { font-family: inherit; text-align: left; cursor: pointer; background: #fff; border: var(--edge); border-radius: var(--r-lg); padding: 22px 24px; display: flex; flex-direction: column; box-shadow: var(--elev-1); position: relative; overflow: hidden; transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med), border-color var(--dur-med); }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(240,100,30,.10), transparent 60%); transition: opacity var(--dur-base); }
.tile.blue::before { background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(30,130,190,.12), transparent 60%); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--elev-3); border-color: var(--orange-ring); }
.tile:hover::before { opacity: 1; }
.tile.blue:hover { border-color: var(--blue-ring); }
.tile:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.tile.active { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange-ring), var(--elev-3); }
.tile.blue.active { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-ring), var(--elev-3); }
.tile > * { position: relative; }
.tile-chev { position: absolute; top: 16px; right: 16px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--subtle); background: var(--light); transition: transform var(--dur-base) var(--ease-out), background var(--dur-base), color var(--dur-base); }
.tile-chev svg { width: 13px; height: 13px; }
.tile:hover .tile-chev { color: var(--orange); }
.tile.blue:hover .tile-chev { color: var(--blue); }
.tile.active .tile-chev { transform: rotate(135deg); background: var(--orange); color: #fff; }
.tile.blue.active .tile-chev { background: var(--blue); }
.tile-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-right: 30px; }
.tile-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.tile.blue .tile-dot { background: var(--blue); }
.tile h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; line-height: 1.25; }
.tile .areas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.tile .area { font-size: .72rem; color: var(--muted); background: var(--light); border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: .2rem .6rem; }
.tile .vcount { font-size: .74rem; font-weight: 700; color: var(--orange); letter-spacing: .02em; margin-top: 12px; }
.tile.blue .vcount { color: var(--blue); }
.tile.c2 { grid-column: span 2; }
.tile.c3 { grid-column: span 3; }
.tile.anchor { grid-column: span 3; grid-row: span 2; background: var(--navy); border-color: transparent; }
.tile.anchor h3 { color: #fff; font-size: 1.35rem; }
.tile.anchor .area { background: rgba(255,255,255,.08); border-color: var(--on-dark-line); color: var(--on-dark-2); }
.tile.anchor .tile-chev { background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }
.tile.anchor.active { box-shadow: 0 0 0 2px var(--orange), var(--elev-4); border-color: transparent; }
.tile.anchor:hover { border-color: transparent; box-shadow: var(--elev-4); }

/* drawer */
.tmap-drawer { position: relative; margin-top: 14px; background: #fff; border: 1px solid var(--orange-ring); border-radius: var(--r-xl); box-shadow: var(--elev-3); padding: 30px 32px; }
.tmap-drawer.open { animation: drawerIn .36s var(--ease-out) both; }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tmap-drawer.open { animation: none; } }
.tmap-drawer-close { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--light); color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: background var(--dur-fast), color var(--dur-fast); }
.tmap-drawer-close:hover { background: var(--orange-soft); color: var(--orange); }
.tmap-drawer-close svg { width: 16px; height: 16px; }
.dr-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; }
.dr-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.dr-main h3 { color: var(--navy); }
.dr-main .body { max-width: none; }
.dr-areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dr-areas .area { font-size: .8rem; color: var(--navy); background: var(--light); border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: .35rem .8rem; font-weight: 500; }
.dr-side { border-left: 1px solid var(--hairline); padding-left: 2.5rem; }
.dr-side-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); margin-bottom: 14px; }
.dr-providers { display: flex; flex-wrap: wrap; gap: 8px; }
.dr-providers span { font-size: .82rem; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .4rem .7rem; box-shadow: var(--elev-1); }
.dr-fine { font-size: .76rem; color: var(--subtle); line-height: 1.6; margin: 16px 0 0; }
@media (max-width: 760px) { .dr-grid { grid-template-columns: 1fr; gap: 1.6rem; } .dr-side { border-left: none; padding-left: 0; border-top: 1px solid var(--hairline); padding-top: 1.6rem; } }
@media (max-width: 900px) {
  .tmap { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .tile.anchor, .tile.c2, .tile.c3 { grid-column: span 2; grid-row: auto; }
  .tile.anchor h3 { font-size: 1.2rem; }
}
@media (max-width: 560px) { .tmap { grid-template-columns: 1fr; } .tile.anchor, .tile.c2, .tile.c3 { grid-column: span 1; } }
