:root {
  --ink: #101623;
  --muted: #596275;
  --line: #d9e0e8;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #1769e0;
  --blue-dark: #0c3779;
  --teal: #0aa6a6;
  --green: #3d8c4b;
  --amber: #d48a1c;
  --red: #c84d4d;
  --shadow: 0 20px 60px rgba(13, 25, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(7, 13, 24, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

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

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 34px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.nav-chat:hover,
.nav-chat:focus-visible {
  color: var(--white);
}

.nav-chat {
  min-height: 38px;
  padding: 0 13px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 130px clamp(18px, 5vw, 72px) 92px;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  backface-visibility: hidden;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 9, 17, 0.92) 0%, rgba(5, 9, 17, 0.76) 40%, rgba(5, 9, 17, 0.2) 78%),
    linear-gradient(0deg, rgba(5, 9, 17, 0.66), rgba(5, 9, 17, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #88d6d6;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.3rem, 9vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
}

.button.compact {
  min-height: 42px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--blue);
}

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

.hero-status {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 820px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(16, 22, 35, 0.78);
}

.hero-status span {
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(5, 9, 17, 0.34);
  font-weight: 700;
  text-align: center;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.intro,
.services,
.contact {
  background: var(--white);
}

.quick-assessment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px max(230px, clamp(18px, 5vw, 72px)) 22px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-dark), #113d56);
}

.quick-assessment div {
  display: grid;
  gap: 3px;
}

.quick-assessment strong {
  font-size: 1.05rem;
}

.quick-assessment span {
  color: rgba(255, 255, 255, 0.78);
}

.intro-grid,
.section-heading,
.coverage,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.3vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.25;
}

.intro p,
.section-heading p,
.coverage p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 246px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  border-color: rgba(23, 105, 224, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card p {
  margin: 13px 0 0;
  color: var(--muted);
}

.service-icon {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #e7f0ff;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
}

.camera::before {
  left: 10px;
  top: 14px;
  width: 24px;
  height: 14px;
  border: 3px solid var(--blue);
  border-radius: 4px;
}

.camera::after {
  right: 8px;
  top: 18px;
  border-left: 10px solid var(--blue);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.shield {
  background: #e9f7f1;
}

.shield::before {
  left: 12px;
  top: 8px;
  width: 20px;
  height: 25px;
  background: var(--green);
  clip-path: polygon(50% 0, 88% 12%, 82% 68%, 50% 100%, 18% 68%, 12% 12%);
}

.backup {
  background: #fff4e4;
}

.backup::before,
.backup::after {
  left: 11px;
  width: 22px;
  height: 10px;
  border: 3px solid var(--amber);
  border-radius: 50%;
}

.backup::before {
  top: 9px;
}

.backup::after {
  top: 23px;
}

.network {
  background: #e6f7f7;
}

.network::before {
  left: 11px;
  top: 11px;
  width: 22px;
  height: 22px;
  border: 3px solid var(--teal);
  border-radius: 50%;
}

.network::after {
  left: 20px;
  top: 8px;
  width: 4px;
  height: 28px;
  background: var(--teal);
  box-shadow: -9px 10px 0 -1px var(--teal), 9px 10px 0 -1px var(--teal);
}

.tools {
  background: #f4ecff;
}

.tools::before {
  left: 20px;
  top: 8px;
  width: 6px;
  height: 28px;
  background: #7f56d9;
  border-radius: 4px;
  transform: rotate(35deg);
}

.tools::after {
  left: 11px;
  top: 11px;
  width: 12px;
  height: 12px;
  border: 3px solid #7f56d9;
  border-radius: 50%;
}

.support {
  background: #ffeaea;
}

.support::before {
  left: 10px;
  top: 11px;
  width: 24px;
  height: 18px;
  border: 3px solid var(--red);
  border-radius: 5px;
}

.support::after {
  left: 18px;
  top: 31px;
  width: 8px;
  height: 3px;
  background: var(--red);
  box-shadow: -5px 4px 0 0 var(--red), 5px 4px 0 0 var(--red);
}

.process {
  background: #eef4f8;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.timeline div {
  min-height: 210px;
  padding: 26px;
  border-left: 4px solid var(--blue);
  background: var(--white);
  border-radius: 8px;
}

.timeline span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
}

.timeline p {
  margin: 12px 0 0;
  color: var(--muted);
}

.coverage {
  background: #101623;
  color: var(--white);
}

.coverage .section-kicker {
  color: #8fe7d9;
}

.coverage p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
}

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

.proof-grid div {
  min-height: 142px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

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

.proof-grid strong {
  font-size: 1.5rem;
}

.proof-grid span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  color: var(--ink);
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.website-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--red);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(23, 105, 224, 0.16);
  border-color: var(--blue);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #070d18;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
}

.assistant-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  width: min(380px, calc(100vw - 28px));
  pointer-events: none;
}

.assistant-widget button,
.assistant-widget input {
  font: inherit;
}

.assistant-launcher {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  margin-left: auto;
  padding: 12px 16px;
  color: var(--white);
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 16px 40px rgba(9, 24, 46, 0.28);
  font-weight: 800;
  cursor: pointer;
}

.assistant-launcher span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #8fe7d9;
  box-shadow: 0 0 0 5px rgba(143, 231, 217, 0.16);
}

.assistant-panel {
  pointer-events: auto;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(16, 22, 35, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(9, 24, 46, 0.26);
}

.assistant-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  color: var(--white);
  background: #101623;
}

.assistant-header strong,
.assistant-header span {
  display: block;
}

.assistant-header span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.assistant-close {
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.82);
  border: 0;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.assistant-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 320px;
  min-height: 190px;
  overflow-y: auto;
  padding: 16px;
  background: #f7f9fb;
}

.assistant-message {
  max-width: 88%;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 0.94rem;
}

.assistant-message.bot {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.assistant-message.user {
  justify-self: end;
  color: var(--white);
  background: var(--blue);
}

.assistant-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
  background: #f7f9fb;
}

.assistant-prompts button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--blue-dark);
  border: 1px solid #c8d8ee;
  border-radius: 8px;
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.assistant-form input {
  min-height: 42px;
}

.assistant-form button {
  min-height: 42px;
  padding: 0 13px;
  color: var(--white);
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(7, 13, 24, 0.96);
  }

  .site-nav.open {
    display: grid;
    gap: 6px;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-chat {
    width: 100%;
    justify-content: flex-start;
  }

  .intro-grid,
  .section-heading,
  .coverage,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 96vh;
    min-height: 96svh;
    padding-top: 110px;
    padding-bottom: 200px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .quick-assessment {
    align-items: stretch;
    flex-direction: column;
    padding-right: clamp(18px, 5vw, 72px);
    padding-bottom: 82px;
  }

  .hero-status {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline,
  .proof-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline div {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .assistant-widget {
    right: 14px;
    bottom: 10px;
  }

  .assistant-launcher {
    min-height: 46px;
    padding: 10px 13px;
  }

  .assistant-panel {
    max-height: calc(100vh - 28px);
  }

  .assistant-messages {
    max-height: 42vh;
  }
}
