:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #5b6472;
  --line: #dfe5ee;
  --accent: #155eef;
  --accent-dark: #0f3fa8;
  --soft: #eaf1ff;
  --shadow: 0 24px 70px rgba(23, 37, 84, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 248, 251, 0.9);
  border-bottom: 1px solid rgba(223, 229, 238, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  font-size: 14px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover {
  color: var(--accent);
}

.hero,
.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 77px);
  padding: clamp(64px, 10vw, 128px) 0 72px;
}

.hero-content {
  max-width: 760px;
}

.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .section-label {
  text-transform: none;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: var(--surface);
  box-shadow: 0 14px 34px rgba(21, 94, 239, 0.28);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--soft), #ffffff);
}

.metric {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 27px;
  font-weight: 820;
  line-height: 1;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.split,
.product,
.contact {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(28px, 5vw, 72px);
}

.content,
.product p,
.contact-link {
  color: var(--muted);
  font-size: 19px;
}

.compact-title {
  max-width: 420px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.service-grid article,
.tech-columns div {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 820;
}

.service-grid p,
.tech-columns p,
.details-list dd {
  color: var(--muted);
}

.technology {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1160px) / 2));
  padding-left: max(20px, calc((100vw - 1160px) / 2));
  background: var(--ink);
  color: var(--surface);
}

.technology .section-label,
.technology p {
  color: #b8ccff;
}

.technology .tech-columns div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.product {
  align-items: center;
}

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

.details-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.details-list dt {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.details-list dd {
  margin: 0;
}

.contact {
  align-items: center;
  padding-bottom: 104px;
}

.contact-link {
  color: var(--accent);
  font-weight: 780;
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .product,
  .contact,
  .service-grid,
  .tech-columns,
  .details-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero,
  .section {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: 38px;
  }

  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
