/* ==========================================================
   YOUREC-AM – style.css
   Jeden plik stylów dla strony głównej i podstron aplikacji.
   ========================================================== */

/* ---------- 1. CZCIONKI (pliki lokalne z folderu fonts) ---------- */
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. KOLORY I USTAWIENIA ---------- */
:root {
  color-scheme: dark;
  --bg: #0C0C0D;
  --bg-alt: #121213;
  --space: #070708;
  --surface: #19191A;
  --line: #2A2A2C;
  --line-2: #3A3A37;
  --line-3: #55554F;
  --line-4: #6B6B64;
  --text: #F2F2EE;
  --text-2: #D6D6D1;
  --muted: #A8A8A3;
  --accent: #D7FF3F; /* kolor akcentu: zmień tutaj, zmieni się na całej stronie */
  --on-accent: #0C0C0D;
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

/* ---------- 3. PODSTAWY ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

h1,
h2,
p {
  margin: 0;
}

img {
  max-width: 100%;
}

a {
  color: var(--text);
  text-underline-offset: 3px;
}

a:hover {
  color: #FFFFFF;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
  color: var(--on-accent);
}

/* ---------- 4. GÓRA STRONY: NAZWA 3D, IKONY, FLAGA ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.top__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Nazwa w 3D: jasnoszare litery z „grubością" zrobioną z kilku cieni pod spodem */
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 auto 0 0;
  color: #B9B9B4;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-shadow:
    0 1px 0 #8E8E89,
    0 2px 0 #74746F,
    0 3px 0 #5A5A56,
    0 4px 0 #41413E,
    0 5px 0 #2B2B29,
    0 10px 14px rgba(0, 0, 0, 0.8);
}

.logo:hover {
  color: #B9B9B4;
}

.logo a {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

/* Połysk: druga warstwa liter, po której przesuwają się odcienie szarości */
.logo a::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(100deg, #8A8A85 0%, #F6F6F2 18%, #A3A39E 36%, #DEDED9 54%, #7C7C77 72%, #C9C9C4 86%, #8A8A85 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: sheen 9s linear infinite;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

/* Linki tekstowe w menu: używają ich podstrony regulaminu i prywatności */
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.nav__link--cta {
  padding: 0 18px;
  border-radius: 22px;
  background: var(--accent);
  color: var(--on-accent);
}

.nav__link--cta:hover {
  color: var(--on-accent);
  filter: brightness(1.1);
}

/* Okrągłe przyciski 3D: ikony w menu i strzałki przy aplikacji */
.icon-btn,
.ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: linear-gradient(180deg, #2B2B2D 0%, #151516 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -2px 3px rgba(0, 0, 0, 0.5),
    0 6px 14px rgba(0, 0, 0, 0.55);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover,
.ctrl:hover {
  border-color: var(--line-4);
  color: var(--text);
  transform: translateY(-1px);
}

.icon-btn:active,
.ctrl:active {
  transform: translateY(1px);
}

.icon-btn--accent {
  border-color: transparent;
  background-color: var(--accent);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
  color: var(--on-accent);
}

.icon-btn--accent:hover {
  border-color: transparent;
  color: var(--on-accent);
}

/* Flaga języka: okrągła, z połyskiem jak szklana kulka */
.lang {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-3);
  border-radius: 50%;
  background: #151516;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.lang:hover {
  transform: translateY(-1px);
}

.lang:active {
  transform: translateY(1px);
}

.lang__flag {
  display: none;
  width: 100%;
  height: 100%;
}

.lang::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.6) 0, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 36% 30%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.5) 100%);
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

/* Widać tylko flagę języka, w którym jest teraz strona (PL, EN albo DE) */
html[lang="pl"] .lang__flag--pl,
html[lang="en"] .lang__flag--en,
html[lang="de"] .lang__flag--de {
  display: block;
}

/* ---------- 5. KOSMOS: TŁO ---------- */
.space {
  position: relative;
  overflow: hidden;
  background: var(--space);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 65px;
}

.sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Droga Mleczna: jasny, skośny pas z ciemną smugą pyłu pośrodku */
.milky {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180%;
  height: 560px;
  margin: -300px 0 0 -90%;
  transform: rotate(-24deg);
  background:
    radial-gradient(ellipse 46% 7% at 50% 53%, rgba(7, 7, 8, 0.6) 0, rgba(7, 7, 8, 0) 100%),
    radial-gradient(ellipse 20% 24% at 50% 50%, rgba(255, 228, 190, 0.26) 0, rgba(255, 228, 190, 0) 100%),
    radial-gradient(ellipse 58% 36% at 50% 50%, rgba(220, 220, 226, 0.2) 0, rgba(220, 220, 226, 0) 100%);
}

/* Gęste, drobne gwiazdy w pasie Drogi Mlecznej */
.milky::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12px 20px, #F2F2EE 0, #F2F2EE 0.5px, transparent 1px),
    radial-gradient(circle at 44px 68px, #D6D6D1 0, #D6D6D1 0.5px, transparent 1px),
    radial-gradient(circle at 80px 34px, #F2F2EE 0, #F2F2EE 0.6px, transparent 1.1px),
    radial-gradient(circle at 118px 96px, #C9C9C4 0, #C9C9C4 0.5px, transparent 1px),
    radial-gradient(circle at 26px 112px, #F2F2EE 0, #F2F2EE 0.5px, transparent 1px),
    radial-gradient(circle at 96px 132px, #D6D6D1 0, #D6D6D1 0.6px, transparent 1.1px),
    radial-gradient(circle at 60px 8px, #C9C9C4 0, #C9C9C4 0.5px, transparent 1px),
    radial-gradient(circle at 134px 52px, #F2F2EE 0, #F2F2EE 0.5px, transparent 1px);
  background-size: 150px 150px, 150px 150px, 150px 150px, 150px 150px, 110px 130px, 110px 130px, 90px 100px, 90px 100px;
  -webkit-mask-image: radial-gradient(ellipse 54% 34% at 50% 50%, #000 0, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(ellipse 54% 34% at 50% 50%, #000 0, rgba(0, 0, 0, 0) 100%);
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

/* Dalekie gwiazdy: małe, płyną wolno */
.stars--far {
  width: calc(100% + 420px);
  background-image:
    radial-gradient(circle at 30px 44px, #A8A8A3 0, #A8A8A3 0.7px, transparent 1.3px),
    radial-gradient(circle at 132px 96px, #D6D6D1 0, #D6D6D1 0.7px, transparent 1.3px),
    radial-gradient(circle at 214px 28px, #8A8A82 0, #8A8A82 0.7px, transparent 1.3px),
    radial-gradient(circle at 356px 150px, #A8A8A3 0, #A8A8A3 0.7px, transparent 1.3px),
    radial-gradient(circle at 78px 236px, #D6D6D1 0, #D6D6D1 0.7px, transparent 1.3px),
    radial-gradient(circle at 268px 302px, #8A8A82 0, #8A8A82 0.7px, transparent 1.3px),
    radial-gradient(circle at 170px 372px, #A8A8A3 0, #A8A8A3 0.7px, transparent 1.3px),
    radial-gradient(circle at 392px 396px, #D6D6D1 0, #D6D6D1 0.7px, transparent 1.3px);
  background-size: 420px 420px;
  animation: drift-far 160s linear infinite;
}

/* Bliskie gwiazdy: większe, płyną szybciej. Różnica prędkości daje głębię. */
.stars--near {
  width: calc(100% + 640px);
  background-image:
    radial-gradient(circle at 60px 80px, #F2F2EE 0, #F2F2EE 1.1px, transparent 1.9px),
    radial-gradient(circle at 310px 210px, #F2F2EE 0, #F2F2EE 1.3px, transparent 2.1px),
    radial-gradient(circle at 520px 60px, #D6D6D1 0, #D6D6D1 1.1px, transparent 1.9px),
    radial-gradient(circle at 180px 470px, #F2F2EE 0, #F2F2EE 1.1px, transparent 1.9px),
    radial-gradient(circle at 580px 520px, #D6D6D1 0, #D6D6D1 1.3px, transparent 2.1px);
  background-size: 640px 640px;
  animation: drift-near 100s linear infinite;
}

/* Spadająca gwiazda: przelatuje co kilkanaście sekund */
.meteor {
  position: absolute;
  top: 14%;
  left: 64%;
  width: 130px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 100%);
  opacity: 0;
  animation: meteor 14s ease-in infinite;
}

/* Stacja kosmiczna: daleko w tle, lekko dryfuje */
.station {
  position: absolute;
  top: 9%;
  right: 6%;
  width: 190px;
  color: #8D8D86;
  opacity: 0.85;
  animation: station 40s ease-in-out infinite;
}

.station__panels rect {
  fill: rgba(200, 200, 190, 0.12);
}

.station__body {
  fill: #151516;
}

.station__light {
  fill: var(--accent);
  stroke: none;
  animation: blink 2.6s steps(1) infinite;
}

/* Satelita: powoli przelatuje przez cały ekran */
.sat {
  position: absolute;
  top: 70%;
  left: -80px;
  width: 62px;
  color: #A8A8A3;
  animation: sat 80s linear infinite;
}

.sat__body {
  fill: #151516;
}

.sat__panel {
  fill: rgba(200, 200, 190, 0.16);
}

.space__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: calc(100vh - 65px);
  min-height: calc(100svh - 65px);
  padding-top: 36px;
  padding-bottom: 40px;
}

/* ---------- 6. KOSMOS: APLIKACJA NA ŚRODKU ---------- */
.stage {
  position: relative;
  width: 100%;
  height: 490px;
  perspective: 1200px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.phones {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--tilt-y, 0) * 1deg)) rotateY(calc(var(--tilt-x, 0) * 1deg));
  transition: transform 0.4s ease-out;
}

/* Telefon ma trzy miejsca (data-pos): „here" na środku oraz „far-a" i „far-b" daleko w otchłani.
   Miejsce zmienia js/main.js, a przelot robi sam CSS. */
.phone {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 220px;
  height: 450px;
  margin-left: -110px;
}

.phone[data-pos="here"] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform 1.25s cubic-bezier(0.16, 0.84, 0.3, 1), opacity 0.45s ease-out;
}

.phone[data-pos="far-a"],
.phone[data-pos="far-b"] {
  opacity: 0;
  pointer-events: none;
  transition: transform 1.25s cubic-bezier(0.6, 0, 0.9, 0.45), opacity 1.25s cubic-bezier(0.85, 0, 1, 0.6);
}

.phone[data-pos="far-a"] {
  transform: translate3d(-1000px, -380px, -3000px) rotateY(70deg) rotateZ(-20deg);
}

.phone[data-pos="far-b"] {
  transform: translate3d(1000px, 300px, -3000px) rotateY(-70deg) rotateZ(20deg);
}

/* Ustawienie telefonu w otchłani przed przylotem: bez animacji */
.phone.no-anim {
  transition: none !important;
}

/* Poświata za telefonem, jak atmosfera planety. Kolor ustawia --glow w pliku HTML. */
.phone::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 30px;
  right: -90px;
  bottom: 30px;
  left: -90px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, rgba(200, 200, 195, 0.14)) 0%, rgba(0, 0, 0, 0) 100%);
}

.phone__body {
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 1px solid var(--line-4);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
  animation: float 6s ease-in-out infinite;
}

.phone__screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 18px;
  overflow: hidden;
  border-radius: 27px;
  background: var(--screen, #121213);
  text-align: center;
}

/* Gdy w telefonie jest zrzut ekranu, wypełnia cały ekran */
.phone__screen:has(img) {
  padding: 0;
}

.phone__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}

.phone__note {
  font-size: 14px;
  line-height: 1.4;
  color: #C9C9C4;
}

/* Strzałki po bokach aplikacji */
.stage .ctrl {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
}

.ctrl--prev {
  left: max(0px, calc(50% - 230px));
}

.ctrl--next {
  right: max(0px, calc(50% - 230px));
}

/* Szukanie aplikacji: lupka nad prawą strzałką i pole z listą nazw */
.stage .ctrl--find {
  top: 6px;
  right: max(0px, calc(50% - 230px));
  margin-top: 0;
}

.find {
  position: absolute;
  z-index: 6;
  top: 6px;
  left: max(0px, calc(50% - 230px));
  right: max(60px, calc(50% - 170px));
  display: flex;
  flex-direction: column;
  gap: 6px;
  user-select: text;
  -webkit-user-select: text;
}

.find__input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-3);
  border-radius: 22px;
  background: linear-gradient(180deg, #2B2B2D 0%, #151516 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 6px 14px rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
}

.find__input:focus {
  border-color: var(--accent);
}

.find__input::placeholder {
  color: var(--muted);
}

.find__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.find__list:empty {
  display: none;
}

.find__item {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.find__item:hover,
.find__item:focus-visible {
  background: var(--line);
}

.find__none {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 7. OPIS APLIKACJI ---------- */
.cards {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  min-height: 190px;
  text-align: center;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.card[hidden] {
  display: none;
}

.card.is-active {
  animation: rise 0.6s ease 0.35s backwards;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}

.card__text {
  color: var(--text-2);
}

.card__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.card__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
}

.card__links a:hover {
  color: var(--text);
}

.count {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  text-decoration: none;
}

.btn--store {
  border: 1px solid var(--line-3);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}

a.btn--store:hover {
  border-color: var(--accent);
}

.btn--store.is-off {
  border-style: dashed;
  color: var(--muted);
}

.btn--send {
  padding: 0 28px;
  border: 0;
  border-radius: 26px;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
}

.btn--send:hover {
  filter: brightness(1.1);
}

.btn--send:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ---------- 8. SEKCJE: INFO I KONTAKT ---------- */
.block {
  padding: 72px 0;
  scroll-margin-top: 65px;
}

.block--alt {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.block__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.block__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
}

.block__lead {
  max-width: 640px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-2);
}

.block__small {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  font-size: 15px;
  color: var(--muted);
}

.block__small a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* ---------- 9. FORMULARZ KONTAKTOWY ---------- */
/* Zwijana ramka: zamknięta pokazuje sam przycisk, otwarta pokazuje formularz */
.contact {
  width: 100%;
  max-width: 680px;
}

.contact__toggle {
  gap: 10px;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}

.contact__toggle::-webkit-details-marker {
  display: none;
}

.contact__toggle svg {
  transition: transform 0.2s ease;
}

.contact[open] .contact__toggle svg {
  transform: rotate(180deg);
}

.contact .form {
  margin-top: 28px;
  animation: rise 0.4s ease;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 680px;
}

/* Pułapka na boty: człowiek jej nie widzi */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__pair {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form__pair .field {
  flex: 1 1 240px;
}

.field label {
  font-size: 15px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-4);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: inherit;
}

.field textarea {
  min-height: 140px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.form__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.form__note {
  flex: 1 1 220px;
  min-width: 0;
  font-size: 14px;
  color: var(--muted);
}

.form__status {
  min-height: 26px;
  font-weight: 600;
}

.form__status.is-ok {
  color: var(--accent);
}

.form__status.is-err {
  color: #FF9B8A;
}

/* ---------- 10. STOPKA ---------- */
/* Stopka: wąski pasek ze szczotkowanego srebra, napis wygrawerowany w metalu */
.foot {
  border-top: 1px solid #4A4E55;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #E1E3E6 0%, #BFC3C8 42%, #A5AAB1 58%, #C9CCD0 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 -6px 18px rgba(0, 0, 0, 0.5);
}

.foot__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 20px;
  padding-top: 9px;
  padding-bottom: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  /* Grawer: ciemna litera, jasny odblask pod spodem i cień nad nią */
  color: #4A4F57;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 -1px 0 rgba(0, 0, 0, 0.28);
}

/* ---------- 11. PODSTRONY: POLITYKA PRYWATNOŚCI I REGULAMIN ---------- */
.doc {
  padding: 56px 0 72px;
}

.doc__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.doc__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.doc__app {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1.1;
}

.doc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.doc__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
}

.toc {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

.toc a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.toc a:hover {
  border-bottom-color: var(--accent);
}

.doc__body {
  flex: 999 1 480px;
  min-width: 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  line-height: 1.65;
}

.doc__body section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-margin-top: 24px;
}

.doc__body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
}

.doc__body p,
.doc__body li {
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.doc__body ul,
.doc__body ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 24px;
}

/* Wyróżniona ramka, np. „Jak usunąć dane" */
.doc__box {
  padding: 24px;
  border: 1px solid var(--line-4);
  border-radius: 16px;
  background: var(--surface);
}

/* ---------- 12. ANIMACJE ---------- */
@keyframes float {
  0%,
  100% {
    transform: translateY(-9px);
  }
  50% {
    transform: translateY(9px);
  }
}

@keyframes sheen {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 200% 0;
  }
}

@keyframes drift-far {
  to {
    transform: translate3d(-420px, 0, 0);
  }
}

@keyframes drift-near {
  to {
    transform: translate3d(-640px, 0, 0);
  }
}

@keyframes meteor {
  0%,
  84% {
    opacity: 0;
    transform: rotate(150deg) translateX(-160px);
  }
  86% {
    opacity: 1;
  }
  93% {
    opacity: 0;
    transform: rotate(150deg) translateX(420px);
  }
  100% {
    opacity: 0;
    transform: rotate(150deg) translateX(420px);
  }
}

@keyframes station {
  0%,
  100% {
    transform: translate(0, 0) rotate(-8deg);
  }
  50% {
    transform: translate(-16px, 10px) rotate(-5deg);
  }
}

@keyframes sat {
  from {
    transform: translate(0, 0) rotate(-16deg);
  }
  to {
    transform: translate(calc(100vw + 180px), -46vh) rotate(-16deg);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 13. TELEFON: MNIEJSZE ELEMENTY ---------- */
@media (max-width: 600px) {
  .logo {
    font-size: 16px;
    text-shadow:
      0 1px 0 #8E8E89,
      0 2px 0 #6A6A66,
      0 3px 0 #45453F,
      0 4px 0 #2B2B29,
      0 8px 12px rgba(0, 0, 0, 0.8);
  }

  .nav {
    gap: 4px;
  }

  .top__row {
    gap: 6px 8px;
  }

  .milky {
    height: 400px;
    margin-top: -240px;
  }

  .station {
    top: 58%;
    right: -34px;
    width: 104px;
  }

  .sat {
    width: 46px;
  }

  .space__inner {
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .stage {
    height: 430px;
  }

  .phone {
    width: 190px;
    height: 390px;
    margin-left: -95px;
  }

  .phone::before {
    right: -60px;
    left: -60px;
  }

  .phone__body {
    border-radius: 32px;
  }

  .phone__screen {
    border-radius: 23px;
  }

  .stage .ctrl {
    width: 44px;
    height: 44px;
    margin-top: -22px;
  }

  .card__title {
    font-size: 24px;
  }

  .block {
    padding: 56px 0;
  }

  .block__title {
    font-size: 26px;
  }

  .block__lead {
    font-size: 18px;
  }
}

@media (max-width: 400px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    font-size: 15px;
  }

  .icon-btn,
  .lang {
    width: 40px;
    height: 40px;
  }

  .nav__link {
    padding: 0 8px;
    font-size: 15px;
  }

  .nav__link--cta {
    padding: 0 14px;
  }
}

/* ---------- 14. OGRANICZENIE RUCHU W SYSTEMIE: BEZ ANIMACJI ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .phones {
    transform: none;
  }

  .meteor {
    display: none;
  }
}
