@font-face {
  font-family: 'Lato';
  src: url('/upload/Lato-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('/upload/Lato-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('/upload/Lato-Black.ttf') format('truetype');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --page: #000027;
  --panel: #010823;
  --panel-deep: #00072d;
  --white: #fff;
  --pink: #ff65ce;
  --violet: #7c56fd;
  --blue: #77b3fe;
  --panel-border: #000f62;
  --radius: 24px;
  --section-pad-x: 80px;
  --section-pad-y: 40px;
  --body-size: 17px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0 auto;
  min-width: 320px;
  background: var(--page);
  color: var(--white);
  font-family: 'Lato', Arial, sans-serif;
  font-size: var(--body-size);
  line-height: 1.56;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
ul,
ol {
  margin: 0;
}

.site {
  width: min(100%, 1440px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--page);
  padding-bottom: 130px;
}

/* Globalny navbar jest generowany poza sekcjami przez SystemCoffee. */
#navigation.navigation,
#navigation.navigation .nav-list {
  background-color: transparent !important;
  transition: background-color 180ms ease-out, box-shadow 180ms ease-out !important;
}

#navigation.navigation.coffee-nav--scrolled,
#navigation.navigation.coffee-nav--scrolled .nav-list {
  background-color: var(--page) !important;
  box-shadow: 0 8px 24px rgb(0 0 0 / 22%);
}

#navigation.navigation .languages,
#navigation.navigation .languages > a {
  background-color: transparent !important;
  transition: background-color 180ms ease-out !important;
}

#navigation.navigation.coffee-nav--scrolled .languages,
#navigation.navigation.coffee-nav--scrolled .languages > a {
  background-color: var(--page) !important;
}

.section-shell {
  padding: var(--section-pad-y) var(--section-pad-x);
  scroll-margin-top: 90px;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--panel-border);
  border-radius: var(--radius);
  background: radial-gradient(ellipse 100% 130% at 0 0, #000b48 0%, var(--panel) 72%);
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.section-kicker {
  margin-top: 8px;
  color: var(--pink);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.section-kicker--large {
  margin-top: 16px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.button {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: inline-flex;
  overflow: hidden;
  min-height: 59px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid var(--pink);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  line-height: 1.56;
  white-space: nowrap;
  box-shadow: none;
  transition: border-color 300ms ease-out;
}

.button::before,
.button::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: '';
  pointer-events: none;
}

.button::before {
  z-index: -2;
  background: #020c31;
  box-shadow: inset 0 0 12px #ff93d5;
}

.button::after {
  z-index: -1;
  background: transparent;
  box-shadow: inset 0 0 0 rgb(255 147 213 / 0%);
  opacity: 1;
  transition: box-shadow 300ms ease-out, opacity 300ms ease-out;
}

.button--primary::before {
  background: linear-gradient(90deg, #ba3297, #402593);
}

.button--primary::after {
  background: linear-gradient(90deg, #ba3297 99.99%, #402593 100%);
  box-shadow: inset 0 0 12px #ff93d5;
  opacity: 0;
}

.button--primary:hover::after,
.button--primary:focus-visible::after,
.button--primary:active::after {
  opacity: 1;
}

.button:not(.button--primary):hover,
.button:not(.button--primary):focus-visible {
  border-color: #ff65ce;
  box-shadow: none;
}

.button:not(.button--primary):hover::after,
.button:not(.button--primary):focus-visible::after {
  box-shadow: inset 0 0 25px #ff93d5, inset 0 0 0 2px #ff65ce;
}

.button:not(.button--primary):active::after {
  box-shadow: inset 0 0 12px #ff93d5;
}

.button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.button[aria-disabled='true'],
.button:disabled {
  border-color: #fff;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(1);
  opacity: 0.58;
  pointer-events: none;
}

/* SystemCoffee narzuca niebieski kolor i podkreślenie dla a:hover. */
a.button,
a.button:link,
a.button:visited,
a.button:hover,
a.button:focus,
a.button:focus-visible,
a.button:active {
  color: #fff !important;
  text-decoration: none !important;
  text-decoration-color: transparent !important;
}

a.button * {
  color: inherit !important;
  text-decoration: none !important;
}

/* Link e-mail pozostaje klikalny, ale nie zmienia wyglądu po najechaniu. */
a.footer-card__email,
a.footer-card__email:link,
a.footer-card__email:visited,
a.footer-card__email:hover,
a.footer-card__email:focus,
a.footer-card__email:focus-visible,
a.footer-card__email:active {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  filter: none !important;
  text-decoration: none !important;
  text-shadow: none !important;
}

a.footer-card__email:hover *,
a.footer-card__email:focus *,
a.footer-card__email:focus-visible *,
a.footer-card__email:active * {
  color: inherit !important;
  text-decoration: none !important;
}

.button__arrow {
  width: 22px;
  height: 22px;
}

.icon-shell {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid #ffcffb;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 10%, #32114d, #190c3d 50%, #00072d 100%);
  box-shadow: inset 0 0 7.4px rgb(0 0 0 / 80%);
}

.icon-shell--square {
  border-radius: 8px;
}

.icon-shell img {
  width: 42px;
  height: 42px;
}

.load-error,
noscript {
  display: block;
  padding: 40px;
  color: #fff;
  text-align: center;
}

@media (max-width: 1100px) {
  :root {
    --section-pad-x: 40px;
    --section-pad-y: 32px;
  }

  .site {
    padding-bottom: 80px;
  }
}

@media (max-width: 700px) {
  :root {
    --section-pad-x: 16px;
    --section-pad-y: 16px;
    --radius: 18px;
    --body-size: 16px;
  }

  .site {
    padding-bottom: 36px;
  }

  .panel {
    border-radius: 18px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-kicker {
    font-size: 20px;
  }

  .section-kicker--large {
    margin-top: 8px;
    font-size: 24px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Stopka dodawana automatycznie przez SystemCoffee. */
body > footer.py-3.text-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 30px !important;
  background: var(--page);
}

body > footer.py-3.text-center #powered-by {
  display: inline-flex !important;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid rgb(255 101 206 / 42%);
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(29 14 78 / 92%), rgb(2 12 49 / 92%));
  color: #e8e4ff !important;
  box-shadow: 0 0 18px rgb(64 37 147 / 35%), inset 0 0 10px rgb(255 147 213 / 12%);
  line-height: 1;
  text-decoration: none !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body > footer.py-3.text-center #powered-by small {
  margin: 0 !important;
  color: #c8c2e8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

body > footer.py-3.text-center #powered-by .img-coffee {
  display: block !important;
  width: auto !important;
  height: 24px !important;
  margin: 0 !important;
  object-fit: contain;
}

body > footer.py-3.text-center #powered-by:hover,
body > footer.py-3.text-center #powered-by:focus-visible {
  border-color: var(--pink);
  box-shadow: 0 0 24px rgb(255 101 206 / 28%), inset 0 0 12px rgb(255 147 213 / 18%);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  body > footer.py-3.text-center {
    padding-block: 18px 24px !important;
  }

  body > footer.py-3.text-center #powered-by {
    min-height: 40px;
    padding: 8px 14px;
  }

  body > footer.py-3.text-center #powered-by .img-coffee {
    height: 21px !important;
  }
}
