:root {
  --ink: #101426;
  --muted: #5c6478;
  --line: #e3e6ef;
  --accent: #6d4aff;
  --accent-dark: #5334d5;
  --night: #0c1226;
  --white: #ffffff;
  --page-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

nav .nav-cta {
  padding: 9px 15px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

nav .nav-cta:hover,
nav .nav-cta:focus-visible {
  color: var(--white);
  background: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 4.5vw, 64px) 0 clamp(56px, 5vw, 72px);
}

.hero-content {
  min-width: 0;
}

.driver-frame {
  width: min(100%, 486px);
  height: auto;
  aspect-ratio: 486 / 612;
  display: block;
  border: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 780;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 750;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(19px, 2.3vw, 23px);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  color: var(--white);
  background: var(--accent);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.hero-note {
  display: inline-block;
  margin: 0 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.product,
.workflow,
.use-cases,
.contact {
  border-top: 1px solid var(--line);
}

.product {
  padding: clamp(44px, 5vw, 64px) 0;
}

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

.section-intro > p:last-child {
  color: var(--muted);
  font-size: 19px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.benefits article {
  min-height: 196px;
  padding: 24px;
  background: var(--white);
}

.benefits p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.number {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(44px, 5vw, 64px) 0;
}

.workflow ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: workflow;
}

.workflow li {
  position: relative;
  padding: 0 0 32px 60px;
  border-bottom: 1px solid var(--line);
  counter-increment: workflow;
}

.workflow li + li {
  padding-top: 32px;
}

.workflow li::before {
  content: counter(workflow, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.workflow li + li::before {
  top: 33px;
}

.workflow li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.workflow h3 {
  margin-bottom: 8px;
}

.workflow li p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.use-cases {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: end;
  padding: clamp(44px, 5vw, 64px) 0;
}

.use-cases h2 {
  max-width: 17ch;
  margin-bottom: 0;
}

.use-cases > p {
  margin-bottom: 5px;
  color: var(--muted);
}

.contact {
  width: calc(100% + 64px);
  margin: 0 0 40px -32px;
  padding: clamp(44px, 4vw, 56px) 32px;
  color: var(--white);
  background: var(--night);
  border: 0;
  border-radius: 18px;
  text-align: center;
}

.contact .eyebrow {
  color: #a99aff;
}

.contact h2 {
  max-width: 17ch;
  margin-inline: auto;
}

.contact p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 30px;
  color: #b9c0d5;
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--white);
  background: var(--accent);
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0;
}

footer p:last-child {
  text-align: right;
}

footer a:hover,
footer a:focus-visible {
  color: var(--accent-dark);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 760px;
  }

}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .site-header {
    min-height: 60px;
  }

  nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    gap: 32px;
    padding: 40px 0 52px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .hero-note {
    display: block;
    margin: 16px 0 0;
  }

  .benefits,
  .workflow,
  .use-cases {
    grid-template-columns: 1fr;
  }

  .benefits {
    margin-top: 24px;
  }

  .benefits article {
    min-height: 0;
    padding: 26px;
  }

  .number {
    margin-bottom: 28px;
  }

  .workflow,
  .use-cases {
    gap: 24px;
  }

  .use-cases > p {
    margin-bottom: 0;
  }

  .contact {
    width: calc(100% + 32px);
    margin: 0 0 32px -16px;
    padding-inline: 24px;
    border-radius: 0;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  footer p:last-child {
    text-align: left;
  }
}

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

  .button {
    transition: none;
  }

}
