: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}
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;
}

.hero-overlay{
  background:
    linear-gradient(90deg,rgba(15,33,28,.9) 0%,rgba(15,33,28,.76) 40%,rgba(15,33,28,.28) 100%),
    linear-gradient(180deg,rgba(15,33,28,.12) 0%,rgba(15,33,28,.42) 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:68px;
  height:68px;
  object-fit:contain;
}

.eyebrow{
  font-size:12px;
  line-height:1.2;
  text-transform:uppercase;
  color:#d6ead9;
}

h1{
  max-width:760px;
  margin-top:28px;
  font-size:60px;
  line-height:1.02;
}

.lead{
  max-width:760px;
  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:920px;
  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:860px;
  font-size:42px;
  line-height:1.08;
}

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

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

.io-card,
.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,
.mode-card p,
.protection-grid p,
.commissioning-grid p,
.detail-list li,
.automation-copy p{
  color:var(--muted);
}

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

.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;
}

.automation-copy p{
  max-width:620px;
  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 img{
  width:100%;
  height:480px;
  object-fit:contain;
}

.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,
  .mode-grid,
  .protection-grid,
  .commissioning-grid,
  .automation-points{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

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

@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,
  .io-grid,
  .mode-grid,
  .protection-grid,
  .commissioning-grid,
  .automation-points{
    grid-template-columns:1fr;
  }

  .button{
    width:100%;
  }

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

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

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