:root {
  color-scheme: light;
  --theme-page: #f3f0e7;
  --theme-surface: #fffdf8;
  --theme-text: #173b3f;
  --theme-text-soft: #3f5d5f;
  --theme-muted: #63797a;
  --theme-accent: #173b3f;
  --theme-accent-deep: #0d272a;
  --theme-accent-soft: #dcefeb;
  --theme-highlight: #e7c66a;
  --theme-highlight-soft: #f7edc9;
  --theme-border: #cbdad6;
  --theme-hero-tint: #dcefeb;
  --theme-portrait-three: #dcefeb;
  --theme-portrait-four: #ead9b1;
  --theme-focus: #8a6510;
  --theme-shadow-accent: rgba(23, 59, 63, 0.27);
  --theme-shadow-dark: rgba(23, 59, 63, 0.26);
  --ink: #10231b;
  --ink-soft: #263830;
  --forest: #153f32;
  --forest-dark: #0b1d17;
  --paper: #f2eee5;
  --paper-deep: #e7e1d5;
  --cream: #fbfaf6;
  --white: #ffffff;
  --wine: #792533;
  --wine-dark: #57151f;
  --mint: #dcebe3;
  --sage: #a8b8ae;
  --line: rgba(16, 35, 27, 0.17);
  --muted: #6c7771;
  --serif: "Manrope", ui-sans-serif, sans-serif;
  --sans: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "Newsreader", ui-serif, Georgia, serif;
  --container: min(100% - 96px, 1440px);
  --desktop-hero-height: 796px;
  --desktop-hero-padding-top: 46px;
  --desktop-hero-padding-bottom: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: var(--sans);
}

main {
  overflow: clip;
}

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

button {
  color: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

section[id] {
  scroll-margin-top: 88px;
}

.site-header {
  align-items: center;
  background: rgba(242, 238, 229, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  height: 82px;
  left: 0;
  padding: 0 max(28px, calc((100vw - 1440px) / 2));
  position: sticky;
  right: 0;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: baseline;
  display: inline-flex;
  gap: 10px;
  min-width: 230px;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.brand-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2vw, 34px);
  justify-self: center;
}

.main-nav a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  position: relative;
}

.main-nav a::after {
  background: var(--wine);
  bottom: -7px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
  width: 100%;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--white);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 22px;
  justify-content: space-between;
  letter-spacing: 0.02em;
  min-width: 170px;
  padding: 13px 15px;
  transition: background 0.25s ease, color 0.25s ease;
}

.header-cta:hover {
  background: var(--wine);
  border-color: var(--wine);
}

.menu-toggle {
  display: none;
}

.hero {
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(480px, 1.07fr);
  min-height: calc(100svh - 82px);
}

.hero-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 7vw, 116px) clamp(40px, 6vw, 98px) clamp(54px, 7vw, 96px) max(48px, calc((100vw - 1440px) / 2));
}

.eyebrow {
  align-items: center;
  color: var(--wine);
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  height: 1px;
  width: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(58px, 6.2vw, 104px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.9;
  max-width: 900px;
}

.hero h1 em {
  color: var(--wine);
  font-weight: 400;
}

.hero-lead {
  color: #46564e;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  margin-top: 32px;
  max-width: 650px;
}

.hero-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 38px;
  width: 100%;
}

.path-card {
  background: transparent;
  border: 1px solid rgba(16, 35, 27, 0.38);
  cursor: pointer;
  min-height: 144px;
  padding: 19px 54px 18px 19px;
  position: relative;
  text-align: left;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.path-card:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-5px);
}

.path-card-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.path-card-primary:hover {
  background: var(--forest);
  border-color: var(--forest);
}

.path-card > span {
  color: var(--wine);
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.path-card-primary > span {
  color: #d7a9af;
}

.path-card strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 400;
  line-height: 1.05;
}

.path-card small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  line-height: 1.4;
  margin-top: 11px;
}

.path-card-primary small {
  color: rgba(255, 255, 255, 0.64);
}

.path-card b {
  font-size: 22px;
  font-weight: 400;
  position: absolute;
  right: 18px;
  top: 17px;
}

.hero-note {
  color: var(--muted);
  font-size: 11px;
  margin-top: 18px;
}

.hero-visual {
  background: var(--paper-deep);
  min-height: 690px;
  overflow: hidden;
  position: relative;
}

.hero-visual::after {
  background: linear-gradient(90deg, var(--paper) 0%, transparent 18%), linear-gradient(0deg, rgba(8, 25, 19, 0.35), transparent 40%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-visual > img {
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  position: absolute;
  width: 100%;
}

.hero-live-card,
.hero-ksef-pill {
  align-items: center;
  background: rgba(251, 250, 246, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 22px 60px rgba(10, 31, 23, 0.16);
  display: flex;
  position: absolute;
  z-index: 2;
  backdrop-filter: blur(16px);
}

.hero-live-card {
  bottom: 100px;
  gap: 12px;
  left: 38px;
  min-width: 330px;
  padding: 17px;
}

.hero-live-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.hero-live-card small,
.hero-ksef-pill span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-live-card strong,
.hero-ksef-pill strong {
  font-size: 12px;
  margin-top: 2px;
}

.hero-ksef-pill {
  bottom: 168px;
  flex-direction: column;
  gap: 2px;
  left: 230px;
  padding: 12px 15px;
}

.trust-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  min-height: 180px;
}

.trust-band > div {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px clamp(24px, 3vw, 44px);
}

.trust-band > div:last-child {
  border-right: 0;
}

.trust-intro span {
  color: var(--wine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-intro p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  max-width: 200px;
}

.trust-stat strong {
  font-family: var(--serif);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.trust-stat span {
  color: var(--muted);
  font-size: 11px;
  max-width: 150px;
}

.section {
  margin-inline: auto;
  padding: clamp(96px, 10vw, 160px) 0;
  width: var(--container);
}

.section-heading h2,
.start-heading h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.section-heading>div>.eyebrow {
  margin-bottom: 28px;
}

.split-heading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.split-heading > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 470px;
  padding-bottom: 8px;
}

.outcomes-section {
  background: var(--forest-dark);
  color: var(--white);
  padding: clamp(96px, 10vw, 160px) max(48px, calc((100vw - 1440px) / 2));
}

.eyebrow-light {
  color: #d7a9af;
}

.start-section {
  background: var(--paper);
  padding: clamp(96px, 10vw, 150px) max(48px, calc((100vw - 1440px) / 2));
}

.start-heading {
  display: grid;
  gap: 24px;
  max-width: 950px;
}

.path-switch {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 78px;
}

.path-switch button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 32px);
  gap: 14px;
  justify-content: flex-start;
  min-height: 86px;
  padding: 18px 28px;
  text-align: left;
  transition: background 0.3s ease, color 0.3s ease;
}

.path-switch button + button {
  border-left: 1px solid var(--line);
}

.path-switch button.is-active {
  background: var(--ink);
  color: var(--white);
}

.path-switch button span {
  color: var(--wine);
  font-family: var(--sans);
  font-size: 11px;
}

.path-switch button.is-active span {
  color: #d7a9af;
}

.path-intro {
  color: var(--muted);
  font-size: 14px;
  margin-top: 28px;
}

.steps-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px;
}

.steps-grid article {
  animation: step-in 0.65s var(--ease) both;
  animation-delay: var(--step-delay);
  border-right: 1px solid var(--line);
  min-height: 270px;
  padding: 28px 28px 26px 0;
}

.steps-grid article + article {
  padding-left: 28px;
}

.steps-grid article:last-child {
  border-right: 0;
}

.steps-grid article > span {
  color: var(--wine);
  font-family: var(--serif);
  font-style: italic;
}

.steps-grid h3 {
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 35px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-top: 78px;
}

.steps-grid p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  margin-top: 17px;
}

.start-cta {
  align-items: center;
  background: var(--mint);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin-top: 28px;
  padding: 22px 24px;
  transition: background 0.25s ease;
}

.start-cta:hover {
  background: #c8ddd2;
}

.stars {
  color: #ae7780;
  font-size: 10px;
  letter-spacing: 0.3em;
}

.articles-grid>a>span {
  color: var(--wine);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.team-section {
  background: var(--forest-dark);
  color: var(--white);
  padding: clamp(96px, 10vw, 150px) max(48px, calc((100vw - 1440px) / 2));
}

.team-grid {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 84px;
}

.team-card:nth-child(even) {
  margin-top: 76px;
}

.team-image-wrap {
  aspect-ratio: 0.74;
  overflow: hidden;
  position: relative;
}

.team-image-wrap::after {
  background: linear-gradient(0deg, rgba(8, 25, 19, 0.28), transparent 35%);
  content: "";
  inset: 0;
  position: absolute;
}

.team-image-wrap img {
  filter: saturate(0.78) contrast(1.04);
  height: 100%;
  object-fit: cover;
  transition: filter 0.6s ease, transform 0.8s var(--ease);
  width: 100%;
}

.team-card:hover img {
  filter: saturate(1) contrast(1);
  transform: scale(1.025);
}

.team-card figcaption {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  padding-top: 15px;
}

.team-card figcaption strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.team-card figcaption span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  margin-top: 4px;
}

.faq-section {
  display: grid;
  gap: clamp(60px, 8vw, 130px);
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
}

.faq-heading {
  align-self: start;
  position: sticky;
  top: 126px;
}

.faq-heading .eyebrow {
  margin-bottom: 28px;
}

.faq-heading h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.faq-heading > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-top: 26px;
  max-width: 380px;
}

.faq-heading > a {
  border-bottom: 1px solid var(--ink);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 34px;
  padding-bottom: 5px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 22px;
  grid-template-columns: 42px 1fr 30px;
  list-style: none;
  min-height: 112px;
}

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

.faq-list summary > strong {
  font-family: var(--serif);
  font-size: clamp(22px, 2.25vw, 34px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.faq-list summary > b {
  font-size: 25px;
  font-weight: 300;
  transition: transform 0.35s var(--ease);
}

.faq-list details[open] summary > b {
  transform: rotate(45deg);
}

.faq-list details > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 720px;
  padding: 0 48px 38px 64px;
}

.knowledge-section {
  background: var(--paper);
  padding: clamp(96px, 10vw, 150px) max(48px, calc((100vw - 1440px) / 2));
}

.faq-contact {
  align-items: center;
  background: var(--theme-accent-soft);
  border: 1px solid var(--theme-border);
  border-radius: 13px;
  color: var(--theme-text);
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 6px;
  line-height: 1.5;
  margin-top: 20px;
  min-height: 48px;
  padding: 13px 15px;
  text-decoration: none;
}

.articles-grid {
  border-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 84px;
}

.articles-grid > a {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding: 30px clamp(26px, 3vw, 46px) 30px 0;
  transition: background 0.35s ease, padding 0.35s var(--ease);
}

.articles-grid > a + a {
  padding-left: clamp(26px, 3vw, 46px);
}

.articles-grid > a:last-child {
  border-right: 0;
}

.articles-grid h3 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin-top: 74px;
}

.articles-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 20px;
  max-width: 330px;
}

.articles-grid b {
  font-size: 11px;
  margin-top: auto;
}

.closing-section {
  background: var(--mint);
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  padding: clamp(96px, 10vw, 150px) max(48px, calc((100vw - 1440px) / 2));
}

.site-footer {
  background: var(--forest-dark);
  color: var(--white);
  display: grid;
  gap: 70px 40px;
  grid-template-columns: 1.25fr repeat(3, 0.75fr);
  padding: 78px max(48px, calc((100vw - 1440px) / 2)) 26px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
  margin-top: 24px;
}

.footer-column {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column > span {
  color: #d7a9af;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 1.7;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  gap: 28px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 22px;
}

.footer-bottom span,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  :root {
    --container: min(100% - 64px, 1100px);
  }

  .main-nav {
    gap: 18px;
  }

  .brand {
    min-width: 190px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  }

  .hero-copy {
    padding-left: 40px;
    padding-right: 40px;
  }

  .trust-band {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-intro {
    border-bottom: 1px solid var(--line);
    grid-column: 1 / -1;
    min-height: 110px;
  }

  .trust-intro p {
    max-width: 400px;
  }

  .team-card figcaption strong {
    font-size: 20px;
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 48px, 860px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 72px;
    padding-inline: 24px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
    z-index: 60;
  }

  .menu-toggle span {
    background: var(--ink);
    display: block;
    height: 1px;
    margin-left: auto;
    transition: transform 0.25s ease, width 0.25s ease;
    width: 26px;
  }

  .menu-toggle span:last-child {
    width: 18px;
  }

  .menu-toggle.is-active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle.is-active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
    width: 26px;
  }

  .main-nav {
    align-items: flex-start;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0;
    left: 0;
    opacity: 0;
    padding: 90px 24px 30px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(-18px);
    transition: opacity 0.35s ease, transform 0.35s var(--ease);
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    border-top: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    padding: 14px 0;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
    padding: 80px 24px 58px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .hero-visual::after {
    background: linear-gradient(0deg, rgba(8, 25, 19, 0.42), transparent 50%);
  }

  .trust-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-stat:nth-child(3) {
    border-right: 0;
  }

  .split-heading {
    align-items: start;
    gap: 30px;
    grid-template-columns: 1fr;
  }

  

  

  

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid article:nth-child(2) {
    border-right: 0;
  }

  .steps-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  

  

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card:nth-child(even) {
    margin-top: 56px;
  }

  .faq-section {
    grid-template-columns: 1fr;
  }

  .faq-heading {
    position: static;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid > a,
  .articles-grid > a + a {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 300px;
    padding: 28px 0;
  }

  .closing-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 36px);
  }

  .section,
  .outcomes-section,
  .start-section,
  .team-section,
  .knowledge-section,
  .closing-section {
    padding-bottom: 88px;
    padding-top: 88px;
  }

  .outcomes-section,
  .start-section,
  .team-section,
  .knowledge-section,
  .closing-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: clamp(50px, 15.2vw, 74px);
    line-height: 0.92;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 128px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-visual > img {
    object-position: 68% center;
  }

  .hero-live-card {
    bottom: 78px;
    left: 18px;
    min-width: 0;
    right: 18px;
  }

  .hero-ksef-pill {
    bottom: 143px;
    left: auto;
    right: 18px;
  }

  .photo-credit {
    display: none;
  }

  .trust-band > div {
    min-height: 145px;
    padding: 22px 18px;
  }

  .trust-intro {
    min-height: 100px !important;
  }

  .trust-stat strong {
    font-size: 38px;
  }

  .trust-stat span {
    font-size: 10px;
  }

  .section-heading h2,
.start-heading h2 {
    font-size: clamp(45px, 13vw, 62px);
  }

  

  

  

  

  .path-switch {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .path-switch button + button {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .path-switch button {
    font-size: 23px;
    min-height: 70px;
    padding: 14px 18px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid article,
  .steps-grid article + article {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 220px;
    padding: 24px 0;
  }

  .steps-grid h3 {
    margin-top: 50px;
  }

  .start-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  

  .team-grid {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .team-card:nth-child(even) {
    margin-top: 0;
  }

  .team-image-wrap {
    aspect-ratio: 0.82;
  }

  .faq-list summary {
    gap: 12px;
    grid-template-columns: 28px 1fr 22px;
    min-height: 100px;
  }

  .faq-list summary > strong {
    font-size: 23px;
  }

  .faq-list details > p {
    padding: 0 22px 32px 40px;
  }

  .site-footer {
    gap: 42px 24px;
    padding: 62px 18px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

    /* V3 — czytelne kroki, animowane liczby i mikro-wygrane */
    .steps-grid {
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
      align-items: stretch;
    }

    .steps-grid article {
      min-width: 0;
    }

    .steps-grid h3 {
      overflow-wrap: break-word;
      hyphens: auto;
    }

    .trust-stat strong {
      font-variant-numeric: tabular-nums;
    }

    .hero-ksef-pill {
      max-width: min(430px, calc(100% - 24px));
      min-height: 42px;
      overflow: visible;
      isolation: isolate;
    }

    .hero-ksef-pill strong {
      display: block;
      line-height: 1.3;
      text-wrap: balance;
    }

    

    @keyframes micro-confetti-pop {
      0% { opacity: 0; transform: translate(-50%, -50%) scale(.25) rotate(0deg); }
      14% { opacity: 1; }
      100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--confetti-x)), calc(-50% + var(--confetti-y))) scale(.85) rotate(var(--confetti-rotation));
      }
    }

    

    

    

    

    

    

    

    @keyframes micro-feed-progress {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }

    

    

    @keyframes micro-status-pulse {
      50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--theme-highlight) 0%, transparent); }
    }

    

    

    

    

    

    @media (max-width: 1180px) and (min-width: 641px) {
      .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .steps-grid article {
        min-height: 235px;
      }
    }

    @media (max-width: 640px) {

      .hero-visual {
        width: 100%;
        max-width: 100%;
        aspect-ratio: auto;
      }

      .hero-ksef-pill {
        width: calc(100% - 20px);
        max-width: 350px;
      }

      

      

      

      

      

      .micro-feed-item time {
        display: none;
      }

    }

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   V2 — human fintech, inspired by the strongest moves in the Fable reference
   -------------------------------------------------------------------------- */

body {
  background: var(--theme-page);
  color: var(--theme-text);
}

.site-header {
  background: rgba(246, 244, 238, 0.88);
  border-color: var(--theme-border);
  height: 76px;
  padding-inline: max(28px, calc((100vw - 1180px) / 2));
}

.brand-mark {
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark::after {
  color: var(--theme-accent);
  content: ".";
}

.brand-name {
  color: var(--theme-text-soft);
  font-size: 9px;
}

.main-nav a {
  color: var(--theme-text-soft);
  font-size: 13px;
  font-weight: 600;
}

.main-nav a::after {
  background: var(--theme-accent);
  height: 2px;
}

.header-cta {
  background: var(--theme-text);
  border: 0;
  border-radius: 999px;
  min-width: 0;
  padding: 12px 18px;
}

.header-cta:hover {
  background: var(--theme-accent-deep);
}

.hero {
  align-items: center;
  background: transparent;
  display: grid;
  gap: clamp(48px, 6vw, 78px);
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  margin: 0 auto;
  max-width: 1236px;
  min-height: auto;
  padding: clamp(72px, 6vw, 88px) 28px 94px;
}

.hero-copy {
  display: block;
  padding: 0;
}

.hero-kicker {
  color: var(--theme-text-soft);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero .hero-display {
  font-family: var(--serif);
  font-size: clamp(42px, 4.9vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 670px;
}

.hero-display span {
  color: inherit;
  display: inline;
  font-style: normal;
  font-weight: 700;
  position: relative;
  z-index: 0;
}

.hero-display span::after {
  animation: marker-sweep 0.85s 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  background: var(--theme-highlight);
  border-radius: 4px;
  bottom: 0.06em;
  content: "";
  height: 0.42em;
  left: -0.03em;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  width: calc(100% + 0.08em);
  z-index: -1;
}

@keyframes marker-sweep {
  to { transform: scaleX(1); }
}

.hero-lead {
  color: var(--theme-text-soft);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.58;
  margin-top: 24px;
  max-width: 540px;
}

.hero-actions {
  gap: 14px;
  margin-top: 32px;
  max-width: 570px;
}

.path-card {
  background: #fff;
  border: 1.5px solid var(--theme-border);
  border-radius: 20px;
  min-height: 150px;
  padding: 21px 50px 21px 21px;
}

.path-card:hover {
  background: #fff;
  border-color: var(--theme-accent);
  box-shadow: 0 20px 40px -20px rgba(14, 122, 95, 0.3);
}

.path-card-primary {
  background: var(--theme-text);
  border-color: var(--theme-text);
}

.path-card-primary:hover {
  background: var(--theme-accent-deep);
  border-color: var(--theme-accent-deep);
}

.path-card > span {
  background: var(--theme-accent-soft);
  border-radius: 999px;
  color: var(--theme-accent);
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-bottom: 13px;
  padding: 4px 9px;
}

.path-card-primary > span {
  background: rgba(221, 240, 231, 0.12);
  color: var(--theme-highlight);
}

.path-card strong {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
}

.path-card small {
  color: #68766f;
  font-size: 12px;
}

.path-card b {
  color: var(--theme-accent);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.path-card:hover b {
  transform: translate(5px, 5px);
}

.hero-human {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.avatar-stack {
  display: flex;
  flex: 0 0 auto;
}

.avatar-stack img {
  background: var(--theme-accent-soft);
  border: 2px solid var(--theme-page);
  border-radius: 50%;
  height: 42px;
  margin-left: -11px;
  object-fit: cover;
  object-position: center 14%;
  transition: transform 0.25s ease;
  width: 42px;
}

.avatar-stack img:first-child { margin-left: 0; }
.avatar-stack img:hover { transform: translateY(-4px); z-index: 2; }

.hero-human p {
  color: var(--theme-text-soft);
  font-size: 12.5px;
  line-height: 1.4;
}

.hero-human strong { color: var(--theme-text); }

.hero-note {
  color: var(--theme-text-soft);
  font-size: 13px;
  margin-top: 18px;
}

.hero-note a {
  border-bottom: 1px solid var(--theme-accent);
  color: var(--theme-accent);
  font-weight: 700;
  padding-bottom: 2px;
}

.hero-visual {
  aspect-ratio: 0.86;
  background: var(--theme-hero-tint);
  border-radius: 28px;
  min-height: 0;
  overflow: visible;
  position: relative;
}

.hero-visual::after {
  background: linear-gradient(0deg, rgba(20, 35, 29, 0.38), transparent 42%);
  border-radius: inherit;
}

.hero-visual > img {
  border-radius: inherit;
  filter: contrast(1.03) saturate(0.94);
  object-position: center 14%;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual:hover > img { transform: scale(1.025); }

.hero-badge {
  animation: card-in 0.65s 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  background: var(--theme-highlight);
  border-radius: 999px;
  box-shadow: 0 14px 30px -14px rgba(106, 126, 24, 0.7);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  position: absolute;
  right: -14px;
  top: 22px;
  z-index: 5;
}

.hero-person {
  bottom: 22px;
  color: #fff;
  left: 22px;
  position: absolute;
  z-index: 3;
}

.hero-person strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.2;
}

.hero-person span {
  font-size: 11px;
  opacity: 0.82;
}

.hero-live-card.hero-metric-card {
  animation: card-in 0.65s 1.05s cubic-bezier(0.22, 1, 0.36, 1) both, metric-float 7s 2s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--theme-border);
  border-radius: 18px;
  bottom: 72px;
  display: block;
  left: -48px;
  min-width: 248px;
  padding: 16px 18px;
}

.hero-metric-card > div:first-child {
  display: block;
}

.hero-metric-card small {
  color: #68766f;
  display: block;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.hero-metric-card strong {
  color: var(--theme-text);
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  margin-top: 2px;
}

.hero-metric-card strong em {
  color: var(--theme-accent);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
}

.mini-chart {
  align-items: flex-end;
  display: flex !important;
  flex-direction: row !important;
  gap: 5px;
  height: 48px;
  margin-top: 9px;
}

.mini-chart i {
  animation: chart-grow 0.7s var(--ease) both;
  background: var(--theme-accent-soft);
  border-radius: 5px 5px 2px 2px;
  display: block;
  flex: 1;
  transform-origin: bottom;
}

.mini-chart i:nth-child(2) { animation-delay: 0.08s; }
.mini-chart i:nth-child(3) { animation-delay: 0.16s; }
.mini-chart i:nth-child(4) { animation-delay: 0.24s; }
.mini-chart i:nth-child(5) { animation-delay: 0.32s; }
.mini-chart i:nth-child(6) { animation-delay: 0.4s; }
.mini-chart i.is-hot { background: var(--theme-accent); }

.hero-ksef-pill {
  animation: card-in 0.65s 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
  background: var(--theme-text);
  border: 0;
  border-radius: 999px;
  bottom: -13px;
  color: #fff;
  display: flex;
  flex-direction: row;
  gap: 9px;
  left: auto;
  padding: 10px 16px 10px 10px;
  right: -18px;
}

.hero-ksef-pill span {
  align-items: center;
  background: var(--theme-highlight);
  border-radius: 50%;
  color: var(--theme-text);
  display: flex;
  font-size: 10px;
  height: 21px;
  justify-content: center;
  width: 21px;
}

.hero-ksef-pill strong {
  font-size: 11px;
  margin: 0;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

@keyframes metric-float {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-8px) rotate(0.4deg); }
}

@keyframes chart-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.trust-band {
  background: var(--theme-surface);
  border-bottom: 1px solid var(--theme-border);
  border-top: 1px solid var(--theme-border);
  box-sizing: border-box;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  margin: 0 0 58px;
  max-width: none;
  padding: 0 max(24px, calc((100vw - 1224px) / 2));
  width: 100%;
}

.trust-band > div {
  border-right: 1px solid var(--theme-border);
  min-height: 134px;
  padding: 28px 24px;
}

.trust-band > div:last-child { border-right: 0; }

.trust-intro {
  background: transparent;
}

.trust-intro span {
  color: var(--theme-accent);
}

.trust-intro p,
.trust-stat span { color: var(--theme-text-soft); }

.trust-stat strong {
  font-family: var(--serif);
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.marquee {
  background: var(--theme-text);
  color: var(--theme-page);
  margin: 30px -20px 40px;
  overflow: hidden;
  padding: 22px 0;
  transform: rotate(-1deg);
  width: calc(100% + 40px);
}

.marquee-track {
  animation: marquee-run 30s linear infinite;
  display: flex;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  gap: 42px;
  width: max-content;
}

.marquee-track span {
  align-items: center;
  display: flex;
  gap: 42px;
  white-space: nowrap;
}

.marquee-track i {
  background: var(--theme-highlight);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

@keyframes marquee-run { to { transform: translateX(-50%); } }

.section {
  max-width: 1236px;
  padding: 110px 28px;
}

.eyebrow {
  color: var(--theme-accent);
  font-size: 11px;
}

.section-heading h2,
.start-heading h2,
.faq-heading h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.section-heading h2,
.start-heading h2 {
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.02;
}

.split-heading>p,
.section-heading>p { color: var(--theme-text-soft); }

.outcomes-section {
  background: var(--theme-text);
  border-radius: 36px;
  margin: 24px 20px;
  padding: 105px max(28px, calc((100vw - 1180px) / 2));
}

.eyebrow-light { color: var(--theme-highlight); }

.start-section {
  background: #fff;
  border: 1px solid var(--theme-border);
  border-radius: 36px;
  margin: 24px auto;
  max-width: min(calc(100% - 40px), 1380px);
  padding: 110px max(28px, calc((100vw - 1180px) / 2));
}

.path-switch {
  border: 1.5px solid var(--theme-border);
  border-radius: 999px;
  display: inline-grid;
  overflow: hidden;
  width: auto;
}

.path-switch button {
  font-family: var(--sans);
  font-size: 15px;
  min-height: 56px;
  padding: 12px 24px;
}

.path-switch button.is-active {
  background: var(--theme-text);
  color: #fff;
}

.steps-grid { gap: 14px; }

.steps-grid article,
.steps-grid article + article {
  background: var(--theme-page);
  border: 1px solid var(--theme-border);
  border-radius: 20px;
  min-height: 260px;
  padding: 24px;
}

.steps-grid h3 {
  font-size: clamp(19px, 1.65vw, 24px);
  font-weight: 600;
  margin-top: 65px;
}

.start-cta {
  background: var(--theme-accent-soft);
  border-radius: 14px;
}

.articles-grid>a>span { color: var(--theme-accent); }
.articles-grid h3 { font-weight: 600; }

.team-section {
  background: var(--theme-page);
  color: var(--theme-text);
  margin: 24px 20px;
  padding: 110px max(28px, calc((100vw - 1180px) / 2));
}

.team-card:nth-child(even) { margin-top: 62px; }

.team-image-wrap {
  background: var(--theme-accent-soft);
  border-radius: 999px 999px 22px 22px;
}

.team-card:nth-child(2) .team-image-wrap { background: var(--theme-highlight-soft); }
.team-card:nth-child(3) .team-image-wrap { background: var(--theme-portrait-three); }
.team-card:nth-child(4) .team-image-wrap { background: var(--theme-portrait-four); }

.team-image-wrap::after { background: none; }

.team-image-wrap img {
  filter: grayscale(1) contrast(1.04) brightness(1.05);
  mix-blend-mode: multiply;
}

.team-card:hover img {
  filter: grayscale(0) contrast(1);
}

.team-card figcaption {
  border-color: var(--theme-border);
}

.team-card figcaption strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.team-card figcaption span { color: #68766f; }

.faq-heading h2 {
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 600;
}

.faq-list,
.faq-list details { border-color: var(--theme-border); }

.faq-list summary > strong {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 600;
}

.knowledge-section {
  background: #fff;
  padding: 110px max(28px, calc((100vw - 1180px) / 2));
}

.articles-grid,
.articles-grid > a { border-color: var(--theme-border); }

.closing-section {
  background: var(--theme-accent);
  border-radius: 36px;
  color: #fff;
  margin: 24px 20px;
  padding: 105px max(28px, calc((100vw - 1180px) / 2));
}

.site-footer {
  background: var(--theme-text);
  padding-left: max(28px, calc((100vw - 1180px) / 2));
  padding-right: max(28px, calc((100vw - 1180px) / 2));
}

@media (max-width: 980px) {
  .site-header { padding-inline: 24px; }
  .main-nav { background: var(--theme-page); }
  .hero {
    grid-template-columns: 1fr;
    max-width: 760px;
    padding-top: 78px;
  }
  .hero-visual { min-height: 650px; }
  .hero-live-card.hero-metric-card { left: -16px; }
  .trust-band {
    grid-template-columns: repeat(2, 1fr);
    margin-inline: 0;
    padding-inline: 28px;
  }
  .trust-intro { grid-column: 1 / -1; }
  .trust-band > div:nth-child(3),
  .trust-band > div:nth-child(5) { border-right: 0; }
  
  .path-switch { width: 100%; }
}

@media (max-width: 640px) {
  .hero {
    gap: 58px;
    padding: 70px 18px 78px;
  }
  .hero .hero-display {
    font-size: clamp(42px, 12.8vw, 58px);
    line-height: 1.02;
  }
  .hero-actions { grid-template-columns: 1fr; }
  .path-card { min-height: 132px; }
  .hero-human { align-items: flex-start; }
  .hero-visual { min-height: 520px; }
  .hero-live-card.hero-metric-card {
    bottom: 62px;
    left: 14px;
    min-width: 210px;
  }
  .hero-ksef-pill {
    bottom: -14px;
    left: 14px;
    right: 14px;
  }
  .hero-badge { right: 10px; }
  .hero-person { bottom: 22px; }
  .trust-band {
    margin-inline: 0;
    padding-inline: 18px;
  }
  .trust-band > div { min-height: 130px; padding: 22px 18px; }
  .marquee { margin-top: 20px; }
  .section { padding-inline: 18px; }
  
  .outcomes-section,
  .start-section,
  .team-section,
  .closing-section {
    border-radius: 24px;
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .path-switch { border-radius: 18px; }
  .path-switch button + button { border-left: 0; }
  .steps-grid article,
  .steps-grid article + article { min-height: 210px; }
  .team-card:nth-child(even) { margin-top: 0; }
  .knowledge-section { padding-inline: 18px; }
  .site-footer { padding-inline: 18px; }
}

/* Fixed public direction: petrol + gold with calm editorial typography. */

:root {
  --ink: var(--theme-text);
  --ink-soft: var(--theme-text-soft);
  --forest: var(--theme-accent);
  --forest-dark: var(--theme-text);
  --paper: var(--theme-page);
  --paper-deep: var(--theme-hero-tint);
  --cream: var(--theme-page);
  --wine: var(--theme-accent);
  --wine-dark: var(--theme-accent-deep);
  --mint: var(--theme-accent-soft);
  --line: var(--theme-border);
  --muted: var(--theme-muted);
}

body { background: var(--theme-page); color: var(--theme-text); }

.hero-copy,
.hero-visual { min-width: 0; }

.site-header {
  background: color-mix(in srgb, var(--theme-page) 88%, transparent);
  border-color: var(--theme-border);
}

.brand-mark::after,
.main-nav a::after,
.eyebrow,
.trust-intro span,
.path-card b,
.articles-grid>a>span { color: var(--theme-accent); }

.main-nav a::after { background: var(--theme-accent); }

.brand-name,
.main-nav a,
.hero-kicker,
.hero-lead,
.hero-human p,
.hero-note,
.trust-intro p,
.trust-stat span,
.split-heading>p,
.section-heading>p { color: var(--theme-text-soft); }

.header-cta,
.path-card-primary,
.hero-ksef-pill,
.marquee,
.outcomes-section,
.path-switch button.is-active,
.site-footer { background: var(--theme-text); }

.header-cta:hover,
.path-card-primary:hover { background: var(--theme-accent-deep); }

.path-card-primary,
.path-card-primary:hover { border-color: var(--theme-text); }

.path-card-primary:hover { border-color: var(--theme-accent-deep); }

.hero-display span::after,
.hero-badge,
.hero-ksef-pill span,
.marquee-track i,
.eyebrow-light { background-color: var(--theme-highlight); }

.hero-display .hero-display-rest::after { display: none; }

.eyebrow-light { background-color: transparent; color: var(--theme-highlight); }

.path-card,
.start-section,
.knowledge-section { background: var(--theme-surface); border-color: var(--theme-border); }

.path-card.path-card-primary {
  background: var(--theme-text);
  border-color: var(--theme-text);
}

.path-card.path-card-primary:hover {
  background: var(--theme-accent-deep);
  border-color: var(--theme-accent-deep);
}

.path-card:hover {
  background: var(--theme-surface);
  border-color: var(--theme-accent);
  box-shadow: 0 20px 40px -20px var(--theme-shadow-accent);
}

.path-card-primary,
.path-card-primary:hover { color: #ffffff; }

.path-card>span,
.avatar-stack img,
.mini-chart i,
.start-cta,
.team-image-wrap { background: var(--theme-accent-soft); }

.path-card > span,
.hero-note a,
.hero-metric-card strong em { color: var(--theme-accent); }

.path-card-primary > span {
  background: color-mix(in srgb, var(--theme-accent-soft) 12%, transparent);
  color: var(--theme-highlight);
}

.path-card small,
.hero-metric-card small,
.team-card figcaption span { color: var(--theme-muted); }

.avatar-stack img { border-color: var(--theme-page); }
.hero-human strong,
.hero-metric-card strong,
.hero-ksef-pill span { color: var(--theme-text); }
.hero-note a { border-color: var(--theme-accent); }
.hero-visual { background: var(--theme-hero-tint); }
.hero-visual::after { background: linear-gradient(0deg, color-mix(in srgb, var(--theme-text) 38%, transparent), transparent 42%); }
.hero-badge { box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--theme-text) 45%, transparent); }

.hero-live-card.hero-metric-card {
  background: color-mix(in srgb, var(--theme-surface) 96%, transparent);
  border-color: var(--theme-border);
}

.mini-chart i.is-hot { background: var(--theme-accent); }
.hero-ksef-pill span { background: var(--theme-highlight); }

.trust-band,
.trust-band>div,
.path-switch,
.steps-grid article,
.team-card figcaption,
.faq-list,
.faq-list details,
.articles-grid,
.articles-grid>a { border-color: var(--theme-border); }

.marquee { color: var(--theme-page); }

.outcomes-section { color: #ffffff; }

.path-switch button.is-active { color: #ffffff; }
.steps-grid article,
.steps-grid article + article { background: var(--theme-page); border-color: var(--theme-border); }
.closing-section { background: var(--theme-accent); }

.team-section { background: var(--theme-page); color: var(--theme-text); }
.team-card:nth-child(2) .team-image-wrap { background: var(--theme-highlight-soft); }
.team-card:nth-child(3) .team-image-wrap { background: var(--theme-portrait-three); }
.team-card:nth-child(4) .team-image-wrap { background: var(--theme-portrait-four); }
.knowledge-section { background: var(--theme-surface); }

.menu-toggle span { background: var(--theme-text); }
.main-nav { background: var(--theme-page); }

.skip-link {
  background: var(--theme-text);
  color: #ffffff;
  left: 16px;
  padding: 12px 16px;
  position: fixed;
  top: 12px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
  z-index: 120;
}

.skip-link:focus { transform: translateY(0); }

.header-tools {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-self: end;
}

/* Internal review controls are intentionally absent from the public preview. */

@media (max-width: 980px) {
  .header-tools { gap: 2px; }
  .main-nav {
    align-items: stretch;
    justify-self: stretch;
    min-height: 390px;
    padding: 90px 24px 30px;
    visibility: hidden;
    width: 100%;
  }
  .main-nav.is-open { visibility: visible; }
  .main-nav a {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    padding: 14px 0;
    width: 100%;
  }
}

/* Microinteractions — Animate.css + lightweight brand motion */

body,
.site-header,
.path-card,
.start-section,
.steps-grid article,
.team-section,
.team-image-wrap,
.knowledge-section,
.closing-section,
.site-footer {
  transition-property: background-color, border-color, color, box-shadow, transform;
  transition-duration: 0.42s;
  transition-timing-function: var(--ease);
}

[data-reveal].animate__animated { --animate-duration: 0.72s; }

.header-cta,
.start-cta {
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.header-cta::after,
.start-cta::after {
  animation: attention-sheen 8s 2.4s var(--ease) infinite;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.42) 48%, transparent 76%);
  content: "";
  inset: -40% auto -40% -35%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-180%) skewX(-18deg);
  width: 28%;
  z-index: 2;
}

@keyframes attention-sheen {
  0%, 78% { transform: translateX(-180%) skewX(-18deg); }
  91%, 100% { transform: translateX(620%) skewX(-18deg); }
}

.header-cta:hover,
.start-cta:hover { transform: translateY(-2px); }

.header-cta:active,
.path-card:active,
.start-cta:active { transform: translateY(0) scale(0.98); }

.faq-list summary b,
.articles-grid b {
  transition: transform 0.36s var(--ease), letter-spacing 0.36s var(--ease);
}

.faq-list details[open] summary b { transform: rotate(45deg) scale(1.08); }
.articles-grid>a:hover b { transform: translate(4px, -4px); }

.hero-visual { --hero-shift-x: 0; --hero-shift-y: 0; }
.hero-visual > img { will-change: transform; }
.hero-visual:hover > img {
  transform: translate3d(calc(var(--hero-shift-x) * 1px), calc(var(--hero-shift-y) * 1px), 0) scale(1.025);
}

/* V4 — editorial QA: rytm sekcji, czytelny proces i klasyczne opinie */
.outcomes-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.start-section {
  scroll-margin-top: 24px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.path-switch {
  margin-top: 58px;
}

.path-intro {
  margin-top: 24px;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
  border-top: 0;
}

.steps-grid article,
.steps-grid article + article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 220px;
  padding: 22px;
  overflow: hidden;
  border-radius: 16px;
}

.steps-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-accent), var(--theme-highlight));
  transform-origin: left;
  opacity: .82;
}

.steps-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  color: var(--theme-accent);
  background: var(--theme-accent-soft);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
}

.steps-grid h3 {
  min-height: 2.15em;
  margin-top: 40px;
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.steps-grid p {
  margin-top: auto;
  padding-top: 15px;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 1080px) and (min-width: 641px) {
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid article,
  .steps-grid article + article {
    min-height: 205px;
  }

  .steps-grid h3 {
    min-height: 0;
    margin-top: 34px;
  }

}

@media (max-width: 640px) {
  .outcomes-section,
  .start-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .path-switch {
    margin-top: 46px;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 30px;
  }

  .steps-grid article,
  .steps-grid article + article {
    min-height: 0;
    padding: 20px;
  }

  .steps-grid h3 {
    min-height: 0;
    margin-top: 28px;
  }

  .steps-grid p {
    margin-top: 0;
  }

  

  
}

/* V5 — mikro-wygrane jako pojedynczy poziomy ticker */

.micro-feed-item {
  display: none;
}

/* V6 — tylko poziomy pasek mikro-wygranych, bez lewego bloku tekstowego */

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

  .marquee-track { transform: none; }
}

/* AMP Consulting — premium multipage layer */

html:not(.js) [data-reveal],
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

html {
  overflow-x: clip;
  scroll-padding-top: 96px;
}

body {
  background: var(--theme-page);
  overflow-x: clip;
}

.main-nav {
  max-width: 100vw;
}

body.is-locked {
  overflow: hidden;
}

a,
button,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

.scroll-progress {
  height: 3px;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 140;
}

.scroll-progress span {
  background: linear-gradient(90deg, var(--theme-accent), var(--theme-highlight));
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
  will-change: transform;
}

.site-header {
  background: color-mix(in srgb, var(--theme-page) 90%, transparent);
  box-shadow: 0 1px 0 transparent;
  height: 76px;
  padding-inline: max(24px, calc((100vw - 1380px) / 2));
  transition: box-shadow .35s var(--ease), background-color .35s ease;
  z-index: 100;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--theme-page) 96%, transparent);
  box-shadow: 0 14px 34px rgba(20, 35, 29, .08);
}

.brand {
  min-width: 156px;
  position: relative;
  z-index: 102;
}

.brand-mark {
  color: var(--theme-text);
}

.main-nav {
  background: transparent;
  gap: clamp(14px, 1.25vw, 24px);
  justify-content: center;
}

.main-nav > a,
.mega-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--theme-text-soft);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 650;
  gap: 5px;
  padding: 10px 0;
  position: relative;
  white-space: nowrap;
}

.main-nav > a::after,
.mega-trigger::after {
  background: var(--theme-accent);
  bottom: 4px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
  width: 100%;
}

.main-nav > a:hover::after,
.main-nav > a[aria-current="page"]::after,
.mega-trigger:hover::after,
.mega-trigger[aria-expanded="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav > a.nav-prototype-link::after { display: none; }

.mega-trigger span {
  align-items: center;
  display: inline-flex;
  flex: 0 0 12px;
  font-size: 0;
  height: 12px;
  justify-content: center;
  line-height: 1;
  transition: transform .25s var(--ease);
  width: 12px;
}

.mega-trigger span::before {
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  height: 5px;
  transform: translateY(-1.5px) rotate(45deg);
  width: 5px;
}

.mega-trigger[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.nav-group {
  align-items: center;
  display: flex;
  position: static;
}

.mega-panel {
  background: var(--theme-page);
  border-bottom: 1px solid var(--theme-border);
  border-top: 1px solid var(--theme-border);
  box-shadow: 0 28px 60px rgba(20, 35, 29, .14);
  left: 0;
  opacity: 0;
  padding: 26px max(24px, calc((100vw - 1180px) / 2)) 30px;
  position: fixed;
  right: 0;
  top: 76px;
  transform: translateY(-12px);
  transition: opacity .24s ease, transform .32s var(--ease);
  visibility: hidden;
  z-index: 98;
  backdrop-filter: none;
}

.mega-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.mega-panel[hidden] {
  display: none;
}

.mega-shell {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr minmax(260px, .78fr);
  margin: 0 auto;
  max-width: 1180px;
}

.mega-column {
  display: grid;
  gap: 4px;
}

/* All dropdowns share typography and spacing; keep dark-card headings readable. */
.site-header .mega-feature strong { color: #fff; }

.mega-label {
  color: var(--theme-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.mega-column a {
  border-radius: 12px;
  color: var(--theme-text);
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  transition: background-color .24s ease, transform .24s var(--ease);
}

.mega-column a:hover {
  background: var(--theme-surface);
  transform: translateX(4px);
}

.mega-column strong {
  font-size: 14px;
}

.mega-column small {
  color: var(--theme-muted);
  font-size: 11.5px;
}

.mega-feature {
  background: var(--theme-text);
  border-radius: 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 190px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}

.mega-feature::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-highlight) 58%, transparent), transparent 68%);
  content: "";
  height: 190px;
  opacity: .5;
  position: absolute;
  right: -50px;
  top: -70px;
  width: 190px;
}

.mega-feature:hover {
  box-shadow: 0 20px 40px rgba(20, 35, 29, .2);
  transform: translateY(-4px);
}

.mega-feature span {
  color: var(--theme-highlight);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mega-feature strong {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  margin-top: 10px;
}

.mega-feature p {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  margin: 8px 0 16px;
}

.mega-feature b {
  color: #fff;
  font-size: 12px;
}

.header-tools {
  gap: 8px;
  position: relative;
  z-index: 102;
}

.header-cta {
  border-radius: 999px;
  min-height: 40px;
  min-width: 0;
  padding: 11px 15px;
}

.mobile-contact-link {
  display: none !important;
}

/* UX review drawer */

@starting-style {
  
}

/* Premium subpage hero */
.subpage-hero {
  background: var(--theme-page);
  overflow: hidden;
  padding: clamp(56px, 7vw, 104px) max(24px, calc((100vw - 1180px) / 2)) clamp(72px, 8vw, 116px);
  position: relative;
}

.subpage-hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(48px, 7vw, 98px);
  grid-template-columns: minmax(0, 1.02fr) minmax(410px, .88fr);
  margin: 0 auto;
  max-width: 1180px;
}

.subpage-hero-copy,
.subpage-visual {
  animation: hero-column-in .72s var(--ease) both;
}

.subpage-visual {
  animation-delay: .1s;
}

@keyframes hero-column-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.subpage-hero-copy {
  min-width: 0;
}

.breadcrumb {
  color: var(--theme-muted);
  font-size: 11px;
  margin: 0 0 30px;
}

.breadcrumb a {
  color: var(--theme-text-soft);
  transition: color .2s ease;
}

.breadcrumb a:hover { color: var(--theme-accent); }

.subpage-hero .hero-kicker {
  color: var(--theme-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.subpage-hero h1 {
  color: var(--theme-text);
  font-family: var(--serif);
  font-size: clamp(43px, 5.2vw, 74px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .99;
  margin: 0;
  max-width: 820px;
  text-wrap: balance;
}

.subpage-hero h1 em {
  background: linear-gradient(var(--theme-highlight), var(--theme-highlight)) no-repeat;
  background-position: 0 86%;
  background-size: 100% 0.34em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: inherit;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
}

.subpage-hero .hero-lead {
  color: var(--theme-text-soft);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  margin: 28px 0 0;
  max-width: 700px;
}

.subpage-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  position: relative;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .3s ease, color .25s ease, transform .3s var(--ease);
}

.button::after,
.header-cta::after {
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.35), transparent 80%);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: translateX(-60%);
  transition: opacity .2s ease, transform .65s var(--ease);
}

.button:hover::after,
.header-cta:hover::after {
  opacity: 1;
  transform: translateX(60%);
}

.button:hover {
  box-shadow: 0 13px 26px rgba(20,35,29,.13);
  transform: translateY(-3px);
}

.button-primary {
  background: var(--theme-text);
  color: #fff;
  overflow: hidden;
}

.button-primary:hover { background: var(--theme-accent-deep); }

.button-secondary {
  background: var(--theme-surface);
  border-color: var(--theme-border);
  color: var(--theme-text);
}

.button-secondary:hover { border-color: var(--theme-accent); }

.subpage-visual {
  background: var(--theme-hero-tint);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(20,35,29,.18);
  min-height: 600px;
  overflow: visible;
  position: relative;
}

.subpage-visual > img {
  border-radius: inherit;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 22%;
  position: absolute;
  width: 100%;
}

.subpage-visual::after {
  background: linear-gradient(180deg, transparent 32%, rgba(10,35,27,.8) 100%);
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.visual-overlay {
  background: color-mix(in srgb, var(--theme-surface) 93%, transparent);
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 18px;
  bottom: 24px;
  box-shadow: 0 18px 40px rgba(20,35,29,.2);
  left: -38px;
  padding: 20px;
  position: absolute;
  width: min(330px, 75%);
  z-index: 2;
  backdrop-filter: blur(18px);
}

.visual-overlay > span {
  color: var(--theme-accent);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.visual-overlay > strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.18;
  margin: 7px 0 12px;
}

.visual-overlay ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.visual-overlay li {
  align-items: center;
  color: var(--theme-text-soft);
  display: flex;
  font-size: 11px;
  gap: 8px;
}

.visual-overlay li span {
  align-items: center;
  background: var(--theme-accent-soft);
  border-radius: 50%;
  color: var(--theme-accent);
  display: flex;
  height: 18px;
  justify-content: center;
  width: 18px;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--theme-highlight) 45%, transparent); }
  50% { box-shadow: 0 0 0 7px transparent; }
}

/* Shared subpage sections */
.section.section-white,
.section.section-warm,
.section.section-mint {
  margin-inline: 0;
  max-width: none;
  padding: clamp(84px, 9vw, 130px) max(24px, calc((100vw - 1180px) / 2));
  width: 100%;
}

.section.section-white { background: var(--theme-surface); }
.section.section-warm { background: var(--theme-page); }
.section.section-mint {
  background: var(--theme-accent-soft);
  border-bottom: 1px solid color-mix(in srgb, var(--theme-accent) 16%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--theme-accent) 16%, transparent);
}

.section-shell {
  margin: 0 auto;
  max-width: 1180px;
}

.section-shell > .eyebrow {
  color: var(--theme-accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  margin: 0 0 17px;
  text-transform: uppercase;
}

.section-shell > h2 {
  color: var(--theme-text);
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.04;
  margin: 0;
  max-width: 900px;
  text-wrap: balance;
}

.section-lead {
  color: var(--theme-text-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  margin: 22px 0 0;
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 14px;
  margin-top: 48px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 18px;
  color: var(--theme-text);
  min-height: 190px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition: border-color .28s ease, box-shadow .35s ease, transform .35s var(--ease);
}

.card::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-accent-soft) 72%, transparent), transparent 68%);
  content: "";
  height: 170px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: -70px;
  top: -70px;
  transition: opacity .35s ease;
  width: 170px;
}

.card:hover {
  border-color: color-mix(in srgb, var(--theme-accent) 45%, var(--theme-border));
  box-shadow: 0 22px 44px rgba(20,35,29,.09);
  transform: translateY(-6px);
}

.card:hover::before { opacity: 1; }

.card-mint {
  background: var(--theme-accent-soft);
  border-color: color-mix(in srgb, var(--theme-accent) 28%, var(--theme-border));
}

.card-title {
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 25px);
  letter-spacing: -.025em;
  line-height: 1.18;
  margin: 0 0 15px;
  position: relative;
}

.card-copy,
.card p {
  color: var(--theme-text-soft);
  font-size: 14px;
  line-height: 1.58;
  position: relative;
}

.card ul {
  color: var(--theme-text-soft);
  font-size: 14px;
  line-height: 1.7;
  padding-left: 19px;
}

.text-link {
  align-items: flex-end;
  display: flex;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 650;
  justify-content: space-between;
  min-height: 140px;
}

.text-link span {
  color: var(--theme-accent);
  transition: transform .3s var(--ease);
}

.text-link:hover span { transform: translate(4px, -4px); }

.stars {
  color: #d29a23;
  display: block;
  letter-spacing: .08em;
  margin-bottom: 22px;
}

@keyframes bars-in { from { transform: scaleY(.08); } to { transform: scaleY(1); } }

/* FAQ, articles and forms */
.faq-list {
  border-top: 1px solid var(--theme-border);
  margin-top: 48px;
}

.faq-list details {
  border-bottom: 1px solid var(--theme-border);
}

.faq-list summary {
  align-items: center;
  color: var(--theme-text);
  cursor: pointer;
  display: flex;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 650;
  justify-content: space-between;
  list-style: none;
  min-height: 78px;
  padding: 18px 52px 18px 0;
  position: relative;
}

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

.faq-list summary::after {
  align-items: center;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 50%;
  content: "+";
  display: flex;
  font-family: var(--sans);
  font-size: 20px;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 22px;
  transition: background-color .25s ease, color .25s ease, transform .35s var(--ease);
  width: 34px;
}

.faq-list details[open] summary::after {
  background: var(--theme-text);
  color: #fff;
  transform: rotate(45deg);
}

.faq-list details > p,
.faq-answer {
  color: var(--theme-text-soft);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 820px;
  padding: 0 56px 24px 0;
}

.articles-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.articles-grid > a {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 18px;
  color: var(--theme-text);
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 24px;
  transition: border-color .3s ease, box-shadow .35s ease, transform .35s var(--ease);
}

.articles-grid > a:hover {
  border-color: var(--theme-accent);
  box-shadow: 0 22px 44px rgba(20,35,29,.1);
  transform: translateY(-6px);
}

.articles-grid > a > span {
  color: var(--theme-accent);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.articles-grid h3 {
  font-family: var(--serif);
  font-size: clamp(21px, 1.9vw, 28px);
  letter-spacing: -.035em;
  line-height: 1.14;
  margin: 24px 0 13px;
}

.articles-grid p {
  color: var(--theme-text-soft);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

.articles-grid b {
  color: var(--theme-text);
  font-size: 11px;
  margin-top: auto;
  padding-top: 26px;
}

.field {
  display: grid;
  gap: 8px;
}

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

.field label {
  color: var(--theme-text);
  font-size: 11px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  background: var(--theme-page);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  color: var(--theme-text);
  font: 15px/1.4 var(--sans);
  min-height: 50px;
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-accent) 13%, transparent);
  outline: none;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

/* Home cleanup after removing prototype labels */
.proof-section .eyebrow {
  color: var(--theme-accent);
}

.knowledge-section .articles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero .hero-display {
  font-size: clamp(54px, 5.9vw, 94px);
}

.hero .hero-display span {
  font-size: .68em;
  line-height: 1.1;
}

.hero-actions .path-card {
  text-decoration: none;
}

.faq-section .faq-list summary::after {
  display: none;
}

.faq-section .faq-list summary {
  padding-right: 56px;
}

.site-footer a {
  transition: color .22s ease, transform .22s var(--ease);
}

.site-footer a:hover {
  color: var(--theme-highlight);
  transform: translateX(3px);
}

/* Tablet and mobile navigation */
@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 22px;
  }

  .brand { min-width: 0; }

  .main-nav {
    align-items: stretch;
    background: var(--theme-page);
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    left: 0;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    padding: 26px 24px 36px;
    position: fixed;
    right: 0;
    top: 76px;
    transform: translateX(100%);
    transition: transform .42s var(--ease), visibility .42s;
    visibility: hidden;
    width: 100%;
    z-index: 99;
  }

  .main-nav:not(.is-open) {
    pointer-events: none;
    transform: translateX(100%);
    visibility: hidden;
  }

  .menu-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    height: 44px;
    justify-content: center;
    padding: 8px;
    width: 44px;
  }

  .menu-toggle span {
    background: var(--theme-text);
    display: block;
    height: 1.5px;
    transition: transform .3s var(--ease), width .3s var(--ease);
    width: 24px;
  }

  .menu-toggle span:last-child { width: 16px; }

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

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
    width: 24px;
  }

  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .main-nav > a,
  .mega-trigger {
    border-bottom: 1px solid var(--theme-border);
    font-family: var(--serif);
    font-size: clamp(22px, 4vw, 31px);
    font-weight: 600;
    justify-content: space-between;
    padding: 17px 2px;
    width: 100%;
  }

  .main-nav > a::after,
  .mega-trigger::after { display: none; }

  .nav-group {
    align-items: stretch;
    display: block;
  }

  .mega-panel {
    background: var(--theme-page);
    border: 0;
    box-shadow: none;
    opacity: 1;
    padding: 8px 0 14px;
    position: static;
    transform: none;
    transition: none;
    visibility: visible;
    backdrop-filter: none;
  }

  .mega-shell {
    display: block;
  }

  .mega-column {
    margin-bottom: 8px;
  }

  .mega-label,
  .mega-feature { display: none; }

  .mega-column a {
    border-bottom: 1px solid color-mix(in srgb, var(--theme-border) 60%, transparent);
    border-radius: 0;
    padding: 12px 14px;
  }

  .mega-column a:hover { transform: none; }

  .mega-column strong { font-size: 15px; }
  .mega-column small { font-size: 11px; }

  .menu-toggle { display: inline-flex; }
  .header-cta { display: inline-flex; }

  .subpage-hero-inner {
    gap: 66px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  }

}

@media (max-width: 920px) {
  .subpage-hero {
    padding-top: 64px;
  }

  .subpage-hero-inner {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .subpage-visual {
    min-height: 620px;
  }

  .visual-overlay { left: 22px; }

  .grid-3,
  .articles-grid,
  .knowledge-section .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .articles-grid > a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .brand-name { display: none; }
  .header-cta { display: none; }

  .subpage-hero {
    padding: 48px 18px 86px;
  }

  .subpage-hero h1 {
    font-size: clamp(39px, 12vw, 57px);
    line-height: 1.01;
  }

  .subpage-hero .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .subpage-hero .hero-actions .button {
    width: 100%;
  }

  .subpage-visual {
    min-height: 520px;
  }

  .visual-overlay {
    bottom: 18px;
    left: 18px;
    padding: 17px;
    right: 18px;
    width: auto;
  }

  .section.section-white,
  .section.section-warm,
  .section.section-mint {
    padding: 76px 18px;
  }

  .grid,
  .articles-grid,
  .knowledge-section .articles-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 34px;
  }

  .articles-grid > a:last-child:nth-child(odd) { grid-column: auto; }

  .card {
    min-height: 0;
    padding: 21px;
  }

  .field-wide { grid-column: auto; }

  

  .hero .hero-display {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero .hero-display span { font-size: .72em; }
}

@media (max-width: 390px) {
  .site-header { padding-inline: 16px; }
  .header-tools { gap: 4px; }
  .menu-toggle { margin-left: 2px; }

  .subpage-hero h1 { font-size: 40px; }
  .subpage-visual { min-height: 480px; }
  .visual-overlay > strong { font-size: 18px; }
  .visual-overlay li { font-size: 10px; }
  .section-shell > h2 { font-size: 34px; }
  .faq-list summary { font-size: 17px; min-height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  
}

@media (forced-colors: active) {
  .button,
.card,
.mega-column a,
.faq-list summary::after {
    border: 1px solid ButtonText;
  }
}

/* Final review adjustments: semantic H1, contextual micro-wins and Saldeo markers. */
.hero .hero-display .hero-display-seo {
  color: var(--theme-accent);
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.45;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero .hero-display .hero-display-seo::after { display: none; }

.hero .hero-display .hero-display-promise {
  display: block;
  font-size: inherit;
  line-height: inherit;
}

.hero .hero-display .hero-display-accent {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-style: italic;
  font-weight: inherit;
  letter-spacing: inherit;
  position: relative;
}

.hero .hero-display .hero-display-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.faq-heading h2 {
  font-family: var(--font-accent);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.mini-chart i {
  background: color-mix(in srgb, var(--theme-accent) 46%, var(--theme-surface));
  border: 1px solid color-mix(in srgb, var(--theme-accent) 24%, transparent);
}

.mini-chart i.is-hot {
  background: var(--theme-accent-deep);
  border-color: var(--theme-accent-deep);
}

@media (max-width: 680px) {
  .hero .hero-display .hero-display-seo {
    font-size: 13px;
    margin-bottom: 16px;
  }

}

/* Final proportion pass: compact, top-aligned hero and a genuinely wide start section. */
@media (min-width: 981px) {
  .hero,
  .subpage-hero {
    box-sizing: border-box;
    min-height: var(--desktop-hero-height);
  }

  .hero {
    align-items: start;
    gap: clamp(42px, 4.5vw, 68px);
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    max-width: 1280px;
    padding: var(--desktop-hero-padding-top) 28px var(--desktop-hero-padding-bottom);
  }

  .subpage-hero {
    padding: var(--desktop-hero-padding-top) max(24px, calc((100vw - 1180px) / 2)) var(--desktop-hero-padding-bottom);
  }

  .subpage-hero-inner {
    align-items: start;
  }

  .subpage-visual {
    min-height: 672px;
  }

  .hero .hero-display {
    font-size: clamp(52px, 4.45vw, 72px);
    line-height: 1.02;
    max-width: 610px;
  }

  .hero .hero-display .hero-display-seo {
    margin-bottom: 18px;
  }

  .hero-lead {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.52;
    margin-top: 18px;
  }

  .hero-actions { margin-top: 24px; }
  .hero-human { margin-top: 20px; }
  .hero-note { margin-top: 14px; }

  .start-section {
    max-width: min(calc(100% - 40px), 1480px);
    padding-left: clamp(36px, 4.5vw, 70px);
    padding-right: clamp(36px, 4.5vw, 70px);
  }

  .start-heading { max-width: 1040px; }
  .path-switch { min-width: 560px; }

  .steps-grid {
    gap: 18px;
    width: 100%;
  }

  .steps-grid article,
  .steps-grid article + article {
    min-height: 238px;
    padding: 24px;
  }

  .steps-grid h3 {
    font-size: clamp(20px, 1.45vw, 24px);
    margin-top: 38px;
  }
}

@media (min-width: 981px) and (max-width: 1160px) {
  .hero,
  .subpage-hero {
    padding-top: 40px;
  }

  .hero {
    grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr);
  }

  .hero .hero-display { font-size: clamp(48px, 5.2vw, 60px); }
  .start-section { padding-inline: 36px; }
  .steps-grid { gap: 12px; }
  .steps-grid article,
  .steps-grid article + article { padding: 20px; }
}

/* Homepage presentation: links retain their visual design but have no destination. */
.presentation-mode a[aria-disabled="true"] {
  cursor: default;
}

/* Premium micro-win celebration: restrained glow, pulse and seven tiny sparks. */
.micro-win-copy {
  display: block;
  min-width: 0;
}

.micro-win-copy.is-switching {
  animation: micro-win-copy-swap .42s var(--ease) both;
}

@keyframes micro-win-copy-swap {
  0% { opacity: .48; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-ksef-pill {
  isolation: isolate;
  overflow: visible;
}

.hero-ksef-pill::after {
  border: 1px solid color-mix(in srgb, var(--theme-highlight) 72%, #fff);
  border-radius: inherit;
  content: "";
  inset: -1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero-ksef-pill.is-celebrating {
  animation: micro-win-lift 0.78s var(--ease);
}

.hero-ksef-pill.is-celebrating::after {
  animation: micro-win-ring 0.92s var(--ease);
}

.hero-ksef-pill.is-celebrating>span {
  animation: micro-win-icon 0.78s var(--ease);
}

.micro-fanfare {
  --spark-angle: calc(var(--spark-index) * 25deg - 75deg);
  --spark-distance: calc(17px + var(--spark-index) * 1.4px);
  background: var(--theme-highlight);
  border-radius: 999px;
  height: 4px;
  left: 24px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: rotate(var(--spark-angle)) translateX(5px) scale(.35);
  transform-origin: left center;
  width: 9px;
  z-index: 8;
  animation: micro-win-spark 0.78s calc(var(--spark-index) * 22ms) var(--ease) both;
}

@keyframes micro-win-lift {
  0%, 100% { box-shadow: 0 12px 28px -18px var(--theme-shadow-dark); transform: translateY(0); }
  42% { box-shadow: 0 18px 42px -14px var(--theme-shadow-accent), 0 0 24px color-mix(in srgb, var(--theme-highlight) 28%, transparent); transform: translateY(-3px); }
}

@keyframes micro-win-ring {
  0% { opacity: 0; transform: scale(.98); }
  32% { opacity: .9; }
  100% { opacity: 0; transform: scale(1.09, 1.34); }
}

@keyframes micro-win-icon {
  0%, 100% { transform: scale(1); }
  38% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--theme-highlight) 18%, transparent); transform: scale(1.16) rotate(-7deg); }
}

@keyframes micro-win-spark {
  0% { opacity: 0; transform: rotate(var(--spark-angle)) translateX(3px) scale(.35); }
  28% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--spark-angle)) translateX(var(--spark-distance)) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ksef-pill.is-celebrating,
.hero-ksef-pill.is-celebrating::after,
.hero-ksef-pill.is-celebrating>span,
.micro-fanfare { animation: none !important; }
}

/* Private presentation gate */

html.access-pending body > :not(.access-gate) { visibility: hidden; }

.access-input-wrap input[aria-invalid="true"] {
  border-color: #a23b32;
  box-shadow: 0 0 0 4px color-mix(in srgb, #a23b32 10%, transparent);
}

@keyframes access-shake {
  0%, 100% { transform: translateX(0); }
  28% { transform: translateX(-8px); }
  58% { transform: translateX(6px); }
  80% { transform: translateX(-3px); }
}

/* Reusable check-list — same checkmark-in-circle language as the hero card,
   for feature/benefit lists in body copy instead of raw browser bullets. */
.check-list {
  display: grid;
  gap: 11px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  align-items: center;
  color: var(--theme-text);
  display: flex;
  font-size: 14px;
  font-weight: 650;
  gap: 12px;
  line-height: 1.4;
}

.check-list li span {
  align-items: center;
  background: var(--theme-accent-soft);
  border-radius: 50%;
  color: var(--theme-accent-deep);
  display: flex;
  flex: 0 0 auto;
  font-size: 10px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.check-list-light li { color: rgba(255,255,255,.86); }

.check-list-light li span {
  background: rgba(255,255,255,.16);
  color: var(--theme-highlight);
}

.check-list-muted li { color: var(--theme-text-soft); font-weight: 550; }

.check-list-muted li span {
  background: var(--theme-page);
  border: 1px solid var(--theme-border);
  color: var(--theme-muted);
}

/* Fix: [hidden] must win over the component's explicit display:grid,
   otherwise every problem-focus tab panel renders stacked at once. */
.problem-focus-result-inner[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Wiedza — article (blog post) template and knowledge-hub components
   -------------------------------------------------------------------------- */

.article-shell {
  margin: 0 auto;
  max-width: 760px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
}

.article-meta {
  align-items: center;
  color: var(--theme-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 650;
  gap: 10px;
  margin-top: 18px;
}

.article-meta .article-tag {
  background: var(--theme-accent-soft);
  border-radius: 999px;
  color: var(--theme-accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  text-transform: uppercase;
}

.article-meta span[aria-hidden] { color: var(--theme-border); }

.article-summary {
  background: var(--theme-accent-soft);
  border-radius: 20px;
  color: var(--theme-text);
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3vw, 30px);
}

.article-summary p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

.article-summary p + p { margin-top: 10px; }

.article-body {
  color: var(--theme-text);
  font-size: 17px;
  line-height: 1.75;
  margin-top: clamp(40px, 5vw, 56px);
}

.article-body h2 {
  font-family: var(--sans);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: clamp(44px, 5vw, 58px) 0 18px;
}

.article-body h2:first-child { margin-top: 0; }

.article-body p {
  color: var(--theme-text-soft);
  margin: 0 0 18px;
}

.article-body strong { color: var(--theme-text); }

.article-body ul.check-list,
.article-body ul.check-list-muted { margin: 20px 0 26px; }

.article-body .stat-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 26px 0 30px;
}

.article-body .stat-row div {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: 16px 18px;
}

.article-body .stat-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
}

.article-body .stat-row span {
  color: var(--theme-muted);
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.article-faq { margin-top: clamp(48px, 6vw, 70px); }

.article-faq > p.eyebrow { margin-bottom: 8px; }

.article-faq h2 {
  font-family: var(--sans);
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.article-faq .faq-list { margin-top: 0; }

.article-author-card {
  align-items: center;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 20px;
  display: flex;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 70px);
  padding: 20px 24px;
}

.article-author-card img {
  border-radius: 50%;
  height: 56px;
  object-fit: cover;
  width: 56px;
}

.article-author-card strong {
  color: var(--theme-text);
  display: block;
  font-size: 14px;
}

.article-author-card span {
  color: var(--theme-muted);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.article-related {
  margin-top: clamp(56px, 6vw, 80px);
}

.article-related > p.eyebrow { margin-bottom: 12px; }

.article-related h2 {
  font-family: var(--sans);
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.article-related .articles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

@media (max-width: 760px) {
  .article-related .articles-grid { grid-template-columns: 1fr; }
}

/* Wiedza hub — cluster listing */

@media (max-width: 860px) {
  .article-body .stat-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .article-author-card { flex-direction: column; text-align: center; }
  .article-body .stat-row { grid-template-columns: 1fr; }
}

/* Global lead path — one qualifying choice before leaving contact details. */
.lead-qualifier-backdrop {
  background: color-mix(in srgb, var(--theme-text) 34%, transparent);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 998;
}

.lead-qualifier-panel {
  background: var(--theme-surface);
  box-shadow: none;
  box-sizing: border-box;
  color: var(--theme-text);
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 520px;
  overflow: hidden;
  padding: 28px 34px;
  position: fixed;
  right: 0;
  top: 0;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 240ms cubic-bezier(.23,1,.32,1);
  width: min(100%, 520px);
  z-index: 999;
}

body.lead-qualifier-open { overflow: hidden; }
body.lead-qualifier-open .lead-qualifier-backdrop { opacity: 1; pointer-events: auto; }
body.lead-qualifier-open .lead-qualifier-panel {
  box-shadow: -24px 0 64px -44px color-mix(in srgb, var(--theme-text) 56%, transparent);
  clip-path: inset(0);
}

/* Keep hidden anti-spam controls and the closed contact drawer inside the
   viewport. Off-canvas transforms and full-width honeypots made full-page
   screenshots — and some mobile browsers — treat the page as wider than it is. */
.amp-honey {
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  inset: 0 auto auto 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: fixed !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.lead-qualifier-close {
  align-items: center;
  position: absolute;
  right: 22px;
  top: 22px;
  background: var(--theme-page);
  border: 1px solid var(--theme-border);
  border-radius: 50%;
  color: var(--theme-text);
  cursor: pointer;
  display: inline-flex;
  font: 500 24px/1 var(--sans);
  height: 38px;
  justify-content: center;
  transition: background-color 160ms ease, transform 140ms cubic-bezier(.23,1,.32,1);
  width: 38px;
}

.lead-qualifier-kicker {
  color: var(--theme-accent-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  margin: 2px 56px 10px 0;
  text-transform: uppercase;
}

.lead-qualifier-panel h2 {
  font-family: var(--sans);
  font-size: clamp(32px, 4vw, 40px);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
}

.lead-qualifier-intro { color: var(--theme-text-soft); font-size: 13px; line-height: 1.45; margin: 12px 0 16px; max-width: 42ch; }
.lead-qualifier-options { display: grid; gap: 6px; }

.lead-qualifier-option {
  align-items: center;
  background: var(--theme-page);
  border: 1px solid var(--theme-border);
  border-radius: 15px;
  color: var(--theme-text);
  cursor: pointer;
  display: grid;
  font-family: var(--sans);
  gap: 2px 10px;
  grid-template-columns: 26px 1fr auto;
  min-height: 58px;
  padding: 8px 12px;
  text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease, transform 140ms cubic-bezier(.23,1,.32,1);
}

.lead-qualifier-option > span:first-child { color: var(--theme-accent-deep); font-size: 9px; font-weight: 900; grid-row: 1 / span 2; }
.lead-qualifier-option strong { font-size: 13px; }
.lead-qualifier-option small { color: var(--theme-text-soft); font-size: 9px; grid-column: 2; line-height: 1.25; }
.lead-qualifier-option b { font-size: 15px; font-weight: 500; grid-column: 3; grid-row: 1 / span 2; }
.lead-qualifier-option[aria-pressed="true"] { background: var(--theme-accent-soft); border-color: var(--theme-accent-deep); }

.lead-qualifier-result {
  border-top: 1px solid var(--theme-border);
  margin-top: 14px;
  padding-top: 12px;
}

.lead-qualifier-result[hidden] { display: none; }
.lead-qualifier-result > span { color: var(--theme-accent-deep); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lead-qualifier-result h3 { font-family: var(--sans); font-size: 20px; letter-spacing: -.04em; line-height: 1.08; margin: 6px 0 4px; }
.lead-qualifier-result p { color: var(--theme-text-soft); font-size: 11px; line-height: 1.4; margin: 0; }
.lead-qualifier-form { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin-top: 10px; }
.lead-qualifier-form label { display: grid; gap: 6px; }
.lead-qualifier-form > label:first-of-type,
.lead-qualifier-form .lead-qualifier-volume,
.lead-qualifier-form .lead-qualifier-message,
.lead-qualifier-form > button,
.lead-qualifier-form > p { grid-column: 1 / -1; }
.lead-qualifier-form label > span { color: var(--theme-text); font-size: 11px; font-weight: 800; }
.lead-qualifier-form label small { color: var(--theme-text-soft); font-size: 9px; font-weight: 600; margin-left: 4px; }
.lead-qualifier-form input {
  background: var(--theme-page);
  border: 1px solid var(--theme-border);
  border-radius: 11px;
  color: var(--theme-text);
  font: 500 14px/1.4 var(--sans);
  min-height: 42px;
  outline: 0;
  padding: 0 13px;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}
.lead-qualifier-form textarea {
  background: var(--theme-page);
  border: 1px solid var(--theme-border);
  border-radius: 11px;
  color: var(--theme-text);
  font: 500 13px/1.4 var(--sans);
  min-height: 58px;
  outline: 0;
  padding: 10px 12px;
  resize: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}
.lead-qualifier-volume {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}
.lead-qualifier-volume legend {
  color: var(--theme-text);
  font-size: 11px;
  font-weight: 800;
  margin: 0 0 6px;
  padding: 0;
}
.lead-qualifier-volume legend small {
  color: var(--theme-text-soft);
  font-size: 9px;
  font-weight: 600;
  margin-left: 4px;
}
.lead-qualifier-volume > div {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.lead-qualifier-volume label { cursor: pointer; display: block; }
.lead-qualifier-volume input {
  border: 0;
  height: 1px;
  margin: 0;
  min-height: 0;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}
.lead-qualifier-volume label span {
  align-items: center;
  background: var(--theme-page);
  border: 1px solid var(--theme-border);
  border-radius: 9px;
  color: var(--theme-text);
  display: flex;
  font-size: 10px;
  font-weight: 800;
  justify-content: center;
  min-height: 34px;
  padding: 0 5px;
  transition: background-color 160ms ease, border-color 160ms ease, transform 140ms cubic-bezier(.23,1,.32,1);
}
.lead-qualifier-volume input:checked + span {
  background: var(--theme-accent-soft);
  border-color: var(--theme-accent-deep);
  box-shadow: inset 0 0 0 1px var(--theme-accent-deep);
}
.lead-qualifier-volume input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--theme-accent) 24%, transparent);
  outline-offset: 2px;
}
.lead-qualifier-form input:focus { background: #fff; border-color: var(--theme-accent-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-accent) 16%, transparent); }
.lead-qualifier-form textarea:focus { background: #fff; border-color: var(--theme-accent-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-accent) 16%, transparent); }
.lead-qualifier-form button {
  align-items: center;
  background: var(--theme-text);
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: 800 12px/1 var(--sans);
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  transition: background-color 160ms ease, transform 140ms cubic-bezier(.23,1,.32,1);
}
.lead-qualifier-form > p { font-size: 8px; line-height: 1.35; }
.lead-qualifier-honey { display: none !important; }
.lead-qualifier-form .lead-qualifier-status { background: var(--theme-accent-soft); border-radius: 9px; color: var(--theme-text); font-size: 10px; padding: 9px 10px; }
.lead-qualifier-form .lead-qualifier-status[hidden] { display: none; }
.lead-qualifier-actions { display: grid; gap: 9px; grid-template-columns: 1fr 1fr; margin-top: 18px; }
.lead-qualifier-actions a { align-items: center; border-radius: 12px; display: flex; font-size: 12px; font-weight: 800; justify-content: space-between; min-height: 50px; padding: 0 14px; text-decoration: none; transition: background-color 160ms ease, transform 140ms cubic-bezier(.23,1,.32,1); }
.lead-qualifier-primary { background: var(--theme-text); color: #fff; }
.lead-qualifier-secondary { background: var(--theme-page); border: 1px solid var(--theme-border); color: var(--theme-text); }
.lead-qualifier-proof { align-items: center; color: var(--theme-text-soft); display: flex; font-size: 10px; gap: 9px; margin: auto 0 0; padding-top: 32px; }
.lead-qualifier-proof::before { align-items: center; background: var(--theme-highlight); border-radius: 50%; color: var(--theme-text); content: "✓"; display: inline-flex; flex: 0 0 auto; height: 24px; justify-content: center; width: 24px; }

@media (hover: hover) and (pointer: fine) {
  .lead-qualifier-option:hover { border-color: var(--theme-accent-deep); }
  .lead-qualifier-close:hover { background: var(--theme-accent-soft); }
  .lead-qualifier-volume label:hover span { border-color: var(--theme-accent-deep); }
}

.lead-qualifier-close:active,
.lead-qualifier-option:active,
.lead-qualifier-volume label:active span,
.lead-qualifier-form button:active,
.lead-qualifier-actions a:active { transform: scale(.97); }

@media (max-width: 680px) {
  .lead-qualifier-panel { padding: 20px 18px; }
  .lead-qualifier-actions { grid-template-columns: 1fr; }
}

@media (max-height: 760px) {
  .lead-qualifier-panel { padding-block: 18px; }
  .lead-qualifier-close { right: 18px; top: 16px; }
  .lead-qualifier-panel h2 { font-size: 30px; }
  .lead-qualifier-intro { margin-block: 8px 11px; }
  .lead-qualifier-option { min-height: 48px; }
  .lead-qualifier-option small { display: none; }
  .lead-qualifier-option > span:first-child,
  .lead-qualifier-option b { grid-row: 1; }
  .lead-qualifier-result { margin-top: 10px; padding-top: 9px; }
  .lead-qualifier-result > p { display: none; }
  .lead-qualifier-form { gap: 6px; margin-top: 7px; }
  .lead-qualifier-form input { min-height: 38px; }
  .lead-qualifier-form textarea { min-height: 46px; }
  .lead-qualifier-form button { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .lead-qualifier-backdrop { transition: opacity 120ms ease; }
  .lead-qualifier-panel { transition: none; }
}

/* --------------------------------------------------------------------------
   Mobile navigation — one calm, full-height drawer shared by every page.
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .site-header {
    background: color-mix(in srgb, var(--theme-page) 98%, #fff);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid var(--theme-border);
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 50%;
    flex: 0 0 44px;
    position: relative;
    transition: background-color 180ms ease, border-color 180ms ease, transform 160ms cubic-bezier(.23, 1, .32, 1);
    z-index: 102;
  }

  .menu-toggle:active { transform: scale(.94); }

  .menu-toggle[aria-expanded="true"] {
    background: var(--theme-text);
    border-color: var(--theme-text);
  }

  .menu-toggle[aria-expanded="true"] span { background: #fff; }

  .main-nav {
    background: #f6f1e8;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 76px);
    left: 0;
    max-height: none;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 24px max(20px, calc((100vw - 760px) / 2)) 28px;
    right: 0;
    scrollbar-gutter: auto;
    transform: none;
    transition: opacity 160ms ease, visibility 160ms;
    width: 100vw;
  }

  .main-nav:not(.is-open) {
    opacity: 0;
    transform: none;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: none;
  }

  .main-nav::before {
    color: var(--theme-accent-deep);
    content: "MENU";
    display: block;
    font: 800 14px/1 var(--sans);
    letter-spacing: .13em;
    margin: 2px 2px 18px;
  }

  .main-nav > a,
  .mega-trigger {
    border-bottom: 1px solid var(--theme-border);
    color: var(--theme-text);
    font-family: var(--sans);
    font-size: clamp(18px, 2.6vw, 21px);
    font-weight: 720;
    line-height: 1.2;
    min-height: 62px;
    padding: 0 4px;
    white-space: normal;
  }

  .main-nav > a:nth-of-type(1),
  .main-nav > a:nth-of-type(2) {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    margin-bottom: 10px;
    min-height: 64px;
    padding: 0 17px;
  }

  .main-nav > a:nth-of-type(2) { margin-bottom: 18px; }

  .main-nav > a:nth-of-type(1)::after,
  .main-nav > a:nth-of-type(2)::after {
    align-items: center;
    background: var(--theme-accent-soft);
    border-radius: 50%;
    color: var(--theme-text);
    content: "↗";
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    margin-left: auto;
    position: static;
    transform: none;
    width: 34px;
  }

  .main-nav > a:nth-of-type(1)[aria-current="page"],
  .main-nav > a:nth-of-type(2)[aria-current="page"] {
    border-color: color-mix(in srgb, var(--theme-accent) 70%, var(--theme-border));
    box-shadow: inset 4px 0 0 var(--theme-highlight);
  }

  .nav-group { width: 100%; }

  .mega-trigger span {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 50%;
    flex-basis: 36px;
    height: 36px;
    margin-left: auto;
    width: 36px;
  }

  .mega-trigger span::before {
    height: 6px;
    width: 6px;
  }

  .mega-trigger[aria-expanded="true"] {
    border-bottom-color: transparent;
    color: var(--theme-accent-deep);
  }

  .mega-trigger[aria-expanded="true"] span {
    background: var(--theme-accent-soft);
    border-color: color-mix(in srgb, var(--theme-accent) 42%, var(--theme-border));
  }

  .mega-panel {
    background: transparent;
    padding: 0 0 14px;
  }

  .mega-panel[hidden] { display: none; }

  .mega-shell {
    background: color-mix(in srgb, var(--theme-surface) 70%, transparent);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    padding: 6px;
  }

  .mega-column { margin: 0; }

  .mega-column a {
    border: 0;
    border-radius: 12px;
    min-height: 58px;
    padding: 11px 12px;
  }

  .mega-column a + a {
    border-top: 1px solid color-mix(in srgb, var(--theme-border) 72%, transparent);
  }

  .mega-column a[aria-current="page"] {
    background: var(--theme-accent-soft);
  }

  .mega-column strong {
    color: var(--theme-text);
    font-size: 16px;
    line-height: 1.25;
  }

  .mega-column small {
    color: var(--theme-text-soft);
    font-size: 14px;
    line-height: 1.35;
    margin-top: 3px;
  }

  .main-nav > a.nav-prototype-link { display: none; }

  .main-nav > a[href="kontakt.html"]:not(.mobile-contact-link),
  .main-nav > a[href$="/kontakt/"]:not(.mobile-contact-link) {
    color: var(--theme-text);
    display: flex;
    font-weight: 800;
  }

  .main-nav > .mobile-menu-cta {
    align-items: center;
    background: var(--theme-text);
    border: 0;
    border-radius: 14px;
    bottom: 0;
    color: #fff !important;
    display: flex;
    flex: 0 0 auto;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 800;
    justify-content: space-between;
    margin-top: auto;
    min-height: 56px;
    padding: 12px 18px;
    position: sticky;
    text-decoration: none;
    width: 100%;
    z-index: 3;
  }

  .main-nav > .mobile-menu-cta::after { display: none; }

  .mobile-menu-cta span {
    align-items: center;
    background: var(--theme-highlight);
    border-radius: 50%;
    color: var(--theme-text);
    display: inline-flex;
    flex: 0 0 32px;
    height: 32px;
    justify-content: center;
    width: 32px;
  }

  body.is-locked {
    overflow: hidden;
    touch-action: none;
  }

  body.is-locked .final-floating-cta { display: none !important; }

}

@media (max-width: 520px) {
  .site-header { padding-inline: 16px; }

  .header-tools { gap: 7px; }

  .main-nav {
    padding: 20px 16px max(16px, env(safe-area-inset-bottom));
  }

  .main-nav::before { margin-bottom: 14px; }

  .main-nav > a,
  .mega-trigger {
    font-size: 18px;
    min-height: 58px;
  }

  .main-nav > a:nth-of-type(1),
  .main-nav > a:nth-of-type(2) {
    min-height: 60px;
  }
}

@media (hover: hover) and (pointer: fine) and (max-width: 1180px) {
  .main-nav > a:nth-of-type(1):hover,
  .main-nav > a:nth-of-type(2):hover,
  .mega-column a:hover {
    border-color: color-mix(in srgb, var(--theme-accent) 55%, var(--theme-border));
  }

}

@media (prefers-reduced-motion: reduce) and (max-width: 1180px) {
  .main-nav,
  .menu-toggle { transition: none; }
}

/* Footer authorship — shared, readable credit across the whole site. */
.footer-bottom {
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer-bottom > span { margin-right: auto; }

.footer-bottom span,
.footer-bottom a {
  font-size: 14px;
  line-height: 1.45;
}

.footer-credit {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  white-space: nowrap;
}

.footer-credit::before {
  background: var(--theme-highlight);
  border-radius: 50%;
  content: "";
  flex: 0 0 6px;
  height: 6px;
  width: 6px;
}

.footer-credit::after {
  content: "↗";
  font-size: 12px;
  margin-left: 2px;
}

.footer-credit strong {
  color: rgba(255, 255, 255, .76);
  font-size: inherit;
  font-weight: 800;
}

/* Official COHUBO credit. The SVG is used as a mask so the mark always follows
   AMP's petrol colour, including the light footer introduced later. */
.footer-credit::before,
.footer-credit::after { display: none; }

.footer-compact .footer-bottom .footer-credit__label {
  color: var(--theme-text-soft, #3f5d5f);
  font-size: 14px;
  line-height: 1.45;
}

.footer-credit__logo {
  background-color: #123f43;
  display: inline-block;
  flex: 0 0 auto;
  height: 20px;
  -webkit-mask: url("cohubo-logo.svg") center / contain no-repeat;
  mask: url("cohubo-logo.svg") center / contain no-repeat;
  width: 88px;
}

.footer-compact .footer-bottom .footer-credit__arrow {
  color: #123f43;
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .footer-credit:hover .footer-credit__logo { background-color: var(--theme-accent, #b49032); }
}

@media (hover: hover) and (pointer: fine) {
  .footer-credit:hover strong { color: var(--theme-highlight); }
}

.footer-credit:active { transform: scale(.97); }

@media (max-width: 640px) {
  .footer-bottom { align-items: flex-start; }
  .footer-bottom > span { margin-right: 0; }
}

/* Navigation conversion path — visible, consistent and high-contrast. */
.header-contact { display: none; }
.header-pricing { display:none; }
.site-header .main-nav > a,
.site-header .main-nav > .nav-group > .mega-trigger,
.site-header .header-tools > .header-contact,
.site-header .header-tools > .header-pricing,
.site-header .header-tools > .header-cta {
  font-family:var(--sans);
  font-size:15px;
  font-weight:600;
  line-height:1.4;
}
@media (min-width: 1181px) {
  .site-header .main-nav > a[href="cennik.html"],
  .site-header .main-nav > a[href$="/cennik/"] { display:none; }
  .site-header .header-tools { gap:12px; }
  .site-header .header-tools > .header-pricing {
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding:9px 6px;
    color:var(--theme-text);
    text-decoration:none;
    background:none;
  }
  .site-header .header-tools > .header-pricing[aria-current="page"] { text-decoration:underline; text-underline-offset:7px; }
  .main-nav > a[href="kontakt.html"]:not(.mobile-contact-link),
  .main-nav > a[href$="/kontakt/"]:not(.mobile-contact-link) { display: none; }
  .header-tools .header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--theme-text);
    font-size: 15px;
    font-weight: 800;
    padding: 9px 14px;
  }

  .main-nav > a[href="kontakt.html"]:not(.mobile-contact-link)::after,
  .main-nav > a[href$="/kontakt/"]:not(.mobile-contact-link)::after {
    display: none;
  }
}

@media (max-width: 380px) {
  .site-header .header-cta { display: none; }
}

/* Keep the complete mobile header available while the navigation is open. */
@media (max-width: 1180px) {
  body.is-locked .site-header {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100vw;
    z-index: 200;
  }

  body.is-locked .main-nav {
    bottom: 0;
    height: calc(100dvh - 76px);
    top: 76px;
  }
}
