:root {
  --paper: #f4f4f4;
  --paper-2: #e8e8e8;
  --ink: #232323;
  --muted: #555555;
  --accent: #f39315;
  --accent-deep: #d97a0a;
  --deep: #141414;
  --deep-2: #1e1e1e;
  --deep-3: #292929;
  --soft: #b8b8b8;
  --dim: #9a9a9a;
  --font: "Switzer", "Segoe UI", sans-serif;
  --step-small: 0.95rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-h2: clamp(38px, 4.4vw, 68px);
  --chamfer-btn: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  --pad: clamp(16px, 3vw, 40px);
  --page: 1440px;
  --inset: max(var(--pad), calc((100vw - var(--page)) / 2));
  --section: clamp(4.5rem, 11vh, 8rem);
}

* { box-sizing: border-box; }

.aitrom-landing-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.aitrom-landing-body .wp-site-blocks,
.aitrom-landing-body header.wp-block-template-part,
.aitrom-landing-body footer.wp-block-template-part {
  display: none !important;
}

.v2-root { overflow-x: clip; }

.v2-root section { scroll-margin-top: 5rem; }

.v2-root h2 {
  margin: 0;
  font-size: var(--step-h2);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.v3-sr {
  position: absolute;
  width: 1px;
  height: 1px; /* taste-skill-ignore */
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* nawigacja */

.v2-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem var(--inset);
  background: var(--deep);
}

.v2-logo {
  display: block;
  line-height: 0;
}

.v2-logo img {
  display: block;
  width: auto;
  height: 54px;
}

.v2-nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}

.v2-nav-links a {
  color: var(--paper);
  font-size: var(--step-small);
  font-weight: 500;
  text-decoration: none;
}

.v2-nav-links a:hover { color: var(--accent); }

.v2-nav-links a.v2-nav-cta {
  padding: 0.55rem 0.95rem;
  color: var(--ink);
}

.v2-nav-links a.v2-nav-cta:hover { color: var(--ink); }

.v2-nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 0.55rem 0.8rem;
  clip-path: var(--chamfer-btn);
  cursor: pointer;
}

/* przyciski */

.v2-btn,
.v2-submit,
.v2-plan-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  clip-path: var(--chamfer-btn);
}

.v2-btn { padding: 0.85rem 1.15rem; }

.v2-btn:hover,
.v2-submit:hover,
.v2-plan-go:hover { background: var(--accent-deep); }

.v2-btn:active,
.v2-submit:active { transform: translateY(1px); }

/* hero */

.v3-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  min-height: calc(100svh - 78px);
  padding: clamp(2rem, 7vh, 4.5rem) var(--inset) 0;
  background: var(--deep);
  color: var(--paper);
  overflow: hidden;
}

.v3-hero h1 {
  margin: 0;
  font-size: clamp(48px, 5.1vw, 80px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.v3-h1-accent { color: var(--accent); }

.v3-lead {
  max-width: 39ch;
  margin: 1.5rem 0 2rem;
  font-size: var(--step-lead);
  line-height: 1.45;
  color: var(--soft);
}

.v3-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.v3-link {
  color: var(--paper);
  font-weight: 500;
  text-underline-offset: 0.3em;
}

.v3-link:hover { color: var(--accent); }

.v3-stage {
  position: relative;
  perspective: 1800px;
}

.v3-glow {
  position: absolute;
  top: -18%;
  right: -12%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.38;
  filter: blur(110px);
  pointer-events: none;
}

.v3-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(1.25rem, 4vh, 2.5rem) calc(var(--inset) * -1) 0;
  padding: 0 var(--inset);
  list-style: none;
  background: var(--accent);
  color: var(--ink);
}

.v3-strip li {
  display: flex;
  align-items: center;
  padding: 1.1rem 1.35rem;
  font-size: clamp(1rem, 0.92rem + 0.28vw, 1.2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

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

.v3-strip li:last-child { padding-right: 0; }

.v3-strip li + li { box-shadow: inset 2px 0 0 rgba(20, 20, 20, 0.18); } /* taste-skill-ignore */

/* okno programu */

.v3-app,
.v3-card {
  position: relative;
  background: var(--deep-2);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.09); /* taste-skill-ignore */
  border-radius: 14px;
  overflow: hidden;
}

.v3-app {
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.8); /* taste-skill-ignore */
  transform: rotateY(-7deg) rotateX(3deg);
  transform-origin: left center;
}

.v3-card { box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.55); } /* taste-skill-ignore */

.v3-app-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07); /* taste-skill-ignore */
  font-size: 0.9rem;
  color: var(--dim);
}

.v3-app-name { color: var(--paper); font-weight: 600; }

.v3-app-user { margin-left: auto; }

.v3-app-body {
  display: grid;
  grid-template-columns: 13.5rem minmax(0, 1fr);
  min-height: 29rem;
}

.v3-app-list {
  padding: 1rem 0.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07); /* taste-skill-ignore */
}

.v3-app-k {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dim);
}

.v3-case {
  display: block;
  width: 100%;
  margin: 0 0 0.3rem;
  padding: 0.6rem 0.7rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d4d4d4;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.v3-case:hover { background: var(--deep-3); }

.v3-case span {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: #8c8c8c;
}

.v3-case.is-active,
.v3-case.is-active:hover {
  background: rgba(243, 147, 21, 0.13);
  color: var(--paper);
}

.v3-case.is-active span { color: var(--accent); }

.v3-app-main {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.2rem;
}

.v3-mail {
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: var(--deep-3);
}

.v3-mail .v3-app-k { margin-bottom: 0.3rem; }

.v3-mail-subj {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.v3-mail-text {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
  color: var(--soft);
}

.v3-files {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.v3-chip {
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  background: var(--deep-3);
  border: 1px solid rgba(255, 255, 255, 0.08); /* taste-skill-ignore */
  font-size: 0.9rem;
  color: #e0e0e0;
}

.v3-agent {
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}

.v3-agent-k {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.v3-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.v3-draft {
  margin: 0;
  min-height: 4.4em;
  font-size: 1rem;
  line-height: 1.45;
}

.v3-approve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: auto;
  padding: 0.75rem 0.9rem 0.75rem 1.05rem;
  border-radius: 10px;
  background: rgba(243, 147, 21, 0.1);
  border: 1px solid rgba(243, 147, 21, 0.35); /* taste-skill-ignore */
}

.v3-approve p { margin: 0; font-weight: 500; }

.v3-tak,
.v2-send,
.v2-tak {
  flex: none;
  border: 0;
  border-radius: 8px;
  padding: 0.7rem 1.05rem;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.v3-tak:hover,
.v2-tak:hover { background: var(--accent-deep); }

.v3-tak.is-sent,
.v2-tak.is-sent {
  background: #3a3a3a;
  color: var(--paper);
  cursor: default;
}

.v3-app.is-playing [data-step] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.v3-app.is-playing [data-step].is-in {
  opacity: 1;
  transform: none;
}

/* karta w sekcjach */

.v3-card-body {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.4rem 1.5rem;
}

.v3-card-title {
  margin: 0;
  font-size: clamp(26px, 2.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.v3-card-line {
  margin: 0.5rem 0 1rem;
  color: var(--soft);
}

.v3-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.45rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  background: var(--deep-3);
  font-weight: 500;
}

.v3-row span { color: var(--accent); font-weight: 600; }

.v3-row > span:last-child { text-align: right; }

.v3-card-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.v2-send:disabled {
  background: #3a3a3a;
  color: var(--soft);
  cursor: default;
}

.v2-send:not(:disabled) { background: var(--paper); color: var(--ink); }

.v2-fallback { margin: 0.9rem 0 0; color: var(--dim); font-size: var(--step-small); }

/* jak pracuje / dzień pracy */

.v3-how,
.v32-how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: var(--section) var(--inset);
  background: var(--paper);
}

.v3-how h2,
.v32-how h2 {
  white-space: pre-line;
  text-wrap: wrap;
}

.v3-how-note {
  max-width: 34ch;
  margin: 1.25rem 0 2.25rem;
  font-size: var(--step-lead);
  line-height: 1.4;
  color: var(--muted);
}

.v3-range {
  width: 100%;
  height: 32px;
  accent-color: var(--accent);
  cursor: pointer;
}

.v2-range-names {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0.35rem;
  font-size: 1.1875rem;
  color: var(--muted);
}

.v2-range-names .is-current { color: var(--ink); font-weight: 600; }

.v3-how .v3-card { min-height: 30rem; }

.v31-how,
.v32-how { background: var(--paper-2); }

.v32-how .v3-how-note {
  max-width: 36ch;
  margin: 1.35rem 0 1.85rem;
}

.v31-how .v3-card-actions { flex-wrap: wrap; }

.v3-row .v31-row-k,
.v3-row .v32-row-k { color: var(--paper); font-weight: 500; }

.v31-how .v2-tak[hidden],
.v31-how .v2-send[hidden] { display: none; }

/* graficzny suwak V3.2 */

.v32-scrubber {
  --thumb-w: 58px;
  --p: 0;
  padding: 1.05rem 1.15rem 1rem;
  border-radius: 12px;
  background: var(--paper);
}

.v32-scrub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.v32-scrub-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.v32-scrub-hint-icon {
  flex: none;
  color: var(--accent);
}

.v32-scrubber:not(.is-touched).is-inview .v32-scrub-hint-arrow {
  animation: v32-arrow-pulse 1.6s ease-in-out infinite;
}

.v32-scrub-arrows {
  display: inline-flex;
  flex: none;
  gap: 0.35rem;
}

.v32-scrub-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.v32-scrub-step:hover:not(:disabled) {
  background: var(--ink);
  color: var(--paper);
}

.v32-scrub-step.is-cta:not(:disabled) {
  background: var(--accent);
  color: var(--ink);
}

.v32-scrub-step.is-cta:hover:not(:disabled) {
  background: var(--ink);
  color: var(--paper);
}

.v32-scrub-step:disabled {
  opacity: 0.35;
  cursor: default;
}

.v32-scrub-rail {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  touch-action: pan-y;
}

.v32-scrub-track {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #cccccc;
}

.v32-scrub-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--thumb-w) / 2 + var(--p) * (100% - var(--thumb-w)));
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.v32-scrubber.is-dragging .v32-scrub-fill,
.v32-scrubber.is-dragging .v32-scrub-thumb {
  transition: none;
}

.v32-scrub-tick {
  position: absolute;
  top: 50%;
  left: calc(var(--thumb-w) / 2 + var(--i) * (100% - var(--thumb-w)) / 3);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #b5b5b5;
  border: 2px solid var(--paper);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: background 0.18s ease;
}

.v32-scrub-tick.is-passed {
  background: var(--accent);
}

.v32-scrub-thumb {
  position: absolute;
  top: 50%;
  left: calc(var(--p) * (100% - var(--thumb-w)));
  width: var(--thumb-w);
  height: 36px;
  border-radius: 9px;
  background: var(--ink);
  border: 2px solid var(--accent);
  box-shadow: 0 5px 14px rgba(20, 20, 20, 0.24); /* taste-skill-ignore */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  transition: left 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.16s ease, box-shadow 0.16s ease;
}

.v32-scrub-rail:hover .v32-scrub-thumb,
.v32-scrubber.is-dragging .v32-scrub-thumb {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 7px 18px rgba(20, 20, 20, 0.32); /* taste-skill-ignore */
}

.v32-scrubber:not(.is-touched).is-inview .v32-scrub-thumb {
  animation: v32-thumb-nudge 2.4s cubic-bezier(0.36, 0, 0.24, 1) 0.35s 2;
}

.v32-scrubber:not(.is-touched).is-inview .v32-scrub-fill {
  animation: v32-fill-nudge 2.4s cubic-bezier(0.36, 0, 0.24, 1) 0.35s 2;
}

.v32-range-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: grab;
  z-index: 3;
}

.v32-range-native:active { cursor: grabbing; }

.v32-range-native:focus-visible ~ .v32-scrub-thumb {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.v32-stage-tabs {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.v32-stage-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.3rem 0.15rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.v32-stage-tab:hover { color: var(--ink); }

.v32-stage-tab.is-current {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

@keyframes v32-thumb-nudge {
  0%, 100% { transform: translate(0, -50%); }
  30% { transform: translate(18px, -50%); }
  55% { transform: translate(0, -50%); }
  80% { transform: translate(10px, -50%); }
}

@keyframes v32-fill-nudge {
  0%, 100% { width: calc(var(--thumb-w) / 2); }
  30% { width: calc(var(--thumb-w) / 2 + 18px); }
  55% { width: calc(var(--thumb-w) / 2); }
  80% { width: calc(var(--thumb-w) / 2 + 10px); }
}

@keyframes v32-arrow-pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .v32-scrubber:not(.is-touched).is-inview .v32-scrub-thumb,
  .v32-scrubber:not(.is-touched).is-inview .v32-scrub-fill,
  .v32-scrubber:not(.is-touched).is-inview .v32-scrub-hint-arrow {
    animation: none;
  }
}

.v32-stage-card .v3-app-bar {
  white-space: nowrap;
  overflow: hidden;
}

.v32-stage-card .v3-card-title { min-height: 1.15em; }

.v32-stage-card .v3-card-line {
  margin: 0.55rem 0 1rem;
  line-height: 1.45;
  min-height: calc(1.45em * 3);
}

.v32-stage-card .v3-row {
  align-items: center;
  min-height: 2.85rem;
}

.v32-stage-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  min-height: 3.2rem;
}

.v32-stage-actions [hidden] { display: none !important; }

.v32-stage-status {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--deep-3);
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.v32-stage-actions .v2-tak,
.v32-stage-actions .v2-send {
  min-height: 2.85rem;
  padding: 0.65rem 1.05rem;
}

.v32-stage-card .v2-fallback { min-height: 1.5em; }

/* problem */

.v31-problem,
.v32-problem {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: var(--section) var(--inset);
  background: var(--paper);
}

.v31-problem-intro,
.v32-problem-intro {
  max-width: 46ch;
  margin: 1.5rem 0 2.25rem;
  font-size: var(--step-lead);
  line-height: 1.42;
}

.v31-pains,
.v32-pains {
  display: grid;
  gap: 1.55rem;
  max-width: 52ch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v31-pains strong,
.v32-pains strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.v31-pains strong::before,
.v32-pains strong::before {
  content: "";
  display: inline-block;
  width: 0.52em;
  height: 0.52em;
  margin-right: 0.55em;
  background: var(--accent);
  vertical-align: 0.08em;
}

/* pracownik i firma */

.v31-firm,
.v32-firm {
  padding: var(--section) var(--inset);
  background: var(--deep);
  color: var(--paper);
}

.v31-firm-lead,
.v32-firm-lead {
  max-width: 54ch;
  margin: 1.5rem 0 3rem;
  font-size: var(--step-lead);
  line-height: 1.42;
  color: var(--paper);
}

.v31-ledger,
.v32-ledger {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 0 0 1rem;
  list-style: none;
}

.v31-ledger::before,
.v32-ledger::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 0;
  z-index: -1;
  background: var(--deep-2);
}

.v31-ledger li,
.v32-ledger li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.v31-ledger-do,
.v32-ledger-do {
  padding: 1.35rem 2.5rem 1.35rem 0;
  font-size: clamp(24px, 1.9vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.v31-ledger-stays,
.v32-ledger-stays {
  display: flex;
  align-items: center;
  padding: 1.35rem clamp(1.25rem, 2.5vw, 2.25rem);
  font-size: 1.1875rem;
  line-height: 1.45;
}

.v31-ledger-top .v31-ledger-do,
.v31-ledger-top .v31-ledger-stays,
.v32-ledger-top .v32-ledger-do,
.v32-ledger-top .v32-ledger-stays {
  padding-top: 0;
  padding-bottom: 0.9rem;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
}

.v31-ledger-top .v31-ledger-stays,
.v32-ledger-top .v32-ledger-stays { padding-top: 1.25rem; }

.v31-ledger-k,
.v32-ledger-k { display: none; }

/* u was */

.v3-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: var(--section) var(--inset);
  background: var(--deep-2);
  color: var(--paper);
}

.v3-about h2 { margin-bottom: 1.75rem; }

.v3-about p {
  max-width: 46ch;
  margin: 0 0 1rem;
  color: var(--soft);
}

.v3-about .v2-btn { margin-top: 1rem; }

.v3-about .v3-card { background: var(--deep); }

.v3-about .v3-row { background: var(--deep-2); }

.v3-about .v3-files-card {
  max-width: 36rem;
  width: 100%;
  justify-self: end;
}

.v31-about .v3-card-body,
.v32-about .v3-card-body { gap: 0.2rem; }

.v31-card-k,
.v32-card-k {
  margin: 0.6rem 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paper);
}

.v31-card-k:first-child,
.v32-card-k:first-child { margin-top: 0; }

/* dla kogo */

.v3-who {
  padding: var(--section) var(--inset);
  background: var(--paper);
}

.v3-who h2 { margin-bottom: 3rem; }

.v2-poster {
  list-style: none;
  margin: 0;
  padding: 0;
}

.v2-poster li {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.4rem 0;
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  transition: color 0.2s ease;
}

.v2-poster li span:last-child {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--muted);
}

.v2-poster li span:first-child {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 6px;
  text-underline-offset: 0.12em;
  transition: text-decoration-color 0.2s ease;
}

.v2-poster li:nth-child(-n+3) span:first-child,
.v2-poster li:hover span:first-child { text-decoration-color: var(--accent); }

.v31-who h2,
.v32-who h2 { margin-bottom: 1.5rem; }

.v31-who-lead,
.v32-who-lead {
  max-width: 56ch;
  margin: 0 0 3rem;
  font-size: var(--step-lead);
  line-height: 1.42;
}

.v32-who-more {
  max-width: 56ch;
  margin: -1.75rem 0 3rem;
  font-size: var(--step-body);
}

.v32-who-more a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.16em;
}

.v31-who-notes,
.v32-who-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  margin-top: 3rem;
}

.v31-who-notes p,
.v32-who-notes p {
  max-width: 44ch;
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.5;
}

.v31-who-notes strong,
.v32-who-notes strong { display: block; margin-bottom: 0.3rem; }

/* zakresy */

.v3-plans {
  padding: var(--section) var(--inset);
  background: var(--deep);
  color: var(--paper);
}

.v3-plans h2 { margin-bottom: 2.5rem; }

.v2-plan-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.v2-plan {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 1.75rem 1.6rem 1.6rem;
  border-radius: 14px;
  background: var(--deep-2);
  color: var(--soft);
}

.v2-plan h3 {
  margin: 0;
  color: var(--paper);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.v2-plan-time {
  margin: 0.5rem 0 1rem;
  color: var(--accent);
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.v2-plan p { margin: 0; }

.v2-plan.is-start {
  background: var(--accent);
  color: var(--ink);
}

.v2-plan.is-start h3,
.v2-plan.is-start .v2-plan-time { color: var(--ink); }

.v2-plan-tag {
  margin-top: 1.25rem !important;
  font-weight: 600;
}

.v2-plan-go {
  margin-top: auto;
  min-height: 56px;
  padding: 0.9rem 1.2rem;
  background: var(--deep-3);
  color: var(--paper);
}

.v2-plan-go:hover { background: #3a3a3a; }

.v2-plan.is-start .v2-plan-go { background: var(--ink); color: var(--paper); }

.v2-plan.is-start .v2-plan-go:hover { background: var(--deep); }

.v2-plan > p + .v2-plan-go,
.v2-plan-tag + .v2-plan-go { margin-top: auto; }

.v2-plan > p:not(.v2-plan-time):not(.v2-plan-tag) { margin-bottom: 1.5rem; }

.v31-plans-after,
.v32-plans-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  margin-top: 2.5rem;
}

.v31-plans-after p,
.v32-plans-after p {
  max-width: 46ch;
  margin: 0;
  color: var(--paper);
  line-height: 1.5;
}

.v31-plans-after strong,
.v32-plans-after strong { display: block; margin-bottom: 0.3rem; color: var(--accent); }

/* kontakt */

.v31-proof,
.v32-proof { font-weight: 600; }

.v3-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: var(--section) var(--inset);
  background: var(--accent);
  color: var(--ink);
}

.v3-contact h2 { margin-bottom: 1.5rem; }

.v3-contact-copy p {
  max-width: 32ch;
  margin: 0 0 1.5rem;
  font-size: var(--step-lead);
  line-height: 1.4;
}

.v2-pdf {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 0.3em;
}

.v2-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 14px;
  background: var(--deep);
  color: var(--paper);
}

.v2-form-full,
.v2-form-ok,
.v2-form-err,
.v2-submit { grid-column: 1 / -1; }

.v2-form label {
  display: block;
  margin: 0 0 0.9rem;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--soft);
}

.v2-form input,
.v2-form select,
.v2-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 8px;
  background: var(--deep-3);
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 0.9rem;
}

.v2-form input::placeholder,
.v2-form textarea::placeholder { color: #8c8c8c; }

.v2-submit {
  margin-top: 0.5rem;
  padding: 1rem 1.1rem;
}

.v2-form-ok,
.v2-form-err { margin: 0 0 1rem; font-weight: 600; }

.v2-form-note {
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
  color: var(--soft);
  font-size: var(--step-small);
  line-height: 1.45;
}

.v2-form-note a {
  color: var(--paper);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.v3-policy {
  display: grid;
  gap: clamp(2.5rem, 6vh, 4rem);
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5.5rem) var(--pad);
}

.v2-root .v3-policy h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(28px, 3vw, 40px);
}

.v3-policy p { margin: 0 0 0.8rem; }

.v3-policy a {
  color: var(--ink);
  font-weight: 500;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

/* pytania */

.v2-nav-links a[aria-current="page"] { color: var(--accent); }

.v3-faq-head {
  padding: clamp(3rem, 9vh, 6rem) var(--inset) clamp(2.5rem, 7vh, 4.5rem);
  background: var(--deep);
  color: var(--paper);
}

.v3-faq-head h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-wrap: balance;
}

.v3-faq-head .v3-lead { max-width: 52ch; }

.v3-faq-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.v3-faq-index a {
  padding: 0.6rem 0.95rem;
  border-radius: 8px;
  background: var(--deep-3);
  color: var(--paper);
  font-size: var(--step-small);
  font-weight: 500;
  text-decoration: none;
}

.v3-faq-index a:hover { background: var(--accent); color: var(--ink); }

.v3-faq-body { padding: 0 var(--inset); background: var(--paper); }

.v3-faq-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 42rem);
  gap: clamp(1.5rem, 5vw, 6rem);
  padding: clamp(3.5rem, 9vh, 6rem) 0;
}

.v3-faq-group + .v3-faq-group { border-top: 2px solid var(--paper-2); }

.v3-faq-side {
  display: grid;
  align-content: start;
  gap: 2.25rem;
}

.v3-faq-panel { max-width: 30rem; }

.v2-root .v3-faq-group h2 {
  font-size: clamp(32px, 3.4vw, 52px);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 5px;
  text-underline-offset: 0.16em;
}

.v3-faq-list { display: grid; gap: 2.25rem; }

.v3-faq-item h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.v3-faq-item p { margin: 0; }

.v3-faq-item a {
  color: var(--ink);
  font-weight: 500;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.v3-faq-cta { align-items: end; }

.v3-faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.75rem;
}

.v2-btn.v3-btn-dark { background: var(--ink); color: var(--paper); }

.v2-btn.v3-btn-dark:hover { background: var(--deep); }

/* stopka */

.v2-footer {
  padding: 0 0 2.5rem;
  background: var(--deep);
  color: var(--paper);
}

.v2-mark {
  margin: 0;
  padding: 4.5rem var(--inset) 0;
}

.v2-mark img {
  display: block;
  width: clamp(220px, 28vw, 420px);
  height: auto;
}

.v2-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.75rem;
  align-items: center;
  padding: 1.75rem var(--inset) 0;
  color: var(--soft);
}

.v2-footer-meta p { margin: 0; }

.v2-footer a:not(.v2-btn) { color: var(--paper); }

body.aitrom-landing-body #aitrom-chat-root {
  right: clamp(1rem, 2vw, 1.5rem);
  left: auto;
  bottom: clamp(1rem, 2vh, 1.5rem);
  z-index: 40;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.v2-nav :focus-visible,
.v3-hero :focus-visible,
.v31-firm :focus-visible,
.v32-firm :focus-visible,
.v3-about :focus-visible,
.v3-plans :focus-visible,
.v3-faq-head :focus-visible,
.v2-form :focus-visible,
.v3-card :focus-visible,
.v2-footer :focus-visible {
  outline-color: var(--accent);
}

@media (max-width: 1100px) {
  .v3-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v3-strip li {
    padding: 0.95rem 1.25rem;
  }
  .v3-strip li:nth-child(odd) {
    padding-left: 0;
    box-shadow: none; /* taste-skill-ignore */
  }
  .v3-strip li:nth-child(even) {
    padding-right: 0;
  }
  .v3-strip li:nth-child(n+3) {
    box-shadow: inset 0 2px 0 rgba(20, 20, 20, 0.14); /* taste-skill-ignore */
  }
  .v3-strip li:nth-child(4) {
    box-shadow: inset 2px 2px 0 rgba(20, 20, 20, 0.14); /* taste-skill-ignore */
  }
}

@media (max-width: 860px) {
  .v2-nav-toggle { display: inline-flex; }
  .v2-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem var(--inset) 1.2rem;
    background: var(--deep);
  }
  .v2-nav.is-open .v2-nav-links { display: flex; align-items: flex-start; }
  .v2-logo img { height: 38px; }

  .v3-hero,
  .v3-how,
  .v32-how,
  .v31-problem,
  .v32-problem,
  .v3-about,
  .v3-contact,
  .v31-who-notes,
  .v32-who-notes,
  .v31-plans-after,
  .v32-plans-after,
  .v2-plan-row { grid-template-columns: 1fr; }

  .v3-hero { min-height: 0; padding-top: 2.5rem; }
  .v3-hero h1 { font-size: 10.5vw; }
  .v3-app { transform: none; }
  .v3-app-body { grid-template-columns: 1fr; min-height: 0; }
  .v3-app-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    padding: 0.8rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07); /* taste-skill-ignore */
  }
  .v3-app-list .v3-app-k { grid-column: 1 / -1; margin-bottom: 0.2rem; }
  .v3-case { margin: 0; }
  .v3-case:last-child { grid-column: 1 / -1; }
  .v3-app-path { display: none; }
  .v3-approve { flex-direction: column; align-items: stretch; }
  .v3-tak { width: 100%; }

  .v2-root h2 { font-size: 9.5vw; }
  .v3-how .v3-card { min-height: 0; }
  .v3-about .v3-files-card { max-width: none; justify-self: stretch; }

  .v32-stage-card .v3-card-line { min-height: calc(1.45em * 5); }
  .v32-stage-card .v3-row { min-height: 3.7rem; }
  .v32-stage-actions { flex-wrap: nowrap; min-height: 3.1rem; }
  .v32-stage-card .v2-fallback { min-height: 2.8em; }

  .v31-ledger,
  .v32-ledger { padding-bottom: 0; }
  .v31-ledger::before,
  .v32-ledger::before { display: none; }
  .v31-ledger li,
  .v32-ledger li { display: block; margin-bottom: 1.1rem; }
  .v31-ledger-top,
  .v32-ledger-top { display: none !important; }
  .v31-ledger-do,
  .v32-ledger-do { padding: 0 0 0.6rem; font-size: 1.55rem; }
  .v31-ledger-stays,
  .v32-ledger-stays { display: block; padding: 0.9rem 1rem; background: var(--deep-2); }
  .v31-ledger-k,
  .v32-ledger-k {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
  }
  .v2-poster li { display: block; font-size: 12vw; margin-bottom: 0.65rem; }
  .v2-poster li span:last-child { display: block; margin-top: 0.3rem; }
  .v2-plan { min-height: 0; }
  .v2-plan-go { margin-top: 1.25rem; }
  .v2-form { grid-template-columns: 1fr; }
  .v3-faq-head h1 { font-size: 11vw; }
  .v3-faq-group { grid-template-columns: 1fr; }
  .v2-root .v3-faq-group h2 { font-size: 8vw; }
  .v2-root .v3-policy h2 { font-size: 8vw; }
  .v3-faq-cta-actions { justify-content: flex-start; }
}

@media (max-width: 540px) {
  .v3-strip {
    grid-template-columns: 1fr;
  }
  .v3-strip li,
  .v3-strip li:nth-child(odd),
  .v3-strip li:nth-child(even) {
    padding: 0.85rem 0;
    box-shadow: none; /* taste-skill-ignore */
  }
  .v3-strip li + li {
    box-shadow: inset 0 2px 0 rgba(20, 20, 20, 0.14); /* taste-skill-ignore */
  }
  .v32-scrubber {
    --thumb-w: 50px;
    padding: 0.9rem 0.85rem 0.85rem;
  }
  .v32-stage-tab {
    font-size: 0.875rem;
    padding: 0.25rem 0.05rem;
  }
  .v32-stage-card { min-height: 47rem; }
  .v32-stage-card .v3-card-title { min-height: 2.3em; }
  .v32-stage-card .v3-card-line { min-height: calc(1.45em * 6); }
  .v32-stage-card .v3-row { min-height: 4.35rem; }
  .v32-stage-actions { min-height: 4.45rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .v3-app { animation: v3-lift 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .v3-dot { animation: v3-pulse 1.6s ease-in-out infinite; }
  .v3-hero-copy > *,
  .v3-how-copy > *,
  .v3-about-copy > *,
  .v2-poster li,
  .v2-plan {
    animation: v2-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .v3-hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .v3-hero-copy > :nth-child(3) { animation-delay: 160ms; }
  .v2-poster li:nth-child(2) { animation-delay: 60ms; }
  .v2-poster li:nth-child(3) { animation-delay: 120ms; }
  .v2-poster li:nth-child(4) { animation-delay: 180ms; }
  .v2-poster li:nth-child(5) { animation-delay: 240ms; }
  .v2-poster li:nth-child(6) { animation-delay: 300ms; }
  .v3-faq-head > *,
  .v3-faq-index a { animation: v2-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .v3-faq-head > :nth-child(2) { animation-delay: 80ms; }
  .v3-faq-head > :nth-child(3) { animation-delay: 160ms; }
  .v3-faq-index a:nth-child(2) { animation-delay: 220ms; }
  .v3-faq-index a:nth-child(3) { animation-delay: 260ms; }
  .v3-faq-index a:nth-child(4) { animation-delay: 300ms; }
  .v3-faq-index a:nth-child(5) { animation-delay: 340ms; }
  .v3-faq-index a { transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
  .v3-faq-index a:hover { transform: translateY(-2px); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .v3-faq-item,
    .v3-faq-panel {
      animation: v2-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}

@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  .v3-app { animation-name: v2-rise; }
}

@keyframes v3-lift {
  from { opacity: 0; transform: translateY(40px) rotateY(-14deg) rotateX(6deg); }
  to { opacity: 1; transform: rotateY(-7deg) rotateX(3deg); }
}

@keyframes v3-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes v2-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
