:root{
  --bg:#edf3f7;
  --surface:#ffffff;
  --surface-soft:#f5f9fc;
  --surface-accent:#e1f0e6;
  --ink:#17324a;
  --muted:#52677b;
  --line:#d7e2ea;
  --blue:#0c5aa8;
  --green:#0d8a6d;
  --deep:#123228;
  --gold:#f3bf1a;
  --red:#d74234;
  --radius:8px;
  --shadow:0 20px 48px rgba(17,39,59,.12);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.45;
}

img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}

.wrap{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}

.hero{
  position:relative;
  min-height:760px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#10261d;
}

.hero-media,
.hero-overlay{
  position:absolute;
  inset:0;
}

.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

.hero-overlay{
  background:
    linear-gradient(90deg,rgba(15,33,28,.93) 0%,rgba(15,33,28,.78) 44%,rgba(15,33,28,.28) 100%),
    linear-gradient(180deg,rgba(15,33,28,.08) 0%,rgba(15,33,28,.46) 100%);
}

.hero-content{
  position:relative;
  z-index:2;
  width:100%;
  padding:40px 0 82px;
  color:#f6fbff;
}

.hero-copy{
  max-width:1020px;
  margin-left:clamp(28px,5vw,88px);
}

.hero-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}

.brand-lockup{
  display:flex;
  align-items:center;
  gap:16px;
}

.brand-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:118px;
  height:58px;
  padding:0 22px;
  border-radius:32px;
  background:var(--blue);
  color:#fff;
  font-size:34px;
  font-weight:700;
}

.brand-copy{
  display:grid;
  gap:4px;
}

.brand-copy strong{
  font-size:24px;
  line-height:1.1;
}

.brand-logo{
  width:58px;
  height:58px;
  object-fit:contain;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.22));
}

.eyebrow{
  font-size:12px;
  line-height:1.2;
  text-transform:uppercase;
  color:#d6ead9;
  letter-spacing:.04em;
  font-weight:700;
}

h1{
  max-width:820px;
  margin-top:28px;
  font-size:60px;
  line-height:1.02;
  letter-spacing:0;
}

.lead{
  max-width:790px;
  margin-top:18px;
  font-size:20px;
  color:rgba(246,251,255,.88);
}

.hero-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  max-width:940px;
  margin-top:30px;
}

.hero-metrics article{
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius);
  background:rgba(255,255,255,.08);
}

.hero-metrics strong{
  display:block;
  font-size:26px;
  color:#fff;
}

.hero-metrics span{
  display:block;
  margin-top:6px;
  font-size:15px;
  color:rgba(246,251,255,.82);
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:var(--radius);
  border:1px solid transparent;
  font-size:15px;
  font-weight:700;
}

.button.primary{
  background:var(--gold);
  color:#182830;
}

.button.ghost{
  border-color:rgba(255,255,255,.24);
  background:rgba(255,255,255,.08);
  color:#fff;
}

.button.ghost.dark{
  border-color:rgba(23,50,74,.18);
  background:var(--surface);
  color:var(--ink);
}

.band{
  padding:78px 0;
}

.white{background:var(--surface)}
.soft{background:var(--surface-soft)}
.deep{
  background:var(--deep);
  color:#f4fbf7;
}
.accent{background:var(--surface-accent)}

.section-head{
  display:grid;
  gap:10px;
  margin-bottom:30px;
}

.section-head .eyebrow{
  color:var(--green);
}

.section-head.inverse .eyebrow{
  color:#bfddcb;
}

h2{
  max-width:900px;
  font-size:42px;
  line-height:1.08;
  letter-spacing:0;
}

h3{
  font-size:25px;
  line-height:1.08;
}

.io-grid,
.smart-grid,
.mode-grid,
.protection-grid,
.commissioning-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.product-photo-block{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:24px;
  align-items:center;
  margin-bottom:28px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface-soft);
  box-shadow:var(--shadow);
}

.product-photo-block img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center center;
  border-radius:var(--radius);
}

.product-photo-block .eyebrow{
  color:var(--green);
  margin-bottom:10px;
}

.product-photo-block h3{
  margin-bottom:12px;
  color:var(--blue);
}

.product-photo-block p:not(.eyebrow){
  color:var(--muted);
  font-size:18px;
}

.mode-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.io-card,
.smart-grid article,
.mode-card,
.protection-grid article,
.commissioning-grid article{
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
  box-shadow:var(--shadow);
}

.io-card p,
.smart-grid p,
.mode-card p,
.protection-grid p,
.commissioning-grid p,
.detail-list li,
.automation-copy p{
  color:var(--muted);
}

.io-card h3,
.smart-grid h3,
.protection-grid h3,
.commissioning-grid h3{
  margin-bottom:10px;
  font-size:22px;
}

.smart-grid h3{
  color:var(--blue);
}

.mode-card strong{
  display:block;
  font-size:28px;
  color:var(--blue);
}

.mode-card span{
  display:block;
  margin-top:6px;
  font-size:17px;
  color:var(--green);
  font-weight:700;
}

.mode-card p{
  margin-top:12px;
}

.logic-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.logic-block{
  padding:24px;
  border-top:4px solid var(--gold);
  border-radius:var(--radius);
  background:var(--surface-soft);
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  border-left:1px solid var(--line);
}

.logic-block h3{
  margin-bottom:14px;
  color:var(--blue);
}

.detail-list{
  display:grid;
  gap:14px;
  margin:0;
  padding:0;
  list-style:none;
}

.detail-list li{
  padding-top:14px;
  border-top:1px solid var(--line);
}

.detail-list li:first-child{
  padding-top:0;
  border-top:none;
}

.detail-list strong{
  color:var(--ink);
}

.automation-layout{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:26px;
  align-items:center;
}

.display-layout{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:34px;
  align-items:center;
}

.display-media{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  border-radius:var(--radius);
  overflow:hidden;
  background:linear-gradient(145deg,#10261d,#25342f);
  box-shadow:var(--shadow);
}

.display-media img{
  width:min(100%,520px);
  height:520px;
  object-fit:contain;
  object-position:center center;
  border-radius:8px;
  box-shadow:0 18px 42px rgba(0,0,0,.24);
}

.display-copy{
  display:grid;
  gap:16px;
}

.display-copy .eyebrow{
  color:var(--green);
}

.display-copy h2{
  max-width:none;
}

.display-copy p:not(.eyebrow){
  max-width:680px;
  color:var(--muted);
  font-size:18px;
}

.display-points{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:8px;
}

.display-points article{
  padding:18px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
  box-shadow:0 12px 28px rgba(17,39,59,.08);
}

.display-points strong{
  display:block;
  color:var(--blue);
  font-size:24px;
}

.display-points span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:15px;
}

.wireless-callout{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  align-items:center;
  margin-top:4px;
  padding:18px 20px;
  border:1px solid rgba(12,90,168,.28);
  border-radius:var(--radius);
  background:#eef7ff;
  box-shadow:0 16px 34px rgba(12,90,168,.12);
}

.wireless-callout strong{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 16px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  font-size:24px;
  line-height:1;
}

.wireless-callout strong::before{
  content:"";
  width:10px;
  height:10px;
  margin-right:9px;
  border-radius:50%;
  background:#18b56e;
  box-shadow:0 0 0 5px rgba(24,181,110,.18);
}

.wireless-callout span{
  color:#24445f;
  font-size:17px;
  font-weight:700;
}

.automation-copy p{
  max-width:660px;
  font-size:18px;
  color:rgba(244,251,247,.82);
}

.automation-copy p + p{
  margin-top:16px;
}

.automation-points{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:24px;
}

.automation-points article{
  padding:18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  background:rgba(255,255,255,.05);
}

.automation-points strong{
  display:block;
  font-size:18px;
  color:#fff;
}

.automation-points span{
  display:block;
  margin-top:8px;
  font-size:15px;
  color:rgba(244,251,247,.78);
}

.automation-media{
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02)),
    rgba(255,255,255,.04);
  overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,.20);
}

.automation-media img{
  width:100%;
  height:480px;
  object-fit:cover;
  object-position:center top;
}

.automation-media.app-shot{
  display:flex;
  justify-content:center;
  padding:24px;
}

.automation-media.app-shot img{
  width:min(100%,340px);
  height:520px;
  object-fit:cover;
  object-position:top center;
  border-radius:24px;
  box-shadow:0 20px 42px rgba(0,0,0,.26);
}

.protection-grid article h3,
.commissioning-grid article h3{
  color:var(--blue);
}

.closing{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.compact{
  margin-top:0;
}

@media (max-width:1100px){
  h1{
    font-size:52px;
  }

  .hero-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .io-grid,
  .smart-grid,
  .mode-grid,
  .protection-grid,
  .commissioning-grid,
  .automation-points{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .automation-layout,
  .product-photo-block,
  .display-layout,
  .logic-layout,
  .closing{
    grid-template-columns:1fr;
    display:grid;
  }

  .display-points{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:760px){
  .wrap{
    width:min(100% - 28px,1180px);
  }

  .hero{
    min-height:820px;
  }

  .hero-content{
    padding:28px 0 62px;
  }

  .hero-copy{
    max-width:none;
    margin-left:0;
  }

  .hero-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .brand-lockup{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  h1{
    font-size:40px;
  }

  h2{
    font-size:32px;
  }

  .lead{
    font-size:18px;
  }

  .hero-metrics,
  .product-photo-block,
  .io-grid,
  .smart-grid,
  .mode-grid,
  .protection-grid,
  .commissioning-grid,
  .display-points,
  .automation-points{
    grid-template-columns:1fr;
  }

  .wireless-callout{
    grid-template-columns:1fr;
  }

  .button{
    width:100%;
  }

  .hero-actions,
  .compact{
    width:100%;
  }

  .logic-layout{
    grid-template-columns:1fr;
  }

  .automation-media img{
    height:360px;
  }

  .display-media img{
    height:360px;
    width:min(100%,360px);
  }

  .automation-media.app-shot{
    padding:16px;
  }

  .automation-media.app-shot img{
    width:min(100%,330px);
    height:500px;
  }
}
