:root {
  --ink: #0c1421;
  --muted: #5e6a7a;
  --line: #dce5ec;
  --paper: #f4f8fa;
  --white: #ffffff;
  --blue: #248fa0;
  --teal: #2aafc0;
  --green: #7ac59d;
  --navy: #102633;
  --shadow: 0 24px 70px rgba(16, 38, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

img,
video {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: 6px;
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 82px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 236, 0.9);
  box-shadow: 0 12px 40px rgba(16, 38, 51, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 190px;
  min-height: 44px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus {
  background: rgba(42, 175, 192, 0.12);
  color: var(--teal);
}

.support-link {
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  touch-action: manipulation;
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(42, 175, 192, 0.16);
}

.hero {
  position: relative;
  min-height: 720px;
  padding: 118px clamp(20px, 5vw, 72px) 42px;
  color: var(--white);
  overflow: hidden;
}

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

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 17, 25, 0.94), rgba(8, 51, 59, 0.84) 48%, rgba(12, 20, 33, 0.38)),
    linear-gradient(180deg, rgba(4, 17, 25, 0.12), rgba(4, 17, 25, 0.58));
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 28px clamp(30px, 5vw, 64px);
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-content {
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

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

.hero h1 {
  width: 100%;
  max-width: 780px;
  margin: 0;
  font-size: 54px;
  line-height: 1.04;
  font-weight: 800;
  overflow-wrap: break-word;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.hero-value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 660px;
  margin-top: 24px;
}

.hero-value-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-value-list i {
  color: var(--green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 100%;
  margin-top: 26px;
}

.button,
.contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  touch-action: manipulation;
  white-space: normal;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

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

.hero-insight {
  position: relative;
  align-self: stretch;
  min-height: 330px;
  padding: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(4, 17, 25, 0.24);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hero-insight::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
}

.hero-insight-header {
  display: flex;
  gap: 14px;
  align-items: center;
}

.hero-live {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(122, 197, 157, 0.16);
}

.hero-insight-label,
.hero-insight-metrics span,
.hero-next-step span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-insight-header strong {
  display: block;
  color: var(--white);
  font-size: 24px;
  line-height: 1.12;
}

.hero-insight-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-insight-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.22;
}

.hero-pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hero-pipeline span {
  min-width: 0;
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  border-top: 3px solid rgba(42, 175, 192, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.hero-next-step {
  margin-top: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.hero-next-step strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.28;
}

.hero-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: 100%;
  max-width: 100%;
  margin-top: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-panel span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
}

.section {
  padding: 96px clamp(20px, 5vw, 72px);
  scroll-margin-top: 88px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1.3fr);
  gap: 42px;
  max-width: 1180px;
  margin: 0 auto 48px;
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
  overflow-wrap: break-word;
}

.intro-grid,
.services-grid,
.method-grid,
.contact-card {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.intro-copy {
  padding-right: 4vw;
}

.intro-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}

.signal-list {
  display: grid;
  gap: 14px;
}

.signal-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16, 38, 51, 0.06);
}

.signal-item i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
}

.services-section {
  background: var(--white);
}

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

.service-card,
.method-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-card i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
}

.service-card h3,
.method-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.2;
}

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

.ai-section {
  background: #edf5f1;
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.4fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.ai-lead {
  padding: 34px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ai-lead > i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  color: var(--navy);
  background: var(--green);
  border-radius: 8px;
  font-size: 24px;
}

.ai-lead h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
}

.ai-lead p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.ai-steps {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ai-steps span {
  display: block;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

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

.ai-case {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ai-case i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

.ai-case h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.ai-case p {
  margin: 0;
  color: var(--muted);
}

.method-section {
  background: linear-gradient(180deg, var(--paper), #e8f1f4);
}

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

.method-card {
  min-height: 240px;
  background: var(--white);
}

.method-card span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--navy);
  color: var(--white);
}

.proof-band div {
  min-height: 170px;
  padding: 34px clamp(20px, 4vw, 46px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-band strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.proof-band span {
  display: block;
  max-width: 240px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(12, 20, 33, 0.92), rgba(16, 38, 51, 0.74)),
    url("../img/bg3.jpg") center/cover;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.contact-card h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  overflow-wrap: break-word;
}

.contact-card p:not(.eyebrow) {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-item {
  justify-content: flex-start;
  width: 100%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow-wrap: anywhere;
  text-align: left;
}

.contact-item i {
  color: var(--green);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #071016;
}

.site-footer img {
  width: 156px;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-video {
    display: none;
  }
}

@media (min-width: 1440px) {
  .hero h1 {
    font-size: 66px;
  }

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

@media (min-width: 1920px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-left: max(72px, calc((100vw - 1680px) / 2));
    padding-right: max(72px, calc((100vw - 1680px) / 2));
  }
}

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

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
    min-height: 48px;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 52px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

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

  .hero h1 {
    font-size: 48px;
  }

  .hero-insight {
    min-height: auto;
    padding: 22px;
  }

  .hero-insight-header strong {
    font-size: 22px;
  }

  .hero-insight-metrics {
    margin-top: 20px;
    padding: 18px 0 0;
    border-bottom: 0;
  }

  .hero-pipeline,
  .hero-next-step {
    display: none;
  }

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

  .services-grid,
  .ai-cases-grid,
  .method-grid,
  .proof-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading h2,
  .contact-card h2 {
    font-size: 44px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .brand {
    width: 150px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .hero-shell {
    gap: 24px;
  }

  .hero-content,
  .hero h1,
  .hero-copy,
  .hero-actions,
  .section-heading,
  .intro-grid,
  .contact-card {
    max-width: 100%;
    min-width: 0;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

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

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

  .hero-value-list span {
    width: 100%;
  }

  .hero-panel,
  .hero-insight,
  .services-grid,
  .ai-cases-grid,
  .method-grid,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .hero-insight {
    display: none;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-heading h2,
  .contact-card h2 {
    font-size: 30px;
  }

  .service-card,
  .ai-case,
  .method-card {
    min-height: auto;
  }

  .ai-lead {
    padding: 28px;
  }

  .ai-lead h3 {
    font-size: 26px;
  }

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

@media (max-width: 420px) {
  .site-header,
  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand {
    width: 136px;
  }

  .hero h1 {
    font-size: 28px;
  }

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

  .button,
  .contact-item {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 15px;
  }

  .section-heading h2,
  .contact-card h2 {
    font-size: 24px;
  }

  .service-card,
  .ai-case,
  .method-card,
  .ai-lead {
    padding: 22px;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled,
  .site-header.menu-open,
  .site-nav,
  .hero-panel div {
    background: var(--white);
  }

  .hero-value-list span,
  .hero-insight,
  .contact-card {
    background: rgba(16, 38, 51, 0.92);
  }
}
