:root {
  --bg: #f5f7f7;
  --ink: #14202a;
  --muted: #61717d;
  --line: #dbe3e6;
  --surface: #ffffff;
  --brand: #c73737;
  --brand-dark: #8f2424;
  --red: #c73737;
  --amber: #b96e13;
  --shadow: 0 18px 44px rgba(20, 32, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

main {
  flex: 1 0 auto;
}

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: 24px;
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 24, 32, 0.74);
  color: #fff;
  padding: 0 clamp(18px, 5vw, 64px);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 850;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-header .brand small {
  color: #aebbc3;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c9d3d8;
  font-size: 14px;
  font-weight: 750;
}

.site-nav a:hover {
  color: #fff;
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 7px;
  padding: 0 15px;
  font-weight: 800;
}

.header-action,
.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
}

.site-header .header-action {
  border-color: rgba(255, 255, 255, 0.18);
  background: #fff;
  color: var(--ink);
}

.primary-button {
  border: 1px solid var(--brand-dark);
  background: var(--brand);
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(40px, 7vw, 86px) clamp(18px, 5vw, 64px);
  overflow: hidden;
}

.page-hero {
  padding: clamp(62px, 9vw, 116px) clamp(18px, 5vw, 64px) clamp(38px, 6vw, 72px);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #3f4d58;
  font-size: 23px;
  line-height: 1.4;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.92) 0%, rgba(17, 24, 32, 0.78) 48%, rgba(17, 24, 32, 0.38) 100%),
    url("/assets/images/contact-hero-tech-bg.png") center right / cover no-repeat;
  color: #fff;
}

.contact-hero .eyebrow {
  color: #ff7373;
}

.contact-hero p:not(.eyebrow) {
  color: #d8e0e4;
}

.content-intro {
  padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 64px) 0;
}

.content-intro h1 {
  margin-bottom: 14px;
  font-size: 44px;
  line-height: 1.05;
}

.content-intro p:not(.eyebrow) {
  max-width: 860px;
  margin-bottom: 0;
  color: #3f4d58;
  font-size: 20px;
  line-height: 1.5;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(245, 247, 247, 0.98) 0%, rgba(245, 247, 247, 0.88) 46%, rgba(245, 247, 247, 0.58) 100%),
    url("/assets/images/hero-appliance-bg.png") center right / cover no-repeat;
  content: "";
}

.hero[data-hero-background="datacenter"]::before {
  background:
    linear-gradient(90deg, rgba(245, 247, 247, 0.98) 0%, rgba(245, 247, 247, 0.9) 46%, rgba(245, 247, 247, 0.62) 100%),
    url("/assets/images/hero-datacenter-bg.png") center right / cover no-repeat;
}

.hero[data-hero-background="operations"]::before {
  background:
    linear-gradient(90deg, rgba(245, 247, 247, 0.98) 0%, rgba(245, 247, 247, 0.9) 46%, rgba(245, 247, 247, 0.62) 100%),
    url("/assets/images/hero-operations-bg.png") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(245, 247, 247, 0), var(--bg));
  content: "";
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 104px;
  line-height: 0.92;
  overflow-wrap: break-word;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-text {
  max-width: 710px;
  color: #3f4d58;
  font-size: 24px;
  line-height: 1.36;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  display: none;
}

.hero-slide.active {
  display: block;
}

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

.slider-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.slider-arrow {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 12px;
  font-weight: 800;
}

.slider-arrow:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #d4dde1;
  padding: 0;
}

.slider-dot.active {
  background: var(--brand);
}

.product-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow);
}

.device-card,
.alert-preview {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfb;
  padding: 14px;
}

.device-card small,
.alert-preview small,
.signal-grid span,
.store-card p,
.feature-row span {
  color: var(--muted);
}

.status-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(199, 55, 55, 0.14);
  animation: status-blink 1.8s ease-in-out infinite;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.signal-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.signal-grid span,
.signal-grid strong {
  display: block;
}

.signal-grid span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 750;
}

.mini-led {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(199, 55, 55, 0.08);
  animation: mini-led-blink 2.4s ease-in-out infinite;
}

.mini-led.delay-one {
  animation-delay: 360ms;
}

.mini-led.delay-two {
  animation-delay: 780ms;
}

.mini-led.delay-three {
  animation-delay: 1180ms;
}

.severity {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--red);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  animation: alert-pulse 2.1s ease-in-out infinite;
}

@keyframes status-blink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(199, 55, 55, 0.14);
  }

  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 9px rgba(199, 55, 55, 0.05);
  }
}

@keyframes mini-led-blink {
  0%,
  100% {
    opacity: 0.95;
    transform: scale(1);
  }

  45% {
    opacity: 0.35;
    transform: scale(0.82);
  }
}

@keyframes alert-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(199, 55, 55, 0);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(199, 55, 55, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot,
  .mini-led,
  .severity {
    animation: none;
  }
}

.partner-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.partner-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfb;
  padding: 14px;
}

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

.partner-strip span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.section-band {
  padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 64px);
}

.section-band:nth-of-type(even) {
  background: #ffffff;
}

.section-heading {
  margin-bottom: 24px;
}

.appliance-grid,
.plans-grid,
.msp-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

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

.pricing-grid {
  align-items: stretch;
}

.store-card {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(20, 32, 42, 0.06);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.featured-price {
  border-color: rgba(199, 55, 55, 0.42);
  box-shadow: 0 18px 42px rgba(199, 55, 55, 0.12);
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}

.price-block strong {
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.price-block span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.price-block.monthly {
  margin-top: 8px;
  padding-bottom: 8px;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.spec-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.card-label {
  display: inline-flex;
  margin-bottom: 26px;
  border-radius: 999px;
  background: #eef6ff;
  color: #286fbe;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 40px;
}

.feature-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1fr);
  gap: 40px;
}

.story-copy {
  display: grid;
  gap: 16px;
  color: #3f4d58;
  font-size: 20px;
  line-height: 1.5;
}

.story-copy p {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 40px;
}

.contact-card-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  min-height: 230px;
}

.contact-grid .section-heading p:not(.eyebrow) {
  max-width: 520px;
  color: #3f4d58;
  font-size: 18px;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfd;
  color: var(--ink);
  padding: 12px;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(199, 55, 55, 0.12);
}

.form-submit {
  width: fit-content;
}

.form-notice {
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 750;
}

.form-notice.success {
  background: #edf8f0;
  color: #177245;
}

.form-notice.error {
  background: #fff1f1;
  color: var(--red);
}

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

.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 10px 26px rgba(20, 32, 42, 0.06);
}

.detail-panel p:not(.eyebrow),
.response-note {
  color: #3f4d58;
  font-size: 18px;
  line-height: 1.5;
}

.response-note {
  margin: 18px 0 0;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 12px 0 0;
  color: #3f4d58;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #111820;
  color: #edf2f4;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 64px) 24px;
}

.site-footer .brand-mark {
  background: var(--brand);
}

.site-footer .brand small,
.site-footer p,
.footer-links a,
.footer-bottom {
  color: #aebbc3;
}

.footer-brand {
  display: grid;
  max-width: 520px;
  gap: 16px;
  margin-bottom: 32px;
}

.footer-brand p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

.footer-links a {
  font-size: 14px;
  font-weight: 650;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero,
  .split,
  .appliance-grid,
  .plans-grid,
  .msp-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 68px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-text {
    font-size: 21px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .contact-grid,
  .form-row,
  .contact-card-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .header-action {
    width: 100%;
  }

  .site-nav {
    width: 100%;
  }

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

  .partner-strip {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 48px;
    line-height: 1;
  }

  h2 {
    font-size: 31px;
  }

  .hero-text {
    font-size: 19px;
  }
}
