/* ==========================================================================
   LOKALNE FONTY (WOFF2, FONT-DISPLAY: SWAP)
   ========================================================================== */

/* Big Shoulders Display — 800 (latin-ext) */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/big-shoulders-display-latin-ext-800-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Big Shoulders Display — 800 (latin) */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/big-shoulders-display-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Big Shoulders Display — 900 (latin-ext) */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/big-shoulders-display-latin-ext-900-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Big Shoulders Display — 900 (latin) */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/big-shoulders-display-latin-900-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Archivo — 400 (latin-ext) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/archivo-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Archivo — 400 (latin) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/archivo-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Archivo — 500 (latin-ext) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/archivo-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Archivo — 500 (latin) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/archivo-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono — 400 (latin-ext) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono — 400 (latin) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono — 500 (latin-ext) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono — 500 (latin) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono — 700 (latin-ext) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono — 700 (latin) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   ZMIENNE PROJEKTOWE (CIEPŁA CZERŃ, JASNY PAPIER, AKCENT Z LOGO.PNG)
   ========================================================================== */

:root {
  /* Tła w ciepłej czerni (bez granatu i bez fioletu w tłach) */
  --bg-warm: #0B0A09;
  --bg-panel: #13110F;
  --bg-block: #1A1714;

  /* Tekst w kolorze jasnego papieru (kontrast AA+) */
  --paper: #F2EFE9;
  --paper-mid: #C2BCB0;
  --paper-muted: #8A8377;

  /* Jaskrawy akcent wyprowadzony bezpośrednio z sygnetu logo.png */
  --accent: #A23BFF;
  --accent-contrast: #F8F5FF;

  /* Pojedynczy kolor ostrzegawczy (używany oszczędnie) */
  --warn: #E58A1C;

  /* Linie strukturalne */
  --rule: #282420;
  --rule-strong: #3D3731;

  /* Rodziny fontów */
  --font-head: 'Big Shoulders Display', sans-serif;
  --font-body: 'Archivo', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   RESET I BAZA
   ========================================================================== */

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

[hidden] {
  display: none !important;
}

html {
  background-color: var(--bg-warm);
  color: var(--paper);
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  background-color: var(--bg-warm);
  color: var(--paper);
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
}

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

/* Dostępność: Widoczny Focus oraz Skip Link */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 999;
  background: var(--accent);
  color: var(--accent-contrast);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   TEKSTURY: ZIARNO (SVG feTurbulence DATA URI) + SUBTELNA SIATKA
   ========================================================================== */

.surface-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.surface-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(242, 239, 233, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 239, 233, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

.wrap {
  width: min(1440px, 92%);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   NAWIGACJA STICKY
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-warm);
  border-bottom: 1px solid var(--rule);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--paper);
  min-height: 44px;
}

.brand-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 1px solid var(--rule-strong);
  background-color: #000000;
}

.brand-wordmark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.4rem 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--paper-mid);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  color: var(--paper);
}

.nav-num {
  color: var(--accent);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.9rem;
  background-color: var(--bg-panel);
  border: 1px solid var(--rule-strong);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.menu-bars {
  width: 16px;
  height: 2px;
  background-color: var(--paper);
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background-color: var(--paper);
}

.menu-bars::before {
  top: -5px;
}

.menu-bars::after {
  top: 5px;
}

/* ==========================================================================
   PRZYCISKI Z WIPE PRZEZ CLIP-PATH (ANIMOWANE TYLKO TRANSFORM I OPACITY)
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--rule-strong);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.btn > span {
  position: relative;
  z-index: 2;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  transform: translateX(-105%);
  opacity: 0.95;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(0);
  opacity: 1;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

.btn-accent::before {
  background-color: #7B1FA2;
}

.btn-outline {
  background-color: var(--bg-panel);
  color: var(--paper);
  border-color: var(--rule-strong);
}

.btn-outline::before {
  background-color: var(--accent);
}

.btn-nav {
  min-height: 44px;
  padding: 0.55rem 1.35rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   ETYKIETY JAK TAŚMA / NAKLEJKI I CELOWNIK (RETICLE)
   ========================================================================== */

.tape-label {
  display: inline-block;
  background-color: var(--accent);
  color: var(--accent-contrast);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.sticker-tag {
  display: inline-block;
  background-color: var(--paper);
  color: var(--bg-warm);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  margin-bottom: 1rem;
}

.warning-tag {
  background-color: var(--warn);
  color: #0B0A09;
  border-left: 4px solid var(--paper);
}

.mono-code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--paper-muted);
  letter-spacing: 0.06em;
}

.reticle-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--rule-strong);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1;
}

/* ==========================================================================
   HERO SECTION (ASYMETRYCZNA SIATKA 12 KOLUMN, SKRAJNY KONTRAST SKALI)
   ========================================================================== */

.hero-section {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 9vw, 7.5rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-left {
  grid-column: 1 / 9;
}

.hero-right {
  grid-column: 9 / 13;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-wordmark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(4.8rem, 15vw, 12.5rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.5rem;
  margin-left: -0.04em;
  word-break: break-word;
}

.hero-sentence {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--paper-mid);
  max-width: 36ch;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-copy-wrap {
  max-width: 520px;
}

.copy-cmd-btn {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background-color: var(--bg-panel);
  border: 1px solid var(--rule-strong);
  border-left: 4px solid var(--accent);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.copy-cmd-btn:hover {
  transform: translateX(3px);
}

.copy-tag {
  color: var(--paper-muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.copy-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--paper);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-action {
  background-color: var(--bg-block);
  border: 1px solid var(--rule-strong);
  color: var(--accent);
  padding: 0.3rem 0.65rem;
  font-weight: 700;
  font-size: 0.72rem;
}

.copy-cmd-btn.is-copied .copy-action {
  background-color: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

/* Ramka z celownikiem i logo w Hero */
.reticle-frame {
  position: relative;
  background-color: var(--bg-panel);
  border: 1px solid var(--rule-strong);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: -1rem;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.reticle-svg {
  position: absolute;
  inset: 1rem;
  width: calc(100% - 2rem);
  height: calc(100% - 3.5rem);
  color: rgba(242, 239, 233, 0.14);
  pointer-events: none;
}

.hero-logo-img {
  position: relative;
  z-index: 2;
  width: min(240px, 70vw);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.reticle-caption {
  width: 100%;
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--paper-muted);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   PAS FAKTÓW (Z CONFIG.FACTS)
   ========================================================================== */

.facts-strip {
  background-color: var(--bg-panel);
  border-bottom: 1px solid var(--rule-strong);
  padding: 1.75rem 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.fact-item {
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

.fact-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--paper-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.fact-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--paper);
}

/* ==========================================================================
   SEKCJE I UKOŚNE CIĘCIA (CLIP-PATH), NUMERACJA 01/04 - 04/04
   ========================================================================== */

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.section-alt {
  background-color: var(--bg-panel);
}

.section-cut {
  clip-path: polygon(0 0, 100% 18px, 100% 100%, 0 calc(100% - 18px));
  margin-top: -18px;
  padding-top: calc(clamp(4rem, 8vw, 7rem) + 18px);
  padding-bottom: calc(clamp(4rem, 8vw, 7rem) + 18px);
}

.asym-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.col-meta {
  grid-column: 1 / 5;
}

.col-main {
  grid-column: 5 / 13;
}

.section-counter {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--paper-mid);
  font-size: 1rem;
  max-width: 34ch;
}

/* 01/04 // CZYM JEST FLOWGG */
.about-body {
  background-color: var(--bg-panel);
  border: 1px solid var(--rule-strong);
  border-left: 4px solid var(--accent);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--paper);
  max-width: 62ch;
}

/* 02/04 // JAK ZACZĄĆ W 4 KROKACH (ASYMETRYCZNY UKŁAD SCHODKOWY) */
.steps-asymmetric {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-block {
  background-color: var(--bg-warm);
  border: 1px solid var(--rule-strong);
  padding: 1.75rem;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.step-offset-a {
  grid-column: 1 / 6;
}

.step-offset-b {
  grid-column: 3 / 9;
  border-left: 3px solid var(--accent);
}

.step-offset-c {
  grid-column: 1 / 7;
}

.step-offset-d {
  grid-column: 2 / 9;
  border-left: 3px solid var(--warn);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.step-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.step-desc {
  color: var(--paper-mid);
  font-size: 0.98rem;
  max-width: 48ch;
}

.inline-action-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.06em;
}

.inline-action-link:hover {
  text-decoration: underline;
}

/* 03/04 // FRAKCJE I TRYBY (ASYMETRYCZNA LISTA, ZERO 3 IDENTYCZNYCH KART) */
.factions-stagger-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faction-item {
  background-color: var(--bg-panel);
  border: 1px solid var(--rule-strong);
  padding: 2rem;
  position: relative;
}

.faction-item:nth-child(odd) {
  margin-right: 8%;
  border-left: 4px solid var(--accent);
}

.faction-item:nth-child(even) {
  margin-left: 8%;
  border-right: 4px solid var(--paper);
}

.faction-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--paper-muted);
  margin-bottom: 0.45rem;
}

.faction-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.faction-desc {
  color: var(--paper-mid);
  max-width: 56ch;
}

/* MEDIA SPOŁECZNOŚCIOWE */
.media-links-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 1.25rem 1.75rem;
  background-color: var(--bg-warm);
  border: 1px solid var(--rule-strong);
  text-decoration: none;
  color: var(--paper);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.media-banner:hover {
  transform: translateX(6px);
  border-color: var(--accent);
}

.media-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--paper-muted);
  letter-spacing: 0.08em;
}

.media-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.85rem;
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--paper);
}

/* 04/04 // FAQ (<DETAILS>) */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-entry {
  background-color: var(--bg-panel);
  border: 1px solid var(--rule-strong);
}

.faq-entry[open] {
  border-left: 3px solid var(--accent);
}

.faq-question {
  min-height: 56px;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-entry[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  color: var(--paper-mid);
  max-width: 60ch;
}

/* ==========================================================================
   PODSTRONY PRAWNE (REGULAMIN.HTML, POLITYKA-PRYWATNOSCI.HTML)
   ========================================================================== */

.subpage-main {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.subpage-banner {
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 2rem;
  margin-bottom: 3rem;
}

.subpage-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.toc-box {
  background-color: var(--bg-panel);
  border: 1px solid var(--rule-strong);
  padding: 1.5rem;
  position: sticky;
  top: 96px;
}

.toc-heading {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.toc-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--paper-mid);
  text-decoration: none;
}

.toc-list a:hover {
  color: var(--paper);
}

.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legal-block {
  background-color: var(--bg-panel);
  border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--accent);
  padding: 1.75rem;
  scroll-margin-top: 96px;
}

.legal-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--paper-muted);
  margin-bottom: 0.4rem;
}

.legal-block h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  line-height: 0.95;
  text-transform: uppercase;
}

/* ==========================================================================
   STOPKA (CZYSTA, BEZ LOSOWYCH OZDOBNIKÓW)
   ========================================================================== */

.site-footer {
  background-color: var(--bg-warm);
  border-top: 1px solid var(--rule-strong);
  padding: 3rem 0;
}

.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  max-width: 540px;
}

.legal-disclaimer {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--paper-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--paper-mid);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-link:hover,
.footer-link[aria-current="page"] {
  color: var(--accent);
}

/* ==========================================================================
   ANIMACJE SCROLL REVEAL I STAGGER (TYLKO TRANSFORM I OPACITY)
   ========================================================================== */

.reveal,
.reveal-stagger {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.is-visible,
.reveal-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-left .reveal-stagger:nth-child(1) { transition-delay: 0.03s; }
.hero-left .reveal-stagger:nth-child(2) { transition-delay: 0.09s; }
.hero-left .reveal-stagger:nth-child(3) { transition-delay: 0.15s; }
.hero-left .reveal-stagger:nth-child(4) { transition-delay: 0.21s; }
.hero-left .reveal-stagger:nth-child(5) { transition-delay: 0.27s; }

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

  .reveal,
  .reveal-stagger,
  .btn::before,
  .copy-cmd-btn,
  .media-banner,
  .faq-icon {
    transition: none !important;
    animation: none !important;
  }

  .reveal,
  .reveal-stagger {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   RESPONSYWNOŚĆ (360px — 1920px+)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-left {
    grid-column: 1 / 13;
  }

  .hero-right {
    grid-column: 1 / 13;
  }

  .reticle-frame {
    margin-right: 0;
    max-width: 420px;
  }

  .col-meta,
  .col-main {
    grid-column: 1 / 13;
  }

  .step-offset-a,
  .step-offset-b,
  .step-offset-c,
  .step-offset-d {
    grid-column: 1 / 9;
  }

  .faction-item:nth-child(odd),
  .faction-item:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }

  .toc-box {
    position: static;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav:not(.subpage-nav) {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-panel);
    border-bottom: 1px solid var(--rule-strong);
    padding: 1.25rem 4%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-link {
    width: 100%;
    border-bottom: 1px solid var(--rule);
  }

  .btn-nav {
    width: 100%;
  }
}
