:root {
  --ink: #0c1726;
  --muted: #536173;
  --line: #d9e2ec;
  --paper: #f6f8fb;
  --white: #ffffff;
  --brand: #6f9fda;
  --brand-dark: #315e9b;
  --accent: #22a178;
  --shadow: 0 22px 70px rgba(9, 22, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(12, 23, 38, 0.94);
  box-shadow: 0 12px 34px rgba(4, 10, 18, 0.22);
  padding-block: 12px;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(132px, 17vw, 210px);
  min-width: 120px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover,
.operator-band a:hover,
.split-copy a:hover,
.service-card a:hover {
  color: var(--brand);
}

.header-cta,
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font: inherit;
}

.header-cta {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 13, 24, 0.93) 0%, rgba(6, 13, 24, 0.74) 42%, rgba(6, 13, 24, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 13, 24, 0.28), rgba(6, 13, 24, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 5.2vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.8vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.primary {
  background: var(--brand);
  color: #06101f;
  box-shadow: 0 14px 30px rgba(111, 159, 218, 0.28);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.button.compact {
  min-height: 40px;
  padding-inline: 16px;
}

.intro {
  width: min(1180px, calc(100% - 36px));
  margin: -42px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.intro div {
  padding: 26px;
  background: var(--white);
}

.intro strong,
.intro span {
  display: block;
}

.intro strong {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.intro span,
.service-card p,
.split-copy p,
.timeline p,
.operator-band p,
.contact-copy p,
.contact-panel p {
  color: var(--muted);
}

.section,
.split-section,
.technology-band,
.visual-solutions,
.product-section,
.process,
.operator-band,
.contact {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section,
.product-section,
.process,
.contact {
  padding: 92px 0;
}

.technology-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 88px 0 20px;
}

.technology-copy p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

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

.technology-logo {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 170px;
  padding: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.technology-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.technology-logo span {
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.technology-logo img {
  display: block;
  align-self: center;
  justify-self: center;
  width: min(100%, 340px);
  max-height: 90px;
  object-fit: contain;
}

.technology-logo.carflow img {
  max-width: 240px;
}

.technology-logo.pay-logo {
  padding: 18px;
}

.technology-logo.pay-logo span {
  padding: 0;
}

.technology-logo.pay-logo img {
  width: min(100%, 420px);
  max-height: 110px;
  object-fit: contain;
  transform: scale(1.28);
}

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

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.22;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card a,
.split-copy a {
  color: var(--brand-dark);
  font-weight: 800;
}

.split-copy a {
  color: var(--brand);
}

.card-number {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--brand-dark);
  font-weight: 850;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  padding: 70px clamp(22px, 4vw, 54px);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.visual-solutions {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.visual-solution {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.visual-solution.reverse {
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
}

.visual-solution.reverse img {
  order: 2;
}

.visual-solution img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.visual-solution > div:last-child {
  align-self: center;
  padding: clamp(28px, 5vw, 58px);
}

.visual-solution h2 {
  font-size: clamp(1.8rem, 3vw, 2.85rem);
}

.visual-solution p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.visual-solution a {
  color: var(--brand-dark);
  font-weight: 800;
}

.carflow-showcase,
.pay-showcase {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #e9eef3;
}

.carflow-showcase {
  display: grid;
  place-items: center;
  background: #eef3f6;
}

.carflow-showcase > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: contain;
}

.pay-showcase {
  display: grid;
  place-items: center;
  background:
    linear-gradient(140deg, rgba(229, 239, 252, 0.92), rgba(249, 252, 255, 0.98)),
    #eef4fb;
}

.phone-frame {
  position: relative;
  width: min(248px, 64%);
  height: 390px;
  padding: 18px 9px 12px;
  overflow: hidden;
  border: 7px solid #101923;
  border-radius: 28px;
  background: #f5f8fc;
  box-shadow: 0 22px 44px rgba(9, 22, 39, 0.24);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
}

.phone-speaker {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 2;
  width: 54px;
  height: 5px;
  border-radius: 99px;
  background: #26323d;
  transform: translateX(-50%);
}

.section-partner-logo {
  display: block;
  width: min(280px, 100%);
  height: auto;
  min-height: 0;
  margin: 0 0 18px;
  border-radius: 6px;
  background: #07111f;
  object-fit: contain;
}

.product-section {
  padding: 92px 0 18px;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-card img {
  display: block;
  width: 100%;
  height: 230px;
  padding: 14px;
  background: #f0f4f7;
  object-fit: contain;
}

.product-card div {
  padding: 18px;
}

.product-card h3 {
  margin-bottom: 8px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.feature-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

.feature-list span {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(34, 161, 120, 0.14);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 26px;
  border-top: 4px solid var(--brand);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(9, 22, 39, 0.08);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 99px;
  background: #e9f2ff;
  color: var(--brand-dark);
  font-weight: 850;
}

.operator-band {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.operator-band a {
  color: var(--brand-dark);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.contact-panel {
  padding: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.business-details {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.business-details p {
  margin: 0;
  color: var(--muted);
}

.business-details p + p {
  margin-top: 8px;
}

.business-details strong {
  color: var(--ink);
}

.contact-panel img {
  display: block;
  width: min(260px, 100%);
  margin-bottom: 26px;
}

.contact-panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: flex-end;
}

.cookie-banner {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 30;
  display: grid;
  gap: 16px;
  width: min(520px, calc(100% - 28px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(12, 23, 38, 0.97);
  color: var(--white);
  box-shadow: 0 22px 70px rgba(4, 10, 18, 0.34);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.legal-page {
  background: var(--paper);
}

.legal-header {
  position: static;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(9, 22, 39, 0.08);
}

.legal-header .header-cta {
  border-color: var(--line);
  background: var(--paper);
}

.legal-main {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0 90px;
}

.legal-main h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4.4rem);
}

.legal-main h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

.legal-main h3 {
  margin-top: 26px;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

.legal-main a {
  color: var(--brand-dark);
  font-weight: 750;
}

.legal-note {
  margin: 30px 0;
  padding: 20px;
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  background: var(--white);
}

.legal-list {
  padding-left: 20px;
}

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

  .intro,
  .technology-band,
  .services-grid,
  .timeline,
  .operator-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .visual-solution,
  .visual-solution.reverse {
    grid-template-columns: 1fr;
  }

  .visual-solution.reverse img {
    order: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    width: 132px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(6, 13, 24, 0.94), rgba(6, 13, 24, 0.62));
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
  }

  .services-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section,
  .technology-band,
  .product-section,
  .process,
  .contact {
    padding: 66px 0;
  }

  .split-section,
  .operator-band,
  .visual-solutions {
    width: 100%;
    border-radius: 0;
  }

  .technology-logos {
    grid-template-columns: 1fr;
  }

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

  .visual-solution {
    border-radius: 0;
  }

  .carflow-showcase,
  .pay-showcase {
    min-height: 380px;
  }


  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links,
  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .cookie-actions {
    align-items: stretch;
  }

  .cookie-banner {
    padding: 14px;
    gap: 10px;
  }

  .cookie-banner p {
    font-size: 0.88rem;
  }

  .cookie-actions .button {
    width: auto;
    flex: 1;
    min-height: 38px;
  }

  .legal-main {
    padding-top: 48px;
  }
}
