/* Fonty hostowane w motywie: Sentient z Fontshare (ITF FFL), Aspekta (OFL) */
@font-face {
  font-family: "Sentient";
  src: url("../fonts/sentient-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/aspekta-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/aspekta-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/aspekta-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("../fonts/aspekta-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-lg);
  letter-spacing: var(--letter-spacing-sm);
  color: var(--text-primary);
  background-color: var(--bg-page);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --color-navy: #001d2e;
  --color-blue: #00d9ff;
  --color-light-blue: #edf7f9;
  --color-beige: #f9f7f2;

  --color-white: #ffffff;
  --color-gray-50: #f5f5f5;
  --color-gray-100: #e6e6e6;
  --color-gray-300: #b5b5b5;
  --color-gray-500: #9a9d9d;
  --color-gray-700: #676c6c;
  --color-black: #020a0a;

  --gradient-main: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  --gradient-fade: linear-gradient(180deg, #cee9ef 0%, var(--color-white) 100%);

  --bg-page: var(--color-white);
  --bg-subtle: var(--color-light-blue);
  --bg-warm: var(--color-beige);
  --bg-inverse: var(--color-navy);
  --text-primary: var(--color-black);
  --text-heading: var(--color-navy);
  --text-secondary: var(--color-gray-700);
  --text-muted: var(--color-gray-500);
  --text-inverse: var(--color-white);
  --border-default: var(--color-gray-100);
  --accent: var(--color-blue);

  --space-0: 0;
  --space-2: 0.125rem;
  --space-4: 0.25rem;
  --space-8: 0.5rem;
  --space-12: 0.75rem;
  --space-16: 1rem;
  --space-20: 1.25rem;
  --space-24: 1.5rem;
  --space-32: 2rem;
  --space-40: 2.5rem;
  --space-48: 3rem;
  --space-56: 3.5rem;
  --space-64: 4rem;
  --space-80: 5rem;
  --space-96: 6rem;
  --space-120: 7.5rem;
  --space-160: 10rem;

  --container-max: 90rem;

  --font-heading: "Sentient", Georgia, serif;
  --font-body: "Aspekta", system-ui, -apple-system, sans-serif;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;

  --line-height-2xs: 1.1;
  --line-height-xs: 1.15;
  --line-height-sm: 1.2;
  --line-height-md: 1.25;
  --line-height-lg: 1.3;
  --line-height-xl: 1.33;
  --line-height-2xl: 1.35;
  --line-height-3xl: 1.4;

  --letter-spacing-sm: -0.01em;
  --letter-spacing-md: -0.02em;
  --letter-spacing-lg: -0.03em;

  --ease-smart: cubic-bezier(0.95, 0, 0.58, 1);
  --duration-md: 550ms;

  --font-size-2xs: 0.75rem;
  --font-size-xs: 0.875rem;
  --font-size-sm: 1rem;
  --font-size-md: 1.25rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 1.75rem;
  --font-size-2xl: 2.25rem;
  --font-size-3xl: 2.625rem;
  --font-size-4xl: 3.25rem;
  --font-size-5xl: 3.5rem;
  --font-size-6xl: 4.5rem;
}

/* heading-72 — Sentient Light 72px */
.heading-6xl {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-6xl);
  line-height: var(--line-height-2xs);
  letter-spacing: var(--letter-spacing-md);
}
/* heading-56 — Sentient Light 56px */
.heading-5xl {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-5xl);
  line-height: var(--line-height-2xs);
  letter-spacing: var(--letter-spacing-lg);
}
/* heading-52 — Sentient Light 52px */
.heading-4xl {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-4xl);
  line-height: var(--line-height-2xs);
  letter-spacing: var(--letter-spacing-md);
}
/* heading-42 — Sentient Light 42px */
.heading-3xl {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-3xl);
  line-height: var(--line-height-2xs);
  letter-spacing: var(--letter-spacing-md);
}
/* heading-36 — Sentient Light 36px */
.heading-2xl {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-2xl);
  line-height: var(--line-height-md);
  letter-spacing: var(--letter-spacing-md);
}
/* heading-28 — Sentient Light 28px */
.heading-xl {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-xl);
  line-height: var(--line-height-2xs);
  letter-spacing: var(--letter-spacing-md);
}

/* heading-sans-56 — Aspekta Regular 56px */
.heading-sans-5xl {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-5xl);
  line-height: var(--line-height-sm);
  letter-spacing: var(--letter-spacing-sm);
}
/* heading-sans-42 — Aspekta Medium 42px */
.heading-sans-3xl {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-3xl);
  line-height: var(--line-height-xs);
  letter-spacing: var(--letter-spacing-md);
}

/* body-24 — Aspekta Regular 24px */
.body-lg {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-xl);
  letter-spacing: var(--letter-spacing-md);
}
/* body-20 — Aspekta Regular 20px */
.body-md {
  font-size: var(--font-size-md);
  line-height: var(--line-height-md);
  letter-spacing: var(--letter-spacing-sm);
}
/* body-16 — Aspekta Regular 16px */
.body-sm {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-lg);
  letter-spacing: var(--letter-spacing-sm);
}
/* body-14 — Aspekta Regular 14px */
.body-xs {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-xl);
  letter-spacing: var(--letter-spacing-sm);
}
/* body-12 — Aspekta Regular 12px */
.body-2xs {
  font-size: var(--font-size-2xs);
  line-height: var(--line-height-2xl);
  letter-spacing: var(--letter-spacing-sm);
}
.medium {
  font-weight: var(--font-weight-medium);
}

.cta-sm {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-lg);
  letter-spacing: var(--letter-spacing-sm);
}

.cta-xs {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-lg);
  letter-spacing: var(--letter-spacing-sm);
}

/* buttons */
.btn {
  --btn-color: var(--color-white);
  --btn-text: var(--color-navy);
  --btn-outline-text: var(--btn-color);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  height: 3.25rem;
  padding-inline: 1.75rem;
  border: 1px solid var(--btn-color);
  border-radius: 999px;
  background-color: var(--btn-color);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-lg);
  letter-spacing: var(--letter-spacing-sm);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--sm {
  height: 2.625rem;
  padding-inline: 1.125rem;
  font-size: var(--font-size-xs);
}

.btn--white {
  --btn-color: var(--color-white);
  --btn-text: var(--color-navy);
}
.btn--blue {
  --btn-color: var(--color-blue);
  --btn-text: var(--color-navy);
  --btn-outline-text: var(--color-navy);
}
.btn--navy {
  --btn-color: var(--color-navy);
  --btn-text: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--btn-outline-text);
}

.btn__icon {
  position: relative;
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  overflow: hidden;
}
.btn__icon::before,
.btn__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon transform='rotate(-45 12 12)' points='23 11 23 13 22 13 22 14 21 14 21 15 20 15 20 16 19 16 19 17 18 17 18 18 17 18 17 19 16 19 16 20 15 20 15 21 14 21 14 22 13 22 13 23 12 23 12 22 11 22 11 21 12 21 12 20 13 20 13 19 14 19 14 18 15 18 15 17 16 17 16 16 17 16 17 15 18 15 18 14 19 14 19 13 1 13 1 11 19 11 19 10 18 10 18 9 17 9 17 8 16 8 16 7 15 7 15 6 14 6 14 5 13 5 13 4 12 4 12 3 11 3 11 2 12 2 12 1 13 1 13 2 14 2 14 3 15 3 15 4 16 4 16 5 17 5 17 6 18 6 18 7 19 7 19 8 20 8 20 9 21 9 21 10 22 10 22 11 23 11'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 0.3s ease;
}
.btn__icon::after {
  transform: translate(-100%, 100%);
}
.btn:hover .btn__icon::before {
  transform: translate(100%, -100%);
}
.btn:hover .btn__icon::after {
  transform: translate(0, 0);
}

/* Ikony z Pixel Icon Library — najostrzejsze w rozmiarach 12, 24, 48px */
.icon {
  display: inline-block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}
