/* Security section: "build it yourself" next to "run it with intelliThings". Used on the homepage (#security)
   and on the campaign page /plc-data-ai/. Dark band, so it reads as its own argument. */
.sec{box-sizing:border-box;background:#0A0C0E;color:#DCE1E5;padding:clamp(56px,7vw,104px) clamp(20px,6vw,88px);font-family:'IBM Plex Sans',system-ui,sans-serif;scroll-margin-top:72px}
.sec *,.sec *::before,.sec *::after{box-sizing:border-box}
.sec .sec-in{max-width:1240px;margin:0 auto;display:flex;flex-direction:column;gap:clamp(28px,4vw,48px)}
.sec .sec-head{display:flex;flex-direction:column;gap:16px}
.sec .sec-eyebrow{margin:0;font:600 11px/16px 'IBM Plex Sans',system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#D0A5D9}
.sec h2{margin:0;font:700 clamp(28px,3.4vw,44px)/1.1 'Space Grotesk',sans-serif;letter-spacing:-.025em;color:#fff;text-wrap:balance}
.sec .sec-lead{margin:0;font:400 clamp(16px,1.4vw,18px)/1.6 'IBM Plex Sans',system-ui,sans-serif;color:#BDC5CB;text-wrap:pretty}
.sec .sec-compare{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(16px,2vw,24px);align-items:stretch}
.sec .sec-col{display:flex;flex-direction:column;gap:18px;padding:clamp(20px,2.6vw,32px);border-radius:16px}
.sec .sec-col h3{margin:0;font:600 13px/18px 'IBM Plex Sans',system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase}
.sec .sec-col ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.sec .sec-diy{border:1px dashed #3A4147;color:#9AA4AB}
.sec .sec-diy h3{color:#9AA4AB}
.sec .sec-diy li{position:relative;padding:12px 0 12px 28px;border-top:1px solid #1D2226;font:400 16px/24px 'IBM Plex Sans',system-ui,sans-serif}
.sec .sec-diy li:first-child{border-top:0;padding-top:0}
.sec .sec-diy li::before{content:"";position:absolute;left:2px;top:23px;width:14px;height:2px;border-radius:1px;background:#6B767E}
.sec .sec-diy li:first-child::before{top:11px}
.sec .sec-ours{background:linear-gradient(160deg,#2A1730 0%,#17131A 62%);border:1px solid rgba(208,165,217,.28)}
.sec .sec-ours h3{color:#D0A5D9}
.sec .sec-ours ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px}
.sec .sec-ours li{position:relative;padding-left:32px;font:400 15px/23px 'IBM Plex Sans',system-ui,sans-serif;color:#BDC5CB}
.sec .sec-ours li strong{display:block;margin-bottom:2px;font:600 17px/24px 'Space Grotesk',sans-serif;color:#fff}
.sec .sec-ours li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;border-radius:50%;background:#7C388C}
.sec .sec-ours li::after{content:"";position:absolute;left:6px;top:8px;width:8px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg)}
.sec .sec-facts{display:flex;flex-direction:column;gap:12px}
.sec .sec-facts p{margin:0;font:600 11px/16px 'IBM Plex Sans',system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#8B969E}
.sec .sec-facts ul{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.sec .sec-facts li{padding:7px 14px;border:1px solid #2C3237;border-radius:999px;background:#14181B;font:500 14px/20px 'IBM Plex Sans',system-ui,sans-serif;color:#DCE1E5;white-space:nowrap}
.sec .sec-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px;padding-top:clamp(20px,2.6vw,32px);border-top:1px solid #22272B}
.sec .sec-rules{flex:1 1 520px;margin:0;max-width:820px;font:400 15px/24px 'IBM Plex Sans',system-ui,sans-serif;color:#9AA4AB;text-wrap:pretty}
.sec .sec-rules strong{color:#fff;font-weight:600}
.sec a.sec-cta{display:inline-flex;align-items:center;gap:14px;flex:none;min-height:52px;padding:0 26px;border-radius:999px;background:#fff;color:#0A0C0E;
  font:600 16px/22px 'Space Grotesk',sans-serif;text-decoration:none;transition:background .2s ease,color .2s ease,transform .2s ease}
.sec a.sec-cta::after{content:"→";transition:transform .18s ease}
.sec a.sec-cta:hover{background:#D0A5D9;color:#0A0C0E;transform:translateY(-1px)}
.sec a.sec-cta:hover::after{transform:translateX(4px)}
.sec a.sec-cta:focus-visible{outline:3px solid #D0A5D9;outline-offset:3px}
/* Top of the section: heading and short text on the left, the motion graphic on the right. */
.sec .sec-top{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center}
/* Motion graphic: attacks and vulnerabilities come in from the left, hit the intelliThings box and bounce off; the
   customer's products behind it stay connected. CSS only, so it works in the homepage template and on static pages.
   One round takes 6 s: something hits the box every 2 s, the edge, the ring and the line below answer in the same beat. */
.sec .sec-motion{container-type:inline-size;container-name:secm}
.sec .sm-panel{--sm-h:102px;--sm-pitch:34px;--sm-pill:28px;--sm-dev:30px;--sm-gap:6px;--sm-side:104px;
  display:grid;grid-template-columns:minmax(0,1fr) var(--sm-side) var(--sm-side);grid-template-rows:auto var(--sm-h) 20px;row-gap:10px;
  padding:16px 20px;border:1px solid #22272B;border-radius:16px;background:#0E1114;overflow:hidden}
.sec .sm-panel i,.sec .sm-panel em{font-style:normal}
.sec .sm-panel svg{display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sec .sm-cap{margin:0;font:600 10px/14px 'IBM Plex Sans',system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#8B969E}
.sec .sm-cap-hub{justify-self:center;white-space:nowrap;color:#D0A5D9}
.sec .sm-cap-out{text-align:right}
.sec .sm-lanes{grid-column:1;grid-row:2;position:relative;container-type:inline-size}
.sec .sm-task{position:absolute;left:0;top:calc((var(--sm-pitch) - var(--sm-pill))/2);display:inline-flex;align-items:center;gap:7px;height:var(--sm-pill);padding:0 12px 0 8px;
  border:1px solid #30373D;border-radius:999px;background:#171B1F;color:#DCE1E5;font:500 12.5px/18px 'IBM Plex Sans',system-ui,sans-serif;white-space:nowrap;
  animation:sm-task 6s linear infinite;animation-delay:-6s}
.sec .sm-task svg{width:15px;height:15px;color:#F0B45A}
.sec .sm-task b{font-weight:500}
.sec .sm-task:nth-child(2){top:calc(var(--sm-pitch) + (var(--sm-pitch) - var(--sm-pill))/2);animation-delay:-4s}
.sec .sm-task:nth-child(3){top:calc(var(--sm-pitch)*2 + (var(--sm-pitch) - var(--sm-pill))/2);animation-delay:-2s}
/* Travels to the box, hits its edge, bounces back and drops away. */
@keyframes sm-task{
  0%{transform:translateX(0) scale(.92);opacity:0;filter:none}
  6%{transform:translateX(calc((100cqw - 100%)*.1));opacity:1}
  62%{transform:translateX(calc(100cqw - 100%));opacity:1;filter:none}
  66%{transform:translateX(calc(100cqw - 100% - 16px)) rotate(-4deg);opacity:.8;filter:grayscale(1)}
  76%,100%{transform:translateX(calc(100cqw - 100% - 30px)) translateY(12px) rotate(-8deg);opacity:0;filter:grayscale(1)}
}
.sec .sm-hub{grid-column:2;grid-row:2;position:relative;z-index:2;display:grid;place-items:center;border:1px solid rgba(208,165,217,.32);border-radius:12px;background:#17131A}
.sec .sm-hub::before{content:"";position:absolute;left:-2px;top:12px;bottom:12px;width:3px;border-radius:2px;background:#D0A5D9;opacity:0;animation:sm-flash 2s ease-out infinite;animation-delay:-.28s}
@keyframes sm-flash{0%{opacity:1}35%,100%{opacity:0}}
.sec .sm-shield{position:relative;display:grid;place-items:center;width:60px;height:60px}
.sec .sm-shield i{position:absolute;inset:3px;border:1.5px solid #A95DBA;border-radius:50%;opacity:0;animation:sm-ping 2s ease-out infinite;animation-delay:-.28s}
.sec .sm-shield svg{position:relative;width:46px;height:46px;stroke-width:1.3;color:#D0A5D9;animation:sm-beat 2s ease-out infinite;animation-delay:-.28s}
.sec .sm-shield svg path:first-child{fill:#3A1F42}
.sec .sm-shield svg path:last-child{stroke:#fff;stroke-width:1.8}
@keyframes sm-ping{0%{transform:scale(.8);opacity:.9}70%,100%{transform:scale(1.5);opacity:0}}
@keyframes sm-beat{0%{transform:scale(1)}12%{transform:scale(1.09)}40%,100%{transform:scale(1)}}
.sec .sm-log{position:relative;grid-column:2;grid-row:3;justify-self:center;width:230px;height:20px}
.sec .sm-log span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;opacity:0;white-space:nowrap;animation:sm-log 6s linear infinite;animation-delay:-2.28s}
.sec .sm-log span:nth-child(2){animation-delay:-.28s}
.sec .sm-log span:nth-child(3){animation-delay:1.72s}
.sec .sm-log em{display:none;color:#9AA4AB;font:400 12px/16px 'IBM Plex Sans',system-ui,sans-serif}
.sec .sm-log b{position:relative;padding-left:23px;font:600 13px/20px 'IBM Plex Sans',system-ui,sans-serif;color:#fff}
.sec .sm-log b::before{content:"";position:absolute;left:0;top:2px;width:16px;height:16px;border-radius:50%;background:#7C388C}
.sec .sm-log b::after{content:"";position:absolute;left:4.5px;top:6.5px;width:7px;height:4px;border-left:1.8px solid #fff;border-bottom:1.8px solid #fff;transform:rotate(-45deg)}
@keyframes sm-log{0%{opacity:0;transform:translateY(6px)}4%,29%{opacity:1;transform:none}33%,100%{opacity:0;transform:translateY(-6px)}}
.sec .sm-out{grid-column:3;grid-row:2;display:flex;align-items:stretch}
.sec .sm-wires{position:relative;flex:1;min-width:0;container-type:inline-size}
.sec .sm-wires i{position:absolute;left:0;right:0;top:calc(var(--sm-dev)/2);height:1px;background:#2C3237}
.sec .sm-wires i:nth-child(2){top:calc(var(--sm-dev)*1.5 + var(--sm-gap))}
.sec .sm-wires i:nth-child(3){top:calc(var(--sm-dev)*2.5 + var(--sm-gap)*2)}
.sec .sm-wires i::after{content:"";position:absolute;left:0;top:-2px;width:12px;height:5px;border-radius:3px;background:#D0A5D9;animation:sm-data 2.4s linear infinite}
.sec .sm-wires i:nth-child(2)::after{animation-delay:-.8s}
.sec .sm-wires i:nth-child(3)::after{animation-delay:-1.6s}
@keyframes sm-data{0%{transform:translateX(calc(100cqw - 100%));opacity:0}15%,85%{opacity:1}100%{transform:translateX(0);opacity:0}}
.sec .sm-devs{display:flex;flex-direction:column;gap:var(--sm-gap)}
.sec .sm-devs span{position:relative;display:grid;place-items:center;width:var(--sm-dev);height:var(--sm-dev);border:1px solid #30373D;border-radius:8px;background:#171B1F;color:#DCE1E5}
.sec .sm-devs span::after{content:"";position:absolute;right:-3px;top:-3px;width:8px;height:8px;border:2px solid #0E1114;border-radius:50%;background:#4CC38A}
.sec .sm-devs svg{width:17px;height:17px;stroke-width:1.6}
/* Narrow graphic (phones, narrow columns): the items travel as icons, the line below names item and answer. */
@container secm (max-width:539px){
  .sec .sm-panel{--sm-side:76px;grid-template-rows:auto var(--sm-h) 38px;padding:14px 14px 12px}
  .sec .sm-cap{letter-spacing:.06em}
  .sec .sm-task{width:var(--sm-pill);padding:0;justify-content:center}
  .sec .sm-task b{display:none}
  .sec .sm-log{grid-column:1/-1;width:auto;justify-self:stretch;height:38px}
  .sec .sm-log span{flex-direction:column;gap:2px;white-space:normal;text-align:center}
  .sec .sm-log em{display:block}
}
@media (max-width:1040px){
  .sec .sec-top{grid-template-columns:minmax(0,1fr);gap:24px}
}
@media (prefers-reduced-motion:reduce){
  .sec .sm-task,.sec .sm-hub::before,.sec .sm-shield i,.sec .sm-shield svg,.sec .sm-log span,.sec .sm-wires i::after{animation:none}
  .sec .sm-task{transform:translateX(calc((100cqw - 100%)*.2))}
  .sec .sm-task:nth-child(2){transform:translateX(calc((100cqw - 100%)*.72))}
  .sec .sm-task:nth-child(3){transform:translateX(calc((100cqw - 100%)*.45))}
  .sec .sm-log span:first-child{opacity:1}
  .sec .sm-wires i::after{transform:translateX(calc((100cqw - 100%)*.7))}
  .sec .sm-wires i:nth-child(2)::after{transform:translateX(calc((100cqw - 100%)*.2))}
  .sec .sm-wires i:nth-child(3)::after{transform:translateX(calc((100cqw - 100%)*.5))}
}
@media (max-width:900px){
  .sec .sec-compare{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:720px){
  .sec{padding:48px 20px}
  .sec .sec-in{gap:24px}
  .sec .sec-head{gap:12px}
  .sec .sec-more{display:none}
  .sec .sec-facts li{padding:6px 12px;font-size:13px;white-space:normal}
  .sec .sec-compare{gap:12px}
  .sec .sec-col{padding:20px;gap:14px}
  .sec .sec-rules{font-size:14px;line-height:22px}
  .sec .sec-ours ul{grid-template-columns:minmax(0,1fr);gap:16px}
  .sec .sec-diy li{padding:10px 0 10px 28px;font-size:15px;line-height:22px}
  .sec .sec-diy li::before{top:20px}
  .sec .sec-diy li:first-child::before{top:10px}
  .sec .sec-foot{flex-direction:column;align-items:stretch}
  .sec .sec-rules{flex:none}
  .sec a.sec-cta{justify-content:space-between}
}
@media (prefers-reduced-motion:reduce){.sec a.sec-cta,.sec a.sec-cta::after{transition:none}}
