:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #5a6673;
  --line: #dce4ec;
  --panel: #ffffff;
  --panel-soft: #f5f8fb;
  --blue: #1676f3;
  --blue-deep: #0b4db3;
  --cyan: #26b7d9;
  --green: #18a977;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.13);
  --radius: 8px;
  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;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #f4f7fa 100%),
    #ffffff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 228, 236, 0.82);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 184px;
}

.brand img {
  display: block;
  width: clamp(164px, 20vw, 236px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: #314151;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
  border-bottom-color: var(--blue);
  outline: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  width: min(1180px, calc(100% - 40px));
  min-height: min(680px, calc(100vh - 230px));
  margin: 0 auto;
  padding: clamp(30px, 5vh, 54px) 0 clamp(24px, 4vh, 42px);
}

.hero-copy {
  max-width: 610px;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.15vw, 5.35rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1;
}

.button.primary {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 10px 26px rgba(16, 24, 32, 0.18);
}

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

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

.product-preview {
  border: 1px solid rgba(19, 31, 43, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: #111922;
  box-shadow: var(--shadow);
}

.preview-topbar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d2dbe4;
}

.preview-topbar span:nth-child(2) {
  background: var(--cyan);
}

.preview-topbar span:nth-child(3) {
  background: var(--blue);
}

.preview-shell {
  display: grid;
  grid-template-columns: 66px 1fr;
  min-height: 455px;
}

.preview-rail {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px 18px;
  background: #0c1219;
}

.preview-rail div {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.preview-rail div:first-child {
  background: var(--blue);
  border-color: var(--blue);
}

.preview-main {
  padding: clamp(20px, 3vw, 32px);
  background:
    linear-gradient(135deg, rgba(22, 118, 243, 0.16), transparent 36%),
    #f8fbfd;
}

.preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.preview-heading strong,
.preview-heading small,
.signal-panel strong,
.signal-panel small,
.queue-panel small {
  display: block;
}

.preview-heading strong {
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.preview-heading small,
.flow-card small,
.signal-panel small,
.queue-panel small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #0f6b4f;
  font-size: 0.78rem;
  font-weight: 780;
}

.status-dot::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--green);
}

.flow-map {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  margin-bottom: 22px;
}

.flow-card {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.flow-card.active {
  border-color: rgba(22, 118, 243, 0.48);
  box-shadow: 0 15px 34px rgba(22, 118, 243, 0.13);
}

.flow-card span {
  display: block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 820;
}

.flow-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.flow-line {
  height: 1px;
  background: var(--line);
}

.preview-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 16px;
}

.signal-panel,
.queue-panel {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.signal-panel strong {
  margin: 7px 0 14px;
  font-size: 0.95rem;
}

.signal-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 8px;
  height: 62px;
}

.signal-bars span {
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.queue-panel ul {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: #314151;
  font-size: 0.86rem;
  font-weight: 630;
}

.queue-panel li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.queue-panel li span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--blue);
}

.services,
.process,
.contact {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 110px) 0;
}

.services {
  padding-top: clamp(42px, 6vw, 70px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 8vw, 100px);
  align-items: end;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 740px;
  display: block;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-heading.compact p {
  margin-top: 18px;
}

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

.service-grid article {
  min-height: 278px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.service-grid svg {
  width: 32px;
  height: 32px;
  margin-bottom: 38px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.service-grid p,
.process-list p,
.contact p,
footer span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.process-list li {
  min-height: 228px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  display: block;
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 820;
}

.process-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.process-list p {
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  align-items: center;
  gap: 32px;
}

.contact h2 {
  margin-bottom: 18px;
}

.contact p {
  max-width: 680px;
  margin-bottom: 0;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 16px 38px rgba(22, 118, 243, 0.25);
  font-weight: 780;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}

footer img {
  width: 158px;
  height: auto;
}

footer span {
  text-align: right;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-preview {
    max-width: 720px;
  }

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

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

  .service-grid article {
    min-height: auto;
  }

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

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    align-items: flex-start;
    gap: 10px;
    padding-top: 14px;
  }

  .brand {
    min-width: 126px;
  }

  .brand img {
    width: 124px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.82rem;
  }

  .hero,
  .services,
  .process,
  .contact,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .hero-copy p {
    font-size: 1.04rem;
  }

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

  .preview-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .preview-rail {
    display: none;
  }

  .preview-heading,
  .flow-map,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .flow-line {
    width: 1px;
    height: 18px;
    margin-left: 22px;
  }

  .flow-card {
    min-height: 110px;
  }

  .section-heading {
    gap: 18px;
  }

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

  .process-list li,
  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

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

  footer span {
    text-align: left;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .contact-link {
    transition:
      transform 180ms ease,
      box-shadow 180ms ease,
      border-color 180ms ease,
      color 180ms ease;
  }
}
