:root {
  --ink: #14384a;
  --muted: #5c7884;
  --blue: #1e8bc9;
  --blue-dark: #0c5f8e;
  --green: #2fa66a;
  --orange: #e8a23d;
  --red: #d9533b;
  --bg: #f4fbfd;
  --panel: #ffffff;
  --soft-blue: #e4f4fa;
  --line: rgba(20, 56, 74, 0.14);
  --shadow: 0 24px 80px rgba(20, 56, 74, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(30, 139, 201, 0.16), transparent 34rem),
    linear-gradient(180deg, #f8fdff 0%, var(--bg) 38%, #ffffff 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 4rem);
  background: rgba(248, 253, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 86px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--blue-dark);
}

.section-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue-dark);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 1.3rem;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 750;
}

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 40px rgba(20, 56, 74, 0.18);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-card,
.card,
.signal-card,
.flow-step {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  padding: 2rem;
}

.status-dot {
  width: 0.8rem;
  height: 0.8rem;
  display: inline-block;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(232, 162, 61, 0.14);
}

.hero-card p,
.text-block p,
.card p,
.flow-step p,
.signal-card p,
.timeline span,
.site-footer span {
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.text-block p {
  font-size: 1.08rem;
}

.cards-section,
.architecture-section,
.signal-section,
.roadmap {
  padding-top: 3rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.cards-grid,
.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card,
.signal-card,
.flow-step {
  padding: 1.4rem;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.feature-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.module-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(228, 244, 250, 0.95), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at center, rgba(30, 139, 201, 0.16), transparent 55%);
  box-shadow: var(--shadow);
}

.solar-panel {
  width: 230px;
  padding: 0.8rem 1rem;
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  transform: perspective(380px) rotateX(28deg);
  box-shadow: 0 20px 40px rgba(30, 139, 201, 0.22);
}

.device-box {
  position: relative;
  width: 220px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-radius: 26px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(20, 56, 74, 0.2);
}

.device-box strong {
  font-size: 1.35rem;
}

.device-box small {
  color: var(--muted);
  text-align: center;
}

.antenna {
  position: absolute;
  top: -50px;
  width: 3px;
  height: 55px;
  background: var(--blue-dark);
  border-radius: 999px;
}

.led-row {
  display: flex;
  gap: 0.65rem;
}

.led,
.signal {
  display: inline-block;
  border-radius: 50%;
}

.led {
  width: 1rem;
  height: 1rem;
}

.green,
.light-green {
  background: var(--green);
}

.orange,
.light-orange {
  background: var(--orange);
}

.red,
.light-red {
  background: var(--red);
}

.sensor-cable {
  width: 3px;
  height: 90px;
  background: var(--muted);
}

.water-line {
  width: min(360px, 90%);
  padding: 1.2rem;
  color: var(--blue-dark);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 750;
  border-radius: 999px;
  background: rgba(30, 139, 201, 0.15);
  border: 1px solid rgba(30, 139, 201, 0.24);
}

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.flow-step {
  position: relative;
}

.flow-step span {
  display: inline-flex;
  margin-bottom: 1.6rem;
  color: var(--blue);
  font-weight: 850;
}

.dark-panel {
  width: min(1120px, calc(100% - 2rem));
  margin-top: 3rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background: linear-gradient(135deg, #103142, #0d5c86);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dark-panel .eyebrow,
.dark-panel .text-block p {
  color: rgba(255, 255, 255, 0.78);
}

.signal-card {
  text-align: center;
}

.signal {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 12px rgba(20, 56, 74, 0.05);
}

.timeline {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.vision-panel {
  padding: clamp(3rem, 6vw, 5rem);
  margin-bottom: 5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(47, 166, 106, 0.14), rgba(30, 139, 201, 0.12));
  border: 1px solid var(--line);
}

blockquote {
  max-width: 920px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  flex-direction: column;
}

.site-footer a {
  color: var(--blue-dark);
  font-weight: 750;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero,
  .two-column,
  .feature-panel {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .signal-grid,
  .architecture-flow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 72px;
  }

  .section-shell {
    width: min(100% - 1.25rem, 1120px);
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.1rem);
  }

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

  .cards-grid,
  .signal-grid,
  .architecture-flow {
    grid-template-columns: 1fr;
  }

  .module-visual {
    min-height: 460px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Cookie consent */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 100;
  width: min(920px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(20, 56, 74, 0.2);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-copy {
  max-width: 620px;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.98rem;
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.cookie-button {
  min-height: 2.65rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
}

.cookie-button.primary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.cookie-button.secondary {
  color: var(--ink);
  background: #fff;
}

.cookie-button:focus-visible {
  outline: 3px solid rgba(30, 139, 201, 0.35);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions,
  .cookie-button {
    width: 100%;
  }
}
