:root {
  --white: #ffffff;
  --grey-bg: #f5f5f5;
  --grey-split: #f4f4f4;
  --grey-soft: #f8f8f8;
  --heading: #333333;
  --body: #666666;
  --muted: #888888;
  --orange: #e87830;
  --orange-logo: #e87722;
  --line: #d0d0d0;
  --footer: #36363b;
  --footer-label: #8a8a90;
  --max: 1180px;
  --font: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h2,
h3 {
  color: var(--heading);
  font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw 10px;
  background: var(--white);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 56px;
  width: auto;
  display: block;
}

.contact-link {
  color: #333333;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1.5px solid #EE7A22;
  padding-bottom: 1px;
}

.contact-link:hover {
  color: #EE7A22;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 10vw 64px;
  text-align: center;
  background: var(--white);
}

.hero-lead {
  max-width: 820px;
  margin: 0 auto;
  font-size: 30px;
  font-weight: 300;
  color: #333333;
  line-height: 1.45;
  letter-spacing: 0.2px;
}

/* ---------- Split carousels ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.split-hero {
  background: #f8f9fa;
}

.split-pane {
  display: flex;
  align-items: center;
  min-height: 480px;
  position: relative;
}

.split-pane--text {
  padding: 64px 8% 80px 10%;
  background: var(--white);
}

.split-hero .split-pane--text,
.split-hero .split-pane--media {
  background: transparent;
}

.split-hero .split-pane--text {
  padding: 64px 8% 48px 12%;
}

.split-pane--center {
  justify-content: center;
  text-align: center;
  padding: 72px 10%;
}

.split-pane--grey {
  background: var(--grey-split);
}

.split-pane--media {
  justify-content: center;
  padding: 40px 6%;
  overflow: hidden;
}

.split-hero .split-pane--text h2 {
  font-size: 36px;
  font-weight: 400;
  color: #333333;
  margin-bottom: 20px;
  letter-spacing: 0.15px;
  line-height: 1.25;
}

.split-hero .split-pane--text p {
  font-size: 20px;
  font-weight: 300;
  color: #555555;
  max-width: 400px;
  line-height: 1.65;
  letter-spacing: 0.2px;
}

.split-benefits {
  background: #ffffff;
}

.split-benefits .split-pane--text,
.split-benefits .split-pane--media {
  background: #ffffff;
}

.split-benefits .split-pane--text h2 {
  font-size: 36px;
  font-weight: 400;
  color: #333333;
  margin-bottom: 20px;
  letter-spacing: 0.15px;
  line-height: 1.3;
}

.split-benefits .split-pane--text p {
  font-size: 16px;
  font-weight: 300;
  color: #555555;
  max-width: 480px;
  line-height: 1.7;
  letter-spacing: 0.15px;
}

.split-pane--center p {
  margin: 0 auto;
  max-width: 520px;
}

.split-pane--media img {
  max-height: 460px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.split-hero .split-pane--media {
  padding: 48px 4% 48px 2%;
}

.hero-visual {
  position: relative;
  display: inline-block;
  max-width: 680px;
  width: 100%;
  line-height: 0;
}

.hero-visual img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
}

.play-demo {
  position: absolute;
  left: 0;
  bottom: 3%;
  width: 30%;
  height: 16%;
  z-index: 2;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

.split-benefits .split-pane--media img {
  width: auto;
  height: auto;
  max-height: 580px;
  max-width: 270px;
  background: transparent;
}

/* Carousel */
.carousel {
  width: 100%;
  position: relative;
}

.carousel-track {
  position: relative;
}

.carousel-slide {
  display: none;
}

.carousel-slide.is-active {
  display: block;
}

.dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  line-height: 0;
}

.dots--center {
  justify-content: center;
  margin-top: 28px;
}

.dot {
  display: block;
  width: 9px;
  height: 9px;
  min-width: 9px;
  min-height: 9px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1.5px solid #c4c4c4;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-size: 0;
  line-height: 0;
  box-sizing: border-box;
}

.dot.is-active {
  background: #c4c4c4;
}

.split-hero .split-pane--text .carousel {
  min-height: 0;
}

.split-benefits .dots {
  margin-top: 28px;
}

.split-benefits .dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  background: #c4c4c4;
  border: none;
}

.split-benefits .dot.is-active {
  width: 11px;
  height: 11px;
  min-width: 11px;
  min-height: 11px;
  background: transparent;
  border: 1.5px solid #b0b0b0;
}

.dot:hover {
  border-color: var(--orange);
}

/* ---------- Section headings ---------- */
.section-heading {
  padding: 72px 24px 28px;
  text-align: center;
  background: var(--white);
}

.section-heading h2,
.realtime-title,
.modules > h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--heading);
}

.section-kicker {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 1.4px;
  font-weight: 400;
}

/* ---------- Real-time stack ---------- */
.realtime {
  padding: 72px 6vw 100px;
  background: #ffffff;
}

.realtime-title {
  text-align: center;
  margin-bottom: 56px;
  font-weight: 500;
}

.realtime-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 8px 12px;
  align-items: center;
}

.screen-stack {
  position: relative;
  min-height: 720px;
}

.stack-card {
  position: absolute;
  width: min(72%, 420px);
  height: auto;
  display: block;
  filter: drop-shadow(10px 18px 20px rgba(0, 0, 0, 0.18));
  background: transparent;
}

.stack-card--1 {
  top: 0;
  left: 22%;
  z-index: 4;
  width: min(68%, 390px);
}

.stack-card--2 {
  top: 18%;
  left: 14%;
  z-index: 3;
  width: min(70%, 400px);
}

.stack-card--3 {
  top: 38%;
  left: 7%;
  z-index: 2;
  width: min(72%, 410px);
}

.stack-card--4 {
  top: 56%;
  left: 0;
  z-index: 1;
  width: min(76%, 440px);
}

.realtime-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 0 28px;
  min-height: 720px;
}

.rt-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: start;
  gap: 18px;
}

.rt-line {
  display: block;
  height: 1px;
  background: #cfcfcf;
  margin-top: 14px;
}

.rt-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.rt-item p {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.65;
  max-width: 420px;
}

/* ---------- Incentive ---------- */
.incentive {
  background: #f2f2f2;
  padding: 70px 6vw;
}

.incentive-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.incentive-media {
  display: flex;
  justify-content: center;
}

.incentive-media img {
  max-height: 620px;
  max-width: 360px;
  width: 100%;
  height: auto;
  background: transparent;
}

.incentive-copy h2 {
  font-size: 32px;
  font-weight: 400;
  color: #333333;
  margin-bottom: 28px;
  line-height: 1.35;
  letter-spacing: 0.15px;
}

.incentive-copy ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.incentive-copy li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  font-weight: 300;
  color: #555555;
  line-height: 1.7;
}

.incentive-copy li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #333333;
  position: absolute;
  left: 0;
  top: 0.65em;
}

/* ---------- Modules ---------- */
.modules {
  padding: 72px 5vw 90px;
  background: var(--white);
  text-align: center;
}

.modules .section-kicker {
  margin-bottom: 48px;
}

.modules-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px) 1fr;
  grid-template-areas:
    "tl phone tr"
    "bl phone br";
  column-gap: 24px;
  row-gap: 36px;
  align-items: center;
  text-align: left;
  position: relative;
}

.module-card--tl { grid-area: tl; }
.module-card--tr { grid-area: tr; }
.module-card--bl { grid-area: bl; }
.module-card--br { grid-area: br; }

.module-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 12px 0 8px;
}

.module-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
}

.module-icon {
  width: 52px;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.module-icon svg {
  width: 28px;
  height: 28px;
}

.modules-phone {
  grid-area: phone;
  position: relative;
  padding: 0;
}

.modules-phone img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: block;
  background: transparent;
}

/* ---------- Performance ---------- */
.performance {
  background: #ffffff;
  padding: 72px 8vw 88px;
  text-align: center;
}

.performance > h2 {
  margin-bottom: 56px;
  font-size: 28px;
  font-weight: 300;
  color: #333333;
  letter-spacing: 0.2px;
}

.perf-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px 56px;
  text-align: left;
}

.perf-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.perf-icon {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  border: none;
}

.perf-icon img,
.perf-icon svg {
  width: 88px;
  height: 88px;
  display: block;
  overflow: visible;
}

.perf-item p {
  font-size: 15px;
  font-weight: 400;
  color: #444444;
  line-height: 1.65;
  padding-top: 8px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #333336;
  color: #fff;
  padding: 64px 8vw 28px;
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.footer-main {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.footer-col h3 {
  color: #9a9aa0;
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.footer-brand {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 2px;
}

.footer-muted,
.footer-muted a {
  color: #b0b0b4;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.footer-col--nav {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 8px;
}

.footer-home {
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  padding-bottom: 8px;
  border-bottom: 1px solid #c8c8cc;
}

.footer-bar {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  font-size: 12px;
  font-weight: 300;
  color: #8a8a90;
}

.designed-by a {
  color: #ffffff;
  font-weight: 500;
}

.fy-mark {
  color: #3da9fc;
  font-weight: 700;
  margin-left: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split,
  .realtime-grid,
  .incentive-inner,
  .perf-grid {
    grid-template-columns: 1fr;
  }

  .split-pane {
    min-height: 0;
  }

  .split-pane--text,
  .split-pane--center {
    padding: 48px 8vw;
  }

  .split-benefits .split-pane--media {
    order: -1;
  }

  .screen-stack {
    min-height: 560px;
    margin-bottom: 8px;
  }

  .stack-card--1,
  .stack-card--2,
  .stack-card--3,
  .stack-card--4 {
    width: min(78%, 360px);
  }

  .realtime-copy {
    min-height: 0;
    gap: 28px;
  }

  .modules-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "phone"
      "tl"
      "tr"
      "bl"
      "br";
    text-align: center;
  }

  .module-icon {
    margin: 0 auto;
  }

  .modules-phone {
    max-width: 360px;
    margin: 0 auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col--nav {
    justify-content: center;
  }

  .footer-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 5vw;
  }

  .brand img {
    height: 44px;
  }

  .contact-link {
    font-size: 13px;
  }

  .hero {
    padding: 40px 6vw 36px;
  }

  .rt-item {
    grid-template-columns: 36px 1fr;
  }
}
