/* =========================================================
   NUTKA — style.css
   Design tokens + reset + komponenty + animacje + RWD
   ========================================================= */

:root {
  /* --- Kolory --- */
  --color-ink: #15101F;          /* głęboki atrament — tła hero/stopka */
  --color-ink-soft: #211A33;     /* karty na ciemnym tle */
  --color-ink-line: #342A52;     /* linie/obrysy na ciemnym tle */
  --color-indigo: #5B3FE0;       /* marka — primary */
  --color-indigo-deep: #3B27A6;
  --color-indigo-bright: #8B7BFF;
  --color-coral: #FF6E5A;        /* akcent / CTA */
  --color-coral-deep: #E0503D;
  --color-paper: #FBFAFF;        /* tło jasne */
  --color-mist: #ECE7FB;         /* karty na jasnym tle */
  --color-text-dark: #1B1330;    /* tekst na jasnym tle */
  --color-text-light: #F4F1FA;   /* tekst na ciemnym tle */
  --color-text-muted-dark: rgba(27, 19, 48, 0.64);
  --color-text-muted-light: rgba(244, 241, 250, 0.66);

  /* --- Typografia --- */
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", monospace;

  /* --- Skala odstępów --- */
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4.5rem;
  --space-2xl: 7rem;

  /* --- Layout --- */
  --container-w: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* --- Cienie --- */
  --shadow-soft: 0 20px 50px -25px rgba(27, 19, 48, 0.35);
  --shadow-glow-coral: 0 0 0 1px rgba(255, 110, 90, 0.25), 0 12px 30px -10px rgba(255, 110, 90, 0.45);

  /* --- Czas trwania animacji --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

body {
  font-family: var(--font-body);
  background: var(--color-paper);
  color: var(--color-text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 3px solid var(--color-coral);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(3.5rem, 8vw, var(--space-2xl));
}

.section--dark {
  background: var(--color-ink);
  color: var(--color-text-light);
}

.section--mist {
  background: var(--color-mist);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, var(--space-xl));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: "";
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--color-coral);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

em, .accent-italic {
  font-style: italic;
  color: var(--color-coral);
}

.section--dark em, .section--dark .accent-italic {
  color: var(--color-indigo-bright);
}

p.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--color-text-muted-dark);
  max-width: 36ch;
}

.section--dark p.lede { color: var(--color-text-muted-light); }

.text-muted { color: var(--color-text-muted-dark); }
.section--dark .text-muted { color: var(--color-text-muted-light); }

/* ---------- Botões / CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--color-coral);
  color: #1B1330;
  box-shadow: var(--shadow-glow-coral);
}
.btn--primary:hover { background: var(--color-coral-deep); }

.btn--ghost {
  border: 1.5px solid currentColor;
  opacity: 0.85;
}
.btn--ghost:hover { opacity: 1; }

.btn--disabled {
  background: transparent;
  border: 1.5px dashed var(--color-ink-line);
  color: var(--color-text-muted-light);
  cursor: default;
}
.btn--disabled:hover { transform: none; }

.btn--block { width: 100%; }

/* ---------- Nawigacja ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 1.1rem;
  background: rgba(21, 16, 31, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(21, 16, 31, 0.86);
  backdrop-filter: blur(14px);
  border-color: var(--color-ink-line);
  padding-block: 0.7rem;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.brand__mark { width: 30px; height: 30px; flex-shrink: 0; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__links a {
  font-size: 0.95rem;
  color: var(--color-text-muted-light);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--color-text-light); }

.nav__right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--color-ink-line);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-switch button {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.4em 0.7em;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted-light);
  transition: background 0.2s, color 0.2s;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--color-indigo);
  color: #fff;
}

.nav__toggle {
  display: none;
  color: var(--color-text-light);
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-ink);
    border-bottom: 1px solid var(--color-ink-line);
    padding: var(--space-md) clamp(1.25rem, 4vw, 2.5rem) var(--space-lg);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% -10%, rgba(91, 63, 224, 0.35), transparent 55%),
              radial-gradient(circle at 90% 10%, rgba(255, 110, 90, 0.18), transparent 45%),
              var(--color-ink);
  color: var(--color-text-light);
  overflow: hidden;
  padding-top: clamp(7rem, 14vw, 9.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  margin-bottom: var(--space-md);
}

.hero__lede {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--color-text-muted-light);
  max-width: 42ch;
  margin-bottom: var(--space-lg);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero__trust {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-text-muted-light);
  letter-spacing: 0.02em;
}

.hero__trust span { color: var(--color-indigo-bright); }

/* --- Wizualizator (element sygnaturowy) --- */
.visualizer {
  position: relative;
  height: clamp(280px, 38vw, 380px);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--color-ink-soft), rgba(33, 26, 51, 0.4));
  border: 1px solid var(--color-ink-line);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  overflow: hidden;
}

.visualizer__bar {
  flex: 1;
  max-width: 14px;
  border-radius: var(--radius-pill);
  background: var(--color-ink-line);
  animation: bar-noise 2.4s ease-in-out infinite;
  transform-origin: bottom;
}

.visualizer__bar--found {
  background: var(--color-coral) !important;
  box-shadow: 0 0 24px rgba(255, 110, 90, 0.65);
  animation: bar-found 4.8s ease-in-out infinite;
}

@keyframes bar-noise {
  0%, 100% { height: 22%; }
  50% { height: 70%; }
}

@keyframes bar-found {
  0%, 18% { height: 30%; opacity: 0.5; }
  35%, 70% { height: 88%; opacity: 1; }
  85%, 100% { height: 30%; opacity: 0.5; }
}

.visualizer__bar:nth-child(1) { animation-duration: 1.8s; }
.visualizer__bar:nth-child(2) { animation-duration: 2.6s; animation-delay: -0.4s; }
.visualizer__bar:nth-child(3) { animation-duration: 2.1s; animation-delay: -1s; }
.visualizer__bar:nth-child(4) { animation-duration: 3s; animation-delay: -0.2s; }
.visualizer__bar:nth-child(5) { animation-duration: 1.9s; animation-delay: -1.4s; }
.visualizer__bar:nth-child(6) { animation-duration: 2.7s; animation-delay: -0.7s; }
.visualizer__bar:nth-child(8) { animation-duration: 2.3s; animation-delay: -1.1s; }
.visualizer__bar:nth-child(9) { animation-duration: 3.1s; animation-delay: -0.3s; }
.visualizer__bar:nth-child(10) { animation-duration: 2s; animation-delay: -1.6s; }
.visualizer__bar:nth-child(11) { animation-duration: 2.5s; animation-delay: -0.9s; }
.visualizer__bar:nth-child(12) { animation-duration: 1.85s; animation-delay: -0.5s; }
.visualizer__bar:nth-child(13) { animation-duration: 2.9s; animation-delay: -1.3s; }

@media (prefers-reduced-motion: reduce) {
  .visualizer__bar, .visualizer__bar--found { animation: none; height: 45%; }
  .visualizer__bar--found { height: 78%; }
}

.visualizer__note {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(21, 16, 31, 0.85);
  border: 1px solid var(--color-ink-line);
  border-radius: var(--radius-pill);
  padding: 0.5em 1em 0.5em 0.6em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  animation: note-cycle 4.8s ease-in-out infinite;
  backdrop-filter: blur(6px);
}

@keyframes note-cycle {
  0%, 12% { opacity: 0; transform: translate(-50%, 6px); }
  20%, 75% { opacity: 1; transform: translate(-50%, 0); }
  88%, 100% { opacity: 0; transform: translate(-50%, 6px); }
}

@media (prefers-reduced-motion: reduce) {
  .visualizer__note { animation: none; opacity: 1; }
}

.visualizer__note-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-coral);
}

/* ---------- Pasek z przykładami (ticker) ---------- */
.ticker-wrap {
  border-top: 1px solid var(--color-ink-line);
  border-bottom: 1px solid var(--color-ink-line);
  background: var(--color-ink-soft);
  overflow: hidden;
  padding-block: var(--space-sm);
}

.ticker {
  display: flex;
  gap: var(--space-lg);
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
  width: max-content;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker:hover, .ticker:focus-within { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
}

.ticker__item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.ticker__item b { color: var(--color-text-light); font-weight: 500; }

/* ---------- Feature blocks (alternating) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, var(--space-xl));
}

.feature:not(:last-child) {
  border-bottom: 1px solid rgba(27, 19, 48, 0.08);
}

.feature--reverse .feature__visual { order: 2; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__visual { order: 0; }
}

.feature__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-indigo);
  margin-bottom: 0.6em;
  display: block;
}

.feature__visual {
  border-radius: var(--radius-lg);
  background: var(--color-mist);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

/* --- Phone mockup --- */
.phone {
  width: 230px;
  border-radius: 34px;
  background: var(--color-ink);
  border: 6px solid var(--color-ink);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.phone__screen {
  background: var(--color-paper);
  aspect-ratio: 9 / 18.5;
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1rem 1rem;
  position: relative;
}

.phone__notch {
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 14px;
  background: var(--color-ink);
  border-radius: var(--radius-pill);
}

.phone__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-indigo);
  font-size: 1rem;
  text-align: center;
  margin-top: 1.2rem;
}

.phone__tagline {
  text-align: center;
  font-size: 0.6rem;
  color: var(--color-text-muted-dark);
  margin-bottom: auto;
}

.phone__mic {
  width: 86px; height: 86px;
  border-radius: 50%;
  margin: 1.2rem auto;
  background: linear-gradient(135deg, var(--color-indigo), var(--color-coral));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -12px rgba(91, 63, 224, 0.55);
}

.phone__mic svg { width: 30px; height: 30px; }

.phone__hint {
  text-align: center;
  font-size: 0.62rem;
  color: var(--color-text-muted-dark);
  margin-bottom: 1.2rem;
}

.phone__banner {
  height: 26px;
  border-radius: 6px;
  background: var(--color-mist);
  border: 1px dashed var(--color-ink-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--color-text-muted-dark);
  letter-spacing: 0.04em;
}

.phone__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.3rem;
  border-bottom: 1px solid rgba(27, 19, 48, 0.08);
}

.phone__row-art {
  width: 30px; height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}

.phone__row-text { flex: 1; min-width: 0; }
.phone__row-text strong { display: block; font-size: 0.62rem; line-height: 1.2; }
.phone__row-text span { display: block; font-size: 0.55rem; color: var(--color-text-muted-dark); }

.phone__list { margin-top: 1.2rem; }

.phone__menu {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  padding: 0 0.2rem;
}

.phone__menu-pill {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  padding: 0.35em 0.7em;
  border-radius: var(--radius-pill);
  background: var(--color-indigo);
  color: #fff;
}

.phone__menu-pill--ghost {
  background: transparent;
  border: 1px solid var(--color-ink-line);
  color: var(--color-text-muted-dark);
}

.phone__toast {
  margin-top: auto;
  background: var(--color-ink);
  color: var(--color-text-light);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  padding: 0.5em 0.7em;
  border-radius: 8px;
  text-align: center;
}

/* ---------- Trust strip (mini cards) ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 760px) {
  .trust-strip { grid-template-columns: 1fr; }
}

.trust-card {
  background: var(--color-paper);
  border: 1px solid rgba(27, 19, 48, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.trust-card__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--color-indigo);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-sm);
}
.trust-card__icon svg { width: 18px; height: 18px; color: #fff; }

.trust-card h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.trust-card p { font-size: 0.92rem; color: var(--color-text-muted-dark); }

/* ---------- Jak to działa (kroki) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

.step__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-indigo-bright);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  display: block;
}

.step h3 { margin-bottom: 0.5em; color: var(--color-text-light); }
.step p { color: var(--color-text-muted-light); font-size: 0.95rem; }

.steps-connector {
  display: none;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
}

.faq-item {
  border-bottom: 1px solid rgba(27, 19, 48, 0.1);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: var(--space-md);
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--color-indigo);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}
.faq-item__icon::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.faq-item__icon::after { width: 2px; height: 14px; top: 4px; left: 10px; }

.faq-item[data-open="true"] .faq-item__icon::after { transform: scaleY(0); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}

.faq-item__a-inner {
  padding-bottom: var(--space-md);
  color: var(--color-text-muted-dark);
  font-size: 0.95rem;
  max-width: 60ch;
}

/* ---------- Download ---------- */
.download-card {
  background: linear-gradient(155deg, var(--color-indigo), var(--color-indigo-deep));
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 860px) {
  .download-card { grid-template-columns: 1fr; text-align: center; }
  .download-card .hero__ctas { justify-content: center; }
}

.download-card::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255, 110, 90, 0.35), transparent 70%);
  right: -80px; top: -80px;
}

.download-card h2 { color: #fff; margin-bottom: 0.6em; }
.download-card p { color: rgba(255, 255, 255, 0.78); max-width: 38ch; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  border: 1.5px dashed rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-md);
  padding: 0.85em 1.3em;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.store-badge svg { width: 26px; height: 26px; }

.store-badge__label { display: block; font-size: 0.62rem; opacity: 0.75; }
.store-badge__title { display: block; font-size: 0.95rem; font-family: var(--font-body); font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  background: var(--color-ink);
  color: var(--color-text-muted-light);
  padding-block: var(--space-xl) var(--space-lg);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-ink-line);
  margin-bottom: var(--space-md);
}

.footer__brand p { max-width: 32ch; margin-top: 0.8em; font-size: 0.92rem; }

.footer__cols {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.9em;
}

.footer__col a, .footer__col span {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.6em;
  color: var(--color-text-muted-light);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--color-text-light); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.8rem;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Strona polityki prywatności ---------- */
.legal {
  max-width: 760px;
  padding-top: clamp(7rem, 12vw, 9rem);
  padding-bottom: var(--space-2xl);
}
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 0.3em; }
.legal .updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--color-text-muted-dark); margin-bottom: var(--space-xl); display: block; }
.legal h2 { font-size: 1.3rem; margin-top: var(--space-xl); margin-bottom: 0.6em; }
.legal h3 { font-size: 1.05rem; margin-top: var(--space-md); margin-bottom: 0.4em; }
.legal p, .legal li { color: var(--color-text-muted-dark); font-size: 0.98rem; margin-bottom: 0.9em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 0.5em; }
.legal strong { color: var(--color-text-dark); }
.legal .notice {
  background: var(--color-mist);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}
.legal a { color: var(--color-indigo); text-decoration: underline; }
