:root {
  --ink: #111512;
  --ink-soft: #202821;
  --midnight: #0d1730;
  --midnight-deep: #0a1226;
  --paper: #f7f8f3;
  --paper-strong: #ffffff;
  --muted: #667169;
  --muted-dark: #aebbb2;
  --line: #dce3dc;
  --line-dark: rgba(255, 255, 255, 0.12);
  --teal: #00c2a8;
  --lime: #c6ff4a;
  --violet: #887dff;
  --shadow: 0 24px 80px rgba(17, 21, 18, 0.16);
  --radius: 8px;
  --header-height: 76px;
  --cursor-x: 50%;
  --cursor-y: 40%;
  --cursor-radius: 150px;
  --cursor-core: 5px;
  --cursor-ring: 105px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body::selection {
  background: var(--lime);
  color: var(--ink);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: var(--header-height);
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(247, 248, 243, 0.9);
  border-bottom: 1px solid rgba(17, 21, 18, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  align-items: center;
  width: clamp(178px, 15vw, 232px);
  aspect-ratio: 1920 / 720;
  overflow: visible;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 13px;
  color: #374039;
  font-size: 0.92rem;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.nav-links a:hover {
  background: rgba(0, 194, 168, 0.12);
  color: var(--ink);
}

.header-cta {
  display: inline-grid;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(17, 21, 18, 0.14);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--paper-strong);
  font-weight: 700;
}

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.shell-centered {
  display: flex;
  justify-content: center;
}

.section-dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--midnight);
  background-size: 42px 42px;
  color: var(--paper-strong);
}

.section-dark::before,
.section-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.section-dark::before {
  background:
    /* brighter copy of the 42px grid in the eyebrow's teal */
    linear-gradient(rgba(0, 194, 168, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 168, 0.32) 1px, transparent 1px),
    /* soft teal glow beneath the lit grid */
    radial-gradient(
      circle var(--cursor-radius) at var(--cursor-x) var(--cursor-y),
      rgba(0, 194, 168, 0.06),
      rgba(0, 194, 168, 0.02) 34%,
      transparent 68%
    );
  background-size: 42px 42px, 42px 42px, 100% 100%;
  /* reveal the bright grid only within a circle around the cursor,
     feathered out so it blends back into the base grid */
  -webkit-mask: radial-gradient(
    circle var(--cursor-radius) at var(--cursor-x) var(--cursor-y),
    #000 0%,
    #000 38%,
    transparent 74%
  );
  mask: radial-gradient(
    circle var(--cursor-radius) at var(--cursor-x) var(--cursor-y),
    #000 0%,
    #000 38%,
    transparent 74%
  );
  mix-blend-mode: screen;
}

.section-dark::after {
  background:
    radial-gradient(
      circle var(--cursor-core) at var(--cursor-x) var(--cursor-y),
      rgba(255, 255, 255, 0.08),
      transparent 72%
    ),
    radial-gradient(
      circle var(--cursor-ring) at var(--cursor-x) var(--cursor-y),
      transparent 0 42%,
      rgba(0, 194, 168, 0.028) 43% 44%,
      transparent 45%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 9px,
      rgba(255, 255, 255, 0.014) 10px,
      transparent 11px
    );
}

.section-dark.is-pointer-active::before,
.section-dark.is-pointer-active::after {
  opacity: 0.77;
}

.section-light {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
  color: var(--ink);
}

.section-light::before {
  content: "";
  position: absolute;
  top: 34px;
  right: max(-180px, -10vw);
  z-index: 0;
  width: min(620px, 54vw);
  height: min(620px, 54vw);
  background:
    linear-gradient(rgba(17, 21, 18, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 21, 18, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 22%, black 62%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 22%, black 62%, transparent 100%);
  opacity: 0.85;
  transform: rotate(-4deg);
}

.section-light::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 194, 168, 0.32), transparent);
}

.section-shell {
  position: relative;
  z-index: 1;
}

.hero {
  padding: clamp(58px, 7vw, 96px) 0 clamp(48px, 6vw, 72px);
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
}

.hero-copy h1 {
  max-width: 720px;
}

.hero-copy .hero-text {
  max-width: 620px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 920px;
  font-size: clamp(3rem, 5.3vw, 5.35rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.75rem);
}

h3 {
  font-size: 1.18rem;
}

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-grid;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
}

.btn-primary:hover {
  background: oklch(0.82 0.18 135);
  box-shadow: 0 0 24px rgba(198, 255, 74, 0.35);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper-strong);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #0e1e38, #162d4a);
  color: var(--paper-strong);
  border-color: rgba(255, 255, 255, 0.32);
}

.microcopy {
  max-width: 560px;
  margin: 18px 0 0;
  color: #d7dfd8;
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 600px;
  margin-top: clamp(48px, 6vw, 72px);
  overflow: hidden;
  border-radius: var(--radius);
}

/* Hero Video Styling */
.hero-video {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  animation: fadeInVideo 0.6s ease-out;
}

@keyframes fadeInVideo {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Platform Visual Mockup */
.platform-visual {
  position: relative;
  min-height: 400px;
  margin-top: clamp(52px, 7vw, 84px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
}

.platform-visual .system-frame {
  position: relative;
  inset: auto;
  width: min(68%, 780px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.platform-visual .system-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.platform-visual .phone-preview {
  position: absolute;
  right: 4%;
  bottom: -20px;
  width: min(22%, 210px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.platform-visual .phone-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.system-frame {
  position: absolute;
  inset: 20px 0 auto auto;
  width: min(92%, 560px);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.frame-top {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05);
}

.frame-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 16px;
  padding: 16px;
  min-height: 330px;
}

.fleet-map {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 194, 168, 0.28), transparent 42%),
    linear-gradient(315deg, rgba(198, 255, 74, 0.17), transparent 40%),
    #18211c;
}

.fleet-map::before,
.fleet-map::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: skew(-10deg) rotate(-6deg);
}

.fleet-map::after {
  inset: 34% 8% 20% 28%;
  border-color: rgba(198, 255, 74, 0.36);
  transform: skew(14deg) rotate(9deg);
}

.zone,
.vehicle {
  position: absolute;
  display: block;
}

.zone {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.zone-a {
  top: 18%;
  left: 12%;
  width: 32%;
  height: 22%;
}

.zone-b {
  right: 12%;
  bottom: 12%;
  width: 38%;
  height: 26%;
}

.zone-c {
  right: 18%;
  top: 16%;
  width: 20%;
  height: 30%;
}

.vehicle {
  width: 13px;
  height: 13px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 8px rgba(198, 255, 74, 0.18);
}

.vehicle-a {
  top: 34%;
  left: 28%;
}

.vehicle-b {
  right: 26%;
  top: 48%;
  background: var(--teal);
  box-shadow: 0 0 0 8px rgba(0, 194, 168, 0.2);
}

.vehicle-c {
  bottom: 22%;
  left: 46%;
  background: var(--violet);
  box-shadow: 0 0 0 8px rgba(136, 125, 255, 0.2);
}

.fleet-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
}

.fleet-panel p,
.fleet-panel span {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.fleet-panel strong {
  font-size: 2.4rem;
  line-height: 1;
}

.signal-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  align-items: end;
  height: 72px;
}

.signal-bars i {
  display: block;
  min-height: 18px;
  border-radius: 999px 999px 2px 2px;
  background: var(--teal);
}

.signal-bars i:nth-child(2) {
  min-height: 34px;
}

.signal-bars i:nth-child(3) {
  min-height: 52px;
  background: var(--lime);
}

.signal-bars i:nth-child(4) {
  min-height: 44px;
}

.signal-bars i:nth-child(5) {
  min-height: 66px;
  background: var(--violet);
}

.phone-preview {
  position: absolute;
  right: 24px;
  bottom: 0;
  width: 214px;
  min-height: 410px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  overflow: visible;
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 2;
  width: 82px;
  height: 20px;
  border-radius: 999px;
  background: #050706;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 390px;
  padding: 42px 18px 18px;
  border-radius: 26px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--paper-strong);
  background-size: 24px 24px;
  color: var(--ink);
}

.phone-title {
  margin: 0 0 86px;
  font-weight: 900;
}

.vehicle-card {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--paper);
}

.vehicle-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.phone-screen button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-strong);
  font-weight: 800;
}

.app-icon {
  position: absolute;
  left: -24px;
  bottom: 40px;
  z-index: 5;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal), #0d9e8a);
  box-shadow: 0 8px 28px rgba(0, 194, 168, 0.35);
  display: grid;
  place-items: center;
}

.app-icon span {
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.problem,
.apps,
.benefits,
.proof,
.testimonials,
.faq {
  padding: clamp(72px, 9vw, 124px) 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.problem-grid article,
.feature-card,
.benefit-grid article,
.steps-grid article,
blockquote,
details,
.proof-panel {
  border: 1px solid rgba(17, 21, 18, 0.1);
  border-radius: var(--radius);
  background: var(--paper-strong);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.problem-grid article:hover,
.feature-card:hover,
.benefit-grid article:hover,
blockquote:hover,
details:hover,
.proof-panel:hover {
  border-color: rgba(0, 194, 168, 0.34);
  box-shadow: 0 24px 80px rgba(17, 21, 18, 0.13);
  transform: translateY(-4px);
}

.problem-grid article {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 22px;
}

.problem-grid article::after,
.benefit-grid article::after,
.feature-card::after,
blockquote::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--lime));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.problem-grid article:hover::after,
.benefit-grid article:hover::after,
.feature-card:hover::after,
blockquote:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.benefit-grid article::after {
  opacity: 1;
  transform: scaleX(1);
}

.benefit-grid article:hover {
  border-color: transparent;
}

.benefit-grid article:hover::after {
  opacity: 0;
  transform: scaleX(0.4);
}

.problem-grid span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-weight: 900;
}

.problem-grid p {
  margin: 52px 0 0;
  color: #2d352f;
}

.callout {
  margin-top: 14px;
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 900;
}

.callout-dark {
  background: var(--ink);
  color: var(--paper-strong);
}

.highlight-lime {
  color: var(--lime);
}

.solution,
.steps,
.control,
.ownership,
.contact {
  padding: clamp(76px, 9vw, 128px) 0;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.rich-copy p {
  margin: 0;
  color: var(--muted-dark);
  font-size: clamp(1.02rem, 1.3vw, 1.17rem);
}

.rich-copy p + p {
  margin-top: 18px;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
}

.capability-strip div {
  min-height: 150px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.capability-strip strong {
  display: block;
  margin-bottom: 26px;
  color: var(--lime);
  font-size: 1.18rem;
}

.capability-strip span {
  color: var(--muted-dark);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin-top: 28px;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.mini-app,
.browser-app {
  height: 340px;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 21, 18, 0.08);
  background: #151b17;
}

/* Native app card: portrait phone screenshot centered on a dark stage */
.mini-app {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0, 194, 168, 0.22), transparent 62%),
    #151b17;
}

.mini-app img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}



.app-launcher-icon {
  position: absolute;
  left: 30%;
  bottom: 20px;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 0 1.5px rgba(255, 255, 255, 0.12);
  z-index: 2;
}

.app-launcher-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Web app card: landscape screenshot inside a browser frame */
.browser-app {
  padding: 14px;
  overflow: hidden;
}

.browser-bar {
  position: relative;
  height: 36px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.browser-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f56;
  box-shadow: 16px 0 0 #febc2e, 32px 0 0 #28c840;
}

.browser-content {
  height: calc(100% - 50px);
  border-radius: var(--radius);
  overflow: hidden;
}

.browser-content img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.section-note {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.steps-grid article {
  position: relative;
  min-height: clamp(160px, 22vw, 270px);
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
}

.steps-grid span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: clamp(20px, 5vw, 62px);
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.steps-grid h3 {
  margin-bottom: 10px;
}

.steps-grid p {
  margin: 0;
  color: var(--muted-dark);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
}

.benefit-grid article {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 22px;
  min-height: 180px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(0, 194, 168, 0.08), transparent 38%),
    var(--paper-strong);
}

.benefit-grid strong {
  font-size: 1.08rem;
}

.benefit-grid span {
  color: var(--muted);
}

.control-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.control-list article {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.control-list p {
  margin-top: 12px;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.proof-grid p:not(.eyebrow) {
  max-width: 730px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.proof-panel {
  display: grid;
  gap: 20px;
  min-height: 250px;
  align-content: end;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(0, 194, 168, 0.16), transparent 45%),
    var(--paper-strong);
  box-shadow: var(--shadow);
}

.proof-panel strong {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1.05;
}

.proof-panel span {
  color: var(--muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 26px;
  align-items: start;
  margin-top: 42px;
}

/* Speech-bubble testimonials: outlined card + tail, author below */
.testimonial {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: visible;
}

.testimonial-bubble {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 34px) clamp(26px, 3vw, 38px) clamp(26px, 3vw, 32px);
  background: var(--paper-strong);
}

.testimonial-mark {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font: 800 3.2rem/0.5 Georgia, "Times New Roman", serif;
}

.testimonial-bubble p {
  margin: 0;
  color: #3a433c;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.62;
}

/* outlined tail pointing down toward the author */
.testimonial-bubble::after {
  content: "";
  position: absolute;
  left: 44px;
  bottom: -11px;
  width: 20px;
  height: 20px;
  background: var(--paper-strong);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 26px;
  padding-left: 6px;
  padding-bottom: 18px;
}

.testimonial-avatar {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 194, 168, 0.13);
  color: #0c6f60;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.testimonial-meta {
  display: grid;
  gap: 2px;
}

.testimonial-meta strong {
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.testimonial-meta > span {
  color: var(--muted);
  font-size: 0.9rem;
}

blockquote {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
}

blockquote p {
  margin: 0;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.42;
  font-style: italic;
}

cite {
  display: block;
  margin-top: 26px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.growth-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(34px, 6vw, 68px);
  margin-top: clamp(12px, 2vw, 28px);
  background: var(--ink);
  color: var(--paper-strong);
  box-shadow: var(--shadow);
}

/* Ghosted growth icon tucked into the box's bottom-right corner */
.growth-mark {
  position: absolute;
  right: clamp(16px, 2vw, 40px);
  bottom: clamp(-44px, -3vw, -16px);
  z-index: -1;
  width: clamp(170px, 22vw, 290px);
  color: #ffffff;
  opacity: 0.06;
  pointer-events: none;
}

.growth-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.growth-typing {
  max-width: 780px;
  min-height: 1.6em;
}

.typing-line {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid transparent;
  max-width: 0;
  opacity: 0;
}

.typing-line.typing-active {
  opacity: 1;
  border-right-color: var(--teal);
  animation: typing-grow 2s steps(44, end) forwards,
             blink-caret 0.6s step-end 6;
}

.typing-line.typed-done {
  opacity: 1;
  max-width: none;
  border-right: none;
  white-space: normal;
}

.typing-line.pause-before {
  display: block;
  margin-top: 0.05em;
}

.growth-desc {
  max-width: 790px;
  margin: 22px 0 0;
  color: var(--muted-dark);
  font-size: 1.13rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.growth-desc.desc-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .typing-line {
    opacity: 1;
    max-width: none;
    border-right: none;
    animation: none !important;
  }
  .typing-line.pause-before {
    animation: none !important;
  }
  .growth-desc {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes typing-grow {
  from { max-width: 0; }
  to { max-width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: var(--teal); }
  50% { border-color: transparent; }
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 44px;
}

.faq-grid h3 {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 14px;
  border-left: 3px solid var(--teal);
  padding: 0 0 0 12px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
}

details {
  margin-bottom: 10px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 194, 168, 0.06), transparent 48%),
    var(--paper-strong);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #3f4942;
  font-weight: 620;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 900;
}

details[open] summary::after {
  content: "-";
}

details[open] summary {
  color: var(--ink);
  font-weight: 700;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.js .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.js .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Steps intro — card 1 fades in, cards 2-4 slide out of their
   predecessor (left→right). Mobile direction is overridden below. */
.js .steps-grid article {
  opacity: 0;
  transition:
    opacity 900ms ease,
    transform 950ms cubic-bezier(0.22, 0.7, 0.16, 1);
}

.js .steps-grid article:nth-child(n + 2) {
  transform: translateX(-72px);
}

.js .steps-grid.steps-in article {
  opacity: 1;
  transform: none;
}

.steps-grid article:nth-child(2) {
  transition-delay: 280ms;
}

.steps-grid article:nth-child(3) {
  transition-delay: 560ms;
}

.steps-grid article:nth-child(4) {
  transition-delay: 840ms;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.contact-grid > div > p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted-dark);
  font-size: 1.12rem;
}

.contact-metrics {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.contact-metrics span {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.05);
}

.contact-metrics strong {
  color: var(--lime);
  font-size: 1.3rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: #dce5dd;
  font-size: 0.9rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--paper-strong);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.18);
}

input::placeholder,
textarea::placeholder {
  color: rgba(247, 248, 243, 0.48);
}

.checkbox-label {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 4px;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--lime);
}

.checkbox-label span {
  color: var(--muted-dark);
  font-weight: 550;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
  border: 0;
}

.form-submit:disabled {
  cursor: default;
  opacity: 0.82;
  transform: none;
}

.contact-form.is-submitted {
  border-color: rgba(198, 255, 74, 0.42);
  box-shadow: 0 24px 90px rgba(198, 255, 74, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.92rem;
  text-align: center;
}

.field-hint {
  margin: -4px 0 0;
  color: var(--muted-dark);
  font-size: 0.86rem;
}

/* Honeypot: visually removed but still submittable by bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 90, 84, 0.12);
  border: 1px solid rgba(255, 90, 84, 0.4);
  color: #ffd9d7;
  font-size: 0.92rem;
  text-align: center;
}

/* Success modal */
.success-modal {
  width: min(440px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  overflow: visible;
}

.success-modal::backdrop {
  background: rgba(10, 14, 11, 0.6);
  backdrop-filter: blur(4px);
}

.success-card {
  padding: clamp(28px, 5vw, 40px);
  border-radius: 16px;
  background: var(--paper-strong, #fff);
  box-shadow: 0 40px 120px rgba(17, 21, 18, 0.4);
  text-align: center;
}

.success-check {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(0, 194, 168, 0.14);
  color: var(--teal);
}

.success-check svg {
  width: 32px;
  height: 32px;
}

.success-card h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.success-card p {
  margin: 0 0 24px;
  color: var(--muted);
}

.success-close {
  width: 100%;
  border: 0;
}

.success-modal[open] {
  animation: success-pop 220ms ease;
}

@keyframes success-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.footer {
  padding: 28px 0;
  background: var(--midnight-deep);
  color: var(--paper-strong);
}

.footer-grid {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer span,
.footer a {
  color: var(--muted-dark);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------------------------------------------------------------------------
   Inline SVG section icons (Lucide, ISC license)
   Colored via currentColor; teal on light sections, lime on dark sections.
--------------------------------------------------------------------------- */
.icon {
  display: inline-grid;
  place-items: center;
  line-height: 0;
}

.icon svg {
  width: 26px;
  height: 26px;
}

/* Benefits — icon leads each card on light background */
.benefit-grid article {
  gap: 14px;
}

.benefit-grid .icon {
  justify-self: start;
  color: var(--teal);
}

/* Capability strip — dark background, lime to match the heading accent */
.capability-strip .icon {
  margin-bottom: 14px;
  color: var(--lime);
}

/* Control list — dark background */
.control-list .icon {
  margin-bottom: 12px;
  color: var(--teal);
}

/* Corner icons for stepped / problem cards (kept alongside the number badge) */
.icon-corner {
  position: absolute;
  top: 22px;
  right: 22px;
}

.icon-corner svg {
  width: 56px;
  height: 56px;
}

/* Neutralize the number-badge styling that would otherwise hit these spans */
.steps-grid .icon-corner,
.problem-grid .icon-corner {
  width: auto;
  height: auto;
  margin: 0;
  background: none;
  border-radius: 0;
}

.steps-grid .icon-corner {
  color: var(--lime);
  opacity: 0.2;
}

.problem-grid .icon-corner {
  color: var(--teal);
  opacity: 0.16;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .split-grid,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
    margin-inline: calc(-1 * clamp(14px, 4vw, 28px));
    border-radius: 0;
  }

  .hero-video {
    min-height: 0;
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
  }

  .platform-visual {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .platform-visual .system-frame {
    width: min(80%, 560px);
  }

  .platform-visual .phone-preview {
    width: min(28%, 180px);
    position: relative;
    right: auto;
    bottom: auto;
  }

  .system-frame {
    inset: 0 auto auto 0;
    width: 100%;
  }

  .phone-preview {
    right: 8%;
  }

  .problem-grid,
  .steps-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-strip,
  .app-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    gap: 12px;
    padding-inline: 14px;
  }

  .brand {
    width: 164px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.9rem;
  }

  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 2.7rem);
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 0;
    margin-inline: calc(-1 * clamp(14px, 4vw, 28px));
    border-radius: 0;
  }

  .hero-video {
    min-height: 0;
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
  }

  .platform-visual {
    min-height: auto;
    flex-direction: column;
    gap: 24px;
  }

  .platform-visual .system-frame {
    width: min(95%, 500px);
  }

  .platform-visual .phone-preview {
    width: min(35%, 200px);
    position: relative;
    right: auto;
    bottom: auto;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .fleet-panel {
    min-height: 150px;
  }

  .phone-preview {
    right: 4%;
    width: 184px;
    min-height: 350px;
  }

  .app-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }

  .app-icon span {
    font-size: 26px;
  }

  .phone-screen {
    min-height: 330px;
  }

  .problem-grid,
  .steps-grid,
  .benefit-grid,
  .control-list,
  .testimonial-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .problem-grid article,
  .steps-grid article,
  .benefit-grid article {
    min-height: auto;
  }

  .steps-grid {
    gap: 18px;
  }

  .steps-grid article {
    padding: 24px;
  }

  .steps-grid span {
    margin-bottom: 18px;
    margin-top: 0;
  }

  .mini-app,
  .browser-app {
    height: 300px;
  }

  .app-launcher-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    left: 10%;
    bottom: 12px;
  }

  .contact-grid {
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal-item {
    opacity: 1;
    transform: none;
  }

  /* Steps cards always visible, no slide, when motion is reduced */
  .js .steps-grid article {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ------------------------------------------------------------------ *
 * Floating section mark — one oversized line-icon per section that
 * represents that section's content, corner-bleeding, alternating
 * sides, drifting on scroll (parallax +
 * slight rotation). Injected by script.js. Sits at z-index:-1 so on
 * dark sections it stays beneath the cursor-glow grid (z-index:0) and
 * all content (z-index:1).
 * ------------------------------------------------------------------ */
.section-mark {
  position: absolute;
  /* tucked into the top corner so it clears the main content column
     instead of sitting behind the headline */
  top: clamp(-130px, -7vw, -48px);
  z-index: -1;
  width: clamp(240px, 31vw, 440px);
  aspect-ratio: 1 / 1;
  color: var(--ink);
  opacity: 0.07;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, var(--mark-shift, 0px), 0)
    rotate(var(--mark-rot, 0deg));
}

.section-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.section-mark--left {
  left: clamp(-150px, -8vw, -64px);
}

.section-mark--right {
  right: clamp(-150px, -8vw, -64px);
}

/* On the navy sections the mark reads as a soft white ghost, a touch
   stronger than on paper so it survives under the lit grid. */
.section-dark .section-mark {
  color: #ffffff;
  opacity: 0.09;
}

@media (prefers-reduced-motion: reduce) {
  /* Keep the mark visible but stop the scroll-driven drift/rotation. */
  .section-mark {
    transform: none !important;
  }
}

/* ------------------------------------------------------------------ *
 * Ambient glow line — a faint teal beam that drifts upward and loops
 * on the navy sections. Injected by script.js, one per dark section,
 * staggered via --beam-delay. Sits behind content (z-index:0).
 * ------------------------------------------------------------------ */
.section-beam {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.section-beam::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 7px;
  background: linear-gradient(
    90deg,
    transparent 6%,
    rgba(0, 194, 168, 0.5) 50%,
    transparent 94%
  );
  box-shadow: 0 0 34px 6px rgba(0, 194, 168, 0.28);
  filter: blur(7px);
  opacity: 0;
  animation: beam-rise 7.5s linear infinite;
  animation-delay: var(--beam-delay, 0s);
}

@keyframes beam-rise {
  0% {
    top: 100%;
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  80% {
    opacity: 0.85;
  }
  100% {
    top: -4%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-beam {
    display: none;
  }
}
