/* Generated from Figma variables. Do not edit by hand — re-sync & regenerate from the Tokens tab. */

:root {
  /* Colors */
  --brand: #f4d34e;
  --white: #ffffff;
  --light2: #d7e0e4;
  --light1: #030303;
  --black3: #161410;
  --dark-2: #03111f;
  --black2: #282827;
  --bia-y: #ffffff;
  --black1: #ffffff;
  --light3: #ffffff;

  /* Spacing */
  --padding-horizontal: 24px;
  --padding-vertical: 24px;
  --cards-gap: 20px;
  --section-gap: 48px;
  --section-padding: 100px;

  /* Radius */
  --border-radius: 0px;
}

/* Section vertical rhythm — the ONE canonical top/bottom padding every <section>
   uses (padding-block: var(--section-pad-block)). A single site-wide ladder keeps
   the gaps between sections identical and steps them down on tablet/phone. Desktop
   seeds from the Figma --section-padding token when present, else 96px. */
:root { --section-pad-block: var(--section-padding, 96px); }
@media (max-width: 1023px) { :root { --section-pad-block: calc(var(--section-padding, 96px) * 0.7); } }
@media (max-width: 767px)  { :root { --section-pad-block: calc(var(--section-padding, 96px) * 0.5); } }

/* Typography */
.text-16px-text {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

.text-18-px-button {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 23.4px;
  letter-spacing: -0.02em;
}

.text-32px-title {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 38.4px;
  letter-spacing: -0.02em;
}

.text-48px-title {
  font-family: "Poppins", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 57.6px;
  letter-spacing: -0.02em;
}

.text-40px-title {
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.02em;
}

.text-24px-title {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 31.2px;
  letter-spacing: -0.02em;
}

.text-20px-text {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
}

.text-18px-text {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 23.4px;
}

/* UI signature — derived from the design; every component honours these:
   1) Primary CTA is a SHARP (0-radius) solid yellow (#f4d34e / --brand) rectangle with BLACK label
      and a trailing arrow sitting inside a filled BLACK circular disc — the black arrow-disc is the brand's signature button affordance.
   2) Secondary button is a SHARP black (#030303 / --light1) rectangle with a 2px yellow (--brand) border and WHITE label — a dark inverse box, NEVER a second yellow button.
   3) Everything is FLAT and hard-edged: ZERO border-radius on buttons, cards, inputs and icon badges — no rounded corners anywhere; separation comes from borders / surface steps / one hard offset shadow, never a soft blur.
   4) Feature / why-us icons sit in a SOLID yellow (--brand) 64px SQUARE badge with a black glyph — a filled accent square, not a circle.
   5) Form inputs are FLAT light-grey filled boxes (no border, 0 radius) with the field label floating ABOVE the box. */

:root {
  /* Accent (CTA colour) — the design's primary CTA is the yellow --brand; its readable text is black. Solid fill, so --accent-2 = --accent. */
  --accent: var(--brand);
  --accent-2: var(--brand);
  --accent-contrast: var(--light1, #030303);

  /* Primary button resting shadow — the brand is flat, buttons carry NO shadow at rest. */
  --btn-shadow: none;

  /* Radius scale — this design is hard-edged, so every step is 0 (buttons, cards, inputs, badges all sharp). */
  --radius-sm: 0px;   /* inputs / small chips */
  --radius-md: 0px;   /* cards / tiles */
  --radius-lg: 0px;   /* large containers / hero cards */
  --radius-pill: 0px; /* buttons are sharp rectangles here, NOT pills */
  --btn-radius: 0px;  /* the primary button's real radius — also shapes the shared slider's arrow buttons */

  /* One button height + inline padding site-wide, seeded from the design's primary CTA (16px 32px, ~56px tall). */
  --btn-height: 56px;

  /* Field surface — the design's input is a flat light-grey box; --light2 is the palette's light-grey. */
  --field-bg: var(--light2, #ebeef0);
}

/* ------------------------------------------------------------------ *
 * Buttons — ONE shape site-wide; only the COLOUR varies per band.
 * ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: var(--btn-height, 56px);
  padding-block: 0;
  padding-inline: 32px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius, var(--border-radius, 0px));
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease,
              border-color 200ms ease, transform 200ms ease,
              box-shadow 200ms ease;
}
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — solid yellow CTA, black label, no resting shadow (flat brand). */
.btn-primary {
  background: var(--btn-bg, var(--accent, var(--brand)));
  color: var(--btn-fg, var(--accent-contrast, var(--light1, #030303)));
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    background-color: color-mix(in srgb, var(--accent, var(--brand)) 90%, black);
  }
}
.btn-primary:active { transform: translateY(0); }

/* Secondary — dark inverse box with a 2px yellow border + white label (lower priority than the CTA). */
.btn-secondary {
  background-color: var(--btn-bg, var(--light1, #030303));
  color: var(--btn-fg, var(--white));
  border: 2px solid var(--btn-accent, var(--brand));
}
@media (hover: hover) {
  .btn-secondary:hover {
    transform: translateY(-2px);
    background-color: var(--btn-accent, var(--brand));
    color: var(--accent-contrast, var(--light1, #030303));
  }
}
.btn-secondary:active { transform: translateY(0); }

/* Ghost / text — no chrome until hover. */
.btn-ghost {
  background-color: transparent;
  color: var(--btn-fg, var(--light1, currentColor));
  padding-inline: 8px;
}
@media (hover: hover) {
  .btn-ghost:hover { background-color: color-mix(in srgb, var(--btn-accent, var(--brand)) 14%, transparent); }
}
.btn-ghost:active { transform: translateY(0); }

/* Icon button — square (sharp, matches --btn-radius), yellow fill, black glyph. Used for slider arrows. */
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: var(--btn-radius, 0px);
  display: inline-flex; align-items: center; justify-content: center;
  background-color: var(--accent, var(--brand));
  color: var(--accent-contrast, var(--light1, #030303));
  border: none; cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
}
@media (hover: hover) {
  .btn-icon:hover { background-color: color-mix(in srgb, var(--accent, var(--brand)) 90%, black); }
}
.btn-icon:active { transform: scale(0.96); }
.btn-icon:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-icon > svg, .btn-icon > img { width: 42%; height: 42%; display: block; }

/* Small size — the ONE deliberate compact button; only height + inline padding shrink. */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 20px; font-size: 16px; }

/* ------------------------------------------------------------------ *
 * Hover vocabulary (reusable utilities)
 * ------------------------------------------------------------------ */

/* Powiększenie — scale up (small icons/avatars). */
.hover-scale { transition: transform 200ms ease; }
@media (hover: hover) { .hover-scale:hover { transform: scale(1.04); } }
.hover-scale:active { transform: scale(0.99); }

/* Uniesienie — lift. Flat brand → a HARD offset shadow (no soft blur), one ink tint. */
.hover-lift { transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease; }
@media (hover: hover) {
  .hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 6px 6px 0 color-mix(in srgb, var(--light1, #030303) 14%, transparent);
  }
}
.hover-lift:active { transform: translateY(-2px); }

/* Zmiana koloru — colour swap. */
.hover-fill { transition: background-color 200ms ease, color 200ms ease; }
@media (hover: hover) {
  .hover-fill:hover { background-color: var(--accent, var(--brand)); color: var(--accent-contrast, var(--light1, #030303)); }
}
.hover-tint { transition: color 200ms ease, border-color 200ms ease; }
@media (hover: hover) {
  .hover-tint:hover { color: var(--brand); border-color: var(--brand); }
}

/* Ruchoma strzałka — moving arrow. Inside a primary/secondary button the arrow sits in a filled disc. */
.with-arrow { display: inline-flex; align-items: center; gap: 10px; }
.with-arrow .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 200ms ease;
}
@media (hover: hover) { .with-arrow:hover .arrow { transform: translateX(4px); } }

/* Signature arrow-disc on the primary CTA — black circle, light glyph. */
.btn-primary .arrow {
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--light1, #030303);
  color: var(--white);
  flex: none;
}
.btn-primary .arrow > svg, .btn-primary .arrow > img { width: 58%; height: 58%; display: block; }

/* Continuous loop indicator (scroll hint). */
.arrow-loop { animation: arrow-nudge 1.4s ease-in-out infinite; }
@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

/* Dodanie podkreślenia — animated underline (nav + inline links). */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  background-image: linear-gradient(var(--brand), var(--brand));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 220ms ease, color 200ms ease;
  padding-bottom: 2px;
}
@media (hover: hover) {
  .link-underline:hover { background-size: 100% 2px; color: var(--brand); }
}
.link-underline:focus-visible { background-size: 100% 2px; outline: none; }
.link-underline[aria-current="page"] { background-size: 100% 2px; color: var(--brand); }
.link-underline-center { background-position: 50% 100%; }

/* ------------------------------------------------------------------ *
 * Cards / tiles (the clickable kind) — flat, sharp, hard offset on hover.
 * ------------------------------------------------------------------ */
.card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-md, var(--border-radius, 0px));
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 6px 6px 0 color-mix(in srgb, var(--light1, #030303) 14%, transparent);
  }
  .card:hover img { transform: scale(1.05); }
  .card:hover .arrow { transform: translateX(4px); }
}
.card:active { transform: translateY(-2px); }
.card img { transition: transform 400ms ease; }
.card a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* `.card` is padless so flush media reaches its edges; text goes in the padded body. */
.card-body { padding: 24px var(--padding-horizontal, 24px); }

/* ------------------------------------------------------------------ *
 * Inputs — flat light-grey box, no border, 0 radius, label above.
 * ------------------------------------------------------------------ */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid transparent;      /* reserved at rest so focus swaps colour without reflow */
  border-radius: var(--radius-sm, var(--border-radius, 0px));
  background: var(--field-bg, var(--light2, #ebeef0));
  color: var(--light1, #030303);
  font: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: color-mix(in srgb, var(--light1, #030303) 45%, transparent); }
@media (hover: hover) { .field:hover { border-color: var(--brand); } }
.field:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent);
}
.field:user-invalid { border-color: #e5484d; }
.field:disabled { opacity: 0.5; cursor: not-allowed; }

/* ------------------------------------------------------------------ *
 * Content icons (monochrome, recolorable) — paint via --icon-color only.
 * ------------------------------------------------------------------ */
.svc-icon {
  display: inline-block;
  width: 40px; height: 40px;
  background-color: var(--icon-color, var(--accent, var(--brand)));
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
  transition: background-color 200ms ease;
}

/* Numbered process-step badge — grid-centred number in a square/disc marker. */
.step-badge {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: var(--radius-pill, 0px);
}
.step-num {
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: lining-nums tabular-nums;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* Missing dashboard data → obvious temporary placeholder. */
.data-placeholder {
  opacity: 0.55;
  font-style: italic;
  font-weight: inherit;
}

/* ------------------------------------------------------------------ *
 * Reduced motion.
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
