:root {
  color-scheme: light;
  --ink: #071525;
  --ink-soft: #24364f;
  --muted: #627089;
  --line: #d8e0eb;
  --panel: #ffffff;
  --panel-soft: #f4f7fb;
  --blue: #1267d8;
  --blue-dark: #073a84;
  --cyan: #4cc9f0;
  --green: #83c44a;
  --gold: #f2b84b;
  --shadow: 0 24px 70px rgba(7, 21, 37, .15);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: .7rem 1rem;
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 4vw, 3rem);
  color: #fff;
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(7, 21, 37, .12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 5.85rem;
  height: 5.85rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(5, 13, 25, .18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.is-scrolled .brand-mark {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(7, 21, 37, .1);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.86rem;
  letter-spacing: 0;
  line-height: 1.05;
}

.brand small {
  color: currentColor;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  opacity: .82;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.6rem, 2vw, 1.2rem);
  font-size: .9rem;
}

.site-nav a {
  text-decoration: none;
  opacity: .9;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-cta {
  padding: .55rem .85rem;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
}

.is-scrolled .nav-cta {
  border-color: var(--line);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

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

.hero-bg {
  background: url("/uspower-assets/hero-grid-monitoring.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 13, 25, .94) 0%, rgba(5, 13, 25, .78) 38%, rgba(5, 13, 25, .24) 72%),
    linear-gradient(180deg, rgba(5, 13, 25, .2), rgba(5, 13, 25, .88));
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 9rem 0 3rem;
}

.eyebrow,
.section-kicker {
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: .8rem 0 1rem;
  font-size: clamp(2.55rem, 6vw, 5.7rem);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
}

.cta-section .button.secondary,
.section .button.secondary {
  border-color: var(--line);
  color: var(--ink);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  margin: 3rem 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .18);
}

.metric-strip div {
  padding: 1.1rem;
  background: rgba(4, 18, 35, .72);
}

.metric-strip dt {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 850;
}

.metric-strip dd {
  margin: .15rem 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
}

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

.section h2,
.operations h2,
.cta-section h2 {
  margin: .45rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section p,
.operations p,
.cta-section p {
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.split,
.media-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.media-copy.reverse {
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.05fr);
}

.challenge-grid,
.benefit-grid,
.system-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.challenge-grid article,
.benefit-grid article,
.system-steps article,
.deployment-card,
.feature-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(7, 21, 37, .06);
}

.challenge-grid article,
.benefit-grid article,
.system-steps article {
  padding: 1.15rem;
}

.challenge-grid span,
.system-steps strong {
  color: var(--blue);
  font-weight: 900;
}

h3 {
  margin: .25rem 0 .45rem;
  font-size: 1.02rem;
  line-height: 1.2;
}

.bridge-band,
.benefits,
.deployment {
  position: relative;
}

.bridge-band::before,
.benefits::before,
.deployment::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  margin-left: -50vw;
  background: linear-gradient(180deg, #f6f9fd, #ffffff);
}

.image-panel {
  margin: 0;
  padding: .6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.image-panel img {
  border-radius: 6px;
}

.check-list {
  display: grid;
  gap: .55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .46rem;
  width: .72rem;
  height: .72rem;
  border-radius: 99px;
  background: var(--green);
  box-shadow: inset 0 0 0 3px #e7f5da;
}

.system-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.operations {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.operations-bg {
  background:
    linear-gradient(90deg, rgba(5, 13, 25, .95), rgba(5, 13, 25, .62), rgba(5, 13, 25, .28)),
    url("/uspower-assets/control-center-operations.png") center / cover no-repeat;
}

.operations-content {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.operations-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, .82);
}

.operations-content h2 {
  max-width: 760px;
}

.centered {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.deployment-card {
  padding: 1.4rem;
}

.deployment-card ol {
  margin: 1rem 0 0;
  padding-left: 1.35rem;
}

.deployment-card li + li {
  margin-top: .7rem;
}

.cta-section {
  padding: clamp(4rem, 8vw, 6rem) 1rem;
  background: radial-gradient(circle at 20% 0%, rgba(76, 201, 240, .16), transparent 34%), #071525;
  color: #fff;
  text-align: center;
}

.cta-section > div {
  width: min(800px, 100%);
  margin: 0 auto;
}

.cta-section p {
  color: rgba(255, 255, 255, .78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  background: #050d19;
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .75rem;
}

.feature-hero {
  padding: 8rem 1rem 4rem;
  background:
    linear-gradient(90deg, rgba(5, 13, 25, .94), rgba(5, 13, 25, .72)),
    url("/uspower-assets/hero-grid-monitoring.png") center / cover no-repeat;
  color: #fff;
}

.feature-hero .inner,
.feature-content {
  width: min(960px, 100%);
  margin: 0 auto;
}

.feature-hero h1 {
  max-width: 820px;
  margin: .6rem 0 1rem;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1;
}

.feature-hero p {
  max-width: 740px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.14rem;
}

.feature-content {
  padding: 4rem 1rem;
}

.feature-card {
  padding: 1.25rem;
  margin: 1.1rem 0;
}

.feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

.feature-links a {
  padding: .55rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--blue-dark);
  font-weight: 700;
}

.faq-section {
  max-width: 980px;
}

.faq-grid {
  display: grid;
  gap: .9rem;
  margin-top: 2rem;
}

.faq-item {
  padding: 1rem 1.15rem;
}

.faq-item summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.25;
}

.faq-item p {
  margin: .8rem 0 0;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 7rem;
  }

  .metric-strip,
  .split,
  .media-copy,
  .media-copy.reverse,
  .challenge-grid,
  .benefit-grid,
  .system-steps {
    grid-template-columns: 1fr;
  }

  .image-panel {
    padding: .35rem;
  }
}

@media (max-width: 560px) {
  .brand {
    gap: .8rem;
  }

  .brand-mark {
    width: 4.35rem;
    height: 4.35rem;
  }

  .brand strong {
    font-size: 1.38rem;
  }

  .brand small {
    max-width: 12rem;
    font-size: .88rem;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
