/* Equiset — prototyp strony (light neo-brutalism, docs/11-design-system.md) */
:root {
  --ink: #282825;
  --ink-body: #52514e;
  --ink-muted: #6e6d7a;
  --paper: #f9f5f2;
  --white: #fff;
  --line: #e6e0da;
  --hay: #f5cf5c;
  --meadow: #9fcba8;
  --sky: #a9bcef;
  --heather: #cdb8f5;
  --carrot: #f6a27e;
  --blush: #f6b8d9;
  --shadow: 3px 3px 0 var(--ink);
  --shadow-hover: 5px 5px 0 var(--ink);
  --ease: cubic-bezier(0.645, 0.045, 0.355, 1);
  --display: "Outfit", system-ui, sans-serif;
  --body: "Cabin", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.45 var(--body);
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
.wrap {
  width: min(1248px, 100% - 32px);
  margin: 0 auto;
}

/* pasek promocji */
.promo {
  background: var(--hay);
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
  font: 600 12px/32px var(--display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.promo span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 40s linear infinite;
}
.promo:hover span {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* nawigacja */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  background: var(--white);
  font: 700 18px var(--display);
  text-decoration: none;
}
.logo i {
  font-style: normal;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 100px;
  font: 500 16px var(--display);
  text-decoration: none;
  transition: 0.25s var(--ease);
}
.nav-links a:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  background: rgb(255 255 255 / 0.5);
}
.nav-links a.cta {
  background: var(--hay);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

/* przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 28px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--hay);
  color: var(--ink);
  font: 600 18px var(--display);
  letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}
.btn:active {
  transform: none;
  box-shadow: 1px 1px 0 var(--ink);
}
.btn.secondary {
  background: var(--white);
}
.btn.dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 3px 3px 0 var(--hay);
}
.btn:disabled {
  background: #ede8e3;
  color: var(--ink-muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 80px;
}
.lead {
  font-size: 20px;
  color: var(--ink-body);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0;
}
h1 {
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.05;
  margin: 10px 0 18px;
}
h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 22px;
  letter-spacing: 0;
}
.start {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.start input {
  flex: 1 1 220px;
  min-height: 56px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  font: 18px var(--body);
  box-shadow: var(--shadow);
  background: var(--white);
}
.hint {
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: 10px;
}
.visual {
  position: relative;
  aspect-ratio: 1 / 1;
}
.frame {
  position: absolute;
  inset: 8% 6%;
  border: 2px solid var(--ink);
  border-radius: 40px;
  background: var(--blush);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  place-items: end center;
}
.frame svg {
  width: 88%;
}
.sticker {
  position: absolute;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 100px;
  background: var(--white);
  font: 600 16px var(--display);
  box-shadow: var(--shadow);
}
.s1 {
  top: 2%;
  right: 4%;
  background: var(--sky);
  transform: rotate(3deg);
}
.s2 {
  bottom: 4%;
  left: 0;
  background: var(--meadow);
  transform: rotate(-3deg);
}
.s3 {
  top: 40%;
  left: -2%;
  width: 64px;
  height: 64px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--hay);
  font-size: 28px;
}
.s4 {
  bottom: 22%;
  right: -1%;
  background: var(--heather);
}

/* sekcje */
section.band {
  padding: 96px 0;
}
section.white {
  background: var(--white);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.card {
  padding: 28px 24px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.card.hl {
  background: var(--hay);
}
.card p {
  color: var(--ink-body);
  margin: 8px 0 0;
}
.icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  font-size: 26px;
  margin-bottom: 16px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  counter-reset: step;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--hay);
  font: 700 20px var(--display);
  box-shadow: 2px 2px 0 var(--ink);
  margin-bottom: 14px;
}
.step p {
  color: var(--ink-body);
  margin: 6px 0 0;
}
.center {
  text-align: center;
}
.cta-band {
  padding: 48px;
  border: 2px solid var(--ink);
  border-radius: 40px;
  background: var(--hay);
  box-shadow: var(--shadow);
  text-align: center;
}
.cta-band p {
  color: var(--ink-body);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  font: 600 18px var(--display);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.faq summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.faq details[open] summary::after {
  content: "–";
}
.faq p {
  color: var(--ink-body);
}
footer {
  padding: 40px 0 60px;
  color: var(--ink-muted);
  font-size: 14px;
}
.proto {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--carrot);
  color: var(--ink);
  font: 600 12px var(--display);
}

/* ankieta */
.survey {
  width: min(720px, 100% - 32px);
  margin: 0 auto;
  padding: 24px 0 140px;
}
.stepper {
  display: flex;
  gap: 6px;
  margin: 8px 0 28px;
}
.stepper i {
  flex: 1;
  height: 8px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--white);
}
.stepper i.on {
  background: var(--hay);
}
.stepper i.done {
  background: var(--meadow);
}
.q h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.q .sub {
  color: var(--ink-body);
  margin: 8px 0 22px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.tile,
.chip {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  font: 500 17px var(--display);
  color: var(--ink);
  transition: 0.2s var(--ease);
}
.tile {
  border-radius: 12px;
  padding: 18px 14px;
  text-align: left;
}
.tile span {
  display: block;
  font-size: 30px;
  margin-bottom: 6px;
}
.tile small {
  display: block;
  font: 14px var(--body);
  color: var(--ink-muted);
  margin-top: 4px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  border-radius: 100px;
  padding: 10px 16px;
}
.tile[aria-pressed="true"],
.chip[aria-pressed="true"] {
  border-width: 2px;
  background: var(--sky);
}
.chip[aria-pressed="true"] {
  background: var(--heather);
}
.tile[aria-pressed="true"]::after,
.chip[aria-pressed="true"]::before {
  content: "✓";
  font-weight: 700;
}
.tile[aria-pressed="true"]::after {
  position: absolute;
  top: 8px;
  right: 10px;
}
.chip[aria-pressed="true"]::before {
  margin-right: 6px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="number"] {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  font: 18px var(--body);
  box-shadow: var(--shadow);
  background: var(--white);
}
.field input:focus,
.start input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.range {
  display: flex;
  align-items: center;
  gap: 14px;
}
.range input {
  flex: 1;
  accent-color: var(--ink);
}
.range b {
  min-width: 70px;
  padding: 4px 10px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--hay);
  text-align: center;
  font: 600 16px var(--display);
}
.alert {
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  border-left: 6px solid var(--sky);
  border-radius: 12px;
  background: var(--white);
  font-size: 15px;
  color: var(--ink-body);
}
.bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1.5px solid var(--ink);
}
.bar .inner {
  width: min(720px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.horse-pill {
  display: inline-block;
  padding: 4px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  background: var(--blush);
  font: 600 14px var(--display);
}
.result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.tin {
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--sky);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  place-items: center;
  text-align: center;
}
.tin .label {
  width: 70%;
  padding: 18px 12px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--white);
}
.tin .label b {
  display: block;
  font: 700 26px var(--display);
}
.price {
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 24px;
}
.price .big {
  font: 700 40px var(--display);
}
.price s {
  color: var(--ink-muted);
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font: 500 14px var(--display);
  margin: 0 6px 6px 0;
}
.ing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.ing div {
  border: 1px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  padding: 14px;
  box-shadow: 2px 2px 0 var(--ink);
}
.ing small {
  display: block;
  color: var(--ink-muted);
}

@media (max-width: 860px) {
  .hero,
  .result {
    grid-template-columns: 1fr;
  }
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }
  .nav-links a:not(.cta) {
    display: none;
  }
  section.band {
    padding: 64px 0;
  }
  .cta-band {
    padding: 28px 20px;
  }
  .btn,
  .tile,
  .card,
  .start input {
    box-shadow: 2px 2px 0 var(--ink);
  }
}
@media (prefers-reduced-motion: reduce) {
  .promo span {
    animation: none;
    padding-left: 16px;
  }
  .btn,
  .tile,
  .chip {
    transition: none;
  }
}
