:root {
  --ink: #0b2522;
  --muted: #6f7573;
  --line: #d7d9d8;
  --paper: #ffffff;
  --paper-soft: #f6f6f3;
  --deep: #073c38;
  --deep-2: #063733;
  --orange: #ff5a0a;
  --orange-hover: #e74d00;
  --lime: #e9fa78;
  --lime-edge: #7e8f44;
  --blue: #0752bc;
  --shell: min(1240px, calc(100vw - 64px));
  --header-h: 88px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Urbanist", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section-white { background: #fff; }
.centered { text-align: center; }
.desktop-break { display: initial; }

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 9999;
  background: #fff; color: #111; padding: 10px 14px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  color: #fff;
  background: transparent;
  transition: background .35s ease, height .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.is-scrolled {
  height: 74px;
  background: rgba(7, 60, 56, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 150px; flex: 0 0 auto; }
.brand img { width: 100%; height: 46px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: clamp(34px, 5vw, 76px); font-weight: 500; }
.desktop-nav > a:not(.header-cta) { position: relative; padding-block: 12px; }
.desktop-nav > a:not(.header-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px; background: currentColor;
  transition: right .35s var(--ease);
}
.desktop-nav > a:hover::after { right: 0; }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 24px; border-radius: var(--radius-pill);
  background: var(--orange); color: #fff; font-weight: 700;
  transition: transform .3s var(--ease), background .3s ease;
}
.header-cta:hover { transform: translateY(-2px); background: var(--orange-hover); }
.menu-toggle, .mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  padding: calc(var(--header-h) - 50px) 0 92px;
  background: var(--deep);
  color: #fff;
  overflow: hidden;
  display: grid;
  align-items: center;
}
.hero-grid { position: absolute; inset: 0; pointer-events: none; }
.hero-grid span {
  position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.12);
}
.hero-grid span:nth-child(1) { left: 12%; }
.hero-grid span:nth-child(2) { left: 24%; }
.hero-grid span:nth-child(3) { left: 76%; }
.hero-grid span:nth-child(4) { left: 88%; }
.hero-grid span:nth-child(5) { left: 50%; opacity: .04; }
.spark { position: absolute; color: rgba(255,255,255,.8); font-size: 22px; animation: twinkle 3.5s ease-in-out infinite; }
.spark-a { top: 28%; left: 11.3%; }
.spark-b { top: 47%; left: 23.4%; animation-delay: .8s; }
.spark-c { top: 47%; right: 11.3%; animation-delay: 1.6s; }
@keyframes twinkle { 0%,100% { opacity:.28; transform: scale(.85) rotate(0); } 50% { opacity:1; transform: scale(1.15) rotate(18deg); } }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 1110px; }
.eyebrow { margin: 0 0 16px; font-size: clamp(17px, 1.55vw, 22px); color: rgba(255,255,255,.72); }
.hero-title {
  margin: 0 auto 22px;
  max-width: 1100px;
  font-size: clamp(48px, 5.15vw, 65px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: 0;
}
.hero-title span { color: var(--orange); }
.hero-copy {
  max-width: 770px;
  margin: 0 auto;
  color: rgba(255,255,255,.68);
  font-size: 17px;
  line-height: 1.52;
}
.hero-actions, .cta-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.pill-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 13px;
  min-height: 50px; padding: 5px 8px 5px 22px;
  border-radius: var(--radius-pill); color: #fff; font-weight: 700; font-size: 14px;
  transition: transform .35s var(--ease), background .35s ease, box-shadow .35s ease;
}
.pill-button i {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
   color: var(--ink); font-style: normal; font-size: 18px;
  transition: transform .35s var(--ease);
}
.pill-button:hover { transform: translateY(-2px); }
.pill-button:hover i { transform: rotate(45deg); }
.pill-primary { background: var(--orange); }
.pill-primary:hover { background: var(--orange-hover); box-shadow: 0 8px 24px rgba(255,90,10,.18); }
.pill-muted { background: #315e5a; }
.pill-muted:hover { background: #3d6b67; }
.pill-muted.light { background: rgba(255,255,255,.2); backdrop-filter: blur(4px); }
.pill-button.small { min-height: 42px; padding-left: 17px; font-size: 13px; margin-top: 8px; }
.pill-button.small i { width: 29px; height: 29px; font-size: 16px; }

.goals { padding: 68px 0 84px; }
.section-title, .section-heading h2 {
  margin: 0;
  font-size: clamp(35px, 3.15vw, 50px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0;
  color: #101817;
}
.section-title.narrow { max-width: 900px; margin-inline: auto; }
.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-top: 58px; }
.goal-card { padding: 34px 34px 42px; min-height: 268px; }
.goal-card + .goal-card { border-left: 1px solid var(--line); }
.card-number {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--line); font-size: 24px; line-height: 1; color: #111;
}
.goal-card h3, .expert-card h3 { margin: 32px 0 12px; font-size: 24px; line-height: 1.17; font-weight: 500; letter-spacing: 0; }
.goal-card p, .expert-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.goals-intro { max-width: 820px; margin: 34px auto 0; text-align: center; color: var(--muted); line-height: 1.38; }

.applications {
  padding: 0 0 64px;
  background: #fff;
  overflow: visible;
}
.app-list {
  position: relative;
  border-top: 0;
  padding-top: 1px;
  padding-bottom: 0;
}
.app-row {
  position: relative;
  top: auto;
  z-index: auto;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 36px;
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-soft);
  margin-bottom: 32px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 37, 34, .06);
  transform: none;
}

.app-media { min-height: 350px; height: 100%; overflow: hidden; background: #efefec; }
.app-media img { width: 100%; height: 100%; min-height: 350px; object-fit: cover; transition: none; }
.app-row:hover .app-media img { transform: none; }
.contain-media { background: #fff; }
.contain-media img { object-fit: contain; padding: 20px; }
.transport-media img { object-fit: cover; object-position: center; }
.app-content { padding: 4px 8px 4px 0; }
.app-content h2 { margin: 0 0 10px; font-size: clamp(25px, 2vw, 32px); line-height: 1.08; letter-spacing: 0; }
.app-content > p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.48; }
.app-content ul { list-style: none; padding: 0; margin: 0 0 10px; }
.app-content li { position: relative; margin: 0 0 13px; padding-left: 17px; color: var(--muted); font-size: 14px; line-height: 1.42; }
.app-content li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.app-content li strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 1px; }

.roi-link-section {
  padding: 10px 0 78px;
  text-align: center;
}
.roi-button, .payback-button {
  min-height: 62px;
  padding: 7px 10px 7px 30px;
  font-size: 16px;
}
.roi-button i, .payback-button i {
  width: 42px;
  height: 42px;
  font-size: 19px;
}

.security {
  position: relative;
  background: var(--deep);
  color: #fff;
  min-height: 760px;
  overflow: hidden;
  padding: 104px 0 0;
}
.security-arc {
  position: absolute;
  left: 50%;
  bottom: -185px;
  transform: translateX(-50%);
  width: min(1650px, 138vw);
  height: 570px;
  border: 1px solid rgba(203,236,180,.17);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.security-inner { position: relative; z-index: 2; }
.security-heading { text-align: center; max-width: 650px; margin: 0 auto; }
.outline-pill { display: inline-block; border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-pill); padding: 7px 13px; font-size: 13px; color: rgba(255,255,255,.86); }
.security-heading h2 { margin: 32px 0 12px; font-size: clamp(37px, 3.4vw, 53px); line-height: 1.08; font-weight: 500; letter-spacing: 0; }
.security-heading p { margin: 0 auto; max-width: 580px; color: rgba(255,255,255,.7); font-size: 16px; }
.security-heading h3 { margin: 52px 0 5px; font-size: 36px; line-height: 1.1; font-weight: 500; letter-spacing: 0; }
.assist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 120px; max-width: 820px; margin: 86px auto 0; }
.assist-card { position: relative; background: var(--lime); color: #111; text-align: center; padding: 32px 30px 36px; border: 10px solid var(--lime-edge); box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.assist-card::before { content: ""; position: absolute; top: -84px; left: 50%; transform: translateX(-50%); width: 1px; height: 66px; background: var(--lime-edge); }
.assist-number {
  position: absolute; left: 50%; top: -132px; transform: translateX(-50%);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--deep); border: 1px solid var(--lime); color: #fff; font-size: 20px;
}


.middlebutton {
  position: relative;
  background: var(--deep);
  color: #fff;
  min-height: 760px;
  overflow: hidden;
  padding: 104px 0 0;
}



.assist-card h3 { margin: 0 0 16px; font-size: 25px; line-height: 1.08; }
.assist-card p { margin: 0; color: #5e633e; font-size: 14px; line-height: 1.35; }

.expert { padding: 96px 0 88px; }
.section-heading p { max-width: 720px; margin: 16px auto 0; color: var(--muted); font-size: 16px; }
.expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-top: 58px; }
.expert-card { min-height: 350px; padding: 32px 34px 42px; }
.expert-card + .expert-card { border-left: 1px solid var(--line); }
.expert-card h3 { margin-top: 34px; font-size: 22px; }
.expert-card p { line-height: 1.52; }

.cta { position: relative; min-height: 560px; display: grid; place-items: center; color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(4,49,46,.78), rgba(4,49,46,.78)), url('../images/cta.webp'); background-size: cover; background-position: center; transform: scale(1.02); }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 850px; padding-block: 92px; }
.cta h2 { margin: 0 0 16px; font-size: clamp(38px, 3.8vw, 58px); line-height: 1.03; font-weight: 600; letter-spacing: 0; }
.cta p { max-width: 780px; margin: 10px auto 0; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.38; }

.details { padding: 78px 0 110px; }
.details .section-title { margin-bottom: 50px; }
.details-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 26px; }
.detail-card { background: #f5f5f5; border: 1px solid #ededed; padding: 15px 15px 18px; text-align: center; transition: transform .35s var(--ease), box-shadow .35s ease; overflow: hidden; }
.detail-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(13,35,32,.09); }
.detail-image { aspect-ratio: 1.48 / 1; overflow: hidden; background: #fff; }
.detail-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.detail-card:hover img { transform: scale(1.06); }
.detail-card span { display: inline-block; margin-top: 15px; padding: 7px 16px; border-radius: var(--radius-pill); background: var(--blue); color: #fff; font-size: 13px; line-height: 1.1; font-weight: 700; }

.payback-cta {
  padding: 8px 0 92px;
  text-align: center;
}
.payback-button {
  max-width: 100%;
}

[data-reveal], [data-stagger] > * {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
[data-reveal].is-visible, [data-stagger] > *.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 48px, 1020px); }
  .hero { min-height: 700px; }
  .hero-title { font-size: clamp(46px, 6.1vw, 68px); }
  .app-row { grid-template-columns: .9fr 1.1fr; gap: 28px; padding-inline: 18px; }
  .app-media, .app-media img { min-height: 320px; }
  .app-content h2 { font-size: 27px; }
  .assist-grid { gap: 70px; }
  .details-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; --shell: min(100% - 40px, 760px); }
  .desktop-nav { display: none; }
  .menu-toggle {
    display: grid; place-content: center; gap: 7px; width: 46px; height: 46px; border: 0; padding: 0;
    border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
  }
  .menu-toggle span { width: 20px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .menu-toggle.is-open span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .mobile-menu {
    display: block; position: fixed; inset: var(--header-h) 0 auto; z-index: 999;
    background: rgba(7,60,56,.98); border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .45s var(--ease), opacity .35s ease;
  }
  .site-header.is-scrolled .mobile-menu { top: 74px; }
  .mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu nav { width: var(--shell); margin: 0 auto; padding: 26px 0 32px; display: grid; gap: 8px; }
  .mobile-menu a { display: flex; align-items: center; min-height: 50px; padding: 0 8px; color: #fff; font-size: 20px; }
  .mobile-menu .header-cta { justify-content: center; margin-top: 10px; font-size: 16px; }

  .hero { min-height: 680px; padding-top: 140px; }
  .hero-grid span:nth-child(1) { left: 7%; }
  .hero-grid span:nth-child(2) { left: 20%; }
  .hero-grid span:nth-child(3) { left: 80%; }
  .hero-grid span:nth-child(4) { left: 93%; }
  .spark-a { left: 6%; } .spark-b { left: 19%; } .spark-c { right: 6%; }
  .hero-title { font-size: clamp(44px, 8vw, 62px); }
  .hero-copy { font-size: 16px; }

  .goals { padding-top: 58px; }
  .goal-grid, .expert-grid { grid-template-columns: 1fr; }
  .goal-card, .expert-card { min-height: 0; }
  .goal-card + .goal-card, .expert-card + .expert-card { border-left: 0; border-top: 1px solid var(--line); }

  .applications { padding-bottom: 70px; }
  .app-list { width: min(100% - 32px, 760px); padding-top: 0; padding-bottom: 0; }
  .app-row {
    position: relative;
    top: auto;
    z-index: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
    margin-bottom: 22px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(11, 37, 34, .06);
  }
  .app-media { min-height: 0; aspect-ratio: 16 / 10; }
  .app-media img { min-height: 0; }
  .contain-media img { padding: 16px; }
  .app-content { padding: 0 2px 6px; }
  .app-content h2 { font-size: 30px; }
  .app-content > p, .app-content li { font-size: 15px; }

  .security { padding-top: 82px; min-height: 0; padding-bottom: 78px; }
  .security-arc { bottom: -270px; }
  .assist-grid { grid-template-columns: 1fr; gap: 124px; max-width: 520px; margin-top: 92px; }
  .assist-card { padding-inline: 34px; }
  .expert { padding: 78px 0; }
  .cta { min-height: 540px; }
  .details-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 32px); }
  .desktop-break { display: none; }
  .brand { width: 132px; }
  .brand img { height: 40px; }
  .hero { min-height: 650px; padding: 128px 0 72px; }
  .hero-grid span:nth-child(2), .hero-grid span:nth-child(3), .hero-grid span:nth-child(5) { display: none; }
  .spark-b { display: none; }
  .eyebrow { font-size: 17px; }
  .hero-title { font-size: clamp(39px, 11vw, 52px); letter-spacing: 0; }
  .hero-title br { display: none; }
  .hero-copy { font-size: 15px; line-height: 1.5; }
  .hero-actions, .cta-actions { align-items: stretch; flex-direction: column; max-width: 310px; margin-inline: auto; }
  .pill-button { width: 100%; justify-content: space-between; }
  .roi-link-section { padding: 4px 0 54px; }
  .payback-cta { padding: 0 0 64px; }
  .roi-button, .payback-button { min-height: 58px; padding-left: 22px; font-size: 14px; }

  .goals { padding: 50px 0 64px; }
  .section-title, .section-heading h2 { font-size: 37px; }
  .goal-grid { margin-top: 38px; }
  .goal-card { padding: 26px 24px 30px; }
  .card-number { width: 44px; height: 44px; font-size: 21px; }
  .goal-card h3 { font-size: 22px; margin-top: 24px; }
  .goals-intro { font-size: 14px; }

  .app-list { width: calc(100% - 20px); }
  .app-row { padding: 12px; gap: 18px; margin-bottom: 14px; border-radius: 12px; }
  .app-media { aspect-ratio: 4 / 3; }
  .app-content { padding: 0 8px 8px; }
  .app-content h2 { font-size: 25px; }
  .app-content > p, .app-content li { font-size: 14px; }
  .app-content li strong { font-size: 14.5px; }

  .security-heading h2 { margin-top: 25px; font-size: 40px; }
  .security-heading h3 { margin-top: 44px; font-size: 30px; }
  .security-heading p { font-size: 14px; }
  .assist-grid { width: calc(100% - 12px); }
  .assist-card { border-width: 7px; padding: 28px 22px; }
  .assist-card h3 { font-size: 23px; }
  .assist-card p { font-size: 13.5px; }

  .expert { padding: 64px 0; }
  .section-heading p { font-size: 14.5px; }
  .expert-grid { margin-top: 40px; }
  .expert-card { padding: 26px 24px 32px; }
  .expert-card h3 { margin-top: 24px; }

  .cta { min-height: 600px; }
  .cta-inner { padding-block: 72px; }
  .cta h2 { font-size: 42px; }
  .cta p { font-size: 14px; }

  .details { padding: 58px 0 78px; }
  .details .section-title { margin-bottom: 34px; }
  .details-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .detail-card { padding: 8px 8px 13px; }
  .detail-card span { margin-top: 10px; padding: 6px 10px; font-size: 11px; }
}

@media (max-width: 390px) {
  .hero-title { font-size: 38px; }
  .details-grid { grid-template-columns: 1fr; }
  .detail-card { max-width: 310px; width: 100%; margin-inline: auto; }
}



/* ---------------------------------------------------------
   Video-only demo popup
   --------------------------------------------------------- */
body.modal-open { overflow: hidden; }

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.demo-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 22, 20, .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.demo-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 94vw);
  max-height: 88vh;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 30px 100px rgba(0,0,0,.38);
  transform: translateY(18px) scale(.985);
  transition: transform .32s var(--ease);
  outline: none;
}

.demo-modal.is-open .demo-modal-dialog { transform: translateY(0) scale(1); }

.demo-modal-video {
  display: block;
  width: 100%;
  max-height: 88vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.demo-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(0,0,0,.58);
  cursor: pointer;
  transition: transform .22s var(--ease), background .22s ease;
}

.demo-modal-close:hover { background: rgba(0,0,0,.82); transform: scale(1.04); }
.demo-modal-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: #fff;
}
.demo-modal-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.demo-modal-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 600px) {
  .demo-modal { padding: 10px; }
  .demo-modal-dialog { width: 100%; border-radius: 12px; }
  .demo-modal-close { top: 8px; right: 8px; width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}
