/* ============================================================
   PickToLight.pl  -  industrial dark theme
   ============================================================ */

:root {
  --bg:           #07090a;
  --bg-1:         #0b0e10;
  --bg-2:         #10141600;
  --surface:      #0e1214;
  --surface-2:    #141a1d;
  --surface-3:    #1a2125;
  --line:         #1d2528;
  --line-strong:  #2a363b;
  --text:         #e8ece9;
  --text-dim:     #9aa6a2;
  --muted:        #6b7873;
  --faint:        #46524d;

  --led:          #1bff8a;   /* signal green */
  --led-deep:     #07b362;
  --led-glow:     rgba(27, 255, 138, 0.35);
  --amber:        #ffb020;
  --amber-glow:   rgba(255, 176, 32, 0.28);
  --red:          #ff4d52;

  --radius:       4px;
  --radius-lg:    8px;
  --max:          1240px;

  --shadow-soft:  0 1px 0 rgba(255, 255, 255, 0.03) inset,
                  0 30px 80px -30px rgba(0, 0, 0, 0.7);

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* atmospheric backgrounds  ---------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 600px at 82% -10%, rgba(27, 255, 138, 0.06), transparent 60%),
    radial-gradient(700px 500px at -5% 35%, rgba(255, 176, 32, 0.04), transparent 60%),
    radial-gradient(1100px 700px at 50% 110%, rgba(27, 255, 138, 0.04), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

main, header, footer { position: relative; z-index: 1; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img { display: block; max-width: 100%; }

::selection { background: var(--led); color: #04120a; }

/* header  --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(7, 9, 10, 0.72);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--led-deep), transparent);
  opacity: 0.35;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  font-size: 1.02rem;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background:
    radial-gradient(circle at 25% 50%, var(--led) 0 22%, transparent 23%),
    radial-gradient(circle at 50% 50%, var(--amber) 0 22%, transparent 23%),
    radial-gradient(circle at 75% 50%, var(--led-deep) 0 22%, transparent 23%),
    #050707;
  box-shadow: 0 0 16px var(--led-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 4px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a { position: relative; padding: 4px 0; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--led);
  transition: right 0.25s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { right: 0; }

.header-cta {
  position: relative;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, rgba(27, 255, 138, 0.05), transparent);
  transition: border-color 0.2s, box-shadow 0.25s, color 0.2s;
}
.header-cta:hover {
  border-color: var(--led-deep);
  color: var(--led);
  box-shadow: 0 0 0 1px var(--led-deep), 0 0 24px var(--led-glow);
}

/* sections / typography  ------------------------------------ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 28px;
  position: relative;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.025em;
  font-weight: 600;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.2vw, 3.4rem);
  line-height: 1.04;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}

p { color: var(--text-dim); }

/* mono kicker labels for sections  -------------------------- */
.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(300px, 1fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 56px;
  position: relative;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -32px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.section-heading p {
  margin: 0;
  font-size: 1.06rem;
  color: var(--text-dim);
  max-width: 520px;
}

.section-heading h2 { position: relative; }
.section-heading h2[data-kicker]::before {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--led);
  text-transform: uppercase;
  content: attr(data-kicker);
}

/* hero  ----------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
  gap: 64px;
  align-items: center;
  min-height: min(760px, calc(100vh - 80px));
  padding-top: 96px;
  padding-bottom: 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 80px -40px auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--led-glow), transparent 60%);
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
}

.hero-copy { position: relative; }

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 760px;
  color: var(--text);
}

.hero h1::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.18em;
  margin-bottom: 0.06em;
  border-radius: 50%;
  background: var(--led);
  box-shadow: 0 0 18px var(--led-glow);
  animation: led-blink 2.6s ease-in-out infinite;
  vertical-align: baseline;
}

@keyframes led-blink {
  0%, 60%, 100% { opacity: 1; transform: scale(1); }
  70%  { opacity: 0.3; transform: scale(0.85); }
  80%  { opacity: 1; transform: scale(1); }
  90%  { opacity: 0.5; transform: scale(0.9); }
}

.hero p {
  max-width: 540px;
  margin: 32px 0 0;
  color: var(--text-dim);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* buttons  -------------------------------------------------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.2s, border-color 0.2s;
  overflow: hidden;
  isolation: isolate;
}

.button.primary {
  background: linear-gradient(180deg, #20ff90 0%, #0fd571 100%);
  color: #04120a;
  border-color: #0fd571;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset,
    0 10px 24px -6px rgba(27, 255, 138, 0.4),
    0 0 0 1px rgba(27, 255, 138, 0.4);
}
.button.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  z-index: -1;
}
.button.primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset,
    0 16px 32px -6px rgba(27, 255, 138, 0.5),
    0 0 0 1px rgba(27, 255, 138, 0.6);
}
.button.primary:hover::after { transform: translateX(120%); }

.button.secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-strong);
  color: var(--text);
}
.button.secondary:hover {
  border-color: var(--led-deep);
  color: var(--led);
  box-shadow: 0 0 0 1px var(--led-deep), 0 0 28px var(--led-glow);
}

/* hero media frame  ----------------------------------------- */
.hero-media {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.4)),
    #0a0d0e;
  box-shadow: var(--shadow-soft);
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--led);
  pointer-events: none;
}
.hero-media::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-media::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  filter: contrast(1.02) saturate(0.92) brightness(0.95);
}

/* audience grid  -------------------------------------------- */
.audience {
  padding-top: 80px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
}

.audience-grid article {
  position: relative;
  min-height: 220px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(27, 255, 138, 0) 100%);
  transition: background 0.3s ease, border-color 0.3s ease;
  counter-increment: audience;
}

.audience-grid article::before {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  content: "0" counter(audience) " / 04";
}

.audience-grid {
  counter-reset: audience;
}

.audience-grid article:hover {
  background: linear-gradient(180deg, rgba(27, 255, 138, 0.04), transparent);
}

.audience-grid article:hover::before { color: var(--led); }

.audience-grid h3 {
  font-size: 1.12rem;
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

.audience-grid p {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 0.96rem;
}

/* problem band  --------------------------------------------- */
.problem-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr);
  gap: 64px;
  max-width: none;
  padding-left: max(28px, calc((100vw - var(--max)) / 2));
  padding-right: max(28px, calc((100vw - var(--max)) / 2));
  padding-top: 120px;
  padding-bottom: 120px;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(27, 255, 138, 0.05), transparent 70%),
    linear-gradient(180deg, #050708, #0a0d0e);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.problem-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.025) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
}

.problem-copy { position: relative; }

.problem-copy h2::before {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
  content: "[ value ] efekt biznesowy";
}

.problem-copy p {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 1.06rem;
  max-width: 460px;
}

.problem-list {
  display: grid;
  gap: 0;
  position: relative;
}

.problem-list div {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s ease;
}
.problem-list div:first-child { border-top: 1px solid var(--line); }

.problem-list div:hover { padding-left: 12px; }

.problem-list span {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: -0.02em;
}

.problem-list p {
  margin: 0;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 400;
}

.problem-list div::after {
  content: "→";
  font-family: var(--font-mono);
  color: var(--faint);
  transition: color 0.2s, transform 0.25s;
}
.problem-list div:hover::after {
  color: var(--led);
  transform: translateX(4px);
}

/* timeline  ------------------------------------------------- */
.scope { padding-top: 140px; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.timeline li {
  position: relative;
  min-height: 280px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.timeline li:last-child { border-right: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  top: 60px;
  right: -6px;
  width: 11px;
  height: 11px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  z-index: 1;
}

.timeline li:last-child::before { display: none; }

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 36px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(27, 255, 138, 0.12), rgba(27, 255, 138, 0.02));
  border: 1px solid var(--led-deep);
  color: var(--led);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 18px rgba(27, 255, 138, 0.18), inset 0 0 12px rgba(27, 255, 138, 0.06);
}

.timeline strong {
  display: block;
  margin-top: auto;
  margin-bottom: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.timeline p {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 0.94rem;
}

/* workflow  ------------------------------------------------- */
.workflow {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(420px, 1fr);
  gap: 64px;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 140px;
}

.workflow-text h2::before {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--led);
  text-transform: uppercase;
  content: "[ flow ] przepływ sygnału";
}

.workflow-text p {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 1.06rem;
  max-width: 420px;
}

.workflow-steps {
  display: grid;
  gap: 10px;
  position: relative;
}

.workflow-steps div {
  position: relative;
  padding: 22px 22px 22px 66px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.005em;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  counter-increment: workflow;
}

.workflow-steps {
  counter-reset: workflow;
}

.workflow-steps div::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--led);
  box-shadow: 0 0 0 4px rgba(27, 255, 138, 0.12), 0 0 18px var(--led-glow);
  animation: pulse 2.4s ease-in-out infinite;
}

.workflow-steps div:nth-child(1)::before { animation-delay: 0s; }
.workflow-steps div:nth-child(2)::before { animation-delay: 0.6s; }
.workflow-steps div:nth-child(3)::before { animation-delay: 1.2s; }
.workflow-steps div:nth-child(4)::before { animation-delay: 1.8s; }

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: translateY(-50%) scale(0.9); }
  50%      { opacity: 1;   transform: translateY(-50%) scale(1.05); }
}

.workflow-steps div::after {
  content: "0" counter(workflow);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--faint);
  letter-spacing: 0.1em;
}

.workflow-steps div:hover {
  border-color: var(--led-deep);
  background: linear-gradient(180deg, var(--surface-2), var(--surface-3));
}

/* integrations  --------------------------------------------- */
.integrations {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(340px, 1fr);
  gap: 64px;
  align-items: center;
  max-width: none;
  padding-left: max(28px, calc((100vw - var(--max)) / 2));
  padding-right: max(28px, calc((100vw - var(--max)) / 2));
  padding-top: 140px;
  padding-bottom: 140px;
  background:
    radial-gradient(800px 500px at 80% 50%, rgba(255, 176, 32, 0.04), transparent 70%),
    linear-gradient(180deg, #06080a, #0a0d0e);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.panel-preview {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0d1112, #08090a);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 40px 80px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.panel-preview::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--led-deep), transparent);
  opacity: 0.5;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.panel-top span:first-child { color: var(--text); font-weight: 500; }

.status-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--led);
  font-size: 0.78rem;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--led);
  box-shadow: 0 0 0 3px rgba(27, 255, 138, 0.18), 0 0 10px var(--led-glow);
  animation: pulse 2s ease-in-out infinite;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  position: relative;
}

.panel-row:last-child { border-bottom: 0; }

.panel-row span {
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.panel-row strong {
  color: var(--text);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.panel-row.active {
  background: linear-gradient(90deg, rgba(27, 255, 138, 0.08), transparent 60%);
  border-left: 2px solid var(--led);
}
.panel-row.active span { color: var(--text); }
.panel-row.active strong { color: var(--led); }

.integrations-copy h2::before {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
  content: "[ ui / api ] panel i integracje";
}

.integrations-copy p {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 1.06rem;
  max-width: 460px;
}

.integration-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.integration-list span {
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.integration-list span::before {
  content: "→ ";
  color: var(--faint);
}
.integration-list span:hover {
  border-color: var(--led-deep);
  color: var(--led);
  background: rgba(27, 255, 138, 0.04);
}

/* quote process steps  -------------------------------------- */
.quote-process { padding-top: 140px; padding-bottom: 80px; }

.quote-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: qstep;
}

.quote-steps div {
  position: relative;
  min-height: 170px;
  padding: 24px;
  padding-top: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.005em;
  line-height: 1.4;
  counter-increment: qstep;
  transition: border-color 0.2s, background 0.2s;
}

.quote-steps div::before {
  position: absolute;
  top: 22px;
  left: 24px;
  content: "0" counter(qstep);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--led);
}

.quote-steps div::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 24px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--led);
  box-shadow: 0 0 8px var(--led-glow);
}

.quote-steps div:hover {
  border-color: var(--led-deep);
  background: linear-gradient(180deg, rgba(27, 255, 138, 0.03), var(--surface));
}

/* contact  -------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(440px, 1fr);
  gap: 64px;
  align-items: start;
  max-width: none;
  padding-left: max(28px, calc((100vw - var(--max)) / 2));
  padding-right: max(28px, calc((100vw - var(--max)) / 2));
  padding-top: 120px;
  padding-bottom: 140px;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(27, 255, 138, 0.07), transparent 70%),
    linear-gradient(180deg, #050708, #08090a);
  border-top: 1px solid var(--line);
}

.contact-copy h2::before {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--led);
  text-transform: uppercase;
  content: "[ contact ] zacznij wdrożenie";
}

.contact-copy p {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 1.06rem;
}

.contact-copy a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 0;
  color: var(--led);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--led-deep);
}
.contact-copy a::after {
  content: "↗";
  transition: transform 0.2s;
}
.contact-copy a:hover::after { transform: translate(2px, -2px); }

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(27, 255, 138, 0.025), transparent 30%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--bg-1);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.quote-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.quote-form textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font-body);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--led);
  background: #0a0e0c;
  box-shadow: 0 0 0 3px rgba(27, 255, 138, 0.12);
}

.quote-form .full { grid-column: 1 / -1; }

.quote-form button.full { margin-top: 8px; }

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--led);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* footer  --------------------------------------------------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px max(28px, calc((100vw - var(--max)) / 2));
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.footer span:first-child {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

.footer span:nth-child(2) {
  font-family: var(--font-body);
  letter-spacing: 0;
  color: var(--text-dim);
  max-width: 520px;
}

.footer nav {
  display: flex;
  gap: 22px;
}

.footer a {
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer a:hover { color: var(--led); }

/* legal pages  ---------------------------------------------- */
.legal-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 28px 120px;
  position: relative;
  z-index: 1;
}

.legal-main h1 {
  margin: 0 0 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.legal-main h2 {
  margin-top: 56px;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.legal-main p,
.legal-main li {
  color: var(--text-dim);
}

.legal-main a {
  color: var(--led);
  font-weight: 500;
  border-bottom: 1px solid var(--led-deep);
}

.legal-note {
  margin: 32px 0;
  padding: 22px 26px;
  border: 1px solid var(--amber);
  border-left-width: 3px;
  border-radius: var(--radius);
  background: rgba(255, 176, 32, 0.06);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* entrance animations  -------------------------------------- */
.hero-copy > *,
.hero-media {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.8s cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
}
.hero-copy h1     { animation-delay: 0.15s; }
.hero-copy p      { animation-delay: 0.28s; }
.hero-actions     { animation-delay: 0.42s; }
.hero-media       { animation-delay: 0.2s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* responsive  ----------------------------------------------- */
@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; gap: 14px; }
  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.88rem;
  }

  .section { padding: 88px 24px; }

  .hero,
  .section-heading,
  .problem-band,
  .workflow,
  .integrations,
  .contact {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 44px;
  }

  .audience-grid,
  .quote-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline li:nth-child(2) { border-right: 0; }
  .timeline li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .timeline li::before { display: none; }

  .problem-band,
  .integrations,
  .contact {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
    padding: 14px 18px;
  }

  .brand { width: 100%; }
  .header-cta { width: 100%; text-align: center; }
  .nav { display: none; }

  .section { padding: 64px 18px; }

  .hero h1 { letter-spacing: -0.03em; }
  .hero-actions, .button { width: 100%; }
  .hero-media img { aspect-ratio: 16 / 9; }

  .audience-grid,
  .timeline,
  .quote-steps,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .timeline li,
  .timeline li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .timeline li:last-child { border-bottom: 0; }

  .problem-list div {
    grid-template-columns: 48px 1fr;
  }
  .problem-list div::after { display: none; }

  .panel-top, .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer nav { flex-direction: column; gap: 8px; }
}
