:root {
  --ink: #17211e;
  --muted: #66716d;
  --paper: #f7f5ef;
  --soft: #ebe7dc;
  --line: rgba(23, 33, 30, 0.13);
  --green: #3a8f6a;
  --teal: #4c9da4;
  --clay: #bd7f58;
  --blue: #466f91;
  --charcoal: #101818;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: white;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 7px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.42);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 16, 16, 0.78), rgba(11, 16, 16, 0.38) 47%, rgba(11, 16, 16, 0.05)),
    linear-gradient(0deg, rgba(16, 24, 24, 0.56), transparent 45%);
}

.hero-content {
  position: relative;
  max-width: 790px;
  padding: 160px clamp(20px, 5vw, 64px) 10svh;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #aee6c6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.3rem, 13vw, 10rem);
  line-height: 0.85;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #0f1917;
  background: #f7faf4;
}

.button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.section {
  padding: clamp(70px, 9vw, 124px) clamp(20px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.intro p:last-child,
.energy-copy p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.65;
}

.status-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.status-band article {
  padding: clamp(28px, 4vw, 46px) clamp(20px, 5vw, 64px);
  background: #fbfaf6;
}

.status-band span {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-band p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 38px;
}

.use-cases {
  background: #f1eee7;
  border-bottom: 1px solid var(--line);
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.use-case-grid article {
  min-height: 220px;
  padding: 24px;
  background: #fbfaf6;
}

.use-case-grid h3 {
  margin-bottom: 58px;
}

.use-case-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.sensor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.sensor-card {
  min-height: 245px;
  padding: 28px;
  background: #fbfaf6;
}

.sensor-card span,
.timeline span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.sensor-card h3 {
  margin-bottom: 12px;
}

.sensor-card p,
.clean-list,
.timeline p,
.flow-node span,
.contact-copy p,
footer p {
  color: var(--muted);
  line-height: 1.55;
}

.smoke {
  border-top: 5px solid var(--clay);
}

.climate {
  border-top: 5px solid var(--green);
}

.radar {
  border-top: 5px solid var(--blue);
}

.audio {
  border-top: 5px solid var(--teal);
}

.light {
  border-top: 5px solid #d6aa4c;
}

.motion {
  border-top: 5px solid #7c6f95;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
}

.panel {
  min-height: 520px;
  padding: clamp(34px, 6vw, 70px);
}

.panel.dark {
  color: white;
  background: var(--charcoal);
}

.panel.dark h2 {
  max-width: 650px;
}

.panel-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.panel.dark .panel-copy {
  color: rgba(255, 255, 255, 0.72);
}

.panel.light {
  background: var(--soft);
}

.protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}

.protocols span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.94rem;
  font-weight: 700;
}

.clean-list {
  display: grid;
  gap: 18px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  font-size: 1.05rem;
}

.clean-list li {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.architecture {
  background: #fbfaf6;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr;
  align-items: stretch;
}

.flow-node {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}

.flow-node strong {
  display: block;
  margin-bottom: 54px;
  font-size: 1.25rem;
}

.flow-node.accent {
  color: white;
  background: var(--green);
}

.flow-node.accent span {
  color: rgba(255, 255, 255, 0.82);
}

.flow-line {
  align-self: center;
  height: 1px;
  background: var(--line);
}

.energy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(38px, 8vw, 110px);
  align-items: center;
  background: #e7eee7;
}

.metric-strip {
  display: grid;
  gap: 1px;
  background: rgba(23, 33, 30, 0.15);
  border: 1px solid rgba(23, 33, 30, 0.15);
}

.metric-strip div {
  padding: 30px;
  background: rgba(255, 255, 255, 0.62);
}

.metric-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  line-height: 1.08;
}

.metric-strip span {
  color: var(--muted);
  font-weight: 700;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.timeline article {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fbfaf6;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
  background: #f1eee7;
  border-top: 1px solid var(--line);
}

.contact-copy p {
  max-width: 620px;
  font-size: 1.08rem;
}

.contact-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.contact-panel div {
  display: grid;
  gap: 7px;
  padding: 20px;
  background: #fbfaf6;
}

.contact-panel span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-panel strong {
  font-size: 1rem;
  line-height: 1.35;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  color: white;
  background: var(--charcoal);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

footer span {
  font-weight: 800;
}

footer p {
  max-width: 560px;
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    max-width: 270px;
  }

  .intro,
  .status-band,
  .split,
  .energy,
  .contact,
  .timeline {
    grid-template-columns: 1fr;
  }

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

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

  .flow {
    grid-template-columns: 1fr;
  }

  .flow-line {
    width: 1px;
    height: 42px;
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    display: block;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(11, 16, 16, 0.82), rgba(11, 16, 16, 0.24) 70%),
      linear-gradient(90deg, rgba(11, 16, 16, 0.42), rgba(11, 16, 16, 0.04));
  }

  .hero-content {
    padding-top: 120px;
  }

  .button {
    width: 100%;
  }

  .sensor-grid,
  .use-case-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .panel {
    min-height: 0;
  }

  footer {
    display: block;
  }

  footer span {
    display: block;
    margin-bottom: 12px;
  }
}
