/* ==========================================================================
   BAM — Biuro Automatyzacji i Marketingu — design tokens + site styles
   Ported from Claude Design MCP project 423baf15-7637-41cb-aaef-fb579a5a9891
   ========================================================================== */

:root {
  /* --- color tokens --- */
  --space-950:#05060a; --space-900:#090b11; --space-850:#0c0f17; --space-800:#11141d;
  --space-700:#171b26; --space-600:#232838; --space-500:#333a4d; --space-400:#4a5268;
  --fog-300:#5c6478; --fog-200:#8890a3; --fog-100:#b4bbcb; --fog-50:#dde0e9; --white:#f4f6fb;
  --cyan-700:#0d7a86; --cyan-600:#12a3ac; --cyan-500:#2dd4e0; --cyan-400:#6fe4ea; --cyan-300:#a8f0f2; --cyan-glow:rgba(45,212,224,.35);
  --amber-700:#8a5c12; --amber-600:#b8791b; --amber-500:#e8a93c; --amber-400:#f0c26b; --amber-300:#f6da9c; --amber-glow:rgba(232,169,60,.35);
  --red-500:#e5484d; --green-500:#3ecf8e; --blue-500:#4d8de5;

  --bg-app:var(--space-950); --bg-surface:var(--space-900); --bg-raised:var(--space-850); --bg-inset:var(--space-800);
  --border-subtle:var(--space-700); --border-default:var(--space-600); --border-strong:var(--space-500);
  --text-primary:var(--white); --text-secondary:var(--fog-100); --text-tertiary:var(--fog-200); --text-disabled:var(--space-500);
  --text-on-accent:var(--space-950);
  --accent-primary:var(--cyan-500); --accent-primary-hover:var(--cyan-400); --accent-primary-press:var(--cyan-600);
  --accent-secondary:var(--amber-500); --accent-secondary-hover:var(--amber-400); --accent-secondary-press:var(--amber-600);
  --semantic-success:var(--green-500); --semantic-warning:var(--amber-500); --semantic-danger:var(--red-500); --semantic-info:var(--blue-500);
  --focus-ring:var(--cyan-500);

  /* --- typography tokens --- */
  --font-display:'Chakra Petch', var(--font-body-fallback), sans-serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body-fallback:-apple-system, sans-serif;
  --font-mono:'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --text-display-xl:clamp(3rem,2.2rem + 3.5vw,5.5rem);
  --text-display-lg:clamp(2.25rem,1.8rem + 2vw,3.75rem);
  --text-display-md:clamp(1.75rem,1.5rem + 1vw,2.5rem);
  --text-h1:2.5rem; --text-h2:1.875rem; --text-h3:1.5rem; --text-h4:1.25rem;
  --text-body-lg:1.125rem; --text-body:1rem; --text-body-sm:.875rem; --text-caption:.75rem; --text-micro:.6875rem;
  --leading-tight:1.05; --leading-snug:1.25; --leading-normal:1.5; --leading-relaxed:1.65;
  --tracking-tight:-0.02em; --tracking-normal:0; --tracking-wide:.04em; --tracking-wider:.12em; --tracking-widest:.24em;
  --weight-regular:400; --weight-medium:500; --weight-semibold:600; --weight-bold:700;

  /* --- spacing / radius tokens --- */
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:20px; --space-6:24px;
  --space-8:32px; --space-10:40px; --space-12:48px; --space-16:64px; --space-20:80px; --space-24:96px; --space-32:128px;
  --radius-xs:2px; --radius-sm:4px; --radius-md:6px; --radius-lg:10px; --radius-xl:16px; --radius-full:999px;
  --container-max:1240px; --container-pad:24px;

  /* --- effects tokens --- */
  --shadow-sm:0 1px 2px rgba(0,0,0,.4);
  --shadow-md:0 4px 16px rgba(0,0,0,.5);
  --shadow-lg:0 12px 40px rgba(0,0,0,.55);
  --glow-cyan:0 0 0 1px rgba(45,212,224,.45),0 0 32px rgba(45,212,224,.4);
  --glow-amber:0 0 0 1px rgba(232,169,60,.45),0 0 32px rgba(232,169,60,.36);
  --ease-standard:cubic-bezier(.4,0,.2,1);
  --ease-out:cubic-bezier(0,0,.2,1);
  --ease-sharp:cubic-bezier(.6,0,.4,1);
  --duration-fast:120ms; --duration-base:200ms; --duration-slow:360ms;
  --grid-line:rgba(255,255,255,.045);
  --blur-glass:12px;
}

/* ==========================================================================
   Base resets
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg-app);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0;
}
p { margin: 0; }
a { color: var(--accent-primary); text-decoration: none; }
a:hover { color: var(--accent-primary-hover); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: var(--accent-primary); color: var(--text-on-accent); }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.bam-grid-bg {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
}
.bam-star-bg {
  background-color: var(--bg-app);
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 70% 60%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 90% 15%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 10% 90%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 85% 75%, rgba(255,255,255,.75), transparent);
  background-repeat: repeat;
  background-size: 600px 600px;
  animation: bam-star-drift 180s linear infinite;
}
/* Drifts exactly one tile (600px) diagonally up-left; since the pattern
   repeats, the loop point is seamless. Slow and linear so it reads as
   ambient texture, not a call for attention next to the hero CTAs. */
@keyframes bam-star-drift {
  from { background-position: 0 0; }
  to { background-position: -600px -600px; }
}
@media (prefers-reduced-motion: reduce) {
  .bam-star-bg { animation: none; }
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}
.section {
  padding: var(--space-20) 0;
  border-top: 1px solid var(--border-subtle);
  scroll-margin-top: 84px;
}
.section--surface { background: var(--bg-surface); }
/* Same soft cyan/amber wash as .process-glow, corner assignment rotated per
   section so four sections in a row don't repeat the identical placement. */
.section--glow-1 { background-image: radial-gradient(60% 32% at 28% 18%, rgba(45, 212, 224, .17), transparent 60%), radial-gradient(48% 28% at 82% 68%, rgba(232, 169, 60, .11), transparent 65%); }
.section--glow-2 { background-image: radial-gradient(48% 28% at 28% 18%, rgba(232, 169, 60, .11), transparent 65%), radial-gradient(60% 32% at 82% 68%, rgba(45, 212, 224, .17), transparent 60%); }
.section--glow-3 { background-image: radial-gradient(60% 32% at 82% 18%, rgba(45, 212, 224, .17), transparent 60%), radial-gradient(48% 28% at 28% 68%, rgba(232, 169, 60, .11), transparent 65%); }
.section--glow-4 { background-image: radial-gradient(48% 28% at 82% 18%, rgba(232, 169, 60, .11), transparent 65%), radial-gradient(60% 32% at 28% 68%, rgba(45, 212, 224, .17), transparent 60%); }
.section h2 {
  font-size: var(--text-h1);
  color: var(--text-primary);
  margin-bottom: var(--space-10);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--accent-primary); color: var(--text-on-accent);
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: 13px; z-index: 1000;
  transition: top var(--duration-fast) var(--ease-standard);
}
.skip-link:focus { top: 12px; }

/* reveal-on-scroll (IntersectionObserver-driven) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--duration-fast) var(--ease-standard);
  min-height: 44px;
  text-align: center;
}
.btn-sm { font-size: 11px; padding: 8px 14px; }
.btn-md { font-size: 12px; padding: 11px 20px; }
.btn-lg { font-size: 13px; padding: 15px 28px; }
.btn-primary { background: var(--accent-primary); color: var(--text-on-accent); box-shadow: var(--glow-cyan); }
.btn-primary:hover { background: var(--accent-primary-hover); color: var(--text-on-accent); }
.btn-primary:active { background: var(--accent-primary-press); }
.btn-secondary { background: var(--accent-secondary); color: var(--text-on-accent); box-shadow: var(--glow-amber); }
.btn-secondary:hover { background: var(--accent-secondary-hover); color: var(--text-on-accent); }
.btn-outline { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-outline:hover { color: var(--accent-primary-hover); border-color: var(--accent-primary-hover); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); }

/* ==========================================================================
   Badges / Tags
   ========================================================================== */
.badge {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: var(--tracking-wider); text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-full);
  display: inline-flex; align-items: center; gap: 6px;
}
.badge-cyan { background: rgba(45,212,224,.12); color: var(--cyan-400); border: 1px solid rgba(45,212,224,.35); }
.badge-amber { background: rgba(232,169,60,.12); color: var(--amber-400); border: 1px solid rgba(232,169,60,.35); }
.badge-neutral { background: var(--bg-inset); color: var(--fog-100); border: 1px solid var(--border-default); }

.tag {
  font-family: var(--font-body); font-size: 13px; color: var(--text-secondary);
  background: var(--bg-inset); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); padding: 4px 10px;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ==========================================================================
   Cards (incl. featured corner-bracket motif)
   ========================================================================== */
.card {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.card--featured {
  border-color: var(--cyan-600);
  box-shadow: var(--glow-cyan);
}
.card--featured::before,
.card--featured::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--cyan-500);
}
.card--featured::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.card--featured::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ==========================================================================
   Nav
   ========================================================================== */
/* Wrapper shrink-wraps to the nav's own height, which per spec caps how far
   a sticky child may move (it can't exceed its containing block's box).
   display: contents removes the wrapper from the box tree so .nav's
   containing block becomes body, giving it the full page to stick within. */
#navMount { display: contents; }
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--container-pad);
  background: rgba(5,6,10,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo-mark { height: 30px; width: auto; flex-shrink: 0; }
.nav__logo-text {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: .5px; color: var(--text-primary); white-space: nowrap;
}
.nav__logo-sub {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: .5px; color: var(--text-primary);
}
.nav__links {
  display: flex; gap: 28px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: var(--tracking-wider); text-transform: uppercase;
  color: var(--text-tertiary);
}
.nav__links a { color: var(--text-tertiary); }
.nav__links a:hover { color: var(--cyan-400); }
.nav__toggle {
  display: none;
  background: none; border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  color: var(--text-primary); width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ''; display: block; width: 18px; height: 2px; background: currentColor; position: relative;
  transition: all var(--duration-fast) var(--ease-standard);
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 132px var(--container-pad) 96px;
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(45,212,224,.10), transparent 70%);
  pointer-events: none;
}
.hero__inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.hero__frame {
  position: relative;
  display: inline-block;
  padding: var(--space-8) var(--space-10);
}
.hero__frame::before, .hero__frame::after {
  content: ''; position: absolute; width: 22px; height: 22px;
  border: 2px solid var(--cyan-500); opacity: .8;
}
.hero__frame::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero__frame::after { bottom: 0; right: 0; border-left: none; border-top: none; }
.hero h1 {
  font-size: var(--text-display-lg);
  color: var(--white);
  margin-bottom: var(--space-6);
}
/* Headline rotator — JS locks min-width to the widest word so typing/erasing
   never shifts the static line below. */
.headline-rotator {
  display: inline-block;
  vertical-align: top;
  padding: 0.08em 0;
  margin: -0.08em 0;
}
.headline-rotator__text { white-space: pre; }
.headline-rotator__cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-left: 3px;
  background: var(--cyan-400);
  vertical-align: -0.05em;
  opacity: 0;
}
.headline-rotator__cursor.is-blinking { animation: headline-cursor-blink 0.9s steps(1) infinite; }
@keyframes headline-cursor-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}
.headline-static { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .headline-rotator__cursor { display: none; }
}
.hero__sub {
  font-size: var(--text-body-lg);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
}
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Proof strip
   ========================================================================== */
.proof-strip {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border-subtle);
}
.proof-strip__row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-8);
}
.proof-strip__item {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--tracking-wider);
  text-transform: uppercase; color: var(--text-tertiary);
  display: flex; align-items: center; gap: 8px;
}
.proof-strip__item::before {
  content: ''; width: 6px; height: 6px; background: var(--cyan-500); border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-500);
}

/* ==========================================================================
   Mid-page CTA strip
   ========================================================================== */
.mid-cta {
  border-top: 1px solid var(--cyan-700);
  background: var(--bg-surface);
}
.mid-cta__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding: var(--space-6) 0;
  text-align: center;
}
.mid-cta__body {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
}
.mid-cta__btn { flex-shrink: 0; }

/* ==========================================================================
   Problem section
   ========================================================================== */
.problem__intro {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.stat-card {
  padding: var(--space-6);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-raised);
}
.stat-card__value {
  font-family: var(--font-mono); font-size: 40px; font-weight: 600; color: var(--cyan-400);
  line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-card__label {
  font-size: var(--text-body); color: var(--text-primary); margin-top: var(--space-3); font-weight: var(--weight-medium);
}
.stat-card__detail {
  font-size: var(--text-body-sm); color: var(--text-tertiary); margin-top: var(--space-2); line-height: var(--leading-relaxed);
}
.stat-card__source {
  font-family: var(--font-mono); font-size: 10px; color: var(--fog-200);
  margin-top: var(--space-4); letter-spacing: var(--tracking-wide);
  border-top: 1px dashed var(--border-subtle); padding-top: var(--space-3);
}

/* ==========================================================================
   Process — scroll-driven "System BAM" section
   ========================================================================== */
#processMount { position: relative; }
.process-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 32% at 28% 18%, rgba(45, 212, 224, .17), transparent 60%),
    radial-gradient(48% 28% at 82% 68%, rgba(232, 169, 60, .11), transparent 65%);
}
#processMount > .eyebrow, #processMount > h2, #processMount > .process-layout {
  position: relative; z-index: 1;
}
.process-layout {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: var(--space-10);
  align-items: start;
}
.process-track { position: sticky; top: 96px; align-self: start; min-width: 0; }
.process-track__list { position: relative; display: flex; flex-direction: column; gap: var(--space-8); }
.process-rail {
  position: absolute; left: 6px; top: 7px; bottom: 7px; width: 2px;
  background: var(--border-default); z-index: 0;
}
.process-rail__fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: var(--accent-primary); box-shadow: 0 0 8px var(--cyan-500);
  transition: height 0.5s var(--ease-standard);
}
.process-track__item {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: var(--space-3);
}
.process-track__marker {
  flex: 0 0 14px; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--border-strong); background: var(--bg-app);
  display: flex; align-items: center; justify-content: center; color: var(--bg-app);
  transition: all var(--duration-base) var(--ease-standard);
}
.process-track__check { opacity: 0; transition: opacity var(--duration-fast) var(--ease-standard); }
.process-track__label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--tracking-wider);
  text-transform: uppercase; color: var(--text-tertiary);
  transition: color var(--duration-base) var(--ease-standard);
}
.process-track__item.is-active .process-track__marker { border-color: var(--cyan-500); background: var(--cyan-500); box-shadow: var(--glow-cyan); }
.process-track__item.is-active .process-track__label { color: var(--white); }
.process-track__item.is-completed .process-track__marker { border-color: var(--cyan-600); background: var(--cyan-700); }
.process-track__item.is-completed .process-track__check { opacity: 1; color: var(--white); }
.process-track__item.is-completed .process-track__label { color: var(--text-secondary); }
.process-track__item:hover .process-track__marker { border-color: var(--cyan-400); box-shadow: 0 0 10px rgba(45, 212, 224, .35); }
.process-track__item:hover .process-track__label { color: var(--fog-50); }

.process-stages { display: flex; flex-direction: column; gap: var(--space-16); min-width: 0; }
.process-stage {
  position: relative; overflow: hidden;
  min-height: 90vh; display: flex; flex-direction: column; justify-content: center;
  padding: var(--space-10) 0;
}
.process-stage__ghost {
  position: absolute; top: -0.15em; left: -0.04em; z-index: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(7rem, 16vw, 13rem); line-height: 1;
  color: var(--fog-200); opacity: 0.07;
  user-select: none; pointer-events: none;
}
.process-stage__index {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--tracking-wider);
  color: var(--cyan-400); margin-bottom: var(--space-4);
}
.process-stage__body { position: relative; z-index: 1; padding-left: var(--space-6); }
.process-stage__spine { position: absolute; left: 0; top: 2px; bottom: 2px; width: 2px; background: var(--cyan-600); }
.process-stage__spine::before, .process-stage__spine::after {
  content: ''; position: absolute; left: -4px; width: 10px; height: 2px; background: var(--cyan-500);
}
.process-stage__spine::before { top: 0; }
.process-stage__spine::after { bottom: 0; }
.process-stage__heading { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-3); }
.process-stage__icon {
  flex: none;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  color: var(--cyan-400);
  transition: border-color .4s ease, box-shadow .4s ease, color .4s ease;
}
.process-stage__icon.is-active-icon {
  border-color: var(--cyan-500); box-shadow: var(--glow-cyan); color: var(--cyan-300);
}
.process-stage__title {
  font-size: var(--text-display-md); color: var(--white); margin-bottom: 0;
}
.process-visual {
  position: relative; z-index: 1;
  margin-top: var(--space-8);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 45%), var(--bg-raised);
  border: 1px solid var(--border-default); border-radius: var(--radius-md);
  padding: var(--space-8); min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: box-shadow .5s ease, border-color .5s ease, transform .3s ease;
}
.process-visual:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 26px rgba(45, 212, 224, .12);
}
.process-visual.is-active-visual {
  border-color: var(--cyan-700);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 44px rgba(45, 212, 224, .16);
}

/* Stage 1 — Diagnoza: sonar radar sweeping over 2 detected problems */
.diag { width: 100%; max-width: 480px; }
.diag-radar-frame { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.diag svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.diag-radar-overlay {
  position: absolute; z-index: 0; inset: 8.3334%;
  border-radius: var(--radius-full); overflow: hidden;
}
.diag-sweep {
  position: absolute; inset: 0;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(45, 212, 224, .38) 16deg, transparent 58deg, transparent 360deg);
  animation: diag-sweep-spin 5s linear infinite;
}
.diag-ping {
  position: absolute; inset: 0; margin: auto;
  width: 14%; height: 14%; border-radius: var(--radius-full);
  border: 1px solid var(--cyan-400); opacity: 0;
  animation: diag-ping-pulse 3s ease-out infinite;
}
.diag-ping--b { animation-delay: 1.5s; }
@keyframes diag-sweep-spin { to { transform: rotate(360deg); } }
@keyframes diag-ping-pulse {
  0% { transform: scale(0); opacity: .8; }
  70% { opacity: .12; }
  100% { transform: scale(7.2); opacity: 0; }
}
.diag-radar-ring { fill: none; stroke: var(--border-default); stroke-width: 1; }
.diag-radar-cross { stroke: var(--border-subtle); stroke-width: 1; }
.diag-problem { opacity: 0; }
.diag-problem__dot { fill: var(--amber-500); stroke: var(--amber-300); stroke-width: 1; }
.diag-problem__ring { fill: none; stroke: var(--amber-500); stroke-width: 1.5; opacity: 0.6; }
.diag-problem text, .diag-problem tspan {
  fill: var(--text-tertiary); font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.02em;
}
.diag-caption {
  margin-top: var(--space-4); font-family: var(--font-mono); font-size: 11px;
  color: var(--amber-400); text-align: center; opacity: 0;
}
.diag.is-static .diag-problem { opacity: 1; }
.diag.is-static .diag-caption { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .diag-radar-overlay { display: none; }
}

/* Stage 2 — Projekt: a website wireframe building itself, scroll-scrubbed.
   Growth pieces (divider/hero/headline/text) are driven by real SVG
   attributes (x2/width) rather than transform:scale — GSAP's own SVG
   origin handling conflicts with CSS transform-box, which scaled shapes
   from the wrong anchor and made them render in the wrong spot. Only
   opacity/translate are used here, since those need no origin math. */
.site-build { position: relative; width: 100%; max-width: 460px; }
.site-build svg { width: 100%; height: auto; overflow: visible; }
.sb-frame-group { opacity: 0; }
.sb-frame { fill: none; stroke: var(--border-default); stroke-width: 1.5; }
.sb-frame-glass { fill: url(#sbGlass); }
.sb-chrome { opacity: 0; transform: translateY(-4px); }
.sb-dot--red { fill: var(--red-500); }
.sb-dot--yellow { fill: var(--amber-500); }
.sb-dot--green { fill: var(--green-500); }
.sb-url { fill: none; stroke: var(--border-strong); stroke-width: 1.5; }
.sb-divider { stroke: var(--border-subtle); stroke-width: 1; }
.sb-nav-item { opacity: 0; }
.sb-nav-logo { fill: var(--cyan-500); }
.sb-nav-link { fill: var(--border-strong); }
.sb-hero { fill: var(--bg-inset); stroke: var(--border-default); stroke-width: 1; }
.sb-hero-glow { fill: url(#sbHeroGlow); }
.sb-hero-icon { color: var(--text-tertiary); }
.sb-hero-icon circle, .sb-hero-icon polyline {
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
/* Literal draw-in: dasharray set to each shape's own path length so
   dashoffset can travel from "fully hidden" to "fully traced". */
.sb-hero-icon circle { stroke-dasharray: 25.14; stroke-dashoffset: 25.14; }
.sb-hero-icon polyline { stroke-dasharray: 91.43; stroke-dashoffset: 91.43; }
.sb-headline { fill: var(--cyan-400); }
.sb-text { fill: var(--text-tertiary); }
.sb-text--lead { fill: var(--text-secondary); }
.sb-cta { fill: var(--cyan-500); opacity: 0; transform: translateY(8px); }
.site-build.is-static .sb-frame-group,
.site-build.is-static .sb-chrome,
.site-build.is-static .sb-nav-item,
.site-build.is-static .sb-cta { opacity: 1; transform: none; }
.site-build.is-static .sb-hero-icon circle,
.site-build.is-static .sb-hero-icon polyline { stroke-dashoffset: 0; }

/* Stage 3 — Wdrożenie: deployment status ladder */
.deploy { position: relative; width: 100%; max-width: 320px; padding-left: 28px; font-size: 1.05em; }
.deploy__rail { position: absolute; left: -22px; top: 6px; bottom: 6px; width: 2px; background: var(--border-default); }
.deploy__rail-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: var(--cyan-500); }
.deploy__step { position: relative; display: flex; align-items: center; gap: var(--space-3); padding: 10px 0; }
.deploy__dot {
  position: absolute; left: -28px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--border-strong); background: var(--bg-app);
  transition: all var(--duration-base) var(--ease-standard);
}
.deploy__label {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--text-tertiary);
  transition: color var(--duration-base) var(--ease-standard);
}
.deploy__check { opacity: 0; color: var(--semantic-success); }
.deploy__shimmer {
  position: absolute; top: 0; left: 0; height: 100%; width: 60px;
  background: linear-gradient(100deg, transparent, rgba(62, 207, 142, .4), transparent);
  opacity: 0; pointer-events: none;
}
.deploy__step.is-live .deploy__dot { border-color: var(--cyan-500); background: var(--cyan-500); }
.deploy__step.is-live .deploy__label { color: var(--white); }
.deploy__step.is-online .deploy__dot { border-color: var(--semantic-success); background: var(--semantic-success); box-shadow: 0 0 8px var(--semantic-success); }
.deploy__step.is-online .deploy__label { color: var(--semantic-success); }
.deploy__step.is-online .deploy__check { opacity: 1; }

/* Stage 4 — Optymalizacja: amber growth bars + green ROI counter + a live
   notification feed, all firing once when the stage scrolls into view. */
.opt-panel { display: flex; align-items: flex-end; gap: var(--space-6); width: 100%; }
.opt-panel__chart { flex: 1 1 58%; min-width: 0; display: flex; flex-direction: column; gap: var(--space-5); }
.opt-stat { display: flex; align-items: baseline; gap: var(--space-3); }
.opt-stat__value {
  font-family: var(--font-display); font-weight: var(--weight-bold);
  font-size: var(--text-h1); line-height: 1; color: var(--semantic-success);
}
.opt-stat__label { font-size: var(--text-body-sm); color: var(--text-secondary); }
.opt-bars { width: 100%; height: auto; overflow: visible; }
.opt-bar { fill: var(--amber-500); }
.opt-panel__feed { flex: 1 1 42%; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.opt-toast {
  display: flex; align-items: center; gap: var(--space-2);
  background: var(--bg-inset); border: 1px solid var(--border-default); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary);
  opacity: 0; transform: translateX(16px);
}
.opt-toast__icon {
  flex: none; width: 18px; height: 18px; border-radius: var(--radius-full);
  background: rgba(62, 207, 142, .15); color: var(--semantic-success);
  display: flex; align-items: center; justify-content: center;
}
.opt-panel.is-static .opt-toast { opacity: 1; transform: none; }

.tabs__promise {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--text-h3);
  color: var(--white);
  line-height: var(--leading-snug);
  margin: 0 0 var(--space-3);
}
.tabs__detail {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  margin: 0;
}
.process-note {
  color: var(--cyan-400);
  font-weight: var(--weight-semibold);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  margin: var(--space-4) 0 0;
}
.process-stat {
  display: flex; align-items: center; gap: var(--space-4);
  margin-top: var(--space-6);
}
.process-stat__value {
  flex: none;
  font-family: var(--font-display); font-weight: var(--weight-bold);
  font-size: var(--text-h1); line-height: 1;
  color: var(--cyan-400);
}
.process-stat__value--sm { font-size: var(--text-h2); }
.process-stat__label {
  color: var(--text-secondary);
  font-size: var(--text-body-sm);
  line-height: var(--leading-relaxed);
  margin: 0;
}
.process-stat__label--cyan { color: var(--cyan-400); }

/* ==========================================================================
   Outcomes (bridge stats)
   ========================================================================== */
.outcomes__intro {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.outcome-card {
  transition: transform .3s var(--ease-standard), border-color .3s ease, box-shadow .3s ease;
}
.outcome-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-600);
  box-shadow: var(--shadow-md), 0 0 24px rgba(45, 212, 224, .1);
}
.outcome-card__icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  color: var(--cyan-400); margin-bottom: var(--space-5);
  transition: border-color .3s ease, color .3s ease;
  overflow: hidden;
}
.outcome-card:hover .outcome-card__icon {
  border-color: var(--cyan-500); color: var(--cyan-300);
}

/* Outcome icon micro-animations — quick contextual burst on card hover */
@keyframes icon-clock-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.outcome-card:hover .icon-anim--clock-hands {
  transform-origin: 12px 12px;
  animation: icon-clock-spin .5s var(--ease-standard);
}

@keyframes icon-zap-flicker {
  0%, 100% { opacity: 1; }
  20% { opacity: .25; }
  40% { opacity: 1; }
  60% { opacity: .4; }
  80% { opacity: 1; }
}
.outcome-card:hover .icon-anim--zap {
  animation: icon-zap-flicker .45s var(--ease-standard);
}

@keyframes icon-link-pulse {
  0%, 100% { stroke-dashoffset: 0; }
  45% { stroke-dashoffset: 8; }
}
.outcome-card:hover .icon-anim--link {
  stroke-dasharray: 8;
  animation: icon-link-pulse .5s var(--ease-standard);
}

@keyframes icon-growth-corner {
  0% { transform: translate(0, 0); opacity: 1; }
  40% { transform: translate(14px, -14px); opacity: 0; }
  42% { transform: translate(0, 0); opacity: 0; }
  70%, 100% { transform: translate(0, 0); opacity: 1; }
}
.outcome-card:hover .icon-anim--growth {
  animation: icon-growth-corner .6s var(--ease-standard);
}

@keyframes icon-shield-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.16); }
}
.outcome-card:hover .icon-anim--shield {
  transform-box: fill-box;
  transform-origin: center;
  animation: icon-shield-pulse .5s var(--ease-standard);
}

@keyframes icon-chart-rise {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.outcome-card:hover .icon-anim--chart-bar {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: icon-chart-rise .4s var(--ease-out) both;
  animation-delay: calc(var(--bar-i, 0) * 70ms);
}
.outcome-card h3 {
  font-size: 18px; color: var(--white); margin: 0 0 var(--space-2);
}
.outcome-card p {
  color: var(--text-tertiary); font-size: var(--text-body-sm); line-height: var(--leading-relaxed); margin: 0;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services__intro {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.services-grid .card--featured { grid-column: span 2; }
.service-card h3 {
  font-size: 20px; color: var(--white); margin: var(--space-4) 0 var(--space-2);
}
.service-card p {
  color: var(--text-tertiary); font-size: var(--text-body-sm); line-height: var(--leading-relaxed);
}
/* All service cards (flagship included) lift/scale on hover so the hovered
   card pops above its neighbors. Non-flagship cards also fade in corner
   brackets on hover; the flagship's brackets stay permanent, above. */
.service-card {
  transition: transform .3s var(--ease-standard), box-shadow .3s var(--ease-standard);
}
.service-card:hover {
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}
.service-card:not(.card--featured):hover {
  box-shadow: var(--shadow-lg);
}
.card--featured:hover {
  box-shadow: var(--shadow-lg), var(--glow-cyan);
}
.service-card:not(.card--featured)::before,
.service-card:not(.card--featured)::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--cyan-500);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.service-card:not(.card--featured)::before { top: -1px; left: -1px; border-right: none; border-bottom: none; transform-origin: top left; }
.service-card:not(.card--featured)::after { bottom: -1px; right: -1px; border-left: none; border-top: none; transform-origin: bottom right; }
.service-card:not(.card--featured):hover::before,
.service-card:not(.card--featured):hover::after {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   Mission
   ========================================================================== */
.mission h2 { max-width: 820px; }
.mission__body {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.mission__body p {
  color: var(--text-secondary);
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
}
.mission__closing {
  margin-top: var(--space-8);
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--text-h3);
  color: var(--accent-primary);
}
.mission__layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.mission__side { display: flex; flex-direction: column; }
.mission__focus {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  max-width: 480px;
  margin: var(--space-8) auto 0;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}
.mission__focus-icon {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-default); border-radius: var(--radius-full);
  color: var(--cyan-400);
}
.mission__focus-title { color: var(--text-primary); font-weight: var(--weight-medium); margin: 0 0 var(--space-1); }
.mission__focus-desc { color: var(--text-tertiary); font-size: var(--text-body-sm); margin: 0; }

/* Mission visual: stippled-node Poland network map (see renderMissionVisual in main.js) */
.mission__visual { width: 100%; max-width: 720px; margin: 0 auto; }
.mission__visual svg { width: 100%; height: auto; overflow: visible; }
.mission-map__grid-line { stroke: var(--border-subtle); stroke-width: .5; }
.mission-map__grid-rect { fill: url(#missionGrid); opacity: .4; }
.mission-map__land-fill { fill: var(--cyan-500); opacity: .06; }
.mission-map__noise-dot { fill: var(--fog-300); opacity: .16; }
.mission-map__node--minor { fill: var(--cyan-500); opacity: .5; filter: drop-shadow(0 0 2px rgba(45, 212, 224, .5)); }
.mission-map__region-dot { fill: var(--cyan-500); opacity: .32; }
.mission-map__outline-dot { fill: var(--white); opacity: .78; }
.mission-map__mesh-link { stroke: var(--space-400); stroke-width: .75; opacity: .3; }
.mission-map__node--potential {
  fill: var(--space-500); stroke: var(--space-400); stroke-width: 1;
  filter: drop-shadow(0 0 3px rgba(74, 82, 104, .55));
}
.mission-map__link {
  stroke: var(--cyan-500); stroke-width: 1; opacity: .55;
  filter: drop-shadow(0 0 2px rgba(45, 212, 224, .6));
}
.mission-map__node--active {
  fill: var(--cyan-500);
  filter: drop-shadow(0 0 4px rgba(45, 212, 224, .9)) drop-shadow(0 0 12px rgba(45, 212, 224, .5));
}
.mission-map__node--hub {
  fill: var(--cyan-400);
  filter: drop-shadow(0 0 6px rgba(111, 228, 234, .95)) drop-shadow(0 0 22px rgba(45, 212, 224, .55));
}
.mission-map__halo {
  fill: none; stroke: var(--cyan-400); stroke-width: 1.5; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: mission-halo-pulse 3.2s ease-out infinite;
  animation-delay: calc(var(--pulse-i, 0) * .45s);
}
.mission-map__halo--hub { stroke: var(--cyan-300); stroke-width: 2; animation-duration: 3.6s; }
@keyframes mission-halo-pulse {
  0% { transform: scale(.6); opacity: .7; }
  70% { opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mission-map__halo { animation: none; opacity: 0; }
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-raised);
  overflow: hidden;
}
.faq-item__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  color: var(--text-primary); font-family: var(--font-body); font-weight: var(--weight-medium); font-size: var(--text-body-lg);
  min-height: 44px;
}
.faq-item__icon {
  font-family: var(--font-mono); color: var(--cyan-400); font-size: 18px; flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-standard);
}
.faq-item[data-open="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  height: 0;
  overflow: hidden;
  color: var(--text-secondary); font-size: var(--text-body); line-height: var(--leading-relaxed);
}
.faq-item__a[hidden] { display: none; }
.faq-item__a-inner { padding: 0 var(--space-6) var(--space-6); }

/* ==========================================================================
   Final CTA / contact
   ========================================================================== */
.final-cta { text-align: center; }
.final-cta h2 { font-size: var(--text-h1); max-width: 640px; margin: 0 auto var(--space-4); }
.final-cta__body {
  max-width: 560px;
  margin: 0 auto var(--space-8);
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
}
.final-cta__reassurances {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--space-3) var(--space-8);
  margin: 0 0 var(--space-10);
  padding: 0;
  list-style: none;
}
.final-cta__reassurance {
  display: flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: var(--tracking-wide);
  color: var(--fog-100);
}
.final-cta__reassurance-check {
  flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-500); color: var(--text-on-accent);
}
.contact-panel {
  margin: var(--space-10) auto 0;
  max-width: 520px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  background: var(--bg-raised);
}
.contact-panel__note {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--tracking-wide);
  color: var(--text-tertiary); margin-bottom: var(--space-5);
  text-transform: uppercase;
}
.contact-panel__links { display: flex; flex-direction: column; gap: var(--space-3); align-items: center; }
.contact-panel__links a {
  font-family: var(--font-mono); font-size: 14px; color: var(--cyan-400);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--cyan-700);
  background: var(--bg-surface);
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-6);
  padding-top: var(--space-6);
  padding-bottom: var(--space-5);
}
.footer__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.footer__brand img { height: 20px; width: 20px; }
.footer__brand span { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--white); }
.footer__nav { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.footer__nav a { font-size: 13px; color: var(--text-tertiary); transition: color .2s; }
.footer__nav a:hover { color: var(--cyan-400); }
.footer__contact { display: flex; align-items: center; gap: var(--space-5); flex-shrink: 0; }
.footer__contact a { font-size: 13px; color: var(--text-tertiary); transition: color .2s; }
.footer__contact a:hover { color: var(--cyan-400); }
.footer__bottom { border-top: 1px solid var(--border-subtle); }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-3);
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: var(--text-caption); color: var(--text-tertiary);
}
.footer__links { display: flex; gap: var(--space-5); }
.footer__links a { color: var(--text-tertiary); }
.footer__links a:hover { color: var(--cyan-400); }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal {
  padding: var(--space-24) 0 var(--space-20);
}
.legal__inner { max-width: 720px; margin: 0 auto; }
.legal h1 {
  font-size: var(--text-display-md);
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.legal__updated {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-wide);
  color: var(--text-tertiary);
  margin-bottom: var(--space-12);
}
.legal h2 {
  font-size: var(--text-h3);
  color: var(--text-primary);
  margin: var(--space-10) 0 var(--space-4);
}
.legal h2:first-of-type { margin-top: 0; }
.legal p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}
.legal ul {
  margin: 0 0 var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.legal li {
  position: relative;
  padding-left: var(--space-5);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}
.legal li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .65em;
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--accent-primary);
}
.legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Contact page (kontakt.html)
   ========================================================================== */
.contact-hero { text-align: center; }
.contact-hero__h1 { font-size: var(--text-h1); max-width: 640px; margin: 0 auto var(--space-4); }
.contact-hero__sub {
  max-width: 560px;
  margin: 0 auto var(--space-10);
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
}
.contact-hero .outcomes-grid { text-align: left; margin-bottom: var(--space-10); }

.contact-form-wrap { max-width: 640px; margin: 0 auto; }
.contact-form-wrap__intro { color: var(--text-secondary); margin: 0 0 var(--space-8); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.contact-form__field { display: flex; flex-direction: column; gap: var(--space-2); }
.contact-form__field label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--text-tertiary);
}
.contact-form__field input,
.contact-form__field textarea {
  font-family: var(--font-body); font-size: var(--text-body-sm); color: var(--text-primary);
  background: var(--bg-inset); border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4); resize: vertical;
  transition: border-color .2s ease;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none; border-color: var(--focus-ring);
}
.contact-form__submit { align-self: flex-start; }
.contact-form__hint { color: var(--text-tertiary); font-size: var(--text-body-sm); margin: 0; }

.contact-trust { justify-content: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(1, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .process-layout { grid-template-columns: minmax(180px, 220px) 1fr; gap: var(--space-6); }
  .mission__layout { grid-template-columns: 1fr; gap: var(--space-10); }
  .mission__visual { max-width: 500px; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__logo-sub { display: none; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-4) var(--container-pad);
  }
  .nav.is-open .nav__links a { padding: var(--space-3) 0; width: 100%; }
  .hero { padding: 96px var(--container-pad) 72px; }
  .hero__frame { padding: var(--space-6) var(--space-5); }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .card--featured { grid-column: span 1; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .section { padding: var(--space-16) 0; }
  .section h2 { font-size: var(--text-display-md); }
  .legal { padding: var(--space-16) 0 var(--space-12); }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .footer__bottom-inner { padding-top: 20px; padding-bottom: 20px; }
  .process-layout { grid-template-columns: 1fr; gap: var(--space-6); }
  .process-track { position: static; margin-bottom: var(--space-8); }
  .process-track__list { flex-direction: row; flex-wrap: wrap; gap: var(--space-4) var(--space-6); }
  .process-rail { display: none; }
  .process-stage { min-height: auto; padding: var(--space-8) 0; }
  .process-stage__ghost { font-size: clamp(4.5rem, 24vw, 7rem); }
  .process-stage__title { font-size: var(--text-h2); }
  .process-visual { padding: var(--space-6); min-height: 180px; }
  .opt-panel { flex-direction: column; align-items: stretch; }
  .contact-form__row { grid-template-columns: 1fr; }
}
