:root {
  --ink: #111827;
  --muted: #637083;
  --line: #d8e0ec;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --blue: #2245c4;
  --blue-dark: #1d2855;
  --red: #c52228;
  --red-dark: #961b1e;
  --green: #12966c;
  --shadow: 0 24px 70px rgba(16, 30, 58, 0.13);
  --font-heading: "Outfit", Helvetica, Arial, sans-serif;
  --font-body: "Montserrat", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  .primary-button,
  .signin-button {
    transition: none;
  }

  .primary-button:hover,
  .signin-button:hover {
    transform: none;
  }
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(197, 34, 40, 0.08), transparent 32rem),
    linear-gradient(210deg, rgba(34, 69, 196, 0.12), transparent 34rem),
    linear-gradient(180deg, #f5f5f5 0%, #ffffff 45%, #f3f6fb 100%);
  font-family: var(--font-body);
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: #000000;
}

h1 {
  max-width: 12em;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 em {
  font-style: normal;
  color: var(--blue);
}

h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.12;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  font-weight: 500;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.85rem 0;
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(216, 224, 236, 0.8);
  border-radius: 8px;
}

.brand-lockup img {
  width: 148px;
  height: auto;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
  padding-right: 0.35rem;
  border-left: 1px solid var(--line);
  padding-left: 0.85rem;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #000000;
}

.brand-text span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #3d4b62;
  font-size: 0.9rem;
  font-weight: 600;
}

.top-nav a:hover {
  color: var(--red);
}

.signin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0 0.95rem;
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid #c7d3e4;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.signin-button:hover {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.hero,
.section,
.pilot-band,
.free-preview {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0 3rem;
}

.brand-signal {
  margin-bottom: 0.85rem;
  color: var(--blue-dark);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 40rem;
  margin-bottom: 1.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #3d4b62;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.68rem;
  color: #344054;
  background: #eef4fb;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.35rem;
  color: #ffffff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(34, 69, 196, 0.22);
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.primary-button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.primary-button.light {
  color: var(--blue-dark);
  background: #ffffff;
  border-color: #ffffff;
}

.primary-button.light:hover {
  background: #eef4fb;
}

.pilot-band,
.journey-card,
.benefit-list article {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pilot-band {
  display: grid;
  gap: 1.3rem;
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
}

.pilot-flow-heading {
  max-width: none;
  white-space: nowrap;
}

.flow-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.flow-mini article {
  min-height: 9.4rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-mini span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
  background: var(--red);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.flow-mini strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 1.6rem;
}

.one-line-heading {
  max-width: none;
  white-space: nowrap;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 1.2rem;
  align-items: start;
  border-top: 1px solid var(--line);
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-list article {
  padding: 1.25rem;
  box-shadow: none;
}

.labs-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
}

.labs-context article {
  min-height: 13rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(16, 30, 58, 0.08);
}

#inmotion-labs {
  scroll-margin-top: 5.5rem;
}

.labs-context article:first-child {
  background:
    linear-gradient(135deg, rgba(197, 34, 40, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.94);
}

.labs-context article:last-child {
  background:
    linear-gradient(135deg, rgba(34, 69, 196, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.94);
}

.labs-context h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.labs-context p {
  margin-bottom: 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.journey-card {
  display: grid;
  align-content: start;
  min-height: 15rem;
  padding: 1rem;
  box-shadow: 0 14px 36px rgba(16, 30, 58, 0.1);
}

.journey-graphic {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.25;
  margin-bottom: 1rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(34, 69, 196, 0.12), rgba(197, 34, 40, 0.08)),
    #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.journey-graphic span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: #ffffff;
  background: var(--blue);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.journey-graphic i {
  position: absolute;
  inset: auto 0.8rem 0.8rem;
  height: 0.7rem;
  background: var(--red);
  border-radius: 999px;
}

.journey-graphic.source span {
  background: #101e3a;
}

.journey-graphic.deploy span {
  background: var(--red);
}

.journey-graphic.url span {
  background: #0f8b68;
}

.journey-graphic.alerts span {
  background: var(--blue-dark);
}

.journey-card h3 {
  font-size: 0.98rem;
  text-wrap: balance;
}

.journey-card p {
  margin-bottom: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.free-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 5rem;
  padding: clamp(2rem, 5vw, 3rem);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(197, 34, 40, 0.88), transparent 50%),
    linear-gradient(135deg, #1d2855, #0f1633);
  border-radius: 8px;
}

.free-preview h2,
.free-preview p {
  color: #ffffff;
}

.free-preview p {
  opacity: 0.9;
}

.free-preview a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1200px, calc(100% - 2rem));
  margin: -2.5rem auto 3rem;
  padding: 1rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-footer a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 1120px) {
  .journey-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .top-nav {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .brand-text {
    display: none;
  }

  .split-section,
  .flow-mini,
  .benefit-list,
  .labs-context,
  .journey-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 2.4rem;
  }

  .one-line-heading,
  .pilot-flow-heading {
    white-space: normal;
  }

  .site-header,
  .hero,
  .section,
  .pilot-band,
  .labs-context,
  .free-preview {
    width: min(100% - 1rem, 1200px);
  }

  .brand-lockup img {
    width: 134px;
  }

  .hero {
    padding-top: 2rem;
  }

  .free-preview {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: -2rem;
  }
}
