/* Logowanie/rejestracja — tokeny wspólne/reset/baza body w base.css (ładuj przed tym plikiem). */

:root {
  --green:   #16a34a;
  --red:     #dc2626;
  --blueprint:#dfe6ea;
}


.auth {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100svh;
}


.stage {
  position: relative;
  background:
    radial-gradient(120% 120% at 20% 0%, #ffffff 0%, var(--surface) 60%, #f4f1ea 100%);
  overflow: hidden;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 40px 48px;
}

.stage::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg, rgba(22,21,15,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,21,15,.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(232,101,10,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,101,10,.06) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px;
  pointer-events: none;
  mask-image: radial-gradient(110% 90% at 45% 45%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(110% 90% at 45% 45%, #000 55%, transparent 100%);
}
.stage-head {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: .03em;
  color: var(--fg); text-decoration: none; text-transform: uppercase;
}
.logo span { color: var(--accent); }
.stage-back {
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: rgba(255,255,255,.7); transition: border-color .2s, color .2s;
}
.stage-back:hover { color: var(--accent); border-color: var(--accent); }

.scene-wrap {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.scene { width: 100%; max-width: 540px; aspect-ratio: 14/13; display: block; }

.scene-caption {
  position: relative; z-index: 3;
  width: 100%; max-width: 540px;
}
.cap-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.cap-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 30px; line-height: .95; letter-spacing: .01em;
}
.cap-title .accent { color: var(--accent); }
.cap-pct {
  font-family: var(--font-display); font-size: 34px; line-height: 1;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.cap-sub { font-size: 13.5px; color: var(--muted); max-width: 380px; line-height: 1.6; }
.cap-sub b { color: var(--fg); font-weight: 600; }

.progress {
  position: relative; height: 10px; border-radius: 999px;
  background: #ece8e0; overflow: hidden; margin-top: 16px;
  border: 1px solid var(--border);
}
.progress__bar {
  position: absolute; inset: 0; width: 0%;
  background: repeating-linear-gradient(45deg, var(--accent) 0 12px, var(--accent2) 12px 24px);
  background-size: 34px 34px;
  transition: width .6s cubic-bezier(.22,1,.36,1);
  animation: hazard 1s linear infinite;
}
@keyframes hazard { to { background-position: 34px 0; } }

.stage-foot {
  position: relative; z-index: 3;
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.stage-foot .chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; letter-spacing: .02em;
}
.stage-foot .chip svg { width: 16px; height: 16px; color: var(--accent); }


.grp { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.grp.built { opacity: 1; transform: translateY(0); }
.blueprint-line { stroke: var(--accent); stroke-width: 1.4; fill: none; stroke-dasharray: 5 4; opacity: .55; }
.dim-line { stroke: var(--muted); stroke-width: 1; opacity: .5; }
.dim-txt { fill: var(--muted); font: 600 11px/1 var(--font-body); letter-spacing: .04em; }


.sun-rays { transform-origin: 386px 196px; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lamp-glow { transform-origin: center; animation: glow 3.4s ease-in-out infinite; }
@keyframes glow { 0%,100% { opacity: .35; } 50% { opacity: .7; } }
.mote { animation: drift 7s ease-in-out infinite; }
.mote:nth-child(2) { animation-duration: 9s; animation-delay: -2s; }
.mote:nth-child(3) { animation-duration: 6s; animation-delay: -4s; }
@keyframes drift { 0%,100% { transform: translate(0,0); opacity:.0;} 30%{opacity:.6;} 50% { transform: translate(8px,-14px);} 70%{opacity:.4;} }


.door { transform-origin: 156px 392px; transition: transform 1.1s cubic-bezier(.6,.02,.2,1); transform-box: fill-box; transform-origin: left center; }
.scene.success .door { transform: perspective(420px) rotateY(-72deg); }
.keys { opacity: 0; transform: translateY(8px) rotate(-6deg); transition: opacity .5s ease .5s, transform .6s cubic-bezier(.22,1,.36,1) .5s; }
.scene.success .keys { opacity: 1; transform: translateY(0) rotate(0); }
.burst { opacity: 0; transform-origin: 200px 320px; }
.scene.success .burst { animation: burst .9s ease-out .35s 1; }
@keyframes burst { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.8); } }


.panel {
  display: flex; align-items: center; justify-content: center;
  padding: 48px 40px; background: var(--bg);
}
.card { width: 100%; max-width: 432px; }


.mobile-bar { display: none; }

.card-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.card-eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(232,101,10,.5); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232,101,10,.45); }
  70% { box-shadow: 0 0 0 8px rgba(232,101,10,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,101,10,0); }
}
.card-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(34px, 4vw, 46px); line-height: .92; letter-spacing: .01em;
  margin-bottom: 10px;
}
.card-title .accent { color: var(--accent); }
.card-lead { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-bottom: 26px; }


.tabs {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 5px; margin-bottom: 26px;
}
.tabs__ind {
  position: absolute; top: 5px; left: 5px;
  width: calc(50% - 5px); height: calc(100% - 10px);
  background: var(--fg); border-radius: 8px;
  transition: transform .35s cubic-bezier(.6,.02,.2,1);
  box-shadow: 0 6px 18px -10px rgba(22,21,15,.6);
}
.tabs[data-tab="register"] .tabs__ind { transform: translateX(100%); }
.tab {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: 11px 8px; font-family: var(--font-body); font-size: 13.5px; font-weight: 700;
  letter-spacing: .04em; color: var(--muted); transition: color .3s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.tab svg { width: 16px; height: 16px; }
.tab.active { color: #fff; }


.form { display: none; flex-direction: column; gap: 16px; }
.form.active { display: flex; animation: formin .4s ease; }
@keyframes formin { from { opacity: 0; transform: translateY(8px);} to { opacity:1; transform: translateY(0);} }


.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.role {
  display: flex; align-items: center; gap: 11px; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: 11px; padding: 12px 13px;
  background: var(--surface); transition: border-color .2s, background .2s, box-shadow .2s;
}
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role .ico {
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--border);
  color: var(--muted); transition: color .2s, background .2s, border-color .2s;
}
.role .ico svg { width: 19px; height: 19px; }
.role b { font-size: 13.5px; display: block; }
.role small { font-size: 11.5px; color: var(--muted); }
.role:has(input:checked) {
  border-color: var(--accent); background: #fff6ef;
  box-shadow: 0 6px 18px -12px rgba(232,101,10,.6);
}
.role:has(input:checked) .ico { background: var(--accent); color: #fff; border-color: var(--accent); }
.role:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }


.field { display: flex; flex-direction: column; gap: 6px; }
.field > label {
  font-size: 12.5px; font-weight: 600; color: var(--fg); letter-spacing: .01em;
  display: flex; justify-content: space-between; align-items: baseline;
}
.field .hint-link { font-size: 12px; font-weight: 500; color: var(--accent); text-decoration: none; }
.field .hint-link:hover { text-decoration: underline; }
.control {
  position: relative; display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 11px; background: var(--surface);
  transition: border-color .2s, box-shadow .2s, background .2s;
  overflow: hidden;
}
.control .ic {
  flex: none; width: 44px; display: grid; place-items: center; color: var(--muted);
  transition: color .2s;
}
.control .ic svg { width: 18px; height: 18px; }
.control input {
  flex: 1; border: 0; background: none; outline: none;
  padding: 13px 14px 13px 0; font-family: var(--font-body); font-size: 14.5px; color: var(--fg);
}
.control input::placeholder { color: #b4afa7; }
.control .reveal {
  border: 0; background: none; cursor: pointer; color: var(--muted);
  padding: 0 14px; display: grid; place-items: center;
}
.control .reveal svg { width: 18px; height: 18px; }

.control .tape {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: left; background: var(--accent);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.control .tape::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 1px, transparent 1px 11px);
}
.control:focus-within { border-color: var(--accent); background: #fff; box-shadow: 0 8px 22px -16px rgba(232,101,10,.7); }
.control:focus-within .ic { color: var(--accent); }
.control:focus-within .tape { transform: scaleX(1); }
.control.invalid { border-color: var(--red); background: #fef4f4; }
.control.invalid .ic { color: var(--red); }
.control.valid { border-color: #cfe9d6; }
.control.valid .ic { color: var(--green); }

.error-msg {
  font-size: 12px; color: var(--red); display: none; align-items: center; gap: 6px;
}
.error-msg.show { display: flex; }
.error-msg svg { width: 13px; height: 13px; flex: none; }


.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.collapse.open { grid-template-rows: 1fr; }
.collapse > div { overflow: hidden; }
.collapse .field { padding-bottom: 2px; }


.strength { display: flex; flex-direction: column; gap: 7px; }
.strength__bars { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.strength__bars i {
  height: 7px; border-radius: 4px; background: #ece8e0; transition: background .3s;
}
.strength__row { display: flex; justify-content: space-between; align-items: center; }
.strength__label { font-size: 12px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 7px; align-items: center; }
.strength__label .stage-name { color: var(--fg); }
.strength__req { font-size: 11.5px; color: var(--muted); }
.strength[data-score="1"] .strength__bars i:nth-child(-n+1) { background: var(--red); }
.strength[data-score="2"] .strength__bars i:nth-child(-n+2) { background: var(--accent); }
.strength[data-score="3"] .strength__bars i:nth-child(-n+3) { background: var(--accent2); }
.strength[data-score="4"] .strength__bars i { background: var(--green); }


.check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: 13px; color: var(--muted); line-height: 1.5; }
.check input { position: absolute; opacity: 0; }
.check .box {
  flex: none; width: 20px; height: 20px; border: 1.5px solid var(--border); border-radius: 6px;
  background: var(--surface); display: grid; place-items: center; transition: .2s; margin-top: 1px;
}
.check .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.5); transition: .2s; }
.check input:checked + .box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check a { color: var(--accent); text-decoration: none; font-weight: 600; }
.check a:hover { text-decoration: underline; }
.check.invalid .box { border-color: var(--red); }


.btn {
  position: relative; overflow: hidden;
  border: 0; cursor: pointer; width: 100%;
  background: var(--accent); color: #fff; border-radius: 11px;
  padding: 15px 20px; font-family: var(--font-body); font-size: 14.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  transition: background .15s, transform .08s;
}
.btn:hover { background: var(--accent-d); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn .spinner { display: none; width: 17px; height: 17px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn.loading { pointer-events: none; }
.btn.loading .label, .btn.loading .ic-go { display: none; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .label-load { display: inline; }
.btn .label-load { display: none; }

.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.socials { display: grid; grid-template-columns: 1fr; gap: 10px; }
.social {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1.5px solid var(--border); border-radius: 11px; background: var(--surface);
  padding: 12px; font-size: 13px; font-weight: 600; color: var(--fg); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.social:hover { border-color: var(--fg); background: #fff; }
.social svg { width: 17px; height: 17px; }

.swap { font-size: 13.5px; color: var(--muted); text-align: center; }
.swap button { border: 0; background: none; color: var(--accent); font-weight: 700; cursor: pointer; font-size: 13.5px; font-family: var(--font-body); }
.swap button:hover { text-decoration: underline; }


.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px);
  background: var(--fg); color: #fff; border-radius: 12px; padding: 14px 20px;
  display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); opacity: 0; pointer-events: none;
  transition: opacity .4s, transform .4s cubic-bezier(.22,1,.36,1); z-index: 50; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .badge { width: 30px; height: 30px; border-radius: 8px; background: var(--green); display: grid; place-items: center; flex: none; }
.toast .badge svg { width: 17px; height: 17px; color: #fff; }
.toast small { display: block; font-weight: 400; color: rgba(255,255,255,.7); font-size: 12px; }


@media (max-width: 940px) {
  .auth { display: block; min-height: 100svh; }

  
  .stage {
    position: fixed; inset: 0; z-index: 0;
    padding: 0; border: 0;
    justify-content: center;
  }
  .stage::before {
    mask-image: radial-gradient(125% 100% at 50% 42%, #000 42%, transparent 100%);
    -webkit-mask-image: radial-gradient(125% 100% at 50% 42%, #000 42%, transparent 100%);
    opacity: .8;
  }
  
  .stage::after {
    content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
    background: linear-gradient(180deg,
      rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 22%,
      rgba(255,255,255,0) 62%, rgba(255,255,255,.78) 100%);
  }
  .stage-head, .scene-caption, .stage-foot { display: none; }
  .scene-wrap { position: absolute; inset: 0; padding: 0; }
  .scene {
    max-width: none;
    width: min(150%, 600px);
    opacity: .5;
    transform: translateY(-1%);
  }

  
  .mobile-bar {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; position: sticky; top: 0; z-index: 8;
    padding: 13px 4px; margin-bottom: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.72));
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .mobile-bar .logo { font-size: 20px; }
  .mobile-bar .stage-back { background: rgba(255,255,255,.65); }

  
  .panel {
    position: relative; z-index: 4;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    background: transparent;
    min-height: 100svh;
    padding: 0 14px 44px;
  }
  .card {
    width: 100%; max-width: 460px; margin: 20px auto 0;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 20px;
    padding: 26px 22px 28px;
    box-shadow: 0 26px 60px -30px rgba(22,21,15,.5), inset 0 1px 0 rgba(255,255,255,.7);
  }
}
@media (max-width: 520px) {
  .roles { grid-template-columns: 1fr; }
  .socials { grid-template-columns: 1fr; }
  .scene { width: min(170%, 460px); }
  .card { padding: 22px 18px 24px; border-radius: 18px; margin-top: 16px; }
  .card-title { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .progress__bar { animation: none; }
  .sun-rays, .lamp-glow, .mote, .card-eyebrow::before { animation: none; }
}




/* ── Strona główna „Już wkrótce" (tokeny/reset/baza body w base.css) ── */

body.page-coming-soon {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 160px 160px,
    var(--bg);
  background-repeat: repeat;
}

#bg-3d {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#bg-3d canvas { display: block; }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      #ffffff 0%,
      #ffffff 24%,
      rgba(255,255,255,.78) 40%,
      rgba(255,255,255,.2) 58%,
      rgba(255,255,255,0) 70%);
}


/* ── Header: glass over the scene ─────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(22, 21, 15, .08);
  background: rgba(255, 255, 255, .68);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
}
.header::before {   /* blueprint grid behind the glass */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .45;
  background:
    linear-gradient(rgba(22, 21, 15, .035) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(22, 21, 15, .035) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(rgba(232, 101, 10, .05) 1px, transparent 1px) 0 0 / 100px 100px,
    linear-gradient(90deg, rgba(232, 101, 10, .05) 1px, transparent 1px) 0 0 / 100px 100px;
}

.logo {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .03em;
  color: var(--fg);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
}
.logo span { color: var(--accent); }

.header-nav { display: flex; align-items: center; gap: 14px; }

.header-login {
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--accent); border: 1px solid var(--accent);
  padding: 8px 18px; border-radius: 999px; text-decoration: none;
  transition: background .15s, transform .15s;
}
.header-login:hover { background: var(--accent-d); }
.header-login:active { transform: translateY(1px) scale(.98); }
.header-login:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
.header-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(232, 101, 10, .28);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.header-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(232,101,10,.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,101,10,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(232,101,10,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,101,10,0); }
}


/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.6vw, 64px);
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 30px);
  max-width: 620px;
  padding: clamp(40px, 8vh, 76px) 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 0;
  max-width: 100%;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.6vw, 116px);
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .88;
  color: var(--fg);
  max-width: 12ch;
  margin: 0;
}
.hero-title .accent { color: var(--accent); }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--fg);
  max-width: 460px;
}
.hero-kicker b { color: var(--accent); font-weight: 700; }
.hero-kicker .tick {
  position: relative;
  flex: none;
  width: 34px; height: 2px;
  background: transparent;
}
.hero-kicker .tick::before,
.hero-kicker .tick::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  transform-origin: left center;
}
.hero-kicker .tick::before {
  width: 100%;
  background: var(--border);
}
.hero-kicker .tick::after {
  width: 100%;
  background: var(--accent2);
  transform: scaleX(0);
  animation: tape-draw 1.6s cubic-bezier(.65, 0, .25, 1) forwards;
  animation-delay: .9s;
}
.hero-sub {
  font-size: clamp(14.5px, 1.4vw, 16px);
  color: var(--muted);
  max-width: 440px;
  line-height: 1.7;
}


/* ── Footer ────────────────────────────────────────────────────────────── */

.footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(22, 21, 15, .08);
  padding: 20px clamp(20px, 4vw, 48px);
  text-align: center;
}
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-copy strong { color: var(--accent); font-weight: 700; }


/* ── Reveal choreography ─────────────────────────────────────────────────
   One sequenced entrance on load, gated to no-preference. No JS involved:
   no-preference users get the stagger, reduced-motion users get the static
   page instantly (and without a flash of hidden content).                      */

.reveal,
.reveal-fade {
  opacity: 0;
}
.reveal {
  transform: translateY(clamp(10px, 1.4vh, 18px));
  animation: reveal-in .8s cubic-bezier(.16, 1, .3, 1) forwards;
  animation-delay: var(--rd, 0s);
}
.reveal-fade {
  animation: reveal-fade-in .6s ease-out forwards;
  animation-delay: var(--rd, 0s);
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(clamp(10px, 1.4vh, 18px)); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes reveal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes tape-draw {
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .page-coming-soon *,
  .page-coming-soon *::before,
  .page-coming-soon *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-fade {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .hero-kicker .tick::after {
    transform: scaleX(1);
    animation: none;
  }
  .header-badge::before { animation: none; }
  html { scroll-behavior: auto; }
}


/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 920px) {
  .scrim {
    background: linear-gradient(180deg,
      rgba(255,255,255,.92) 0%,
      rgba(255,255,255,.7) 34%,
      rgba(255,255,255,.35) 60%,
      rgba(255,255,255,.1) 100%);
  }
  .hero { padding: 0 clamp(20px, 4.6vw, 28px); }
  .hero-left { padding: clamp(32px, 7vh, 48px) 0; }
  .header { padding: 14px clamp(20px, 4.6vw, 28px); }
}
@media (max-width: 540px) {
  .header-badge .label-long { display: none; }
  .logo { font-size: 19px; }
  .header-nav { gap: 8px; }
  .header-login { padding: 7px 14px; font-size: 12.5px; }
}
@media (max-width: 480px) {
  .header-badge { display: none; }   /* status moves into the page title + hero; keeps logo + Zaloguj */
}

