/* ==========================================================================
   FleetShare – styles
   Tokens come from the Figma file "FleetShare — Landing".
   Desktop is designed at 1440px, mobile at 440px.
   ========================================================================== */

:root {
  /* colour */
  --purple: #520fde;
  --purple-dark: #3f0aae;
  --purple-mid: #6c2cf1;
  --purple-tint: #f1eaff;
  --lavender: #e3d6ff;
  --lilac: #c5b1ef;
  --lilac-grey: #c4b6e1;
  --ink: #131a3a;
  --heading: #050505;
  --text: #000;
  --text-dark: #201536;
  --text-muted: #777d8f;
  --white: #fff;
  --border: #cbd0d9;
  --field-border: #cecdd2;
  --field-label: #121718;
  --field-text: #565458;

  /* type */
  --font: 'Zalando Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-hero: 58px;
  --fs-statement: 38px;
  --fs-h2: 32px;
  --fs-h3: 28px;
  --fs-lead: 20px;
  --fs-body: 16px;

  /* layout */
  --container: 1240px;
  --gutter: 24px;
  --header-h: 80px;
  --radius-card: 16px;
  --shadow-header: 0 4px 188px 15px rgba(191, 192, 205, 0.15);
}

@media (max-width: 1100px) {
  :root {
    --fs-hero: 44px;
    --fs-statement: 30px;
    --fs-h2: 28px;
    --fs-h3: 24px;
    --fs-lead: 18px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }
}

@media (max-width: 600px) {
  :root {
    --fs-hero: 24px;
    --fs-statement: 20px;
    --fs-h2: 20px;
    --fs-h3: 16px;
    --fs-lead: 14px;
    --gutter: 28px;
  }
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: clip; /* decorative shapes bleed past the viewport edges */
}

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

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--purple);
  color: var(--white);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.section-title {
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.25;
  color: var(--heading);
}

.statement {
  font-weight: 600;
  font-size: var(--fs-statement);
  line-height: 1.25;
  color: var(--purple);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
}

/* Decorative compositions (hero photo, app mockups) are laid out on the
   Figma canvas in px. --u is one design pixel, scaled to the box width. */
.stage {
  position: relative;
  container-type: inline-size;
  pointer-events: none;
}

.stage > * {
  position: absolute;
  top: calc(var(--y) * 100cqw / var(--w));
  left: calc(var(--x) * 100cqw / var(--w));
  width: calc(var(--sw) * 100cqw / var(--w));
  height: calc(var(--sh) * 100cqw / var(--w));
  max-width: none;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
}

.stage__card {
  border-radius: calc(var(--radius, 22) * 100cqw / var(--w));
}

/* rounded photo, rotated, with the image cropped as in Figma */
.stage__photo {
  overflow: hidden;
  border-radius: calc(23.5 * 100cqw / var(--w));
}

.stage__photo img {
  position: absolute;
  top: -18.93%;
  left: -6.87%;
  width: 105.47%;
  height: 136.28%;
  max-width: none;
  object-fit: cover;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 200px;
  padding: 10px 24px;
  border: 1px solid var(--purple);
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
  background: var(--purple);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
}

.btn--soft {
  background: var(--purple-tint);
  color: var(--purple);
}

.btn--soft:hover {
  background: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 17px;
}

@media (max-width: 600px) {
  .btn {
    min-height: 32px;
    min-width: 128px;
    padding: 6px 16px;
    font-size: 12px;
  }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(11px);
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding-inline: 52px 100px;
}

.site-header__logo {
  flex: none;
}

.site-header__logo img {
  width: 277px;
  height: 24px;
}

.site-header__mark {
  display: none;
}

.menu-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
}

.site-nav__links {
  display: flex;
  gap: 28px;
  margin-inline: auto;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  line-height: 1.26;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current='page'] {
  color: var(--purple);
}

.site-nav__links a[aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header__cta {
  min-width: 140px;
  padding-inline: 18px;
  font-weight: 400;
  font-size: 16px;
}

@media (max-width: 1180px) {
  .site-header__inner {
    padding-inline: 24px;
  }

  .site-header__logo img {
    width: 200px;
    height: auto;
  }

  .site-nav__links {
    gap: 20px;
  }
}

@media (max-width: 960px) {
  .site-header__inner {
    gap: 7px;
    padding-inline: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .site-header__logo img {
    display: none;
  }

  .site-header__logo .site-header__mark {
    display: block;
    width: 27px;
    height: 18px;
  }

  .site-header__end {
    margin-left: auto;
    gap: 26px;
  }

  .site-header__cta {
    min-width: 108px;
    min-height: 32px;
    padding: 6px 10px;
    font-weight: 500;
    font-size: 12px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    box-shadow: 0 24px 40px rgba(82, 15, 222, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__links {
    flex-direction: column;
    gap: 0;
    margin: 0;
  }

  .site-nav__links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #ece6fb;
    font-size: 18px;
  }
}

/* ---------- language switch ---------- */

.lang-switch {
  position: relative;
}

.lang-switch summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  list-style: none;
  cursor: pointer;
  line-height: 1.26;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch__chevron {
  width: 5px;
  height: 8px;
  transform: rotate(-90deg);
  transition: transform 0.15s;
}

.lang-switch[open] .lang-switch__chevron {
  transform: rotate(90deg);
}

.lang-switch__menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 140px;
  padding: 6px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(19, 26, 58, 0.18);
}

.lang-switch__menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
}

.lang-switch__menu a:hover {
  background: var(--purple-tint);
}

.lang-switch__menu a[aria-current='true'] {
  font-weight: 600;
  color: var(--purple);
}

/* header variant: dark icons */
.site-header .lang-switch {
  color: var(--ink);
}

.site-header .lang-switch__short,
.site-header .lang-switch__icon--light {
  display: none;
}

.site-header .lang-switch__menu {
  left: auto;
  right: 0;
}

@media (max-width: 960px) {
  .site-header .lang-switch {
    font-size: 12px;
  }

  .site-header .lang-switch__name {
    display: none;
  }

  .site-header .lang-switch__short {
    display: inline;
  }
}

/* footer variant: light icons */
.site-footer .lang-switch {
  color: var(--white);
}

.site-footer .lang-switch__short,
.site-footer .lang-switch__icon--dark {
  display: none;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--purple);
  color: var(--white);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 375px repeat(2, max-content);
  column-gap: 88px;
  max-width: 1440px;
  min-height: 310px;
  margin-inline: auto;
  padding: 52px 100px 60px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.site-footer__logo img {
  width: 229px;
  height: 22px;
}

.site-footer__heading {
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.6;
}

.site-footer__col ul {
  display: grid;
  gap: 8px;
  font-size: 18px;
}

.site-footer__col a {
  text-decoration: none;
}

.site-footer__col a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .site-footer__inner {
    grid-template-columns: 1fr repeat(2, max-content);
    column-gap: 56px;
    padding-inline: 48px;
  }
}

@media (max-width: 760px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, max-content);
    column-gap: 40px;
    row-gap: 32px;
    min-height: 0;
    padding: 40px var(--gutter) 60px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer__inner {
    column-gap: 28px;
  }

  .site-footer__logo img {
    width: 157px;
    height: auto;
  }

  .site-footer__heading {
    font-size: 13px;
  }

  .site-footer__col ul {
    gap: 6px;
    font-size: 14px;
  }
}

/* ---------- shared: purple hero band ---------- */

.hero {
  position: relative;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 562px;
  background: var(--purple);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 39px), 0 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 588px) minmax(0, 670px);
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding-top: 92px;
}

.hero__title {
  font-weight: 600;
  font-size: var(--fs-hero);
  line-height: 1.25;
}

.hero__text {
  max-width: 457px;
  margin-top: 20px;
}

.hero__cta {
  margin-top: 32px;
}

.hero__trusted {
  margin-top: 32px;
  font-weight: 500;
  font-size: 15px;
}

.hero__logos {
  display: flex;
  align-items: center;
  column-gap: 26px;
  margin-top: 13px;
}

.hero__logos li:nth-child(1) img {
  width: 129px;
  height: 30px;
}

.hero__logos li:nth-child(2) img {
  width: 113px;
  height: 27px;
}

.hero__logos li:nth-child(3) img {
  width: 44px;
  height: 44px;
}

/* photo stack — Figma origin (720, 202) */
.hero__visual {
  --w: 670;
  width: calc(100% + 50px);
  aspect-ratio: 670 / 470;
  margin: 30px -50px -30px 0; /* bleeds past the container like in Figma */
}

.hero__card--back {
  --x: 248;
  --y: 205;
  --sw: 483;
  --sh: 263;
  --r: 2.96deg;
  background: var(--purple-mid);
  opacity: 0.2;
}

.hero__card--mid {
  --x: 303;
  --y: 185;
  --sw: 483;
  --sh: 324;
  --r: -2.31deg;
  background: var(--purple-mid);
}

.hero__photo {
  --x: 399;
  --y: 231;
  --sw: 517.5;
  --sh: 433;
  --r: 2.7deg;
}

.badge {
  --sw: 44.5;
  --sh: 44.5;
}

.hero__badge--car {
  --x: 132;
  --y: 91;
  --r: -5.47deg;
}

.hero__badge--bike {
  --x: 642;
  --y: 203;
  --r: 7deg;
}

.hero__badge--van {
  --x: 136;
  --y: 357;
  --r: -4.28deg;
}

@media (max-width: 960px) {
  .hero::before {
    height: 100%;
    max-height: 640px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding-top: 34px;
    text-align: center;
  }

  .hero__title {
    max-width: 560px;
  }

  .hero__text {
    margin-inline: auto;
  }

  .hero__logos {
    justify-content: center;
  }

  .hero__visual {
    width: 100%;
    max-width: 560px;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .hero::before {
    max-height: 378px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
  }

  .hero__title {
    max-width: 278px;
  }

  .hero__text {
    max-width: 278px;
    margin-top: 16px;
    font-size: 12px;
  }

  .hero__cta {
    margin-top: 20px;
  }

  .hero__trusted {
    margin-top: 20px;
    font-size: 12px;
  }

  .hero__logos {
    gap: 18px;
    margin-top: 8px;
  }

  .hero__logos li:nth-child(1) img {
    width: 86px;
    height: auto;
  }

  .hero__logos li:nth-child(2) img {
    width: 75px;
    height: auto;
  }

  .hero__logos li:nth-child(3) img {
    width: 30px;
    height: 30px;
  }

  .hero__visual {
    max-width: 330px;
    margin-top: 12px;
  }
}

/* ---------- home: intro ---------- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 518px) minmax(0, 644px);
  justify-content: space-between;
  gap: 32px;
  padding-top: 78px;
  padding-bottom: 68px;
  border-bottom: 0.5px solid var(--border);
}

@media (max-width: 960px) {
  .intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 56px;
  }
}

@media (max-width: 600px) {
  .intro {
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .intro .lead {
    font-size: 16px;
    line-height: 1.2;
  }
}

/* ---------- feature lists (icon + title + text) ---------- */

.feature-list {
  display: grid;
  gap: 90px;
}

.feature {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 7px;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}

.feature__title {
  align-self: center;
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.25;
  color: var(--heading);
}

.feature__text {
  grid-column: 2;
  max-width: 655px;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .feature-list {
    gap: 24px;
  }

  .feature {
    grid-template-columns: 16px minmax(0, 1fr);
    column-gap: 7px;
    row-gap: 4px;
  }

  .feature__icon,
  .feature__icon img {
    width: 16px;
    height: 16px;
  }

  .feature__title {
    font-weight: 500;
  }
}

/* ---------- home: split sections (text + app mockups) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.split__text .section-title {
  max-width: 457px;
  margin-bottom: 36px;
}

.capabilities {
  padding-top: 74px;
}

.capabilities .split {
  grid-template-columns: minmax(0, 699px) minmax(0, 440px);
  justify-content: space-between;
  align-items: start;
}

.capabilities .split__text {
  padding-top: 24px;
}

.use-cases {
  margin-top: -40px;
}

.use-cases .split {
  grid-template-columns: minmax(0, 690px) minmax(0, 532px);
  align-items: start;
  gap: 18px;
}

/* the mockups start 40px left of the container, as in Figma */
.use-cases .mockup-map {
  width: calc(100% + 40px);
  margin-left: -40px;
}

.use-cases .split__text {
  padding-top: 111px;
}

.use-cases .section-title {
  max-width: none;
  margin-left: 10px;
  margin-bottom: 44px;
}

.use-cases .feature-list {
  gap: 20px;
}

.use-cases .feature {
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 12px;
}

.use-cases .feature__icon {
  width: 44px;
  height: 42px;
}

.use-cases .feature__text {
  max-width: 523px;
}

/* phone mockup — Figma origin (900, 1150) */
.mockup-phone {
  --w: 440;
  aspect-ratio: 440 / 820;
}

.mockup-phone__card--back {
  --x: 220;
  --y: 409;
  --sw: 392;
  --sh: 790;
  --r: 2.21deg;
  --radius: 40;
  background: var(--lilac-grey);
  opacity: 0.8;
}

.mockup-phone__card--front {
  --x: 220;
  --y: 409;
  --sw: 392;
  --sh: 790;
  --r: -1.69deg;
  --radius: 40;
  background: var(--purple-tint);
  opacity: 0.8;
}

.mockup-phone__screen {
  --x: 220;
  --y: 409;
  --sw: 357.5;
  --sh: 755.5;
}

/* map + radar mockups — Figma origin (60, 1930) */
.mockup-map {
  --w: 730;
  aspect-ratio: 730 / 630;
}

.mockup-map > .stage__card {
  --radius: 40;
  opacity: 0.8;
}

.mockup-map__card--1 {
  --x: 229;
  --y: 359;
  --sw: 392;
  --sh: 476;
  --r: -1.69deg;
  background: var(--purple-tint);
}

.mockup-map__card--2 {
  --x: 229;
  --y: 359;
  --sw: 392;
  --sh: 476;
  --r: 5.11deg;
  background: var(--lilac);
}

.mockup-map__card--3 {
  --x: 488;
  --y: 277;
  --sw: 392;
  --sh: 476;
  --r: -6.79deg;
  background: var(--lilac);
}

.mockup-map__card--4 {
  --x: 486;
  --y: 297;
  --sw: 411;
  --sh: 499;
  --r: 3.03deg;
  background: var(--lilac);
  opacity: 0.2 !important;
}

.mockup-map__screen {
  --x: 481;
  --y: 308;
  --sw: 420.5;
  --sh: 527.5;
}

.mockup-map__radar {
  --x: 230;
  --y: 362;
  --sw: 419.5;
  --sh: 468;
}

@media (max-width: 960px) {
  .split,
  .capabilities .split,
  .use-cases .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .use-cases .split__media {
    order: 1;
  }

  .use-cases .section-title {
    margin-left: 0;
  }

  .split__text .section-title {
    margin-bottom: 40px;
  }

  .mockup-phone {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .mockup-map,
  .use-cases .mockup-map {
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .capabilities,
  .use-cases {
    margin-top: 0;
    padding-top: 64px;
  }

  .capabilities .split__text,
  .use-cases .split__text {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .capabilities,
  .use-cases {
    padding-top: 48px;
  }

  .split__text .section-title,
  .use-cases .section-title {
    margin-bottom: 20px;
  }

  .use-cases .feature-list {
    gap: 24px;
  }

  .use-cases .feature {
    grid-template-columns: 20px minmax(0, 1fr);
    row-gap: 4px;
  }

  .use-cases .feature__icon,
  .use-cases .feature__icon img {
    width: 20px;
    height: 20px;
  }

  .mockup-phone {
    width: min(100%, 260px);
  }
}

/* ---------- home: pricing ---------- */

.pricing {
  padding-top: 44px;
}

.pricing__head {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 1022px;
  margin-inline: auto;
  text-align: center;
}

.pricing__eyebrow {
  color: var(--text-muted);
}

.pricing__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 45px;
}

.plan {
  min-height: 372px;
  padding: 42px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
}

.plan__name {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--heading);
}

.plan__text {
  max-width: 303px;
  margin-top: 24px;
  font-size: 18px;
  color: var(--text-muted);
}

.plan__price {
  margin-top: 28px;
  font-size: 18px;
  color: var(--text-muted);
}

.plan__price strong {
  display: block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--purple);
}

@media (max-width: 960px) {
  .pricing__plans {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .plan {
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  .pricing {
    padding-top: 48px;
  }

  .pricing__eyebrow {
    font-size: 12px;
  }

  .pricing__head .lead {
    font-size: 16px;
  }

  .pricing__plans {
    grid-template-columns: repeat(3, 223px);
    gap: 20px;
    margin-top: 32px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }

  .plan {
    min-height: 245px;
    padding: 24px 24px 28px;
    border-radius: 12px;
  }

  .plan__name {
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0;
    text-transform: none;
  }

  .plan__text,
  .plan__price {
    margin-top: 12px;
    font-size: 12px;
  }

  .plan__price {
    margin-top: 20px;
  }
}

/* ---------- shared: lavender CTA band ---------- */

.cta-band {
  position: relative;
  padding: 147px var(--gutter);
  background: var(--lavender);
  clip-path: polygon(0 70px, 100% 0, 100% calc(100% - 70px), 0 100%);
  text-align: center;
}

.cta-band__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 36px;
  max-width: 887px;
  margin-inline: auto;
}

.cta-band__badge {
  position: absolute;
  width: 44.5px;
  height: 44.5px;
}

.cta-band__badge--van {
  top: 111px;
  left: -80px;
  transform: rotate(-4.28deg);
}

.cta-band__badge--bike {
  top: 109px;
  right: -55px;
  transform: rotate(7deg);
}

/* Home: the "Why" card overlaps the bottom of the band */
.page-home .cta-band {
  margin-top: 122px;
}

/* Contact: the band sits on the form panel and runs into the footer */
.cta-band--flat-bottom {
  margin-top: -243px;
  padding-bottom: 72px;
  clip-path: polygon(0 70px, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 1100px) {
  .cta-band__badge {
    display: none;
  }
}

@media (max-width: 600px) {
  .cta-band {
    padding-top: 90px;
    padding-bottom: 110px;
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  }

  .cta-band__inner {
    gap: 20px;
  }

  .page-home .cta-band {
    margin-top: 64px;
  }

  .cta-band--flat-bottom {
    margin-top: -120px;
    padding-bottom: 56px;
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  }
}

/* ---------- home: why choose ---------- */

.why {
  position: relative;
  margin-top: -90px;
  margin-bottom: 75px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
}

.why__title {
  padding: 50px 24px 45px;
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}

.why__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why__item {
  min-height: 573px;
  padding: 88px 28px 40px;
}

.why__item + .why__item {
  border-left: 0.5px solid var(--border);
}

.why__item img {
  width: 88px;
  height: 88px;
}

.why__item h3 {
  margin-top: 16px;
  font-weight: 500;
  font-size: 25px;
  line-height: 1.25;
  color: var(--heading);
}

.why__item p {
  margin-top: 8px;
  font-size: 18px;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .why__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why__item {
    min-height: 0;
    padding-top: 48px;
  }

  .why__item:nth-child(3) {
    border-left: 0;
  }

  .why__item:nth-child(n + 3) {
    border-top: 0.5px solid var(--border);
  }
}

@media (max-width: 600px) {
  .why {
    margin-top: -80px;
    margin-bottom: 48px;
  }

  .why__title {
    padding: 32px 20px 28px;
  }

  .why__list {
    grid-template-columns: repeat(4, 260px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .why__item {
    padding: 32px 24px 36px;
    scroll-snap-align: start;
  }

  .why__item:nth-child(3) {
    border-left: 0.5px solid var(--border);
  }

  .why__item:nth-child(n + 3) {
    border-top: 0;
  }

  .why__item img {
    width: 56px;
    height: 56px;
  }

  .why__item h3 {
    font-size: 20px;
  }

  .why__item p {
    font-size: 12px;
  }
}

/* ---------- about ---------- */

.about-hero {
  position: relative;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* 503px at the 840px-wide photo stack, scaling down with it */
  height: calc(min(100vw - 2 * var(--gutter), 840px) * 503 / 840);
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}

/* photo stack — Figma origin (300, 80) */
.about-hero__visual {
  --w: 840;
  width: min(100% - 2 * var(--gutter), 840px);
  aspect-ratio: 840 / 520;
  margin-inline: auto;
}

.about-hero__card--back {
  --x: 419;
  --y: 219;
  --sw: 592;
  --sh: 381;
  --r: -2.31deg;
  background: var(--purple-mid);
  opacity: 0.8;
}

.about-hero__card--mid {
  --x: 410;
  --y: 253;
  --sw: 598;
  --sh: 321;
  --r: 2.96deg;
  background: var(--purple-mid);
  opacity: 0.4;
}

.about-hero__photo {
  --x: 433;
  --y: 283;
  --sw: 517.5;
  --sh: 433;
  --r: 2.7deg;
}

.about-hero .badge {
  --sw: 99;
  --sh: 99;
}

.about-hero__badge--car {
  --x: 132;
  --y: 113;
  --r: -5.47deg;
}

.about-hero__badge--bike {
  --x: 688;
  --y: 253;
  --r: 7deg;
}

.about-hero__badge--van {
  --x: 173;
  --y: 361;
  --r: -4.28deg;
}

.mission {
  position: relative;
  max-width: 1223px;
  margin-inline: auto;
  padding-top: 25px;
  text-align: center;
}

.mission .statement {
  max-width: 1064px;
  margin-inline: auto;
}

.mission__text {
  margin-top: 24px;
}

.about-band {
  margin-top: 0;
  padding: 124px var(--gutter) 124px;
  background: var(--lavender);
  clip-path: polygon(0 70px, 100% 0, 100% calc(100% - 70px), 0 100%);
}

.about-band p {
  max-width: 1231px;
  margin-inline: auto;
  font-weight: 500;
  font-size: 24px;
  color: var(--text-dark);
}

.team {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 713px);
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  padding-top: 55px;
}

.team__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 470 / 425;
  margin-top: 8px;
  border-radius: 57px;
  object-fit: cover;
  object-position: left center;
}

.team__text {
  display: grid;
  gap: 30px;
  color: var(--text-dark);
}

.vision {
  max-width: 1189px;
  margin-inline: auto;
  padding-top: 100px;
  text-align: center;
}

.vision__text {
  margin-top: 21px;
}

.values {
  padding-top: 80px;
  padding-bottom: 100px;
}

.values .statement {
  text-align: center;
}

.values__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 537px));
  justify-content: start;
  gap: 88px 86px;
  margin-top: 35px;
  padding-inline: 20px 60px;
}

.values .feature__text {
  max-width: 493px;
}

@media (max-width: 960px) {
  .about-band {
    padding-block: 96px;
  }

  .about-band p {
    font-size: 20px;
  }

  .team {
    grid-template-columns: minmax(0, 1fr);
  }

  .team__photo {
    max-width: 470px;
    border-radius: 40px;
  }

  .values__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-inline: 0;
  }
}

@media (max-width: 600px) {
  .mission {
    padding-top: 8px;
  }

  .mission__text,
  .vision__text,
  .team__text {
    font-size: 16px;
    line-height: 1.2;
  }

  .about-band {
    padding-block: 64px;
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  }

  .about-band p {
    font-size: 16px;
  }

  .team {
    padding-top: 32px;
  }

  .team__photo {
    border-radius: 24px;
  }

  .team__text {
    gap: 16px;
  }

  .vision {
    padding-top: 56px;
  }

  .values {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .values__list {
    gap: 24px;
  }
}

/* ---------- contact ---------- */

.contact-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 588px) minmax(0, 420px);
  justify-content: space-between;
  align-items: center;
  width: min(100% - 2 * var(--gutter), 1330px);
  min-height: 388px;
  margin: 45px auto 0;
  padding: 80px 145px 80px;
  border-radius: 50px;
  background: var(--purple);
  color: var(--white);
}

.contact-hero__text {
  max-width: 502px;
  margin-top: 16px;
}

/* vehicle tiles — Figma origin (793, 125) */
.contact-hero__tiles {
  --w: 420;
  width: 100%;
  aspect-ratio: 420 / 200;
}

.contact-hero .badge {
  --sw: 144;
  --sh: 144;
}

.contact-hero__tile--car {
  --x: 98;
  --y: 91;
  --r: -5.47deg;
}

.contact-hero__tile--bike {
  --x: 223;
  --y: 129;
  --r: 7deg;
}

.contact-hero__tile--van {
  --x: 350;
  --y: 79;
  --r: -5.31deg;
}

.contact-panel {
  margin-top: -288px;
  padding: 333px 0 380px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(to bottom, var(--lavender) 21%, var(--white));
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 272px));
  gap: 22px 16px;
  width: min(100% - 2 * var(--gutter), 1040px);
  margin-inline: auto;
}

.field {
  display: grid;
  gap: 4px;
}

.field--wide {
  grid-column: 1 / -1;
  max-width: 560px;
}

.field label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--field-label);
}

.field input,
.phone-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--field-border);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
}

.field input:focus,
.phone-input:focus-within {
  border-color: var(--purple);
  outline: none;
}

.field input:focus-visible,
.phone-input:focus-within {
  box-shadow: 0 0 0 3px rgba(82, 15, 222, 0.15);
}

.field input::placeholder {
  color: var(--field-border);
}

.phone-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 13px;
}

.phone-input__flag {
  flex: none;
  width: 30px;
  height: 22px;
  border-radius: 2px;
  object-fit: cover;
}

.phone-input__flag[hidden] {
  display: none;
}

.phone-input select {
  flex: none;
  height: 100%;
  padding: 0 24px 0 0;
  border: 0;
  background: url('../assets/icons/chevron-down.svg') no-repeat right center / 20px 20px;
  color: var(--field-text);
  font-size: 16px;
  appearance: none;
  cursor: pointer;
}

.phone-input select:focus {
  outline: none;
}

.phone-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 0 0 6px;
  border: 0;
  box-shadow: none !important;
}

.contact-form__submit {
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 240px;
  margin-top: 13px;
}

@media (max-width: 1100px) {
  .contact-hero {
    padding-inline: 64px;
  }
}

@media (max-width: 960px) {
  .contact-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 56px 40px;
    border-radius: 32px;
  }

  .contact-hero__tiles {
    max-width: 360px;
  }
}

@media (max-width: 600px) {
  .contact-hero {
    margin-top: 24px;
    padding: 40px 24px;
    border-radius: 24px;
  }

  .contact-hero__text {
    font-size: 14px;
  }

  .contact-hero__tiles {
    max-width: 260px;
  }

  .contact-panel {
    padding-bottom: 200px;
  }

  .contact-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form__submit {
    justify-self: stretch;
    min-height: 48px;
    font-size: 16px;
  }
}
