:root {
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --navy: #061829;
  --navy-2: #0b2438;
  --text: #0e2233;
  --muted: #5e7080;
  --line: #dbe6ee;
  --blue: #1267ff;
  --blue-dark: #074bd3;
  --cyan: #44c8ff;
  --green: #2fd37c;
  --green-soft: #dbf9e9;
  --shadow: 0 18px 50px rgba(6, 24, 41, 0.12);
  --radius: 8px;
  --max: 1180px;
  --content-max: calc(var(--max) - 48px);
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  margin: 0;
  padding: 0 max(24px, calc((100vw - var(--content-max)) / 2));
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 230, 238, 0);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(219, 230, 238, 0.9);
  box-shadow: 0 8px 24px rgba(6, 24, 41, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 45px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  font-size: 1.42rem;
  line-height: 1;
  font-weight: 800;
  color: var(--navy);
}

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

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #30495c;
  font-size: 0.94rem;
  font-weight: 650;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
  background: var(--bg-soft);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 23px;
  height: 23px;
}

.nav-toggle path,
.button path,
.service-icon path,
.system-card path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px;
}

.section-light {
  max-width: none;
  background: var(--bg-soft);
}

.section-light > * {
  width: min(100%, var(--content-max));
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.section-navy {
  max-width: none;
  color: #edf8ff;
  background:
    linear-gradient(115deg, rgba(18, 103, 255, 0.16), transparent 32%),
    linear-gradient(180deg, var(--navy), #082136);
}

.section-navy > * {
  width: min(100%, var(--content-max));
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.hero {
  min-height: calc(82vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 48px;
  padding-top: 46px;
  padding-bottom: 54px;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.8rem, 5.25vw, 4.8rem);
  line-height: 0.98;
  font-weight: 820;
}

.hero-copy p {
  max-width: 630px;
  margin: 26px 0 0;
  color: #41586a;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.55;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(18, 103, 255, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
  box-shadow: 0 18px 42px rgba(18, 103, 255, 0.29);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #bdd0df;
  box-shadow: 0 12px 28px rgba(6, 24, 41, 0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-left: 2px solid var(--green);
  padding: 0 13px;
  color: #3c5264;
  background: #f7fbfd;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-width: 0;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% -4% -4% 12%;
  z-index: -1;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 25%, rgba(68, 200, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(18, 103, 255, 0.14), rgba(47, 211, 124, 0.1));
  filter: blur(2px);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.system-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(219, 230, 238, 0.92);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(6, 24, 41, 0.13);
  font-size: 0.88rem;
  font-weight: 760;
}

.system-card svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.system-card-network {
  left: -18px;
  bottom: 10%;
}

.system-card-ai {
  right: 22px;
  top: -18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.audience-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.05rem, 4vw, 3.85rem);
  line-height: 1.02;
  font-weight: 815;
}

.section-heading p,
.audience-copy p,
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.section-heading-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 730px) auto;
  align-items: end;
  gap: 32px;
}

.text-link {
  display: inline-flex;
  justify-self: end;
  min-height: 42px;
  align-items: center;
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid rgba(18, 103, 255, 0.24);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--blue-dark);
  outline: none;
  border-color: currentColor;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.problem-grid article {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: #fff;
}

.problem-grid strong {
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.2;
}

.problem-grid span {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

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

.service-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 103, 255, 0.35);
  box-shadow: 0 18px 42px rgba(6, 24, 41, 0.09);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--blue);
  background: #eef5ff;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin: 20px 0 0;
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1.14;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 24px 0 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 16px;
  color: #344b5e;
  font-size: 0.92rem;
  font-weight: 650;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.section-navy .section-heading h2,
.section-navy .contact-copy h2 {
  color: #fff;
}

.section-navy .section-heading p,
.section-navy .contact-copy p {
  color: #b9cad8;
}

.method-list {
  width: min(100%, 1060px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(185, 202, 216, 0.24);
  border-radius: 8px;
  background: rgba(185, 202, 216, 0.24);
  list-style: none;
  overflow: hidden;
}

.method-list li {
  min-height: 255px;
  display: grid;
  grid-template-rows: 24px auto;
  align-items: start;
  align-content: start;
  gap: 42px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.045);
}

.method-list span {
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 850;
}

.method-list h3 {
  margin: 0;
  color: #fff;
  font-size: 1.34rem;
}

.method-list p {
  margin: 12px 0 0;
  color: #bfd0dd;
  line-height: 1.58;
}

.audience {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 56px;
  align-items: center;
}

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

.audience-list span {
  min-height: 74px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--navy);
  background: #fff;
  font-weight: 780;
  box-shadow: 0 12px 24px rgba(6, 24, 41, 0.04);
}

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

.case-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
}

.case-card:nth-child(2) {
  border-top-color: var(--blue);
}

.case-card:nth-child(3) {
  border-top-color: var(--cyan);
}

.case-meta {
  width: fit-content;
  color: var(--blue-dark);
  background: #eef5ff;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 840;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 22px 0 0;
  color: var(--navy);
  font-size: 1.38rem;
  line-height: 1.2;
}

.case-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.case-card dl {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
}

.case-card dl div {
  border-top: 1px solid var(--line);
  padding-top: 13px;
}

.case-card dt {
  color: #64788a;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 760;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(540px, 1.28fr);
  gap: 52px;
  align-items: start;
  padding-left: max(24px, calc((100vw - var(--content-max)) / 2));
  padding-right: max(24px, calc((100vw - var(--content-max)) / 2));
}

.contact > * {
  width: auto;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(185, 202, 216, 0.24);
  border-radius: 8px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.055);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #e8f5ff;
  font-size: 0.9rem;
  font-weight: 780;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(185, 202, 216, 0.28);
  border-radius: 8px;
  padding: 0 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  outline: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a9b9;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(68, 200, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(68, 200, 255, 0.13);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.site-footer {
  max-width: var(--max);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 0 24px;
  color: #5b6e7f;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--blue);
  font-weight: 760;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy h1,
  .hero-copy p {
    max-width: 820px;
  }

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

  .service-card {
    min-height: 310px;
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--header-height) + 8px);
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(6, 24, 41, 0.18);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 160ms ease,
      transform 160ms ease,
      visibility 160ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

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

  .section-band {
    padding: 70px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 56px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 11vw, 4.3rem);
  }

  .hero-visual img {
    min-height: 285px;
  }

  .system-card-network {
    left: 10px;
    bottom: 12px;
  }

  .system-card-ai {
    right: 10px;
    top: 12px;
  }

  .section-heading-split,
  .audience,
  .contact {
    grid-template-columns: 1fr;
  }

  .text-link {
    justify-self: start;
  }

  .problem-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid article,
  .case-card {
    min-height: auto;
  }

  .audience-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

@media (max-width: 620px) {
  .brand-name {
    font-size: 1.28rem;
  }

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

  .button {
    min-height: 50px;
  }

  .hero-proof span {
    flex: 1 1 calc(50% - 10px);
  }

  .service-grid,
  .method-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .method-list li {
    min-height: auto;
  }

  .contact-form {
    padding: 18px;
  }
}

@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;
  }
}
