:root {
  --ink: #172033;
  --muted: #66748a;
  --line: #dbe2e8;
  --soft: #f6f8fa;
  --forest: #0f543e;
  --blue: #2947c7;
  --cream: #fffaf1;
  --shadow: 0 18px 44px rgba(20, 35, 45, 0.08);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 40px; display: inline-grid; place-items: center; border-radius: 50% 50% 52% 52% / 42% 42% 68% 68%; background: linear-gradient(180deg, #dcefeb 0 33%, #5f8b73 33% 58%, #224c3f 58% 100%); border: 2px solid #6d8b88; position: relative; overflow: hidden; }
.brand-mark::after { content: ""; width: 24px; height: 10px; background: #f7fbfb; border-radius: 50%; position: absolute; top: 10px; transform: rotate(-7deg); opacity: .9; }
.brand-mark span { width: 10px; height: 10px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg); position: absolute; bottom: 7px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a { color: #344055; }
.nav a:hover { color: var(--forest); }

.hero { display: grid; grid-template-columns: .93fr 1.07fr; gap: 54px; align-items: center; min-height: 565px; padding-top: 54px; padding-bottom: 60px; }
.eyebrow { margin: 0 0 16px; font-size: 13px; letter-spacing: .14em; color: #202c72; font-weight: 700; }
h1 { margin: 0; max-width: 650px; font-size: clamp(38px, 4.05vw, 54px); line-height: 1.07; letter-spacing: -0.038em; font-weight: 650; }
.hero-text { max-width: 610px; margin: 22px 0 0; color: #56657a; font-size: 18px; line-height: 1.64; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 20px; border-radius: 13px; font-weight: 600; }
.button-primary { background: var(--forest); color: white; box-shadow: 0 12px 26px rgba(15,84,62,.17); }
.button-primary:hover { background: #0b4635; }
.button-secondary { background: white; border: 1px solid var(--line); }
.button-secondary:hover { background: var(--soft); }

.hero-visual { height: 430px; position: relative; overflow: hidden; border-radius: 30px; border: 1px solid #d6dfe3; background: #edf2ef; box-shadow: 0 22px 52px rgba(20,35,45,.11); isolation: isolate; }
.hero-map { position: absolute; inset: 0; z-index: 1; background: #edf2ef; }
.hero-map .leaflet-tile-pane { filter: saturate(.64) contrast(.91) brightness(1.06); opacity: .9; }
.hero-map .leaflet-control-attribution { font-size: 8px; line-height: 1.2; opacity: .56; background: rgba(255,255,255,.72); padding: 2px 4px; }
.hero-map .leaflet-control-attribution a { color: #536273; }
.suitability-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; mix-blend-mode: multiply; opacity: .88; }
.map-vignette { position: absolute; inset: 0; z-index: 7; pointer-events: none; box-shadow: inset 0 0 80px rgba(20,35,45,.13); background: linear-gradient(115deg, rgba(255,255,255,.12), transparent 35%, transparent 72%, rgba(255,255,255,.12)); }
.map-scan { position: absolute; z-index: 8; pointer-events: none; left: -25%; top: 0; width: 22%; height: 100%; opacity: .32; background: linear-gradient(90deg, transparent, rgba(255,255,255,.78), transparent); transform: skewX(-12deg); animation: scanMap 7.5s ease-in-out infinite; }
@keyframes scanMap { 0%, 12% { transform: translateX(0) skewX(-12deg); opacity: 0; } 24% { opacity: .30; } 70% { opacity: .18; } 88%,100% { transform: translateX(650%) skewX(-12deg); opacity: 0; } }

.section { padding-top: 88px; padding-bottom: 88px; }
.section-heading { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: end; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { margin: 0; font-size: clamp(31px, 3.65vw, 45px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.62; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.product-card { min-height: 250px; padding: 26px; border: 1px solid #d8e0e5; border-radius: 20px; background: #fff; box-shadow: 0 12px 28px rgba(20,35,45,.04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-card:not(.muted):hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(20,35,45,.09); border-color: #b8c8c4; }
.product-card.featured { border-color: #a8c5b9; background: linear-gradient(180deg,#fff,#fbfefc); }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #eef6f2; color: var(--forest); font-size: 22px; font-weight: 600; }
.status { font-size: 11px; font-weight: 600; letter-spacing: .1em; padding: 7px 9px; border-radius: 999px; }
.status.live { color: #0f684c; background: #e9f5ef; }
.status.soon { color: #7e8794; background: #f0f2f4; }
.product-card h3, .company-card h3 { margin: 22px 0 10px; font-size: 26px; letter-spacing: -0.018em; font-weight: 650; }
.product-card p { margin: 0; color: var(--muted); line-height: 1.62; font-size: 16px; }
.card-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 24px; color: var(--blue); font-weight: 600; }
.card-link.disabled { color: #9ba3ad; }
.product-card.muted { background: #fafbfb; color: #7a8390; }
.product-card.muted p { color: #929aa5; }

.apps-section { background: linear-gradient(180deg, #fbfcfd 0%, #f7f9fb 100%); border-top: 1px solid #e5e9ed; border-bottom: 1px solid #e5e9ed; }
.apps-heading { margin-bottom: 36px; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.app-card { min-height: 170px; display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 18px; padding: 22px; border-radius: 22px; border: 1px solid #d8e0e5; background: rgba(255,255,255,.95); box-shadow: 0 10px 26px rgba(20,35,45,.045); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.app-card-link:hover { transform: translateY(-3px); border-color: #aebdb7; box-shadow: 0 17px 34px rgba(20,35,45,.085); }
.app-card-soon { background: rgba(250,251,252,.78); }
.app-icon { width: 82px; height: 82px; object-fit: cover; border-radius: 20px; box-shadow: 0 7px 18px rgba(21,34,49,.13); border: 1px solid rgba(205,212,218,.8); }
.app-body { min-width: 0; }
.app-body h3 { margin: 8px 0 5px; font-size: 21px; line-height: 1.15; letter-spacing: -.015em; font-weight: 650; }
.app-body p { margin: 0; color: #758195; font-size: 14px; line-height: 1.35; }
.app-status { display: inline-flex; font-size: 9px; font-weight: 700; letter-spacing: .11em; border-radius: 999px; padding: 6px 8px; }
.app-status.available { color: #0e674b; background: #e8f5ef; }
.app-status.pending { color: #7d8794; background: #eef1f3; }
.app-arrow { color: #3451c7; font-size: 22px; align-self: start; padding-top: 3px; }

.section-tint { background: var(--cream); border-top: 1px solid #eee4d2; border-bottom: 1px solid #eee4d2; }
.company-card { display: flex; justify-content: space-between; gap: 28px; align-items: center; padding: 34px; border-radius: 22px; background: white; border: 1px solid #e3dac9; box-shadow: 0 14px 32px rgba(60,46,20,.05); }
.company-card > div:first-child { max-width: 760px; }
.company-kicker { margin: 0; color: var(--forest); font-weight: 600; letter-spacing: .12em; font-size: 13px; }
.company-card h3 { margin-top: 10px; font-size: 32px; }
.company-card p:last-child { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.company-badge { white-space: nowrap; padding: 12px 16px; border-radius: 999px; background: #edf6f1; color: var(--forest); font-weight: 600; }
.about-card { border-radius: 26px; padding: 50px; background: #14243b; color: white; overflow: hidden; position: relative; }
.about-card::after { content: ""; position: absolute; width: 280px; height: 280px; border: 46px solid rgba(255,255,255,.055); border-radius: 50%; right: -80px; top: -100px; }
.about-card .eyebrow { color: #b9c7ff; }
.about-card h2 { max-width: 760px; }
.about-card > p:last-child { max-width: 810px; color: #cad2dc; font-size: 18px; line-height: 1.65; margin: 24px 0 0; }
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; align-items: center; color: #687385; }
.footer-inner > div { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-inner strong { color: var(--ink); }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a:hover { color: var(--forest); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #172033; color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 12px 24px rgba(0,0,0,.2); transition: opacity .18s ease, transform .18s ease; font-weight: 600; z-index: 80; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 1020px) { .app-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 900px) { .nav a { display: none; } .hero { grid-template-columns: 1fr; gap: 34px; min-height: auto; padding-top: 46px; } .hero-visual { height: 360px; } .section-heading { grid-template-columns: 1fr; gap: 18px; } .card-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .shell { width: min(100% - 24px, 1180px); } .header-inner { min-height: 68px; } .brand { font-size: 18px; } .hero { padding-top: 38px; padding-bottom: 44px; } h1 { font-size: 40px; } .hero-text { font-size: 17px; } .hero-actions { display: grid; } .hero-visual { height: 300px; border-radius: 22px; } .section { padding-top: 66px; padding-bottom: 66px; } .product-card { padding: 23px; } .app-grid { grid-template-columns: 1fr; } .app-card { grid-template-columns: 72px 1fr auto; min-height: 148px; padding: 18px; } .app-icon { width: 72px; height: 72px; border-radius: 18px; } .company-card { align-items: flex-start; flex-direction: column; } .about-card { padding: 32px 24px; } .footer-inner { align-items: flex-start; flex-direction: column; } }


/* V8 other maps page */
.section-intro { padding-bottom: 28px; }
.section-tight { padding-top: 24px; }
.page-heading { align-items: end; }
.page-actions { margin-top: 6px; }
.all-maps-grid { align-items: stretch; }
@media (max-width: 900px) {
  .section-intro { padding-bottom: 18px; }
  .section-tight { padding-top: 14px; }
}


/* JUNIPER_LABS_MAP_CLICK_BUSINESS_V1 */
.companies-heading {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}
.hero-map-clickable,
.hero-map-clickable .leaflet-container {
  cursor: crosshair;
}
@media (max-width: 650px) {
  .companies-heading { margin-bottom: 24px; }
}
