/* ==========================================================================
   TanieAI - strona główna. Paragon jako motyw: papier, druk mono, perforacje.
   Ruch sterowany przewijaniem korzysta ze zmiennej --p (0-1) ustawianej przez motion.js.
   ========================================================================== */

:root {
  --zig-orange: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10' viewBox='0 0 20 10'%3E%3Cpath fill='%23F76021' d='M0 0h20L10 10z'/%3E%3C/svg%3E");
  --zig-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10' viewBox='0 0 20 10'%3E%3Cpath fill='%23fff' d='M0 0h20L10 10z'/%3E%3C/svg%3E");
  --zig-ground: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10' viewBox='0 0 20 10'%3E%3Cpath fill='%23F6F4F1' d='M0 0h20L10 10z'/%3E%3C/svg%3E");
}

.section { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 64px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.sec-head h2 { font-size: clamp(34px, 4.8vw, 64px); margin: 0; }
.sec-intro { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 46ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ======================= HERO ======================= */
.hero {
  position: relative; z-index: 2; background: var(--orange); color: var(--ink);
  min-height: calc(100svh - var(--header-h)); display: flex; align-items: center;
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 9vw, 120px);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; z-index: 3;
  background: var(--zig-orange) repeat-x; background-size: 20px 10px;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__mark {
  position: absolute; right: -9vw; top: 50%;
  font: 800 clamp(300px, 44vw, 720px) / 0.75 var(--font-display); letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.16); white-space: nowrap;
  transform: translate3d(0, calc(-50% + var(--p, 0) * 110px), 0);
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__copy { transform: translate3d(0, calc(var(--p, 0) * 36px), 0); }
.hero .tag--ink { background: var(--ink); color: #fff; white-space: normal; line-height: 1.35; }
.hero h1 {
  font-size: clamp(42px, 4.9vw, 70px); line-height: 1; letter-spacing: -0.035em; margin: 22px 0 22px; text-wrap: balance;
}
.hl {
  display: inline-block; padding: 0.02em 0.16em 0.06em; margin: 0 0.02em; border-radius: 0.16em;
  background: #fff; color: var(--ink); transform: rotate(-2.5deg);
}
.hero__lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; max-width: 33ch; margin: 0 0 32px; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__note, .hero__claim { margin: 0; font: 500 13px/1.6 var(--font-mono); max-width: 52ch; }
.hero__claim { margin-top: 6px; opacity: 0.78; }

/* paragon w hero - drukuje się raz po wczytaniu strony */
.hero__receipt { position: relative; justify-self: end; width: min(380px, 100%); padding-top: 4px; transform: translate3d(0, calc(var(--p, 0) * -56px), 0) rotate(calc(var(--p, 0) * 1.8deg)); }
.hero__slot {
  position: relative; z-index: 2; height: 16px; border-radius: 9px; background: var(--ink);
  box-shadow: 0 10px 18px -8px rgba(22, 18, 72, 0.55), inset 0 -3px 0 rgba(255, 255, 255, 0.12);
}
.rc-hero { margin: -3px 16px 0; padding-top: 30px; clip-path: inset(-30px -60px 100% -60px); animation: print 2.9s var(--ease) 0.25s forwards; }
.rc-hero .rc-row { opacity: 0; transform: translateY(-8px); animation: rc-line 0.25s var(--ease) forwards; animation-delay: calc(0.55s + var(--i, 0) * 0.17s); }
.rc-hero .stamp-wrap { position: absolute; right: 10px; top: 24px; opacity: 0; animation: slam 0.45s var(--ease-out) 3.3s forwards; }
.rc-hero .stamp { font-size: 13px; padding: 4px 10px; border-width: 2.5px; }
@keyframes print { from { clip-path: inset(-30px -60px 100% -60px); transform: translateY(-14px); } to { clip-path: inset(-30px -60px -60px -60px); transform: none; } }
@keyframes rc-line { to { opacity: 1; transform: none; } }
@keyframes slam { 0% { opacity: 0; transform: scale(2.4) rotate(-14deg); } 60% { opacity: 1; transform: scale(0.94) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(-8deg); } }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__receipt { justify-self: center; transform: none; margin-top: 20px; }
  .hero__copy { transform: none; }
}

/* ======================= JAK TO DZIAŁA ======================= */
.story { position: relative; background: var(--ground); padding: clamp(88px, 11vw, 140px) 0 clamp(64px, 8vw, 100px); }
.story__grid { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story h2 { font-size: clamp(34px, 4.6vw, 60px); margin: 0 0 8px; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; position: relative; display: grid; gap: 6px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 2px 18px; padding: 16px 0; transition: opacity 0.35s var(--ease); }
.step__n {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: #fff; border: 1.5px solid var(--line-2); color: var(--orange-deep); font: 700 14px/1 var(--font-mono);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.step h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 6px 0 6px; }
.step p { margin: 0; color: var(--ink-2); max-width: 44ch; }

.panes { display: grid; gap: 20px; }
.win { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); overflow: hidden; }
.win__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px;
  background: var(--ground); border-bottom: 1px solid var(--line); font: 600 11px/1 var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
}
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-tint); }
.win__body { padding: 22px; min-height: 250px; display: grid; align-content: center; gap: 14px; }
.tline { display: block; min-height: 1.6em; font: 500 14px/1.6 var(--font-mono); word-break: break-all; }
.tline.is-caret::after { content: ''; display: inline-block; width: 0.55em; height: 1.05em; margin-left: 2px; vertical-align: -0.18em; background: var(--orange); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.win--term .win__bar { background: #100d3a; border-color: #241f63; color: #a8a5d3; }
.win--term { background: var(--ink); border-color: var(--ink); }
.win--term .tline { color: #fff; }
.win--term .tline .p { color: var(--orange); }
.field-line { display: grid; gap: 6px; }
.field-line small { font: 600 11px/1 var(--font-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.field-line .tline { padding: 12px 14px; min-height: 48px; border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--ground); }
.discord-fake {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; border-radius: 12px; background: #5865f2; color: #fff; font-weight: 700; font-size: 15px;
}
.discord-fake .ico { width: 22px; height: 22px; }
.pass-fake {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; border-radius: 12px; background: #fff; color: var(--ink);
  border: 1.5px solid var(--line-2); font-weight: 700; font-size: 15px;
}
.pass-fake .ico { width: 20px; height: 20px; }

/* tryb automatyczny: JS dodaje .is-playing. Bez JS i przy prefers-reduced-motion okna leżą jedno pod drugim. */
.step__n { cursor: pointer; }
.story:not(.is-playing) 
.story.is-playing .step { opacity: 0.38; cursor: pointer; }
.story.is-playing .step.is-active, .story.is-playing .step.is-done { opacity: 1; }
.story.is-playing .step:hover { opacity: 1; }
.story.is-playing .step.is-active .step__n { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: scale(1.12); }
.story.is-playing .step.is-done .step__n { background: var(--ink); border-color: var(--ink); color: #fff; }
.story.is-playing .steps::before { content: ''; position: absolute; left: 21px; top: 38px; bottom: 38px; width: 2px; background: var(--line-2); }
.story.is-playing .steps::after { content: ''; position: absolute; left: 21px; top: 38px; width: 2px; height: calc((100% - 76px) * var(--cycle, 0)); background: var(--orange); }
.story.is-playing .panes { position: relative; height: 420px; display: block; }
.story.is-playing .pane { position: absolute; inset: 0; opacity: 0; transform: translate3d(0, 28px, 0) scale(0.97); transition: opacity 0.4s var(--ease), transform 0.55s var(--ease); pointer-events: none; }
.story.is-playing .pane.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story.is-playing .pane.is-past { opacity: 0; transform: translate3d(0, -28px, 0) scale(0.97); }
.story.is-playing .pane .win { height: 100%; display: flex; flex-direction: column; }
.story.is-playing .pane .win__body { flex: 1; }
@media (max-width: 899px) {
  .story__grid { grid-template-columns: 1fr; }
  .story.is-playing .panes { height: 330px; }
  .story.is-playing .win__body { min-height: 0; }
}

/* ======================= MODELE ======================= */
.models { background: #fff; border-block: 1px solid var(--line); }
.marquee { overflow: hidden; display: grid; gap: 12px; padding: 4px 0 clamp(40px, 5vw, 64px); }
.marquee__row {
  display: flex; gap: 12px; width: max-content; padding-right: 12px; /* padding = jeden odstęp, więc -50% trafia dokładnie w szew */
  animation: marquee 95s linear infinite; will-change: transform;
}
.marquee__row--rev { animation-direction: reverse; animation-duration: 110s; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--ground); font-weight: 600; font-size: 15px; white-space: nowrap;
}
.chip img { width: 22px; height: 22px; object-fit: contain; }

.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.board__stack { display: grid; gap: 20px; }
.board__col { background: var(--ground); border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px 26px; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.board__col:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.board__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 2px dashed var(--line-2); }
.board__head img { width: 34px; height: 34px; object-fit: contain; }
.board__head h3 { font-size: 24px; margin: 0; }
.board__head p { margin: 2px 0 0; font: 500 12px/1.2 var(--font-mono); color: var(--muted); }
.board__head .count { margin-left: auto; align-self: flex-start; }
.board__grp { margin: 16px 0 6px; font: 600 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; font-weight: 500; font-size: 15px; }
.board li > i { flex: 1; min-width: 10px; border-bottom: 2px dotted var(--line-2); transform: translateY(-3px); }
.tier { font: 600 10.5px/1 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 6px; border-radius: 5px; background: var(--orange-tint); color: var(--orange-deep); }
.tier--free { background: var(--green-tint); color: var(--green); }
.tier--mini { background: var(--amber-tint); color: var(--amber); }
.models__legal { margin: 28px 0 0; color: var(--muted); font-size: 14px; max-width: 80ch; }
.models__legal a { color: var(--orange-deep); }
@media (max-width: 980px) {
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board > .board__stack:last-child { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 760px) { .board > .board__stack:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .board, .board > .board__stack:last-child { grid-template-columns: 1fr; } }

/* ======================= PLANY ======================= */
.plans { background: var(--ground); }
.free-strip {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 32px; margin-bottom: 40px; padding: 22px 28px;
  background: #fff; border: 2px dashed var(--line-2); border-radius: 18px;
}
.free-strip h3 { font-size: 30px; margin: 0; display: flex; align-items: baseline; gap: 12px; }
.free-strip h3 small { font: 500 14px var(--font-mono); color: var(--muted); }
.free-strip p { margin: 0; color: var(--ink-2); }
.free-strip p strong { color: var(--ink); }
@media (max-width: 860px) { .free-strip { grid-template-columns: 1fr; } .free-strip .btn { justify-self: start; } }

.tickets { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; align-items: stretch; }
.ticket {
  --pp: clamp(0, calc(var(--p, 1) * 1.7 - var(--i, 0) * 0.14), 1);
  position: relative; display: flex; flex-direction: column;
  clip-path: inset(-20px -20px calc((1 - var(--pp)) * 100% - 20px) -20px);
  transform: translate3d(0, calc((1 - var(--pp)) * -26px), 0);
}
.ticket__paper {
  position: relative; flex: 1; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 4px 4px;
  padding: 24px 22px 28px; box-shadow: var(--shadow-1); transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.ticket__paper::after { content: ''; position: absolute; left: -1px; right: -1px; bottom: -10px; height: 10px; background: var(--zig-white) repeat-x; background-size: 20px 10px; }
.ticket:hover .ticket__paper { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.ticket__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 8px; min-height: 28px; margin-bottom: 8px; }
.ticket h3 { font-size: 30px; margin: 0; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 2px; }
.price strong { font: 800 54px/1 var(--font-display); letter-spacing: -0.04em; }
.price span { font: 700 20px var(--font-display); }
/* po angielsku znak $ stoi przed liczbą, lekko uniesiony */
html[lang='en'] .price { flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
html[lang='en'] .price span { align-self: flex-start; margin-top: 7px; }
.price-sub { font: 500 12px var(--font-mono); color: var(--muted); margin: 0 0 18px; }
.ticket .btn { margin-top: auto; }
.ticket hr { border: 0; border-top: 2px dashed var(--line-2); margin: 4px 0 14px; }
.dl-title { margin: 0 0 8px; font: 600 10.5px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.ticket dl { margin: 0 0 18px; display: grid; gap: 8px; font-size: 14px; }
.ticket dl > div { display: flex; align-items: baseline; gap: 8px; }
.ticket dl > div > i { flex: 1; min-width: 8px; border-bottom: 2px dotted var(--line-2); transform: translateY(-3px); }
.ticket dt { color: var(--muted); }
.ticket dd { margin: 0; font: 600 13px var(--font-mono); text-align: right; white-space: nowrap; }
.ratio { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--orange-tint); color: var(--ink); font-size: 13px; line-height: 1.35; }
.ratio b { display: block; font: 800 30px/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--orange-deep); }
.ticket__sub { margin: 0 0 18px; font-size: 14px; color: var(--ink-2); }

.ticket--feature .ticket__paper { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange), var(--shadow-2); }
.ticket--feature .ratio { background: var(--orange); }
.ticket--feature .ratio b { color: var(--ink); }
.ticket--nova .ticket__paper { background: var(--ink); border-color: var(--ink); color: #fff; }
.ticket--nova .ticket__paper::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10' viewBox='0 0 20 10'%3E%3Cpath fill='%23161248' d='M0 0h20L10 10z'/%3E%3C/svg%3E"); }
.ticket--nova hr, .ticket--nova dl > div > i { border-color: rgba(255, 255, 255, 0.25); }
.ticket--nova dt, .ticket--nova .price-sub, .ticket--nova .ticket__sub, .ticket--nova .dl-title { color: #b9b6e0; }
.ticket--nova .ratio { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ticket--nova .ratio b { color: var(--orange); }
.pricing-footnote { margin: 36px 0 0; color: var(--muted); font-size: 14px; max-width: 80ch; }

/* ======================= PORÓWNANIE ======================= */
/* granatowe pole: pomarańczowy box Nova na górze, pod nim kompaktowe boxy subskrypcji z paskiem limitu (skala 0-7 000 USD) */
.cmp { position: relative; background: var(--ink); color: #fff; }
.cmp::before {
  content: ''; position: absolute; left: 0; right: 0; top: -9px; height: 10px; background-repeat: repeat-x; background-size: 20px 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10' viewBox='0 0 20 10'%3E%3Cpath fill='%23161248' d='M0 10 10 0l10 10z'/%3E%3C/svg%3E");
}
.cmp .sec-intro { color: #cfcdf0; }
.cmp__stage { --pp: clamp(0, calc(var(--p, 1) * 1.6), 1); display: grid; gap: 14px; }
.cmpb__bar { position: relative; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.cmpb__bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; clip-path: inset(0 calc((1 - var(--pp)) * 100%) 0 0); }
.cmpb__bar .a { width: max(8px, var(--lo)); background: rgba(255, 255, 255, 0.55); }
.cmpb__bar .b { width: max(8px, var(--hi)); background: rgba(255, 255, 255, 0.2); z-index: 0; }
.cmpb__bar .a { z-index: 1; }

.cmpn {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(22px, 3.2vw, 38px); border-radius: 22px; background: var(--orange); color: var(--ink);
}
.cmpn__tag { margin: 0 0 6px; font: 700 13px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.cmpn__price { margin: 0; font: 600 16px var(--font-ui); }
.cmpn__price b { font: 800 22px var(--font-display); }
.cmpn__big { margin: 6px 0 0; font: 800 clamp(54px, 7.4vw, 108px) / 0.95 var(--font-display); letter-spacing: -0.045em; }
.cmpn__cap { margin: 6px 0 18px; font: 600 16px / 1.3 var(--font-ui); max-width: 36ch; }
.cmpn .cmpb__bar { height: 16px; border-radius: 8px; background: rgba(22, 18, 72, 0.16); }
.cmpn .cmpb__bar .a { width: var(--hi); background: var(--ink); border-radius: 8px; }
.cmpn__plus { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmpn__plus li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font: 600 15.5px / 1.35 var(--font-ui); }
.cmpn__plus .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 3; }

.cmp__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cmpb {
  --pp: clamp(0, calc(var(--p, 1) * 1.7 - var(--i, 0) * 0.07), 1);
  display: grid; align-content: start; gap: 6px; padding: 16px 18px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.cmpb:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.cmpb__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cmpb__grp { font: 600 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: #b9b6e0; }
.cmpb__price { font: 500 12px var(--font-mono); color: #b9b6e0; white-space: nowrap; }
.cmpb__price b { font: 700 14px var(--font-mono); color: #fff; }
.cmpb h3 { margin: 0; font-size: 21px; letter-spacing: -0.02em; }
.cmpb__incl { margin: 0; font-size: 12.5px; line-height: 1.35; color: #b9b6e0; }
.cmpb__lim { margin: 6px 0 2px; font: 800 clamp(19px, 1.9vw, 24px) / 1.1 var(--font-display); letter-spacing: -0.02em; }
.cmpb__lim span { white-space: nowrap; }
.cmpb__x { margin: 0 0 4px; font-size: 12.5px; color: #b9b6e0; }
.cmpb__x b { font: 800 15px var(--font-display); letter-spacing: -0.01em; color: #ff9a66; white-space: nowrap; }
.cmpb__note { margin: 0 0 2px; font-size: 12px; line-height: 1.4; color: #b9b6e0; }
.cmpb__note b { color: #fff; white-space: nowrap; }
.cmpb__minus { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; margin: 8px 0 0; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, 0.22); font-size: 13px; line-height: 1.35; color: #e6e4fb; }
.cmpb__minus .ico { width: 16px; height: 16px; margin-top: 1px; color: #ff8e7a; stroke-width: 2.6; }
.cmp__foot { margin: 22px 0 0; font: 500 12.5px / 1.5 var(--font-mono); color: #b9b6e0; }
html[lang='en'] .cmpb__usd { display: none; }
@media (max-width: 1100px) { .cmp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .cmpn { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cmp__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cmpb__bar i { clip-path: none; } }

/* ======================= FAQ ======================= */
.faq-sec { background: #fff; border-top: 1px solid var(--line); }
.faq { display: grid; gap: 0; border-top: 2px solid var(--ink); max-width: 900px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer;
  padding: 24px 4px; font: 700 clamp(19px, 2vw, 24px) / 1.25 var(--font-display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 24px; height: 24px; color: var(--orange-deep); transition: transform 0.3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq summary:hover { color: var(--orange-deep); }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0 0 26px; padding: 0 4px; max-width: 70ch; color: var(--ink-2); font-size: 17px; }

/* ======================= ZAMKNIĘCIE ======================= */
.cta { position: relative; background: var(--orange); color: var(--ink); padding: clamp(72px, 9vw, 120px) 0 clamp(88px, 10vw, 132px); overflow: hidden; }
.cta::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 10px; background: var(--zig-white) repeat-x; background-size: 20px 10px; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.cta h2 { font-size: clamp(40px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.04em; margin: 0 0 20px; }
.cta p { font-size: clamp(18px, 1.8vw, 22px); max-width: 38ch; margin: 0 0 30px; font-weight: 500; }
.cta__stamp { display: grid; place-items: center; min-height: 220px; }
.cta .stamp { font-size: clamp(30px, 4vw, 56px); padding: 14px 28px; border-width: 6px; border-radius: 12px; border-color: var(--ink); color: var(--ink); opacity: 0; transform: scale(2.4) rotate(-18deg); mix-blend-mode: normal; }
.cta .stamp.is-in { animation: slam-cta 0.55s var(--ease-out) forwards; }
@keyframes slam-cta { 0% { opacity: 0; transform: scale(2.4) rotate(-18deg); } 60% { opacity: 1; transform: scale(0.94) rotate(-9deg); } 100% { opacity: 1; transform: scale(1) rotate(-9deg); } }
.cta__bars { position: absolute; left: 0; right: 0; bottom: 0; height: 36px; color: var(--ink); opacity: 0.9; clip-path: inset(0 calc((1 - var(--p, 1)) * 100%) 0 0); }
.cta__bars svg { width: 100%; height: 100%; }
@media (max-width: 820px) { .cta__grid { grid-template-columns: 1fr; } .cta__stamp { min-height: 140px; justify-content: start; } }

/* przy braku animacji pieczątki i paragony od razu w stanie końcowym */
@media (prefers-reduced-motion: reduce) {
  .rc-hero { clip-path: none; animation: none; }
  .rc-hero .rc-row { opacity: 1; transform: none; animation: none; }
  .rc-hero .stamp-wrap { opacity: 1; animation: none; transform: rotate(-8deg); }
  .cta .stamp { opacity: 1; transform: rotate(-9deg); animation: none; }
  .ticket { clip-path: none; transform: none; }
  .marquee__row { animation: none; }
  
}
