/* Wariant A „Sygnet” · instytucja z tradycją
   Układ: uroczysta symetria na jednej osi; naprzemienne pasma atramentu i papieru,
   złote linie włoskowate, szeryfowa typografia z kapitalikami, ostre narożniki. */
:root {
  --ink: #0a1631;
  --ink-2: #0d1c3c;
  --navy: #132a55;
  --paper: #f2ede3;
  --paper-2: #fbf8f2;
  --ivory: #f2ede3;
  --ivory-dim: #c9c2b3;
  --text: #0a1631;
  --text-2: #3a4560;
  --gold: #c2a469;
  --gold-deep: #7a5f2e;
  --gold-line: #a88a52;
  --hair-dark: rgba(194, 164, 105, .3);
  --hair-light: rgba(10, 22, 49, .16);

  --font-display: "Libre Caslon Display", "Bodoni 72", Didot, Georgia, serif;
  --font-text: "EB Garamond", Garamond, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 44px);
  --scroll-offset: 84px;
  --focus: #e3c98f;
  --skip-bg: var(--ivory);
  --skip-fg: var(--ink);
  color-scheme: dark;
}

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-text);
  font-size: 1.1875rem;
  line-height: 1.6;
  font-variant-numeric: oldstyle-nums proportional-nums;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: env(safe-area-inset-top, 0px);
  background: var(--ink);
}
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Typografia wspólna ---------- */
.a-eyebrow {
  color: var(--gold);
  font-size: 1.06rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: .2em;
  line-height: 1.3;
}
.a-paper .a-eyebrow { color: var(--gold-deep); }

.a-head h2,
.a-reports__text h2,
.a-contact h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.25rem + 2.9vw, 3.7rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.01em;
}
.a-head .a-eyebrow { margin-bottom: 16px; }
.a-head--center { max-width: 880px; margin-inline: auto; text-align: center; }
.a-head__lead { margin-top: 22px; color: var(--ivory-dim); font-size: 1.24rem; line-height: 1.6; }
.a-paper .a-head__lead { color: var(--text-2); }
.a-head--center .a-head__lead { max-width: 40em; margin-inline: auto; }
.a-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.a-head--split .a-head__lead { margin-top: 0; }

.a-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(260px, 70%);
  margin: clamp(24px, 3vw, 34px) auto;
}
.a-rule span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.a-rule span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.a-rule i { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8em 1.7em .8em 1.9em;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-text);
  font-size: 1.14rem;
  font-weight: 500;
  font-variant-caps: all-small-caps;
  letter-spacing: .2em;
  line-height: 1;
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn--primary { border-color: var(--ivory); background: var(--ivory); color: var(--ink); }
.btn--primary:hover { border-color: var(--gold); background: var(--gold); }
.btn--ghost { border-color: rgba(194, 164, 105, .55); background: transparent; color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.a-paper .btn--primary { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.a-paper .btn--primary:hover { border-color: var(--navy); background: var(--navy); }
.a-paper .btn--ghost { border-color: rgba(10, 22, 49, .35); color: var(--ink); }
.a-paper .btn--ghost:hover { border-color: var(--ink); }

/* ---------- Nagłówek ---------- */
.a-mast { position: relative; z-index: 3; background: var(--ink); }
.a-util { border-bottom: 1px solid var(--hair-dark); }
.a-util__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
  color: var(--ivory-dim);
  font-size: .98rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .16em;
}
.a-mast__brand { display: flex; justify-content: center; padding-block: 34px 28px; }
.a-logo { display: grid; justify-items: center; gap: 8px; color: var(--ivory); text-decoration: none; }
.a-logo .mark { width: 46px; height: 46px; color: var(--gold); }
.a-logo__word { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; letter-spacing: .01em; }
.a-logo__sub {
  margin-right: -.34em;
  color: var(--gold);
  font-size: 1rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .34em;
  line-height: 1;
}

.a-nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  border-block: 1px solid var(--hair-dark);
  background: rgba(10, 22, 49, .97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.a-nav__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 60px;
}
.a-nav__mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  color: var(--ivory);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.a-nav.is-stuck .a-nav__mini { opacity: 1; visibility: visible; }
.a-nav__mini .mark { width: 26px; height: 26px; color: var(--gold); }
/* gap najwyżej 20 px: z dziesięcioma pozycjami menu zostawia odstęp od małego znaku po lewej (widocznego po przewinięciu) */
.a-nav__list { display: flex; align-items: center; gap: clamp(16px, 1.4vw, 20px); }
.a-nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  color: var(--ivory);
  font-size: 1.08rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .18em;
  text-decoration: none;
  white-space: nowrap;
}
.a-nav__list a:not(.a-nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: .18em;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.a-nav__list a:hover::after,
.a-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.a-nav__list a[aria-current="page"]:not(.a-nav__cta) { color: var(--gold); }
.a-nav__list .a-nav__cta { padding: 8px 14px 8px 17px; border: 1px solid var(--gold); color: var(--gold); transition: background-color .3s ease, color .3s ease; }
.a-nav__list .a-nav__cta:hover,
.a-nav__list .a-nav__cta[aria-current="page"] { background: var(--gold); color: var(--ink); }
/* „Umów prezentację”: pełne złote tło, aby odróżnić je od obramowanego „Demo ucznia” */
.a-nav__list .a-nav__cta--solid { background: var(--gold); color: var(--ink); }
.a-nav__list .a-nav__cta--solid:hover,
.a-nav__list .a-nav__cta--solid[aria-current="page"] { border-color: var(--ivory); background: var(--ivory); color: var(--ink); }
.a-nav__toggle {
  display: none;
  justify-self: end;
  padding: 8px 14px 8px 17px;
  border: 1px solid rgba(194, 164, 105, .55);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 1.06rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .18em;
}

/* ---------- Hero ---------- */
.a-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 96px) clamp(44px, 6vw, 72px);
  background: radial-gradient(ellipse 70% 62% at 50% 36%, #152c5a 0%, var(--ink) 72%);
  text-align: center;
}
.a-hero__ring {
  position: absolute;
  left: 50%;
  top: clamp(-40px, -2vw, 0px);
  z-index: -1;
  width: min(1240px, 160vw);
  aspect-ratio: 1;
  color: var(--gold);
  opacity: .17;
  transform: translateX(-50%);
  pointer-events: none;
}
.a-seal {
  position: relative;
  width: clamp(150px, 15vw, 196px);
  aspect-ratio: 1;
  margin: 0 auto clamp(26px, 3vw, 36px);
  color: var(--gold);
}
.a-seal canvas,
.a-seal__legend { position: absolute; inset: 0; width: 100%; height: 100%; }
.a-seal__legend { fill: var(--gold); font-family: var(--font-text); font-size: 9.6px; font-weight: 600; }
.a-seal__num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.6vw, 1.7rem);
  font-variant-numeric: lining-nums;
}
.a-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 1.1rem + 5.6vw, 6.1rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.012em;
}
.a-hero__inner .a-eyebrow { margin-bottom: 18px; }
.a-hero__lead {
  max-width: 34em;
  margin-inline: auto;
  font-size: clamp(1.26rem, 1.05rem + .6vw, 1.52rem);
  font-style: italic;
  line-height: 1.5;
}
.a-hero__sub { max-width: 40em; margin: 16px auto 0; color: var(--ivory-dim); font-size: 1.12rem; }
.a-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

.a-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(52px, 7vw, 88px);
  border-block: 1px solid var(--hair-dark);
}
.a-ledger > div { min-width: 0; padding: 24px 20px; }
.a-ledger > div + div { border-left: 1px solid var(--hair-dark); }
.a-ledger dt { font-family: var(--font-display); font-size: 1.38rem; line-height: 1.15; }
.a-ledger dd { margin-top: 8px; color: var(--ivory-dim); font-size: 1.02rem; font-style: italic; line-height: 1.4; }

/* ---------- Sekcje ---------- */
/* clip: elementy dekoracyjne (obrócona strona raportu, orbita źródeł) nie przesuwają strony w bok;
   ucina tylko to, co wystaje poza ekran, i nie psuje elementów sticky */
.a-sec { padding-block: clamp(76px, 10vw, 136px); overflow-x: clip; }
.a-ink { background: var(--ink); color: var(--ivory); }
.a-paper { background: var(--paper); color: var(--text); }

/* Idea */
.a-idea {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.a-idea__body p { color: var(--text-2); font-size: 1.26rem; line-height: 1.66; }
.a-idea__body p + p { margin-top: 1em; }
.a-dropcap::first-letter {
  float: left;
  padding: .07em .1em 0 0;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 4.7em;
  line-height: .8;
}
.a-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(56px, 7vw, 92px);
  border-top: 1px solid var(--hair-light);
}
.a-pillars li { min-width: 0; padding: 32px clamp(18px, 2.6vw, 38px) 4px; }
.a-pillars li:first-child { padding-left: 0; }
.a-pillars li + li { border-left: 1px solid var(--hair-light); }
.a-pillars li::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin-bottom: 22px;
  background: var(--gold-line);
  transform: rotate(45deg);
}
.a-pillars h3 { font-family: var(--font-display); font-size: 1.62rem; font-weight: 400; line-height: 1.15; }
.a-pillars p { margin-top: 12px; color: var(--text-2); font-size: 1.13rem; line-height: 1.6; }

/* Pięć źródeł */
.a-orbit { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.a-orbit__art { width: min(300px, 78vw); aspect-ratio: 1; margin: 0 auto 8px; color: var(--gold); opacity: .6; }
.a-orbit__core { display: none; }
.a-orbit__list { display: grid; gap: 28px; max-width: 640px; margin-inline: auto; }
.a-orbit__item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 20px; align-items: start; }
.a-medal {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px var(--ink), 0 0 0 6px rgba(194, 164, 105, .45);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
}
.a-orbit__item h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; line-height: 1.2; }
.a-orbit__item p { margin-top: 6px; color: var(--ivory-dim); font-size: 1.08rem; line-height: 1.55; }
.a-note { max-width: 40em; margin: clamp(36px, 5vw, 56px) auto 0; color: var(--ivory-dim); font-style: italic; text-align: center; }

@media (min-width: 1000px) {
  .a-orbit { height: 730px; }
  .a-orbit__art {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 620px;
    margin: 0;
    transform: translate(-50%, -50%);
  }
  .a-orbit__core {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    gap: 2px;
    text-align: center;
    transform: translate(-50%, -50%);
  }
  .a-orbit__core span { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
  .a-orbit__core small { color: var(--gold); font-size: 1rem; font-variant-caps: all-small-caps; letter-spacing: .16em; }
  .a-orbit__list { display: block; max-width: none; }
  .a-orbit__item { position: absolute; width: 300px; grid-template-columns: 58px minmax(0, 1fr); }
  /* Kąty: K −90°, N −18°, R 54°, S 126°, U 198°; promień 236 px od środka. */
  .a-orbit__item--k { left: 50%; top: calc(50% - 236px); grid-template-columns: minmax(0, 1fr); justify-items: center; width: 330px; text-align: center; transform: translate(-50%, calc(-100% + 29px)); }
  .a-orbit__item--k .a-medal { order: 2; }
  .a-orbit__item--k div { order: 1; }
  .a-orbit__item--n { left: calc(50% + 224px); top: calc(50% - 73px); transform: translate(-29px, -29px); }
  .a-orbit__item--r { left: calc(50% + 139px); top: calc(50% + 191px); transform: translate(-29px, -29px); }
  .a-orbit__item--s,
  .a-orbit__item--u { grid-template-columns: minmax(0, 1fr) 58px; text-align: right; transform: translate(calc(-100% + 29px), -29px); }
  .a-orbit__item--s { left: calc(50% - 139px); top: calc(50% + 191px); }
  .a-orbit__item--u { left: calc(50% - 224px); top: calc(50% - 73px); }
  .a-orbit__item--s .a-medal,
  .a-orbit__item--u .a-medal { order: 2; }
  .a-orbit__item--s div,
  .a-orbit__item--u div { order: 1; }
}

/* Przebieg */
.a-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--hair-light);
}
.a-steps li { min-width: 0; padding: 32px 22px 4px 0; }
.a-steps li + li { padding-left: 22px; border-left: 1px solid var(--hair-light); }
.a-roman {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 3.1rem;
  line-height: 1;
}
.a-steps h3 { font-size: 1.1rem; font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: .14em; line-height: 1.3; }
.a-steps p { margin-top: 10px; color: var(--text-2); font-size: 1.08rem; line-height: 1.55; }

/* Zapowiedź demo ucznia: ciemna karta w podwójnej ramce; etapy zapalają się po kolei, gdy karta wejdzie na ekran */
.a-demo {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(40px, 5vw, 68px) clamp(28px, 5vw, 68px);
  overflow: hidden;
  background: radial-gradient(ellipse 70% 90% at 88% 6%, #17306a 0%, var(--ink) 62%);
  color: var(--ivory);
  outline: 1px solid var(--gold);
  outline-offset: -12px;
  box-shadow: inset 0 0 0 17px var(--ink), inset 0 0 0 18px rgba(194, 164, 105, .3), 0 40px 80px -40px rgba(10, 22, 49, .55);
}
.a-demo__art { position: absolute; right: -16%; top: -46%; z-index: -1; width: 74%; aspect-ratio: 1; color: var(--gold); opacity: .13; pointer-events: none; }
.a-demo__art canvas { width: 100%; height: 100%; }
.a-paper .a-demo .a-eyebrow { color: var(--gold); }
.a-demo__title { margin-top: 12px; font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.9rem); font-weight: 400; line-height: 1.1; }
.a-demo__text { margin-top: 16px; color: var(--ivory-dim); font-size: 1.14rem; line-height: 1.6; }
.a-demo__cta { margin-top: 30px; }
.a-paper .a-demo .btn--primary { border-color: var(--ivory); background: var(--ivory); color: var(--ink); }
.a-paper .a-demo .btn--primary:hover { border-color: var(--gold); background: var(--gold); }
.a-demo__track { border-top: 1px solid var(--hair-dark); }
.a-demo__track li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--hair-dark);
  color: var(--ivory-dim);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem);
  line-height: 1.2;
}
.a-demo__track li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.a-demo__no { flex: none; width: 2.5em; color: rgba(194, 164, 105, .55); font-size: .92em; }
.a-demo__track small { display: block; margin-top: 4px; color: var(--ivory-dim); font-family: var(--font-text); font-size: .8em; font-style: italic; }
.a-demo.is-visible .a-demo__track li { animation: a-demo-lit .5s ease forwards; animation-delay: calc(var(--i, 0) * 180ms + 250ms); }
.a-demo.is-visible .a-demo__track li::after { animation: a-demo-line .6s ease forwards; animation-delay: calc(var(--i, 0) * 180ms + 250ms); }
.a-demo.is-visible .a-demo__no { animation: a-demo-no .5s ease forwards; animation-delay: calc(var(--i, 0) * 180ms + 250ms); }
@keyframes a-demo-lit { to { color: var(--ivory); } }
@keyframes a-demo-line { to { transform: scaleX(1); } }
@keyframes a-demo-no { to { color: var(--gold); } }
@media (prefers-reduced-motion: reduce) {
  .a-demo.is-visible .a-demo__track li,
  .a-demo.is-visible .a-demo__track li::after,
  .a-demo.is-visible .a-demo__no { animation: none; }
}
@media (max-width: 1000px) {
  .a-demo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .a-demo__cta .btn { width: 100%; }
}

/* Mapa */
.a-mapstage {
  display: grid;
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  margin-top: clamp(48px, 6vw, 76px);
}
.a-legend { position: sticky; top: 96px; }
.a-legend dl { border-top: 1px solid var(--hair-dark); }
.a-legend dl > div { padding: 18px 0; border-bottom: 1px solid var(--hair-dark); }
.a-legend dt { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.42rem; line-height: 1.2; }
.a-legend dt::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--sw); }
.a-legend__res { --sw: #bfcfc5; }
.a-legend__cond { --sw: #e9dac8; }
.a-legend__bar { --sw: #c97e68; }
.a-legend__prio { --sw: #8fbfb9; }
.a-legend dd { margin-top: 6px; color: var(--ivory-dim); font-size: 1.04rem; line-height: 1.5; }
.a-legend__hint { margin-top: 18px; color: var(--ivory-dim); font-size: 1rem; font-style: italic; }

.a-mapframe {
  --chip-border: rgba(194, 164, 105, .5);
  --chip-hover: rgba(194, 164, 105, .12);
  --chip-active-bg: var(--gold);
  --chip-active-fg: var(--ink);
  --chip-radius: 0;
  position: relative;
  min-width: 0;
  padding: clamp(16px, 2.6vw, 36px);
  border: 1px solid rgba(194, 164, 105, .18);
}
.a-mapframe::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 40px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top left / 1px 40px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 40px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 1px 40px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 40px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 1px 40px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 40px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1px 40px no-repeat;
}
.nfd-page { --nfd-font: var(--font-text); --nfd-font-head: var(--font-display); --nfd-head-weight: 400; --nfd-scale: 1.16; }
.a-mapframe .nfd-filter__label { color: var(--gold); opacity: 1; font-variant-caps: all-small-caps; text-transform: none; font-size: 1.02rem; }
.a-mapframe .nfd-chip { font-size: 1rem; }
.a-mapframe .nfd-filter__status { color: var(--ivory-dim); font-style: italic; font-size: 1.02rem; opacity: 1; }
.a-mapframe .nfd-key { color: var(--ivory-dim); font-size: .98rem; opacity: 1; }

.a-mapmore {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(64px, 8vw, 104px);
}
.a-toc h3 { font-family: var(--font-display); font-size: 2.1rem; font-weight: 400; line-height: 1.1; }
.a-toc ol { margin-top: 24px; border-top: 1px solid var(--hair-dark); }
.a-toc li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(194, 164, 105, .12); font-size: 1.16rem; }
.a-toc li span { min-width: 0; }
.a-toc li i { flex: 1 1 24px; min-width: 24px; border-bottom: 1px dotted rgba(194, 164, 105, .6); transform: translateY(-5px); }
.a-toc li b { color: var(--gold); font-family: var(--font-display); font-size: 1.24rem; font-weight: 400; font-variant-numeric: lining-nums; }
.a-toc__note { margin-top: 22px; color: var(--ivory-dim); font-style: italic; }

/* Raporty */
.a-reports {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 84px);
  align-items: center;
}
.a-reports__visual { position: relative; padding: 9% 0 0 20%; }
.a-reports__photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 58%;
  aspect-ratio: 2 / 3;
  box-shadow: 0 30px 60px -30px rgba(10, 22, 49, .6);
}
.a-fallback-desk {
  background:
    radial-gradient(ellipse 85% 55% at 28% 18%, rgba(255, 255, 255, .09), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .1) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #18366c 0%, #0d1d40 58%, #0a1631 100%);
}
.a-fallback-desk::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 30%;
  top: 22%;
  bottom: 26%;
  border: 1px solid rgba(194, 164, 105, .35);
  outline: 1px solid rgba(194, 164, 105, .2);
  outline-offset: 7px;
}
.a-reports__doc { position: relative; z-index: 1; }
.a-reports__doc .nfd-report { display: grid; }
.a-reports__doc .nfd-rep { grid-area: 1 / 1; }
.a-reports__doc .nfd-rep--glance { transform: translate(5%, -6%) rotate(2.2deg); }
.a-reports__doc .nfd-rep--cover { z-index: 1; transform: rotate(-.8deg); }
.a-reports .nfd-page { --nfd-scale: 1.06; }
.a-reports__lead { margin-top: 22px; color: var(--text-2); font-size: 1.22rem; line-height: 1.65; }
.a-reports__text .a-eyebrow { margin-bottom: 14px; }
.a-features { margin-top: 32px; border-top: 1px solid var(--hair-light); }
.a-features > div {
  display: grid;
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair-light);
}
.a-features dt { font-size: 1.08rem; font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: .12em; }
.a-features dd { color: var(--text-2); font-size: 1.08rem; line-height: 1.55; }
.a-labels { margin-top: 30px; }
.a-labels__title { color: var(--text-2); font-style: italic; }
.a-labels ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.a-labels li { padding: 5px 12px; border: 1px solid var(--hair-light); background: var(--paper-2); font-size: 1.02rem; }

/* Standardy */
.a-sealphoto {
  width: clamp(150px, 15vw, 188px);
  aspect-ratio: 1;
  margin: 0 auto 32px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(194, 164, 105, .4), 0 0 0 9px var(--ink), 0 0 0 10px rgba(194, 164, 105, .25);
}
.a-fallback-seal {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #1d3c78 0%, #0d1c3f 60%, #070f24 100%);
  color: var(--gold);
}
.a-fallback-seal canvas { width: 82%; height: 82%; }
.a-charter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(44px, 6vw, 72px);
  border-top: 1px solid var(--hair-dark);
}
.a-charter li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hair-dark);
}
.a-para { grid-row: span 2; color: var(--gold); font-family: var(--font-display); font-size: 1.55rem; line-height: 1.15; font-variant-numeric: lining-nums; }
.a-charter h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; line-height: 1.2; }
.a-charter p { margin-top: 8px; color: var(--ivory-dim); font-size: 1.08rem; line-height: 1.6; }

/* Pasmo z grafiką */
.a-band {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(440px, 54vw, 660px);
  overflow: hidden;
  color: var(--ivory);
}
.a-band__img { position: absolute; inset: 0; z-index: -2; }
.a-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 22, 49, .2) 0%, rgba(10, 22, 49, .5) 45%, rgba(10, 22, 49, .95) 100%);
}
.a-fallback-room {
  background:
    radial-gradient(ellipse 50% 70% at 50% 108%, rgba(214, 178, 110, .22), transparent 62%),
    radial-gradient(ellipse 14% 46% at 22% 30%, rgba(160, 190, 255, .12), transparent 70%),
    radial-gradient(ellipse 14% 46% at 50% 30%, rgba(160, 190, 255, .14), transparent 70%),
    radial-gradient(ellipse 14% 46% at 78% 30%, rgba(160, 190, 255, .12), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 7.6%, rgba(255, 255, 255, .035) 7.6% 7.8%, transparent 7.8% 15.6%),
    linear-gradient(180deg, #16326c 0%, #0d1d42 55%, #08122b 100%);
}
.a-band__inner { padding-block: clamp(56px, 8vw, 96px); text-align: center; }
.a-band__title {
  max-width: 19em;
  margin: 14px auto 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.15rem + 2.7vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
}
.a-band__text { max-width: 34em; margin: 18px auto 0; color: var(--ivory-dim); font-size: 1.16rem; }

/* Dla placówek */
.a-roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--hair-light);
}
.a-roles li { min-width: 0; padding: 30px 24px 4px 0; }
.a-roles li + li { padding-left: 24px; border-left: 1px solid var(--hair-light); }
.a-roles h3 { font-family: var(--font-display); font-size: 1.46rem; font-weight: 400; line-height: 1.2; }
.a-roles p { margin-top: 10px; color: var(--text-2); font-size: 1.08rem; line-height: 1.55; }
.a-invite { display: flex; justify-content: center; margin-top: clamp(64px, 8vw, 108px); }
.a-invite__frame {
  position: relative;
  max-width: 780px;
  padding: clamp(44px, 6vw, 76px) clamp(24px, 6vw, 84px);
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  outline: 1px solid var(--gold);
  outline-offset: -12px;
  box-shadow: inset 0 0 0 17px var(--ink), inset 0 0 0 18px rgba(194, 164, 105, .35), 0 40px 80px -40px rgba(10, 22, 49, .55);
}
.a-invite__frame::before,
.a-invite__frame::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}
.a-invite__frame::before { left: 7px; }
.a-invite__frame::after { right: 7px; }
.a-paper .a-invite .a-eyebrow { color: var(--gold); }
.a-invite h3 { margin-top: 12px; font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.9rem); font-weight: 400; line-height: 1.12; }
.a-invite p { color: var(--ivory-dim); font-size: 1.16rem; line-height: 1.65; }
.a-invite__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.a-paper .a-invite .btn--primary { border-color: var(--ivory); background: var(--ivory); color: var(--ink); }
.a-paper .a-invite .btn--primary:hover { border-color: var(--gold); background: var(--gold); }
.a-paper .a-invite .btn--ghost { border-color: rgba(194, 164, 105, .55); color: var(--ivory); }
.a-paper .a-invite .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Ekosystem */
.a-eco { background: var(--ink-2); }
.a-eco__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(44px, 5vw, 64px);
  border: 1px solid var(--hair-dark);
}
.a-eco__list > li { position: relative; min-width: 0; padding: 32px 22px; text-align: center; }
.a-eco__list > li + li { border-left: 1px solid var(--hair-dark); }
.a-eco__list a { display: block; color: inherit; text-decoration: none; }
.a-eco__list a:hover .a-eco__name { color: var(--gold); }
.a-eco__name { display: block; font-family: var(--font-display); font-size: 1.32rem; letter-spacing: .14em; text-transform: uppercase; transition: color .3s ease; }
.a-eco__list p { margin-top: 10px; color: var(--ivory-dim); font-size: 1.02rem; line-height: 1.45; }
.a-eco__list .is-current { background: linear-gradient(180deg, rgba(194, 164, 105, .13), rgba(194, 164, 105, 0)); }
.a-eco__list .is-current .a-eco__name { color: var(--gold); }
.a-eco__here { display: inline-block; margin-top: 14px; color: var(--gold); font-size: .95rem; font-variant-caps: all-small-caps; letter-spacing: .18em; }

/* Kontakt */
.a-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.a-contact__info .a-eyebrow { margin-bottom: 14px; }
.a-contact__info > p { margin-top: 18px; color: var(--text-2); font-size: 1.22rem; line-height: 1.6; }
.a-directory { margin-top: 32px; }
.a-directory li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.a-directory__label { color: var(--text-2); font-size: 1.06rem; font-variant-caps: all-small-caps; letter-spacing: .14em; }
.a-directory__dots { flex: 1 1 20px; min-width: 20px; border-bottom: 1px dotted rgba(10, 22, 49, .5); transform: translateY(-5px); }
.a-directory a { min-width: 0; font-size: 1.16rem; overflow-wrap: anywhere; text-align: right; text-decoration: none; }
.a-directory a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.a-contact__form { padding: clamp(28px, 4vw, 52px); border: 1px solid var(--hair-light); background: var(--paper-2); }
.cform label { color: var(--text-2); font-size: 1.04rem; font-variant-caps: all-small-caps; letter-spacing: .14em; }
.cform label span { font-style: italic; font-variant-caps: normal; letter-spacing: 0; }
.cform input,
.cform textarea {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(10, 22, 49, .35);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.16rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.cform select {
  padding: 10px 30px 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(10, 22, 49, .35);
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a5f2e' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 4px center / 12px 8px;
  -webkit-appearance: none;
  appearance: none;
  color: var(--text);
  font-size: 1.16rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.cform input:focus,
.cform select:focus,
.cform textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.cform__note { color: var(--text-2); font-size: 1.02rem; font-style: italic; }
.cform__status { color: var(--text); font-size: 1.04rem; }
.cform__status.is-error { color: #8a2d1d; }

/* Stopka */
.a-foot { padding-block: clamp(56px, 7vw, 92px) 88px; border-top: 1px solid var(--hair-dark); background: var(--ink); }
.a-foot__inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
.a-logo--foot .mark { width: 38px; height: 38px; }
.a-logo--foot .a-logo__word { font-size: 1.95rem; }
.a-foot__motto { color: var(--ivory-dim); font-style: italic; }
.a-foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 6px; }
.a-foot__nav a { font-size: 1.04rem; font-variant-caps: all-small-caps; letter-spacing: .16em; text-decoration: none; }
.a-foot__nav a:hover,
.a-foot__nav a[aria-current="page"] { color: var(--gold); }
.a-foot__legal { max-width: 44em; margin-top: 10px; color: var(--ivory-dim); font-size: 1rem; }
.a-foot__copy { width: 100%; padding-top: 20px; border-top: 1px solid var(--hair-dark); color: var(--ivory-dim); font-size: .98rem; }
.a-foot__copy a { text-decoration: none; }
.a-foot__copy a:hover { color: var(--gold); }

/* ---------- Hero z tarczą (wariant A+C) ----------
   Kompozycja hero z wariantu C w języku wariantu A: tekst po lewej, tarcza pięciu źródeł po prawej,
   grawerowana tarcza giloszowa, złota podziałka, cyfry Caslon, wskazówka w stylu Breguet. */
.a-hero--dial {
  padding-block: clamp(48px, 6vw, 92px) clamp(64px, 7vw, 112px);
  background:
    radial-gradient(ellipse 50% 66% at 78% 48%, rgba(40, 72, 140, .42), transparent 70%),
    radial-gradient(ellipse 70% 62% at 28% 30%, #13295a 0%, var(--ink) 72%);
  text-align: left;
}
.a-dhero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}
.a-dhero__copy .a-eyebrow { margin-bottom: 20px; }
.a-dhero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1rem + 4.4vw, 5.3rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.012em;
}
.a-dhero__title em { color: var(--gold); font-family: var(--font-text); font-size: 1.08em; font-style: italic; font-weight: 400; letter-spacing: 0; }
.a-rule--start { width: min(220px, 60%); margin-left: 0; margin-right: 0; }
.a-rule--start span:first-child { display: none; }
.a-dhero__lead { max-width: 31em; font-size: clamp(1.22rem, 1.05rem + .45vw, 1.42rem); line-height: 1.55; }
.a-dhero__sub { max-width: 34em; margin-top: 14px; color: var(--ivory-dim); }
.a-dhero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.a-dhero__cta .btn { padding-inline: 1.35em 1.2em; font-size: 1.06rem; letter-spacing: .16em; }
.a-dhero__readout {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--hair-dark);
}
.a-dhero__readout > div { min-width: 0; padding: 14px 22px 0 0; }
.a-dhero__readout > div + div { padding-left: 22px; border-left: 1px solid var(--hair-dark); }
.a-dhero__readout > div:last-child { padding-right: 0; }
.a-dhero__readout dt { color: var(--gold); font-size: 1rem; font-variant-caps: all-small-caps; letter-spacing: .16em; line-height: 1.2; }
.a-dhero__readout dd { margin-top: 4px; font-family: var(--font-display); font-size: 1.3rem; font-variant-numeric: lining-nums; line-height: 1.2; }

.a-dhero__dial { justify-self: center; width: min(100%, 560px); }
.a-dial-frame { position: relative; aspect-ratio: 1; }
.a-dial__face {
  position: absolute;
  inset: 2.6%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(194, 164, 105, .35), inset 0 0 70px rgba(0, 0, 0, .5), 0 50px 90px -40px rgba(0, 0, 0, .9);
}
.a-dial__guilloche {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 34%, #1d3b7a 0%, #12285a 38%, #0b1a3d 72%, #081229 100%);
  color: var(--gold);
}
.a-dial__guilloche canvas { width: 100%; height: 100%; }
.a-dial__face.is-loaded > img { opacity: .9; }
.a-dial { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.ad-bezel { fill: none; stroke: rgba(194, 164, 105, .6); stroke-width: 1.2; }
.ad-ring { fill: none; stroke: rgba(194, 164, 105, .32); stroke-width: .8; }
.ad-ring--faint { stroke: rgba(194, 164, 105, .16); }
.ad-tick { fill: none; stroke: rgba(242, 237, 227, .32); stroke-width: .7; }
.ad-tick--mid { stroke: rgba(242, 237, 227, .62); stroke-width: 1.1; }
.ad-tick--major { stroke: var(--gold); stroke-width: 2.2; }
.ad-deg { fill: var(--gold); font-family: var(--font-text); font-size: 13px; font-variant-numeric: lining-nums; font-weight: 500; letter-spacing: .6px; }
.ad-arc { fill: none; stroke-width: 10; }
.ad-arc--res { stroke: #bfcfc5; }
.ad-arc--cond { stroke: #e9dac8; }
.ad-arc--bar { stroke: #c97e68; }
.ad-arc--prio { stroke: #8fbfb9; }
.ad-arclabel { fill: rgba(242, 237, 227, .86); font-family: var(--font-text); font-size: 10.5px; font-weight: 600; letter-spacing: 2.2px; }
.ad-cap { fill: var(--gold); font-family: var(--font-text); font-size: 11px; font-weight: 600; letter-spacing: 4.5px; }
.ad-num { fill: var(--ivory); font-family: var(--font-display); font-size: 86px; font-variant-numeric: lining-nums; letter-spacing: -1px; }
.ad-sub { fill: var(--ivory-dim); font-family: var(--font-text); font-size: 15px; font-style: italic; font-variant-numeric: lining-nums; letter-spacing: .4px; }
.ad-hand { transition: opacity .9s ease; }
.ad-hand.is-done { opacity: 0; }
.ad-hand__line { stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.ad-hand__pomme { fill: var(--ink); stroke: var(--gold); stroke-width: 1.6; }
.ad-hand__tip { fill: var(--gold); }

.a-dial__marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 7.4%;
  min-width: 32px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(194, 164, 105, .55);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px rgba(194, 164, 105, .28);
  color: var(--ivory-dim);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.32rem);
  line-height: 1;
  transform: translate(-50%, -50%);
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .45s ease;
}
.a-dial__marker.is-lit { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px rgba(194, 164, 105, .6); }
.a-dial__marker:hover,
.a-dial__marker.is-active { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.a-dial__marker:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }

.a-dial__readout {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 6.6em;
  max-width: 440px;
  margin: 26px auto 0;
  text-align: center;
}
.a-dial__deg { color: var(--gold); font-size: 1rem; font-variant-caps: all-small-caps; font-variant-numeric: lining-nums; letter-spacing: .16em; }
.a-dial__readout strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; line-height: 1.2; }
.a-dial__desc { color: var(--ivory-dim); font-size: 1.04rem; font-style: italic; line-height: 1.5; }

@media (max-width: 1000px) {
  .a-dhero { grid-template-columns: minmax(0, 1fr); }
  .a-dhero__dial { width: min(100%, 480px); }
}
@media (max-width: 600px) {
  .a-dhero__readout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-dhero__readout > div:nth-child(3) { grid-column: 1 / -1; margin-top: 12px; padding-left: 0; border-left: 0; border-top: 1px solid var(--hair-dark); }
  .a-dhero__cta .btn { width: 100%; }
}

/* ---------- FAQ (podstrona A+C) ----------
   Hero z grawerowanym medalionem, pytania jako numerowane, rozwijane pozycje na papierze. */
.a-faq-hero__art { display: grid; place-items: center; padding-block: 18px; }
.a-faq-seal {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  width: clamp(260px, 25vw, 330px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #1d3c78 0%, #0d1c3f 60%, #070f24 100%);
  box-shadow: 0 0 0 1px rgba(194, 164, 105, .45), 0 0 0 14px var(--ink), 0 0 0 15px rgba(194, 164, 105, .25), 0 50px 90px -40px rgba(0, 0, 0, .9);
  color: var(--gold);
  container-type: inline-size;
}
.a-faq-seal canvas { position: absolute; inset: 5%; width: 90%; height: 90%; }
/* Napis skaluje się z medalionem (cqi), aby zawsze mieścił się w wewnętrznym pierścieniu */
.a-faq-seal__word { position: relative; color: var(--ivory); font-family: var(--font-display); font-size: 2.8rem; font-size: 17cqi; letter-spacing: .06em; line-height: 1; }
.a-faq-seal__sub { position: relative; max-width: 8em; margin-top: 8px; margin-top: 2.4cqi; color: var(--gold); font-size: .78rem; font-size: 4.6cqi; font-variant-caps: all-small-caps; letter-spacing: .18em; line-height: 1.25; text-align: center; }

.a-faq { max-width: 940px; }
.a-faq__list { border-top: 1px solid var(--hair-light); }
.a-faq__item { border-bottom: 1px solid var(--hair-light); }
.a-faq__item summary {
  display: grid;
  grid-template-columns: 3em minmax(0, 1fr) 22px;
  column-gap: 18px;
  align-items: baseline;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
}
.a-faq__item summary::-webkit-details-marker { display: none; }
.a-faq__item summary:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
.a-faq__no { color: var(--gold-deep); font-family: var(--font-display); font-size: 1.2rem; font-variant-numeric: lining-nums; }
.a-faq__q { font-family: var(--font-display); font-size: clamp(1.28rem, 1.1rem + .45vw, 1.55rem); line-height: 1.28; transition: color .3s ease; }
.a-faq__item summary:hover .a-faq__q,
.a-faq__item[open] .a-faq__q { color: var(--gold-deep); }
.a-faq__icon { position: relative; align-self: center; width: 22px; height: 22px; }
.a-faq__icon::before,
.a-faq__icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1px; background: var(--gold-deep); transition: transform .3s ease; }
.a-faq__icon::after { transform: rotate(90deg); }
.a-faq__item[open] .a-faq__icon::after { transform: rotate(0deg); }
.a-faq__a { padding: 0 40px 30px calc(3em + 18px); }
.a-faq__a p { max-width: 42em; color: var(--text-2); font-size: 1.12rem; line-height: 1.65; }
.a-faq__a p + p { margin-top: 12px; }
.a-faq-sec + .a-sec { border-top: 1px solid var(--hair-light); }

@media (max-width: 600px) {
  .a-faq__item summary { grid-template-columns: 2.2em minmax(0, 1fr) 18px; column-gap: 10px; padding: 20px 0; }
  .a-faq__a { padding: 0 0 24px; }
}

/* ---------- Cennik (podstrona A+C) ----------
   Hero z tarczą dwunastu miesięcy subskrypcji, pakiety jako karty w podwójnej ramce,
   warunki płatności jako paragrafy, rabat w grawerowanym medalionie. */
.a-hero--page { padding-block: clamp(40px, 5vw, 76px) clamp(56px, 6vw, 96px); }
.a-hero--page .a-dhero__dial { width: min(100%, 480px); }

.a-crumbs { margin-bottom: 22px; }
.a-crumbs ol { display: flex; flex-wrap: wrap; color: var(--ivory-dim); font-size: 1rem; font-variant-caps: all-small-caps; letter-spacing: .16em; line-height: 1.3; }
.a-crumbs li + li::before { content: "/"; margin-inline: 12px; color: var(--gold); }
.a-crumbs a { text-decoration: none; }
.a-crumbs a:hover,
.a-crumbs [aria-current="page"] { color: var(--gold); }

.a-subnote {
  position: relative;
  max-width: 33em;
  margin-top: 30px;
  padding: 20px 24px 22px;
  border: 1px solid var(--hair-dark);
  background: linear-gradient(180deg, rgba(194, 164, 105, .08), rgba(194, 164, 105, 0) 70%);
}
.a-subnote::before,
.a-subnote::after { content: ""; position: absolute; top: -4px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.a-subnote::before { left: -4px; }
.a-subnote::after { right: -4px; }
.a-subnote__title { color: var(--gold); font-size: 1.08rem; font-weight: 500; font-variant-caps: all-small-caps; letter-spacing: .18em; line-height: 1.3; }
.a-subnote__title + p { margin-top: 6px; color: var(--ivory-dim); font-size: 1.08rem; line-height: 1.55; }

/* Tarcza miesięcy: cyfry rzymskie I-XII, odcinki miesięcy zapalają się kolejno przy wczytaniu */
.ad-month { fill: var(--ivory); font-family: var(--font-display); font-size: 27px; letter-spacing: .5px; }
.ad-month--xii { fill: var(--gold); }
.ad-track { fill: none; stroke: rgba(194, 164, 105, .28); stroke-width: .8; }
.ad-seg { fill: none; stroke: rgba(194, 164, 105, .16); stroke-width: 6; animation: ad-month-on .45s ease forwards; animation-delay: calc(.35s + var(--i) * .17s); }
@keyframes ad-month-on { to { stroke: var(--gold); } }
@media (prefers-reduced-motion: reduce) {
  .ad-seg { animation: none; stroke: var(--gold); }
}

.a-scope { margin-top: clamp(44px, 6vw, 72px); padding-block: 24px 26px; border-block: 1px solid var(--hair-light); text-align: center; }
.a-scope__label { color: var(--gold-deep); font-size: 1.04rem; font-weight: 500; font-variant-caps: all-small-caps; letter-spacing: .2em; line-height: 1.3; }
.a-scope__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 8px; margin-top: 12px; }
.a-scope__list li { display: flex; align-items: center; font-family: var(--font-display); font-size: clamp(1.18rem, 1rem + .45vw, 1.42rem); line-height: 1.25; }
.a-scope__list li + li::before { content: ""; flex: none; width: 6px; height: 6px; margin-inline: clamp(12px, 1.6vw, 22px); border: 1px solid var(--gold-line); transform: rotate(45deg); }

/* Karty pakietów: wiersze wyrównane między kartami (subgrid), więc ceny i opisy leżą na jednej linii */
.a-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(18px, 2.2vw, 30px);
  margin-top: clamp(48px, 6vw, 76px);
}
.a-plan {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  row-gap: 0;
  min-width: 0;
  padding: clamp(30px, 3vw, 42px) clamp(22px, 2.4vw, 34px) clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--hair-light);
  background: var(--paper-2);
  outline: 1px solid rgba(168, 138, 82, .3);
  outline-offset: -9px;
}
.a-plan__name { color: var(--gold-deep); font-size: 1.12rem; font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: .18em; line-height: 1.3; overflow-wrap: anywhere; }
.a-plan__name span { font-variant-numeric: lining-nums; }
.a-plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  margin-top: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hair-light);
}
.a-plan__amount { font-family: var(--font-display); font-size: clamp(2.6rem, 1.8rem + 1.5vw, 3.4rem); font-variant-numeric: lining-nums; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.a-plan__cur { font-size: .52em; letter-spacing: 0; }
.a-plan__per { color: var(--text-2); font-size: 1.02rem; font-variant-caps: all-small-caps; letter-spacing: .14em; white-space: nowrap; }
.a-plan__quota { margin-top: 20px; font-family: var(--font-display); font-size: 1.42rem; font-variant-numeric: lining-nums; line-height: 1.2; }
.a-plan__for { margin-top: 8px; color: var(--text-2); font-size: 1.08rem; line-height: 1.55; }
.a-plan__incl { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 1.02rem; font-variant-caps: all-small-caps; letter-spacing: .14em; line-height: 1.3; }
.a-plan__incl::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--gold-line); transform: rotate(45deg); }
.a-plan__incl a { text-decoration: none; }
.a-plan__incl a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.a-plan__cta { grid-row: 6; align-self: end; width: 100%; margin-top: 28px; padding-inline: 1em; font-size: 1.04rem; letter-spacing: .16em; }

.a-plan--featured {
  border-color: var(--ink);
  background: radial-gradient(ellipse 90% 60% at 80% 0%, #17306a 0%, var(--ink) 70%);
  color: var(--ivory);
  outline-color: rgba(194, 164, 105, .5);
  box-shadow: 0 40px 80px -46px rgba(10, 22, 49, .75);
}
.a-plan--featured .a-plan__name,
.a-plan--featured .a-plan__cur { color: var(--gold); }
.a-plan--featured .a-plan__price { border-bottom-color: var(--hair-dark); }
.a-plan--featured .a-plan__per,
.a-plan--featured .a-plan__for { color: var(--ivory-dim); }
.a-plan--featured .a-plan__incl::before { background: var(--gold); }
.a-plan--featured .btn--primary { border-color: var(--ivory); background: var(--ivory); color: var(--ink); }
.a-plan--featured .btn--primary:hover { border-color: var(--gold); background: var(--gold); }
.a-plan__badge {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  padding: 7px 16px 8px 19px;
  background: var(--gold);
  color: var(--ink);
  font-size: .98rem;
  font-weight: 600;
  font-variant-caps: all-small-caps;
  letter-spacing: .2em;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.a-plan__art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.a-plan__art canvas { position: absolute; right: -34%; top: -30%; width: 96%; aspect-ratio: 1; color: var(--gold); opacity: .22; }

.a-plan--quote { background: transparent; border-color: rgba(122, 95, 46, .4); outline-color: rgba(122, 95, 46, .22); }
.a-plan__price--text { color: var(--gold-deep); font-family: var(--font-text); font-size: clamp(1.7rem, 1.3rem + .8vw, 1.95rem); font-style: italic; line-height: 1.1; }
.a-plan--quote .a-plan__for { grid-row: 3 / span 3; margin-top: 20px; }

.a-plans__group {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(64px, 8vw, 100px);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}
.a-plans__group::before,
.a-plans__group::after { content: ""; flex: 1 1 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line)); }
.a-plans__group::after { background: linear-gradient(90deg, var(--gold-line), transparent); }
.a-plans--more { margin-top: clamp(36px, 4vw, 52px); }

/* Płatność i rabat */
.a-terms {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(44px, 6vw, 72px);
}
.a-terms__list { border-top: 1px solid var(--hair-dark); }
.a-terms__list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 16px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--hair-dark);
}
.a-terms__list .a-para { grid-row: auto; }
.a-terms__list p { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.55rem); line-height: 1.3; }

.a-discount {
  display: grid;
  justify-items: center;
  padding: clamp(40px, 5vw, 60px) clamp(24px, 4vw, 52px);
  background: var(--ink-2);
  text-align: center;
  outline: 1px solid var(--gold);
  outline-offset: -12px;
  box-shadow: inset 0 0 0 17px var(--ink-2), inset 0 0 0 18px rgba(194, 164, 105, .35);
}
.a-discount__seal {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  width: clamp(168px, 15vw, 196px);
  aspect-ratio: 1;
  margin-bottom: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #1d3c78 0%, #0d1c3f 60%, #070f24 100%);
  box-shadow: 0 0 0 1px rgba(194, 164, 105, .4), 0 0 0 9px var(--ink-2), 0 0 0 10px rgba(194, 164, 105, .25);
  color: var(--gold);
}
.a-discount__seal canvas { position: absolute; inset: 5%; width: 90%; height: 90%; }
.a-discount__num { position: relative; color: var(--ivory); font-family: var(--font-display); font-size: 2.3rem; font-variant-numeric: lining-nums; line-height: 1; }
.a-discount__word { position: relative; margin-top: 4px; color: var(--gold); font-size: .95rem; font-variant-caps: all-small-caps; letter-spacing: .2em; line-height: 1; }
.a-discount .a-eyebrow { margin-bottom: 10px; }
.a-discount__text { max-width: 20em; font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.55rem); line-height: 1.3; }

@media (max-width: 1000px) {
  .a-plans { grid-template-columns: minmax(0, 1fr); row-gap: 28px; max-width: 560px; margin-inline: auto; }
  .a-plan { display: flex; flex-direction: column; grid-row: auto; }
  .a-terms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .a-scope__list { flex-direction: column; row-gap: 10px; }
  .a-scope__list li { flex-direction: column; }
  .a-scope__list li + li::before { margin: 0 0 10px; }
}
@media (max-width: 520px) {
  .a-terms__list li { grid-template-columns: 52px minmax(0, 1fr); }
}

/* ---------- Autorzy NF360 (podstrona A+C) ----------
   Ośrodki, w których powstaje NF360: pięć kolumn ze złotymi znakami liniowymi, rozdzielonych włosowymi liniami.
   Na tablecie 3 + 2 (druga linia wyśrodkowana), na telefonie jedna kolumna. */
/* Tło jak w hero strony głównej: granatowe poświaty (.a-hero--dial) i duży, przygaszony gilosz „ring” (.a-hero__ring) */
.a-authors {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--hair-dark);
  background:
    radial-gradient(ellipse 50% 66% at 78% 58%, rgba(40, 72, 140, .42), transparent 70%),
    radial-gradient(ellipse 70% 62% at 28% 30%, #13295a 0%, var(--ink) 72%);
}
.a-authors__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(1240px, 160vw);
  aspect-ratio: 1;
  color: var(--gold);
  opacity: .17;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.a-authors__item { background: radial-gradient(ellipse 60% 40% at 50% 18%, rgba(194, 164, 105, .06), transparent 70%); }
.a-authors .a-head h2 { overflow-wrap: break-word; text-wrap: balance; }
.a-rule--cross { width: min(240px, 64%); margin-bottom: 0; }
.a-rule--cross i { position: relative; width: 12px; height: 12px; }
/* krzyżyk rysowany w obróconym rombie: pionowa i pozioma kreska wyglądają jak „×” */
.a-rule--cross i::before,
.a-rule--cross i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1px; background: var(--gold); transform: translate(-50%, -50%); }
.a-rule--cross i::after { transform: translate(-50%, -50%) rotate(90deg); }

/* Tarcza w hero: ta sama faktura co na stronie głównej i w cenniku, pięć złotych rombów na pentagramie */
.ad-pent { fill: none; stroke: rgba(194, 164, 105, .34); stroke-width: .8; }
.ad-pent--star { stroke: rgba(194, 164, 105, .18); }
.ad-nodes rect { fill: var(--ink); stroke: var(--gold); stroke-width: 1.4; }
.ad-core { fill: rgba(8, 18, 41, .72); }

.a-authors__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 76px);
}
.a-authors__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 8px clamp(14px, 1.6vw, 28px) 10px;
  text-align: center;
}
.a-authors__item + .a-authors__item { border-left: 1px solid var(--hair-dark); }
.a-authors__icon {
  flex: none;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.a-authors__name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.02rem + .38vw, 1.42rem);
  font-weight: 400;
  line-height: 1.22;
  hyphens: manual;
  overflow-wrap: break-word;
}
.a-authors__desc { max-width: 15em; margin-top: 12px; color: var(--ivory-dim); font-size: 1.02rem; font-style: italic; line-height: 1.45; }

@media (max-width: 1000px) {
  .a-authors__list { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 0; }
  .a-authors__item { grid-column: span 2; padding-block: 30px; }
  .a-authors__item:nth-child(4) { grid-column: 2 / span 2; border-left: 0; }
  .a-authors__item:nth-child(n + 4) { border-top: 1px solid var(--hair-dark); }
}
@media (max-width: 600px) {
  .a-authors__list { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; }
  .a-authors__item,
  .a-authors__item:nth-child(4) { grid-column: auto; padding: 28px 0; }
  .a-authors__item + .a-authors__item { border-left: 0; border-top: 1px solid var(--hair-dark); }
  .a-authors__icon { margin-bottom: 18px; }
}

/* ---------- Umów prezentację (podstrona A+C) ----------
   Formularz kwalifikacyjny w trzech częściach; odpowiedzi jednokrotnego wyboru jako „kafelki” (radio). */
.a-pres__card {
  max-width: 920px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: clamp(26px, 4.4vw, 60px);
  border: 1px solid var(--hair-light);
  background: var(--paper-2);
}
.pform { display: grid; gap: clamp(36px, 4.4vw, 52px); }
.pform fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.pform__part { display: grid; gap: 28px; }
.pform__legend {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair-light);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.2rem + .7vw, 1.8rem);
  font-weight: 400;
  line-height: 1.2;
}
.pform__part > .pform__legend { float: left; }
.pform__part > .pform__legend + * { clear: both; }
.pform__no {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold-deep);
  font-size: 1.15rem;
  font-variant-numeric: lining-nums;
}
.pform__group > legend,
.pform__field > label {
  display: block;
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: 1.04rem;
  font-variant-caps: all-small-caps;
  letter-spacing: .14em;
  line-height: 1.35;
}
.pform__field { display: grid; min-width: 0; }
.pform__field > label { margin-bottom: 4px; }
.pform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pform__req { color: #8a2d1d; font-variant-caps: normal; letter-spacing: 0; }
.pform__opt { font-style: italic; font-variant-caps: normal; letter-spacing: 0; }
.pform input[type="text"],
.pform input[type="email"],
.pform input[type="tel"] {
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(10, 22, 49, .35);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.16rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.pform input[type="text"]:focus,
.pform input[type="email"]:focus,
.pform input[type="tel"]:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.pform input.is-invalid { border-bottom-color: #8a2d1d; box-shadow: 0 1px 0 0 #8a2d1d; }
.pform__hint { margin-top: 8px; color: var(--text-2); font-size: 1rem; font-style: italic; }

.pform__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.pchip { position: relative; display: inline-flex; cursor: pointer; }
.pchip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pchip > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 18px 9px 14px;
  border: 1px solid rgba(10, 22, 49, .28);
  background: var(--paper);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.25;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
/* romb jako znacznik wyboru, w duchu złotych separatorów strony */
.pchip > span::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold-line);
  transform: rotate(45deg);
  transition: background-color .2s ease, border-color .2s ease;
}
.pchip:hover > span { border-color: var(--ink); }
.pchip input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.pchip input:checked + span::before { border-color: var(--gold); background: var(--gold); }
.pchip input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.pform__choices--cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pchip--card,
.pchip--card > span { width: 100%; }
.pchip--card > span { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; column-gap: 14px; min-height: 80px; padding: 14px 20px; }
.pchip--card > span::before { grid-row: span 2; }
.pchip--card b { display: block; font-family: var(--font-display); font-size: 1.32rem; font-weight: 400; }
.pchip--card small { display: block; margin-top: 2px; color: var(--text-2); font-size: 1rem; font-style: italic; }
.pchip--card input:checked + span small { color: var(--ivory-dim); }
.pform__group.is-invalid .pchip > span { border-color: #8a2d1d; }

.pform__consent { padding: 18px 20px; border: 1px solid var(--hair-light); background: var(--paper); }
.pform__consent.is-invalid { border-color: #8a2d1d; }
.pcheck { display: flex; align-items: flex-start; gap: 14px; color: var(--text); font-size: 1.08rem; line-height: 1.5; cursor: pointer; }
.pcheck input {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  border: 1px solid rgba(10, 22, 49, .45);
  border-radius: 0;
  background: var(--paper-2);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.pcheck input::after { content: ""; width: 6px; height: 11px; margin-top: -3px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
.pcheck input:checked { border-color: var(--ink); background: var(--ink); }
.pcheck input:checked::after { opacity: 1; }
.pcheck input:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.pform__consent.is-invalid .pcheck input { border-color: #8a2d1d; }
.pcheck a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pform__actions { display: flex; justify-content: center; }
.pform__actions .btn { min-width: min(100%, 320px); }
.pform button[disabled] { opacity: .6; cursor: progress; }
.pform__status { color: var(--text); font-size: 1.06rem; text-align: center; }
.pform__status:empty { display: none; }
.pform__status.is-error { color: #8a2d1d; }
.pform__done { display: grid; justify-items: center; gap: 18px; padding-block: 12px; text-align: center; }
.pform__done:focus { outline: none; }
.pform[hidden],
.pform__done[hidden] { display: none; }
.pform__done h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 400; line-height: 1.15; }
.pform__done p { max-width: 34em; color: var(--text-2); font-size: 1.2rem; line-height: 1.6; }
.pform__done .a-rule { margin-block: 0; }

@media (max-width: 600px) {
  .pform__row,
  .pform__choices--cards { grid-template-columns: minmax(0, 1fr); }
  .pchip,
  .pchip > span { width: 100%; }
}

/* Zaproszenie na prezentację w sekcji kontaktu */
.a-contact__pres { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--hair-light); }
.a-contact__pres p { color: var(--text-2); font-size: 1.12rem; font-style: italic; line-height: 1.55; }
.a-contact__pres .btn { margin-top: 16px; }

/* ---------- Responsywność ---------- */
/* Menu (11 pozycji): pasek ma szerszy kontener niż treść (1480 px), a litery i odstępy zwężają się stopniami:
   od 1440 px pełne, 1340-1439 px węższe rozstrzelenie, 1180-1339 px mniejszy krój; od 1179 px w dół przycisk „Menu”.
   Szerokość listy zmierzona w przeglądarce: 1247 / 1143 / 999 px; po obu stronach musi zostać miejsce na mały znak (ok. 42 px). */
.a-nav .wrap { --wrap: 1480px; }
@media (max-width: 1439px) {
  .a-nav__list { gap: 16px; }
  .a-nav__list a { letter-spacing: .14em; }
}
@media (max-width: 1339px) {
  .a-nav__list { gap: 12px; }
  .a-nav__list a { font-size: 1rem; letter-spacing: .12em; }
  .a-nav__list .a-nav__cta { padding: 8px 11px 8px 13px; }
}

@media (max-width: 1179px) {
  .a-nav__inner { grid-template-columns: 1fr auto; min-height: 56px; }
  .a-nav__mini { opacity: 1; visibility: visible; }
  .a-nav__toggle { display: inline-flex; }
  .a-nav__list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px max(var(--gutter), env(safe-area-inset-right, 0px)) 22px max(var(--gutter), env(safe-area-inset-left, 0px));
    border-bottom: 1px solid var(--hair-dark);
    background: var(--ink);
  }
  .a-nav__list.is-open { display: flex; }
  .a-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(194, 164, 105, .14); }
  .a-nav__list a:not(.a-nav__cta)::after { display: none; }
  .a-nav__cta-item { margin: 12px 0; }
  .a-nav__list .a-nav__cta { text-align: center; }
}

@media (max-width: 1100px) {
  .a-dhero__readout > div { padding-right: 16px; }
  .a-dhero__readout > div + div { padding-left: 16px; }
  .a-dhero__readout > div:last-child { padding-right: 0; }
  .a-reports { grid-template-columns: minmax(0, 1fr); }
  .a-reports__visual { width: 100%; max-width: 760px; }
  .a-reports__text { order: -1; }
}

@media (max-width: 1000px) {
  .a-steps { grid-template-columns: minmax(0, 1fr); }
  .a-steps li,
  .a-steps li + li {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 12px;
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--hair-light);
  }
  .a-steps .a-roman { grid-row: span 2; margin: 0; font-size: 2.5rem; }
  .a-mapstage { grid-template-columns: minmax(0, 1fr); }
  .a-legend { position: static; }
  .a-legend dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .a-mapmore { grid-template-columns: minmax(0, 1fr); }
  .a-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-roles li:nth-child(3) { padding-left: 0; border-left: 0; }
  .a-roles li:nth-child(n + 3) { margin-top: 8px; border-top: 1px solid var(--hair-light); }
  .a-eco__list { grid-template-columns: minmax(0, 1fr); }
  .a-eco__list > li + li { border-left: 0; border-top: 1px solid var(--hair-dark); }
  .a-contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .a-head--split,
  .a-idea { grid-template-columns: minmax(0, 1fr); }
  .a-head--split { align-items: start; }
  .a-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-ledger > div:nth-child(3) { border-left: 0; }
  .a-ledger > div:nth-child(n + 3) { border-top: 1px solid var(--hair-dark); }
  .a-pillars { grid-template-columns: minmax(0, 1fr); }
  .a-pillars li,
  .a-pillars li:first-child { padding: 26px 0; }
  .a-pillars li + li { border-left: 0; border-top: 1px solid var(--hair-light); }
  .a-charter { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .a-mast__brand { padding-block: 20px 16px; }
  .a-logo .mark { width: 38px; height: 38px; }
  .a-logo__word { font-size: 1.95rem; }
  .a-reports__visual { padding: 0; }
  .a-reports__photo { position: relative; width: 100%; aspect-ratio: 4 / 3; }
  .a-reports__doc { margin-top: -48px; padding-inline: 10px; }
  .a-reports__doc .nfd-report { gap: 18px; }
  .a-reports__doc .nfd-rep { grid-area: auto; }
  .a-reports__doc .nfd-rep--glance,
  .a-reports__doc .nfd-rep--cover { transform: none; }
  .a-features > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .a-roles { grid-template-columns: minmax(0, 1fr); }
  .a-roles li,
  .a-roles li + li,
  .a-roles li:nth-child(3) { margin: 0; padding: 24px 0; border-left: 0; border-top: 1px solid var(--hair-light); }
  .a-roles li:first-child { border-top: 0; }
  .a-legend dl { grid-template-columns: minmax(0, 1fr); }
  .a-mapframe { padding: 14px 10px; }
}

@media (max-width: 520px) {
  body { font-size: 1.125rem; }
  .a-util__inner > p:first-child { display: none; }
  .a-util__inner { justify-content: center; font-size: .9rem; letter-spacing: .1em; text-align: center; }
  .a-ledger { grid-template-columns: minmax(0, 1fr); }
  .a-ledger > div + div { border-left: 0; border-top: 1px solid var(--hair-dark); }
  .a-hero__cta .btn { width: 100%; }
  .a-charter li { grid-template-columns: 52px minmax(0, 1fr); }
  .a-directory li { flex-wrap: wrap; gap: 2px 10px; }
  .a-directory__dots { display: none; }
  .a-directory a { flex-basis: 100%; text-align: left; }
}
