:root {
  --ink: #172033;
  --muted: #667085;
  --line: #dfe5ec;
  --paper: #f6f8fb;
  --white: #ffffff;
  --green: #17a673;
  --green-dark: #0f7459;
  --blue: #2457d6;
  --amber: #f4b23d;
  --shadow: 0 22px 60px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(223, 229, 236, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  order: 2;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--green-dark);
}

.language-switcher {
  order: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.language-switcher button {
  min-width: 38px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.active {
  color: var(--white);
  background: var(--green-dark);
}

.nav-toggle {
  order: 4;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 128px clamp(18px, 5vw, 72px) 90px;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(246, 248, 251, 0.98) 0%, rgba(246, 248, 251, 0.88) 38%, rgba(246, 248, 251, 0.2) 72%),
    linear-gradient(0deg, rgba(23, 32, 51, 0.12), rgba(23, 32, 51, 0));
}

.hero-content {
  position: relative;
  max-width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  color: #344054;
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 500;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 12px 26px rgba(15, 116, 89, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(23, 32, 51, 0.18);
}

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1120px;
  margin: -48px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stats div {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

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

.stats strong {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 112px clamp(18px, 4vw, 40px);
}

.setup-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(520px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 108px clamp(18px, 4vw, 40px) 64px;
}

.setup-copy {
  max-width: 560px;
}

.setup-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.device-stage {
  position: relative;
  min-height: 560px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.2)),
    radial-gradient(circle at 74% 18%, rgba(36, 87, 214, .14), transparent 28%),
    #e9f0f5;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.device-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 155px;
  background: linear-gradient(90deg, #283241, #4d4842);
}

.pos-device,
.customer-device {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 16px solid #111923;
  border-radius: 22px;
  background: #111923;
  box-shadow: 0 28px 70px rgba(17, 25, 35, .32);
}

.pos-device {
  left: 48px;
  top: 82px;
  width: min(650px, 72%);
  aspect-ratio: 16 / 9;
}

.customer-device {
  right: 46px;
  top: 42px;
  width: min(420px, 46%);
  aspect-ratio: 16 / 9;
  border-width: 12px;
  transform: rotate(2deg);
}

.device-topbar {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 2;
  width: 56px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #364555;
}

.pos-device img,
.customer-device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pos-device::before {
  content: "";
  position: absolute;
  left: 42%;
  right: 42%;
  bottom: -118px;
  height: 118px;
  background: linear-gradient(160deg, #1e2937, #0d121a);
  clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
}

.pos-device::after {
  content: "";
  position: absolute;
  left: 32%;
  right: 32%;
  bottom: -140px;
  height: 34px;
  border-radius: 50%;
  background: #111923;
}

.wallee-device {
  position: absolute;
  right: 58px;
  bottom: 42px;
  z-index: 3;
  width: 142px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #e6edf4);
  box-shadow: 0 24px 48px rgba(17, 25, 35, .26);
  transform: rotate(-8deg);
}

.wallee-screen {
  display: grid;
  height: 84px;
  place-items: center;
  border: 1px solid #cbd7e3;
  border-radius: 14px;
  background: linear-gradient(160deg, #effff9, #dcecff);
  color: var(--green);
  font-size: 22px;
  font-weight: 800;
}

.wallee-device span {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.wallee-keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.wallee-keys i {
  height: 16px;
  border-radius: 5px;
  background: #d7e0ea;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow),
.split p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

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

.service-card,
.feature-item,
.process div,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  padding: 26px;
  min-height: 280px;
}

.service-card p,
.feature-item p,
.process p,
.industries li {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

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

.feature-item {
  padding: 28px;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.06);
}

.accent {
  max-width: none;
  background: #eaf7f3;
}

.accent .section-heading,
.accent .process {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

.process div {
  padding: 28px;
}

.process span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--ink);
  background: var(--amber);
  border-radius: 50%;
  font-weight: 800;
}

.industries {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 42px;
  align-items: start;
}

.industries ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industries li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

.industries li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 56px clamp(18px, 4vw, 40px);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.contact .eyebrow {
  color: #8ee0c1;
}

.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
}

.contact-panel a:not(.button),
.contact-panel span {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .industries,
  .setup-showcase,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact {
    margin-left: 18px;
    margin-right: 18px;
  }

  .device-stage {
    min-height: 520px;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .language-switcher button {
    min-width: 34px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 86vh;
    padding-top: 112px;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(246, 248, 251, 0.98) 0%, rgba(246, 248, 251, 0.9) 58%, rgba(246, 248, 251, 0.45) 100%);
  }

  h1 {
    font-size: clamp(46px, 15vw, 58px);
  }

  .hero-copy {
    max-width: 100%;
    font-size: 18px;
  }

  .stats,
  .process {
    grid-template-columns: 1fr;
  }

  .stats {
    margin: 0 18px;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .setup-showcase {
    padding-top: 72px;
  }

  .device-stage {
    min-height: 520px;
  }

  .pos-device {
    left: 18px;
    top: 96px;
    width: calc(100% - 36px);
  }

  .customer-device {
    top: 24px;
    right: 18px;
    width: 58%;
  }

  .wallee-device {
    right: 22px;
    bottom: 28px;
    width: 128px;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
