/* Logowanie, rejestracja i nowe hasło: pełny ekran w kolorach czystości (biel, błękit wody, mięta) */
:root {
  --au-ink: #0f3346; --au-mute: #557282; --au-line: #d5e7ed; --au-aqua: #0a87ad; --au-aqua-d: #076b8a;
  --au-mint: #3fbf9f; --au-sky: #e6f5f8; --au-bg: #f2fafc;
  --au-serif: "Cormorant Garamond", Georgia, serif; --au-sans: "Montserrat", system-ui, "Segoe UI", sans-serif;
}
body:has(.au) { background: #fff; }
body:has(.au) .sitefoot { display: none; }
.au { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  font-family: var(--au-sans); color: var(--au-ink); }

/* Lewa strona: scena */
.au-scene { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 44px clamp(32px, 5vw, 76px) 56px; isolation: isolate;
  background:
    radial-gradient(620px 460px at 85% 18%, rgba(120, 210, 235, .55), transparent 70%),
    radial-gradient(520px 420px at 8% 92%, rgba(63, 191, 159, .28), transparent 70%),
    linear-gradient(160deg, #f6fcfd 0%, #e3f4f8 55%, #d8f0f2 100%); }
.au-scene::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(10, 135, 173, .16) 1px, transparent 1.4px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.au-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--au-ink); text-decoration: none;
  font-family: var(--au-serif); font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; }
.au-brand img { border-radius: 9px; box-shadow: 0 6px 16px rgba(10, 135, 173, .2); }
.au-brand-mobile { display: none; }

.au-pitch { max-width: 560px; }
.au-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--au-aqua); font-size: .72rem;
  font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.au-kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.au-pitch h2 { margin: 0; font-family: var(--au-serif); font-weight: 500; font-size: clamp(2.6rem, 4.4vw, 4.3rem); line-height: 1; letter-spacing: -.015em; }
.au-pitch em { font-style: italic; color: var(--au-aqua); }
.au-points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.au-points li { display: flex; align-items: center; gap: 12px; font-size: .96rem; font-weight: 500; color: #2b5366; }
.au-points i { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: var(--au-mint); color: #fff; font-style: normal; font-size: .72rem; font-weight: 700; box-shadow: 0 4px 12px rgba(63, 191, 159, .35); }

/* Pływające karty */
.au-cards { position: relative; height: 170px; max-width: 560px; }
.au-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 18px 40px rgba(15, 51, 70, .1), 0 1px 0 rgba(15, 51, 70, .04); animation: au-float 7s ease-in-out infinite; }
.au-card b { display: block; font-size: .92rem; white-space: nowrap; }
.au-card small { display: block; color: var(--au-mute); font-size: .76rem; margin-top: 2px; }
.au-card-a { left: 0; top: 0; }
.au-card-b { left: 12%; top: 92px; animation-delay: -2.4s; }
.au-card-c { right: 0; top: 18px; flex-direction: column; align-items: flex-start; gap: 4px; animation-delay: -4.6s; }
.au-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #dff5ee; color: #1f8f73; font-weight: 700; }
.au-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--au-aqua); color: #fff; font-weight: 700; }
.au-score { font-family: var(--au-serif); font-size: 2rem !important; line-height: 1; font-weight: 600; color: var(--au-ink); }
.au-score span { font-size: 1rem; color: var(--au-mute); }
.au-stars { color: #f2b632; letter-spacing: 2px; font-size: .9rem; }
@keyframes au-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Bańki mydlane */
.au-bubbles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.au-bubbles span { position: absolute; bottom: -80px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .15) 38%, rgba(120, 210, 235, .18) 70%, rgba(120, 210, 235, .45));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); animation: au-rise linear infinite; opacity: 0; }
.au-bubbles span:nth-child(1) { left: 8%;  width: 34px; height: 34px; animation-duration: 15s; }
.au-bubbles span:nth-child(2) { left: 22%; width: 18px; height: 18px; animation-duration: 11s; animation-delay: -4s; }
.au-bubbles span:nth-child(3) { left: 38%; width: 52px; height: 52px; animation-duration: 19s; animation-delay: -9s; }
.au-bubbles span:nth-child(4) { left: 55%; width: 24px; height: 24px; animation-duration: 13s; animation-delay: -2s; }
.au-bubbles span:nth-child(5) { left: 68%; width: 40px; height: 40px; animation-duration: 17s; animation-delay: -12s; }
.au-bubbles span:nth-child(6) { left: 80%; width: 16px; height: 16px; animation-duration: 10s; animation-delay: -6s; }
.au-bubbles span:nth-child(7) { left: 90%; width: 30px; height: 30px; animation-duration: 16s; animation-delay: -3s; }
.au-bubbles span:nth-child(8) { left: 46%; width: 14px; height: 14px; animation-duration: 9s;  animation-delay: -7s; }
.au-bubbles span:nth-child(9) { left: 14%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: -11s; }
@keyframes au-rise {
  0% { transform: translate(0, 0) scale(.8); opacity: 0; }
  10% { opacity: .9; }
  50% { transform: translate(18px, -55vh) scale(1); }
  90% { opacity: .8; }
  100% { transform: translate(-10px, -110vh) scale(1.05); opacity: 0; }
}

/* Prawa strona: formularz */
.au-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
  padding: 48px clamp(24px, 5vw, 72px); background: #fff; }
.au-box { width: 100%; max-width: 430px; }
.au-eyebrow { margin: 0 0 8px; color: var(--au-aqua); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.au-box h1 { margin: 0; font-family: var(--au-serif); font-weight: 600; font-size: clamp(2.4rem, 3.4vw, 3.1rem); line-height: 1; letter-spacing: -.015em; color: var(--au-ink); }
.au-sub { margin: 12px 0 0; color: var(--au-mute); line-height: 1.6; font-size: .95rem; }
.au-form { display: grid; gap: 18px; margin-top: 32px; }
.au-field { display: grid; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--au-ink); }
.au-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.au-row a, .au-switch a { color: var(--au-aqua); font-weight: 600; text-decoration: none; }
.au-row a:hover, .au-switch a:hover { color: var(--au-aqua-d); text-decoration: underline; text-underline-offset: 3px; }
.au-input { position: relative; display: flex; align-items: center; }
.au-input svg { position: absolute; left: 16px; width: 18px; height: 18px; fill: none; stroke: #8aa6b3; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke .2s; }
.au-input input { width: 100%; height: 54px; padding: 0 16px 0 46px; border: 1.5px solid var(--au-line); border-radius: 14px;
  background: #fbfeff; color: var(--au-ink); font: 500 .96rem var(--au-sans); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s; }
.au-input input::placeholder { color: #a5bac4; font-weight: 400; }
.au-input input:hover { border-color: #b9d7e1; }
.au-input input:focus { border-color: var(--au-aqua); background: #fff; box-shadow: 0 0 0 4px rgba(10, 135, 173, .13); }
.au-input:focus-within svg { stroke: var(--au-aqua); }
.au-input:has([data-toggle-password]) input { padding-right: 76px; }
.au-eye { position: absolute; right: 8px; height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent;
  color: var(--au-aqua); font: 600 .78rem var(--au-sans); cursor: pointer; }
.au-eye:hover { background: var(--au-sky); }
.au-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.au-meter { height: 5px; margin-top: -8px; border-radius: 5px; background: #edf4f7; overflow: hidden; }
.au-meter span { display: block; height: 100%; width: 0; border-radius: 5px; background: #e5484d; transition: width .3s, background .3s; }
.au-check { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; color: var(--au-mute); line-height: 1.5; cursor: pointer; }
.au-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--au-aqua); }
.au-btn { display: inline-flex; justify-content: center; align-items: center; height: 56px; margin-top: 4px; border: 0; border-radius: 14px;
  background: linear-gradient(135deg, #0c93bb, var(--au-aqua) 55%, var(--au-aqua-d)); color: #fff;
  font: 700 .98rem var(--au-sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  box-shadow: 0 14px 30px rgba(10, 135, 173, .28); transition: transform .15s, box-shadow .2s, filter .2s; }
.au-btn:hover { transform: translateY(-1px); box-shadow: 0 18px 36px rgba(10, 135, 173, .34); filter: saturate(1.1); }
.au-btn:active { transform: translateY(0); }
.au-btn:focus-visible, .au-eye:focus-visible, .au-row a:focus-visible, .au-switch a:focus-visible { outline: 3px solid rgba(10, 135, 173, .4); outline-offset: 3px; }
.au-btn-ghost { width: 100%; margin-top: 28px; background: var(--au-sky); color: var(--au-aqua-d); box-shadow: none; }
.au-btn-ghost:hover { background: #d8eff5; box-shadow: none; }
.au-switch { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid #eaf3f6; text-align: center; color: var(--au-mute); font-size: .92rem; }
.au-note { margin: 14px 0 0; text-align: center; color: #8aa1ad; font-size: .78rem; line-height: 1.5; }
.au-flash { margin-bottom: 22px; padding: 13px 16px; border-radius: 12px; font-size: .88rem; font-weight: 500; line-height: 1.45; }
.au-flash-error { background: #fff1ef; color: #a6332a; border: 1px solid #f7d4cf; }
.au-flash-ok { background: #e9f8f2; color: #1d7a62; border: 1px solid #c9eddf; }
.au-sent { text-align: center; }
.au-sent .au-sub { margin-left: auto; margin-right: auto; max-width: 36ch; }
.au-sent-ic { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--au-sky)); box-shadow: 0 16px 36px rgba(10, 135, 173, .18), inset 0 0 0 1px var(--au-line); }
.au-sent-ic svg { width: 34px; height: 34px; fill: none; stroke: var(--au-aqua); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.au-foot { margin: 0; color: #9ab0bb; font-size: .78rem; }
.au-foot a { color: var(--au-aqua); text-decoration: none; }

@media (max-width: 1180px) { .au-card-c { display: none; } }
@media (max-width: 900px) {
  .au { grid-template-columns: 1fr; }
  .au-scene { display: none; }
  .au-panel { justify-content: flex-start; padding: 28px 20px 32px; gap: 32px;
    background: radial-gradient(420px 260px at 100% 0, rgba(120, 210, 235, .35), transparent 70%), radial-gradient(360px 240px at 0 0, rgba(63, 191, 159, .16), transparent 70%), #fff; }
  .au-brand-mobile { display: inline-flex; align-self: flex-start; font-size: 1.4rem; }
  .au-box { margin-top: 12px; }
  .au-foot { margin-top: auto; }
}
@media (max-width: 460px) { .au-two { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .au-card, .au-bubbles span { animation: none; } .au-bubbles { display: none; } }

/* Logowanie przez Google */
.au-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: #8aa1ad; font-size: .8rem; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: #e2edf1; }
.au-google { display: flex; justify-content: center; align-items: center; gap: 10px; height: 52px; border: 1px solid #d9e6eb; border-radius: 14px;
  background: #fff; color: #23343d; font-weight: 600; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.au-google:hover { box-shadow: 0 10px 24px rgba(16, 60, 80, .1); transform: translateY(-1px); }
.au-google:focus-visible { outline: 3px solid rgba(10, 135, 173, .4); outline-offset: 3px; }
.au-google svg { width: 20px; height: 20px; }
