:root {
  --ink: #06182f;
  --muted: #526276;
  --line: #dfe7ef;
  --panel: #ffffff;
  --soft: #f4f8fb;
  --blue: #075fb8;
  --blue-dark: #064b91;
  --navy: #061b33;
  --teal: #208da7;
  --radius: 8px;
  --shadow: 0 14px 34px rgba(6, 24, 47, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding: 8px clamp(22px, 5.5vw, 74px);
  background: #fff;
  border-bottom: 1px solid #e7edf3;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(148px, 13.9vw, 190px);
  min-width: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  font-size: 0.94rem;
  font-weight: 750;
}

.nav-links a:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 10px 18px;
  font-weight: 800;
  line-height: 1.15;
}

.header-button,
.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(7, 95, 184, 0.22);
}

.header-button:hover,
.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
}

.button-secondary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.hero {
  position: relative;
  min-height: 320px;
  display: grid;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

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

.hero-image {
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 19, 37, 0.96) 0%, rgba(3, 19, 37, 0.82) 36%, rgba(3, 19, 37, 0.3) 70%, rgba(3, 19, 37, 0.08) 100%),
    linear-gradient(180deg, rgba(3, 19, 37, 0.15), rgba(3, 19, 37, 0.38));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: clamp(30px, 4.6vw, 48px) 0;
}

.hero-copy {
  width: min(700px, 100%);
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(2.05rem, 3.3vw, 3.35rem);
}

.hero p {
  max-width: 630px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
}

.hero-tags {
  color: #86c5e4 !important;
  font-size: 0.92rem !important;
  font-weight: 750;
}

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

main {
  background: #fff;
}

.intro-strip,
.section,
.process,
.about {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

.intro-strip {
  padding: 22px 0 24px;
}

.section {
  padding: 22px 0;
  border-top: 1px solid #eef2f6;
}

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

.section-heading.centered {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.process h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.section-heading p {
  margin-top: 8px;
  color: var(--muted);
}

.three-steps,
.service-grid,
.package-grid,
.project-grid,
.process-row {
  display: grid;
  gap: 18px;
}

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

.three-steps article,
.service-grid article,
.package-grid article,
.project-grid article,
.process-row article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.three-steps article {
  min-height: 112px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 6px 16px;
  align-content: center;
  padding: 20px 24px;
}

.three-steps article p {
  grid-column: 2;
}

.step-icon {
  width: 52px;
  height: 52px;
  align-self: center;
  justify-self: center;
  object-fit: contain;
}

.three-steps p,
.service-grid p,
.project-grid p,
.process-row p,
.about p,
.site-footer p {
  color: var(--muted);
}

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

.service-grid article {
  min-height: 188px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 11px;
  padding: 24px 18px;
  text-align: center;
}

.service-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.service-grid h3 {
  font-size: 1rem;
}

.service-grid p {
  font-size: 0.91rem;
}

.packages {
  background: linear-gradient(180deg, #fff, #fbfdff);
}

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

.package-grid article {
  position: relative;
  min-height: 218px;
  padding: 22px 22px 20px;
}

.package-number {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 10px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 850;
}

.package-grid h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.package-grid ul {
  margin: 0;
  padding-left: 18px;
  color: #2c3c52;
  font-size: 0.91rem;
}

.package-note {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.package-cta {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  text-align: center;
}

.package-cta .button {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1121px) {
  .package-grid article:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -24px;
    width: 30px;
    height: 30px;
    border-top: 2px solid #9bb6ca;
    border-right: 2px solid #9bb6ca;
    transform: translateY(-50%) rotate(45deg);
    background: transparent;
  }
}

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

.project-grid article {
  overflow: hidden;
  text-align: center;
}

.project-grid h3 {
  padding: 12px 12px 4px;
  font-size: 0.96rem;
}

.project-grid p {
  padding: 0 14px 16px;
  font-size: 0.86rem;
}

.project-media {
  height: 92px;
  background: linear-gradient(135deg, #eef4f9, #fff);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.project-media::before,
.project-media::after {
  content: "";
  position: absolute;
}

.phone-preview::before {
  width: 34px;
  height: 62px;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  border: 3px solid var(--blue);
  border-radius: 8px;
  background: linear-gradient(#fff 0 20%, #dbeaf5 20% 28%, #fff 28%);
}

.document-preview::before,
.excel-preview::before {
  inset: 18px 22px;
  border: 2px solid #bdd3e4;
  border-radius: 5px;
  background: repeating-linear-gradient(180deg, #fff 0 12px, #e7f0f7 12px 14px);
}

.local-ai-preview::before {
  width: 88px;
  height: 54px;
  left: 50%;
  top: 19px;
  transform: translateX(-50%);
  border: 3px solid var(--blue);
  border-radius: 7px;
  background:
    radial-gradient(circle at 18px 16px, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 18px 38px, #fff 0 4px, transparent 5px),
    linear-gradient(180deg, #0b335c 0 48%, #0f6ea7 48% 52%, #0b335c 52% 100%);
}

.local-ai-preview::after {
  width: 34px;
  height: 34px;
  left: 50%;
  top: 28px;
  transform: translateX(-16%);
  border: 2px solid #fff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 30% 35%, #86c5e4 0 3px, transparent 4px),
    radial-gradient(circle at 70% 35%, #86c5e4 0 3px, transparent 4px),
    radial-gradient(circle at 35% 70%, #86c5e4 0 3px, transparent 4px),
    radial-gradient(circle at 68% 70%, #86c5e4 0 3px, transparent 4px);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.dashboard-preview::before,
.analytics-preview::before {
  inset: 16px 20px;
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 16%, rgba(255,255,255,.16) 16% 18%, transparent 18%),
    linear-gradient(135deg, #071b31, #0b5f8a);
}

.dashboard-preview::after,
.analytics-preview::after {
  left: 38px;
  right: 38px;
  bottom: 24px;
  height: 34px;
  background: linear-gradient(90deg, #4cc6e3 12%, transparent 12% 24%, #75d37c 24% 38%, transparent 38% 50%, #2f8fd6 50% 68%, transparent 68% 78%, #ffc85a 78%);
  clip-path: polygon(0 90%, 10% 65%, 20% 78%, 34% 42%, 48% 56%, 62% 18%, 80% 38%, 100% 8%, 100% 100%, 0 100%);
}

.edge-preview::before {
  width: 86px;
  height: 48px;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  border: 3px solid #91aabe;
  border-radius: 6px;
  background: linear-gradient(90deg, #d9e4ec, #fff);
}

.edge-preview::after {
  width: 44px;
  height: 16px;
  left: 50%;
  top: 38px;
  transform: translateX(-50%);
  background: var(--blue);
  box-shadow: -28px 0 0 #22364a, 28px 0 0 #22364a;
}

.process {
  padding: 14px 0 22px;
  border-top: 1px solid #eef2f6;
}

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

.process-row article {
  min-height: 86px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 12px;
  align-content: center;
  padding: 16px 18px;
}

.process-row span {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 850;
}

.about {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 32px;
  align-items: center;
  padding: 0 0 24px;
}

.about-image {
  height: 230px;
  overflow: hidden;
  border-radius: var(--radius);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: saturate(0.95);
}

.about-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

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

.values span {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: #314156;
  font-size: 0.86rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
  padding: 30px clamp(22px, 5.5vw, 74px);
  color: #fff;
  background: var(--navy);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.7rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-mail {
  font-weight: 750;
}

.legal-page {
  width: min(980px, calc(100% - 44px));
  margin: 0 auto;
  padding: 44px 0 56px;
}

.legal-hero {
  margin-bottom: 24px;
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.legal-content {
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--blue);
  font-weight: 750;
}

.legal-updated {
  margin-top: 28px;
  font-size: 0.92rem;
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-block;
  position: relative;
  color: var(--blue);
}

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

.icon-search::before {
  width: 26px;
  height: 26px;
  left: 3px;
  top: 4px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  background:
    radial-gradient(circle at 9px 9px, currentColor 0 2px, transparent 2.5px),
    radial-gradient(circle at 17px 13px, currentColor 0 2px, transparent 2.5px),
    radial-gradient(circle at 12px 19px, currentColor 0 2px, transparent 2.5px);
}

.icon-search::after {
  width: 17px;
  height: 3px;
  right: 4px;
  bottom: 8px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

.icon-light::before {
  width: 30px;
  height: 28px;
  left: 6px;
  top: 6px;
  border: 2.5px solid currentColor;
  border-radius: 5px;
  background:
    linear-gradient(currentColor, currentColor) 8px 9px / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 16px / 18px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 23px / 10px 2px no-repeat;
}

.icon-light::after {
  width: 12px;
  height: 12px;
  right: 3px;
  top: 2px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
}

.icon-rocket::before {
  width: 28px;
  height: 28px;
  left: 8px;
  top: 8px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) 8px 14px / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 14px 8px / 2px 12px no-repeat;
}

.icon-rocket::after {
  width: 20px;
  height: 9px;
  left: 12px;
  bottom: 1px;
  border: 2.5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.icon-web::before {
  inset: 7px 4px 8px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.icon-web::after {
  left: 7px;
  right: 7px;
  top: 16px;
  height: 3px;
  background: currentColor;
}

.icon-bars::before {
  left: 7px;
  right: 7px;
  bottom: 8px;
  height: 3px;
  background: currentColor;
}

.icon-bars::after {
  left: 12px;
  bottom: 11px;
  width: 5px;
  height: 15px;
  background: currentColor;
  box-shadow: 10px -8px 0 currentColor, 20px -18px 0 currentColor;
}

.icon-phone::before {
  left: 13px;
  top: 4px;
  width: 18px;
  height: 34px;
  border: 3px solid currentColor;
  border-radius: 6px;
}

.icon-brain::before {
  left: 8px;
  top: 9px;
  width: 28px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 16px;
}

.icon-brain::after {
  left: 21px;
  top: 9px;
  width: 3px;
  height: 24px;
  background: currentColor;
}

.icon-plug::before {
  left: 10px;
  top: 6px;
  width: 24px;
  height: 22px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.icon-plug::after {
  left: 16px;
  top: 4px;
  width: 3px;
  height: 12px;
  background: currentColor;
  box-shadow: 10px 0 0 currentColor, 5px 26px 0 currentColor;
}

.icon-gear::before,
.icon-target::before,
.icon-stack::before,
.icon-people::before {
  inset: 6px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.icon-target::after {
  inset: 16px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.icon-stack::before {
  border-radius: 4px;
  transform: rotate(45deg);
}

.icon-stack::after {
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 -7px 0 currentColor;
}

.icon-people::before {
  width: 11px;
  height: 11px;
  left: 8px;
  top: 9px;
  box-shadow: 16px 0 0 -3px #fff, 16px 0 0 0 currentColor;
}

.icon-people::after {
  left: 6px;
  right: 6px;
  bottom: 8px;
  height: 13px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

@media (max-width: 1120px) {
  .service-grid,
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 780px) {
  h1,
  h2,
  h3,
  p,
  a,
  li {
    max-width: 100%;
  }

  .site-header {
    position: relative;
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
    padding: 10px 14px 11px;
  }

  .brand {
    width: 158px;
    grid-column: 1;
    grid-row: 1;
  }

  .menu-toggle {
    position: absolute;
    top: 18px;
    right: 14px;
    z-index: 7;
    width: 76px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #dce6ef;
    border-radius: var(--radius);
    background: #f7fafc;
    box-shadow: 0 8px 18px rgba(6, 27, 51, 0.12);
  }

  .menu-toggle img {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 2px;
  }

  .is-menu-open .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 10px 12px;
    border: 1px solid #dce6ef;
    border-radius: 999px;
    background: #f7fafc;
    font-size: 0.86rem;
    text-align: center;
  }

  .header-button {
    grid-column: 1 / -1;
    grid-row: 3;
    display: none;
    width: 100%;
    min-height: 34px;
    padding: 8px 11px;
    font-size: 0.82rem;
  }

  .is-menu-open .header-button {
    display: inline-flex;
  }

  .three-steps article p {
    grid-column: 2;
  }

  .step-icon {
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: 0;
  }

  .hero-image {
    object-position: 66% center;
    opacity: 0.38;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 19, 37, 0.98), rgba(3, 19, 37, 0.86)),
      linear-gradient(180deg, rgba(3, 19, 37, 0.14), rgba(3, 19, 37, 0.62));
  }

  .hero-inner {
    width: min(360px, calc(100% - 28px));
    max-width: 360px;
    margin-left: 14px;
    margin-right: 14px;
    padding: 22px 0 24px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 1.52rem;
    line-height: 1.12;
  }

  .hero p {
    max-width: 340px;
    margin-top: 10px;
    font-size: 0.84rem;
  }

  .hero-tags {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }

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

  .three-steps,
  .service-grid,
  .package-grid,
  .project-grid,
  .process-row,
  .about,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .three-steps article {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }

  .three-steps article p {
    grid-column: auto;
  }

  .about-image {
    height: 190px;
  }

  .section-heading.centered {
    max-width: 100%;
    text-align: left;
  }

  .section-heading h2,
  .process h2,
  .about-copy h2 {
    font-size: 1.35rem;
  }

  .section-heading p {
    font-size: 0.95rem;
  }

  .project-media {
    height: 118px;
  }

  .intro-strip,
  .section,
  .process,
  .about {
    width: min(340px, calc(100% - 36px));
    max-width: 340px;
    margin-left: 18px;
    margin-right: 18px;
  }

  .site-footer {
    gap: 16px;
    align-items: start;
  }
}

@media (max-width: 520px) {
  .hero-inner,
  .intro-strip,
  .section,
  .process,
  .about {
    width: min(100% - 28px, 1240px);
  }

  .hero h1 {
    max-width: 100%;
    font-size: 1.45rem;
  }

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

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

  .header-button {
    justify-self: end;
  }

  .button {
    min-height: 40px;
    padding: 10px 14px;
  }

  .section-heading.centered {
    text-align: left;
  }

  .section-heading h2,
  .process h2,
  .about-copy h2 {
    font-size: 1.55rem;
  }

  .three-steps article,
  .service-grid article,
  .package-grid article,
  .process-row article {
    min-height: auto;
  }

  .three-steps article {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 18px;
  }

  .three-steps article p {
    grid-column: auto;
  }

  .step-icon {
    width: 44px;
    height: 44px;
    justify-self: start;
  }

  .service-grid article,
  .package-grid article {
    padding: 18px;
  }

  .project-grid article {
    text-align: left;
  }

  .project-grid h3 {
    padding: 12px 14px 4px;
  }

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

  .values span {
    justify-items: start;
    grid-template-columns: 38px 1fr;
    align-items: center;
    text-align: left;
  }

  .values .icon {
    width: 34px;
    height: 34px;
  }

  .site-footer {
    padding: 24px 18px;
  }
}
