/* ==========================================================================
   netstyle. – arkusz stylów
   Spis treści:
    1. Czcionki
    2. Kolory i zmienne (motyw ciemny / jasny)
    3. Podstawy
    4. Elementy wspólne (kontener, nagłówki sekcji, przyciski, karty)
    5. Nawigacja
    6. Hero (sekcja startowa)
    7. Pasek z hasłami
    8. Porównanie z agencją
    9. Jak pracuję
   10. Oferta
   11. FAQ
   12. Kontakt i formularz
   13. Stopka
   14. Polityka prywatności
   15. Animacje
   16. Responsywność i ograniczenie ruchu
   ========================================================================== */


/* 1. Czcionki
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

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

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


/* 2. Kolory i zmienne
   Główny kolor marki zmieniasz w jednym miejscu: --accent.
   ========================================================================== */

:root {
  --accent: #00CF86;
  --accent-text: var(--accent);         /* akcent jako kolor tekstu/ikon */
  --on-accent: #0F100D;                 /* tekst na zielonym tle */

  --bg: #0F100D;
  --bg-rgb: 15, 16, 13;
  --fg-rgb: 242, 240, 234;
  --text: #F2F0EA;
  --muted: #C9C7BE;
  --muted2: #A9A89F;
  --surface: #161813;
  --t1: #1A1C17;
  --t2: #1E201B;
  --t3: #23261F;
  --inv: #F2F0EA;
  --inv-fg: #0F100D;
  --inv-muted: #4A4B45;
  --shadow: rgba(0, 0, 0, 0.8);
  --danger: #FF7A6E;

  --line: rgba(var(--fg-rgb), 0.10);
  --line-strong: rgba(var(--fg-rgb), 0.14);
  --field-border: rgba(var(--fg-rgb), 0.20);

  --font-sans: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --container: 1240px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

:root.light {
  --accent-text: color-mix(in oklab, var(--accent) 55%, #000);
  --bg: #F5F4EF;
  --bg-rgb: 245, 244, 239;
  --fg-rgb: 20, 21, 17;
  --text: #141511;
  --muted: #45463F;
  --muted2: #5E5F57;
  --surface: #FFFFFF;
  --t1: #E9E7E0;
  --t2: #E1DFD7;
  --t3: #D8D6CD;
  --inv: #141511;
  --inv-fg: #F2F0EA;
  --inv-muted: #A9A89F;
  --shadow: rgba(20, 21, 17, 0.35);
  --danger: #B42318;
}


/* 3. Podstawy
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s, color .35s;
}

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

a {
  color: var(--text);
}

input,
textarea,
button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.mono {
  font-family: var(--font-mono);
}

.accent {
  color: var(--accent-text);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.grid-bg {
  background-image:
    linear-gradient(rgba(var(--fg-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--fg-rgb), 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}


/* 4. Elementy wspólne
   ========================================================================== */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

.section--bordered {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-text);
}

.section-title {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}

.lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .35s;
}

.btn:hover {
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px color-mix(in srgb, var(--accent) 60%, transparent);
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.btn--block {
  display: flex;
  width: 100%;
  min-height: 58px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid rgba(var(--fg-rgb), 0.22);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease;
}

.btn-ghost:hover {
  background: rgba(var(--fg-rgb), 0.08);
}

.btn:focus-visible,
.btn-ghost:focus-visible,
.icon-btn:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(var(--fg-rgb), 0.22);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color .2s ease;
}

.icon-btn:hover {
  background: rgba(var(--fg-rgb), 0.08);
}

/* Karty */
.card {
  border: 1px solid rgba(var(--fg-rgb), 0.12);
  border-radius: 18px;
  background: var(--surface);
  transition: transform .25s ease, border-color .25s ease, background-color .35s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--fg-rgb), 0.32);
}


/* 5. Nawigacja
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
}

.brand__logo {
  width: 141px;
  height: 32px;
}

.logo-net {
  fill: currentColor;
}

.logo-style {
  fill: #00CF86;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
}

.navlinks a {
  color: var(--muted);
  text-decoration: none;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-moon {
  display: none;
}

:root.light .icon-moon {
  display: block;
}

:root.light .icon-sun {
  display: none;
}


/* 6. Hero
   ========================================================================== */

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.status-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(var(--fg-rgb), 0.18);
  border-radius: 999px;
  background: rgba(var(--bg-rgb), 0.7);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.status-pill__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__title {
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}

.hero__title .serif {
  font-size: 1.08em;
  letter-spacing: -0.01em;
  color: var(--accent-text);
}

.hero__lead {
  max-width: 540px;
  font-size: 20px;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero__nots {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted2);
}

/* Wizualizacja: stos gotowych szablonów i jeden autorski projekt */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 500px;
  margin: 0 auto;
}

.hero-visual__caption {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted2);
}

.hero-visual__corner {
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--muted2);
  border-left: 1px solid var(--muted2);
}

.template {
  position: absolute;
  width: 66%;
  height: 330px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 14px;
}

.template--1 { top: 60px;  left: 4%;  background: var(--t1); border: 1px solid rgba(var(--fg-rgb), 0.10); opacity: .5; }
.template--2 { top: 84px;  left: 10%; background: var(--t2); border: 1px solid rgba(var(--fg-rgb), 0.12); opacity: .7; }
.template--3 { top: 108px; left: 16%; background: var(--t3); border: 1px solid rgba(var(--fg-rgb), 0.14); }

.template__bar,
.template__line {
  border-radius: 4px;
  background: rgba(var(--fg-rgb), 0.16);
}

.template__bar   { width: 40%; height: 10px; }
.template__line  { height: 8px; background: rgba(var(--fg-rgb), 0.12); }
.template__line--long  { width: 85%; }
.template__line--short { width: 70%; }

.template__image {
  height: 120px;
  border-radius: 8px;
  background: rgba(var(--fg-rgb), 0.08);
}

.original {
  position: absolute;
  top: 150px;
  left: 30%;
  width: 66%;
  height: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 16px;
  background: var(--inv);
  color: var(--inv-fg);
  box-shadow: 0 40px 80px -30px var(--shadow), 0 0 0 1px rgba(var(--fg-rgb), 0.4);
}

.original__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.original__brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.original__dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
}

.original__title {
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.original__grid {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}

.original__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.original__block {
  border-radius: 10px;
}

.original__block--dark   { background: var(--inv-fg); }
.original__block--accent { flex-grow: 1; background: var(--accent); }
.original__block--line   { flex-grow: 1; border: 1.5px solid var(--inv-fg); }

.original__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--inv-muted);
}

.fake-cursor {
  position: absolute;
  top: 420px;
  left: 72%;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.fake-cursor__arrow {
  color: var(--accent);
}

.fake-cursor__label {
  margin-top: 16px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}


/* 7. Pasek z hasłami
   ========================================================================== */

.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: var(--accent);
  color: var(--on-accent);
}

.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}


/* 8. Porównanie z agencją
   ========================================================================== */

.compare {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.compare__intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 32px;
  align-items: end;
}

.compare__table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}

.compare__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 12px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted2);
}

.compare__head .accent {
  color: var(--accent-text);
}

.compare__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 12px 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 17px;
  line-height: 1.5;
}

.compare__label {
  font-size: 20px;
  font-weight: 700;
}

.compare__them {
  color: var(--muted2);
}


/* 9. Jak pracuję
   ========================================================================== */

.process {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.process .section-head {
  max-width: 760px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  padding: 28px;
}

.step__num {
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent-text);
}

.step__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.step__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}


/* 10. Oferta
   ========================================================================== */

.offer {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 40px 48px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature__icon {
  color: var(--accent-text);
}

.feature__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.feature__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

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

.offer__note {
  font-size: 16px;
  color: var(--muted);
}


/* 11. FAQ
   ========================================================================== */

.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 48px;
  align-items: start;
}

.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(var(--fg-rgb), 0.16);
}

.faq-item {
  border-bottom: 1px solid rgba(var(--fg-rgb), 0.16);
}

.faq-item__heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 44px;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.faq-q:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 4px;
  border-radius: 6px;
}

.faq-q:hover .plus {
  color: var(--text);
}

.plus {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(var(--fg-rgb), 0.16);
  border-radius: 50%;
  color: var(--accent-text);
  transition: transform .4s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}

.faq-item.is-open .plus {
  transform: rotate(45deg);
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .45s var(--ease-out), opacity .25s ease, visibility 0s linear .45s;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition: grid-template-rows .45s var(--ease-out), opacity .35s ease .08s, visibility 0s;
}

.faq-a__inner {
  min-height: 0;
  overflow: hidden;
}

.faq-a__text {
  max-width: 620px;
  margin: 0;
  padding-bottom: 26px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  transform: translateY(-8px);
  transition: transform .45s var(--ease-out);
}

.faq-item.is-open .faq-a__text {
  transform: none;
}


/* 12. Kontakt i formularz
   ========================================================================== */

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 56px;
  align-items: start;
}

.contact__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact__title {
  margin: 0;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}

.contact__title .serif {
  color: var(--accent-text);
}

.contact__lead {
  max-width: 480px;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.contact__link svg {
  color: var(--accent-text);
}

.form-card {
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--surface);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.field__req {
  color: var(--accent-text);
}

.field__optional {
  color: var(--muted2);
}

.input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--field-border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
}

textarea.input {
  min-height: 150px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}

.input::placeholder {
  color: var(--muted2);
  opacity: .8;
}

.input:focus {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

.input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px var(--danger);
}

.field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--danger);
}

.field-error svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Checkbox zgody RODO */
.consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

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

.consent-input {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.consent-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--field-border);
  border-radius: 5px;
  background: var(--bg);
  color: var(--on-accent);
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}

.consent-box svg {
  opacity: 0;
  transform: scale(.6);
  transition: opacity .15s, transform .15s;
}

.consent:hover .consent-box {
  border-color: rgba(var(--fg-rgb), 0.38);
}

.consent-input:checked + .consent-box {
  border-color: var(--accent);
  background: var(--accent);
}

.consent-input:checked + .consent-box svg {
  opacity: 1;
  transform: none;
}

.consent-input:focus-visible + .consent-box {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

.consent-input[aria-invalid="true"] + .consent-box {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px var(--danger);
}

/* Pole-pułapka na boty (niewidoczne dla ludzi) */
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Komunikat o błędzie wysyłki */
.form-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.form-status.is-error {
  border: 1px solid var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, transparent);
  color: var(--text);
}

.form-status svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--danger);
}

.form-status a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form__note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted2);
  text-align: center;
}

/* Przycisk wysyłki w trakcie */
.btn[disabled] {
  opacity: .7;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(15, 16, 13, 0.25);
  border-top-color: var(--on-accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.is-sending .spinner {
  display: block;
}

.is-sending .arrow {
  display: none;
}

/* Ekran po udanej wysyłce */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 0;
  outline: none;
}

.form-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}

.form-success__title {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.form-success__title .serif {
  color: var(--accent-text);
}

.form-success__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.form-success .btn-ghost {
  min-height: 48px;
  padding: 0 22px;
  font-size: 16px;
}


/* 13. Stopka
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 28px;
}

.footer-logo {
  width: 100%;
  max-width: 1000px;
  height: auto;
  color: rgba(var(--fg-rgb), 0.08);
}

.footer-logo path {
  fill: currentColor;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--muted2);
}

.site-footer__meta a {
  color: var(--muted2);
}

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


/* 14. Polityka prywatności
   ========================================================================== */

.page-header {
  border-bottom: 1px solid var(--line);
}

.page-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}

.back-link:hover {
  color: var(--text);
}

.page-header__brand {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted2);
}

.policy {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.policy__title {
  margin: 16px 0 32px;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.policy h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.policy p {
  max-width: 68ch;
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

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


/* 15. Animacje
   ========================================================================== */

@keyframes rise   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lift   { 0%, 100% { transform: rotate(-7deg) translate(0, 0); } 50% { transform: rotate(-5deg) translate(6px, -14px); } }
@keyframes float  { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, -18px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blink  { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes spin   { to { transform: rotate(360deg); } }

.rise { animation: rise .9s var(--ease-out) both; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .2s; }
.d3 { animation-delay: .34s; }
.d4 { animation-delay: .5s; }
.d5 { animation-delay: .7s; }

.original       { animation: lift 6s ease-in-out infinite; }
.fake-cursor    { animation: float 6s ease-in-out infinite; }
.marquee__track { animation: marquee 32s linear infinite; }
.status-pill__dot { animation: blink 1.6s ease-in-out infinite; }


/* 16. Responsywność i ograniczenie ruchu
   ========================================================================== */

@media (max-width: 820px) {
  .navlinks,
  .compare__head {
    display: none;
  }
}

/* Telefony (Bootstrap: poniżej sm) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding: 45px 0;
  }

  .section-head {
    gap: 12px;
  }

  .eyebrow {
    font-size: 12px;
  }

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

  .lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .btn,
  .btn-ghost {
    min-height: 52px;
    padding-right: 22px;
    padding-left: 22px;
    font-size: 16px;
  }

  .topnav {
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .hero__inner {
    gap: 36px;
    padding-top: 40px;
    padding-bottom: 55px;
  }

  .hero__copy {
    gap: 22px;
  }

  .hero__title,
  .contact__title {
    font-size: 40px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__nots {
    gap: 10px 16px;
    font-size: 12px;
  }

  .hero-visual {
    max-width: 390px;
    height: 360px;
  }

  .hero-visual__caption {
    font-size: 10px;
  }

  .template {
    height: 238px;
    gap: 9px;
    padding: 14px;
    border-radius: 11px;
  }

  .template--1 { top: 42px; }
  .template--2 { top: 60px; }
  .template--3 { top: 78px; }

  .template__bar { height: 8px; }
  .template__line { height: 6px; }
  .template__image { height: 86px; }

  .original {
    top: 108px;
    height: 232px;
    gap: 10px;
    padding: 16px;
    border-radius: 13px;
  }

  .original__brand { font-size: 11px; }
  .original__dot { width: 20px; height: 20px; }
  .original__title { font-size: 23px; }
  .original__grid,
  .original__col { gap: 7px; }
  .original__block { border-radius: 7px; }
  .original__meta { font-size: 9px; }

  .fake-cursor {
    top: 306px;
    left: 68%;
  }

  .fake-cursor__arrow {
    width: 21px;
    height: 21px;
  }

  .fake-cursor__label {
    margin-top: 12px;
    padding: 3px 7px;
    font-size: 9px;
  }

  .marquee {
    padding: 14px 0;
  }

  .marquee__track {
    gap: 30px;
    font-size: 18px;
  }

  .compare,
  .process {
    gap: 32px;
  }

  .compare__intro {
    gap: 24px;
  }

  .compare__row {
    gap: 10px;
    padding: 20px 0;
    font-size: 16px;
  }

  .compare__label {
    font-size: 18px;
  }

  .steps {
    gap: 14px;
  }

  .step {
    min-height: 0;
    gap: 12px;
    padding: 22px;
  }

  .step__num { font-size: 44px; }
  .step__title { font-size: 20px; }

  .offer {
    gap: 28px;
  }

  .features {
    gap: 28px;
  }

  .faq {
    gap: 32px;
  }

  .faq-q {
    gap: 14px;
    padding: 18px 0;
    font-size: 18px;
  }

  .plus {
    width: 32px;
    height: 32px;
  }

  .faq-a__text {
    padding-bottom: 20px;
    font-size: 16px;
  }

  .contact {
    gap: 38px;
  }

  .contact__copy {
    gap: 22px;
  }

  .contact__link {
    gap: 12px;
    font-size: 18px;
  }

  .form-card {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .form {
    gap: 18px;
  }

  .form__row {
    gap: 16px;
  }

  .consent {
    gap: 10px;
    font-size: 14px;
  }

  .form-success__title {
    font-size: 30px;
  }

  .site-footer__inner {
    gap: 24px;
    padding-top: 32px;
  }

  .site-footer__meta {
    gap: 10px;
    font-size: 13px;
  }

  .page-header__inner {
    padding: 14px 20px;
  }

  .policy {
    padding: 48px 20px 72px;
  }

  .policy h2 {
    margin-top: 32px;
    font-size: 20px;
  }

  .policy p {
    font-size: 16px;
    line-height: 1.65;
  }
}

@media (max-width: 440px) {
  .topnav {
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand__logo {
    width: 118px;
    height: 27px;
  }

  .btn--sm {
    padding: 0 14px;
    font-size: 14px;
  }

  .form-card {
    padding: 24px 18px;
  }

  .hero__actions .btn,
  .hero__actions .btn-ghost {
    width: 100%;
  }
}

@media (max-width: 359.98px) {
  .nav-actions .btn {
    display: none;
  }
}

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

  .rise,
  .original,
  .fake-cursor,
  .marquee__track,
  .status-pill__dot {
    animation: none;
  }

  .faq-a,
  .faq-a__text,
  .plus {
    transition: none !important;
  }
}
