/* ==========================================================================
   Authify Collection — style
   Kolorystyka: aplikacja Premium (satynowe złoto, biel, srebro, kość słoniowa)
   Ruch i głębia: wzorowane na authify.ai/biznes (reveal, połysk przycisków,
   oddychająca poświata, głębia 3D, przyklejona scena z krokami, marquee)
   ========================================================================== */

:root {
  --gold-950: #2a1c06;
  --gold-900: #3a280a;
  --gold-850: #47320e;
  --gold-800: #573e12;
  --gold-700: #6f5018;
  --gold-600: #8a6420;
  --gold-500: #a87c2c;
  --gold-400: #c49a4a;
  --gold-300: #dcbd78;
  --gold-200: #ecd8a4;
  --ivory: #fbf4e1;
  --ivory-2: #efe4c6;
  --silver: #e7e9ed;
  --silver-2: #c6cad1;
  --white: #fffdf7;
  --text: #fffaf0;
  --muted: rgba(255, 246, 225, .82);
  --soft: rgba(255, 244, 218, .66);
  --line: rgba(255, 236, 196, .24);
  --line-soft: rgba(255, 236, 196, .13);
  --glass: rgba(255, 240, 205, .075);
  --ink: #2a1c05;
  --radius: 28px;
  --shell: min(1220px, calc(100% - 64px));
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: #7a5719;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* satynowe złoto: gradient + refleksy + delikatna faktura */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 8% 2%, rgba(240, 210, 145, .42), transparent 70%),
    radial-gradient(55% 45% at 96% 16%, rgba(255, 228, 168, .22), transparent 72%),
    radial-gradient(70% 60% at 50% 110%, rgba(40, 26, 4, .45), transparent 70%),
    linear-gradient(118deg, transparent 28%, rgba(255, 236, 190, .1) 42%, transparent 55%),
    linear-gradient(168deg, #a47a2b 0%, #8d6621 32%, #7a5719 62%, #654713 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .7 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; fill: currentColor; flex: 0 0 auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.015em; color: var(--white); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1 em, h2 em {
  display: inline;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, #ffffff 0%, #dfe2e7 30%, #b9bec7 52%, #f4f5f7 70%, #cfd3d9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(42, 26, 2, .35));
}

.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 18px; border-radius: 100px;
  background: var(--ivory); color: var(--ink); font-weight: 600;
  transition: top .25s;
}
.skip-link:focus { top: 14px; }

/* placeholders do podmiany — celowo widoczne */
.ph {
  display: inline-block;
  padding: 0 .45em;
  border: 1px dashed rgba(255, 238, 200, .6);
  border-radius: 6px;
  background: rgba(42, 28, 6, .32);
  color: var(--gold-200);
  font-family: var(--mono);
  font-size: .78em;
  letter-spacing: .02em;
  line-height: 1.7;
}

/* ---------- typografia pomocnicza ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-200);
}
.signal-dot {
  position: relative;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 0 4px rgba(255, 244, 220, .16);
}
.signal-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(255, 244, 220, .6);
  animation: signal 2.6s ease-in-out infinite;
}

.section-head { max-width: 860px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(2.6rem, 4.9vw, 4.6rem); }
.section-lead { margin-top: 24px; max-width: 640px; font-size: 1.05rem; color: var(--muted); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 244, 220, .45);
  font-size: .9rem; font-weight: 500; color: var(--text);
  transition: border-color .3s, color .3s;
}
.text-link:hover { border-color: var(--ivory); color: var(--white); }

/* ---------- przyciski (połysk jak na authify.ai/biznes) ---------- */
.button {
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: .9rem; font-weight: 600; line-height: 1.25; letter-spacing: .01em;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
.button::before {
  content: "";
  position: absolute; inset: -100%; z-index: -1;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%);
  transform: translateX(-70%) rotate(8deg);
  transition: transform .8s;
}
.button:hover::before { transform: translateX(70%) rotate(8deg); }
.button:hover { transform: translateY(-3px); }
.button:active { transform: scale(.97); transition-duration: .1s; }
.button svg { font-size: 1.05rem; }
.button-arrow { margin-left: 2px; }

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, #fffaf0 0%, var(--ivory-2) 45%, #d9dbe0 100%);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 14px 40px rgba(42, 26, 2, .28), inset 0 2px 1px rgba(255, 255, 255, .85);
}
.button-primary:hover { box-shadow: 0 20px 54px rgba(42, 26, 2, .36), 0 0 30px rgba(255, 238, 200, .35), inset 0 2px 1px rgba(255, 255, 255, .85); }

.button-glass {
  color: var(--text);
  border-color: rgba(255, 238, 200, .42);
  background: linear-gradient(135deg, rgba(255, 244, 220, .16), rgba(255, 240, 210, .05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 30px rgba(42, 26, 2, .22);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.button-glass:hover { background: rgba(255, 244, 220, .22); }
.button-sm { min-height: 44px; padding: 10px 18px; font-size: .82rem; }

/* ---------- nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(74, 52, 15, .72);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 232, 186, .14);
  transition: background .4s, box-shadow .4s;
}
.site-header.is-scrolled { background: rgba(58, 40, 10, .86); box-shadow: 0 10px 40px rgba(30, 18, 0, .25); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 34px; height: 27px; color: var(--white); }
.brand-word { font-weight: 700; font-size: 1.04rem; letter-spacing: .3em; color: var(--white); }
.brand-sub { margin-left: -2px; padding-left: 12px; border-left: 1px solid var(--line); font-size: .66rem; font-weight: 500; letter-spacing: .32em; color: var(--silver-2); }

.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a {
  position: relative;
  padding: 8px 14px; border-radius: 100px;
  font-size: .86rem; color: var(--muted);
  transition: color .3s, background .3s;
}
.site-nav .nav-cta { display: none; }
.site-nav a:hover, .site-nav a.is-current { color: var(--white); background: rgba(255, 240, 210, .09); }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 238, 200, .45);
  border-radius: 100px;
  font-size: .86rem; font-weight: 500;
  background: rgba(255, 244, 220, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.header-cta:hover { background: var(--ivory); color: var(--ink); transform: translateY(-1px); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .3s, top .3s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- ramy (grafiki z materiałów) ---------- */
.framed {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  width: 100%;
  container-type: inline-size;
}
.framed .frame-img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(28, 17, 0, .45)) drop-shadow(0 4px 8px rgba(28, 17, 0, .3));
}
/* miejsce na wizualizację dzieła — nakładane na passe-partout, tylko gdy plik istnieje */
.art-slot {
  position: absolute; z-index: 2;
  left: var(--slot-l, 20%); top: var(--slot-t, 18%);
  width: var(--slot-w, 60%); height: var(--slot-h, 60%);
  display: none;
  align-items: center; justify-content: center;
  padding: 7%;
  background: radial-gradient(120% 120% at 30% 20%, #f9f9f7, #ededea);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent), linear-gradient(transparent, #000 4%, #000 96%, transparent);
  mask-composite: intersect;
}
.framed.has-art .art-slot { display: flex; }
.art-slot img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 4px 8px 14px rgba(0, 0, 0, .28), 1px 2px 3px rgba(0, 0, 0, .2); }

/* sygnał NFC przy emblemacie */
.emblem-signal {
  position: absolute; z-index: 3;
  left: var(--ex, 8%); top: var(--ey, 90%);
  width: 0; height: 0;
  pointer-events: none;
}
.emblem-signal i {
  position: absolute; left: 50%; top: 50%;
  width: 7.5cqw; height: 7.5cqw;
  border: 1.5px solid rgba(255, 246, 222, .85);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.4);
  opacity: 0;
  animation: nfc-ring 2.8s ease-out infinite;
}
.emblem-signal i + i { animation-delay: 1.4s; }

.vis-caption {
  margin: 14px 0 0;
  font-size: .72rem; letter-spacing: .04em;
  color: var(--soft);
}
.vis-caption b { font-weight: 500; color: var(--text); }
.vis-caption .ph { margin-left: 6px; }

/* ---------- telefon ---------- */
.phone {
  position: relative;
  padding: 7px;
  border: 1.5px solid rgba(255, 232, 186, .45);
  border-radius: 40px;
  background: linear-gradient(145deg, #d8bf86 0%, #3b2a0c 12%, #1e1505 86%, #c9ab6a 100%);
  box-shadow: 0 26px 50px rgba(24, 14, 0, .55), 0 0 0 4px rgba(255, 236, 196, .05), inset 0 0 0 2px rgba(255, 245, 225, .18);
}
.phone::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 35px; pointer-events: none; }
.phone-screen { position: relative; overflow: hidden; border-radius: 33px; background: #1a1205; }
.phone-screen > img { width: 100%; height: auto; }

/* ==========================================================================
   2. HERO
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  min-height: calc(100svh - var(--header-h));
  padding: 64px 0 90px;
}
.hero h1 { font-size: clamp(3.3rem, 6.4vw, 6.4rem); line-height: .98; letter-spacing: -.025em; }
.hero h1 em { display: block; margin-top: .06em; }
.hero-lead { max-width: 540px; margin: 30px 0 38px; font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line-soft); max-width: 540px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--muted); }
.hero-proof li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: linear-gradient(135deg, var(--ivory), var(--silver-2)); }

.hero-visual {
  position: relative;
  display: grid; place-items: center;
  min-height: 640px;
  perspective: 1300px;
}
/* ciemna nisza, żeby złota rama nie zlewała się ze złotym tłem */
.hero-visual::before {
  content: "";
  position: absolute; inset: 4% 2% 10%;
  border-radius: 40px;
  background: radial-gradient(70% 70% at 50% 45%, rgba(42, 28, 6, .55), rgba(42, 28, 6, .25) 60%, transparent 85%);
  filter: blur(6px);
}
.hero-halo {
  position: absolute;
  width: min(100%, 600px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 228, 165, .32), rgba(214, 170, 82, .16) 40%, transparent 68%);
  filter: blur(24px);
  animation: halo-breathe 8s ease-in-out infinite;
}
.hero-parallax {
  position: relative; z-index: 1;
  width: min(100%, 540px);
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .5s var(--ease);
}
.hero-frame { animation: frame-depth 12s ease-in-out infinite; transform-origin: 50% 55%; }
.hero-phone {
  position: absolute; z-index: 3;
  right: -8%; bottom: -9%;
  width: clamp(128px, 12.5vw, 178px);
  padding: 5px; border-radius: 28px;
  transform: translateZ(60px) rotate(-6deg);
  animation: phone-float 7s ease-in-out infinite;
}
.hero-phone::after { border-radius: 24px; }
.hero-phone .phone-screen { border-radius: 23px; }

.float-note {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 238, 200, .42);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(90, 64, 18, .62), rgba(58, 40, 10, .5));
  box-shadow: 0 18px 50px rgba(24, 14, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  font-size: .74rem; line-height: 1.35; color: var(--muted);
}
.float-note strong { display: block; font-size: .8rem; font-weight: 600; color: var(--white); }
.note-icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ivory), var(--silver-2));
  color: var(--ink);
  box-shadow: 0 0 0 5px rgba(255, 240, 210, .12);
}
.note-icon svg { width: 18px; height: 15px; }
.note-icon-text { font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.note-nfc { left: -2%; bottom: 13%; animation: note-float 6s ease-in-out infinite; }
.note-ai { right: -3%; top: 9%; animation: note-float 7s ease-in-out -2s infinite; }
.hero-caption { position: absolute; left: 6%; right: 30%; bottom: -6px; text-align: left; }

/* ==========================================================================
   3. PASEK KORZYŚCI
   ========================================================================== */
.value-line {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(42, 28, 6, .38), rgba(58, 40, 10, .22), rgba(42, 28, 6, .38));
}
.value-track { display: flex; justify-content: center; }
.value-set { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 0; padding: 22px 16px; }
.value-set[aria-hidden="true"] { display: none; }
.value-set li {
  display: inline-flex; align-items: center;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  color: var(--text);
  white-space: nowrap;
}
.value-set li + li::before {
  content: "";
  width: 6px; height: 6px; margin: 0 30px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--ivory), var(--silver-2));
  opacity: .8;
}

/* ==========================================================================
   4. KOLEKCJE
   ========================================================================== */
.collections { padding: 130px 0 120px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }

.offer {
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px 22px 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 240, 210, .11), rgba(255, 240, 210, .03) 55%, rgba(42, 28, 6, .14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 24px 60px rgba(30, 18, 0, .18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform .6s var(--ease-out), box-shadow .5s, border-color .5s;
}
.offer:hover { transform: translateY(-6px); border-color: rgba(255, 238, 200, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 34px 80px rgba(30, 18, 0, .3), 0 0 50px rgba(255, 228, 165, .1); }
.offer-featured { border-color: rgba(255, 238, 200, .42); }

.offer-visual {
  position: relative;
  display: grid; place-items: center;
  padding: 30px 26px 34px;
  border-radius: 22px;
  background:
    radial-gradient(80% 70% at 50% 40%, rgba(255, 230, 175, .14), transparent 70%),
    linear-gradient(165deg, #4b350f, #2f2007 90%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -30px 60px rgba(0, 0, 0, .2);
  overflow: hidden;
}
.offer-visual::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 236, 196, .1); border-radius: 16px; pointer-events: none;
}
.offer-visual .framed { width: 88%; transition: transform .8s var(--ease-out); }
.offer:hover .offer-visual .framed { transform: perspective(900px) rotateY(-4deg) rotateX(2deg) scale(1.02); }

.offer-phone {
  position: absolute; z-index: 4;
  right: 12px; bottom: 12px;
  width: 25%;
  transform: rotate(-5deg);
  transition: transform .5s var(--ease-out);
}
.offer-phone:hover, .offer-phone:focus-visible { transform: rotate(-2deg) translateY(-6px) scale(1.04); }
.phone-mini { display: block; padding: 3px; border-radius: 16px; border-width: 1px; }
.phone-mini::after { inset: 2px; border-radius: 14px; }
.phone-mini .phone-screen { border-radius: 13px; display: block; }
.zoom-badge {
  position: absolute; left: -10px; top: -10px;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ivory); color: var(--ink);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
  font-size: 14px;
  transition: transform .3s var(--ease);
}
.offer-phone:hover .zoom-badge { transform: scale(1.12); }

.offer .vis-caption { min-height: 1.6em; }
.offer-kicker { margin: 18px 0 12px; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-200); }
.offer h3 { font-size: clamp(1.8rem, 2.2vw, 2.2rem); }
.offer-desc { margin: 14px 0 18px; font-size: .92rem; color: var(--muted); }
.offer-benefits { display: grid; gap: 10px; margin-bottom: 20px; }
.offer-benefits li { position: relative; padding-left: 26px; font-size: .88rem; line-height: 1.5; }
.offer-benefits li::before {
  content: ""; position: absolute; left: 2px; top: .38em;
  width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--silver-2));
  box-shadow: 0 0 0 3px rgba(255, 244, 220, .14);
}
.offer-specs { display: grid; gap: 6px; margin: 0 0 22px; padding: 14px 0; border-block: 1px solid var(--line-soft); font-size: .8rem; }
.offer-specs div { display: flex; justify-content: space-between; gap: 12px; }
.offer-specs dt { color: var(--soft); }
.offer-specs dd { margin: 0; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.offer-actions .button { flex: 1 1 auto; }

/* ==========================================================================
   5. CYFROWE DOŚWIADCZENIE — przyklejona scena jak na authify.ai/biznes
   ========================================================================== */
.experience {
  padding: 130px 0 110px;
  background: linear-gradient(180deg, transparent, rgba(42, 28, 6, .38) 14%, rgba(42, 28, 6, .5) 50%, rgba(42, 28, 6, .38) 86%, transparent);
}
.exp-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 70px); align-items: start; }
.exp-steps { position: relative; }
.exp-steps::before {
  content: ""; position: absolute; top: 12%; bottom: 12%; left: 0; width: 1px;
  background: linear-gradient(transparent, rgba(255, 236, 196, .35) 20%, rgba(255, 236, 196, .35) 80%, transparent);
}
.exp-step { position: relative; min-height: 78vh; display: flex; align-items: center; padding: 28px 0 28px 28px; }
.exp-step::before {
  content: ""; position: absolute; left: -5px; top: 50%;
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid rgba(255, 238, 200, .7);
  background: var(--gold-800);
  box-shadow: 0 0 0 7px rgba(255, 236, 196, .05);
  transform: translateY(-50%) scale(.75);
  transition: transform .5s, background .5s, box-shadow .5s;
}
.exp-step.is-active::before { background: var(--ivory); box-shadow: 0 0 0 9px rgba(255, 236, 196, .14), 0 0 26px rgba(255, 236, 196, .6); transform: translateY(-50%) scale(1); }
.exp-step-copy {
  max-width: 470px;
  padding: 32px 34px;
  border: 1px solid rgba(255, 238, 200, .22);
  border-radius: 26px;
  background: linear-gradient(140deg, rgba(255, 240, 210, .1), rgba(255, 240, 210, .03) 65%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 25px 65px rgba(24, 14, 0, .2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: .45;
  transform: translateY(22px) scale(.97);
  transition: opacity .6s, transform .7s var(--ease-out), border-color .5s, box-shadow .5s;
}
.exp-step.is-active .exp-step-copy { opacity: 1; transform: none; border-color: rgba(255, 238, 200, .46); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .27), 0 26px 80px rgba(24, 14, 0, .34), 0 0 55px rgba(255, 228, 165, .1); }
.step-count { margin-bottom: 16px; font-size: .74rem; letter-spacing: .2em; color: var(--soft); }
.step-count span { color: var(--white); font-weight: 600; }
.step-count::before { content: ""; display: inline-block; width: 28px; height: 1px; margin-right: 12px; vertical-align: middle; background: currentColor; }
.exp-step h3 { font-size: clamp(2.1rem, 3.2vw, 3.3rem); margin-bottom: 16px; }
.exp-step p { color: var(--muted); }

.exp-stage {
  position: sticky; top: calc(var(--header-h) + 18px);
  height: calc(100vh - var(--header-h) - 40px);
  min-height: 640px; max-height: 900px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 238, 200, .3);
  border-radius: 36px;
  background:
    radial-gradient(65% 52% at 52% 46%, rgba(255, 220, 150, .2), transparent 79%),
    linear-gradient(140deg, #5a4013, #2f2007 85%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 30px 95px rgba(24, 14, 0, .45);
}
.exp-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4; pointer-events: none;
  background: linear-gradient(rgba(255, 240, 210, .05) 1px, transparent 1px) 0 0 / 45px 45px, linear-gradient(90deg, rgba(255, 240, 210, .05) 1px, transparent 1px) 0 0 / 45px 45px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 45%, #000, transparent 75%);
}
.exp-stage::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255, 236, 196, .09); border-radius: 26px; pointer-events: none; }
.stage-ambient {
  position: absolute; z-index: -1;
  width: 78%; aspect-ratio: 1; left: 11%; top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 226, 160, .32), rgba(200, 150, 60, .12) 40%, transparent 68%);
  filter: blur(22px);
  transition: background .8s;
}
.exp-stage[data-active="1"] .stage-ambient { background: radial-gradient(circle, rgba(255, 240, 210, .3), rgba(230, 200, 140, .12) 40%, transparent 68%); }
.exp-stage[data-active="2"] .stage-ambient { background: radial-gradient(circle, rgba(230, 232, 238, .28), rgba(200, 170, 110, .12) 40%, transparent 68%); }

.theme-switch {
  position: absolute; z-index: 6; top: 28px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; gap: 2px; padding: 4px;
  border: 1px solid rgba(255, 238, 200, .38);
  border-radius: 100px;
  background: rgba(42, 28, 6, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.theme-switch button {
  padding: 8px 18px; border-radius: 100px;
  font-size: .8rem; font-weight: 500; color: var(--muted);
  transition: background .35s, color .35s, box-shadow .35s;
}
.theme-switch button:hover { color: var(--white); }
.theme-switch button[aria-pressed="true"] { color: var(--ink); background: linear-gradient(135deg, #fffaf0, var(--ivory-2) 50%, #d8dade); box-shadow: 0 4px 14px rgba(0, 0, 0, .25), inset 0 1px 0 #fff; }

.stage-frame {
  position: absolute !important; z-index: 1;
  width: 54%; left: 6%; top: 18%;
  transform: perspective(900px) rotateY(14deg) rotateZ(-2deg);
  transition: transform .9s var(--ease-out), opacity .7s, filter .7s, left .9s var(--ease-out);
}
.exp-stage[data-active="1"] .stage-frame,
.exp-stage[data-active="2"] .stage-frame {
  transform: perspective(850px) translate(-14%, -2%) rotateX(3deg) rotateY(-22deg) rotateZ(-5deg) scale(.84);
  opacity: .32;
}
.exp-stage:not([data-active="0"]) .stage-frame .emblem-signal { opacity: 0; }

.stage-phone {
  position: absolute !important; z-index: 3;
  width: min(42%, 300px);
  left: 54%; top: 50%;
  transform: translate(-6%, -46%) rotate(-3deg) scale(.92);
  transition: transform .9s var(--ease-out), left .9s var(--ease-out);
}
.exp-stage[data-active="1"] .stage-phone { left: 50%; transform: translate(-50%, -47%) rotate(1.5deg) scale(1); }
.exp-stage[data-active="2"] .stage-phone { left: 50%; transform: translate(-50%, -47%) rotate(0) scale(1.02); }
.stage-hud { position: absolute; z-index: 6; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; }
.stage-hud strong {
  display: inline-block; padding: 7px 14px;
  border: 1px solid rgba(255, 238, 200, .32); border-radius: 100px;
  background: rgba(42, 28, 6, .35);
  font-size: .68rem; font-weight: 500; letter-spacing: .06em; color: var(--muted);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* ==========================================================================
   APLIKACJA (HTML) — wierne odwzorowanie podglądów z materiałów
   ========================================================================== */
.app {
  --a-bg: linear-gradient(170deg, #c79a48 0%, #e2c27d 22%, #c9a050 46%, #b88a38 70%, #a87b2c 100%);
  --a-text: #ffffff;
  --a-soft: rgba(255, 255, 255, .86);
  --a-accent: #ffffff;
  --a-label: rgba(255, 255, 255, .88);
  --a-card: rgba(96, 66, 14, .22);
  --a-card-line: rgba(255, 246, 225, .55);
  --a-art-line: linear-gradient(145deg, #fff4d4, #d9b56a 50%, #fff1cc);
  --a-check-bg: linear-gradient(145deg, #ffffff, #d9dbe0);
  --a-check-fg: #2b2b2b;
  --a-dot: #fff6e0;
  --a-pill-bg: rgba(255, 255, 255, .7);
  --a-pill-fg: #4a3510;
  --a-primary: linear-gradient(180deg, #fffaf0, #f6e9c4);
  --a-primary-fg: #3a2a0a;
  --a-secondary-bg: rgba(96, 66, 14, .3);
  --a-secondary-line: rgba(255, 246, 225, .55);
  --a-status: #ffffff;
  --a-spark: #ffffff;
  container-type: inline-size;
  position: relative;
  aspect-ratio: 476 / 949;
  overflow: hidden;
  background: var(--a-bg);
  color: var(--a-text);
  transition: color .5s;
}
.app::before { /* satynowy połysk / usłojenie */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 250, 230, .22) 40%, transparent 60%);
  transition: opacity .6s;
}
.app[data-theme="basic"] {
  --a-bg: radial-gradient(90% 50% at 50% 0%, #4a4e53, transparent 70%), linear-gradient(175deg, #3c4044 0%, #2b2e32 40%, #1f2225 100%);
  --a-soft: rgba(255, 255, 255, .78);
  --a-label: rgba(230, 232, 236, .82);
  --a-card: rgba(0, 0, 0, .2);
  --a-card-line: rgba(220, 224, 230, .3);
  --a-art-line: linear-gradient(145deg, #e9ebee, #8d9299 50%, #e1e4e8);
  --a-check-bg: linear-gradient(145deg, #e6e8eb, #a9adb3);
  --a-check-fg: #1f2225;
  --a-dot: #c9cdd3;
  --a-pill-bg: #c9ccd1;
  --a-pill-fg: #2a2c2f;
  --a-primary: linear-gradient(180deg, #e9eaec, #b8bcc2);
  --a-primary-fg: #1f2225;
  --a-secondary-bg: rgba(0, 0, 0, .18);
  --a-secondary-line: rgba(220, 224, 230, .45);
  --a-status: #ffffff;
  --a-spark: #e6e8eb;
}
.app[data-theme="modern"] {
  --a-bg: repeating-linear-gradient(97deg, rgba(255, 220, 170, .028) 0 2px, transparent 2px 7px, rgba(0, 0, 0, .06) 7px 9px, transparent 9px 15px), linear-gradient(170deg, #2f1d0f 0%, #24160b 45%, #1a1008 100%);
  --a-text: #f6e5bd;
  --a-soft: rgba(246, 229, 189, .86);
  --a-label: #e6c27a;
  --a-card: rgba(0, 0, 0, .18);
  --a-card-line: rgba(230, 190, 110, .45);
  --a-art-line: linear-gradient(145deg, #f3d897, #b98a36 50%, #f0d28c);
  --a-check-bg: linear-gradient(145deg, #f2d58f, #c99a45);
  --a-check-fg: #2a1a08;
  --a-dot: #e6c27a;
  --a-pill-bg: linear-gradient(180deg, #f0d28c, #d2a650);
  --a-pill-fg: #2a1a08;
  --a-primary: linear-gradient(180deg, #f3d897, #d6ab58);
  --a-primary-fg: #2a1a08;
  --a-secondary-bg: rgba(0, 0, 0, .15);
  --a-secondary-line: rgba(230, 190, 110, .5);
  --a-status: #f0cf86;
  --a-spark: #e6c27a;
}
.app[data-theme="basic"]::before,
.app[data-theme="modern"]::before { opacity: .25; }

.app-inner {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; align-items: center;
  padding: 4.6cqw 5.2cqw 4cqw;
  font-size: 4.05cqw;
  line-height: 1.3;
  text-align: center;
}
.app-top { position: relative; width: 100%; display: flex; justify-content: center; align-items: center; margin-bottom: 4.6cqw; }
.app-logo { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; letter-spacing: .38em; font-size: .98em; color: var(--a-text); }
.app-logo svg { width: 1.9em; height: 1.55em; }
.app[data-theme="modern"] .app-logo { color: #f0cf86; }
.app-lang {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: inline-flex; gap: 2px; padding: .22em;
  border: 1px solid var(--a-card-line); border-radius: 100px;
  font-size: .62em; font-weight: 600;
}
.app-lang span { padding: .3em .7em; border-radius: 100px; }
.app-lang .on { background: var(--a-primary); color: var(--a-primary-fg); }

.app-art {
  position: relative;
  width: 40cqw; aspect-ratio: 1 / .93;
  padding: 1.1cqw;
  border-radius: 6cqw;
  background: var(--a-art-line);
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .3);
}
.app-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 5cqw; }
.app-check {
  position: absolute; right: -4.2cqw; bottom: -4.2cqw;
  display: grid; place-items: center;
  width: 14cqw; height: 14cqw; border-radius: 50%;
  background: var(--a-check-bg); color: var(--a-check-fg);
  box-shadow: 0 0 0 1.4cqw rgba(0, 0, 0, .22), 0 2cqw 4cqw rgba(0, 0, 0, .35);
  font-size: 6.4cqw;
}
.app-coll { display: inline-flex; align-items: center; gap: .6em; margin: 6.6cqw 0 1cqw; font-size: .66em; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--a-label); }
.app-coll i { width: .9em; height: .9em; border-radius: 50%; background: var(--a-dot); box-shadow: 0 0 0 .3em rgba(255, 255, 255, .15); }
.app-status { margin: 0; font-size: 2.55em; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--a-status); }
.app[data-theme="modern"] .app-status { background: linear-gradient(180deg, #f6dc9e, #d4a24c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.app-artist { margin: .1em 0 3.6cqw; font-family: var(--serif); font-style: italic; font-size: 1.38em; color: var(--a-soft); }

.app-card {
  position: relative;
  width: 100%;
  border: 1px solid var(--a-card-line);
  border-radius: 4.4cqw;
  background: var(--a-card);
  transition: box-shadow .5s, border-color .5s, transform .5s var(--ease);
}
.app-data { padding: 3.2cqw 4.2cqw; text-align: left; }
.app-row { display: grid; gap: .3em; }
.app-row + .app-row { margin-top: 2.8cqw; padding-top: 2.8cqw; border-top: 1px solid var(--a-card-line); }
.app-lbl { display: flex; justify-content: space-between; align-items: center; font-size: .66em; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--a-label); }
.app-mono { font-family: var(--mono); font-size: 1.05em; letter-spacing: .05em; color: var(--a-text); }
.app-pill { padding: .25em .9em; border-radius: 100px; background: var(--a-pill-bg); color: var(--a-pill-fg); font-size: .9em; font-weight: 700; letter-spacing: .12em; }

.app-video { margin-top: 2.6cqw; height: 21cqw; overflow: hidden; padding: 0; text-align: left; color: #fff; }
.app-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease-out); }
.app-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05) 60%, rgba(0, 0, 0, .25)); }
.app-video:hover img { transform: scale(1.1); }
.app-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 12.6cqw; height: 12.6cqw; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .85);
  background: rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-size: 5.6cqw;
}
.app-video-lbl { position: absolute; z-index: 1; left: 4.4cqw; bottom: 3.2cqw; font-size: .98em; font-weight: 500; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.app-chev {
  position: absolute; z-index: 1; right: 3.4cqw; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 7.4cqw; height: 7.4cqw; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(0, 0, 0, .25);
  font-size: 4.6cqw;
}
.app-video .app-chev { top: auto; bottom: 2.6cqw; transform: none; }

.app-ai { display: flex; align-items: center; gap: 4cqw; margin-top: 2.4cqw; padding: 3.4cqw 4.2cqw; text-align: left; }
.app-spark { font-size: 9cqw; color: var(--a-spark); }
.app-ai-txt { display: grid; gap: .1em; }
.app-ai-txt b { font-weight: 500; font-size: 1.05em; }
.app-ai-txt small { font-size: .86em; color: var(--a-soft); }
.app-ai .app-chev { border-color: var(--a-card-line); background: transparent; color: var(--a-text); }

.app-btn {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 12cqw;
  border-radius: 100px;
  font-size: 1.04em; font-weight: 500;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.app-btn svg { width: 1.05em; height: 1.05em; }
.app-primary { margin-top: 3.4cqw; background: var(--a-primary); color: var(--a-primary-fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2cqw 5cqw rgba(0, 0, 0, .18); }
.app-secondary { margin-top: 2.2cqw; border: 1px solid var(--a-secondary-line); background: var(--a-secondary-bg); color: var(--a-text); }
.app-btn:hover, .app-card:is(button):hover { transform: translateY(-1px); }
.app-demo { margin: auto 0 0; padding-top: 2.4cqw; font-size: .58em; letter-spacing: .14em; text-transform: uppercase; color: var(--a-label); opacity: .85; }

/* podświetlenie elementu omawianego w aktywnym kroku */
.exp-stage[data-active="0"] .app [data-hl="0"],
.exp-stage[data-active="1"] .app [data-hl="1"],
.exp-stage[data-active="2"] .app [data-hl="2"] {
  border-color: rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 1.2cqw rgba(255, 250, 235, .22), 0 0 6cqw rgba(255, 245, 220, .45);
  animation: hl-pulse 2.4s ease-in-out infinite;
}
.exp-stage[data-active="0"] .app .app-primary[data-hl="0"] { animation: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2cqw 5cqw rgba(0, 0, 0, .18); }

/* animacja ponownego odczytu */
.app-scan {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center; align-content: center; gap: 6cqw;
  background: rgba(20, 13, 2, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.app.is-scanning .app-scan { opacity: 1; visibility: visible; }
.app-scan-ring { width: 26cqw; height: 26cqw; border-radius: 50%; border: 2px solid rgba(255, 246, 225, .9); animation: scan-ring 1.1s ease-out infinite; }
.app-scan-txt { font-size: 4cqw; letter-spacing: .1em; color: #fff; }

/* ==========================================================================
   6. JAK TO DZIAŁA
   ========================================================================== */
.how { padding: 130px 0 120px; }
.how-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: how; }
.how-steps::before {
  content: ""; position: absolute; top: 58px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 238, 200, .45), transparent);
}
.how-step {
  position: relative;
  padding: 34px 32px 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(42, 28, 6, .38), rgba(42, 28, 6, .2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 20px 50px rgba(24, 14, 0, .2);
  transition: transform .6s var(--ease-out), border-color .4s;
}
.how-step:hover { transform: translateY(-6px); border-color: rgba(255, 238, 200, .45); }
.how-num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 50px; height: 50px; margin-bottom: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 238, 200, .6);
  background: linear-gradient(145deg, var(--gold-700), var(--gold-900));
  box-shadow: 0 0 0 8px rgba(255, 236, 196, .06);
  font-family: var(--serif); font-size: 1.05rem;
}
.how-kicker { margin-bottom: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-200); }
.how-step h3 { font-size: clamp(1.65rem, 2.1vw, 2.05rem); margin-bottom: 14px; }
.how-step p:last-child { margin: 0; color: var(--muted); font-size: .94rem; }
.note-box {
  display: flex; gap: 12px;
  max-width: 900px;
  margin: 46px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(42, 28, 6, .32);
  font-size: .86rem; color: var(--muted);
}
.note-box span { color: var(--ivory); }

/* ==========================================================================
   KORZYŚCI
   ========================================================================== */
.outcomes { padding: 40px 0 130px; }
.outcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.outcome {
  position: relative; overflow: hidden;
  min-height: 250px;
  padding: 38px 38px 40px;
  border: 1px solid rgba(255, 238, 200, .3);
  border-radius: 30px;
  background: radial-gradient(90% 90% at 100% 0%, rgba(255, 232, 180, .16), transparent 55%), linear-gradient(145deg, rgba(255, 240, 210, .12), rgba(255, 240, 210, .03) 65%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 24px 70px rgba(24, 14, 0, .2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .6s var(--ease-out), box-shadow .5s;
}
.outcome:hover { transform: translateY(-5px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 34px 80px rgba(24, 14, 0, .3); }
.outcome::after {
  content: ""; position: absolute; right: 28px; top: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 238, 200, .45);
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .5), transparent 60%);
}
.outcome-kicker { margin-bottom: 30px; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-200); }
.outcome h3 { max-width: 420px; font-size: clamp(1.6rem, 2.3vw, 2.2rem); margin-bottom: 14px; }
.outcome p:last-child { max-width: 460px; margin: 0; color: var(--muted); }

/* ==========================================================================
   BAZA PROMPTÓW
   ========================================================================== */
.prompts {
  padding: 130px 0 130px;
  background: linear-gradient(180deg, transparent, rgba(36, 24, 4, .5) 8%, rgba(36, 24, 4, .58) 92%, transparent);
}
.prompt-toolbar {
  position: sticky; top: calc(var(--header-h) + 10px); z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid rgba(255, 238, 200, .26);
  border-radius: 24px;
  background: rgba(58, 40, 10, .78);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 18px 50px rgba(24, 14, 0, .3);
}
.search { position: relative; flex: 1 1 240px; display: flex; align-items: center; }
.search svg { position: absolute; left: 16px; font-size: 1.05rem; color: var(--soft); }
.search input {
  width: 100%; min-height: 44px;
  padding: 10px 16px 10px 44px;
  border: 1px solid rgba(255, 238, 200, .3);
  border-radius: 100px;
  background: rgba(255, 240, 210, .08);
  font-size: .9rem;
}
.search input::placeholder { color: var(--soft); }
.search input:focus { outline: none; border-color: var(--ivory); box-shadow: 0 0 0 3px rgba(255, 244, 220, .2); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid rgba(255, 238, 200, .3); border-radius: 100px; background: rgba(0, 0, 0, .1); }
.seg button { padding: 8px 14px; border-radius: 100px; font-size: .8rem; color: var(--muted); transition: background .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--ivory); color: var(--ink); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 238, 200, .28);
  border-radius: 100px;
  font-size: .78rem; color: var(--muted);
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { color: var(--white); border-color: rgba(255, 238, 200, .5); }
.chip[aria-pressed="true"] { background: rgba(255, 244, 220, .2); border-color: var(--ivory); color: var(--white); }
.chip svg { fill: none; }
.chip-fav[aria-pressed="true"] svg { fill: currentColor; }
.toolbar-end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-left: auto; }
.prompt-count { margin: 0; font-size: .78rem; color: var(--soft); }

.prompt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.prompt-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px 24px 20px;
  border: 1px solid rgba(255, 238, 200, .22);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(255, 240, 210, .1), rgba(255, 240, 210, .025) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  animation: card-rise .55s var(--ease-out) both;
  transition: border-color .35s, transform .45s var(--ease-out), box-shadow .45s;
}
.prompt-card:hover { transform: translateY(-4px); border-color: rgba(255, 238, 200, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 22px 50px rgba(24, 14, 0, .3); }
.prompt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { padding: 3px 10px; border-radius: 100px; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(255, 238, 200, .3); color: var(--gold-200); }
.tag-line { background: rgba(255, 244, 220, .12); color: var(--white); }
.tag-line[data-l="basic"] { border-color: rgba(206, 210, 216, .6); }
.tag-line[data-l="modern"] { border-color: rgba(180, 120, 60, .8); background: rgba(60, 34, 14, .45); }
.tag-line[data-l="premium"] { border-color: rgba(255, 228, 165, .8); }
.prompt-card h3 { font-size: 1.24rem; line-height: 1.22; margin-bottom: 8px; }
.prompt-use { margin-bottom: 12px; font-size: .78rem; color: var(--soft); }
.prompt-preview {
  position: relative;
  flex: 1;
  margin: 0 0 16px;
  max-height: 7.2em; overflow: hidden;
  font-size: .82rem; line-height: 1.6; color: var(--muted);
  white-space: pre-line;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.prompt-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 238, 200, .3);
  font-size: 1rem; color: var(--text);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.icon-btn:hover { background: rgba(255, 244, 220, .14); transform: translateY(-2px); }
.icon-btn svg.star { fill: none; }
.icon-btn[aria-pressed="true"] svg.star { fill: currentColor; color: var(--gold-200); }
.prompt-actions .button { margin-right: auto; }
.prompt-empty { margin-top: 30px; text-align: center; color: var(--muted); }
.var { padding: 0 .2em; border-radius: 4px; background: rgba(255, 228, 165, .18); color: var(--gold-200); }

/* ==========================================================================
   7. KONTAKT
   ========================================================================== */
.contact {
  position: relative; isolation: isolate;
  padding: 140px 0 150px;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(54% 70% at 50% 44%, rgba(255, 226, 160, .3), transparent 80%);
  border-top: 1px solid var(--line-soft);
}
.contact::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: min(760px, 90vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 238, 200, .14);
  box-shadow: 0 0 0 70px rgba(255, 238, 200, .03), 0 0 0 140px rgba(255, 238, 200, .02);
  animation: ring-breathe 10s ease-in-out infinite;
}
.contact-inner { max-width: 880px; display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(2.7rem, 5.4vw, 5rem); }
.contact .section-lead { margin-inline: auto; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.contact-line { margin: 26px 0 0; font-size: .85rem; color: var(--soft); }

/* ==========================================================================
   8. STOPKA
   ========================================================================== */
.site-footer { padding: 44px 0 34px; background: rgba(36, 24, 4, .62); border-top: 1px solid var(--line-soft); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; }
.footer-claim { margin: 0; font-family: var(--serif); font-style: italic; color: var(--silver); }
.footer-note { margin-top: 26px; font-size: .74rem; color: var(--soft); }

/* ==========================================================================
   OKNA
   ========================================================================== */
.modal {
  width: min(680px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: var(--text);
  overflow: visible;
}
.modal::backdrop { background: rgba(24, 15, 0, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal[open] { animation: modal-in .45s var(--ease-out); }
.modal[open]::backdrop { animation: fade-in .35s ease; }
.modal-panel {
  position: relative;
  max-height: calc(100dvh - 28px);
  overflow: auto;
  padding: 38px 38px 34px;
  border: 1px solid rgba(255, 238, 200, .45);
  border-radius: 30px;
  background: radial-gradient(90% 60% at 100% 0%, rgba(255, 232, 180, .18), transparent 60%), linear-gradient(150deg, #6c4e17, #4a3410 60%, #3a280a);
  box-shadow: 0 40px 120px rgba(16, 9, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .28);
  overscroll-behavior: contain;
}
.modal-wide { width: 100%; }
#modal-prompt, #modal-app { width: min(900px, calc(100% - 28px)); }
.modal-close {
  position: absolute; right: 16px; top: 16px; z-index: 3;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 238, 200, .4);
  background: rgba(42, 28, 6, .4);
  font-size: 1.1rem;
  transition: background .3s, transform .3s var(--ease);
}
.modal-close:hover { background: var(--ivory); color: var(--ink); transform: rotate(90deg); }
.modal-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; padding-right: 40px; }
.modal-note { font-size: .86rem; color: var(--muted); }
.demo-flag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
  padding: 5px 12px;
  border: 1px dashed rgba(255, 238, 200, .6);
  border-radius: 100px;
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-200);
}
.modal-panel > p.demo-flag:first-of-type { margin-right: 48px; }
.demo-flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-200); animation: signal 2s ease-in-out infinite; }

/* podgląd aplikacji */
.modal-app-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: center; }
.phone-large { border-radius: 42px; }
.modal-app-copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.modal-app-copy p { color: var(--muted); }
.modal-list { display: grid; gap: 8px; margin: 18px 0 26px; }
.modal-list li { padding-left: 22px; position: relative; font-size: .9rem; }
.modal-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ivory); }

/* motywy okien demo (paszport / wideo / AI) zgodne z wybraną linią */
.modal-themed[data-theme="basic"] .modal-panel { background: radial-gradient(90% 60% at 100% 0%, rgba(255, 255, 255, .08), transparent 60%), linear-gradient(160deg, #3c4044, #26292c 60%, #1d2023); border-color: rgba(220, 224, 230, .35); }
.modal-themed[data-theme="modern"] .modal-panel { background: radial-gradient(90% 60% at 100% 0%, rgba(240, 200, 120, .14), transparent 60%), linear-gradient(160deg, #36210f, #24160b 60%, #1a1008); border-color: rgba(230, 190, 110, .45); }
.modal-themed[data-theme="modern"] .eyebrow, .modal-themed[data-theme="modern"] .demo-flag { color: #e6c27a; }

/* paszport */
.passport-head { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; padding-right: 40px; }
.passport-head img { width: 96px; height: 92px; object-fit: cover; border-radius: 20px; border: 2px solid rgba(255, 244, 220, .7); }
.passport-head .eyebrow { margin-bottom: 6px; }
.passport-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.passport-sub { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.passport-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 26px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.passport-grid div { padding: 14px 16px; background: rgba(42, 28, 6, .55); }
.modal-themed[data-theme="basic"] .passport-grid div { background: #2a2d31; }
.modal-themed[data-theme="modern"] .passport-grid div { background: #24160b; }
.passport-grid dt { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.passport-grid dd { margin: 4px 0 0; font-size: .92rem; }
.passport-grid small { color: var(--soft); }
.mono { font-family: var(--mono); letter-spacing: .04em; }
.passport-h { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-200); margin: 0 0 12px; }
.timeline { display: grid; gap: 10px; margin-bottom: 24px; padding-left: 18px; border-left: 1px solid var(--line); }
.timeline li { position: relative; font-size: .88rem; }
.timeline li::before { content: ""; position: absolute; left: -23px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--ivory); }
.timeline b { margin-right: 8px; font-weight: 600; }
.doc-list { display: grid; gap: 8px; margin-bottom: 8px; font-size: .88rem; }
.modal .note-box { margin-top: 18px; }

/* odtwarzacz demo */
.player { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #120c02; }
.player-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.player-screen::before { content: ""; position: absolute; inset: 0; background: url("../assets/img/video-still.webp") center / cover; filter: blur(18px) brightness(.6); transform: scale(1.2); }
.player-frame { position: absolute; left: 50%; top: 50%; height: 88%; aspect-ratio: 352 / 334; transform: translate(-50%, -50%); overflow: hidden; border-radius: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.player-img { width: 100%; height: 100%; object-fit: cover; transform-origin: 36% 30%; transform: scale(1.55); transition: transform 12s linear; }
.player.is-playing .player-img { transform: scale(1.75); }
.player-caption {
  position: absolute; left: 6%; right: 6%; bottom: 7%; margin: 0;
  text-align: center; font-size: clamp(.82rem, 2vw, 1rem); font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
  opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s;
}
.player-caption.is-on { opacity: 1; transform: none; }
.player-big {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 74px; height: 74px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .85);
  background: rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 30px; color: #fff;
  transition: opacity .3s, transform .3s var(--ease);
}
.player-big:hover { transform: translate(-50%, -50%) scale(1.06); }
.player.is-playing .player-big { opacity: 0; pointer-events: none; }
.player-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.player-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); font-size: .85rem; }
.player-track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.player-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ivory), var(--silver-2)); }
.player-time { font-family: var(--mono); font-size: .74rem; color: var(--soft); }
#modal-video .modal-note { margin: 16px 0 0; }

/* czat demo */
.modal-chat { display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-right: 40px; }
.chat-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 244, 220, .1); font-size: 24px; }
.chat-head h2 { font-family: var(--sans); font-size: 1.2rem; font-weight: 600; }
.chat-head p { margin: 0; font-size: .84rem; color: var(--muted); }
.chat-log { display: flex; flex-direction: column; gap: 10px; min-height: 180px; max-height: 42vh; overflow: auto; padding: 4px 2px 10px; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 18px; font-size: .9rem; line-height: 1.55; animation: card-rise .4s var(--ease-out) both; }
.msg-ai { align-self: flex-start; border: 1px solid var(--line); background: rgba(255, 244, 220, .08); border-bottom-left-radius: 6px; }
.msg-user { align-self: flex-end; background: var(--ivory); color: var(--ink); border-bottom-right-radius: 6px; }
.msg-typing { display: inline-flex; gap: 5px; }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1s ease-in-out infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; min-height: 48px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255, 244, 220, .07); }
.chat-form input:focus { outline: none; border-color: var(--ivory); }
.chat-form button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ivory); color: var(--ink); font-size: 1.1rem; }

/* formularz briefu */
.brief-form { display: grid; gap: 16px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .8rem; font-weight: 500; color: var(--muted); }
.field b { color: var(--gold-200); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 238, 200, .35);
  border-radius: 14px;
  background: rgba(42, 28, 6, .35);
  font-size: .92rem;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ivory) 50%), linear-gradient(135deg, var(--ivory) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { color: #222; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 244, 220, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ivory); box-shadow: 0 0 0 3px rgba(255, 244, 220, .18); }
.field [aria-invalid="true"] { border-color: #ffd4b8; }
.field-error { color: #ffe2cc; font-size: .78rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* szczegóły promptu */
.lang-toggle { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 100px; }
.lang-toggle button { padding: 6px 14px; border-radius: 100px; font-size: .76rem; font-weight: 600; }
.lang-toggle button[aria-pressed="true"] { background: var(--ivory); color: var(--ink); }
.prompt-body {
  margin: 0 0 20px;
  max-height: 46vh; overflow: auto;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(24, 15, 0, .45);
  font-family: var(--mono); font-size: .82rem; line-height: 1.7;
  white-space: pre-wrap; word-wrap: break-word;
  color: #fbf1d8;
}

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 300;
  padding: 12px 20px;
  border-radius: 100px;
  background: var(--ivory); color: var(--ink);
  font-size: .86rem; font-weight: 600;
  box-shadow: 0 14px 40px rgba(16, 9, 0, .45);
  transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease-out), opacity .3s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
dialog[open] ~ .toast { z-index: 2147483647; }

/* ==========================================================================
   PASEK POSTĘPU
   ========================================================================== */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold-300), var(--ivory), var(--silver-2)); box-shadow: 0 0 12px rgba(255, 236, 196, .6); }

/* ==========================================================================
   ROZDZIAŁ 1 — PROBLEM
   ========================================================================== */
.legacy { padding: 140px 0 110px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 32px; overflow: hidden; box-shadow: 0 30px 80px rgba(24, 14, 0, .22); }
.compare-col { padding: 44px 44px 46px; }
.compare-now { background: linear-gradient(160deg, rgba(42, 28, 6, .5), rgba(42, 28, 6, .32)); }
.compare-with {
  position: relative;
  background: radial-gradient(90% 80% at 100% 0%, rgba(255, 236, 190, .26), transparent 60%), linear-gradient(160deg, rgba(255, 240, 210, .16), rgba(255, 240, 210, .06));
  border-left: 1px solid var(--line);
}
.compare-kicker { margin-bottom: 26px; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); }
.compare-with .compare-kicker { color: var(--ivory); }
.compare ul { display: grid; gap: 20px; }
.compare li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: 1.02rem; line-height: 1.55; }
.compare li svg { width: 22px; height: 22px; margin-top: 2px; }
.compare-now li { color: var(--soft); }
.compare-now li svg { color: rgba(255, 240, 210, .4); }
.compare-with li { color: var(--white); }
.compare-with li svg { padding: 3px; border-radius: 50%; background: var(--ivory); color: var(--ink); }

.stat {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 54px);
  max-width: 880px; margin: 64px auto 0; padding: 0;
}
.stat-num { flex: 0 0 auto; margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: 1; color: var(--white); }
.stat-num span { font-size: 1.5em; font-style: italic; background: linear-gradient(100deg, #fff, #c9cdd4 55%, #f4f5f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat figcaption { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
.stat figcaption p { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.2; color: var(--white); }
.stat cite { font-style: normal; font-size: .76rem; letter-spacing: .04em; color: var(--soft); }

/* ==========================================================================
   ROZDZIAŁ 2 — KORZYŚCI
   ========================================================================== */
.benefits { padding: 110px 0 120px; background: linear-gradient(180deg, transparent, rgba(42, 28, 6, .26) 20%, rgba(42, 28, 6, .26) 80%, transparent); }
.benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.benefit {
  position: relative;
  display: grid; grid-template-rows: auto auto 1fr auto;
  padding: 40px 0 34px;
  border-bottom: 1px solid var(--line);
}
.benefit-tag { margin: 0 0 16px; font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-200); }
.benefit h3 { max-width: 520px; font-size: clamp(1.8rem, 2.5vw, 2.45rem); line-height: 1.08; margin-bottom: 14px; transition: transform .6s var(--ease-out); }
.benefit:hover h3 { transform: translateX(6px); }
.benefit p:not(.benefit-tag):not(.benefit-feature) { max-width: 500px; color: var(--muted); font-size: .96rem; }
.benefit-feature {
  display: inline-flex; align-items: center; gap: 12px; justify-self: start;
  margin: 10px 0 0; padding: 7px 14px 7px 7px;
  border: 1px solid var(--line); border-radius: 100px;
  font-size: .78rem; color: var(--text);
  background: rgba(42, 28, 6, .25);
}
.benefit-feature span { padding: 3px 10px; border-radius: 100px; background: rgba(255, 244, 220, .14); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-200); }
.chapter-cta { margin: 48px 0 0; text-align: center; }

/* oferta: dla kogo */
.offer-fit { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: -4px 0 18px; font-size: .84rem; color: var(--text); }
.offer-fit span { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-200); align-self: center; }

/* ==========================================================================
   BEZ NIEDOMÓWIEŃ
   ========================================================================== */
.faq { padding: 120px 0 130px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 24px 0;
  list-style: none; cursor: pointer;
  font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.2; color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255, 238, 200, .45);
  font-size: 1rem; color: var(--ivory);
  transition: transform .45s var(--ease-out), background .3s, color .3s;
}
.faq summary:hover > span { background: rgba(255, 244, 220, .12); }
.faq details[open] summary > span { transform: rotate(45deg); background: var(--ivory); color: var(--ink); }
.faq details p { margin: 0; padding: 0 60px 26px 0; color: var(--muted); font-size: .96rem; }
.faq details[open] p { animation: card-rise .45s var(--ease-out) both; }

/* brief: cele */
.field-set { margin: 0; padding: 0; border: 0; }
.field-set legend { margin-bottom: 8px; padding: 0; font-size: .8rem; font-weight: 500; color: var(--muted); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { position: relative; display: flex; }
.check input { position: absolute; z-index: 1; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check span {
  flex: 1; display: flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 10px 14px;
  border: 1px solid rgba(255, 238, 200, .3); border-radius: 14px;
  background: rgba(42, 28, 6, .3);
  font-size: .86rem;
  transition: background .25s, border-color .25s, transform .15s;
}
.check span::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 5px; border: 1px solid rgba(255, 238, 200, .6); transition: background .2s, box-shadow .2s; }
.check input:checked + span { border-color: var(--ivory); background: rgba(255, 244, 220, .16); }
.check input:checked + span::before { background: var(--ivory); box-shadow: inset 0 0 0 3px var(--gold-800); }
.check input:focus-visible + span { outline: 2px solid var(--ivory); outline-offset: 2px; }
.check:active span { transform: scale(.98); }

/* stopka */
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 40px; margin-top: 26px; }
.footer-meta p { max-width: 760px; margin: 0; font-size: .74rem; color: var(--soft); }
.footer-internal { font-size: .74rem; color: var(--soft); border-bottom: 1px dashed rgba(255, 238, 200, .35); }
.footer-internal:hover { color: var(--white); }

/* ==========================================================================
   REVEAL (jak na authify.ai/biznes)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.offer-grid .reveal:nth-child(2), .how-steps .reveal:nth-child(2), .outcome-grid .reveal:nth-child(2) { transition-delay: .1s; }
.offer-grid .reveal:nth-child(3), .how-steps .reveal:nth-child(3), .outcome-grid .reveal:nth-child(3) { transition-delay: .2s; }
.outcome-grid .reveal:nth-child(4) { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   ANIMACJE
   ========================================================================== */
@keyframes signal { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes ring-breathe { 0%, 100% { transform: translate(-50%, -50%) scale(.94); opacity: .8; } 50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; } }
@keyframes halo-breathe { 0%, 100% { transform: scale(.92); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes frame-depth {
  0%, 100% { transform: translate3d(0, 2px, 0) rotateX(2deg) rotateY(-5deg) rotateZ(-1.5deg); }
  50% { transform: translate3d(0, -10px, 22px) rotateX(-2deg) rotateY(3deg) rotateZ(-.5deg); }
}
@keyframes phone-float { 0%, 100% { transform: translateZ(60px) translateY(0) rotate(-6deg); } 50% { transform: translateZ(60px) translateY(-12px) rotate(-4deg); } }
@keyframes note-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes nfc-ring { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 15% { opacity: .95; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.4); } }
@keyframes value-marquee { to { transform: translateX(-50%); } }
@keyframes card-rise { from { opacity: 0; transform: translateY(15px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes hl-pulse { 0%, 100% { box-shadow: 0 0 0 1cqw rgba(255, 250, 235, .18), 0 0 5cqw rgba(255, 245, 220, .35); } 50% { box-shadow: 0 0 0 1.6cqw rgba(255, 250, 235, .28), 0 0 8cqw rgba(255, 245, 220, .55); } }
@keyframes scan-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes typing { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* ==========================================================================
   RESPONSYWNOŚĆ
   ========================================================================== */
@media (max-width: 1180px) {
  .site-nav a { padding: 8px 10px; font-size: .82rem; }
  .brand-sub { display: none; }
  .prompt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .offer-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .offer-visual .framed { width: 72%; }
  .offer-phone { width: 20%; right: 18px; bottom: 18px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: grid; gap: 4px; margin: 0;
    padding: 14px 20px 22px;
    background: rgba(58, 40, 10, .96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; }
  .site-nav .nav-cta { display: block; margin-top: 8px; text-align: center; background: var(--ivory); color: var(--ink); font-weight: 600; }

  .hero { grid-template-columns: 1fr; min-height: 0; padding: 56px 0 80px; gap: 30px; }
  .hero-visual { min-height: 0; padding: 30px 0 46px; }
  .hero-parallax { width: min(84%, 480px); }

  .exp-layout { grid-template-columns: 1fr; }
  .exp-stage {
    position: relative; top: 0; order: -1;
    height: auto; min-height: 0; max-height: none;
    aspect-ratio: 4 / 5;
    max-width: 560px; width: 100%; margin-inline: auto;
  }
  .exp-steps::before, .exp-step::before { display: none; }
  .exp-step { min-height: 0; padding: 10px 0; }
  .exp-step-copy { max-width: none; opacity: 1; transform: none; }
  .exp-stage[data-active] .stage-phone { width: 46%; left: 56%; top: 52%; transform: translate(-50%, -46%) rotate(-2deg) scale(1); }
  .exp-stage[data-active] .stage-frame { width: 52%; left: 2%; top: 16%; opacity: .7; transform: perspective(800px) rotateY(16deg) rotateZ(-3deg); }

  .how-steps { grid-template-columns: 1fr; max-width: 640px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; margin-bottom: 30px; }
  .benefit-list { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .outcome-grid { grid-template-columns: 1fr; }
  .modal-app-grid { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .modal-app-grid .phone-large { width: min(260px, 70%); }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 36px); }
  .value-line { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .value-track { width: max-content; justify-content: flex-start; animation: value-marquee 38s linear infinite; }
  .value-set, .value-set[aria-hidden="true"] { display: flex; flex-wrap: nowrap; padding: 18px 0; }
  .value-set li::before, .value-set li + li::before {
    content: ""; width: 6px; height: 6px; margin: 0 22px; transform: rotate(45deg);
    background: linear-gradient(135deg, var(--ivory), var(--silver-2)); opacity: .8;
  }
  .collections, .experience, .how, .prompts { padding: 96px 0 90px; }
  .outcomes { padding: 10px 0 96px; }
  .section-head { margin-bottom: 44px; }
  .prompt-grid { grid-template-columns: 1fr; }
  .prompt-toolbar { position: static; }
  .toolbar-end { margin-left: 0; width: 100%; }
  .toolbar-end .button { margin-left: auto; }
  .seg { width: 100%; justify-content: space-between; }
  .seg button { flex: 1; padding: 8px 6px; }
  .chips { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .chip { white-space: nowrap; }
  .field-row { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; border-radius: 26px; }
  .compare-with { border-left: 0; border-top: 1px solid var(--line); }
  .compare-col { padding: 30px 24px 32px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 18px; }
  .stat figcaption { padding-left: 0; padding-top: 18px; border-left: 0; border-top: 1px solid var(--line); }
  .legacy { padding: 96px 0 80px; }
  .benefits, .faq { padding: 90px 0 96px; }
  .check-grid { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .passport-grid { grid-template-columns: 1fr; }
  .modal-panel { padding: 30px 22px 24px; border-radius: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.75rem; }
  .button { width: 100%; white-space: normal; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .text-link { align-self: center; }
  .hero-parallax { width: 88%; }
  .hero-phone { width: 30%; right: -6%; bottom: -10%; }
  .float-note { padding: 8px 10px; gap: 8px; font-size: .62rem; border-radius: 14px; }
  .float-note strong { font-size: .68rem; }
  .note-icon { width: 26px; height: 26px; }
  .note-nfc { left: -2%; bottom: 26%; }
  .hero-visual { padding-bottom: 70px; }
  .hero-caption { left: 0; right: 0; bottom: 4px; text-align: center; }
  .stage-hud { display: none; }
  .note-ai { right: -2%; top: 2%; }
  .offer { padding: 14px 14px 20px; border-radius: 24px; }
  .offer-visual { padding: 22px 16px 26px; }
  .offer-visual .framed { width: 82%; }
  .offer-phone { width: 24%; right: 10px; bottom: 10px; }
  .offer-actions { flex-direction: column; }
  .exp-stage { aspect-ratio: 3 / 4.3; border-radius: 26px; }
  .theme-switch { top: 16px; }
  .theme-switch button { padding: 7px 12px; font-size: .74rem; }
  .exp-stage[data-active] .stage-phone { width: 60%; left: 50%; top: 52%; transform: translate(-50%, -46%) rotate(0) scale(1); }
  .exp-stage[data-active] .stage-frame { width: 58%; left: -8%; top: 12%; opacity: .5; transform: perspective(800px) rotateY(18deg) rotateZ(-4deg); }
  .exp-step-copy { padding: 24px 22px; }
  .how-step, .outcome { padding: 28px 24px; }
  .outcome::after { width: 34px; height: 34px; right: 20px; top: 20px; }
  .contact { padding: 100px 0 110px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .prompt-toolbar, .float-note, .theme-switch, .button-glass, .offer, .exp-step-copy { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header { background: #4a3410; }
  .float-note { background: #4a3410; }
}
@media (prefers-contrast: more) {
  :root { --muted: #fffaf0; --soft: rgba(255, 246, 225, .92); --line: rgba(255, 240, 210, .6); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .value-track { animation: none !important; }
}

/* ==========================================================================
   STRONA ROBOCZA — BAZA PROMPTÓW
   ========================================================================== */
.page-internal .prompts { padding: 80px 0 120px; background: none; }
.internal-title { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.internal-badge {
  margin-left: auto;
  padding: 6px 12px;
  border: 1px dashed rgba(255, 238, 200, .55);
  border-radius: 100px;
  font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-200);
}
.page-internal .header-cta { display: inline-flex; }
@media (max-width: 960px) {
  .page-internal .header-cta { display: inline-flex; padding: 8px 14px; font-size: .78rem; }
  .page-internal .internal-badge { display: none; }
  .page-internal .header-cta { margin-left: auto; }
}

/* Full product visualizations from approved reference frames. */
.framed .frame-img{clip-path:inset(3%);border-radius:2px}
