:root {
  --black: #050505;
  --text: #111111;
  --muted: #66666b;
  --line: #e6e6e8;
  --soft: #f6f6f7;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

body::selection {
  background: var(--black);
  color: var(--white);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(14px, 2.5vw, 28px);
  align-items: center;
  min-height: 74px;
  padding: 14px clamp(18px, 5vw, 68px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
}

.brand,
.nav,
.header-actions,
.language-switcher,
.actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav {
  min-width: 0;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 30px);
  overflow-x: auto;
  scrollbar-width: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.is-active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.header-actions {
  justify-content: flex-end;
  gap: 18px;
}

.language-switcher {
  gap: 10px;
  white-space: nowrap;
}

.lang-button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 5px 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.lang-button.is-active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.header-link {
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero,
.page-hero,
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 68px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
}

.hero::before {
  position: absolute;
  width: clamp(360px, 42vw, 680px);
  height: clamp(360px, 42vw, 680px);
  left: clamp(18px, 5vw, 68px);
  top: 50%;
  background: url("assets/logo-on-de-web.svg") center / contain no-repeat;
  content: "";
  filter: blur(8px);
  opacity: 0.045;
  transform: translate(-18%, -48%) rotate(-8deg);
  pointer-events: none;
}

.hero-copy,
.hero-device {
  position: relative;
  z-index: 1;
}

.page-hero.compact {
  grid-template-columns: minmax(0, 900px);
  min-height: 45vh;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 800;
}

.home-brand img {
  width: 54px;
  height: 54px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--black);
  letter-spacing: -0.055em;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(52px, 8vw, 116px);
  line-height: 0.92;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.08;
}

.lead {
  max-width: 720px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -0.025em;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  border-radius: 12px;
  padding: 13px 20px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.button.primary {
  background: var(--black);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--black);
}

.button:hover,
.header-link:hover,
.link-grid a:hover,
.contact-methods a:hover {
  transform: translateY(-1px);
}

.device-stage {
  margin: 0;
}

.hero-device {
  justify-self: center;
}

.hero-device img {
  width: min(780px, 100%);
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.18));
}

.side-device img {
  width: min(700px, 100%);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.14));
}

.phone-stage img {
  max-height: 760px;
  width: auto;
  margin-inline: auto;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.18));
}

.section {
  padding: clamp(62px, 8vw, 112px) clamp(18px, 5vw, 68px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 38px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.plain-list {
  display: grid;
  gap: 24px;
}

.plain-list article,
.feature-grid article,
.link-grid a,
.process-list article,
.service-panel,
.contact-methods a,
.request-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.plain-list article {
  padding: 24px;
}

.plain-list p,
.link-grid p,
.feature-grid p,
.service-panel p,
.service-panel li,
.showcase p,
.process-list p,
.check-list,
.contact-methods span,
.request-form label {
  color: var(--muted);
}

.page-links,
.included-section,
.process-list {
  background: var(--soft);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.link-grid a {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 26px;
}

.link-grid span,
.contact-methods span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-grid strong {
  color: var(--black);
  font-size: 26px;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 66px);
  padding: clamp(26px, 5vw, 52px);
}

.service-panel ul,
.check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-panel li,
.check-list li {
  position: relative;
  padding-left: 24px;
}

.service-panel li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--black);
  font-weight: 900;
}

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

.feature-grid article {
  min-height: 230px;
  padding: 24px;
}

.examples-layout {
  display: grid;
  gap: clamp(48px, 7vw, 92px);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.showcase.large {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.showcase img {
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.16));
}

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

.process-list article {
  position: relative;
  display: grid;
  min-height: 340px;
  align-content: space-between;
  overflow: hidden;
  padding: clamp(24px, 4vw, 34px);
  border: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.process-list article:nth-child(1),
.process-list article:nth-child(2) {
  grid-column: span 3;
}

.process-list article:nth-child(n + 3) {
  grid-column: span 2;
}

.process-list article:nth-child(1) {
  background: #f3f7ff;
}

.process-list article:nth-child(2) {
  background: #fff5ea;
}

.process-list article:nth-child(3) {
  background: #f0faf5;
}

.process-list article:nth-child(4) {
  background: #f8f4ff;
}

.process-list article:nth-child(5) {
  background: #fff7f8;
}

.process-number {
  display: block;
  color: rgba(0, 0, 0, 0.13);
  font-size: clamp(82px, 11vw, 150px);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.78;
}

.process-body {
  position: relative;
  z-index: 1;
}

.process-body h2 {
  max-width: 560px;
  font-size: clamp(32px, 4vw, 54px);
}

.process-body p {
  max-width: 520px;
}

.contact-page {
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-top: 34px;
}

.contact-methods a {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.contact-methods strong {
  overflow-wrap: anywhere;
  color: var(--black);
  font-size: clamp(19px, 2vw, 25px);
  letter-spacing: -0.03em;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.request-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 15px;
  background: var(--white);
  color: var(--black);
  outline: 0;
}

.request-form textarea {
  min-height: 140px;
  resize: vertical;
}

.request-form .button {
  width: 100%;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 68px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .nav {
    justify-content: flex-start;
    gap: 18px;
  }

  .hero,
  .page-hero,
  .contact-page,
  .split-section,
  .service-panel,
  .showcase,
  .showcase.large,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .link-grid,
  .feature-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list article,
  .process-list article:nth-child(1),
  .process-list article:nth-child(2),
  .process-list article:nth-child(n + 3) {
    grid-column: 1 / -1;
  }

  .final-cta {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 14px;
  }

  .brand span,
  .header-link {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .language-switcher {
    gap: 8px;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 38px;
  }

  .hero,
  .page-hero,
  .contact-page {
    padding-top: 42px;
  }

  .home-brand span {
    font-size: 17px;
  }

  .hero-device img,
  .side-device img {
    width: 120%;
    max-width: none;
    margin-left: -10%;
  }

  .hero::before {
    width: 360px;
    height: 360px;
    left: 50%;
    top: 220px;
    opacity: 0.04;
    transform: translate(-50%, -50%) rotate(-8deg);
  }

  .phone-stage img {
    max-height: 620px;
  }

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