:root {
  --ink: #162122;
  --muted: #5e6a6d;
  --line: #dce2e0;
  --paper: #f7f8f5;
  --white: #ffffff;
  --teal: #0a7a74;
  --teal-dark: #075d59;
  --copper: #b7663c;
  --copper-soft: #f2d8c7;
  --gold: #d5a43b;
  --charcoal: #1e2729;
  --shadow: 0 18px 42px rgba(22, 33, 34, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
  min-width: 0;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(22, 33, 34, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  min-width: 0;
}

.brand span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 6px;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header.is-solid .site-nav a:hover {
  background: #eef3f1;
}

.nav-cta {
  border: 1px solid currentColor;
}

.menu-toggle {
  display: none;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  padding: 9px 12px;
  font: inherit;
  font-weight: 700;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hybrid-infrastructure-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 19, 20, 0.83) 0%, rgba(12, 19, 20, 0.62) 38%, rgba(12, 19, 20, 0.20) 70%),
    linear-gradient(180deg, rgba(12, 19, 20, 0.32) 0%, rgba(12, 19, 20, 0.20) 54%, rgba(12, 19, 20, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffc49d;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 8vw, 96px);
}

h2 {
  max-width: 760px;
  font-size: clamp(32px, 5vw, 58px);
}

h3 {
  font-size: 21px;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  border-radius: 7px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 800;
  white-space: normal;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border: 1px solid var(--teal);
  color: var(--white);
  background: var(--teal);
}

.button-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button-secondary {
  border: 1px solid currentColor;
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.contact-section .button-secondary,
.section .button-secondary {
  background: transparent;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), calc(100% - 40px));
  margin: -36px auto 0;
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--line);
}

.proof-strip div {
  min-height: 112px;
  padding: 24px;
  background: var(--white);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 8px;
  font-size: 16px;
}

.proof-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-intro {
  max-width: 820px;
}

.section-intro p,
.partner-copy p,
.contact-inner p {
  color: var(--muted);
  font-size: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.service-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
}

.service-card p,
.security-list p,
.requirements-box li {
  color: var(--muted);
}

.card-kicker {
  width: fit-content;
  border-bottom: 2px solid var(--copper);
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
}

.architecture-panel {
  display: grid;
  gap: 14px;
}

.layer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(22, 33, 34, 0.07);
}

.layer span,
.layer strong {
  display: block;
}

.layer span {
  margin-bottom: 8px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layer strong {
  font-size: 18px;
}

.layer-control {
  border-left: 5px solid var(--teal);
}

.layer-private {
  border-left: 5px solid var(--copper);
}

.layer-provider {
  border-left: 5px solid var(--charcoal);
}

.muted-band {
  width: 100%;
  max-width: none;
  padding: 96px max(20px, calc((100vw - var(--max)) / 2));
  background: #edf2ef;
}

.muted-band .section-intro {
  width: min(var(--max), 100%);
}

.security-list {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.security-list div {
  padding: 24px;
  background: var(--white);
}

.partner-copy {
  max-width: 720px;
}

.requirements-box {
  border-radius: var(--radius);
  padding: 30px;
  color: var(--white);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.requirements-box h3 {
  margin-bottom: 20px;
}

.requirements-box ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
}

.requirements-box li {
  color: rgba(255, 255, 255, 0.78);
}

.contact-section {
  padding: 92px 20px;
  color: var(--white);
  background: var(--teal-dark);
}

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

.contact-section .eyebrow {
  color: #ffd2b8;
}

.contact-section p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(5, 37, 35, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--white);
  background: rgba(10, 24, 25, 0.38);
  font: inherit;
}

.contact-form textarea {
  min-height: 134px;
  resize: vertical;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.contact-form .button {
  width: fit-content;
  min-width: 180px;
  background: var(--copper);
  border-color: var(--copper);
}

.contact-form .button:hover {
  background: #9f5633;
  border-color: #9f5633;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 4vw, 48px);
  color: var(--white);
  background: #121a1b;
  font-size: 14px;
}

.site-footer span:last-child {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 980px) {
  .card-grid,
  .security-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-split {
    grid-template-columns: 1fr;
  }

  .architecture-panel {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav a:hover {
    background: transparent;
  }

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

  .hero {
    min-height: 88vh;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 19, 20, 0.86) 0%, rgba(12, 19, 20, 0.70) 56%, rgba(12, 19, 20, 0.38) 100%),
      linear-gradient(180deg, rgba(12, 19, 20, 0.36) 0%, rgba(12, 19, 20, 0.16) 50%, rgba(12, 19, 20, 0.74) 100%);
  }

  .proof-strip,
  .card-grid,
  .security-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section,
  .muted-band,
  .contact-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

@media (max-width: 520px) {
  .site-header {
    right: auto;
    width: min(390px, 100%);
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-content {
    width: min(358px, calc(100vw - 32px));
    max-width: min(358px, calc(100vw - 32px));
    margin-left: 16px;
    margin-right: auto;
  }

  .button {
    width: 100%;
  }

  .contact-form {
    padding: 18px;
  }

  .contact-form .button {
    width: 100%;
  }

  .proof-strip,
  .section {
    width: min(358px, calc(100vw - 32px));
    max-width: min(358px, calc(100vw - 32px));
    margin-left: 16px;
    margin-right: auto;
  }

  .proof-strip {
    margin-top: -36px;
  }

  .hero-copy,
  .proof-strip span,
  .section-intro p,
  .partner-copy p,
  .contact-inner p {
    max-width: 100%;
  }

  .service-card {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .hero-content {
    padding-top: 104px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-copy {
    font-size: 17px;
  }
}
