/* Reset, typografia, siatka, przyciski */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  font: 400 16px/1.55 var(--f-body); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sec { padding-block: var(--sec-y); }
.sec--alt { background: var(--paper-2); }
.sec--tight { padding-top: 0; }

/* Typografia */
.display, .h2, .h3, .num {
  font-family: var(--f-display); font-variation-settings: "wdth" var(--wdth-display);
  font-weight: 800; letter-spacing: -.015em; text-wrap: balance;
}
.display { font-size: var(--fs-hero); line-height: .92; }
.h2 { font-size: var(--fs-h2); line-height: .95; }
.h3 { font-size: var(--fs-h3); line-height: 1.05; }
.num { font-variant-numeric: tabular-nums; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-3); }
.muted { color: var(--ink-2); }

.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head__copy { display: grid; gap: 16px; max-width: 760px; }

/* Przyciski */
.btn {
  --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h);
  padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-med) var(--ease), box-shadow var(--t-fast);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(228, 87, 15, .8); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2926; }
.btn--line { border: 1px solid var(--line-2); background: var(--surface); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Chipy, tagi */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--paper-2); font: 600 12px var(--f-body); color: var(--ink-2); }
.chip--accent { background: var(--accent-soft); color: var(--accent-hover); }
.chip--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* Wjazd */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-anim .reveal { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }
