/* Przepaść — darmowe narzędzie (obraz siebie). Style unikalne dla tej strony. Ładować po base.css. */

.hero { padding-top: 56px; padding-bottom: 40px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5.6vw, 46px); font-weight: 600; line-height: 1.25; margin: 0 0 18px; text-wrap: balance; }
.hero h1 .accent { font-style: italic; font-weight: 500; color: var(--purple); }
.hero .sub { font-size: 17px; color: var(--ink-soft); max-width: 46ch; margin: 0 auto; }
.kicker { font-size: 13px; color: var(--ink-faint); letter-spacing: 0.02em; margin: 0 0 14px; }

.tool { padding-bottom: 90px; }
.step[hidden] { display: none; }

/* cytat z Psychocybernetyki */
.quote {
  background: var(--purple-tint);
  border-radius: 18px;
  padding: 28px 26px;
  margin: 0 0 22px;
}
.quote p { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 500; font-size: 19px; line-height: 1.5; color: var(--purple-deep); margin: 0 0 12px; }
.quote cite { font-style: normal; font-size: 13px; color: var(--ink-faint); }
.own-words { font-size: 16.5px; color: var(--ink-soft); margin: 0 0 30px; text-align: center; text-wrap: balance; }
.own-words strong { color: var(--rose); font-weight: 700; }
.start-row { text-align: center; }
.meta-note { font-size: 12.5px; color: var(--ink-faint); text-align: center; margin: 14px 0 0; }

/* pasek postępu */
.progress { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 0 0 30px; }
.progress span { display: block; height: 100%; background: var(--gold); width: 0; transition: width .3s ease; }

/* obszar */
.area h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 600; line-height: 1.25; margin: 0 0 30px; text-wrap: balance; }
.question { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 18px; margin: 0 0 16px; }
.question .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 6px; }
.question.inner .label { color: var(--rose); }
.question.outer .label { color: var(--purple); }
.question .q { font-size: 17px; margin: 0 0 16px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale button {
  font-family: 'Karla', sans-serif;
  font-size: 17px;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.scale button:hover { border-color: var(--purple); }
.question.inner .scale button[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: #fff; }
.question.outer .scale button[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.scale-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-faint); margin-top: 8px; }

.nav-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.link-back { background: none; border: none; font-family: 'Karla', sans-serif; font-size: 15px; color: var(--ink-soft); cursor: pointer; padding: 8px 0; }
.link-back:hover { color: var(--purple); }
.link-back[hidden] { visibility: hidden; display: inline; }

/* zapis */
.signup { text-align: center; }
.signup h2 { font-size: clamp(26px, 4.4vw, 36px); font-weight: 600; margin: 0 0 14px; text-wrap: balance; }
.signup .lead { font-size: 17px; color: var(--ink-soft); max-width: 46ch; margin: 0 auto 28px; }
.signup form { max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.signup input {
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  color: var(--ink);
  width: 100%;
}
.signup input::placeholder { color: var(--ink-faint); }
.signup input:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.signup .btn { width: 100%; }
.signup .consent { font-size: 12.5px; color: var(--ink-faint); max-width: 44ch; margin: 16px auto 0; }
.signup .consent a { color: inherit; }
.form-error { color: var(--rose); font-size: 14px; margin: 0; }
.form-error:empty { display: none; }

/* wynik */
.result-head { text-align: center; margin: 0 0 34px; }
.result-head h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 600; line-height: 1.2; margin: 0 0 18px; text-wrap: balance; }
.result-head .body { font-size: 17px; color: var(--ink-soft); max-width: 52ch; margin: 0 auto; }
.confirm-note { background: var(--gold-tint); border-radius: 12px; padding: 12px 16px; font-size: 14px; color: var(--ink); text-align: center; margin: 0 0 30px; }

.chart { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px 18px; margin: 0 0 26px; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); margin: 0 0 18px; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.legend .in i { background: var(--rose); }
.legend .out i { background: var(--purple); }
.row { margin: 0 0 16px; }
.row .name { font-size: 14px; font-weight: 700; margin: 0 0 6px; display: flex; justify-content: space-between; }
.row .name span { font-weight: 400; color: var(--ink-faint); font-size: 13px; }
.track { position: relative; height: 14px; background: var(--mono-tint); border-radius: 999px; }
.track .gap { position: absolute; top: 4px; height: 6px; background: var(--gold); border-radius: 999px; }
.track .dot { position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%; margin-left: -7px; border: 2px solid var(--paper-raised); }
.track .dot.in { background: var(--rose); }
.track .dot.out { background: var(--purple); }
.row.biggest .name { color: var(--rose); }

.focus { background: #EE6A3C; color: #fff; border-radius: 18px; padding: 26px 24px; margin: 0 0 26px; }
.focus .kicker { color: rgba(255,255,255,.85); margin: 0 0 8px; }
.focus h3 { font-family: 'Fraunces', Georgia, serif; font-size: 23px; font-weight: 600; margin: 0 0 12px; }
.focus p { margin: 0; font-size: 16.5px; }
:root[data-theme="dark"] .focus { background: #F07A4F; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .focus { background: #F07A4F; } }

.next { text-align: center; margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--line); }
.next p { font-size: 17px; color: var(--ink-soft); max-width: 50ch; margin: 0 auto 22px; }
.next .serif-i { font-size: clamp(20px, 2.8vw, 24px); color: var(--purple-deep); }
.next .meta-note { font-size: 14px; color: var(--ink-faint); margin: 40px auto 0; }

@media (max-width: 480px) {
  .col { padding: 0 16px; }
  .question { padding: 18px 14px 14px; }
  .scale { gap: 6px; }
}
