* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #f2f7ff;
  background: #030914;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  background: #030914;
  border-bottom: 1px solid rgba(115, 169, 255, 0.12);
}

.header-inner {
  width: min(1180px, calc(100% - 64px));
  height: 146px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.brand {
  display: block;
  width: 240px;
  flex-shrink: 0;
  border-radius: 4px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.brand:focus-visible {
  outline: 2px solid #6cb3ff;
  outline-offset: 4px;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 420px;
  padding: 80px 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 12, 0.88) 0%, rgba(2, 8, 17, 0.75) 35%, rgba(5, 18, 37, 0.38) 68%, rgba(4, 12, 24, 0.48) 100%),
    linear-gradient(180deg, rgba(2, 5, 11, 0.08) 55%, rgba(2, 6, 13, 0.7) 100%),
    url('assets/digital-twin-visual.png') center center / cover no-repeat;
}

.hero-content {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
  text-align: center;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(3.2rem, 7.1vw, 6.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.site-footer {
  flex: 0 0 auto;
  padding: 22px 20px;
  background: #030914;
  border-top: 1px solid rgba(115, 169, 255, 0.12);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: #c3d4ed;
  font-size: 0.85rem;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .header-inner,
  .hero-content { width: calc(100% - 40px); }
  .header-inner { height: 118px; }
  .brand { width: 196px; }
  .hero {
    min-height: 350px;
    padding: 64px 0;
    background-position: center, center, 62% center;
  }
  h1 { font-size: clamp(2.7rem, 11vw, 4.4rem); }
}

@media (max-height: 500px) and (min-width: 601px) {
  .header-inner { height: 104px; }
  .brand { width: 180px; }
  .hero { min-height: 250px; padding: 48px 0; }
}
