:root {
  --bg:      #ffffff;
  --surface: #fbfaf8;
  --fg:      #16150f;
  --muted:   #6b6560;
  --border:  #e8e5de;
  --accent:  #e8650a;   /* budowlany pomarańcz */
  --accent2: #f5a623;   /* hi-vis żółty */
  --teal:    #12a594;
  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ── 3D BACKGROUND ── */
#bg-3d {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#bg-3d canvas { display: block; }
/* white scrim so the headline stays readable over the scene on the left */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      #ffffff 0%,
      #ffffff 24%,
      rgba(255,255,255,.78) 40%,
      rgba(255,255,255,.2) 58%,
      rgba(255,255,255,0) 70%);
}

/* ── HEADER ── */
.header {
  position: relative;
  z-index: 3;
  padding: 26px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.logo {
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: .03em;
  color: var(--fg);
  text-decoration: none;
  text-transform: uppercase;
}
.logo span { color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 14px; }
.header-login {
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--accent); border: 1px solid var(--accent);
  padding: 8px 18px; border-radius: 999px; text-decoration: none;
  transition: background .15s, transform .08s;
}
.header-login:hover { background: #cf590a; }
.header-login:active { transform: translateY(1px); }
.header-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fff4ed;
  border: 1px solid #fcd9b8;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.header-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(232,101,10,.5);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,101,10,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(232,101,10,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,101,10,0); }
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 64px;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 600px;
  padding: 56px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(58px, 6.6vw, 108px);
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .9;
  color: var(--fg);
}
.hero-title .accent { color: var(--accent); }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--fg);
  max-width: 460px;
}
.hero-kicker b { color: var(--accent); font-weight: 700; }
.hero-kicker .tick {
  flex: none;
  width: 34px; height: 2px;
  background: var(--border);
}
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  text-align: center;
  background: var(--bg);
}
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-copy strong { color: var(--accent); font-weight: 700; }

/* ── RESPONSIVE ── */
@media (max-width: 920px) {
  .scrim {
    background: linear-gradient(180deg,
      rgba(255,255,255,.92) 0%,
      rgba(255,255,255,.7) 34%,
      rgba(255,255,255,.35) 60%,
      rgba(255,255,255,.1) 100%);
  }
  .hero { padding: 0 28px; }
  .hero-left { padding: 40px 0; gap: 22px; }
  .header { padding: 20px 28px; }
}
@media (max-width: 540px) {
  .header-badge .label-long { display: none; }
}
