/* online-support.pl */

@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/familjen-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/familjen-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --mist: #eef3f3;
  --mist-deep: #e3ecec;
  --paper: #f8fbfb;
  --ink: #12303a;
  --ink-2: #45606a;
  --ink-3: #6f868d;
  --lagoon: #08726d;
  --lagoon-bright: #19b5aa;
  --sun: #f3b53f;
  --danger: #b42318;
  --line: rgba(18, 48, 58, 0.12);
  --line-strong: rgba(18, 48, 58, 0.2);

  --glass-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.46));
  --glass-edge: rgba(255, 255, 255, 0.92);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 30px 60px -36px rgba(18, 60, 70, 0.38);

  --r-xl: 32px;
  --r-l: 22px;
  --r-m: 14px;
  --r-s: 10px;

  --font: "Familjen Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 8.5vw, 124px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.3rem + 2.9vw, 3.6rem); }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--lagoon); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--lagoon);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(25, 181, 170, 0.25); }

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink); color: #fff;
  border-radius: var(--r-s);
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; color: #fff; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- glass ---------- */

.glass,
.site-nav__bar,
.hero__entries,
.flow__panel,
.board,
.contact__form,
.chat__panel,
.cookie-note {
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.button:active { transform: translateY(1px); }
.button--ink { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -16px rgba(18, 48, 58, 0.7); }
.button--ink:hover { background: #0b4b4f; color: #fff; }
.button--glass {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line-strong);
  color: var(--ink);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.button--glass:hover { background: rgba(255, 255, 255, 0.9); color: var(--ink); }
.button--small { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.9375rem; }
.button[disabled] { opacity: 0.6; cursor: progress; }

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--lagoon);
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.link-button:hover { color: var(--ink); }

/* ---------- navigation ---------- */

.site-nav {
  position: fixed;
  inset: 12px 0 auto;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.site-nav__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1240px;
  margin-inline: auto;
  min-height: 64px;
  padding: 0.5rem 0.6rem 0.5rem 1.2rem;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 30px; height: 26px; color: var(--lagoon); }
.brand__tld { color: var(--ink-3); font-weight: 500; }

.site-nav__links {
  display: flex;
  gap: 0.25rem;
  margin-inline: auto;
}
.site-nav__links a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.975rem;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}
.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] { background: rgba(18, 48, 58, 0.06); color: var(--ink); }

.site-nav__tools { display: flex; align-items: center; gap: 0.6rem; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(18, 48, 58, 0.06);
}
.lang-switch__item {
  min-width: 40px;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  color: var(--ink-2);
  text-align: center;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lang-switch__item.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -4px rgba(18, 48, 58, 0.4); }
a.lang-switch__item:hover { color: var(--ink); }

.site-nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(18, 48, 58, 0.06);
  cursor: pointer;
}
.site-nav__burger,
.site-nav__burger::before,
.site-nav__burger::after {
  display: block;
  width: 18px; height: 1.8px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.site-nav__burger { position: relative; }
.site-nav__burger::before, .site-nav__burger::after { content: ""; position: absolute; left: 0; }
.site-nav__burger::before { top: -6px; }
.site-nav__burger::after { top: 6px; }
.site-nav.is-open .site-nav__burger { background: transparent; }
.site-nav.is-open .site-nav__burger::before { transform: translateY(6px) rotate(45deg); }
.site-nav.is-open .site-nav__burger::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav__mobile-only { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(680px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 120px;
  padding-bottom: 28px;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 78% 30%, rgba(255, 255, 255, 0.9), transparent 70%),
    var(--mist);
}

.hero__stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__poster {
  position: absolute;
  top: 50%;
  right: -3vw;
  width: min(64vw, 1040px);
  transform: translateY(-58%);
  transition: opacity 1.2s ease;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero.gl-ready .hero__canvas { opacity: 1; }
.hero.gl-ready .hero__poster { opacity: 0; }

.hero__inner {
  margin-bottom: auto;
  padding-top: clamp(24px, 9vh, 120px);
}
.hero__title {
  max-width: 11.5ch;
  font-size: clamp(3rem, 1.5rem + 6.1vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.hero__title--medium { max-width: 14ch; font-size: clamp(2.7rem, 1.4rem + 4.6vw, 5.4rem); }
.hero__lead {
  max-width: 34rem;
  margin-top: 1.6rem;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.hero__entries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 9vh, 96px);
  padding: 0;
  border-radius: var(--r-l);
  max-width: calc(1240px - 2 * var(--gutter));
}
.entry {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.15rem 1.35rem 1.25rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.25s;
}
.entry + .entry { border-left: 1px solid var(--line); }
.entry:first-child { border-radius: var(--r-l) 0 0 var(--r-l); }
.entry:last-child { border-radius: 0 var(--r-l) var(--r-l) 0; }
.entry:hover { background: rgba(255, 255, 255, 0.6); color: var(--ink); }
.entry__title { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.015em; }
.entry__text { color: var(--ink-2); font-size: 0.9rem; line-height: 1.4; }

/* page-load sequence: one orchestrated entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__lead, .hero__actions, .hero__entries, .crumbs {
    animation: rise 1.1s var(--ease) both;
  }
  .hero__lead { animation-delay: 0.12s; }
  .hero__actions { animation-delay: 0.22s; }
  .hero__entries { animation-delay: 0.38s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
  }
}

/* compact hero (helpdesk) */
.hero--compact { min-height: max(600px, 82svh); justify-content: center; padding-bottom: 64px; }
.hero--compact .hero__inner { margin-bottom: 0; }
.hero__stage--compact { display: flex; align-items: center; justify-content: flex-end; padding-right: max(var(--gutter), calc((100vw - 1240px) / 2)); }
.hero__object { width: min(46vw, 560px); margin-right: -40px; }

.crumbs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  color: var(--ink-3);
  font-size: 0.9375rem;
}
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- sections ---------- */

.section { padding-block: var(--section); }
.section-head { max-width: 44rem; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { margin-top: 1.1rem; color: var(--ink-2); font-size: 1.125rem; max-width: 38rem; }

.ticks { display: grid; gap: 0.55rem; }
.ticks li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid var(--lagoon-bright);
  box-shadow: 0 0 0 3px rgba(25, 181, 170, 0.12);
}

/* services */
.services__list { display: grid; gap: clamp(56px, 8vw, 110px); }
.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}
.service--flip .service__art { order: 2; }
.service__art {
  position: relative;
  justify-self: center;
  width: min(100%, 500px);
  will-change: transform;
}
.service__art::after {
  content: "";
  position: absolute;
  left: 20%; right: 20%; bottom: 14%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18, 60, 70, 0.16), transparent);
  filter: blur(6px);
  z-index: -1;
}
.service__body { max-width: 36rem; }
.service__body h3 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1.05; letter-spacing: -0.035em; }
.service__body > p { margin: 1.1rem 0 1.5rem; color: var(--ink-2); }

/* example flow */
.flow { padding-top: 0; }
.flow__panel {
  position: relative;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl);
}
.flow__track {
  --gap: clamp(12px, 2vw, 28px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  counter-reset: none;
}
.flow__node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 52px;
  transition: opacity 0.4s;
}
.flow__index {
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.flow__title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.flow__caption { color: var(--ink-2); font-size: 0.875rem; line-height: 1.4; }

.flow__link {
  position: absolute;
  top: 17px;
  left: 46px;
  right: calc(-1 * var(--gap) + 8px);
  height: 2px;
  background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 0);
  background-size: 8px 2px;
}
.flow__packet {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--lagoon-bright);
  box-shadow: 0 0 0 4px rgba(25, 181, 170, 0.2), 0 0 16px rgba(25, 181, 170, 0.8);
  opacity: 0;
}
.flow__link.is-sending .flow__packet { animation: packet-x 0.9s var(--ease) both; }
@keyframes packet-x {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.flow__node.is-active .flow__index {
  background: var(--lagoon);
  border-color: var(--lagoon);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(25, 181, 170, 0.18);
}
.flow__node.is-done .flow__index { border-color: var(--lagoon-bright); color: var(--lagoon); }
.flow.is-exception .flow__node:nth-child(n + 4) { opacity: 0.35; }

.flow__exception {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: calc((100% - 4 * var(--gap, 24px)) / 5);
  margin-left: calc(2 * (100% - 4 * var(--gap, 24px)) / 5 + 2 * var(--gap, 24px));
  margin-top: 46px;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-m);
  transition: border-color 0.35s, background-color 0.35s, opacity 0.35s;
  opacity: 0.6;
}
.flow__panel { --gap: clamp(12px, 2vw, 28px); }
.flow__branch {
  position: absolute;
  left: 17px;
  bottom: 100%;
  width: 2px;
  height: 40px;
  margin-bottom: 4px;
  background-image: linear-gradient(180deg, var(--line-strong) 50%, transparent 0);
  background-size: 2px 8px;
}
.flow__branch .flow__packet { left: 50%; top: 0; background: var(--sun); box-shadow: 0 0 0 4px rgba(243, 181, 63, 0.25), 0 0 16px rgba(243, 181, 63, 0.9); }
.flow__branch.is-sending .flow__packet { animation: packet-y 0.8s var(--ease) both; }
@keyframes packet-y {
  0% { top: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.flow__exception.is-active {
  opacity: 1;
  border-style: solid;
  border-color: var(--sun);
  background: rgba(243, 181, 63, 0.12);
}

.flow__status {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9375rem;
  min-height: 2.6em;
}
.flow__status::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: var(--lagoon-bright);
  vertical-align: 0.1em;
  animation: pulse 1.6s ease-in-out infinite;
}
.flow.is-exception .flow__status::before { background: var(--sun); }
@keyframes pulse { 50% { opacity: 0.25; } }

/* platforms */
.platforms { background: linear-gradient(180deg, var(--mist), var(--mist-deep) 18%, var(--mist-deep) 82%, var(--mist)); }
.platforms__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.platform {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: clamp(22px, 3vw, 36px) clamp(0px, 2vw, 28px) clamp(26px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line-strong);
}
.platform:not(:nth-child(3n + 1)) { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.platform__name {
  font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.9rem);
  font-weight: 450;
  line-height: 1;
  letter-spacing: -0.045em;
  transition: font-weight 0.45s var(--ease), color 0.45s;
}
.platform:hover .platform__name { font-weight: 700; color: var(--lagoon); }
.platform__tech { color: var(--ink-2); font-size: 0.9375rem; }
.platforms__cross { margin-top: 1.6rem; color: var(--ink-2); }

/* helpdesk teaser */
.teaser__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.teaser__text > p { margin: 1.1rem 0 1.5rem; color: var(--ink-2); font-size: 1.125rem; }
.teaser__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.board {
  margin: 0;
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: var(--r-xl);
}
.board__caption { margin-bottom: 1rem; color: var(--ink-3); font-size: 0.875rem; }
.board__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.board__col {
  min-height: 290px;
  padding: 12px;
  border-radius: var(--r-l);
  background: rgba(18, 48, 58, 0.04);
}
.board__col-name { display: block; margin: 0 0 10px 4px; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.board__stack { display: grid; gap: 8px; }
.ticket {
  position: relative;
  padding: 0.65rem 0.75rem 0.7rem 1.6rem;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 8px 18px -12px rgba(18, 48, 58, 0.45);
  font-size: 0.875rem;
  line-height: 1.35;
  will-change: transform;
}
.ticket__dot {
  position: absolute;
  left: 0.7rem;
  top: 0.95rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sun);
}
[data-col="1"] .ticket__dot { background: var(--lagoon-bright); box-shadow: 0 0 0 3px rgba(25, 181, 170, 0.2); }
[data-col="2"] .ticket { color: var(--ink-3); background: rgba(255, 255, 255, 0.6); }
[data-col="2"] .ticket__dot { background: var(--ink-3); }
.ticket.is-entering { animation: ticket-in 0.6s var(--ease) both; }
.ticket.is-leaving { animation: ticket-out 0.5s ease both; }
@keyframes ticket-in { from { opacity: 0; transform: translateY(-10px) scale(0.96); } }
@keyframes ticket-out { to { opacity: 0; transform: scale(0.94); } }

/* process */
.steps {
  --progress: 0;
  --steps-gap: clamp(20px, 3vw, 40px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--steps-gap);
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 22px;
  right: calc((100% - 3 * var(--steps-gap)) / 4 - 22px);
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}
.steps::after {
  background: linear-gradient(90deg, var(--lagoon-bright), var(--lagoon));
  transform-origin: left;
  transform: scaleX(var(--progress));
}
.step { position: relative; z-index: 1; }
.step__num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-weight: 600;
}
.step__title { font-size: 1.375rem; margin-bottom: 0.6rem; }
.step p { color: var(--ink-2); font-size: 0.98rem; }

/* faq */
.faq { padding-top: 0; }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item:first-child { border-top: 1px solid var(--line-strong); }
.faq__item summary {
  position: relative;
  padding: 1.3rem 3rem 1.3rem 0;
  font-size: 1.1875rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 16px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease);
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item p { padding: 0 3rem 1.5rem 0; color: var(--ink-2); max-width: 62ch; }

/* contact */
.contact { background: linear-gradient(180deg, var(--mist), var(--mist-deep)); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.contact__info > p { margin: 1.1rem 0 2rem; color: var(--ink-2); font-size: 1.125rem; }
.contact__list { display: grid; gap: 1.25rem; margin: 0; }
.contact__list dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
  color: var(--ink-3);
  font-size: 0.875rem;
  font-weight: 600;
}
.contact__list dt .icon { width: 18px; height: 18px; color: var(--lagoon); }
.contact__list dd { margin: 0; font-size: 1.0625rem; }
.contact__list dd a { font-weight: 600; text-decoration: none; }
.contact__form {
  padding: clamp(20px, 3.4vw, 40px);
  border-radius: var(--r-xl);
}

/* ---------- forms ---------- */

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field__optional { color: var(--ink-3); font-weight: 400; }
.field input,
.field select,
.field textarea,
.chat__email input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(18, 48, 58, 0.32); }
.field input:focus, .field select:focus, .field textarea:focus, .chat__email input:focus {
  outline: none;
  border-color: var(--lagoon);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(25, 181, 170, 0.18);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field ::placeholder { color: var(--ink-3); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field__error { color: var(--danger); font-size: 0.875rem; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-top: 1.4rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.consent input {
  width: 20px; height: 20px;
  margin: 0.15rem 0 0;
  accent-color: var(--lagoon);
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.form__status { margin-top: 0.9rem; font-size: 0.9375rem; min-height: 1.4em; }
.form__status--error { color: var(--danger); }

/* captcha */
.captcha { display: flex; flex-direction: column; gap: 0.35rem; }
.captcha__box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.55rem 1.1rem 0.55rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.975rem;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.captcha__box:hover { border-color: rgba(18, 48, 58, 0.35); background: #fff; }
.captcha__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border: 2px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  transition: background-color 0.3s, border-color 0.3s;
}
.captcha__check { width: 18px; height: 18px; color: #fff; opacity: 0; transform: scale(0.5); transition: opacity 0.25s, transform 0.35s var(--ease); }
.captcha.is-working .captcha__mark { border-color: transparent; border-top-color: var(--lagoon); border-right-color: var(--lagoon); border-radius: 50%; animation: spin 0.7s linear infinite; }
.captcha.is-done .captcha__mark { background: var(--lagoon); border-color: var(--lagoon); }
.captcha.is-done .captcha__check { opacity: 1; transform: none; }
.captcha.is-error .captcha__box { border-color: var(--danger); }
.captcha.is-done .captcha__box { cursor: default; }
.captcha__note { color: var(--ink-3); font-size: 0.78rem; max-width: 22rem; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { padding: 1rem 0; }
.form-success:focus { outline: none; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--lagoon);
  color: #fff;
}
.form-success__icon .icon { width: 28px; height: 28px; }
.form-success h3 { font-size: 1.75rem; }
.form-success p { margin: 0.6rem 0 1.4rem; color: var(--ink-2); }

/* ---------- helpdesk page ---------- */

.areas__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 40px);
}
.area { padding: 1.5rem 0 2rem; border-top: 1px solid var(--line-strong); }
.area h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.area p { color: var(--ink-2); font-size: 0.975rem; }

.models { padding-top: 0; }
.models__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
.model { padding: clamp(24px, 3vw, 40px); }
.model + .model { border-left: 1px solid var(--line); }
.model h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.model p { color: var(--ink-2); }

/* ---------- legal / 404 ---------- */

.legal { max-width: 52rem; padding-top: 150px; padding-bottom: var(--section); }
.legal h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); letter-spacing: -0.045em; }
.legal__updated { margin-top: 0.8rem; color: var(--ink-3); font-size: 0.9375rem; }
.legal section { margin-top: 2.6rem; }
.legal h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.legal p { color: var(--ink-2); line-height: 1.7; max-width: 68ch; }
.legal p + p { margin-top: 0.9rem; }
.legal strong { color: var(--ink); font-weight: 600; }
.table-wrap { overflow-x: auto; margin-top: 1.2rem; }
.legal__table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.legal__table th, .legal__table td { padding: 0.7rem 0.9rem 0.7rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal__table th { font-weight: 600; }
.legal__table td { color: var(--ink-2); }
.legal code { font-size: 0.875rem; padding: 0.1rem 0.35rem; border-radius: 6px; background: rgba(18, 48, 58, 0.07); color: var(--ink); }

.notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 80svh;
  justify-content: center;
  padding-top: 130px;
  padding-bottom: 80px;
}
.notfound__art { width: 240px; margin-bottom: 1rem; }
.notfound h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
.notfound p { margin-top: 1rem; color: var(--ink-2); max-width: 32rem; }
.notfound .hero__actions { justify-content: center; }

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

.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 28px;
  background: var(--mist-deep);
  border-top: 1px solid var(--line);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr));
  gap: 32px;
}
.site-footer__brand p { margin-top: 1rem; max-width: 22rem; color: var(--ink-2); font-size: 0.975rem; }
.site-footer h2 { font-size: 0.9375rem; letter-spacing: -0.005em; margin-bottom: 0.9rem; }
.site-footer__col ul { display: grid; gap: 0.5rem; }
.site-footer__col a, .site-footer__col .link-button { color: var(--ink-2); text-decoration: none; font-size: 0.975rem; }
.site-footer__col a:hover, .site-footer__col .link-button:hover { color: var(--ink); text-decoration: underline; }
.site-footer__company { color: var(--ink-2); font-size: 0.975rem; line-height: 1.7; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  margin-top: 56px;
  padding-top: 22px;
  color: var(--ink-3);
  font-size: 0.875rem;
}
.site-footer__bottom a { color: var(--ink-2); }
.site-footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--line);
}

/* ---------- cookie note ---------- */

.cookie-note {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 470px;
  padding: 1rem 1rem 1rem 1.2rem;
  border-radius: var(--r-l);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-2);
  animation: rise 0.6s var(--ease) both;
}
.cookie-note[hidden] { display: none; }
.cookie-note .button { flex-shrink: 0; }

/* ---------- chat ---------- */

.chat { position: fixed; right: 20px; bottom: 20px; z-index: 70; }
.chat__launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 36px -14px rgba(18, 48, 58, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.35s var(--ease), background-color 0.25s;
}
.chat__launcher:hover { transform: scale(1.06); background: #0b4b4f; }
.chat__launcher-icon { width: 26px; height: 26px; }
.chat__badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sun);
  border: 2px solid var(--mist);
}
.chat__badge[hidden] { display: none; }

.chat__panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 32px));
  height: min(620px, calc(100svh - 120px));
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(250, 253, 253, 0.9), rgba(242, 248, 248, 0.84));
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-in 0.4s var(--ease) both;
}
.chat__panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } }

.chat__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1rem 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.chat__title { font-size: 1.0625rem; letter-spacing: -0.015em; line-height: 1.3; }
.chat__subtitle { margin-top: 0.2rem; color: var(--ink-2); font-size: 0.8125rem; line-height: 1.4; }
.chat__close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 48, 58, 0.06);
  color: var(--ink);
  cursor: pointer;
}
.chat__close:hover { background: rgba(18, 48, 58, 0.12); }
.chat__close .icon { width: 18px; height: 18px; }

.chat__log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.msg { max-width: 86%; }
.msg p {
  padding: 0.65rem 0.9rem;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  box-shadow: 0 6px 16px -12px rgba(18, 48, 58, 0.5);
  font-size: 0.9375rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msg time { display: block; margin: 0.25rem 0.4rem 0; color: var(--ink-3); font-size: 0.75rem; }
.msg--visitor { align-self: flex-end; }
.msg--visitor p { background: var(--ink); color: #fff; border-radius: 18px 18px 6px 18px; }
.msg--visitor time { text-align: right; }
.msg--note p { background: rgba(25, 181, 170, 0.1); box-shadow: none; color: var(--ink-2); font-size: 0.875rem; }
.msg.is-pending p { opacity: 0.6; }

.chat__email {
  margin: 0 1.1rem 0.6rem;
  padding: 0.8rem;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-2);
}
.chat__email[hidden] { display: none; }
.chat__email-row { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.chat__email input { min-height: 40px; padding: 0.45rem 0.7rem; font-size: 0.9375rem; }

.chat__composer { padding: 0.7rem 1rem 0.9rem; border-top: 1px solid var(--line); }
.chat__who { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.6rem; }
.chat__who[hidden] { display: none; }
.field--compact { gap: 0.2rem; }
.field--compact label { font-size: 0.75rem; }
.field--compact input { min-height: 38px; padding: 0.4rem 0.65rem; font-size: 0.9375rem; border-radius: var(--r-s); }
.chat__input {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.35rem 0.35rem 0.35rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chat__input:focus-within { border-color: var(--lagoon); box-shadow: 0 0 0 4px rgba(25, 181, 170, 0.16); }
.chat__input textarea {
  flex: 1;
  min-height: 42px;
  max-height: 140px;
  padding: 0.55rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  resize: none;
}
.chat__input textarea:focus { outline: none; }
.chat__send {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--lagoon);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.chat__send:hover { background: var(--ink); }
.chat__send[disabled] { opacity: 0.5; cursor: progress; }
.chat__send .icon { width: 20px; height: 20px; }
.chat__status { min-height: 1.2em; margin-top: 0.35rem; color: var(--ink-2); font-size: 0.8125rem; }
.chat__status.is-error { color: var(--danger); }
.chat__foot { display: flex; justify-content: space-between; gap: 0.75rem; align-items: baseline; }
.chat__privacy { color: var(--ink-3); font-size: 0.75rem; line-height: 1.4; }
.chat__new { flex-shrink: 0; font-size: 0.8125rem; }

/* ---------- inbox (panel właściciela) ---------- */

.inbox { background: var(--mist); }
.inbox__wrap { max-width: 820px; margin: 0 auto; padding: 32px 16px 80px; }
.inbox h1 { font-size: 2.4rem; margin-bottom: 1.5rem; }
.inbox h2 { font-size: 1.4rem; margin: 2rem 0 1rem; }
.inbox__warn { padding: 0.8rem 1rem; border-radius: var(--r-m); background: rgba(243, 181, 63, 0.2); }
.inbox__ok { padding: 0.8rem 1rem; border-radius: var(--r-m); background: rgba(25, 181, 170, 0.16); }
.inbox__mail { padding: 1rem 1.2rem 1.2rem; border-radius: var(--r-l); background: rgba(255, 255, 255, 0.6); }
.inbox__mail h2 { margin-top: 0; }
.inbox__mail p { margin-bottom: 0.8rem; }
.inbox__empty { color: var(--ink-3); }
.inbox__list { display: grid; gap: 0.5rem; }
.inbox__list a {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  text-decoration: none;
}
.inbox__list a:hover { background: #fff; }
.inbox__list .is-unread a { box-shadow: inset 4px 0 0 var(--lagoon-bright); }
.inbox__list span, .inbox__list time { color: var(--ink-2); font-size: 0.875rem; }
.inbox__excerpt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox__conv-head h1 { margin-bottom: 0.4rem; }
.inbox__conv-head p { color: var(--ink-2); font-size: 0.9375rem; }
.inbox__presence { margin-top: 0.4rem; }
.inbox__presence.is-online { color: var(--lagoon); font-weight: 600; }
.inbox__log { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.5rem 0; padding: 1rem; border-radius: var(--r-l); background: rgba(255, 255, 255, 0.5); max-height: 60vh; overflow-y: auto; }
.inbox__reply { display: grid; gap: 0.75rem; }
.inbox__reply textarea { width: 100%; padding: 0.8rem; border-radius: var(--r-m); border: 1px solid var(--line-strong); font: inherit; }
.inbox__reply .button { justify-self: start; }
.inbox__delete { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 3rem; font-size: 0.875rem; color: var(--ink-2); }
.inbox__message { margin-bottom: 0.5rem; padding: 0.9rem 1rem; border-radius: var(--r-m); background: rgba(255, 255, 255, 0.7); }
.inbox__message summary { cursor: pointer; }
.inbox__message summary time { color: var(--ink-3); font-size: 0.875rem; margin-left: 0.5rem; }
.inbox__message dl { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; margin: 1rem 0; font-size: 0.9375rem; }
.inbox__message dt { color: var(--ink-3); }
.inbox__message dd { margin: 0; }
.inbox__message > p { white-space: pre-wrap; margin-bottom: 1rem; }
.inbox__message form { display: flex; gap: 1rem; align-items: center; font-size: 0.875rem; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .site-nav__links a { padding-inline: 0.6rem; }
  .areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .site-nav__toggle { display: grid; place-items: center; }
  .site-nav__cta { display: none; }
  .site-nav__links {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    border-radius: var(--r-l);
    background: rgba(250, 253, 253, 0.94);
    border: 1px solid var(--glass-edge);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    pointer-events: auto;
  }
  .site-nav.is-open .site-nav__links { display: flex; }
  .site-nav__links a { padding: 0.9rem 1rem; font-size: 1.0625rem; border-radius: var(--r-m); }
  .site-nav__mobile-only { display: block; }
  .site-nav__bar { gap: 0.75rem; }
  .site-nav__tools { margin-left: auto; }

  .hero__entries { grid-template-columns: repeat(2, 1fr); }
  .entry:nth-child(3) { border-left: 0; }
  .entry:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .entry:first-child { border-radius: var(--r-l) 0 0 0; }
  .entry:nth-child(2) { border-radius: 0 var(--r-l) 0 0; }
  .entry:nth-child(3) { border-radius: 0 0 0 var(--r-l); }

  .service, .teaser__grid, .contact__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .service--flip .service__art { order: 0; }
  .service__art { width: min(72%, 340px); justify-self: start; }

  .flow__track { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow__node { padding: 0 0 1.7rem 54px; min-height: 64px; }
  .flow__link {
    top: 44px; left: 17px; right: auto; bottom: 6px;
    width: 2px; height: auto;
    background-image: linear-gradient(180deg, var(--line-strong) 50%, transparent 0);
    background-size: 2px 8px;
  }
  .flow__link .flow__packet { left: 50%; top: 0; }
  .flow__link.is-sending .flow__packet { animation-name: packet-y; }
  .flow__exception { width: auto; margin: 0.4rem 0 0 54px; }
  .flow__branch { display: none; }

  .platforms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .platform:nth-child(even) { padding-left: clamp(16px, 3vw, 28px); border-left: 1px solid var(--line); }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .steps::before, .steps::after { display: none; }

  .models__grid { grid-template-columns: minmax(0, 1fr); }
  .model + .model { border-left: 0; border-top: 1px solid var(--line); }

  .hero--compact { min-height: auto; padding-top: 110px; }
  .hero__stage--compact { position: relative; inset: auto; order: -1; justify-content: center; padding: 0; z-index: 0; }
  .hero__object { width: min(64vw, 340px); margin: 0 auto -20px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__tld { display: none; }
  .site-nav { inset: 8px 0 auto; }
  .site-nav__bar { min-height: 58px; padding-left: 1rem; }
  .hero { padding-top: 100px; min-height: auto; }
  .hero__poster { width: 118vw; right: -38vw; top: 28%; opacity: 0.55; }
  .hero__title { font-size: clamp(2.6rem, 11.5vw, 3.6rem); }
  .hero__actions .button { flex: 1 1 auto; }
  .hero__entries { grid-template-columns: minmax(0, 1fr); }
  .entry + .entry { border-left: 0; border-top: 1px solid var(--line); }
  .entry:first-child { border-radius: var(--r-l) var(--r-l) 0 0; }
  .entry:nth-child(2), .entry:nth-child(3) { border-radius: 0; }
  .entry:last-child { border-radius: 0 0 var(--r-l) var(--r-l); }

  .platforms__grid { grid-template-columns: minmax(0, 1fr); }
  .platform:nth-child(even) { padding-left: 0; border-left: 0; }

  .board__cols { grid-template-columns: minmax(0, 1fr); }
  .board__col { min-height: 0; }
  .board__col:nth-child(3) { display: none; }

  .steps { grid-template-columns: minmax(0, 1fr); }
  .areas__grid { grid-template-columns: minmax(0, 1fr); }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form__footer { flex-direction: column; align-items: stretch; }
  .form__submit { width: 100%; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }

  .cookie-note { right: 88px; left: 10px; bottom: 14px; flex-direction: column; align-items: flex-start; gap: 0.55rem; padding: 0.8rem 0.9rem; font-size: 0.8125rem; }
  .chat { right: 14px; bottom: 14px; }
  .chat__panel {
    position: fixed;
    left: 8px; right: 8px; bottom: 86px;
    width: auto;
    height: calc(100svh - 110px);
  }
  .chat__who { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-nav__bar, .hero__entries, .flow__panel, .board, .contact__form, .chat__panel, .cookie-note, .models__grid {
    background: rgba(250, 253, 253, 0.96);
  }
}

@media print {
  .site-nav, .chat, .cookie-note, .hero__stage { display: none !important; }
}
