/* MaTo Efekt — design tokens & homepage styles */

:root {
  --brand-navy: #0f2533;
  --brand-green: #54c26b;
  --neutral-white: #ffffff;
  --neutral-600: #66737c;
  --surface-soft: #f4f6f7;
  --border-default: #dce2e6;
  --surface-success-soft: #eaf6ee;

  --background-primary: var(--neutral-white);
  --background-secondary: var(--surface-soft);
  --background-inverse: var(--brand-navy);
  --background-success: var(--surface-success-soft);

  --text-primary: var(--brand-navy);
  --text-secondary: var(--neutral-600);
  --text-inverse: var(--neutral-white);
  --text-effect: var(--brand-green);

  --action-primary: var(--brand-navy);
  --action-primary-text: var(--neutral-white);
  --action-accent: var(--brand-green);
  --action-accent-text: var(--brand-navy);

  --border-strong: var(--neutral-600);
  --data-primary: var(--brand-navy);
  --data-positive: var(--brand-green);

  --font: "Manrope", system-ui, sans-serif;
  --container: 1240px;
  --header-h: 80px;

  --radius-small: 8px;
  --radius-button: 12px;
  --radius-medium: 16px;
  --radius-large: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 40px rgba(15, 37, 51, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-micro: 160ms;
  --duration-standard: 260ms;
  --duration-reveal: 420ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

html.no-smooth-scroll {
  scroll-behavior: auto !important;
}

@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;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.625;
  font-weight: 400;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(84, 194, 107, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(15, 37, 51, 0.04), transparent 50%),
    var(--background-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 64px, var(--container));
  }
}

@media (min-width: 1200px) {
  .container {
    width: min(100% - 160px, var(--container));
  }
}

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

/* Typography */
.eyebrow {
  position: relative;
  display: inline-block;
  font-size: 12px;
  line-height: 1.33;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* DESIGN.md 5.5: green is accent (underline), not small text on light bg */
  color: var(--text-primary);
  margin: 0 0 18px;
  padding-bottom: 10px;
}

.section--inverse .eyebrow {
  color: var(--text-effect);
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.75rem;
  height: 2px;
  border-radius: 1px;
  background: var(--brand-green);
}

h1,
.h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2,
.h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3,
.h3 {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 40rem;
}

.accent {
  /* DESIGN.md 5.5 / BRAND: green is underline accent, not body text on light bg */
  color: var(--text-primary);
  background-image: linear-gradient(var(--brand-green), var(--brand-green));
  background-position: 0 92%;
  background-repeat: no-repeat;
  background-size: 100% 3px;
  padding-bottom: 0.06em;
}

.section--inverse .accent {
  color: var(--text-effect);
  background-image: none;
  padding-bottom: 0;
}

.section {
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 112px 0;
  }
}

.section-head {
  max-width: 42rem;
  margin-bottom: 48px;
}

.section-head .lead {
  margin-top: 16px;
}

.section--soft {
  background: var(--background-secondary);
}

.section--inverse {
  background: var(--background-inverse);
  color: var(--text-inverse);
}

.section--inverse .lead,
.section--inverse .text-secondary {
  color: rgba(255, 255, 255, 0.72);
}

/* Buttons — DESIGN.md: tokeny, delikatny hover (micro), zielona strzałka na primary/secondary */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background var(--duration-micro) var(--ease),
    color var(--duration-micro) var(--ease),
    border-color var(--duration-micro) var(--ease),
    box-shadow var(--duration-micro) var(--ease);
}

.btn:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

.btn::after {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: var(--brand-green);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background-color var(--duration-micro) var(--ease);
}

.btn--accent::after {
  background-color: var(--action-accent-text);
}

.btn--ghost-light::after {
  background-color: var(--brand-green);
}

.btn--primary {
  background: var(--action-primary);
  color: var(--action-primary-text);
  border-color: var(--action-primary);
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--action-primary) 88%, var(--neutral-white));
  border-color: var(--brand-green);
  box-shadow: var(--shadow-soft);
}

.btn--primary:active {
  background: var(--action-primary);
  box-shadow: none;
}

.btn--accent {
  background: var(--action-accent);
  color: var(--action-accent-text);
  border-color: var(--action-accent);
}

.btn--accent:hover {
  background: color-mix(in srgb, var(--action-accent) 82%, var(--brand-navy));
  border-color: var(--brand-navy);
  box-shadow: var(--shadow-soft);
}

.btn--accent:active {
  background: var(--action-accent);
  box-shadow: none;
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn--secondary:hover {
  background: var(--neutral-white);
  border-color: var(--brand-navy);
  box-shadow: var(--shadow-soft);
}

.btn--secondary:active {
  border-color: var(--border-strong);
  box-shadow: none;
}

.btn--ghost-light {
  background: transparent;
  color: var(--text-inverse);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost-light:hover {
  border-color: var(--brand-green);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.btn--ghost-light:active {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 559px) {
  .btn-group .btn {
    width: 100%;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  transition:
    box-shadow var(--duration-standard) var(--ease),
    transform var(--duration-standard) var(--ease),
    top var(--duration-standard) var(--ease),
    opacity var(--duration-standard) var(--ease),
    background var(--duration-standard) var(--ease);
  will-change: transform;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 37, 51, 0.04);
}

.site-header.is-hidden {
  transform: translateY(-100%);
  box-shadow: none;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: box-shadow var(--duration-standard) var(--ease);
  }
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: min(168px, 42vw);
  height: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-standard) var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav a:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Only the desktop header CTA — mobile panel CTA must stay visible */
.site-header__inner > .header-cta {
  display: none;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-small);
  background: var(--neutral-white);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand-navy);
  transition: transform var(--duration-standard) var(--ease), opacity var(--duration-micro) var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: absolute;
  inset: var(--header-h) 0 auto;
  background: var(--neutral-white);
  border-bottom: 1px solid var(--border-default);
  padding: 16px 20px 24px;
  box-shadow: var(--shadow-soft);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav nav {
  display: grid;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 14px 8px;
  font-weight: 600;
  border-radius: var(--radius-small);
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: var(--surface-soft);
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 12px;
}

@media (min-width: 1024px) {
  .nav,
  .site-header__inner > .header-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero — locked to reference mockup */
.hero {
  --hero-h: 640px;
  position: relative;
  overflow: visible;
  background: linear-gradient(
    180deg,
    var(--neutral-white) 0%,
    var(--neutral-white) 10%,
    color-mix(in srgb, var(--neutral-white) 65%, var(--surface-success-soft)) 28%,
    var(--surface-success-soft) 48%,
    var(--surface-success-soft) 100%
  );
}

@media (min-width: 1024px) {
  .hero {
    height: var(--hero-h);
    overflow: hidden;
  }

  .hero > .container {
    height: 100%;
  }
}

@media (min-width: 1400px) {
  .hero {
    --hero-h: 680px;
  }
}

.hero__art {
  --panel-right: max(12px, calc((100% - var(--container)) / 2));
  --panel-w: min(41.4%, 432px);
  --panel-h: calc((100% - 36px) * 0.9);
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__art-wash {
  position: absolute;
  right: var(--panel-right);
  bottom: 0;
  top: auto;
  width: var(--panel-w);
  height: var(--panel-h);
  background: transparent;
  border-radius: 32px 32px 0 0;
}

.hero__art-grid {
  position: absolute;
  right: var(--panel-right);
  bottom: 0;
  top: auto;
  width: var(--panel-w);
  height: var(--panel-h);
  border-radius: 32px 32px 0 0;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(15, 37, 51, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 37, 51, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}

@media (max-width: 1023px) {
  .hero__art {
    --panel-right: 16px;
    --panel-w: calc(100% - 32px);
    --panel-h: calc(min(420px, 70vw) * 0.9);
  }

  .hero__art-wash,
  .hero__art-grid {
    left: 16px;
    border-radius: 26px 26px 0 0;
  }
}

.hero__art-target {
  position: absolute;
  /* Środek tarczy przy lewej krawędzi panelu — zawsze obok sylwetki */
  right: calc(var(--panel-right) + var(--panel-w) * 0.82);
  top: 42%;
  width: min(420px, calc(var(--panel-w) * 1.15));
  aspect-ratio: 1;
  transform: translate(50%, -50%);
  color: rgba(15, 37, 51, 0.14);
}

@media (min-width: 1400px) {
  .hero__art-target {
    right: calc(var(--panel-right) + var(--panel-w) * 0.88);
    width: min(440px, calc(var(--panel-w) * 1.2));
  }
}

.hero__art-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__art-node {
  position: absolute;
  left: 50%;
  top: 50%;
  display: none;
  align-items: center;
  gap: 0;
  transform: translate(calc(-100% + 11px), -50%);
}

@media (min-width: 1024px) {
  .hero__art-node {
    display: flex;
  }
}

.hero__art-arrow {
  display: block;
  width: 70px;
  height: auto;
  flex-shrink: 0;
  color: rgba(15, 37, 51, 0.2);
  margin-right: -1px;
}

.hero__art-cel {
  display: block;
  width: 22px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(84, 194, 107, 0.4));
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.85fr);
    gap: 12px;
    height: 100%;
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0 20px;
  max-width: 42rem;
}

@media (min-width: 1024px) {
  .hero__copy {
    padding: 40px 28px 40px 0;
  }
}

.hero__eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 14px;
  padding-bottom: 10px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.hero__eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.75rem;
  height: 2px;
  border-radius: 1px;
  background: var(--brand-green);
}

.hero__copy h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.hero__motto {
  margin: 14px 0 0;
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-primary);
}

.hero__copy .lead {
  margin-top: 12px;
  max-width: 38rem;
  font-size: 0.9875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.hero__points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  border-right: 1px solid var(--border-default);
  white-space: nowrap;
}

.hero__points li:first-child {
  padding-left: 0;
}

.hero__points li:last-child {
  border-right: 0;
  padding-right: 0;
}

@media (max-width: 719px) {
  .hero__points {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero__points li {
    border: 0;
    padding: 0;
    white-space: normal;
  }
}

.hero__point-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--brand-green);
}

.hero__point-icon svg {
  width: 18px;
  height: 18px;
}

.hero__actions {
  margin-top: 26px;
}

.hero__actions .btn--secondary {
  background: var(--neutral-white);
}

.hero__actions .btn--secondary:hover {
  background: var(--neutral-white);
  border-color: var(--brand-navy);
  box-shadow: var(--shadow-soft);
}

/* Portrait column — absolute bottom lock */
.hero__figure {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 0;
  margin-top: 4px;
  padding: 36px 0 0;
  overflow: visible;
}

@media (min-width: 1024px) {
  .hero__figure {
    min-height: 0;
    height: 100%;
    margin-top: 0;
    padding: 0;
    display: block;
  }
}

.hero__portrait {
  display: block;
  width: min(78%, 300px);
  height: auto;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(-12px 8px 28px rgba(15, 37, 51, 0.12));
}

@media (min-width: 1024px) {
  .hero__portrait {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    height: 96%;
    max-width: none;
    margin: 0;
    object-fit: contain;
    object-position: bottom right;
  }
}

@media (min-width: 1400px) {
  .hero__portrait {
    height: 97%;
  }
}

/* Proof — kolumny z dowodami (bez kart SaaS) */
.proof {
  padding: 72px 0 80px;
  background: var(--neutral-white);
}

.proof__head {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .proof__head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: end;
  }
}

.proof__intro h2 {
  margin: 0;
  max-width: 14ch;
}

.proof__lead {
  margin: 0;
  max-width: 34rem;
}

@media (min-width: 900px) {
  .proof__lead {
    padding-bottom: 6px;
  }
}

.proof-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}

@media (min-width: 900px) {
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-default);
}

.proof-item:last-child {
  border-bottom: 0;
}

@media (min-width: 900px) {
  .proof-item {
    padding: 40px 28px;
    border-bottom: 0;
    border-right: 1px solid var(--border-default);
  }

  .proof-item:first-child {
    padding-left: 0;
  }

  .proof-item:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--surface-success-soft);
  color: var(--brand-green);
  flex-shrink: 0;
  overflow: visible;
}

.icon-tile svg {
  width: 28px;
  height: 28px;
  display: block;
  overflow: visible;
}

.proof-item__icon {
  margin-bottom: 20px;
}

.proof-item__value {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--brand-green);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em;
}

.proof-item__unit {
  font-size: 0.48em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.proof-item__title {
  margin: 18px 0 8px;
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-primary);
}

.proof-item__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.proof-item__meta {
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.proof-item__link {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--brand-green);
  padding-bottom: 2px;
  transition: color var(--duration-micro) var(--ease);
}

.proof-item__link::after {
  content: "";
  width: 14px;
  height: 14px;
  background-color: var(--brand-green);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.proof-item__link:hover {
  color: var(--brand-navy);
}

.proof__disclaimer {
  margin: 28px 0 0;
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.proof__disclaimer-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-success-soft);
  color: var(--brand-green);
  font-size: 0.75rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}

/* Audience — tekst + zdjęcie na ciemnym tle (content 5.6) */
.audience.section--inverse .eyebrow {
  color: var(--brand-green);
}

.audience__layout {
  display: grid;
  gap: 36px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .audience__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
  }
}

.audience__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 0;
}

@media (min-width: 900px) {
  .audience__copy {
    padding: 24px 0;
  }
}

.audience__copy h2 {
  margin: 0;
  max-width: 18ch;
  color: var(--text-inverse);
}

.audience__copy .lead {
  margin-top: 16px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
}

.audience__copy .btn {
  width: auto;
  align-self: flex-start;
}

.audience__visual {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  min-height: 280px;
}

@media (min-width: 900px) {
  .audience__visual {
    min-height: 0;
    height: 100%;
    align-self: stretch;
  }
}

.audience__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.audience__visual.audience-in.is-visible img {
  transform: scale(1);
}

@media (min-width: 900px) {
  .audience__visual img {
    position: absolute;
    inset: 0;
  }
}

@media (max-width: 899px) {
  .audience__visual img {
    aspect-ratio: 4 / 5;
    height: auto;
    max-height: 420px;
  }
}

.audience__accent {
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  z-index: 2;
  border-radius: 2px;
  background: var(--brand-green);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 280ms;
}

.audience__visual.audience-in.is-visible .audience__accent {
  transform: scaleY(1);
}

.audience-in__item {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--audience-i, 0) * 90ms);
}

.audience__copy.audience-in.is-visible .audience-in__item {
  opacity: 1;
  transform: none;
}

.audience__visual.audience-in {
  opacity: 0;
  transform: translateX(36px);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1) 100ms,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1) 100ms;
}

.audience__visual.audience-in.is-visible {
  opacity: 1;
  transform: none;
}

body.has-reduced-motion .audience-in__item,
body.has-reduced-motion .audience__visual.audience-in,
body.has-reduced-motion .audience__visual img,
body.has-reduced-motion .audience__accent {
  opacity: 1;
  transform: none;
  transition: none;
}

/* FAQ — dwukolumnowy układ + accordion */
.faq {
  background: var(--background-secondary);
}

.faq__layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .faq__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
  }
}

.faq__intro {
  max-width: 28rem;
}

.faq__intro h2 {
  max-width: 14ch;
}

.faq__intro .lead {
  margin-top: 16px;
  margin-bottom: 0;
}

.faq__contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  color: var(--text-primary);
  line-height: 1.35;
}

.faq__contact-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-success-soft);
  color: var(--brand-green);
  flex-shrink: 0;
}

.faq__contact-icon svg {
  width: 22px;
  height: 22px;
}

.faq__contact-copy {
  display: grid;
  gap: 4px;
}

.faq__contact-q {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  color: var(--brand-green);
  font-weight: 700;
}

.faq__contact-link::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-color: var(--brand-green);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.faq__contact:hover .faq__contact-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: none;
}

.faq-item {
  position: relative;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-medium);
  background: var(--neutral-white);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--duration-standard) var(--ease);
}

.faq-item.is-open,
.faq-item[open] {
  border-color: color-mix(in srgb, var(--brand-green) 35%, var(--border-default));
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand-green);
  border-radius: 3px 0 0 3px;
  transform: scaleY(0);
  transform-origin: top center;
  opacity: 0;
  transition:
    transform 420ms var(--ease),
    opacity 280ms var(--ease);
}

.faq-item.is-open::before {
  transform: scaleY(1);
  opacity: 1;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  color: var(--text-secondary);
  background: var(--surface-soft);
  transition:
    color var(--duration-standard) var(--ease),
    background var(--duration-standard) var(--ease),
    transform 420ms var(--ease);
}

.faq-item.is-open summary::after {
  color: var(--brand-green);
  background: var(--surface-success-soft);
  transform: rotate(45deg);
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms var(--ease);
}

.faq-item.is-open > .faq-item__panel {
  grid-template-rows: 1fr;
}

.faq-item__panel > .faq-item__body {
  overflow: hidden;
  min-height: 0;
}

.faq-item__body {
  padding: 0 20px 20px;
}

.faq-item__body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 320ms var(--ease) 40ms,
    transform 420ms var(--ease);
}

.faq-item.is-open .faq-item__body p {
  opacity: 1;
  transform: none;
}

body.has-reduced-motion .faq-item::before,
body.has-reduced-motion .faq-item summary::after,
body.has-reduced-motion .faq-item__panel,
body.has-reduced-motion .faq-item__body p {
  transition: none;
}

/* Trust */
.trust {
  padding: 40px 0 24px;
  border-top: 1px solid var(--border-default);
}

.trust__label {
  text-align: center;
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
}

.trust__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .trust__list {
    grid-template-columns: repeat(5, 1fr);
  }
}

.trust__list li {
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15, 37, 51, 0.38);
}

/* Services — siatka 3+2 jak w mockupie */
.services {
  position: relative;
  overflow: hidden;
  background: var(--surface-soft);
}

.services__decor {
  position: absolute;
  inset: 12% -10% auto 35%;
  height: 58%;
  pointer-events: none;
  border: 1px solid rgba(15, 37, 51, 0.06);
  border-radius: 50% 40% 45% 55%;
}

.services__decor-mark {
  position: absolute;
  top: -6px;
  right: 18%;
  width: 14px;
  height: 14px;
  background: var(--brand-green);
  border-radius: 3px;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-medium);
  background: var(--neutral-white);
  transition:
    border-color var(--duration-micro) var(--ease),
    box-shadow var(--duration-micro) var(--ease);
}

.service-rise {
  opacity: 0;
  transform: translateY(28px);
  transition:
    border-color var(--duration-micro) var(--ease),
    box-shadow var(--duration-micro) var(--ease),
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--service-col, 0) * 72ms),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--service-col, 0) * 72ms);
}

.service-rise.is-visible {
  opacity: 1;
  transform: none;
}

.service-rise .icon-tile {
  transform: scale(0.85);
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--service-col, 0) * 72ms + 90ms);
}

.service-rise.is-visible .icon-tile {
  transform: scale(1);
}

.service-rise .service-card__num {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--service-col, 0) * 72ms + 150ms);
}

.service-rise.is-visible .service-card__num {
  opacity: 1;
  transform: none;
}

@media (max-width: 899px) {
  .service-rise {
    transition:
      border-color var(--duration-micro) var(--ease),
      box-shadow var(--duration-micro) var(--ease),
      opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .service-rise .icon-tile,
  .service-rise .service-card__num {
    transition-delay: 90ms;
  }

  .service-rise .service-card__num {
    transition-delay: 140ms;
  }
}

body.has-reduced-motion .service-rise,
body.has-reduced-motion .service-rise .icon-tile,
body.has-reduced-motion .service-rise .service-card__num {
  opacity: 1;
  transform: none;
  transition: none;
}

.service-card:hover {
  border-color: rgba(15, 37, 51, 0.2);
  box-shadow: var(--shadow-soft);
}

.service-card__top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.service-card__num {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-green);
}

.service-card h3 {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.3;
}

.service-card > p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.service-card__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  width: 100%;
  border-top: 1px solid var(--border-default);
  display: grid;
  gap: 10px;
}

.service-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 1.5px;
  background: var(--brand-green);
}

.service-card__link {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--duration-micro) var(--ease);
}

.service-card__link::after {
  content: "";
  width: 14px;
  height: 14px;
  background-color: var(--brand-green);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.service-card__link:hover {
  color: var(--brand-navy);
}

.service-card--cta {
  background: var(--surface-success-soft);
  border-color: color-mix(in srgb, var(--brand-green) 22%, var(--border-default));
}

.service-card--cta:hover {
  border-color: color-mix(in srgb, var(--brand-green) 40%, var(--border-default));
  box-shadow: var(--shadow-soft);
}

.service-card--cta .icon-tile {
  background: var(--neutral-white);
}

.service-card--cta .service-card__list {
  border-top-color: color-mix(in srgb, var(--brand-green) 18%, var(--border-default));
  margin-bottom: 8px;
}

.service-card__cta {
  margin-top: auto;
  width: auto;
  align-self: flex-start;
  /* Keep equal vertical padding — never use padding-top for outer spacing. */
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Case studies — 3 równe karty + unfold / sticky stack */
.cases {
  background: var(--neutral-white);
  overflow-x: clip;
}

.cases .section-head {
  max-width: 28rem;
}

.cases-grid {
  display: grid;
  gap: clamp(96px, 22vh, 200px);
  padding-bottom: 18vh;
}

.case-card {
  --case-depth: 0;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  z-index: calc(1 + var(--case-i, 0));
  display: grid;
  gap: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-large);
  background: var(--surface-soft);
  border: 1px solid var(--border-default);
  box-shadow:
    0 18px 48px rgba(15, 37, 51, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.55) inset;
  will-change: transform, opacity, filter;
}

.case-unfold {
  opacity: 0;
  transform-origin: center top;
  transform: perspective(1400px) rotateX(68deg) translateY(36px) scale(0.96);
  filter: brightness(0.78) saturate(0.85);
  backface-visibility: hidden;
}

.case-unfold.is-open {
  animation: case-unfold-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.case-unfold.is-open.is-settled {
  animation: none;
  opacity: calc(1 - var(--case-depth) * 1.15);
  visibility: visible;
  filter: brightness(calc(1 - var(--case-depth) * 0.45));
  transform:
    perspective(1400px)
    rotateX(calc(var(--case-depth) * -48deg))
    translateY(calc(var(--case-depth) * -14px))
    scale(calc(1 - var(--case-depth) * 0.08));
  box-shadow:
    0 calc(18px - var(--case-depth) * 14px) calc(48px - var(--case-depth) * 28px)
      rgba(15, 37, 51, calc(0.1 * (1 - var(--case-depth)))),
    0 2px 0 rgba(255, 255, 255, calc(0.55 * (1 - var(--case-depth)))) inset;
  transition:
    opacity 70ms linear,
    transform 70ms linear,
    filter 70ms linear,
    box-shadow 70ms linear,
    visibility 0s linear;
  pointer-events: auto;
}

.case-unfold.is-settled.is-faded {
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 70ms linear,
    transform 70ms linear,
    filter 70ms linear,
    box-shadow 70ms linear,
    visibility 0s linear 70ms;
}

@keyframes case-unfold-in {
  from {
    opacity: 0;
    filter: brightness(0.78) saturate(0.85);
    transform: perspective(1400px) rotateX(68deg) translateY(36px) scale(0.96);
  }
  to {
    opacity: 1;
    filter: brightness(1) saturate(1);
    transform: perspective(1400px) rotateX(0deg) translateY(0) scale(1);
  }
}

.case-card__shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 48%,
    transparent 64%
  );
  transform: translateX(-120%) skewX(-18deg);
  opacity: 0;
}

.case-unfold.is-open .case-card__shine {
  animation: case-shine 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes case-shine {
  0% {
    opacity: 0;
    transform: translateX(-120%) skewX(-18deg);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(130%) skewX(-18deg);
  }
}

@media (min-width: 860px) {
  .case-card {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 420px;
  }

  .case-card--flip .case-card__media {
    order: 2;
  }

  .case-card--flip .case-card__body {
    order: 1;
  }
}

body.has-reduced-motion .case-unfold {
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
  transition: none;
  visibility: visible;
}

body.has-reduced-motion .case-unfold .case-card__shine {
  display: none;
}

.case-card__media {
  position: relative;
  min-height: 220px;
  background: color-mix(in srgb, var(--surface-soft) 70%, var(--brand-navy));
  overflow: hidden;
}

.case-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 859px) {
  .case-card__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    width: 100%;
  }

  .case-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
  }

  .cases-grid {
    gap: clamp(48px, 12vh, 96px);
    padding-bottom: 8vh;
  }

  .case-card {
    position: relative;
    top: auto;
  }
}

@media (min-width: 860px) {
  .case-card__media {
    min-height: 100%;
  }

  .case-card__media img {
    position: absolute;
    inset: 0;
  }
}

.case-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 32px;
}

@media (min-width: 860px) {
  .case-card__body {
    padding: 40px 36px;
  }
}

.case-card__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.case-card__mark {
  width: auto;
  height: 36px;
  max-width: 132px;
  max-height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
  background: transparent;
  object-fit: contain;
  object-position: left center;
}

.case-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.case-card__scope {
  margin: 2px 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.case-card__body h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.case-card__body > p {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-bottom: 16px;
}

@media (min-width: 1100px) {
  .case-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .case-stats:has(.case-stat:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.case-stat {
  padding: 14px 12px;
  border-radius: var(--radius-small);
  background: var(--neutral-white);
  border: 1px solid var(--border-default);
}

.case-stat__value {
  display: block;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-green);
}

.case-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--text-secondary);
}

.case-card__source {
  margin: 0 0 22px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-green);
}

.case-tags {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-success-soft);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.case-tags li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand-green);
  flex-shrink: 0;
}

.case-card__body .btn {
  margin-top: auto;
  width: auto;
  align-self: flex-start;
}

.cases-footer {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.cases-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cases-footer__link::after {
  content: "";
  width: 14px;
  height: 14px;
  background-color: var(--brand-green);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.cases-footer__link:hover {
  color: var(--brand-navy);
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .portfolio-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .portfolio-card:nth-child(1),
  .portfolio-card:nth-child(2) {
    grid-column: span 3;
  }

  .portfolio-card:nth-child(3),
  .portfolio-card:nth-child(4),
  .portfolio-card:nth-child(5) {
    grid-column: span 2;
  }
}

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 24px;
  border-radius: var(--radius-medium);
  overflow: hidden;
  color: var(--text-inverse);
  background: var(--brand-navy);
  isolation: isolate;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(15, 37, 51, 0.88) 100%),
    linear-gradient(135deg, rgba(84, 194, 107, 0.18), transparent 55%);
  z-index: 0;
}

.portfolio-card:nth-child(2)::before {
  background:
    linear-gradient(180deg, transparent 20%, rgba(15, 37, 51, 0.88) 100%),
    linear-gradient(135deg, rgba(102, 115, 124, 0.35), transparent 55%);
}

.portfolio-card:nth-child(3)::before {
  background:
    linear-gradient(180deg, transparent 20%, rgba(15, 37, 51, 0.88) 100%),
    linear-gradient(135deg, rgba(84, 194, 107, 0.28), transparent 50%);
}

.portfolio-card > * {
  position: relative;
  z-index: 1;
}

.portfolio-card__type {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.portfolio-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
}

.portfolio-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* Process — inverse + ścieżka wg DESIGN.md (zieleń tylko w wyniku) */
.process {
  position: relative;
  overflow: hidden;
  background: var(--background-inverse);
  color: var(--text-inverse);
}

.process__head {
  max-width: 40rem;
}

.process-track {
  position: relative;
  display: grid;
  gap: 16px;
}

@media (min-width: 960px) {
  .process-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 24px 22px 28px;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-rise {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--process-i, 0) * 110ms),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--process-i, 0) * 110ms),
    border-color var(--duration-micro) var(--ease),
    background var(--duration-micro) var(--ease);
}

.process-rise.is-visible {
  opacity: 1;
  transform: none;
}

.process-rise .process-step__num {
  transform: scale(0.72);
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--process-i, 0) * 110ms + 80ms);
}

.process-rise.is-visible .process-step__num {
  transform: scale(1);
}

.process-rise .process-step__icon {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--process-i, 0) * 110ms + 120ms),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--process-i, 0) * 110ms + 120ms),
    color var(--duration-micro) var(--ease);
}

.process-rise.is-visible .process-step__icon {
  opacity: 1;
  transform: none;
}

.process-actions.process-rise {
  transform: translateY(16px);
}

.process-step--effect.process-rise.is-visible {
  animation: process-effect-glow 700ms cubic-bezier(0.22, 1, 0.36, 1) 380ms both;
}

@keyframes process-effect-glow {
  from {
    box-shadow: 0 0 0 0 rgba(84, 194, 107, 0);
  }
  40% {
    box-shadow: 0 0 0 4px rgba(84, 194, 107, 0.18);
  }
  to {
    box-shadow: 0 0 0 0 rgba(84, 194, 107, 0);
  }
}

body.has-reduced-motion .process-rise,
body.has-reduced-motion .process-rise .process-step__num,
body.has-reduced-motion .process-rise .process-step__icon {
  opacity: 1;
  transform: none;
  transition: none;
  animation: none;
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--text-inverse);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
}

.process-step__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.process-step__icon svg {
  width: 100%;
  height: 100%;
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-inverse);
}

.process-step p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.process-step--effect {
  background: rgba(84, 194, 107, 0.12);
  border-color: rgba(84, 194, 107, 0.45);
}

.process-step--effect .process-step__num {
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: var(--action-accent-text);
}

.process-step--effect .process-step__icon {
  color: var(--brand-green);
}

.process-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.process-actions .btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.28);
}

.process-actions .btn--ghost-light:hover {
  border-color: var(--brand-green);
  background: rgba(255, 255, 255, 0.08);
}

/* About — O mnie (content 5.8, zastępuje O nas + Dlaczego) */
.about {
  background: var(--background-primary);
  overflow-x: clip;
}

.about__layout {
  display: grid;
  gap: 48px;
  align-items: start;
  min-width: 0;
}

.about__main,
.about__aside {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .about__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 56px;
  }

  .about__main,
  .about__aside {
    display: grid;
  }

  .about__main {
    gap: 0;
  }
}

/* Mobile / tablet: photo between intro and approach icons */
@media (max-width: 1023px) {
  .about__main,
  .about__aside {
    display: contents;
  }

  .about__layout {
    gap: 0;
  }

  .about__intro {
    order: 1;
    margin-bottom: 28px;
  }

  .about__photo {
    order: 2;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 0;
    justify-self: center;
  }

  .about__photo img {
    opacity: 1;
    transform: none;
  }

  .about-offer {
    order: 3;
    margin-top: -56px;
  }

  .about-approach {
    order: 4;
    margin-top: 28px;
  }

  .about-clients {
    order: 5;
    margin-top: 28px;
  }

  .about-cta-bar {
    order: 6;
    margin-top: 28px;
  }
}

.about__intro h2 {
  max-width: 16ch;
}

.about__intro .lead {
  margin-top: 16px;
  max-width: 40rem;
}

.about__intro .lead strong {
  color: var(--text-primary);
  font-weight: 700;
}

.about-approach {
  display: grid;
  gap: 28px 24px;
  margin-top: 40px;
  min-width: 0;
}

@media (max-width: 1023px) {
  .about-approach {
    margin-top: 28px;
  }
}

@media (min-width: 640px) {
  .about-approach {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-approach__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.about-approach__item h3 {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.about-approach__item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.about-rise {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--about-i, 0) * 70ms),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--about-i, 0) * 70ms);
}

.about-rise.is-visible {
  opacity: 1;
  transform: none;
}

.about-rise .icon-tile {
  transform: scale(0.82);
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--about-i, 0) * 70ms + 90ms);
}

.about-rise.is-visible .icon-tile {
  transform: scale(1);
}

.about__intro .accent {
  background-image: linear-gradient(var(--brand-green), var(--brand-green));
  background-position: 0 92%;
  background-repeat: no-repeat;
  background-size: 0% 3px;
  transition: background-size 700ms cubic-bezier(0.22, 1, 0.36, 1) 180ms;
}

.about__intro.is-visible .accent,
.about.is-alive .about__intro .accent {
  background-size: 100% 3px;
}

.about__aside {
  position: relative;
  gap: 0;
}

.about__photo {
  border-radius: var(--radius-large);
  overflow: hidden;
  background: #0a0f14;
  aspect-ratio: 4 / 5;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: scale(1.08) translateY(12px);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about.is-alive .about__photo img {
  opacity: 1;
  transform: scale(1) translateY(0);
}

body.has-reduced-motion .about__photo img,
body.has-reduced-motion .about.is-alive .about__photo img {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Mobile: always show photo (do not wait for scroll animation) */
@media (max-width: 1023px) {
  .about__photo img {
    opacity: 1;
    transform: none;
  }

  .about-offer {
    margin: -56px 12px 0;
    opacity: 1;
    transform: none;
  }
}

.about-offer {
  position: relative;
  z-index: 1;
  margin: -72px 16px 0;
  padding: 24px 22px 22px;
  border-radius: var(--radius-large);
  background: var(--neutral-white);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1) 180ms,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1) 180ms,
    box-shadow var(--duration-micro) var(--ease);
}

@media (min-width: 1024px) {
  .about-offer {
    margin: -88px 20px 0;
    padding: 28px 24px 24px;
  }
}

.about.is-alive .about-offer {
  opacity: 1;
  transform: none;
}

.about-offer h3 {
  margin: 0 0 16px;
  font-size: 1.125rem;
}

.about-offer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px 16px;
}

@media (min-width: 480px) {
  .about-offer__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-offer__list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(280ms + var(--offer-i, 0) * 45ms);
}

.about.is-alive .about-offer__list li {
  opacity: 1;
  transform: none;
}

.about-offer__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.2 6.6 10.7 12 5.2' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 12px no-repeat,
    var(--brand-green);
  transform: scale(0.55);
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(320ms + var(--offer-i, 0) * 45ms);
}

.about.is-alive .about-offer__list li::before {
  transform: scale(1);
}

.about-offer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--duration-micro) var(--ease);
}

.about-offer__link::after {
  content: "";
  width: 14px;
  height: 14px;
  background-color: var(--brand-green);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23000' d='M8.2 4.5h7.3v7.3h-1.7V7.4l-7.6 7.6-1.2-1.2 7.6-7.6H8.2V4.5Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.about-offer__link:hover {
  color: var(--brand-navy);
}

.about-clients {
  margin-top: 36px;
  padding: 22px 0 18px;
  border-radius: var(--radius-large);
  background: var(--surface-soft);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1) 60ms,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1) 60ms;
}

.about.is-alive .about-clients,
.about-clients.is-inview {
  opacity: 1;
  transform: none;
}

.about-clients__label {
  margin: 0 20px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.about-clients__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.about-clients__track {
  display: flex;
  width: max-content;
  max-width: none;
  will-change: transform;
}

.about-clients__track.is-animated {
  animation: about-clients-marquee 42s linear infinite;
  animation-play-state: running;
}

.about-clients__viewport:hover .about-clients__track.is-animated,
.about-clients__viewport:focus-within .about-clients__track.is-animated {
  animation-play-state: paused;
}

@media (hover: none) {
  .about-clients__viewport:hover .about-clients__track.is-animated,
  .about-clients__viewport:focus-within .about-clients__track.is-animated {
    animation-play-state: running;
  }
}

.about-clients__list {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 0;
  padding: 0 6px;
  list-style: none;
}

.about-clients__list li {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 56px;
  min-width: 180px;
  min-height: 56px;
  aspect-ratio: 16 / 5;
  padding: 10px 20px;
  border-radius: var(--radius-small);
  background: var(--neutral-white);
  box-sizing: border-box;
}

.about-clients__list img {
  display: block;
  width: auto;
  height: auto;
  max-width: 148px;
  max-height: 32px;
  object-fit: contain;
  object-position: center;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.about-clients__list li:hover img {
  opacity: 1;
}

.about-clients__viewport.is-static {
  mask-image: none;
  -webkit-mask-image: none;
  padding: 0 20px;
  overflow: visible;
}

.about-clients__viewport.is-static .about-clients__track {
  display: block;
  width: auto;
}

.about-clients__viewport.is-static .about-clients__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  padding: 0;
}

@media (min-width: 560px) {
  .about-clients__viewport.is-static .about-clients__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-clients__viewport.is-static .about-clients__list li {
  min-width: 0;
  width: auto;
  height: auto;
  aspect-ratio: 16 / 5;
}

@keyframes about-clients-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

body.has-reduced-motion .about-clients__track.is-animated {
  animation: none;
}

.about-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-large);
  background: var(--surface-success-soft);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1) 120ms,
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

.about.is-alive .about-cta-bar {
  opacity: 1;
  transform: none;
}

.about-cta-bar > p {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  flex: 1 1 12rem;
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.about-cta-bar > p > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.about-cta-bar__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--neutral-white);
  flex-shrink: 0;
}

.about-cta-bar__icon svg {
  width: 22px;
  height: 22px;
}

.about-cta-bar .btn {
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .about-cta-bar {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    height: auto;
    min-height: 0;
  }

  .about-cta-bar > p {
    flex: 0 1 auto;
    width: 100%;
  }

  .about-cta-bar .btn {
    width: 100%;
    justify-content: center;
  }

  .about-clients__list li {
    width: 156px;
    min-width: 156px;
    height: 52px;
    min-height: 52px;
    padding: 8px 14px;
  }

  .about-clients__list img {
    max-width: 120px;
    max-height: 28px;
  }

  .about__intro h2 {
    max-width: none;
  }

  .about-offer {
    margin-left: 12px;
    margin-right: 12px;
  }
}

body.has-reduced-motion .about-rise,
body.has-reduced-motion .about-rise .icon-tile,
body.has-reduced-motion .about__photo img,
body.has-reduced-motion .about-offer,
body.has-reduced-motion .about-offer__list li,
body.has-reduced-motion .about-offer__list li::before,
body.has-reduced-motion .about-cta-bar,
body.has-reduced-motion .about-clients {
  opacity: 1;
  transform: none;
  transition: none;
}

body.has-reduced-motion .about__intro .accent {
  background-size: 100% 3px;
  transition: none;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 96px 0;
}

.final-cta h2 {
  max-width: 16ch;
  margin-inline: auto;
}

.final-cta .lead {
  margin: 16px auto 32px;
}

.final-cta__note {
  margin: 16px 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Contact */
.contact {
  background: var(--neutral-white);
}

.contact-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 56px;
  }
}

.contact-info .lead {
  margin-top: 16px;
}

/* DESIGN.md 5.2: neutral-600 on surface-soft fails AA — lead stays primary */
.section--soft > .container .lead,
.section--soft .contact-info .lead {
  color: var(--text-primary);
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  padding: 10px 16px;
  border: 1px solid color-mix(in srgb, var(--brand-green) 55%, var(--border-default));
  border-radius: var(--radius-pill);
  background: var(--surface-success-soft);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.contact-badge__icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--brand-green);
  flex-shrink: 0;
}

.contact-badge__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.contact-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-medium);
  background: var(--neutral-white);
}

.contact-point__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-button);
}

.contact-point__icon svg {
  width: 22px;
  height: 22px;
}

.contact-point__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.contact-point__body strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-point__body a,
.contact-point__body span {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.45;
  word-break: break-word;
}

.contact-point__body a:hover {
  color: var(--brand-green);
}

.contact-phone-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
}

.contact-phone-link__reveal {
  display: none;
}

.contact-phone-link__value {
  display: inline;
}

/* „Pokaż numer” tylko na desktopie — na mobile od razu widać numer i działa tel: */
@media (min-width: 900px) {
  .contact-point--phone .contact-phone-link__reveal {
    display: inline;
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 1px dashed color-mix(in srgb, var(--brand-green) 75%, var(--border-default));
    padding-bottom: 1px;
  }

  .contact-point--phone .contact-phone-link__value {
    display: none;
  }

  .contact-point--phone.is-phone-revealed .contact-phone-link__reveal {
    display: none;
  }

  .contact-point--phone.is-phone-revealed .contact-phone-link__value {
    display: inline;
    color: var(--brand-green);
    font-weight: 700;
  }

  .contact-point--phone .contact-phone-link:not([href^="tel"]) {
    cursor: pointer;
  }
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-large);
  background: var(--neutral-white);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  .contact-form {
    padding: 32px;
  }
}

.contact-form__grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

@media (min-width: 640px) {
  .contact-form__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 14px;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field {
  display: grid;
  gap: 8px;
  align-content: start;
  align-items: stretch;
}

.field label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.field__req {
  color: var(--brand-green);
  font-weight: 700;
}

.field__optional {
  font-weight: 400;
  color: var(--text-secondary);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-button);
  background: var(--neutral-white);
  color: var(--text-primary);
  transition: border-color var(--duration-standard) var(--ease);
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: #c44b4b;
  box-shadow: 0 0 0 1px color-mix(in srgb, #c44b4b 35%, transparent);
}

.field__error {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 600;
  color: #b42318;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 7.75 10 12.25l4.5-4.5' stroke='%2366737C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--text-secondary) 72%, var(--neutral-white));
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 1px;
  border-color: var(--brand-navy);
}

.field.is-invalid input:focus-visible,
.field.is-invalid textarea:focus-visible,
.field.is-invalid select:focus-visible {
  outline-color: #c44b4b;
  border-color: #c44b4b;
}

.contact-form__submit {
  width: 100%;
}

.contact-form__consents {
  display: grid;
  gap: 12px;
  margin: 4px 0 8px;
}

.contact-form__turnstile {
  margin: 4px 0 4px;
  min-height: 65px;
}

.check-field {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.check-field.is-invalid input[type="checkbox"] {
  border-color: #c44b4b;
}

.check-field .field__error {
  flex: 1 0 100%;
  padding-left: 32px;
}

.check-field input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex-shrink: 0;
  border: 1.5px solid var(--border-default);
  border-radius: 6px;
  background: var(--neutral-white);
  cursor: pointer;
  transition:
    border-color var(--duration-micro) var(--ease),
    background var(--duration-micro) var(--ease),
    box-shadow var(--duration-micro) var(--ease);
}

.check-field input[type="checkbox"]:checked {
  border-color: var(--brand-green);
  background-color: var(--brand-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2 6.4 11l6.1-6.5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.check-field input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

.check-field__text a {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check-field__text a:hover {
  color: var(--brand-navy);
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-note.is-error {
  color: #b42318;
}

.form-note.is-error .form-note__icon {
  color: #b42318;
}

.form-note.is-success {
  color: var(--text-primary);
}

.form-note.is-success .form-note__icon {
  color: var(--brand-green);
}

.form-note.is-pending {
  color: var(--text-secondary);
}

.form-note__icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--brand-green);
  flex-shrink: 0;
}

.form-note__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Footer */
.site-footer {
  --footer-bg: #0a1a24;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--footer-bg);
  color: var(--text-inverse);
  padding: 72px 0 28px;
}

.site-footer__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(84, 194, 107, 0.07), transparent 28%),
    radial-gradient(circle at 82% 68%, rgba(255, 255, 255, 0.04), transparent 32%),
    radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0 46%, rgba(255, 255, 255, 0.035) 46% 46.6%, transparent 46.6% 100%),
    linear-gradient(155deg, transparent 0 58%, rgba(255, 255, 255, 0.028) 58% 58.5%, transparent 58.5% 100%);
  background-size:
    auto,
    auto,
    28px 28px,
    100% 100%,
    100% 100%;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0,
    0 0;
  will-change: background-position, opacity;
}

.site-footer__glow {
  position: absolute;
  left: -12%;
  top: -40%;
  z-index: 0;
  width: 55%;
  height: 90%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 194, 107, 0.16), transparent 68%);
  opacity: 0;
  transform: translate3d(-8%, 12%, 0) scale(0.92);
  filter: blur(2px);
}

.site-footer.is-alive .site-footer__pattern {
  animation: footer-pattern-drift 36s linear infinite;
}

.site-footer.is-alive .site-footer__glow {
  animation: footer-glow-sweep 7.5s var(--ease) 0.2s both;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1.15fr 0.95fr 1.05fr;
    gap: 36px;
    align-items: start;
  }
}

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

.site-footer .logo {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.site-footer .logo img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 0;
  filter: none;
}

.footer-brand__lead {
  margin: 20px 0 0;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.footer-brand__location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-brand__location .footer-icon {
  flex-shrink: 0;
  align-self: center;
  margin-top: 0;
  color: var(--brand-green);
}

.footer-social {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.04);
  transition:
    color var(--duration-micro) var(--ease),
    border-color var(--duration-micro) var(--ease),
    background-color var(--duration-micro) var(--ease);
}

.footer-social a:hover {
  color: var(--brand-green);
  border-color: rgba(84, 194, 107, 0.55);
  background: rgba(84, 194, 107, 0.1);
}

.footer-social .footer-icon {
  width: 22px;
  height: 22px;
  color: inherit;
}

.footer-social .footer-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.footer-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--brand-green);
}

.footer-icon svg {
  width: 100%;
  height: 100%;
}

.footer-icon__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.footer-col h3 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral-white);
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--brand-green);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease);
  transition-delay: calc(0.28s + var(--footer-i, 0) * 70ms);
}

.site-footer.is-alive .footer-col h3::after {
  transform: scaleX(1);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.footer-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: color var(--duration-micro) var(--ease);
}

.footer-list a:hover {
  color: var(--brand-green);
}

.footer-list--nav a {
  justify-content: space-between;
  gap: 16px;
}

.footer-chevron {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.125rem;
  line-height: 1;
  transition: color var(--duration-micro) var(--ease), transform var(--duration-micro) var(--ease);
}

.footer-list--nav a:hover .footer-chevron {
  color: var(--brand-green);
  transform: translateX(2px);
}

.footer-list--contact li + li {
  border-top: none;
}

.footer-list--contact a {
  padding: 8px 0;
}

.footer-company {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company__name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-company__name {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
}

.footer-company__meta {
  margin: 6px 0 0;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-company__meta + .footer-company__meta {
  margin-top: 4px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8125rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.footer-legal a,
.footer-legal__btn {
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  font-size: 0.8125rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color var(--duration-micro) var(--ease);
}

.footer-legal a:hover,
.footer-legal__btn:hover {
  color: var(--brand-green);
}

.footer-legal a + a,
.footer-legal a + .footer-legal__btn,
.footer-legal__btn + a {
  display: inline-flex;
  align-items: center;
}

.footer-legal a + a::before,
.footer-legal a + .footer-legal__btn::before,
.footer-legal__btn + a::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 12px;
  border-radius: 50%;
  background: var(--brand-green);
  opacity: 0.9;
}

@media (max-width: 899px) {
  .site-footer {
    padding-top: 56px;
  }

  .footer-brand__location {
    margin-top: 20px;
  }
}

.footer-rise {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: calc(var(--footer-i, 0) * 75ms);
}

.site-footer.is-alive .footer-rise {
  opacity: 1;
  transform: none;
}

.site-footer.is-alive .footer-brand .logo {
  animation: footer-logo-in 0.7s var(--ease) 0.05s both;
}

.site-footer.is-alive .footer-icon {
  animation: footer-icon-pop 0.55s var(--ease) both;
  animation-delay: calc(0.22s + var(--footer-i, 0) * 75ms);
}

.footer-list li {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
  transition-delay: calc(0.32s + var(--footer-i, 0) * 75ms + var(--footer-li, 0) * 45ms);
}

.site-footer.is-alive .footer-list li {
  opacity: 1;
  transform: none;
}

.footer-list li:nth-child(1) { --footer-li: 0; }
.footer-list li:nth-child(2) { --footer-li: 1; }
.footer-list li:nth-child(3) { --footer-li: 2; }
.footer-list li:nth-child(4) { --footer-li: 3; }
.footer-list li:nth-child(5) { --footer-li: 4; }
.footer-list li:nth-child(6) { --footer-li: 5; }

@keyframes footer-pattern-drift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 0 0, 28px 28px, 0 0, 0 0;
  }
}

@keyframes footer-glow-sweep {
  0% {
    opacity: 0;
    transform: translate3d(-10%, 16%, 0) scale(0.9);
  }
  35% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.35;
    transform: translate3d(18%, -6%, 0) scale(1.08);
  }
}

@keyframes footer-logo-in {
  from {
    opacity: 0;
    transform: translate3d(-12px, 0, 0);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes footer-icon-pop {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  70% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

body.has-reduced-motion .footer-rise,
body.has-reduced-motion .footer-list li {
  opacity: 1;
  transform: none;
  transition: none;
}

body.has-reduced-motion .site-footer__pattern,
body.has-reduced-motion .site-footer__glow,
body.has-reduced-motion .site-footer .logo,
body.has-reduced-motion .footer-icon {
  animation: none !important;
}

body.has-reduced-motion .footer-col h3::after {
  transform: scaleX(1);
  transition: none;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--duration-reveal) var(--ease),
    transform var(--duration-reveal) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

body.has-reduced-motion .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Mobile motion — lighter, earlier, no sticky 3D case stack */
@media (max-width: 899px) {
  .reveal {
    transform: translateY(12px);
    transition-duration: 0.45s;
  }

  .service-rise {
    transform: translateY(14px);
    transition:
      border-color var(--duration-micro) var(--ease),
      box-shadow var(--duration-micro) var(--ease),
      opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .service-rise .icon-tile,
  .service-rise .service-card__num {
    transition-duration: 380ms;
  }

  .audience-in__item {
    transform: translateY(12px);
    transition-duration: 480ms;
  }

  .audience__visual.audience-in {
    transform: translateY(16px);
    transition-duration: 520ms;
  }

  .audience__visual img {
    transform: scale(1.03);
    transition-duration: 700ms;
  }

  .process-rise {
    transform: translateY(14px);
    transition:
      opacity 420ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--process-i, 0) * 55ms),
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--process-i, 0) * 55ms),
      border-color var(--duration-micro) var(--ease),
      background var(--duration-micro) var(--ease);
  }

  .process-rise .process-step__num {
    transition-delay: calc(var(--process-i, 0) * 55ms + 40ms);
  }

  .process-rise .process-step__icon {
    transition:
      opacity 360ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--process-i, 0) * 55ms + 70ms),
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--process-i, 0) * 55ms + 70ms),
      color var(--duration-micro) var(--ease);
  }

  .process-actions.process-rise {
    transform: translateY(12px);
  }

  .about-rise {
    transform: translateY(12px);
    transition:
      opacity 420ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--about-i, 0) * 55ms),
      transform 420ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--about-i, 0) * 55ms);
  }

  .about-rise .icon-tile {
    transition-delay: calc(var(--about-i, 0) * 55ms + 60ms);
  }

  .about__intro .accent {
    transition-duration: 520ms;
    transition-delay: 80ms;
  }

  .about__photo img {
    transform: scale(1.03) translateY(6px);
    transition:
      opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .about-offer {
    transform: translateY(16px);
    transition-duration: 480ms;
  }

  .about-offer__list li {
    transform: translateY(8px);
    transition-duration: 380ms;
  }

  .about-clients {
    transform: translateY(10px);
    transition-duration: 420ms;
  }

  .about-cta-bar {
    transform: translateY(10px);
    transition-duration: 420ms;
  }

  .cases-grid {
    gap: 28px;
    padding-bottom: 8px;
  }

  .case-card {
    position: relative;
    top: auto;
    will-change: auto;
  }

  .case-unfold {
    transform: translateY(16px);
    filter: none;
    backface-visibility: visible;
  }

  .case-unfold.is-open {
    animation: case-rise-mobile 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .case-unfold.is-open.is-settled {
    opacity: 1;
    visibility: visible;
    filter: none;
    transform: none;
    box-shadow:
      0 18px 48px rgba(15, 37, 51, 0.1),
      0 2px 0 rgba(255, 255, 255, 0.55) inset;
    transition: none;
    pointer-events: auto;
  }

  .case-unfold.is-settled.is-faded {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .case-unfold.is-open .case-card__shine {
    animation: none;
    opacity: 0;
  }

  @keyframes case-rise-mobile {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .footer-rise {
    transform: translate3d(0, 14px, 0);
    transition-duration: 0.45s;
  }

  .footer-list li {
    transform: translate3d(0, 8px, 0);
    transition-duration: 0.35s;
  }

  .site-footer.is-alive .footer-brand .logo {
    animation-duration: 0.5s;
  }

  .site-footer.is-alive .footer-icon {
    animation-duration: 0.4s;
  }
}

/* —— Polityka prywatności + cookies —— */
.policy-page {
  overflow-x: clip;
}

.breadcrumbs {
  margin: 0 0 18px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: var(--border-default);
}

.breadcrumbs__link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-standard) var(--ease);
}

.breadcrumbs__link:hover,
.breadcrumbs__link:focus-visible {
  color: var(--brand-green);
}

.breadcrumbs__current {
  color: var(--brand-green);
  font-weight: 600;
}

.policy-hero__breadcrumbs {
  margin-bottom: 20px;
}

.policy-hero {
  padding: calc(var(--header-h) + 28px) 0 48px;
  background:
    radial-gradient(ellipse 70% 55% at 90% 0%, rgba(84, 194, 107, 0.1), transparent 55%),
    linear-gradient(180deg, var(--surface-soft) 0%, var(--neutral-white) 72%);
}

.policy-hero__layout {
  display: grid;
  gap: 36px;
  align-items: start;
}

@media (min-width: 960px) {
  .policy-hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
    gap: 48px;
  }
}

.policy-hero__copy h1 {
  max-width: 14ch;
  margin: 0;
}

.policy-hero__copy .lead {
  margin-top: 16px;
  max-width: 38rem;
}

.policy-hero__actions {
  margin: 28px 0 0;
}

.policy-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.policy-hero__meta-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--surface-success-soft);
  color: var(--brand-green);
  flex-shrink: 0;
}

.policy-hero__meta-icon svg {
  width: 16px;
  height: 16px;
}

.policy-hero__media-frame {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  background: #0a0f14;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin-inline: auto;
  box-shadow: var(--shadow-soft);
}

.policy-hero__media-frame::after {
  content: "";
  position: absolute;
  inset: auto -18% -22% auto;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 194, 107, 0.28), transparent 68%);
  pointer-events: none;
}

.policy-hero__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.policy-body {
  padding-top: 40px;
  padding-bottom: 72px;
}

.policy-body__layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 960px) {
  .policy-body__layout {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 48px;
  }
}

.policy-toc {
  padding: 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-medium);
  background: var(--neutral-white);
}

@media (min-width: 960px) {
  .policy-toc {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
    padding: 18px 14px;
  }
}

.policy-toc__eyebrow {
  margin: 0 0 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

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

@media (min-width: 960px) {
  .policy-toc__nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

.policy-toc__link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition:
    background-color var(--duration-standard) var(--ease),
    color var(--duration-standard) var(--ease);
}

.policy-toc__link:hover {
  background: var(--surface-success-soft);
  color: var(--brand-green);
}

.policy-toc__num {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-green);
  font-variant-numeric: tabular-nums;
}

.policy-toc__label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
}

.policy-details__intro {
  max-width: 36rem;
  margin-bottom: 28px;
}

.policy-articles {
  display: grid;
  gap: 14px;
}

.policy-article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 16px;
  padding: 20px 18px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-medium);
  background: var(--neutral-white);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.policy-article--cookies {
  border-color: color-mix(in srgb, var(--brand-green) 40%, var(--border-default));
  background:
    linear-gradient(180deg, var(--surface-success-soft) 0%, var(--neutral-white) 48%);
}

.policy-article__num {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--brand-green);
  font-variant-numeric: tabular-nums;
}

.policy-article__title {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.policy-article__body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
  white-space: pre-line;
}

.policy-why {
  padding-top: 64px;
  padding-bottom: 72px;
}

.policy-why__layout {
  display: grid;
  gap: 36px;
}

@media (min-width: 960px) {
  .policy-why__layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: start;
  }
}

.policy-why__intro h2 {
  max-width: 16ch;
  color: var(--text-primary);
}

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

@media (min-width: 640px) {
  .policy-why__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
  }
}

.policy-why__item {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.policy-why__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-success-soft);
  color: var(--brand-green);
}

.policy-why__icon svg {
  width: 20px;
  height: 20px;
}

.policy-why__item strong {
  color: var(--text-primary);
  font-size: 1rem;
}

.policy-why__item span {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.45;
}

@media (max-width: 639px) {
  .policy-hero {
    padding-top: calc(var(--header-h) + 20px);
  }

  .policy-hero__copy h1 {
    max-width: none;
  }

  .policy-hero__media-frame {
    max-width: none;
    aspect-ratio: 5 / 4;
  }
}
