/* --- Private APN "How it works" cards: elevated, SVG illustrated --- */
#private-apn-details .apn-card{background:#FFFAF2;border:1px solid rgba(244,109,22,.2);border-radius:20px;overflow:visible;box-shadow:0 1px 2px rgba(28,32,35,.06),0 12px 24px -10px rgba(28,32,35,.16),0 30px 50px -26px rgba(191,109,0,.35);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
#private-apn-details .apn-card:hover{transform:translateY(-6px);border-color:#F46D16;box-shadow:0 2px 4px rgba(28,32,35,.08),0 20px 36px -12px rgba(28,32,35,.2),0 40px 64px -28px rgba(191,109,0,.45)}
#private-apn-details .apn-card .showcase-visual{aspect-ratio:auto;height:auto;padding:14px 14px 0;background:transparent;border-bottom:0;overflow:visible;display:block}
#private-apn-details .apn-card .showcase-visual::before{top:26px;left:26px;border-radius:6px;padding:4px 10px}
#private-apn-details .apn-art{width:100%;height:auto;display:block;border-radius:12px}
#private-apn-details .apn-art text{font-family:Arial,Helvetica,sans-serif}
#private-apn-details .apn-art .pn{filter:drop-shadow(0 6px 8px rgba(191,109,0,.2))}
#private-apn-details .apn-art .flow{stroke-dasharray:4 5;animation:apnFlow 1.1s linear infinite}
@keyframes apnFlow{to{stroke-dashoffset:-18}}
#private-apn-details .apn-card .showcase-body{padding:18px 24px 26px}
@media (prefers-reduced-motion:reduce){#private-apn-details .apn-art .flow{animation:none}#private-apn-details .apn-card{transition:none}}

/* --- IoT subpages: keep the first heading clear of the fixed top nav --- */
.page-iot #platform-features,
.page-iot #platform-preview{padding-top:150px}
.page-iot .iotp .iotp-top{padding-top:150px}
@media (max-width:900px){
  .page-iot #platform-features,
  .page-iot #platform-preview,
  .page-iot .iotp .iotp-top{padding-top:128px}
  .page-iot .topic-strip > div:first-child{padding-top:112px}
}

/* --- POS systems sub-page --- */
.page-iot .subpage[data-subpage="pos-systems"] .subpage-crumb{display:none}
#pos-systems{padding:0}
.pos-hero{background:#1C2023;color:#fff;padding:150px 0 72px}
.pos-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.pos-hero-solo{grid-template-columns:1fr}
.pos-hero-solo>div{max-width:760px}
.pos-hero .eyebrow{color:#F46D16}
.pos-hero h2{color:#fff;font-size:clamp(32px,4.2vw,50px);line-height:1.1;margin:0 0 18px}
.pos-hero p{color:rgba(255,255,255,.82);font-size:18px;line-height:1.55;max-width:520px;margin:0 0 28px}
.pos-photo{border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,.08);box-shadow:0 24px 48px -24px rgba(0,0,0,.6)}
.pos-photo img{width:100%;height:auto;display:block}
.pos-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.pos-card{background:#FFEFD9;border:1px solid rgba(244,109,22,.18);border-radius:10px;padding:26px 24px}
.pos-badge{width:60px;height:60px;border-radius:16px;background:#fff;border:1px solid rgba(244,109,22,.28);box-shadow:0 6px 14px -8px rgba(28,32,35,.35);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.pos-badge svg{width:38px;height:38px;display:block}
.pos-card h4{margin:0 0 8px;font-size:19px}
.pos-card p{margin:0;font-size:15px;line-height:1.55}
#pos-systems-details,#pos-systems-why{padding:72px 0}
@media (max-width:900px){
  .pos-hero{padding:128px 0 48px}
  .pos-hero-grid{grid-template-columns:1fr;gap:32px}
  .pos-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){.pos-grid{grid-template-columns:1fr}}

/* --- Smart metering (Fuel Monitoring page) --- */
#fuel-smart-metering{padding:72px 0}
.sm-split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.sm-photo{border-radius:14px;overflow:hidden;box-shadow:0 20px 40px -24px rgba(0,0,0,.35);background:#0b0b0c}
.sm-photo img{width:100%;height:auto;display:block}
.sm-copy .section-head{margin-bottom:28px}
.sm-item{display:flex;gap:16px;align-items:flex-start;padding:18px 0;border-top:1px solid var(--raw-line)}
.sm-badge{flex:none;width:44px;height:44px;border-radius:12px;background:var(--raw-signal-tint);color:var(--raw-signal-deep);display:flex;align-items:center;justify-content:center}
.sm-badge svg{width:26px;height:26px}
.sm-item h4{margin:0 0 4px;font-size:18px}
.sm-item p{margin:0;font-size:15px;line-height:1.55}
@media (max-width:900px){
  .sm-split{grid-template-columns:1fr;gap:32px}
  #fuel-smart-metering{padding:48px 0}
}

/* Main orange RAW logo everywhere except the DripZone (WiFi) pages and the RAW Switch (IoT) pages */
html body .raw-header .brand-logo-iot{ display:none !important; }
html body .raw-header.page-iot-active .brand-logo-default{ display:none !important; }
html body .raw-header.page-iot-active .brand-logo-iot.brand-logo-iot-ondark{ display:block !important; }
/* Footer logo follows the header: RAW Switch on every IoT page and subpage */
html:has(.raw-header.page-iot-active) .raw-footer .brand-logo-default{ display:none !important; }
html:has(.raw-header.page-iot-active) .raw-footer .brand-logo-iot.brand-logo-iot-ondark{ display:block !important; }
/* If the white RAW Switch file is missing, fall back to the standard one shown as a white silhouette */
img.logo-sw-fallback{ filter:brightness(0) invert(1); }
/* --- IoT industries page (asset tracking, telematics, smart metering, EV chargers, logistics) --- */
.page-iot .subpage[data-subpage="iot-industries"] .subpage-crumb{display:none}
#iot-industries{padding:0}
.ind-sec{padding:72px 0;scroll-margin-top:84px}
.ind-sec .section-head.center{max-width:680px}
.ind-grid .pos-badge{color:#F46D16}
.ind-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:36px}
@media (max-width:900px){ .ind-sec{padding:48px 0} }
/* Top-nav menus: once a link is clicked, close the open menu (the cursor is still over it, so :hover alone would keep it showing) */
@media (min-width:901px){
  html body .raw-header.nav-dismissed .nav-drop .nav-drop-panel,
  html body .raw-header.nav-dismissed .nav-drop:hover .nav-drop-panel,
  html body .raw-header.nav-dismissed .nav-drop.hover-open .nav-drop-panel{ opacity:0 !important; visibility:hidden !important; pointer-events:none !important; transition:none !important; }
  html body .raw-header.nav-dismissed .nav-drop:hover .chev{ transform:none; }
}