:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667085;
  --paper: #f6f9ff;
  --panel: #ffffff;
  --line: #d9e2ee;
  --blue: #2457ff;
  --cyan: #00a9c7;
  --green: #14805e;
  --gold: #f4b63d;
  --rose: #e45565;
  --navy: #09111f;
  --mist: #eaf3ff;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(36, 87, 255, 0.14), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(0, 169, 199, 0.15), transparent 26%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, video { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(217, 226, 238, 0.82);
  background: rgba(246, 249, 255, 0.88);
  backdrop-filter: blur(18px);
  padding: 13px clamp(18px, 4vw, 48px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-weight: 950;
}
.brand span:last-child {
  display: grid;
  gap: 2px;
}
.brand strong {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand small {
  color: var(--muted);
  font-weight: 800;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-still {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 17, 31, 0.92), rgba(9, 17, 31, 0.3) 58%, rgba(9, 17, 31, 0.82)),
    linear-gradient(0deg, rgba(9, 17, 31, 0.94), transparent 48%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 80px 0 96px;
  color: #fff;
}
.prototype {
  display: inline-flex;
  margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 11px;
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 900;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--gold); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  max-width: 930px;
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 8.2rem);
  line-height: 0.89;
  letter-spacing: 0;
}
.lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: #dce6f5;
  font-size: 1.12rem;
  line-height: 1.68;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  padding: 0 17px;
  font-weight: 950;
  cursor: pointer;
}
.button.primary {
  background: var(--blue);
  color: #fff;
}
.button.light {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.hero-panel {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 48px);
  bottom: 28px;
  width: min(390px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  box-shadow: var(--shadow);
}
.hero-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--rose);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.trust-strip span {
  min-height: 62px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--muted);
  text-align: center;
  padding: 10px;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section,
.systems,
.fit-check,
.examples,
.timeline,
.controls,
.proof,
.contact {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.section { padding: 76px 0 0; }
.section-copy {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}
.section-copy h2,
.systems-copy h2,
.fit-check h2,
.examples h2,
.timeline h2,
.controls h2,
.proof h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.intro-grid,
.package-grid,
.proof-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.intro-grid article,
.package-grid article,
.proof-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
}
.intro-grid strong {
  font-size: 1.1rem;
}
.intro-grid p,
.service-card p,
.package-grid p,
.package-grid li,
.steps p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.58;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  grid-template-rows: repeat(2, minmax(250px, auto));
  gap: 16px;
}
.service-card {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(17, 24, 39, 0.08);
}
.service-card.large {
  grid-row: span 2;
  grid-template-columns: 1fr;
}
.service-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
.service-card div {
  display: grid;
  align-content: end;
  padding: 20px;
}
.service-card span,
.package-label {
  color: var(--rose);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.service-card h3,
.package-grid h3 {
  margin: 10px 0 8px;
  font-size: 1.42rem;
  line-height: 1.08;
}

.systems {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: center;
  padding-top: 76px;
}
.systems-media video {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.systems-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}
.steps {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.steps article {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.steps span {
  color: var(--blue);
  font-weight: 950;
}
.steps p { margin: 0; }

.package-grid article.featured {
  background: linear-gradient(135deg, #ffffff, #eef4ff);
  border-color: rgba(36, 87, 255, 0.45);
  box-shadow: var(--shadow);
}
.package-grid ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.fit-check {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 76px;
}
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.fit-grid article,
.control-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.07);
}
.fit-grid h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}
.fit-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.examples,
.timeline {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 76px;
}
.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.example-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.07);
}
.example-grid span {
  color: var(--rose);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.example-grid h3 {
  margin: 10px 0 8px;
  font-size: 1.2rem;
}
.example-grid p,
.timeline li span {
  color: var(--muted);
  line-height: 1.56;
}
.timeline ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}
.timeline li strong {
  color: var(--blue);
}

.proof {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 76px;
}
.proof-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.proof-list span {
  min-height: 86px;
  display: flex;
  align-items: center;
  font-weight: 900;
}

.controls {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 76px;
}
.control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.control-grid article {
  display: grid;
  gap: 8px;
}
.control-grid strong {
  color: var(--blue);
}
.control-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 76px 0;
}
.contact-copy {
  position: sticky;
  top: 96px;
}
.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
}
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 950;
}
input, select, textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #c8d4e3;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
input, select {
  height: 46px;
  padding: 0 12px;
}
textarea {
  min-height: 126px;
  resize: vertical;
  padding: 12px;
}
.wide { grid-column: 1 / -1; }
.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
}
.consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
#formOutput {
  min-height: 28px;
  color: var(--green);
  font-weight: 850;
}

@media (max-width: 980px) {
  .section-copy,
  .service-grid,
  .systems,
  .fit-check,
  .examples,
  .timeline,
  .controls,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }
  .service-card,
  .service-card.large {
    grid-template-columns: 1fr;
  }
  .contact-copy { position: static; }
  .trust-strip,
  .intro-grid,
  .fit-grid,
  .example-grid,
  .control-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }
  .site-header nav { justify-content: flex-start; }
  .hero {
    min-height: 760px;
  }
  .hero-content {
    padding-bottom: 190px;
  }
  .hero-panel {
    left: 18px;
    right: 18px;
    width: auto;
  }
  .trust-strip,
  .intro-grid,
  .fit-grid,
  .example-grid,
  .control-grid,
  .package-grid,
  .proof-list,
  .lead-form {
    grid-template-columns: 1fr;
  }
  .steps article {
    grid-template-columns: 1fr;
  }
  .timeline li {
    grid-template-columns: 1fr;
  }
  .hero-video {
    display: none;
  }
  .hero-still {
    display: block;
  }
}
