/* public.css — strony publiczne: landing.php, rodzic_login.php, zapisy.html, rodo.html. Warstwa wizualna premium — 23.09.2026.
   Ładowany PO style.css, rodzic.css i <style> inline, więc przy równej specyficzności wygrywa.
   Tokeny :root, przyciski, pola, .panel, .form-actions, a.btn-link, keyframes globalne — style.css. */

/* ===== wspólne: jedna poświata radialna u góry strony (bez background-attachment: fixed — iOS) ===== */
body:has(.landing), body.auth-page, body.signup-page, body:has(.rodo-main) {
  background: radial-gradient(70% 50% at 50% -10%, rgba(169, 150, 207, .22), transparent 70%) no-repeat, var(--bg);
  background-attachment: scroll;
}

/* podpisy, notki, stopki */
.signup-hint { font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); margin-bottom: 12px; }
.signup-hint a { color: var(--lav-700); font-weight: 600; text-decoration: none; }
.signup-hint a:hover { text-decoration: underline; text-underline-offset: 3px; }
.signup-hint strong { color: var(--text); font-weight: 600; }
/* cel dotyku dla linków tekstowych (zmień, Zaloguj się, Wyślij kod ponownie) */
.signup-hint a, .auth-links a { display: inline-block; padding: 4px 6px; margin: -4px -6px; border-radius: var(--r-xs); }
.signup-hint a:focus-visible, .auth-links a:focus-visible { outline: none; box-shadow: var(--ring); }
.signup-hint .ui, .auth-links .ui { font-size: 14px; vertical-align: -2px; }

/* komunikaty statusu (#signup-status, #reset-status, błąd logowania) — ikona przez ::before, bo JS podmienia treść */
.sms-status {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--info-line);
  border-radius: var(--r-md);
  background: var(--info-bg);
  color: var(--info-fg);
  font-size: var(--fs-md);
  line-height: 1.43;
}
.sms-status.error { background: var(--danger-bg); color: var(--danger-fg); border-color: var(--danger-line); }
.sms-status a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sms-status::before {
  content: '';
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sms-status.error::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 2.5 20h19z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 2.5 20h19z'/%3E%3Cpath d='M12 10v4M12 17h.01'/%3E%3C/svg%3E");
}

/* przyciski wysyłki w stanie „Wysyłanie…” — klasa .is-busy z JS (spinner i wygaszenie tekstu: motion.css);
   tu tylko pełne tło zamiast bladego :disabled (:disabled zostaje wyłącznie blokadą) */
#signup-submit.is-busy, #reset-req-btn.is-busy, #reset-confirm-btn.is-busy {
  opacity: 1;
  background: var(--lav-500);
  border-color: transparent;
  box-shadow: none;
}

/* ===== logo — kafelek z gradientem 160° (jedyny gradient w systemie), tekst = znak graficzny ===== */
.arton-logo {
  width: 124px;
  height: 124px;
  margin: 0 auto 16px;
  border-radius: 26px;
  background: linear-gradient(160deg, #b7a6da 0%, #a996cf 55%, #927dbf 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-brand), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .06);
}
.arton-logo .al-name { font-family: var(--font-logo); font-weight: 700; font-size: 2.2rem; line-height: 1; }
/* „studio”: letter-spacing/padding-left kalibrowane pod literę O — bez zmian */
.arton-logo .al-sub {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.447em;
  padding-left: 0.447em;
  text-transform: lowercase;
  margin-top: 0;
}
.arton-logo.arton-logo-lg { width: 144px; height: 144px; border-radius: 34px; }
.arton-logo.arton-logo-lg .al-name { font-size: 2.6rem; }
.arton-logo.arton-logo-lg .al-sub { font-size: 0.8rem; letter-spacing: 0.475em; padding-left: 0.475em; }

/* ===== landing — logo, (opcjonalny tytuł), trzy CTA: primary / tonal / ghost, schodkowe wejście ===== */
.landing { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px var(--gutter); background: none; }
.landing-card { width: 100%; max-width: 400px; text-align: center; }
.landing .arton-logo-lg { margin: 0 auto 24px; }
.landing-eyebrow {
  margin: 0 0 8px;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--lav-700);
}
.landing-title {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: var(--track-display);
  line-height: 1.12;
  color: var(--text);
}
.landing-sub { margin: 0; font-size: var(--fs-base); line-height: 1.47; color: var(--muted); }
.landing-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.landing-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--ctl-h-lg);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out),
    background-color var(--t-fast) var(--ease-standard), border-color var(--t-fast) var(--ease-standard);
}
.landing-actions a > .ico { flex: 0 0 auto; width: 22px; height: 22px; margin-right: 0; }
.landing-actions .landing-primary {
  background: var(--lav-600);
  color: #fff;
  box-shadow: var(--sh-accent), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.landing-actions .landing-primary:hover { background: var(--lav-700); box-shadow: var(--sh-accent-hover), inset 0 1px 0 rgba(255, 255, 255, .14); transform: translateY(-1px); }
/* oba CTA zapisu (dziecko i dorosły) w tym samym kolorze */
.landing-actions .landing-secondary { background: #fff; color: var(--lav-700); border-color: var(--border-strong); box-shadow: var(--sh-1); }
.landing-actions .landing-secondary:hover { background: #fff; border-color: var(--lav-300); box-shadow: var(--sh-2); transform: translateY(-1px); }
.landing-actions a:active, .landing-actions .landing-primary:active, .landing-actions .landing-secondary:active { transform: scale(.98); box-shadow: none; }
.landing-actions a:focus-visible { outline: none; box-shadow: var(--ring); }
.landing-actions .landing-primary:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lav-500); }
.landing-foot { margin-top: 24px; font-size: var(--fs-sm); color: var(--muted); }

/* ===== logowanie (rodzic_login.php) — karta jak Apple ID ===== */
body.auth-page main { max-width: 420px; margin: 8vh auto 32px; padding: 0 var(--gutter) 32px; }
body.auth-page .panel { padding: 28px 24px 24px; border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-2); }
body.auth-page .arton-logo, body.signup-page .arton-logo { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 8px; }
body.auth-page .arton-logo .al-name, body.signup-page .arton-logo .al-name { font-size: 1.8rem; }
body.auth-page .arton-logo .al-sub, body.signup-page .arton-logo .al-sub { font-size: 0.54rem; }
.auth-brand, .auth-head { text-align: center; margin-bottom: 8px; }
.auth-title {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: var(--track-tight);
  line-height: 1.15;
  color: var(--text);
  text-align: center;
}
.auth-sub, .auth-note { margin: 0 0 16px; text-align: center; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.auth-pane { display: flex; flex-direction: column; gap: 10px; }
.auth-pane form, .auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-pane .form-actions { margin-top: 4px; }
.auth-pane .form-actions .primary, body.auth-page button.primary {
  flex: 1;
  height: var(--ctl-h-lg);
  min-height: var(--ctl-h-lg);
  font-size: 16px;
  border-radius: var(--r-lg);
}
.auth-pane label { font-size: var(--fs-sm); font-weight: 500; color: var(--text-2); }
/* ikona w polu (label.with-ico > svg.fi) — pozycję daje icons.css; tu tylko kolor po focusie */
label.with-ico:focus-within > .fi { color: var(--lav-700); }
.signup-hint > .ico { margin-right: 6px; }
#pane-login > .signup-hint, #pane-reset > .signup-hint { text-align: center; }
#pane-login .sms-status { margin-bottom: 4px; }
body.auth-page .signup-hint .signup-hint { margin-top: 8px; }
.auth-links { margin: 16px 0 0; text-align: center; font-size: var(--fs-sm); }
#link-forgot, #link-back-login, #reset-again, .auth-links a { font-weight: 600; color: var(--lav-700); }
#link-back-login .ui { transition: transform var(--t-base) var(--ease-out); }
#link-back-login:hover .ui { transform: translateX(-2px); }
/* kod z SMS-a — rozstrzelone cyfry */
#reset-code {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .35em;
  text-align: center;
  padding-left: calc(12px + .35em);
  font-variant-numeric: tabular-nums lining-nums;
}
#reset-code::placeholder { font-family: var(--font-sans); font-size: 16px; font-weight: 400; letter-spacing: 0; }

/* ===== zapisy (zapisy.html) — kroki, wybór trybu i miasta, formularz ===== */
body.signup-page main { padding: 0 var(--gutter) 40px; }
.signup-head { text-align: center; padding: 24px 0 8px; }
#logged-info { margin-top: 10px; }
body.signup-page .panel {
  position: relative;
  overflow: hidden;
  padding: 20px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
}
body.signup-page .panel > h2 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: var(--track-tight);
  line-height: 1.15;
  color: var(--text);
}
body.signup-page .panel > h2 + .signup-hint { font-size: var(--fs-base); margin-bottom: 16px; }
/* pasek postępu bez JS — każdy krok ma własną szerokość, odpala się przy każdym pokazaniu panelu */
#step-city::before, #step-form::before, #step-done::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  background: var(--lav-600);
  border-radius: 0 3px 3px 0;
  transform-origin: left;
  animation: pub-bar-in 400ms var(--ease-out) backwards;
}
#step-city::before { width: 50%; }
#step-form::before { width: 100%; }
#step-done::before { width: 100%; background: var(--green-600); }

/* wybór miasta / trybu */
.city-choice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.city-btn {
  flex: 1 1 200px;
  min-height: 64px;
  height: auto;
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: normal;
  box-shadow: var(--sh-1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-fast) var(--ease-standard), background-color var(--t-fast) var(--ease-standard);
}
.city-btn:hover { background: #fff; border-color: var(--lav-300); transform: translateY(-1px); box-shadow: var(--sh-2); }
.city-btn:active { transform: scale(.99); box-shadow: var(--sh-1); }
.city-btn:focus-visible { outline: none; border-color: var(--lav-400); box-shadow: var(--ring); }
#step-city .city-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 84px; }
#step-city .city-btn .ico { flex: 0 0 auto; margin: 0; }
#step-city .city-btn strong { font-weight: 600; color: var(--text); }
/* tryby = lista wierszy: [ikona] tytuł + podpis, chevron po prawej */
.mode-switch { flex-direction: column; gap: 8px; }
.mode-switch .city-btn {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  grid-template-areas: 'title chev' 'sub chev';
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  text-align: left;
  min-height: 72px;
  padding: 14px 14px 14px 16px;
}
.mode-switch .city-btn:has(.ico) { grid-template-columns: 44px minmax(0, 1fr) 18px; grid-template-areas: 'ico title chev' 'ico sub chev'; }
.mode-switch .city-btn .ico {
  grid-area: ico;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 12px;
  background: var(--lav-50);
}
.mode-switch .city-btn strong { grid-area: title; font-size: var(--fs-base); font-weight: 600; color: var(--text); line-height: 1.3; }
.mode-switch .city-btn small { grid-area: sub; font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 400; color: var(--muted); line-height: 1.4; }
.mode-switch .city-btn::after {
  content: '';
  grid-area: chev;
  width: 18px;
  height: 18px;
  background: var(--n-400);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--t-base) var(--ease-out), background-color var(--t-fast);
}
.mode-switch .city-btn:hover::after { transform: translateX(2px); background: var(--lav-600); }

/* sekcje formularza = overline + separator (lista grupowana), nie natywna ramka fieldsetu */
fieldset.fs { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; background: none; }
fieldset.fs legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--muted);
}
fieldset.fs legend + * { clear: both; }
/* ikona legendy przez ::before (JS podmienia textContent legendy) */
fieldset.fs legend::before {
  content: '';
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: var(--lav-600);
  -webkit-mask: var(--li) center / contain no-repeat;
  mask: var(--li) center / contain no-repeat;
}
#who-legend { --li: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='4'/%3E%3Cpath d='M4.5 20a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E"); }
#parent-legend { --li: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0'/%3E%3Cpath d='M16 4.5a3.5 3.5 0 0 1 0 7M21.5 20a6.5 6.5 0 0 0-5-6.3'/%3E%3C/svg%3E"); }
#acct-legend { --li: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10.5' width='16' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
fieldset.fs .grid { gap: 12px 16px; }
#signup-form fieldset.fs + fieldset.fs { padding-top: 20px; border-top: 1px solid var(--border); border-radius: 0; }
fieldset.fs .signup-hint { margin: -4px 0 12px; }
#signup-form label { font-size: var(--fs-sm); font-weight: 500; color: var(--text-2); }
/* kierunkowy kraju przyklejony do pola numeru */
.phone-row { display: flex; gap: 8px; align-items: stretch; }
.phone-row select { flex: 0 0 7.75rem; width: 7.75rem; max-width: 7.75rem; min-width: 0; text-overflow: ellipsis; }
.phone-row input { flex: 1 1 auto; min-width: 0; }
.phone-cc-echo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: var(--field-h);
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--bg-inset);
  color: var(--muted);
  font-size: 16px;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
/* zgoda RODO — karta z checkboxem, podświetla się po zaznaczeniu */
.consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--n-50);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-standard), background-color var(--t-fast) var(--ease-standard), box-shadow var(--t-base) var(--ease-out);
}
.consent:hover { border-color: var(--border-hover); }
.consent:has(input:checked) { border-color: var(--lav-400); background: var(--lav-50); }
.consent:has(input:focus-visible) { box-shadow: var(--ring); }
.consent input[type="checkbox"] { flex: 0 0 auto; margin-top: 1px; }
.consent span > .ico { width: 18px; height: 18px; margin-right: 6px; vertical-align: -5px; opacity: .85; }
.consent a { color: var(--lav-700); font-weight: 600; text-decoration: none; }
.consent a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* notki: grupa dobrana indywidualnie / kod SMS */
#new-hint, #existing-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid var(--lav-200);
  border-radius: var(--r-md);
  background: var(--lav-50);
  color: var(--lav-700);
  font-size: var(--fs-sm);
  line-height: 1.45;
}
#new-hint .ico, #existing-hint .ico, #new-hint .ui, #existing-hint .ui { flex: 0 0 auto; margin-top: 1px; }
/* „Miejsce zajęć: … — zmień” jako pastylka */
#step-form > .signup-hint:first-of-type {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 6px 12px 6px 10px;
  border-radius: var(--r-pill);
  background: var(--lav-100);
  color: var(--lav-700);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.3;
}
#step-form > .signup-hint:first-of-type strong { color: var(--lav-700); font-weight: 600; }
#step-form > .signup-hint:first-of-type a { color: var(--lav-700); font-weight: 600; padding: 4px 2px; margin: -4px -2px; }
#signup-status { margin-bottom: 12px; }
#signup-form .form-actions { margin-top: 20px; }
#signup-submit { flex: 1; height: var(--ctl-h-lg); min-height: var(--ctl-h-lg); font-size: 16px; border-radius: var(--r-lg); }
body.signup-page main > .signup-hint { text-align: center; margin-top: 16px; }

/* ekran sukcesu: kółko z ptaszkiem nad tytułem (span.done-ico wewnątrz h2) */
#step-done { text-align: center; padding-top: 32px; }
#step-done h2 { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 10px; }
#step-done .done-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
#step-done .done-ico .ui { width: 32px; height: 32px; stroke-width: 2; }
#step-done .done-ico .ico { width: 40px; height: 40px; }
#step-done .signup-hint, #step-done .done-text { font-size: var(--fs-base); line-height: 1.5; max-width: 34rem; margin: 0 auto 10px; color: var(--text-2); }
#step-done .form-actions { justify-content: center; margin-top: 24px; }
#step-done .btn-link { height: var(--ctl-h-lg); padding: 0 24px; border-radius: var(--r-lg); font-size: 16px; }

/* ===== RODO (rodo.html) — typografia dokumentu ===== */
.rodo-main { max-width: 720px; margin: 0 auto; padding: 24px var(--gutter) 48px; }
.rodo-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.rodo-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin: 0 0 16px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--lav-700);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--sh-1);
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--t-fast) var(--ease-standard), background-color var(--t-fast) var(--ease-standard),
    box-shadow var(--t-base) var(--ease-out), transform var(--t-micro) var(--ease-out);
}
.rodo-nav .rodo-back { margin-bottom: 0; }
.rodo-back:hover { border-color: var(--lav-300); background: var(--bg-hover); box-shadow: var(--sh-2); text-decoration: none; }
.rodo-back:active { transform: scale(.98); }
.rodo-back:focus-visible { outline: none; box-shadow: var(--ring); }
.rodo-back > .ui { font-size: 16px; margin-right: 0; transition: transform var(--t-base) var(--ease-out); }
.rodo-back > .ico { width: 18px; height: 18px; }
.rodo-back:hover > .ui { transform: translateX(-2px); }
.rodo-main .panel { padding: 24px 20px; border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-2); }
.rodo-main h1 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: var(--track-display);
  line-height: 1.15;
  color: var(--text);
}
.rodo-main h1 > .ico { width: 28px; height: 28px; vertical-align: -5px; margin-right: 8px; }
.rodo-meta { margin: 0 0 24px; color: var(--muted); font-size: var(--fs-sm); }
.rodo-main h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 24px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--lav-700);
}
.rodo-main h2 > .ico, .rodo-main h2 > .ui { width: 16px; height: 16px; margin-right: 0; flex: 0 0 auto; }
.rodo-main h2 > .ui { stroke-width: 2; }
.rodo-main p, .rodo-main li { font-size: var(--fs-base); line-height: 1.6; color: var(--text-2); }
.rodo-main p + p { margin-top: 10px; }
.rodo-main ul { margin: 0; padding-left: 18px; }
.rodo-main li { margin-bottom: 6px; }
.rodo-main strong { font-weight: 600; color: var(--text); }

/* ===== szerokie ekrany ===== */
@media (min-width: 700px) {
  .arton-logo.arton-logo-lg { width: 160px; height: 160px; }
  .arton-logo.arton-logo-lg .al-name { font-size: 2.9rem; }
  .arton-logo.arton-logo-lg .al-sub { font-size: 0.88rem; }
  .landing-title { font-size: var(--fs-4xl); }
  body.auth-page .panel { padding: 32px 32px 28px; }
  body.signup-page .panel { padding: 28px 28px 24px; }
  .rodo-main .panel { padding: 40px 44px; }
}

/* ===== ruch — tylko to, czego nie ma w motion.css (pasek postępu kroków; spinner przycisków — motion.css) ===== */
@keyframes pub-bar-in { from { opacity: 0; transform: scaleX(.55); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  #step-city::before, #step-form::before, #step-done::before { animation: none; }
}
