:is(body[data-city-pilot="gniezno-investor-qualification-v1"], .gnz-hero, .gnz-qualification, .gnz-system, .gnz-source) {
  --gnz-ink: #132238;
  --gnz-muted: #586a7c;
  --gnz-line: #cbd6e0;
  --gnz-mist: #f5f7f9;
  --gnz-blue: #234f89;
  --gnz-green: #2c6b5e;
  --gnz-amber: #8a6537;
  --gnz-red: #d63846;
}

body[data-city-pilot="gniezno-investor-qualification-v1"] {
  color: var(--gnz-ink);
  background: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.gnz-shell {
  width: min(calc(100% - 5rem), 1168px);
  margin-inline: auto;
}

.gnz-hero,
.gnz-qualification,
.gnz-system,
.gnz-source {
  position: relative;
  color: var(--gnz-ink);
  background: #fff;
  border-bottom: 1px solid var(--gnz-line);
}

.gnz-kicker {
  margin: 0 0 .85rem;
  color: var(--gnz-red);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gnz-hero {
  padding: 7rem 1rem 1rem;
  overflow: hidden;
}

.gnz-hero__grid {
  display: grid;
  min-height: 32rem;
  grid-template-columns: minmax(19rem, .83fr) minmax(0, 1.17fr);
  border-bottom: 1px solid var(--gnz-line);
}

.gnz-hero__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 2.25rem 2.75rem 2.25rem 0;
}

.gnz-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.8rem, 4.35vw, 4rem);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.gnz-hero h1 em {
  display: block;
  color: var(--gnz-red);
  font-style: normal;
}

.gnz-hero__copy > p:not(.gnz-kicker) {
  max-width: 55ch;
  margin: 1.15rem 0 0;
  color: var(--gnz-muted);
  font-size: .94rem;
  line-height: 1.66;
}

.gnz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  margin-top: 1.45rem;
}

.gnz-actions a,
.gnz-system a,
.gnz-source a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--gnz-ink);
  font-size: .74rem;
  font-weight: 800;
  text-decoration: none;
}

.gnz-actions a:first-child {
  gap: .55rem;
  padding: .72rem 1.05rem;
  color: #fff;
  background: var(--gnz-ink);
  border-radius: .55rem;
}

.gnz-actions a:last-child {
  border-bottom: 1px solid #91a0ae;
}

.gnz-visual {
  display: grid;
  min-width: 0;
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background: var(--gnz-mist);
  border-left: 1px solid var(--gnz-line);
}

.gnz-visual picture {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: .35rem;
}

.gnz-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: contain;
}

.gnz-visual figcaption {
  display: grid;
  min-height: 4.45rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border-top: 1px solid var(--gnz-line);
}

.gnz-visual figcaption span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: .18rem;
  padding: .7rem .8rem;
}

.gnz-visual figcaption span + span {
  border-left: 1px solid var(--gnz-line);
}

.gnz-visual figcaption b {
  color: var(--gnz-blue);
  font-size: .58rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.gnz-visual figcaption span:nth-child(2) b {
  color: var(--gnz-green);
}

.gnz-visual figcaption span:nth-child(3) b {
  color: var(--gnz-amber);
}

.gnz-visual figcaption small {
  color: var(--gnz-ink);
  font-size: .61rem;
  font-weight: 700;
  line-height: 1.35;
}

.gnz-qualification {
  padding: 4rem 1rem;
  background: var(--gnz-mist);
}

.gnz-qualification__grid {
  display: grid;
  grid-template-columns: minmax(16rem, .62fr) minmax(0, 1.38fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.gnz-qualification h2,
.gnz-system h2,
.gnz-source h2 {
  margin: 0;
  font-size: clamp(2.15rem, 3.45vw, 3rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.gnz-qualification header > p:last-child {
  margin: 1rem 0 0;
  color: var(--gnz-muted);
  font-size: .86rem;
  line-height: 1.6;
}

.gnz-modules {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--gnz-line);
}

.gnz-modules li {
  display: grid;
  min-height: 6.15rem;
  grid-template-columns: 3.25rem minmax(0, 1fr) 6.5rem;
  gap: 1rem;
  align-items: center;
  padding: .9rem 1.1rem;
}

.gnz-modules li + li {
  border-top: 1px solid var(--gnz-line);
}

.gnz-modules li > span {
  color: var(--gnz-red);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.gnz-modules strong {
  display: block;
  font-size: .88rem;
}

.gnz-modules p {
  margin: .22rem 0 0;
  color: var(--gnz-muted);
  font-size: .72rem;
  line-height: 1.45;
}

.gnz-modules b {
  color: var(--gnz-blue);
  font-size: .62rem;
  letter-spacing: .06em;
  text-align: right;
  text-transform: uppercase;
}

.gnz-system {
  padding: 3.8rem 1rem;
}

.gnz-system__header {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(15rem, .7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--gnz-line);
}

.gnz-system__header > p {
  margin: 0;
  color: var(--gnz-muted);
  font-size: .82rem;
  line-height: 1.58;
}

.gnz-system__tracks {
  display: grid;
  grid-template-columns: 1fr 1fr .82fr;
  border-bottom: 1px solid var(--gnz-line);
}

.gnz-system__tracks > * {
  min-width: 0;
  padding: 1.65rem;
}

.gnz-system__tracks > * + * {
  border-left: 1px solid var(--gnz-line);
}

.gnz-system article > span,
.gnz-source article > span,
.gnz-system aside > strong,
.gnz-source aside > strong {
  color: var(--gnz-red);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gnz-system article h3 {
  margin: .55rem 0;
  font-size: 1.22rem;
  font-weight: 800;
}

.gnz-system article p,
.gnz-system aside,
.gnz-source article p,
.gnz-source aside p {
  color: var(--gnz-muted);
  font-size: .73rem;
  line-height: 1.56;
}

.gnz-system article a,
.gnz-source article a {
  margin-top: .55rem;
  border-bottom: 1px solid #91a0ae;
}

.gnz-system aside {
  background: #eef4fa;
}

.gnz-system aside ul {
  display: grid;
  gap: .52rem;
  margin: .8rem 0 .65rem;
  padding: 0;
  list-style: none;
}

.gnz-system aside li {
  position: relative;
  padding-left: .9rem;
}

.gnz-system aside li::before {
  position: absolute;
  left: 0;
  color: var(--gnz-blue);
  content: "—";
}

.gnz-system aside a {
  justify-content: flex-start;
  color: var(--gnz-blue);
}

.gnz-source {
  padding: 3.2rem 1rem;
}

.gnz-source__grid {
  display: grid;
  grid-template-columns: .9fr 1.2fr .72fr;
}

.gnz-source__grid > * {
  min-width: 0;
  padding: 1.25rem 1.6rem;
}

.gnz-source__grid > * + * {
  border-left: 1px solid var(--gnz-line);
}

.gnz-source header {
  padding-left: 0;
}

.gnz-source article h3 {
  margin: .65rem 0;
  font-size: .96rem;
  line-height: 1.42;
}

.gnz-source aside {
  background: #fff6e8;
}

body[data-city-pilot="gniezno-investor-qualification-v1"] main :where(h1, h2, h3, p, strong, span, a, button, summary) {
  min-width: 0;
  overflow-wrap: break-word;
}

body[data-city-pilot="gniezno-investor-qualification-v1"] :is(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid var(--gnz-blue);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .gnz-shell {
    width: min(calc(100% - 3rem), 1168px);
  }

  .gnz-hero__grid {
    grid-template-columns: minmax(17.5rem, .78fr) minmax(0, 1.22fr);
  }

  .gnz-hero__copy {
    padding-right: 2rem;
  }

  .gnz-hero h1 {
    font-size: clamp(2.65rem, 4.8vw, 3.45rem);
  }

  .gnz-system__tracks {
    grid-template-columns: 1fr 1fr;
  }

  .gnz-system__tracks aside {
    grid-column: 1 / -1;
    border-top: 1px solid var(--gnz-line);
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .gnz-hero__grid,
  .gnz-qualification__grid,
  .gnz-system__header {
    grid-template-columns: 1fr;
  }

  .gnz-hero__copy {
    padding: 2.2rem 1rem;
  }

  .gnz-visual {
    border-top: 1px solid var(--gnz-line);
    border-left: 0;
  }

  .gnz-qualification__grid,
  .gnz-system__header {
    gap: 1.7rem;
  }

  .gnz-source__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gnz-source header {
    grid-column: 1 / -1;
  }

  .gnz-source article {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .gnz-shell {
    width: calc(100% - 32px);
  }

  .gnz-hero {
    padding: 5rem 0 .75rem;
  }

  .gnz-hero h1 {
    max-width: none;
    font-size: clamp(2.18rem, 10.8vw, 2.75rem);
  }

  .gnz-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gnz-actions a {
    width: 100%;
  }

  .gnz-visual picture {
    padding: 0;
  }

  .gnz-visual figcaption {
    grid-template-columns: 1fr;
  }

  .gnz-visual figcaption span {
    min-height: 3.9rem;
    padding: .65rem .85rem;
  }

  .gnz-visual figcaption span + span {
    border-top: 1px solid var(--gnz-line);
    border-left: 0;
  }

  .gnz-qualification,
  .gnz-system,
  .gnz-source {
    padding: 2.8rem 16px;
  }

  .gnz-qualification h2,
  .gnz-system h2,
  .gnz-source h2 {
    font-size: clamp(2rem, 9vw, 2.45rem);
  }

  .gnz-modules li {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    gap: .65rem;
    padding-block: 1rem;
  }

  .gnz-modules b {
    grid-column: 2;
    padding-top: .4rem;
    border-top: 1px solid var(--gnz-line);
    text-align: left;
  }

  .gnz-system__tracks,
  .gnz-source__grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .gnz-system__tracks > *,
  .gnz-source__grid > * {
    padding: 1.25rem 0;
    border-left: 0;
  }

  .gnz-system__tracks > * + *,
  .gnz-source__grid > * + * {
    border-top: 1px solid var(--gnz-line);
  }

  .gnz-system__tracks aside,
  .gnz-source aside {
    grid-column: auto;
    padding-inline: 1rem;
  }

  .gnz-source header {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-city-pilot="gniezno-investor-qualification-v1"] * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
