:root {
  --ink: #070721;
  --text: #252539;
  --muted: #5d6071;
  --line: #e1e2e8;
  --paper: #f6f6f8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

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

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 3.3vw, 3.15rem);
  font-weight: 700;
}

h3 {
  font-size: 1.17rem;
  font-weight: 700;
}

p {
  font-size: 1rem;
}

a {
  color: inherit;
}

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

.container {
  width: min(100% - 48px, 1160px);
  margin-inline: auto;
}

.eyebrow {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.button:hover {
  color: var(--ink);
  background: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 4px 18px #0707210a;
}

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

.logo {
  display: block;
  width: 145px;
  height: auto;
}

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

.site-header nav a {
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav a:hover, .quiet-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-header .nav-contact {
  color: var(--ink);
}

.hero {
  padding: 92px 0 100px;
  color: var(--white);
  background:
    radial-gradient(circle at 79% 22%, #4463aa55, transparent 34%),
    linear-gradient(120deg, #070721 0%, #101a38 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 8%;
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
  color: #b8c9f0;
}

.hero h1 {
  max-width: 670px;
  margin-bottom: 24px;
  color: var(--white);
}

.lead {
  max-width: 580px;
  color: #d6dceb;
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}

.hero .button {
  border-color: #dce6ff;
  color: var(--ink);
  background: #dce6ff;
}

.hero .button:hover {
  border-color: var(--white);
  background: var(--white);
}

.hero .quiet-link {
  color: var(--white);
}

.quiet-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.platform-diagram {
  padding: 30px;
  border: 1px solid #ffffff36;
  border-radius: 10px;
  background: #ffffff0b;
}

.diagram-label {
  margin-bottom: 22px;
  color: #c3cde3;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.diagram-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 14px;
  padding: 19px;
  border: 1px solid #ffffff2e;
  border-radius: 6px;
  background: #ffffff0c;
}

.diagram-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
}

.diagram-row p {
  margin: 0;
  color: #d2d9e8;
  font-size: .83rem;
}

.diagram-number {
  color: #b8c9f0;
  font-size: .8rem;
  font-weight: 700;
}

.diagram-core {
  border-color: #a9bdeb;
  background: #ffffff18;
}

.diagram-connector {
  height: 21px;
  margin-left: 35px;
  border-left: 1px solid #a9bdeb;
}

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.benefits {
  background: var(--paper);
}

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

.benefit-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.item-number {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.benefit-grid h3 {
  margin: 30px 0 10px;
}

.benefit-grid p, .service-list p, .service-intro > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .94rem;
}

.service-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 10%;
}

.service-intro h2 {
  margin: 12px 0 20px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.service-list h3 {
  margin-bottom: 7px;
}

.technology {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.technology .section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.technology-grid article {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.technology-grid h3 {
  margin: 24px 0 9px;
}

.technology-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .91rem;
}

.platform-architecture {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.platform-architecture h3 {
  margin-bottom: 8px;
  color: var(--ink);
}

.platform-architecture > p {
  max-width: 850px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: .93rem;
}

.architecture-flow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.architecture-flow-end, .architecture-flow-core {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  text-align: center;
}

.architecture-flow-end {
  flex: 1;
  background: var(--paper);
  font-size: .88rem;
  font-weight: 700;
}

.architecture-flow-core {
  flex: 2;
  border-color: var(--ink);
}

.architecture-flow-core strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
}

.architecture-flow-core small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
}

.architecture-flow-arrow {
  color: var(--muted);
  font-size: 1.3rem;
}

.delivery-details {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.delivery-details h3 {
  margin: 0;
  padding: 20px 22px 12px;
  color: var(--ink);
  font-size: 1.08rem;
}

.delivery-details-content {
  padding: 0 22px 6px;
}

.delivery-details-content p {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: .9rem;
}

.delivery-details-content strong {
  color: var(--ink);
}

.ai-automation {
  border-top: 1px solid var(--line);
}

.ai-automation .section-heading p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

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

.ai-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.ai-grid h3 {
  margin: 28px 0 10px;
}

.ai-grid p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.ai-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.contact {
  padding: 76px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}

.contact-grid {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.contact .eyebrow, .contact p {
  color: var(--muted);
}

.contact h2 {
  max-width: 700px;
  margin: 12px 0 14px;
  color: var(--ink);
}

.contact p:last-child {
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: none;
}

.button-light {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.button-light:hover {
  color: var(--ink);
  background: var(--white);
}

.contact-actions > a:last-child {
  font-size: .85rem;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 26px 0;
  border-top: 1px solid #ffffff29;
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner img {
  width: 125px;
  height: auto;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-inner a {
  font-size: .82rem;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 850px) {
  .site-header nav {
    gap: 12px;
  }

  .site-header nav a {
    font-size: .82rem;
  }

  .hero-grid, .service-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero {
    padding: 70px 0;
  }

  .platform-diagram {
    max-width: 620px;
  }

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

  .contact-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .site-header nav a:not(.nav-contact) {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 36px, 1160px);
  }

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

  .logo {
    width: 128px;
  }

  .hero {
    padding: 54px 0 65px;
  }

  .lead {
    font-size: 1.06rem;
  }

  .section {
    padding: 68px 0;
  }

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

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

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

  .benefit-grid h3 {
    margin-top: 18px;
  }

  .platform-diagram {
    padding: 18px;
  }

  .platform-architecture {
    padding: 18px;
  }

  .architecture-flow {
    flex-direction: column;
    gap: 6px;
  }

  .architecture-flow-end, .architecture-flow-core {
    width: 100%;
  }

  .architecture-flow-arrow {
    line-height: 1;
    transform: rotate(90deg);
  }

  .contact {
    padding: 65px 0;
  }

  .footer-inner, .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
