:root {
  --ink: #162131;
  --muted: #5f6f82;
  --line: #dce5ef;
  --soft: #f4f7fb;
  --panel: #ffffff;
  --brand: #164d8f;
  --brand-2: #0f2f59;
  --accent: #ef6b5f;
  --accent-dark: #d94d43;
  --success: #2d8f72;
  --shadow: 0 18px 50px rgba(18, 38, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(239, 107, 95, 0.72);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  background: var(--brand-2);
  box-shadow: var(--shadow);
  transform: translateY(-140%);
  transition: transform 0.16s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--brand-2);
  color: #dbe8f7;
  font-size: 0.88rem;
}

.topbar .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 229, 239, 0.86);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #2b79ca);
}

.brand-word {
  display: grid;
  line-height: 1.05;
}

.brand-word strong {
  font-size: 1.46rem;
  letter-spacing: 0;
}

.brand-word span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  font-weight: 700;
  font-size: 0.92rem;
}

.main-nav a {
  color: #243246;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(239, 107, 95, 0.28);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--brand);
  border-color: #b9cee7;
  background: #fff;
}

.button-secondary:hover {
  border-color: var(--brand);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #102a4f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 27, 51, 0.94) 0%, rgba(12, 36, 70, 0.78) 42%, rgba(12, 36, 70, 0.2) 78%),
    url("hero-cloud-communications.png") center right / cover no-repeat;
}

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

.hero-content {
  max-width: 650px;
  padding: 86px 0 96px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-top: 14px;
  font-size: clamp(2.65rem, 7vw, 4.9rem);
}

.hero h1 {
  color: #fff;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 570px;
  margin-top: 22px;
  color: #dbe7f5;
  font-size: 1.2rem;
}

.hero-actions,
.section-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof div {
  padding: 18px 16px;
  background: rgba(15, 47, 89, 0.58);
}

.hero-proof strong {
  display: block;
  color: #fff;
}

.hero-proof span {
  display: block;
  color: #c4d4e8;
  font-size: 0.88rem;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: #fff;
  background: var(--brand-2);
}

.section-head {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-head p {
  color: #c4d4e8;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 26px rgba(18, 38, 63, 0.05);
}

.card h3 {
  margin-bottom: 12px;
}

.card p,
.check-list,
.numbered-list {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--brand);
  font-weight: 900;
}

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.check-list,
.numbered-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

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

.numbered-list {
  counter-reset: step;
}

.numbered-list li {
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.numbered-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 17px;
  left: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}

.quote-panel {
  padding: 42px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(22, 77, 143, 0.96), rgba(15, 47, 89, 0.98)),
    #164d8f;
  box-shadow: var(--shadow);
}

.quote-panel h2,
.quote-panel h3 {
  color: #fff;
}

.quote-panel p {
  color: #dbe8f7;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.metric {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.metric strong {
  display: block;
  font-size: 1.55rem;
}

.page-hero {
  padding: 84px 0;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(15, 47, 89, 0.98), rgba(22, 77, 143, 0.9)),
    #12345f;
}

.page-hero h1,
.page-hero h2 {
  color: #fff;
}

.page-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: #dbe8f7;
  font-size: 1.14rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
}

.form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 7px;
  color: #2d3a4b;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfdbe8;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

.small-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 56px 0 26px;
  color: #dbe8f7;
  background: #0e213b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 30px;
}

.footer-grid h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-grid p,
.footer-grid a {
  color: #b9cbe0;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9eb4cd;
  font-size: 0.92rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin-top: 10px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar-links {
    display: none;
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    inset: 68px 20px auto 20px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 27, 51, 0.96) 0%, rgba(12, 36, 70, 0.9) 62%, rgba(12, 36, 70, 0.82) 100%),
      url("hero-cloud-communications.png") center / cover no-repeat;
  }

  .hero-content {
    padding: 68px 0;
  }

  .hero-proof,
  .grid-3,
  .grid-4,
  .grid-2,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric-row,
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .brand {
    min-width: 0;
  }

  .brand-word strong {
    font-size: 1.18rem;
  }

  .brand-word span {
    font-size: 0.62rem;
  }

  .section {
    padding: 64px 0;
  }

  .button {
    width: 100%;
  }

  .hero-proof div,
  .card,
  .quote-panel {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
