@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500&family=Manrope:wght@400;500;600;700;800&family=Yellowtail&display=swap');

/* ==========================================================================
   Kurs dla Opornych — flagi reklamowe
   Design tokens
   ========================================================================== */

:root {
  /* Ink & paper */
  --ink: #14100c;
  --ink-2: #2b241d;
  --muted: #635c54;
  --muted-2: #8b8279;
  --line: #e7e0d7;
  --line-soft: #f0ebe4;
  --paper: #ffffff;
  --paper-2: #f9f6f1;
  --paper-3: #f3eee6;

  /* Accent */
  --accent: #f2761b;        /* fills, illustrations, on-dark graphics */
  --accent-ink: #c9450a;    /* button surfaces carrying white text */
  --accent-text: #b03d08;   /* orange text on light surfaces */
  --accent-soft: #fdeee2;
  --accent-line: #f6cfae;

  /* Sky (hero & bands) */
  --sky-1: #0d5ba4;
  --sky-2: #2f8ed0;
  --sky-3: #7ec2ec;
  --sky-4: #cfe8f8;

  /* Radii */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Spacing rhythm (4/8) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(20, 16, 12, .05);
  --sh-2: 0 4px 16px rgba(20, 16, 12, .06);
  --sh-3: 0 12px 40px rgba(20, 16, 12, .10);
  --sh-4: 0 24px 70px rgba(20, 16, 12, .16);

  /* Motion */
  --e-out: cubic-bezier(.22, .61, .36, 1);
  --e-soft: cubic-bezier(.4, 0, .2, 1);
  --t-fast: 160ms;
  --t-base: 260ms;
  --t-slow: 460ms;

  /* Layout */
  --shell: 1360px;
  --gutter: clamp(16px, 3vw, 32px);
  --z-nav: 100;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
svg { height: auto; }

.hero__art img,
.band__art img,
.media-card img,
.mini-card img,
.type__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.08;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; }

button { font: inherit; color: inherit; }

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

::selection { background: var(--accent); color: #fff; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: top var(--t-base) var(--e-out);
}
.skip:focus { top: 16px; }

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

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.frame {
  padding: clamp(10px, 1.4vw, 20px);
}

.section {
  padding-block: clamp(56px, 8vw, 120px);
}

.section--tight { padding-block: clamp(40px, 5.5vw, 80px); }

.stack > * + * { margin-top: var(--s-4); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--light { color: rgba(255, 255, 255, .82); }
.eyebrow--light::before { background: rgba(255, 255, 255, .6); }

.script {
  font-family: 'Yellowtail', cursive;
  font-weight: 400;
  color: var(--accent-text);
  letter-spacing: .01em;
  line-height: 1;
  display: inline-block;
}

.lead {
  font-size: clamp(16px, 1.15vw, 18px);
  color: var(--muted);
  max-width: 62ch;
}

.prose p { color: var(--muted); max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.prose h3 {
  font-size: clamp(20px, 2vw, 26px);
  margin-top: 2em;
  margin-bottom: .5em;
  letter-spacing: -.02em;
}
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 1.1em 0; list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  max-width: 66ch;
}
.prose ul li + li { margin-top: 10px; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.prose strong { color: var(--ink); font-weight: 700; }

/* Contextual outbound link inside copy */
.out {
  color: var(--accent-text);
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(var(--accent-line), var(--accent-line));
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 1px;
  transition: background-size var(--t-base) var(--e-out), color var(--t-fast) linear;
}
.out:hover,
.out:focus-visible {
  color: var(--accent-ink);
  background-image: linear-gradient(var(--accent-ink), var(--accent-ink));
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--e-out),
              background-color var(--t-base) var(--e-soft),
              color var(--t-base) var(--e-soft),
              border-color var(--t-base) var(--e-soft),
              box-shadow var(--t-base) var(--e-soft);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 17px; height: 17px; flex: none; }

.btn--accent {
  background: var(--accent-ink);
  color: #fff;
  box-shadow: 0 6px 20px rgba(201, 69, 10, .28);
}
.btn--accent:hover { background: #a93a08; box-shadow: 0 10px 28px rgba(201, 69, 10, .34); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }

.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-2);
}
.btn--light:hover { background: var(--paper-2); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-2); }

.btn--ghost-light {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .22); }

.btn--sm { min-height: 40px; padding: 9px 18px; font-size: 13px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  padding: 16px var(--gutter);
  pointer-events: none;
}
.nav-wrap > * { pointer-events: auto; }

.nav-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 280px;
  pointer-events: none;
}

.nav {
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  padding: 10px 10px 10px 22px;
  border-radius: var(--r-pill);
  background: rgba(18, 32, 48, .34);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background-color var(--t-slow) var(--e-soft),
              border-color var(--t-slow) var(--e-soft),
              box-shadow var(--t-slow) var(--e-soft);
}

.nav.is-solid {
  background: rgba(255, 255, 255, .9);
  border-color: var(--line);
  box-shadow: var(--sh-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__name {
  font-family: 'Comfortaa', 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1;
  transition: color var(--t-slow) var(--e-soft);
}
.brand__name span { color: var(--accent); }
.nav.is-solid .brand__name { color: var(--ink); }
.nav.is-solid .brand__name span { color: var(--accent-text); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-inline: auto;
}
.nav__links a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  transition: background-color var(--t-fast) var(--e-soft), color var(--t-fast) var(--e-soft);
}
.nav__links a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.nav__links a[aria-current] { color: #fff; background: rgba(255, 255, 255, .18); }
.nav.is-solid .nav__links a { color: var(--muted); }
.nav.is-solid .nav__links a:hover { background: var(--paper-3); color: var(--ink); }
.nav.is-solid .nav__links a[aria-current] { color: var(--ink); background: var(--paper-3); }

.nav__cta { flex: none; }
.nav__links-cta { display: none; }

.nav__burger {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  border-radius: var(--r-pill);
  cursor: pointer;
  flex: none;
}
.nav__burger span {
  display: block;
  width: 17px;
  height: 1.8px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform var(--t-base) var(--e-out), opacity var(--t-fast) linear;
}
.nav__burger span::before,
.nav__burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.8px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t-base) var(--e-out);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav.is-solid .nav__burger { border-color: var(--line); background: var(--paper-2); }
.nav.is-solid .nav__burger span,
.nav.is-solid .nav__burger span::before,
.nav.is-solid .nav__burger span::after { background: var(--ink); }
.nav__burger[aria-expanded='true'] span { background: transparent; }
.nav__burger[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 46%, var(--sky-3) 100%);
}
.hero--compact { min-height: min(64vh, 560px); }

.hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__art svg { width: 100%; height: 100%; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 26, 48, .5) 0%, rgba(6, 26, 48, .12) 26%, rgba(6, 26, 48, 0) 46%),
    linear-gradient(0deg, rgba(6, 26, 48, .42) 0%, rgba(6, 26, 48, 0) 34%);
}

.hero__body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(104px, 12vw, 148px) var(--gutter) 0;
  max-width: var(--shell);
  width: 100%;
  margin-inline: auto;
}

.hero__intro { max-width: 400px; }
.hero__intro p {
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  line-height: 1.6;
  text-shadow: 0 1px 14px rgba(4, 20, 40, .5);
}
.hero__intro .btn { margin-top: 22px; }

.hero__headline {
  padding-bottom: clamp(28px, 4vw, 46px);
  position: relative;
}
.hero__script {
  font-size: clamp(34px, 5.4vw, 62px);
  color: #ffb476;
  margin-left: 4px;
  margin-bottom: -14px;
  text-shadow: 0 2px 20px rgba(4, 20, 40, .35);
}
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6.6vw, 82px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-shadow: 0 2px 30px rgba(4, 20, 40, .38);
  max-width: 16ch;
}

.hero__strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero__strip span {
  padding: 15px var(--gutter);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
}
.hero__strip span:nth-child(2) { text-align: center; }
.hero__strip span:nth-child(3) { text-align: right; }

/* ==========================================================================
   Wordmark band
   ========================================================================== */

.wordmark {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(18px, 2.4vw, 34px);
  margin-block: clamp(34px, 4.6vw, 64px);
  overflow: hidden;
}
.wordmark__text {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 300;
  font-size: clamp(26px, 10.4vw, 150px);
  line-height: .9;
  letter-spacing: -.03em;
  text-align: center;
  color: var(--ink);
  white-space: nowrap;
  margin: 0;
}

/* ==========================================================================
   Split section (about / module intro)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.split__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.split__head .script { font-size: clamp(30px, 3.4vw, 46px); }
.split__meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  padding-bottom: 8px;
}

.h2 {
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -.032em;
}
.h3 { font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -.026em; }

.split__media { position: relative; }

.media-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(170deg, var(--sky-2), var(--sky-3));
  aspect-ratio: 4 / 3;
  box-shadow: var(--sh-3);
}
.media-card svg { width: 100%; height: 100%; object-fit: cover; }

.media-card__play {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(201, 69, 10, .38);
}
.media-card__play svg { width: 15px; height: 15px; }

.stat-pill {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px 10px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-3);
}
.stat-pill__avatars { display: flex; flex: none; }
.stat-pill__avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.stat-pill__avatars span + span { margin-left: -13px; }
.stat-pill__num {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  flex: none;
}
.stat-pill__label { font-size: 13px; color: var(--muted); line-height: 1.35; }

.mini-cards {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.mini-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}
.mini-card svg { width: 100%; height: 100%; }

.check-card {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  box-shadow: var(--sh-1);
}
.check-card p {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin: 0;
}
.check-card p.is-on {
  background: var(--accent-ink);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 7px 10px;
}
.check-card p.is-off { color: var(--muted-2); font-weight: 500; }

/* ==========================================================================
   Product / type grid
   ========================================================================== */

.types { display: grid; gap: 22px; }

.types__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.type {
  display: flex;
  flex-direction: column;
}
.type__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.type__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--muted-2);
}
.type__arrow { width: 16px; height: 16px; color: var(--muted-2); }

.type__art {
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(180deg, #dcefff 0%, #f2f8fd 100%);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-soft);
  transition: transform var(--t-slow) var(--e-out), box-shadow var(--t-slow) var(--e-out);
}
.type__art svg { width: 100%; height: 100%; }
.type:hover .type__art { transform: translateY(-6px); box-shadow: var(--sh-3); }

.type__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}
.type__name { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.type__spec { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.type__desc { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.55; }

.type--wide { grid-column: span 2; }
.type--wide .type__art { aspect-ratio: 16 / 11; }

/* ==========================================================================
   Sky band (full-bleed feature)
   ========================================================================== */

.band {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(165deg, var(--sky-1), var(--sky-2) 55%, var(--sky-3));
  color: #fff;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}
.band__art { position: absolute; inset: 0; z-index: -1; }
.band__art svg { width: 100%; height: 100%; }
.band__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 26, 48, .66) 0%, rgba(6, 26, 48, .3) 30%, rgba(6, 26, 48, 0) 56%),
    linear-gradient(100deg, rgba(6, 26, 48, .58) 0%, rgba(6, 26, 48, .16) 52%, rgba(6, 26, 48, 0) 80%);
}
.band__body {
  padding: clamp(32px, 4.4vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  flex: 1;
}
.band h2 { color: #fff; font-size: clamp(27px, 3.6vw, 46px); }
.band__body > div > p {
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  margin-top: 18px;
  max-width: 52ch;
}
.band__side p {
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  max-width: 40ch;
  margin-left: auto;
}

.glass-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0 clamp(32px, 4.4vw, 62px) clamp(32px, 4.4vw, 62px);
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(12, 30, 52, .34);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  max-width: 640px;
}
.glass-row__tab {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 16px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
  background: rgba(255, 255, 255, .08);
  border-right: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  place-items: center;
}
.glass-row__body { padding: 18px 22px; }
.glass-row__body h3 { font-size: 16px; color: #fff; margin-bottom: 6px; letter-spacing: -.02em; }
.glass-row__body p { font-size: 13.5px; color: rgba(255, 255, 255, .82); line-height: 1.55; max-width: 46ch; }

/* ==========================================================================
   Process steps
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step {
  background: #fff;
  padding: clamp(22px, 2.6vw, 34px);
  transition: background-color var(--t-base) var(--e-soft);
}
.step:hover { background: var(--paper-2); }
.step__num {
  font-family: 'Comfortaa', sans-serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.04em;
}
.step h3 { margin: 16px 0 8px; font-size: 17px; letter-spacing: -.024em; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   Feature cards
   ========================================================================== */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.2vw, 28px);
  background: #fff;
  transition: border-color var(--t-base) var(--e-soft), box-shadow var(--t-base) var(--e-soft), transform var(--t-base) var(--e-out);
}
.feature:hover { border-color: var(--accent-line); box-shadow: var(--sh-2); transform: translateY(-3px); }
.feature__ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature__ico svg { width: 20px; height: 20px; color: var(--accent-ink); }
.feature h3 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: -.024em; }
.feature p { font-size: 13.8px; color: var(--muted); line-height: 1.62; }

/* ==========================================================================
   Spec table
   ========================================================================== */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow-x: auto;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 14px;
}
caption {
  text-align: left;
  padding: 20px clamp(18px, 2.4vw, 28px) 0;
  font-size: 12.5px;
  color: var(--muted-2);
}
th, td {
  padding: 15px clamp(18px, 2.4vw, 28px);
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: var(--paper-2);
  border-bottom-color: var(--line);
}
tbody th { font-weight: 700; color: var(--ink); }
tbody td { color: var(--muted); }
tbody td b { color: var(--ink); font-variant-numeric: tabular-nums; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--paper-2); }

/* ==========================================================================
   Cities grid
   ========================================================================== */

.cities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.city {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  background: #fff;
  transition: border-color var(--t-base) var(--e-soft), transform var(--t-base) var(--e-out);
}
.city:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.city__name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.024em;
  margin-bottom: 8px;
}
.city__name svg { width: 16px; height: 16px; color: var(--accent-ink); flex: none; }
.city p { font-size: 13.2px; color: var(--muted); line-height: 1.58; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  letter-spacing: -.024em;
  transition: color var(--t-fast) linear;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -6px;
  background:
    linear-gradient(var(--ink), var(--ink)) center/13px 1.8px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center/1.8px 13px no-repeat;
  transition: transform var(--t-base) var(--e-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 clamp(0px, 6vw, 90px) 24px 0; }
.faq__answer p { color: var(--muted); font-size: 15px; }
.faq__answer p + p { margin-top: .85em; }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta {
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
  padding: clamp(36px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta__glow {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -260px;
  background: radial-gradient(circle, rgba(242, 118, 27, .38) 0%, rgba(242, 118, 27, 0) 68%);
  pointer-events: none;
}
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.cta h2 { color: #fff; font-size: clamp(27px, 3.6vw, 46px); }
.cta .script { color: #ff9d55; font-size: clamp(28px, 3.2vw, 42px); }
.cta p { color: rgba(255, 255, 255, .72); font-size: 15px; margin-top: 18px; max-width: 50ch; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  margin-top: clamp(56px, 8vw, 110px);
  padding-block: clamp(44px, 5vw, 72px) 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px);
}
.footer__brand .brand__name { color: var(--ink); }
.footer__brand .brand__name span { color: var(--accent-text); }
.footer__brand p {
  margin-top: 16px;
  font-size: 13.8px;
  color: var(--muted);
  max-width: 40ch;
  line-height: 1.62;
}
.footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.footer ul { list-style: none; }
.footer li + li { margin-top: 9px; }
.footer li a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t-fast) linear;
}
.footer li a:hover { color: var(--accent-text); }
.footer__bar {
  margin-top: clamp(32px, 4vw, 54px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ==========================================================================
   Page header (subpages)
   ========================================================================== */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .78);
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: '/'; color: rgba(255, 255, 255, .45); }
.crumbs a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current='page'] { color: rgba(255, 255, 255, .68); }

.toc {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
  padding: 22px 24px;
  position: sticky;
  top: 100px;
}
.toc h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc li + li { margin-top: 10px; }
.toc a {
  display: flex;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.45;
  transition: color var(--t-fast) linear;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 3px;
  flex: none;
}
.toc a:hover { color: var(--ink); }

.article {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.callout {
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  border-radius: var(--r-md);
  padding: 22px 24px;
  margin: 32px 0;
}
.callout h3 {
  font-size: 15.5px;
  letter-spacing: -.02em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.callout h3 svg { width: 17px; height: 17px; color: var(--accent-ink); flex: none; }
.callout p { font-size: 14px; color: #6a4326; max-width: none; }

.note {
  border-left: 3px solid var(--ink);
  padding: 4px 0 4px 20px;
  margin: 28px 0;
}
.note p { font-size: 15.5px; color: var(--ink); font-weight: 600; max-width: 56ch; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.js .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--e-out), transform 620ms var(--e-out);
  transition-delay: var(--d, 0ms);
}
.js .rv.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .nav { gap: 12px; padding-left: 18px; }
  .nav__links a { padding: 9px 11px; font-size: 13.5px; }
}

@media (max-width: 1080px) {
  .types__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type--wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 32px; }
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .97);
    border: 1px solid var(--line);
    box-shadow: var(--sh-4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--t-base) var(--e-out), transform var(--t-base) var(--e-out), visibility var(--t-base);
  }
  .nav__links a { color: var(--ink); padding: 13px 16px; }
  .nav__links a:hover { background: var(--paper-3); }
  .nav__links a[aria-current] { background: var(--paper-3); color: var(--ink); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .nav__cta { display: none; }
  .nav__links-cta { display: block; margin-top: 6px; }
  .nav__links-cta a {
    background: var(--accent-ink);
    color: #fff;
    text-align: center;
  }
  .nav__links-cta a:hover { background: #a93a08; color: #fff; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .band__body { grid-template-columns: minmax(0, 1fr); }
  .band__side p { margin-left: 0; }
  .cta__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__intro { max-width: 340px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 88px; }
  .types__row { grid-template-columns: minmax(0, 1fr); }
  .type--wide { grid-column: span 1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .mini-cards { grid-template-columns: minmax(0, 1fr); }
  .toc ol { columns: 1; }
  .hero__strip { grid-template-columns: minmax(0, 1fr); }
  .hero__strip span,
  .hero__strip span:nth-child(2),
  .hero__strip span:nth-child(3) { text-align: left; padding-block: 10px; }
  .hero__strip span + span { border-top: 1px solid rgba(255, 255, 255, .18); }
  .hero { border-radius: var(--r-lg); }
  .band, .cta { border-radius: var(--r-lg); }
  .glass-row { margin-inline: 20px; }
  .stat-pill { padding-right: 16px; gap: 10px; }
  .stat-pill__label { font-size: 12px; }
  .split__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .split__meta { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .rv { opacity: 1; transform: none; }
}

@media print {
  .nav-wrap, .hero__art, .cta, .footer { display: none; }
  body { color: #000; }
}

/* ==========================================================================
   Podstrony — uzupełnienia
   ========================================================================== */

.hero--compact .hero__body { padding-top: clamp(96px, 11vw, 132px); }
.hero--compact .hero__scrim {
  background:
    linear-gradient(180deg, rgba(5, 22, 42, .58) 0%, rgba(5, 22, 42, .22) 26%, rgba(5, 22, 42, 0) 50%),
    linear-gradient(90deg, rgba(5, 22, 42, .82) 0%, rgba(5, 22, 42, .52) 38%, rgba(5, 22, 42, .1) 72%, rgba(5, 22, 42, 0) 100%),
    linear-gradient(0deg, rgba(5, 22, 42, .48) 0%, rgba(5, 22, 42, 0) 38%);
}
.hero--compact h1 { font-size: clamp(32px, 5.2vw, 62px); }
.hero__headline p {
  margin-top: 18px;
  max-width: 54ch;
  font-size: 15.5px;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 14px rgba(4, 20, 40, .5);
}
.hero__headline .script { margin-bottom: -10px; }

.article__body > * + * { margin-top: 0; }

.prose h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -.03em;
  margin-top: 2.2em;
  margin-bottom: .6em;
  scroll-margin-top: 104px;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 .num {
  display: block;
  font-family: 'Comfortaa', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--accent-text);
  margin-bottom: 8px;
}
.prose .table-wrap { margin: 28px 0; }
.prose .features { margin: 28px 0; }
.prose figure { margin: 32px 0; }
.prose figure img {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  width: 100%;
}
.prose figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted-2);
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 28px 0;
}
.dl-grid > div { background: #fff; padding: 20px 22px; }
.dl-grid dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.dl-grid dd {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.dl-grid dd small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  line-height: 1.5;
}

.next-up {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.next-up a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  text-decoration: none;
  background: #fff;
  transition: border-color var(--t-base) var(--e-soft), transform var(--t-base) var(--e-out), box-shadow var(--t-base) var(--e-soft);
}
.next-up a:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: var(--sh-2); }
.next-up span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.next-up strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.026em;
  line-height: 1.25;
}
.next-up p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* Siatka modułów na stronie głównej */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.module-grid a {
  display: block;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 26px;
  background: #fff;
  text-decoration: none;
  transition: border-color var(--t-base) var(--e-soft),
              transform var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-soft);
}
.module-grid a:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
}
.module-grid .m-num {
  display: block;
  font-family: 'Comfortaa', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--accent-text);
  margin-bottom: 12px;
}
.module-grid strong {
  display: block;
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -.026em;
  line-height: 1.25;
  color: var(--ink);
}
.module-grid p {
  margin-top: 10px;
  font-size: 13.6px;
  color: var(--muted);
  line-height: 1.58;
}
