/* Katalog Optyka – strona zajawki
   Kolory: onyks, złoto, szampan, kość. Kroje: Bodoni Moda (nagłówki), Schibsted Grotesk (tekst). */

@font-face { font-family: 'Bodoni Moda Variable'; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(fonts/bodoni-moda-latin-ext-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda Variable'; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(fonts/bodoni-moda-latin-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Bodoni Moda Variable'; font-style: italic; font-display: swap; font-weight: 400 900;
  src: url(fonts/bodoni-moda-latin-ext-opsz-italic.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Bodoni Moda Variable'; font-style: italic; font-display: swap; font-weight: 400 900;
  src: url(fonts/bodoni-moda-latin-opsz-italic.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk Variable'; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk Variable'; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(fonts/schibsted-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --onyx: #090807;
  --panel: #12100c;
  --panel-2: #1a1711;
  --line: #2c261b;
  --line-2: #43392a;
  --gold: #c9a45c;
  /* złoto z połyskiem (przyciski, wybrane opcje) – prośba Macieja 4.10.2026 */
  --gold-metal: linear-gradient(115deg, #b4883a 0%, #e9cd8c 22%, #f8eccb 34%, #d2ad62 50%, #bb9145 62%, #ecd497 82%, #c19a50 100%);
  --gold-gloss: inset 0 1px 0 rgba(255, 250, 232, .7), inset 0 -1px 0 rgba(100, 70, 20, .45), 0 1px 2px rgba(0, 0, 0, .5), 0 8px 22px -10px rgba(214, 174, 99, .65);
  --champ: #ebd7a6;
  --bone: #f2ece0;
  --ash: #a39b8b;
  --violet: #b9a2f5;
  --serif: 'Bodoni Moda Variable', 'Bodoni 72', Didot, Georgia, serif;
  --sans: 'Schibsted Grotesk Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--onyx); color: var(--bone); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--champ); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--champ); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
h1, h2, h3 { font-family: var(--serif); font-weight: 550; font-variation-settings: 'opsz' 14; margin: 0; letter-spacing: -.01em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) and (height: 1lh) {
  h2 { padding-bottom: .14em; margin-bottom: -.14em; background: linear-gradient(180deg, #c9a45c 0%, #f8ecce 22%, #ecd39f 55%, #c9a45c 100%) 0 0 / 100% 1lh repeat-y; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
@supports not (height: 1lh) { h2 { color: var(--champ); } }
h2 { font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1.02; }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.08; }
p { margin: 0; }
.note { color: var(--ash); font-size: 14px; line-height: 1.5; }
.mini { color: var(--ash); font-size: 15px; margin: 18px 0 8px; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-gold { position: relative; overflow: hidden; isolation: isolate; background: var(--gold-metal); color: #140f06; box-shadow: var(--gold-gloss); }
.btn-gold::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .65) 50%, transparent 65%); transform: translateX(-110%); }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--gold-metal); filter: brightness(1.05); }
.btn-gold:hover::after, .btn-gold:focus-visible::after { transform: translateX(110%); transition: transform .85s var(--ease-sheen, cubic-bezier(.2, .7, .2, 1)); }
.btn-line { border-color: var(--line-2); color: var(--champ); background: transparent; }
.btn-line:hover { border-color: var(--gold); }
.btn:active { transform: scale(.98); }

/* Nawigacja */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(9, 8, 7, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--champ); text-decoration: none; }
.logo span { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--bone); white-space: nowrap; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #d6cebf; text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--champ); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login { color: #d6cebf; text-decoration: none; font-size: 15px; padding: 0 10px; white-space: nowrap; }
.nav-login:hover { color: var(--champ); }
.nav-menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.nav-sheet { display: grid; padding: 8px var(--gut) 20px; background: rgba(9, 8, 7, .96); border-bottom: 1px solid var(--line); }
.nav-sheet[hidden] { display: none; }
.nav-sheet a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--bone); text-decoration: none; font-size: 18px; }

/* Wejście */
.intro { display: none; }
.js-intro .intro { display: block; position: fixed; inset: 0; z-index: 100; background: var(--onyx); overflow: hidden; }
.js-intro body { overflow: hidden; }
.intro-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.38) saturate(.7); transform: scale(1.06); animation: introDrift 4s linear both; }
@keyframes introDrift { to { transform: scale(1.12); } }
.stamp { position: absolute; opacity: 0; font: 800 clamp(24px, 4.6vw, 62px)/1 var(--sans); letter-spacing: -.01em; color: var(--champ); border: 3px solid var(--gold); padding: .14em .45em .18em; background: rgba(9, 8, 7, .35); transform: rotate(var(--rot)); }
.intro.run .stamp { animation: stamp .42s cubic-bezier(.2, .9, .3, 1.25) both; animation-delay: var(--d); }
@keyframes stamp { 0% { opacity: 0; transform: rotate(var(--rot)) scale(1.9); } 60% { opacity: 1; transform: rotate(var(--rot)) scale(.95); } 100% { opacity: 1; transform: rotate(var(--rot)) scale(1); } }
.intro-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-radius: 50%; border: 2px solid var(--champ); transform: translate(-50%, -50%); box-shadow: 0 0 60px rgba(201, 164, 92, .55), inset 0 0 40px rgba(201, 164, 92, .3); pointer-events: none; }
.intro-skip { position: absolute; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(9, 8, 7, .6); color: var(--bone); cursor: pointer; }

/* Hero z soczewką */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 28px; overflow: hidden; isolation: isolate; touch-action: pan-y; }
.hero-media { position: absolute; inset: 0; z-index: -2; --x: 70%; --y: 46%; --r: 0px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-chaos { filter: blur(2px) brightness(.4) saturate(.7); transform: scale(1.04); }
.hero-lens { position: absolute; inset: 0; clip-path: circle(var(--r) at var(--x) var(--y)); background: radial-gradient(circle calc(var(--r) * 1.05) at var(--x) var(--y), #221c12 0%, #120f0a 62%, #0b0907 100%); }
.lens-ui { position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * 1.46); transform: translate(-50%, -50%); display: grid; gap: .75em; font-size: calc(var(--r) * .058); line-height: 1.3; color: var(--bone); }
.lu-top { padding: 0 1.1em; display: flex; justify-content: space-between; align-items: baseline; gap: 1em; font-family: var(--serif); font-size: 1.2em; color: var(--champ); }
.lu-top small { font-family: var(--sans); font-size: .62em; color: var(--ash); border: 1px solid var(--line-2); border-radius: 999px; padding: .15em .7em; }
.lu-search { display: flex; align-items: center; gap: .6em; height: 2.7em; padding: 0 .9em; border-radius: .9em; border: 1px solid var(--gold); background: #0a0907; box-shadow: 0 0 0 .25em rgba(201, 164, 92, .12); }
.lu-search svg { width: 1.15em; height: 1.15em; color: var(--gold); flex-shrink: 0; }
.lu-q { font-size: 1.1em; white-space: nowrap; }
.lu-caret { width: 1.5px; height: 1.25em; margin-left: -.4em; background: var(--champ); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.lu-count { color: var(--ash); font-size: .85em; }
.lu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; align-content: start; min-height: 9.6em; }
.lu-list li { display: flex; justify-content: space-between; align-items: center; gap: .8em; padding: .55em .85em; border-radius: .8em; background: #1b1711; border: 1px solid #30291d; opacity: 0; transform: translateY(.5em); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.lu-list li.in { opacity: 1; transform: none; }
.lu-list li:first-child { border-color: rgba(201, 164, 92, .65); background: #231d13; }
.lu-name { display: block; font-weight: 600; font-size: .95em; }
.lu-tag { display: block; color: var(--ash); font-size: .78em; }
.lu-price { color: var(--champ); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lu-ai { margin: 0 .5em; display: grid; gap: .2em; padding: .65em .85em; border-radius: .8em; background: rgba(185, 162, 245, .08); border: 1px solid rgba(185, 162, 245, .38); font-size: .86em; color: #ddd5c6; opacity: 0; transform: translateY(.4em); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.lu-ai.in { opacity: 1; transform: none; }
.lu-ai b { color: var(--violet); font-weight: 600; font-size: .9em; }
.hero-ring { position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * 2); height: calc(var(--r) * 2); transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(235, 215, 166, .9); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 0 50px rgba(201, 164, 92, .4), inset 0 0 36px rgba(201, 164, 92, .28); pointer-events: none; }
.hero-ring::after { content: ''; position: absolute; inset: 7%; border-radius: 50%; background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .2), transparent 38%); }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(9, 8, 7, .9) 0%, rgba(9, 8, 7, .62) 40%, rgba(9, 8, 7, 0) 72%), linear-gradient(0deg, rgba(9, 8, 7, .96) 0%, rgba(9, 8, 7, 0) 38%); }
.hero.lens-top .hero-shade { background: linear-gradient(180deg, rgba(9, 8, 7, .25) 0, rgba(9, 8, 7, .1) calc(var(--kt) - 90px), rgba(9, 8, 7, .86) calc(var(--kt) + 10px), rgba(9, 8, 7, .96) 100%); }
.hero-copy { width: 100%; padding-top: calc(var(--nav-h) + 72px); }
.hero-copy > * { max-width: 760px; }
.hero-copy > h1 { max-width: none; }
.hero > .wrap { width: 100%; }
.hero-kicker { color: var(--champ); font-size: 16px; margin-bottom: 18px; }
h1 { font-size: clamp(2.9rem, 5.5vw, 6.6rem); line-height: .94; letter-spacing: -.015em; text-shadow: 0 2px 30px rgba(9, 8, 7, .55); }
.h1-a, .h1-b { display: block; }
.h1-b { color: var(--champ); font-style: italic; }
.lead { margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #ddd5c6; max-width: 600px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-hint { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--ash); font-size: 14px; }
.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }
.fx { opacity: 0; filter: blur(14px); transform: translateY(10px); }
.hero.ready .fx { opacity: 1; filter: blur(0); transform: none; transition: opacity .9s var(--ease) var(--d), filter 1.2s var(--ease) var(--d), transform .9s var(--ease) var(--d); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 0; border-top: 1px solid rgba(235, 215, 166, .2); }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 20px 20px 0 0; }
.stats dd { margin: 0; font-family: var(--serif); font-variation-settings: 'opsz' 14; font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; color: var(--champ); font-variant-numeric: lining-nums; }
.stats dt { color: var(--ash); font-size: 14px; line-height: 1.35; }

/* Sekcje */
.demo, .sims, .who, .film, .signup { padding: clamp(80px, 11vw, 150px) 0 0; }
.signup { padding-bottom: clamp(80px, 10vw, 130px); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head h2 { max-width: 760px; }
.sec-head p { max-width: 430px; color: #d6cebf; }

/* Okno aplikacji */
.app { overflow-anchor: none; border: 1px solid var(--line-2); border-radius: 22px; background: var(--panel); overflow: hidden; box-shadow: 0 50px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .4); }
.app-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.app-name { font-family: var(--serif); color: var(--champ); font-size: 17px; }
.app-title { font-size: 14px; color: var(--ash); text-align: center; }
.switch { justify-self: end; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; font-size: 14px; }
.switch-track { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line-2); transition: background .2s; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--bone); transition: transform .25s var(--ease); }
.switch[aria-checked="true"] .switch-track { background: var(--gold); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(18px); }
.app-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 560px; }
.app-nav { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; background: #0f0d0a; }
.nav-group { color: var(--ash); font-size: 13px; padding: 12px 12px 6px; }
.app-nav button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: #d6cebf; text-align: left; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.app-nav button time { font-variant-numeric: tabular-nums; color: var(--gold); font-size: 13px; width: 40px; flex-shrink: 0; }
.app-nav button:hover { background: #1b1812; }
.app-nav button[aria-selected="true"] { background: #231e15; color: var(--bone); box-shadow: inset 2px 0 0 var(--gold); }
.app-stage { position: relative; padding: clamp(18px, 3vw, 34px); min-width: 0; }
.panel { animation: focusIn .45s var(--ease) both; }
@keyframes focusIn { from { opacity: 0; filter: blur(8px); transform: translateY(6px); } to { opacity: 1; filter: none; transform: none; } }
.app-foot { padding: 12px 18px; border-top: 1px solid var(--line); color: var(--ash); font-size: 13px; background: var(--panel-2); }
.p-lead { color: #ddd5c6; margin-bottom: 18px; max-width: 640px; }
.p-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 34px); align-items: start; }
.p-grid-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.p-actions-col { flex-direction: column; align-items: flex-start; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: #d6cebf; font-size: 14px; cursor: pointer; text-align: left; transition: background .2s, color .2s, border-color .2s; }
.chips button:hover { border-color: var(--gold); }
.chips button[aria-checked="true"], .chips button.on { background: var(--gold-metal); border-color: var(--gold); color: #140f06; box-shadow: var(--gold-gloss); }
.chips-wrap button { border-radius: 14px; }
.salon-only .hid, .hid { color: var(--ash); font-style: italic; }
.klient .salon-only { display: none !important; }

/* Recepta */
.scan { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: #000; }
.scan img { width: 100%; height: 100%; object-fit: cover; }
.scan-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--champ); box-shadow: 0 0 18px 4px rgba(235, 215, 166, .6); opacity: 0; }
.scan.go .scan-line { animation: scanMove 1.6s var(--ease) both; }
@keyframes scanMove { 0% { top: 8%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 92%; opacity: 0; } }
.rx-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rx-table th, .rx-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.rx-table thead th { color: var(--ash); font-weight: 500; font-size: 13px; }
.rx-table tbody th { color: var(--champ); width: 44px; }
.rx-table td { min-width: 62px; height: 46px; }
[data-rx].ai { color: var(--violet); text-decoration: underline; text-decoration-color: rgba(185, 162, 245, .5); text-underline-offset: 4px; animation: pop .35s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.rx-extra { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 14px; color: var(--ash); font-size: 14px; }
.rx-extra b { font-weight: 500; margin-left: 4px; }

/* Dobór */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.tier { position: relative; border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; background: #15120d; display: flex; flex-direction: column; gap: 8px; animation: focusIn .45s var(--ease) both; animation-delay: var(--d, 0s); }
.tier.best { border-color: var(--gold); background: #1d180f; }
.tier-name { color: var(--ash); font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.tier-name em { font-style: normal; color: #140f06; background: var(--gold); border-radius: 999px; padding: 1px 10px; font-size: 12px; font-weight: 600; }
.tier h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.15; }
.tier-price { font-size: 22px; color: var(--champ); font-variant-numeric: tabular-nums; }
.tier ul { margin: 0; padding: 0 0 0 18px; color: #d6cebf; font-size: 14px; }
.tier .salon-only { color: var(--ash); font-size: 13px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: auto; }

/* Czat */
.chat { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.chat + .note { margin-top: 14px; }
.msg { max-width: 640px; padding: 12px 16px; border-radius: 16px; line-height: 1.55; animation: pop .3s var(--ease) both; }
.msg-client { align-self: flex-end; background: #262118; border-bottom-right-radius: 4px; }
.msg-ai { align-self: flex-start; background: #17140f; border: 1px solid #3b3222; border-bottom-left-radius: 4px; }
.msg-ai ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.msg-ai .who-ai { display: block; color: var(--gold); font-size: 13px; margin-bottom: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.alt { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #0f0d0a; border: 1px dashed var(--line-2); font-size: 14px; }
.alt b { color: var(--champ); white-space: nowrap; }
.lens-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.lens-tags > span { padding: 6px 12px; border-radius: 999px; border: 1px solid #4a3e29; color: var(--champ); font-size: 13px; }

/* Grubość */
.range { display: block; }
.range-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: #d6cebf; margin-bottom: 6px; }
.range-top b { color: var(--bone); font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; height: 34px; accent-color: var(--gold); }
.thick { border: 1px solid var(--line-2); border-radius: 16px; padding: 22px; background: #0f0d0a; display: grid; gap: 22px; }
.thick-lab { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; }
.thick-lab b { font-weight: 500; color: var(--champ); font-variant-numeric: tabular-nums; }
.thick-box { height: 120px; border-top: 1px dashed var(--line-2); }
.thick-shape { width: 100%; transition: height .25s var(--ease); }
.thick-base { background: #6f6556; }
.thick-gold { background: linear-gradient(180deg, var(--champ), var(--gold)); }
.thick-diff { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.thick-diff b { font-family: var(--serif); font-variation-settings: 'opsz' 14; font-size: 52px; line-height: 1; color: var(--champ); font-weight: 500; }
.thick-diff span { color: #d6cebf; max-width: 240px; }

/* Porównanie przed/po */
.cmp-frame { position: relative; overflow: hidden; background: #000; user-select: none; -webkit-user-select: none; --pos: 50%; }
.cmp-small .cmp-frame { aspect-ratio: 16 / 9; border-radius: 14px; }
.cmp-big .cmp-frame { aspect-ratio: 16 / 9; max-height: 86vh; width: 100%; }
.cmp-layer { position: absolute; inset: 0; }
.cmp-layer img { width: 100%; height: 100%; object-fit: cover; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-fx { position: absolute; inset: 0; pointer-events: none; display: none; }
.cmp[data-mode="ar"] .fx-ar, .cmp[data-mode="pol"] .fx-pol, .cmp[data-mode="foto"] .fx-foto, .cmp[data-mode="foto"] .fx-foto-after { display: block; }
.cmp[data-mode="ar"] .cmp-before img { filter: contrast(.86) brightness(1.06) saturate(.9); }
.cmp[data-mode="pol"] .cmp-before img { filter: saturate(.72) contrast(.84) brightness(1.1); }
.cmp[data-mode="pol"] .cmp-after img { filter: saturate(1.4) contrast(1.14) brightness(.95); }
.cmp[data-mode="foto"] .cmp-before img { filter: brightness(1.2) contrast(.88) saturate(.9); }
.cmp[data-mode="foto"] .cmp-after img { filter: brightness(.82) contrast(1.06); }
.halo { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 238, 200, .7) 0%, rgba(255, 214, 140, .28) 22%, rgba(255, 200, 120, 0) 64%); mix-blend-mode: screen; }
.halo.red { background: radial-gradient(circle, rgba(255, 120, 100, .75) 0%, rgba(255, 70, 50, .3) 24%, rgba(255, 60, 40, 0) 64%); }
.ghost { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 230, 190, 0) 46%, rgba(255, 230, 190, .32) 52%, rgba(255, 230, 190, 0) 60%); mix-blend-mode: screen; }
.veil { position: absolute; inset: 0; background: rgba(255, 236, 200, .06); }
.glare { position: absolute; inset: 0; background: radial-gradient(ellipse 46% 22% at 66% 63%, rgba(255, 255, 255, .85), rgba(255, 255, 255, .3) 45%, rgba(255, 255, 255, 0) 75%), radial-gradient(ellipse 30% 10% at 30% 58%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%); mix-blend-mode: screen; }
.tint { position: absolute; inset: 0; background: rgba(92, 70, 46, .42); mix-blend-mode: multiply; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--champ); box-shadow: 0 0 14px rgba(0, 0, 0, .6); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(9, 8, 7, .7); border: 2px solid var(--champ); display: flex; align-items: center; justify-content: center; color: var(--champ); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-range:focus-visible + .cmp-handle .cmp-knob { outline: 2px solid var(--bone); outline-offset: 3px; }
.cmp-lab { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(9, 8, 7, .72); font-size: 13px; color: var(--bone); pointer-events: none; }
.cmp-lab-l { left: 14px; } .cmp-lab-r { right: 14px; }
.cmp-modes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.cmp-big .cmp-modes { justify-content: center; margin: 18px var(--gut) 12px; }
.sims .note { text-align: center; }

/* Dla kogo */
.who-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.who-card { position: relative; border-radius: 20px; overflow: hidden; min-height: 300px; background: #000; }
.who-big { grid-row: span 2; min-height: 620px; }
.who-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.who-card:hover img { transform: scale(1.04); }
.who-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 8, 7, .94) 0%, rgba(9, 8, 7, .55) 42%, rgba(9, 8, 7, 0) 70%); }
.who-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 3vw, 30px); display: grid; gap: 10px; }
.who-txt p { color: #ddd5c6; max-width: 520px; }

/* Film */
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; border: 1px solid var(--line-2); }
.film-frame img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.film-frame iframe, .film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.film-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: transparent; border: 0; cursor: pointer; color: var(--bone); font-size: 18px; }
.film-play small { color: var(--ash); margin-left: 6px; font-size: 15px; }
.film-blad { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center; padding: 24px; color: var(--bone); background: #000; }
.film-blad a { color: var(--champ); }
.film-blad small { color: var(--ash); }
.film-play-ring { width: 104px; height: 104px; border-radius: 50%; border: 2px solid var(--champ); display: flex; align-items: center; justify-content: center; color: var(--champ); background: rgba(9, 8, 7, .45); box-shadow: 0 0 50px rgba(201, 164, 92, .35); transition: transform .3s var(--ease), background .3s; }
.film-play:hover .film-play-ring { transform: scale(1.06); background: rgba(201, 164, 92, .2); }
.film .note { margin-top: 12px; }
.film-meta { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; color: var(--ash); font-size: 14px; }
.film-meta li { display: inline-flex; align-items: center; gap: 8px; }
.film-meta li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--champ); opacity: .7; }

/* Zapis */
.signup-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.signup-copy { display: grid; gap: 20px; }
.signup-copy p { color: #ddd5c6; max-width: 520px; }
.signup-lens { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; }
.credit { color: var(--ash) !important; font-size: 15px; }
.form { border: 1px solid var(--line-2); border-radius: 22px; background: var(--panel); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: #d6cebf; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select { width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #0b0a08; color: var(--bone); font: inherit; font-size: 16px; }
.form input:focus, .form select:focus { border-color: var(--gold); outline: none; }
.form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.check { grid-template-columns: auto 1fr !important; align-items: start; gap: 10px !important; color: var(--ash) !important; font-size: 13px !important; line-height: 1.5; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--gold); }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 999px; background: #0b0a08; border: 1px solid var(--line); }
.tabs button { min-height: 44px; border-radius: 999px; border: 0; background: transparent; color: #d6cebf; cursor: pointer; font-weight: 500; }
.tabs button[aria-selected="true"] { background: var(--gold-metal); color: #140f06; font-weight: 600; box-shadow: var(--gold-gloss); }
.form.lista .when { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg a { color: var(--champ); }
.form button[disabled] { opacity: .7; cursor: progress; }
.form-ok { display: grid; gap: 12px; padding: 12px 4px; animation: focusIn .5s var(--ease) both; }
.form-ok:focus { outline: none; }
.form-ok h3 { color: var(--champ); }
.form-ok p { color: #ddd5c6; }
.form-msg { font-size: 14px; color: var(--champ); min-height: 1.4em; }
.form-msg.err { color: #f0a58f; }

/* Arkusz oferty */
.sheet { background: #f7f3ea; color: #1b1712; border-radius: 6px; padding: clamp(16px, 2.4vw, 26px); aspect-ratio: 1 / 1.3; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); font-size: 14px; }
.sheet .ln { opacity: 0; transform: translateY(6px); }
.sheet.go .ln { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 120ms); }
.sh-head { display: flex; justify-content: space-between; color: #6c6457; font-size: 12px; }
.sh-logo { border: 1px dashed #b9b0a0; padding: 4px 10px; border-radius: 6px; }
.sh-title { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin-top: 6px; }
.sh-rx { display: grid; gap: 2px; color: #4e473c; font-size: 13px; font-variant-numeric: tabular-nums; padding-bottom: 8px; border-bottom: 1px solid #e2d9c6; }
.sh-opt { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #e9e1d0; }
.sh-opt b, .sh-second b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sh-best { background: #efe2c2; margin: 0 -10px; padding: 8px 10px; border-radius: 6px; border-bottom: 0; }
.sh-best em { font-style: normal; font-size: 11px; font-weight: 700; color: #6d5214; margin-left: 6px; }
.sh-second { display: flex; justify-content: space-between; gap: 12px; color: #3e382f; }
.sh-foot { margin-top: auto; color: #6c6457; font-size: 12px; }

/* Wyszukiwarka */
.search { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #0b0a08; color: var(--ash); margin-bottom: 12px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--bone); font: inherit; font-size: 17px; outline: none; }
.results-head { display: flex; justify-content: space-between; color: var(--ash); font-size: 13px; padding: 16px 4px 8px; border-bottom: 1px solid var(--line); margin-top: 8px; }
.results { list-style: none; margin: 0; padding: 0; }
.results li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; animation: pop .3s var(--ease) both; }
.r-name { font-weight: 600; }
.r-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.r-tags span { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: #221e17; color: #cfc6b6; }
.r-right { display: flex; align-items: center; gap: 18px; }
.r-salon { color: var(--ash); font-size: 13px; }
.r-price { color: var(--champ); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 17px; }
.empty { padding: 28px 4px; color: var(--ash); }

/* Porównanie (tabela) */
.table-scroll { overflow-x: auto; }
.cmp-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.cmp-table th, .cmp-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table thead th { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--bone); }
.cmp-table thead em { display: block; font-style: normal; font-family: var(--sans); font-size: 12px; color: var(--gold); }
.cmp-table tbody th { color: var(--ash); font-weight: 400; width: 26%; }
.cmp-table td:nth-child(3) { background: rgba(201, 164, 92, .07); }

/* Trener */
.train { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 8px; }
.score { border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; background: #0f0d0a; display: grid; gap: 14px; align-content: start; }
.score-total { display: flex; align-items: baseline; gap: 8px; color: var(--ash); font-size: 14px; }
.score-total b { font-family: var(--serif); font-variation-settings: 'opsz' 14; font-size: 56px; line-height: 1; color: var(--champ); font-weight: 500; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14px; }
.bars .bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.bars .bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 6px; transition: width 1s var(--ease); }
.score-tip { font-size: 14px; color: #d6cebf; }

/* Stopka */
.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 14px; }
.foot p { color: var(--ash); font-size: 15px; max-width: 720px; }
.foot-small { font-size: 13px !important; }

/* Tablet */
@media (max-width: 1080px) {
  .app-body { grid-template-columns: 1fr; }
  .app-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; gap: 6px; scrollbar-width: none; }
  .app-nav::-webkit-scrollbar { display: none; }
  .nav-group { display: none; }
  .app-nav button { flex-shrink: 0; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
  .app-nav button[aria-selected="true"] { box-shadow: none; border-color: var(--gold); }
  .app-nav button time { width: auto; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .who-big { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
}

/* Telefon */
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-menu { display: inline-flex; }
  .nav-cta .btn-sm { padding: 0 16px; }
  .nav-login { display: none; }
  .logo { gap: 10px; }
  .logo svg { width: 32px; }
  .logo span { font-size: 18px; }
  .nav-cta .btn-sm { font-size: 14px; }
  .hero { justify-content: flex-start; }
  .hero { --lens-h: min(80vw, 340px); }
  .hero-copy { padding-top: calc(var(--nav-h) + var(--lens-h)); }
  .lens-ui { width: calc(var(--r) * 1.46); font-size: calc(var(--r) * .072); gap: .65em; }
  .lu-list { min-height: 6.4em; }
  .lu-list li:nth-child(n+3), .lu-ai { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .stats div { padding-bottom: 14px; }
  .ctas .btn { flex: 1 1 auto; }
  .app { border-radius: 16px; margin: 0 calc(var(--gut) * -.5); }
  .app-bar { grid-template-columns: 1fr auto; }
  .app-title { display: none; }
  .app-body { min-height: 0; }
  .p-grid, .p-grid-even, .train { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .who-card { min-height: 420px; }
  .who-big { min-height: 460px; }
  .signup-grid { grid-template-columns: 1fr; }
  .form-2 { grid-template-columns: 1fr; }
  .cmp-big .cmp-frame { aspect-ratio: 4 / 5; }
  .cmp-lab { font-size: 12px; top: 10px; }
  .sheet { aspect-ratio: auto; }
  .alt { flex-direction: column; }
}

@media (max-width: 374px) { .logo svg { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .fx { opacity: 1; filter: none; transform: none; }
  .btn-gold::after { display: none; }
}
