:root {
  color-scheme: dark;
  --ground: #09090b;
  --surface: #18181b;
  --ink: #fafafa;
  --muted: #b8b8c0;
  --accent: #34d399;
  --accent-ink: #09090b;
  --line: #37373b;
  --page-gutter: clamp(1rem, 3.4vw, 3.5rem);
  --body: clamp(1rem, 0.92rem + 0.25vw, 1.125rem);
  --lead: clamp(1.125rem, 1rem + 0.65vw, 1.5rem);
  --head: clamp(2rem, 1.15rem + 3vw, 4.2rem);
  --display: clamp(2.1rem, 7.2vw, 8rem);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ground);
  font-size: var(--body);
  line-height: 1.5;
}
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { max-width: 68ch; text-wrap: pretty; }

.review-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem var(--page-gutter);
  background: var(--surface);
}
.review-nav a { color: var(--ink); }
.review-nav__label { color: var(--muted); }
.review-main { padding: clamp(2rem, 5vw, 5rem) var(--page-gutter); }
.review-main h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: .94; letter-spacing: -.045em; }
.review-lede { max-width: 58ch; color: var(--muted); font-size: var(--lead); }
.review-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin: 4rem 0 0;
}
.review-option {
  display: block;
  min-height: 11rem;
  padding: 1.5rem;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
}
.review-option:hover { background: #202024; color: var(--ink); }
.review-option h2 { margin-bottom: .5rem; font-size: clamp(1.35rem, 2.3vw, 2rem); }
.review-option p { margin-bottom: 0; color: var(--muted); }
.review-warning {
  margin-top: 3rem;
  padding: 1.25rem;
  color: var(--ink);
  background: var(--surface);
}
.review-declined { color: var(--muted); }

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5.2rem;
  padding: 1rem var(--page-gutter);
  color: var(--ink);
}
.brand {
  color: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.045em;
  text-decoration: none;
}
.brand__tagline { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.5rem); }
.site-nav a, .locale a { color: inherit; text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-thickness: .15em; text-underline-offset: .45em; }
/* D-020: hover emerald na aktywnych pozycjach menu (CREATE/COPY/PRIVATE AI/PACKLY) */
.site-nav a:hover, .locale a:hover, .mobile-nav__links a:hover { color: var(--accent); }
.locale { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.locale a[aria-current="true"] { color: var(--accent); }
.mobile-nav { display: none; }
.mobile-nav__links a[aria-current="page"] { color: var(--accent); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(52rem, 88svh);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 49% 0 0;
  content: "";
  background: var(--accent);
}
.hero__content {
  display: grid;
  align-content: center;
  padding: clamp(2rem, 4vw, 4rem) var(--page-gutter) 3rem;
}
.hero__title {
  max-width: 12ch;
  margin: 0;
  font-size: var(--display);
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.055em;
}
.hero__title span { display: block; }
.hero__title span + span { color: var(--accent-ink); }
.hero__support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.25rem 2rem;
  margin-top: clamp(1.75rem, 4vw, 3.25rem);
}
.hero__support p { max-width: 44ch; margin: 0; color: var(--accent-ink); font-size: var(--lead); line-height: 1.35; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.25rem;
  color: var(--ink);
  background: var(--ground);
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
  transition: transform 140ms ease, background-color 180ms ease;
}
.button:hover { color: var(--ink); background: #242428; }
.button:active { transform: scale(.98); }
.text-link { color: var(--accent-ink); }

.service-register {
  padding: clamp(5rem, 11vw, 10rem) var(--page-gutter);
  background: var(--ground);
}
.section-heading { max-width: 8ch; margin-bottom: clamp(2rem, 6vw, 5rem); font-size: var(--head); line-height: .96; letter-spacing: -.04em; }
.service-layout { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 1.3fr); gap: 3vw; }
.service-intro { color: #34d399; font-size: var(--lead); }
.service-list { margin: 0; padding: 0; list-style: none; }
.service-row { padding: 1.35rem 0 1.55rem; border-top: 0; }
.service-row + .service-row { margin-top: .5rem; }
.service-row h3 { margin: 0 0 .4rem; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.15; }
.service-row p { margin: 0; color: var(--muted); }

.approach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, .8fr);
  align-items: center;
  gap: 4vw;
  padding: clamp(5rem, 10vw, 9rem) var(--page-gutter);
  color: var(--accent-ink);
  background: var(--accent);
}
.approach h2 { max-width: 8ch; margin: 0; font-size: clamp(2.7rem, 6vw, 6.2rem); line-height: .9; letter-spacing: -.05em; }
.approach p { max-width: 52ch; }
.approach p:last-child { margin-bottom: 0; }

.closing {
  padding: clamp(5rem, 12vw, 10rem) var(--page-gutter);
  background: var(--ground);
}
.closing h2 { max-width: 12ch; margin-bottom: 1rem; font-size: clamp(2.6rem, 7vw, 7rem); line-height: .92; letter-spacing: -.05em; }
.closing p { color: var(--muted); font-size: var(--lead); }
.closing .button { margin-top: 1rem; }
.contact-note { margin-top: 1.25rem; color: var(--muted); font-size: .9rem; }
.site-footer { padding: 2rem var(--page-gutter) 3rem; color: var(--muted); background: var(--surface); }
.site-footer__brand { display: block; margin: 0 0 1rem; color: var(--ink); font-size: clamp(2.5rem, 9vw, 8rem); font-weight: 700; line-height: .85; letter-spacing: -.065em; }
.site-footer p { margin: .35rem 0; }
.site-footer__ventures { margin-top: 1.5rem !important; color: var(--ink); }
.site-footer__ventures a { color: inherit; text-decoration: none; }
.site-footer__ventures a:hover { color: var(--accent); }
.site-footer__tagline { font-size: .8rem; } /* tej samej wielkości co .brand__tagline w menu */
.site-footer__legal { font-size: .7rem; }

/* The alternatives deliberately test distinct systems; these styles are not approved brand tokens. */
.direction--atlas .hero { min-height: 54rem; background: var(--ground); }
.direction--atlas .hero::before { display: none; }
.direction--atlas .hero__content { grid-template-columns: minmax(11rem, .7fr) minmax(0, 1.3fr); align-items: center; gap: 6vw; }
.route-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.route-list a { display: block; padding: .5rem 0; color: var(--muted); font-size: clamp(1.5rem, 3vw, 3.5rem); text-decoration: none; }
.route-list a[aria-current="page"] { color: var(--accent); }
.direction--atlas .hero__title span + span { color: var(--accent); }
.direction--atlas .hero__support p { color: var(--muted); }
.direction--atlas .button { color: var(--accent-ink); background: var(--accent); }
.direction--atlas .text-link, .direction--assembled .text-link { color: var(--accent); }

.direction--living {
  --surface: #11141d;
  background: var(--ground);
}
.direction--living .hero { background: #0b0e17; }
.direction--living .hero::before {
  inset: 0;
  background: radial-gradient(ellipse at 72% 52%, rgba(52, 211, 153, .3), transparent 40%), radial-gradient(ellipse at 78% 68%, rgba(46, 108, 99, .45), transparent 47%);
}
.direction--living .hero__title span + span { color: var(--accent); }
.direction--living .hero__support p { color: var(--ink); }
.direction--living .text-link { color: var(--ink); }
.direction--living .button { border: 1px solid var(--accent); color: var(--ground); background: var(--accent); }

.direction--assembled .hero { min-height: 56rem; background: var(--ground); }
.direction--assembled .hero::before { display: none; }
.direction--assembled .hero__content { align-content: center; }
.direction--assembled .hero__title { max-width: 11ch; }
.direction--assembled .hero__title span:first-child { color: var(--accent); }
.direction--assembled .hero__title span + span { color: var(--ink); }
.assembled-note {
  display: inline-block;
  max-width: 28ch;
  margin: 1.5rem 0 0 15vw;
  padding: .75rem 1rem;
  color: var(--accent-ink);
  background: var(--accent);
  transform: rotate(-2deg);
}
.direction--assembled .hero__support p { color: var(--muted); }

.direction--registered .hero { min-height: 56rem; background: var(--ground); }
.direction--registered .hero::before { inset: 49% 0 0; height: auto; }
.direction--registered .hero__title { position: relative; }
.direction--registered .hero__title::before {
  position: absolute;
  inset: 0 auto auto 0;
  content: "Ideas into experiences.";
  max-width: 12ch;
  color: rgba(9, 9, 11, .32);
  transform: translate(.035em, .055em);
  pointer-events: none;
}
.direction--registered .hero__title span + span { color: var(--accent-ink); }
.direction--registered .text-link { color: var(--accent-ink); }

.direction--standard { --ground: #f4f4f4; --surface: #e9e9e9; --ink: #111114; --muted: #49494f; --accent: #34d399; --accent-ink: #09090b; color-scheme: light; }
.direction--standard .hero { min-height: 48rem; background: var(--ground); }
.direction--standard .hero::before { display: none; }
.direction--standard .hero__content { max-width: 78rem; margin-inline: auto; text-align: center; }
.direction--standard .hero__title { max-width: 14ch; margin-inline: auto; }
.direction--standard .hero__title span + span { color: #087f59; }
.direction--standard .hero__support { grid-template-columns: 1fr; justify-items: center; }
.direction--standard .hero__support p { color: var(--muted); }
.direction--standard .button { color: var(--ink); background: var(--accent); }
.direction--standard .service-row { padding: 1rem; background: var(--surface); }
.direction--standard .approach { color: var(--ink); background: var(--surface); }

.direction--copy .hero__content { padding-top: 2rem; }
.direction--copy .hero__title { max-width: 11ch; }
.direction--copy .hero__support { grid-template-columns: minmax(0, 1fr) auto; }
.direction--copy .service-row { padding-block: 1.25rem; }
html[lang="pl"] .direction--assigned .hero__title {
  max-width: none;
  font-size: clamp(2.6rem, 6.5vw, 6.4rem);
}
html[lang="pl"] .direction--copy .hero__title {
  max-width: none;
  font-size: clamp(2.8rem, 7vw, 7rem);
}
html[lang="pl"] body.direction--assigned:not(.direction--copy) .hero::before {
  inset-block-start: 46%;
}

@media (max-width: 760px) {
  :root { --page-gutter: 1.1rem; --display: clamp(2.5rem, 10vw, 3.5rem); --body: 1rem; }
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: .75rem; min-height: 4.5rem; }
  .site-nav { display: none; }
  .mobile-nav { display: block; grid-column: 1 / -1; }
  .mobile-nav summary { width: max-content; min-height: 2.75rem; padding: .55rem .75rem; cursor: pointer; }
  .mobile-nav__links { display: flex; flex-wrap: wrap; gap: 1rem; padding: .75rem 0; }
  .hero { min-height: 45rem; min-height: 90svh; }
  .hero::before { inset-block-start: 50%; }
  .hero__content { align-content: center; padding-top: 1.5rem; }
  .hero__title { max-width: 13ch; line-height: .92; letter-spacing: -.05em; }
  .hero__support { grid-template-columns: 1fr; align-items: start; margin-top: 1.5rem; }
  .hero__support p { max-width: 32ch; font-size: 1rem; }
  .hero__actions { gap: .85rem 1rem; }
  .service-layout, .approach { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading { max-width: 11ch; margin-bottom: 2rem; }
  .service-row { padding-block: 1rem; }
  .approach { padding-block: 4.5rem; }
  .direction--atlas .hero__content { grid-template-columns: 1fr; gap: 1.5rem; }
  .direction--atlas .route-list { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
  .direction--atlas .route-list a { font-size: 1rem; }
  .direction--atlas .hero__support { grid-template-columns: 1fr; }
  .direction--copy .hero__support { grid-template-columns: 1fr; }
  html[lang="pl"] .direction--assigned .hero__title {
    font-size: clamp(1.65rem, 6.8vw, 1.95rem);
    line-height: 1.05;
  }
  html[lang="pl"] body.direction--assigned:not(.direction--copy) .hero::before { inset-block-start: 47%; }
  html[lang="pl"] .direction--copy .hero::before { inset-block-start: 52%; }
  html[lang="pl"] .direction--assigned .hero__title span + span,
  html[lang="pl"] .direction--copy .hero__title span + span { color: var(--ink); }
  html[lang="pl"] .direction--copy .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
    line-height: 1.02;
  }
  .direction--registered .hero::before { inset-block-start: 50%; }
  .direction--assembled .hero { min-height: 48rem; }
  .assembled-note { margin-left: 8vw; }
  .direction--standard .hero__content { text-align: left; }
  .direction--standard .hero__title { margin-inline: 0; }
  .direction--standard .hero__support { justify-items: start; }
  .review-options { grid-template-columns: 1fr; }
}

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

/* ENCLAV — tło canvas v2 (efekt z Packly: warstwy węzłów, połączenia,
   poszukiwacze, fale) jako warstwa tła hero.
   Tylko do wizualnego review; nie finalne tokeny marki. Plik źródłowy
   /root/enclav/Ideas into experiences-2.html pozostaje nienaruszony. */

.direction--canvas-bg .hero {
  isolation: isolate;
  position: relative;
  min-height: 88svh;
}

/* Gradient na osobnej, stałej warstwie (iOS Safari: fixed na .hero potrafi
   migotać przy scrollu). Body przezroczyste, żeby warstwa była widoczna. */
.direction--canvas-bg { background: transparent; overflow-x: clip; }
.direction--canvas-bg::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(ellipse at 75% 20%, #0d1530 0%, #09090b 55%, #05050a 100%);
  pointer-events: none;
}

/* Emeraldowy pas z review.css (.hero::before inset 49%) nie tutaj. */
.direction--canvas-bg .hero::before {
  display: none;
}

/* Canvas jako tło: pod treścią, nad gradientem.
   position: fixed sprawia, że współrzędne myszki (clientX/clientY)
   pokrywają się 1:1 z plekniem canvas — kółko w tle rysuje się
   dokładnie pod systemową strzałką. */
.direction--canvas-bg .hero__canvas {
  position: fixed;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100vh;
  display: block;
  background: transparent;
  touch-action: none;
  transform: translateZ(0);
  pointer-events: none;
}

/* Mobile: stała wysokość „dużego“ okna (nie skacze przy chowaniu paska),
   dotyk przechodzi przez tło — scrollowanie działa normalnie. */
@media (hover:none) and (pointer:coarse) {
  .direction--canvas-bg .hero__canvas {
    height: 100lvh;
    touch-action: auto;
    pointer-events: none;
  }
}

/* Treść hero nad canvasem. */
.direction--canvas-bg .hero__content {
  position: relative;
  z-index: 10;
}

/* Gdy canvas nie jest gotowy (brak JS / błąd inicjalizacji): ukryj canvas,
   pokaż tylko tło radialne fallback. Klasa .canvas-ready dodawana przez JS. */
.direction--canvas-bg:not(.canvas-ready) .hero__canvas {
  display: none;
}

/* ── Hasło główne ──
   EN: powrót do poprzedniej wielkości (var(--display)).
   PL: lewe hasło większe i wyżej o ok. 2 linijki względem prawego. */
.direction--canvas-bg .hero__title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  max-width: none;
  font-size: var(--display);
}

.direction--canvas-bg .hero__title span:first-child {
  color: #ffffff;        /* „Ideas into” / „Zamieniamy pomysły” — białe, po lewej */
}

.direction--canvas-bg .hero__title span:last-child {
  color: #34d399;        /* „experiences.” / „w cyfrowe doświadczenia.” — emerald, po prawej */
}

/* PL: lewe hasło większe i przesunięte wyżej (~2 linijki) */
html[lang="pl"] .direction--canvas-bg .hero__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: none;
  font-size: var(--display);
}
html[lang="pl"] .direction--canvas-bg .hero__title span:first-child {
  color: #ffffff;
  font-size: clamp(2.1rem, 7.2vw, 8rem);
}
html[lang="pl"] .direction--canvas-bg .hero__title span:last-child {
  color: #34d399;
  font-size: clamp(1.75rem, 5vw, 3rem);
  letter-spacing: -.025em;
}

/* ── Przycisk na tle emerald (aktywny, widoczny) ── */
.direction--canvas-bg .button--emerald {
  background: #34d399;
  color: #09090b;
}
.direction--canvas-bg .button--emerald:hover {
  background: #10b981;
  color: #09090b;
}

/* ── Losowe rozświetlanie tytułów (jak experiences.) ── */
.direction--canvas-bg .flash-emerald {
  animation: flashEmerald 0.55s ease both;
}


/* service-intro: mniejszy i bold (obie wersje) */
.direction--canvas-bg .service-intro {
  font-weight: 700;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: #34d399;
}

/* ── Supporting line — bold, obie wersje ── */
.direction--canvas-bg .hero__support p {
  color: #34d399;
  font-weight: 700;
}

/* ── Logo ENCLAV — zawsze emerald ── */
.direction--canvas-bg .brand {
  color: #34d399;
  font-size: 1.25rem;
  font-weight: 700;
}

/* ── Menu nawigacyjne — mniejsze, aktywne emerald ── */
.direction--canvas-bg .site-nav {
  gap: clamp(1rem, 2.4vw, 2rem);
}

.direction--canvas-bg .site-nav a,
.direction--canvas-bg .site-nav span,
.direction--canvas-bg .locale a {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: inherit;
  text-decoration: none;
  transition: color .15s ease-out;
}
/* D-020: hover emerald (specyficznosc rowna bazowej — blok pozniej w pliku wygrywa) */
.direction--canvas-bg .site-nav a:hover,
.direction--canvas-bg .locale a:hover,
.direction--canvas-bg .mobile-nav__links a:hover { color: #34d399; }

.direction--canvas-bg .site-nav a[aria-current="page"],
.direction--canvas-bg .locale a[aria-current="true"] {
  color: #34d399;
  text-decoration: underline;
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.45em;
}

/* ── Stopka: logo tej samej wielkości co na górze, emerald ── */
.direction--canvas-bg .site-footer__brand {
  display: block;
  margin: 0 0 1rem;
  color: #34d399;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.065em;
}

/* ── Stopka: ten sam granatowy przezroczysty gradient co na samej górze strony ── */
.direction--canvas-bg .site-footer {
  background: radial-gradient(ellipse at 75% 20%, #0d1530 0%, #09090b 55%, #05050a 100%);
}

/* ── flashEmerald obsługiwane przez JS (dodawane na 400 ms po dotarciu kulki do celu) ── */
@keyframes flashEmerald {
  0%   { opacity: 1; filter: brightness(1); }
  50%  { opacity: 0.7; filter: brightness(1.4); }
  100% { opacity: 1; filter: brightness(1); }
}

/* ── PL – powiększone prawe hasło ── */
html[lang="pl"] .direction--canvas-bg .hero__title span:last-child {
  font-size: clamp(2rem, 6vw, 4rem);
}

/* ── Przycisk na tle czarnym ── */
.direction--canvas-bg .button--black {
  background: #09090b;
  color: #ffffff;
}
.direction--canvas-bg .button--black:hover {
  background: #1a1a1e;
  color: #ffffff;
}

/* ── Nagłówek closing: czysty emerald bez glow (błysk przez JS inline style) ── */
.direction--canvas-bg .closing h2 {
  color: #34d399;
}

/* ── Mobile / wąskie ekrany (do 1279px): oba hasła jedna pod drugą,
   wyrównane do lewego marginesu. Układ boczny PL nie mieści się
   poniżej ~1280px, więc wcześniej przechodzimy do układu mobilnego. ── */
@media (max-width: 1279px) {
  .direction--canvas-bg .hero__title,
  html[lang="pl"] .direction--canvas-bg .hero__title {
    display: block;
    text-align: left;
    margin-top: 8rem;
  }
  .direction--canvas-bg .hero__title span,
  html[lang="pl"] .direction--canvas-bg .hero__title span {
    text-align: left;
    white-space: normal;
    margin-left: 0;
    padding-left: 0;
    line-height: .86;
    letter-spacing: -.025em;
  }
  .direction--canvas-bg .hero__title span:first-child {
    font-size: clamp(3rem, 12vw, 7rem);
  }
  .direction--canvas-bg .hero__title span:last-child {
    font-size: clamp(2.25rem, 7vw, 4.5rem);
    margin-top: 1rem;
  }

  /* PL: Zamieniamy pomysły tak samo duże jak EN i do lewej krawędzi ── */
  html[lang="pl"] .direction--canvas-bg .hero__title span:first-child {
    font-size: clamp(3rem, 12vw, 7rem);
  }
  html[lang="pl"] .direction--canvas-bg .hero__title span:last-child {
    font-size: clamp(2.25rem, 7vw, 4.5rem);
    white-space: normal;
  }

  /* ── Mobile: wyrównane do marginesu logo ENCLAV, hasło + support jako jeden blok ── */
  .direction--canvas-bg .hero__content {
    padding-top: 0;
    padding-left: var(--page-gutter);
    align-content: start;
  }
  .direction--canvas-bg .hero__support {
    margin-top: 1.5rem;
  }

  /* ── Mobile: buttony dużo niżej ── */
  .direction--canvas-bg .hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    padding-bottom: 12rem;
  }
  .direction--canvas-bg .hero__actions .button {
    width: auto;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .direction--canvas-bg .hero__canvas { display: none; }
  .direction--canvas-bg .hero::before { z-index: 0; }
}

/* ── Formularz kontaktowy na wierzchu canvas ── */
.direction--canvas-bg .contact-form {
  position: relative;
  z-index: 50;
}

/* Przycisk zamknięcia formularza (X) */
.direction--canvas-bg .contact-form__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  color: #34d399;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  z-index: 60;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.direction--canvas-bg .contact-form__close:hover {
  color: #10b981;
}
/* Krzyżyk rysowany w CSS (bez inline glyphu ✕ — lint emoji); wspólny dla wszystkich
   form na backdropach canvas-bg (CREATE/COPY) oraz PRIVATE AI (nadpisanie w private-ai.css). */
.direction--canvas-bg .contact-form__close::before,
.direction--canvas-bg .contact-form__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
}
.direction--canvas-bg .contact-form__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.direction--canvas-bg .contact-form__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
