:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dde6;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --accent: #0071e3;
  --accent-strong: #004fc4;
  --aqua: #41b8ff;
  --green: #17a673;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
  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(--ink);
  background: var(--surface);
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(216, 221, 230, 0.78);
  backdrop-filter: blur(18px);
}

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

.brand img,
.site-footer img {
  display: block;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-button {
  min-width: 42px;
  min-height: 34px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.language-button.is-active {
  color: white;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 76px) clamp(34px, 5vw, 64px);
  background:
    linear-gradient(120deg, rgba(65, 184, 255, 0.12), rgba(23, 166, 115, 0.09) 42%, rgba(255, 255, 255, 0) 70%),
    var(--surface);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(2.9rem, 6.2vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.56;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
}

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

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

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

.hero-visual {
  display: flex;
  justify-content: center;
}

.device-stage {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1.05;
  border-radius: 8px;
}

.desktop-window {
  position: absolute;
  inset: 8% 2% 20% 0;
  padding: 28px;
  background: #101827;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.desktop-window > span {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 7px;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.45;
}

.window-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  height: calc(100% - 42px);
  margin-top: 24px;
}

.window-grid i {
  display: block;
  min-height: 72px;
  background: linear-gradient(135deg, rgba(65, 184, 255, 0.9), rgba(23, 166, 115, 0.85));
  border-radius: 8px;
}

.window-grid i:nth-child(2),
.window-grid i:nth-child(3) {
  background: rgba(255, 255, 255, 0.12);
}

.phone-window {
  position: absolute;
  right: 0;
  bottom: 12%;
  width: 30%;
  min-width: 132px;
  aspect-ratio: 0.52;
  padding: 10px;
  background: #fdfdfd;
  border: 8px solid #111827;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.2);
}

.phone-window div {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #f4f7fb, #41b8ff 48%, #17a673);
  border-radius: 18px;
}

.system-row {
  position: absolute;
  left: 5%;
  right: 22%;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.system-row span {
  min-height: 42px;
  padding: 12px 8px;
  color: #324052;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.platform-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.platform-strip div {
  min-height: 148px;
  padding: 28px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.platform-strip div:last-child {
  border-right: 0;
}

.platform-strip strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.platform-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: clamp(68px, 10vw, 132px) clamp(20px, 5vw, 76px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.section-heading h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.section-lead {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.68;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card {
  min-height: 440px;
  padding: clamp(28px, 4vw, 44px);
  background: white;
}

.service-card.dark {
  color: white;
  background: #111827;
}

.service-card span,
.process-grid span {
  display: inline-flex;
  margin-bottom: 84px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 850;
}

.service-card.dark span,
.service-card.dark p {
  color: rgba(255, 255, 255, 0.74);
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.08;
}

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

.process-section {
  background: var(--surface-alt);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.process-grid div {
  min-height: 280px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-grid span {
  margin-bottom: 52px;
}

.process-grid h3 {
  margin: 0;
  font-size: 1.45rem;
}

.process-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.78fr);
  gap: clamp(36px, 7vw, 96px);
  padding: clamp(70px, 10vw, 136px) clamp(20px, 5vw, 76px);
  color: white;
  background: #0d1422;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1;
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.16rem;
  line-height: 1.65;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 38px;
  color: white;
  font-weight: 750;
}

.contact-details a:hover {
  color: var(--aqua);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: white;
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.consent {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  line-height: 1.5;
}

.consent input {
  min-height: 20px;
  margin: 3px 0 0;
  padding: 0;
}

.form-button {
  margin-top: 6px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 76px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  text-align: right;
}

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

@media (max-width: 1080px) {
  .hero,
  .intro-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .services,
  .process-grid,
  .platform-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-strip div:nth-child(2) {
    border-right: 0;
  }

  .platform-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-top: 6px;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 3.9rem);
  }

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

  .device-stage {
    width: 100%;
  }

  .system-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    right: 34%;
  }

  .services,
  .process-grid,
  .platform-strip {
    grid-template-columns: 1fr;
  }

  .platform-strip div {
    min-height: 124px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .platform-strip div:last-child {
    border-bottom: 0;
  }

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

  .service-card span {
    margin-bottom: 48px;
  }

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

  .site-footer p {
    text-align: left;
  }
}
