:root {
  --ink: #101828;
  --muted: #5d6b82;
  --line: #d9e3ef;
  --blue: #0f6fff;
  --blue-dark: #083f9b;
  --cyan: #22b8cf;
  --green: #21b573;
  --page: #f5f9ff;
  --surface: #ffffff;
  --shadow: 0 24px 70px rgba(12, 50, 95, .16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 6vw, 92px);
  border-bottom: 1px solid rgba(217, 227, 239, .8);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: .88rem;
  letter-spacing: 0;
}

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--blue); background: #eaf3ff; outline: none; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
  padding: 78px clamp(20px, 7vw, 108px) 84px;
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(15, 111, 255, .08), transparent 42%),
    radial-gradient(circle at 88% 16%, rgba(34, 184, 207, .24), transparent 30%),
    var(--page);
}

.hero-copy { max-width: 700px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow span {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.eyebrow.dark { color: var(--blue-dark); }

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #081631;
  font-size: clamp(3rem, 6.5vw, 6.4rem);
  line-height: .96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}
.button.primary { color: white; background: var(--blue); box-shadow: 0 14px 30px rgba(15, 111, 255, .24); }
.button.secondary { color: var(--blue-dark); border: 1px solid var(--line); background: white; }

.hero-visual { position: relative; }
.device-panel {
  max-width: 520px;
  margin-left: auto;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 26px;
  background: #0b1731;
  box-shadow: var(--shadow);
}
.panel-bar { display: flex; gap: 8px; padding: 0 0 16px; }
.panel-bar span { width: 12px; height: 12px; border-radius: 50%; background: #6e7d99; }
.panel-bar span:first-child { background: #ff6868; }
.panel-bar span:nth-child(2) { background: #ffc857; }
.panel-bar span:nth-child(3) { background: #3ddc97; }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.metric {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: white;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
}
.metric.wide { grid-column: span 2; min-height: 150px; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.metric.tall { min-height: 160px; background: linear-gradient(145deg, rgba(33,181,115,.9), rgba(15,111,255,.72)); }
.metric strong { font-size: 1.2rem; line-height: 1.2; }
.metric span { color: rgba(255,255,255,.78); font-size: .92rem; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0 clamp(20px, 7vw, 108px);
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip div {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px clamp(16px, 4vw, 48px);
  border-right: 1px solid var(--line);
}
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { font-size: 1.05rem; }
.trust-strip span { color: var(--muted); font-size: .92rem; }

.section {
  padding: 92px clamp(20px, 7vw, 108px);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}
.section h2,
.contact-section h2 {
  margin: 0;
  color: #09162f;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.section-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(12, 50, 95, .06);
}
.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: var(--blue);
  font-weight: 850;
}
.service-card h3 { margin: 28px 0 10px; font-size: 1.18rem; }
.service-card p { margin: 0; color: var(--muted); }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
  background: white;
}
.work-list {
  display: grid;
  gap: 14px;
}
.work-list div {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}
.work-list strong { display: block; margin-bottom: 6px; }
.work-list span { color: var(--muted); }

.process-section { background: #ecf5ff; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.process-grid article {
  padding: 26px;
  border-radius: 8px;
  background: white;
  border: 1px solid #cfe0f4;
}
.process-grid span {
  color: var(--blue);
  font-weight: 900;
}
.process-grid h3 { margin: 18px 0 8px; }
.process-grid p { margin: 0; color: var(--muted); }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
  gap: 34px;
  align-items: center;
  margin: 0 clamp(20px, 7vw, 108px) 80px;
  padding: 54px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, #09245a, #0f6fff);
}
.contact-section .eyebrow { color: #b9e8ff; }
.contact-section h2 { color: white; }
.contact-section p { max-width: 620px; margin: 16px 0 0; color: rgba(255,255,255,.82); }
.contact-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  background: rgba(255,255,255,.1);
}
.contact-card a,
.contact-card span {
  color: white;
  text-decoration: none;
  font-weight: 750;
}

.site-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 7vw, 108px);
  color: var(--muted);
  background: white;
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--blue); font-weight: 750; text-decoration: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .device-panel { margin: 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-section,
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { min-height: 68px; padding: 0 18px; }
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    box-shadow: 0 18px 45px rgba(12, 50, 95, .12);
  }
  .site-nav.open { display: flex; }
  .hero { padding: 54px 20px 64px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .metric.wide { grid-column: auto; }
  .trust-strip,
  .service-grid,
  .process-grid { grid-template-columns: 1fr; }
  .trust-strip { padding: 0 20px; }
  .trust-strip div { min-height: 100px; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div:last-child { border-bottom: 0; }
  .section { padding: 64px 20px; }
  .service-card { min-height: auto; }
  .contact-section { margin: 0 20px 56px; padding: 32px 22px; border-radius: 12px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

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