/* RideAd – style strony (czarno-limonkowe, kolory z logo; detale w duchu ElevenLabs:
   cienkie krawędzie zamiast ramek, karty w panelach, cienkie nagłówki)
   Kolory, fonty i odstępy są zdefiniowane raz, w :root. */

:root {
  --bg: #111214;             /* tło strony */
  --bg-deep: #0B0C0D;        /* tło sekcji zapisu i stopki */
  --bg-soft: #17181B;        /* panele, w których leżą karty */
  --surface: #1D1E21;        /* karty w panelach */
  --surface-2: #26272A;      /* elementy na kartach */
  --line: rgba(255, 255, 255, 0.08);   /* cienkie linie w listach */
  --hair: rgba(255, 255, 255, 0.06);   /* linie między sekcjami */
  --ring: 0 0 0 1px rgba(255, 255, 255, 0.08);   /* krawędź karty zamiast ramki */
  --lift: 0 1px 1px rgba(0, 0, 0, 0.35), 0 4px 12px -2px rgba(0, 0, 0, 0.35);
  /* „taksometr”: ciemne okienko licznika i zapalona lampka */
  --display: #08090A;
  --display-ring: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 2px 10px rgba(0, 0, 0, 0.8);
  --led-glow: 0 0 10px rgba(184, 240, 96, 0.6);
  --line-strong: #6B7178;    /* obramowania pól formularza (≥3:1) */

  --text: #F3F4F6;           /* główny tekst (biały z logo) */
  --text-2: #A6A29B;         /* tekst pomocniczy, ciepła szarość (≈7:1 na tle) */

  --lime: #B8F060;           /* limonka z logo */
  --lime-hover: #CBF586;
  --lime-soft: rgba(184, 240, 96, 0.12);
  --on-lime: #0B0C0D;        /* tekst na limonkowym tle */
  --error: #FF8F70;          /* błędy formularza */

  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "Hanken Grotesk", system-ui, sans-serif;

  --radius-lg: 22px;         /* panele */
  --radius: 16px;            /* karty */
  --radius-sm: 10px;         /* pola, małe kafelki */

  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --section: clamp(4rem, 2.6rem + 6vw, 7.5rem);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* scroll-padding-top: gdzie lądują nagłówki sekcji po kliknięciu w menu (pod przyklejonym paskiem) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 112px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--lime); color: var(--on-lime); }

/* Cienkie nagłówki (Outfit 300), jak na ElevenLabs */
h1, h2, h3 { margin: 0; color: var(--text); font-family: var(--font-display); font-weight: 300; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.1rem); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 1.55rem + 1.6vw, 2.85rem); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: 1.15rem; font-weight: 400; line-height: 1.3; letter-spacing: -0.005em; }
p, ul, ol, dl, dd, figure { margin: 0; }
p { text-wrap: pretty; }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.section-head { max-width: 40rem; }
.section-head p { margin-top: 1rem; font-size: 1.15rem; color: var(--text-2); }
.section-head + * { margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem); }

.text-link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 1px; }
.text-link:hover { color: var(--lime); }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--surface); padding: 0.75rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Przyciski: smukłe pigułki ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0 1.25rem;
  border-radius: 999px; border: 0;
  font: 500 0.95rem/1.2 var(--font); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 0.15s ease;
}
.btn-primary { background: var(--lime); color: var(--on-lime); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 1px 2px rgba(0, 0, 0, 0.4); }
.btn-primary:hover { background: var(--lime-hover); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-sm { min-height: 36px; padding: 0 0.95rem; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.7; cursor: progress; }

/* ---------- Logo: „ride” białe, „ad” limonkowe, jak w znaku ---------- */
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1;
  letter-spacing: -0.03em; color: var(--text); text-decoration: none;
}
.logo span { color: var(--lime); }

/* ---------- Nagłówek i menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 18, 20, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--hair);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.nav { display: flex; gap: 0.25rem; }
.nav a { padding: 0.45rem 0.8rem; border-radius: 999px; color: var(--text-2); font-size: 0.95rem; text-decoration: none; }
.nav a:hover { color: var(--text); background: var(--surface); }
.header-cta { margin-left: auto; }

.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  list-style: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 999px; box-shadow: var(--ring);
  display: grid; place-content: center; gap: 5px;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.2s ease; }
.mobile-menu[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
.mobile-menu[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu nav {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(18rem, calc(100vw - 2rem));
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--ring), 0 24px 48px -16px rgba(0, 0, 0, 0.7);
  padding: 0.6rem; display: grid; gap: 0.15rem;
}
.mobile-menu nav a:not(.btn) { padding: 0.75rem 0.9rem; border-radius: var(--radius-sm); font-weight: 500; text-decoration: none; }
.mobile-menu nav a:not(.btn):hover { background: var(--surface-2); }
.mobile-menu nav .btn { margin-top: 0.4rem; }

@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { gap: 0.75rem; }
  .mobile-menu { display: block; }
}
@media (max-width: 340px) {
  .header-cta { display: none; }
  .mobile-menu { margin-left: auto; }
}

/* ---------- Hero: film jako tło nagłówka, tekst na wierzchu ----------
   Na komputerze tekst stoi po prawej, a film jest przesunięty w lewo, żeby ekran w taksówce nie chował się pod tekstem.
   Na telefonie film stoi nad tekstem i przechodzi w tło strony. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(560px, calc(100svh - 73px), 820px);
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--bg); }
.hero-video {
  position: absolute; top: 0; left: 0; bottom: 0; right: 28%; width: 72%; height: 100%;
  object-fit: cover; object-position: 65% 45%;
  -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 22%); mask-image: linear-gradient(270deg, transparent 0, #000 22%);
}
.hero-media::after { /* przyciemnienie pod tekstem i płynne przejście w kolejną sekcję */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(270deg, var(--bg) 24%, rgba(17, 18, 20, 0.7) 38%, rgba(17, 18, 20, 0.12) 62%, rgba(17, 18, 20, 0) 80%),
    linear-gradient(0deg, var(--bg) 0%, rgba(17, 18, 20, 0) 24%),
    linear-gradient(180deg, rgba(17, 18, 20, 0.55) 0%, rgba(17, 18, 20, 0) 18%);
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(3rem, 2rem + 4vw, 6rem); pointer-events: none; }
/* na dużych ekranach tekst w hero prawie dotyka prawej krawędzi ekranu (film bez zmian),
   a hero zakrywa pionowe linie ramki strony, żeby nie przecinały tekstu */
@media (min-width: 921px) {
  .hero { z-index: 1; }
  .hero-inner { max-width: none; padding-right: clamp(12px, 1.2vw, 20px); }
}
.hero-copy { max-width: 40rem; margin-left: auto; pointer-events: auto; container-type: inline-size; }
/* bez widocznego tytułu: tekst wprowadzający jest pierwszy i większy */
/* mocne pierwsze zdanie, pod nim mniejsze wyjaśnienie */
.hero-hook {
  max-width: 34rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 1.7rem + 3.1vw, 4rem);
  line-height: 1.02; letter-spacing: -0.035em; color: var(--text); text-wrap: balance;
}
/* tekst pod hasłem tej samej wielkości co linijka „Od 250 zł netto” */
/* hasło w jednym rzędzie, tak duże, jak pozwala szerokość kolumny (11,75 = szerokość tekstu w em, z małym zapasem) */
@supports (font-size: 1cqi) {
  .hero-hook { max-width: none; white-space: nowrap; font-size: calc(100cqi / 11.75); }
}
/* „ridead” w haśle wygląda jak logo: ten sam krój, „ad” limonkowe */
.hero-hook .brand { letter-spacing: -0.03em; }
.hero-hook .brand span { color: var(--lime); }
.hero .lead { margin-top: 1.1rem; max-width: 30rem; font-size: 1.05rem; line-height: 1.55; color: var(--text-2); }
.hero .hl { color: var(--lime); }
.hero-actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.facts { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1.1rem; font-size: 1.05rem; color: var(--text-2); list-style: none; padding: 0; }
/* „250 zł” limonkowe, większe, bez świecenia */
.facts .price-hl { margin-inline: 0.1em; font-family: var(--font-display); font-weight: 500; font-size: 1.45em; line-height: 1; letter-spacing: -0.01em; color: var(--lime); }

@media (min-width: 921px) and (max-width: 1200px) {
  .hero-copy { max-width: 30rem; } /* węższy tekst, żeby nie zasłaniał ekranu w filmie */
}
@media (max-width: 920px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: clamp(240px, 64vw, 480px); }
  .hero-video { left: 0; right: 0; width: 100%; object-position: 50% 45%; -webkit-mask-image: none; mask-image: none; }
  .hero-copy { margin-left: 0; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(17, 18, 20, 0) 45%), linear-gradient(180deg, rgba(17, 18, 20, 0.45) 0%, rgba(17, 18, 20, 0) 22%); }
  .hero-inner { margin-top: -2.5rem; padding-block: 0 clamp(3rem, 2rem + 4vw, 5rem); }
}


/* ---------- Kroki (oś czasu): numer w małym kwadracie, cienka linia ---------- */
.timeline { list-style: none; padding: 0; counter-reset: step; max-width: 46rem; }
.timeline li { counter-increment: step; position: relative; display: grid; grid-template-columns: 2.25rem 1fr; gap: 1.1rem; padding-bottom: 2rem; }
.timeline li::before {
  content: counter(step);
  width: 2.25rem; height: 2.25rem; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--display); box-shadow: var(--display-ring); color: var(--lime);
  font: 500 0.95rem/1 var(--font-display); text-shadow: 0 0 8px rgba(184, 240, 96, 0.45);
}
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.125rem - 0.5px); top: 2.85rem; bottom: 0.6rem; width: 1px; background: var(--line); }
.timeline h3 { padding-top: 0.3rem; }
.timeline p { margin-top: 0.35rem; color: var(--text-2); }

/* ---------- Dwie kolumny: tekst + obraz ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}
.check-list { list-style: none; padding: 0; display: grid; gap: 0.85rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 1.1rem; height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3L13 4.5' fill='none' stroke='%23B8F060' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Miejsce na zdjęcie ---------- */
.photo-slot {
  display: grid; place-items: center; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); padding: 1.5rem; text-align: center;
  background: var(--bg-soft); box-shadow: var(--ring);
  color: var(--text-2); font-size: 0.95rem;
}
.photo-slot p { max-width: 26rem; }
.photo-slot--tall { aspect-ratio: 4 / 5; }
.photo-img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--ring); }

/* ---------- Cennik: karty planów leżą w jednym panelu ---------- */
.plans {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; max-width: 60rem;
  padding: 6px; border-radius: var(--radius-lg); background: var(--bg-soft); box-shadow: var(--ring);
}
.plan {
  border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2.1rem); display: flex; flex-direction: column;
  background: radial-gradient(130% 75% at 50% -10%, rgba(184, 240, 96, 0.13), rgba(184, 240, 96, 0) 60%), var(--surface);
  box-shadow: inset 0 1px 0 rgba(184, 240, 96, 0.28), var(--ring), var(--lift);
}
.plan-name { font-family: var(--font); font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--text-2); }
/* kwota to główna część kafelka; pod nią „netto” i lekko podświetlony okres */
.plan { justify-content: center; }
.plan-price { margin: 0; }
.plan-price strong {
  display: inline-flex; align-items: baseline; gap: 0.12em; color: var(--text);
  font-family: var(--font-display); font-size: clamp(3rem, 2.4rem + 2.4vw, 4.1rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1;
}
.plan-price .cur { font-size: 0.42em; font-weight: 400; letter-spacing: 0; color: var(--lime); }
.plan-meta { margin-top: 0.75rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; }
.plan-meta .unit { color: var(--text-2); }
.plan-term {
  font-family: var(--font); font-size: 0.98rem; font-weight: 600; letter-spacing: 0; line-height: 1.4;
  color: var(--lime); text-shadow: 0 0 12px rgba(184, 240, 96, 0.45);
}
/* jeden przycisk „Zapisz się” pod wszystkimi planami */
.plans-cta { margin-top: 1.5rem; }
/* pięć planów w prostokącie: tydzień i miesiąc w pierwszym rzędzie, dłuższe umowy w drugim.
   Kafelki maleją po kolei: 250 zł największy, 550 zł najmniejszy. */
@media (min-width: 761px) {
  .plans { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .plan:nth-child(1) { grid-column: span 7; }
  .plan:nth-child(2) { grid-column: span 5; }
  .plan:nth-child(3) { grid-column: span 5; }
  .plan:nth-child(4) { grid-column: span 4; }
  .plan:nth-child(5) { grid-column: span 3; }
}
.plan:nth-child(1) .plan-price strong { font-size: clamp(3.4rem, 2.5rem + 3.4vw, 5.4rem); }
.plan:nth-child(2) .plan-price strong { font-size: clamp(3.1rem, 2.4rem + 2.6vw, 4.5rem); }
.plan:nth-child(3) .plan-price strong { font-size: clamp(2.8rem, 2.2rem + 2vw, 3.7rem); }
.plan:nth-child(4) .plan-price strong { font-size: clamp(2.5rem, 2rem + 1.5vw, 3.1rem); }
.plan:nth-child(5) .plan-price strong { font-size: clamp(2.2rem, 1.8rem + 1vw, 2.6rem); }
.plan:nth-child(1) { padding: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); }
.plan:nth-child(n + 4) { padding: clamp(1.2rem, 0.9rem + 1vw, 1.6rem); }
/* „W cenie” i bonus: dwie kolumny tekstu rozdzielone cienką linią, bez kart */
.bonus { margin-top: 2.5rem; max-width: 60rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.bonus-item { padding: 1.75rem 2rem 0 0; }
.bonus-item + .bonus-item { padding-left: 2rem; border-left: 1px solid var(--line); }
.bonus-item .plan-name { color: var(--text); font-size: 1.05rem; }
.bonus-item p { margin-top: 0.4rem; color: var(--text-2); }
.bonus-item .check-list { margin-top: 1rem; }
.bonus-link { display: inline-block; margin-top: 1rem; }
@media (max-width: 760px) {
  .plans, .bonus { grid-template-columns: 1fr; }
  .bonus-item { padding-right: 0; }
  .bonus-item + .bonus-item { margin-top: 1.75rem; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */
/* FAQ: nagłówek nad pytaniami (w jednej linii), lista pod spodem */
.faq-layout .faq-list { max-width: 60rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 0; font-weight: 500; font-size: 1.06rem; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 0.25rem; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 8px;
  box-shadow: var(--ring); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h10' stroke='%23B8F060' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
/* pionowa kreska plusa: obraca się w poziom, kiedy pytanie się rozwija, i robi z plusa minus */
.faq-list summary::before {
  content: ""; position: absolute; z-index: 1; top: 50%; right: calc(0.25rem + 13.3px); width: 1.4px; height: 8.8px; margin-top: -4.4px;
  border-radius: 1px; background: var(--lime);
}
.faq-list details[open]:not(.is-closing) summary::before { transform: rotate(90deg); }
.faq-list summary:hover::after { box-shadow: 0 0 0 1px rgba(184, 240, 96, 0.35); }
@media (prefers-reduced-motion: no-preference) {
  .faq-list summary::before { transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1); }
}
.faq-list details p { padding-bottom: 1.25rem; max-width: 44rem; color: var(--text-2); }

/* ---------- Sekcje: jedno tło, rozdzielone cienkimi liniami (jak siatka na ElevenLabs) ---------- */
main { position: relative; }
main > section { position: relative; }
main > section + section::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 100vw; height: 1px;
  transform: translateX(-50%); background: var(--hair); pointer-events: none;
}
/* pionowe linie na krawędziach treści, tylko na szerokich ekranach */
main::before, main::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--hair); pointer-events: none; }
main::before { left: calc(50% - 40rem); }
main::after { right: calc(50% - 40rem); }
@media (max-width: 82rem) { main::before, main::after { display: none; } }

/* ---------- Zapis (sekcja na samym dole) ---------- */
.section--ink { background: transparent; }
.signup-layout { --signup-gap: clamp(2rem, 4vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem var(--signup-gap); align-items: start; }
/* korzyści: osobny rząd pod tekstem i formularzem, kafelki obok siebie, równo z kolumnami */
.signup-perks { grid-column: 1 / -1; }
.signup-info .lead { margin-top: 1.1rem; font-size: 1.2rem; color: var(--text-2); max-width: 32rem; }
.signup-info .timeline { margin-top: 2.25rem; }
.perk-title { font-size: 1.1rem; }
/* korzyści z zapisu: osobne kafelki ze ściętym prawym górnym rogiem, jak narożnik etykiety */
.perk-list { list-style: none; padding: 0; margin-top: 1rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.6rem var(--signup-gap); }
.perk-list li {
  --cut: 22px;
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.95rem; align-items: center;
  padding: 0.95rem calc(var(--cut) + 0.6rem) 0.95rem 1.05rem; border-radius: var(--radius-sm);
  background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.perk-list li::before { content: ""; grid-row: span 2; align-self: start; width: 8px; height: 8px; margin: 0.55rem 0 0 0.15rem; border-radius: 50%; background: var(--lime); box-shadow: var(--led-glow); }
.perk-list li::after { /* krawędź ściętego rogu */
  content: ""; position: absolute; top: 0; right: 0; width: var(--cut); height: var(--cut); pointer-events: none;
  background: linear-gradient(to top right, transparent calc(50% - 0.7px), rgba(255, 255, 255, 0.16) 50%, transparent calc(50% + 0.7px));
}
.perk-list strong { display: block; font-size: 1.04rem; font-weight: 500; }
.perk-list li > span { display: block; margin-top: 0.15rem; color: var(--text-2); }
@media (max-width: 900px) {
  .signup-layout { grid-template-columns: 1fr; }
  .perk-list { grid-template-columns: 1fr; }
  .signup-perks { order: 1; } /* na telefonie korzyści przed formularzem */
  .form-card { order: 2; }
}

/* formularz: karta w cienkiej ramce-panelu (sam cień, bez dodatkowego HTML) */
.form-card {
  background: var(--surface); border-radius: var(--radius);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.1rem);
  margin: 6px;
  box-shadow: var(--ring), 0 0 0 6px var(--bg-soft), 0 0 0 7px rgba(255, 255, 255, 0.07), 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 500; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--text-2); }
.field input {
  width: 100%; min-height: 48px; padding: 0.65rem 0.9rem;
  font: 500 1.0625rem var(--font); color: var(--text);
  background: var(--display); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}
.field input:focus-visible { outline: 3px solid rgba(184, 240, 96, 0.35); outline-offset: 0; border-color: var(--lime); }
.field input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-hint { font-size: 0.92rem; color: var(--text-2); }
.field-error { font-size: 0.92rem; font-weight: 600; color: var(--error); }
.check { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: start; margin: 0.4rem 0 1rem; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.18rem 0 0; accent-color: var(--lime); }
.check label { font-size: 0.94rem; line-height: 1.5; color: var(--text-2); }
.check .field-error { grid-column: 2; margin-top: 0.35rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 0.8rem; font-size: 0.94rem; font-weight: 600; color: var(--error); }
.form-status:empty { display: none; }
.legal-note { margin-top: 1.1rem; font-size: 0.82rem; line-height: 1.55; color: var(--text-2); }
.legal-note a { text-decoration: underline; }
.thanks:focus { outline: none; }
.thanks-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--lime); display: grid; place-items: center; margin-bottom: 1.25rem; }
.thanks h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.thanks p { margin-top: 0.75rem; color: var(--text-2); }

/* ---------- Stopka ---------- */
.site-footer { border-top: 1px solid var(--hair); background: var(--bg-deep); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 3.5rem 2.5rem; }
.footer-brand p { margin-top: 0.85rem; max-width: 22rem; color: var(--text-2); }
.footer-col h2 { font-family: var(--font); font-size: 0.9rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--text); margin-bottom: 0.85rem; }
.footer-col a, .footer-col p { display: block; color: var(--text-2); text-decoration: none; }
.footer-col a + a { margin-top: 0.45rem; }
.footer-col a:hover { color: var(--lime); }
.footer-col p { margin-top: 0.6rem; line-height: 1.5; }
.footer-bottom { padding-block: 1.25rem 2rem; border-top: 1px solid var(--hair); color: var(--text-2); font-size: 0.9rem; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Strona 404 ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) var(--section); }
.page-head .lead { margin-top: 1.1rem; max-width: 38rem; font-size: 1.2rem; color: var(--text-2); }
.page-head::before {
  content: ""; position: absolute; z-index: -1; right: -8%; top: -40%; width: 46rem; height: 30rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184, 240, 96, 0.22), transparent);
  filter: blur(30px);
}

/* ---------- Dokumenty (polityka, regulamin) ---------- */
.prose { max-width: 46rem; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) var(--section); }
.prose h1 { font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.2rem); }
.prose .updated { margin-top: 0.85rem; color: var(--text-2); font-size: 0.95rem; }
.prose h2 { font-size: 1.45rem; font-weight: 400; letter-spacing: -0.015em; margin-top: 2.5rem; }
.prose p, .prose ul, .prose ol { margin-top: 0.9rem; color: #D3D7DC; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.4rem; }
.prose a { text-decoration: underline; text-decoration-color: var(--lime); }
.placeholder-note { margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--lime-soft); box-shadow: 0 0 0 1px rgba(184, 240, 96, 0.3); font-size: 0.95rem; }
