/* Firewisp Studio — v3 „Cinematic Dark Indie”
   Noc nad bagnem z ciepłym światłem latarni: granat → butelkowa zieleń, bursztyn jako akcent, teal jako drugi głos.
   Dwie rodziny, obie self-hosted: Fraunces (variable, opsz/wght) do nagłówków, Manrope do reszty. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  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: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  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: "Fraunces"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("fonts/fraunces-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  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 {
  --bg: #07131B;
  --bg-2: #0B1B24;
  --surface: #10232B;
  --surface-2: #152D35;
  --surface-3: #1B3740;
  --text: #F5F1E9;
  --text-2: #AABCC5;
  --text-3: #8CA1AA;
  --line: #28424B;
  --line-soft: rgba(40, 66, 75, .55);
  --line-bright: #3B5B66;
  --accent: #FF8A43;
  --accent-hover: #FFAD65;
  --accent-ink: #1E0C02;
  --copper: #D96C35;
  --teal: #40B5AA;
  --teal-soft: rgba(64, 181, 170, .18);
  --sage: #8FD3A8;
  --focus: #FFC98A;
  --ok: #8FD3A8;
  --err: #FF9A8C;
  --c-sushi: #FF6B4A; --c-kropla: #5AB3FF; --c-pendulum: #F0C35C; --c-iskra: #FF8A43; --c-bog: #40B5AA; --c-turniej: #58D68D;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, "Noto Serif", serif;
  --fs-display: clamp(2.75rem, 1.5rem + 3.2vw, 4.1rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 1.5vw, 2.4rem);
  --fs-h3: 1.3rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-meta: 0.8125rem;
  --lh-body: 1.6;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --gutter: 20px;
  --container: 1280px;
  --r-1: 10px; --r-2: 14px; --r-3: 20px; --r-pill: 999px;
  --shadow-1: 0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px rgba(0,0,0,.35);
  --shadow-2: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px rgba(0,0,0,.5);
  --glow-accent: 0 0 0 1px rgba(255,138,67,.45), 0 8px 30px rgba(255,138,67,.22);
  --t-fast: 180ms; --t-base: 280ms; --ease: cubic-bezier(.2,.7,.2,1);
}

/* ─── baza ─── */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: linear-gradient(180deg, #07131B 0%, #0A1A21 35%, #0B1B24 60%, #061016 100%); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; font-optical-sizing: auto; font-variation-settings: "SOFT" 30, "WONK" 0; }
h1 { font-size: var(--fs-display); line-height: 1.02; }
h2 { font-size: var(--fs-h2); line-height: 1.12; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -56px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--r-1); z-index: 100; font-weight: 700; }
.skip:focus { top: var(--s-3); }
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.meta { font-size: var(--fs-meta); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.muted { color: var(--text-2); }
.prose { color: var(--text-2); max-width: 60ch; }
.prose p + p { margin-top: var(--s-4); }
[data-l]:not([data-l-active]) { display: none !important; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* ─── przyciski, chipy, znaczniki ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font: inherit; font-size: var(--fs-small); font-weight: 700; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); cursor: pointer; white-space: nowrap;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.btn:hover { background: var(--surface-3); border-color: var(--line-bright); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: linear-gradient(180deg, #FFA15C 0%, var(--accent) 55%, #F3722F 100%); border-color: rgba(255,173,101,.7); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 20px rgba(255,138,67,.25); }
.btn-primary:hover { background: linear-gradient(180deg, #FFB977 0%, var(--accent-hover) 55%, #FF8A43 100%); border-color: var(--accent-hover); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 12px 30px rgba(255,138,67,.35); }
.btn-primary:disabled { opacity: .7; cursor: progress; transform: none; }
.btn-secondary { background: rgba(16,35,43,.85); border-color: rgba(64,181,170,.45); }
.btn-secondary:hover { border-color: var(--teal); background: var(--surface-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-meta); }
.link { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line-bright); padding-bottom: 1px; transition: border-color var(--t-fast), color var(--t-fast); }
.link:hover { border-color: var(--accent); color: var(--accent-hover); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; line-height: 1; border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 700; letter-spacing: .02em; color: var(--text-2); border: 1px solid var(--line); background: rgba(7,19,27,.7); white-space: nowrap; flex: none; max-width: 100%; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tag.live { color: var(--sage); border-color: rgba(143,211,168,.4); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgba(143,211,168,.18); }
.tag.review { color: var(--accent-hover); border-color: rgba(255,173,101,.4); }
.tag.dev { color: #8FB8FF; border-color: rgba(143,184,255,.4); }
.tag.soon { color: var(--text-2); border-color: var(--line-bright); }
.tag.store { color: var(--text); border-color: var(--line-bright); background: var(--surface-2); }
.chips { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(16,35,43,.7); color: var(--text-2); font: inherit; font-size: var(--fs-small); font-weight: 600; cursor: pointer; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); }
.chip:hover { color: var(--text); border-color: var(--line-bright); }
.chip:focus-visible, .cbtn:focus-visible, .cdots button:focus-visible, .seg button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.chip[aria-pressed="true"] { color: var(--accent-hover); border-color: rgba(255,138,67,.65); background: rgba(255,138,67,.08); box-shadow: 0 0 0 1px rgba(255,138,67,.15), 0 0 18px rgba(255,138,67,.12); }
.dots { display: flex; align-items: center; gap: var(--s-2) var(--s-3); color: var(--text-3); font-size: var(--fs-meta); font-weight: 600; flex-wrap: wrap; }
.dots > span + span::before { content: "·"; margin-right: var(--s-3); color: var(--line-bright); }

/* ─── nagłówek ─── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7,19,27,.55); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); border-bottom: 1px solid transparent; transition: background var(--t-base), border-color var(--t-base); }
.site-header.scrolled { background: rgba(7,19,27,.86); border-bottom-color: var(--line-soft); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; min-height: 44px; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.brand i { font-style: normal; font-weight: 400; color: var(--text-2); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--text-2); font-size: var(--fs-small); font-weight: 600; transition: color var(--t-fast); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease); }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: var(--fs-meta); font-weight: 700; letter-spacing: .06em; }
.lang button { min-width: 40px; min-height: 40px; border: 0; background: none; color: var(--text-3); font: inherit; font-weight: 700; letter-spacing: .06em; border-radius: var(--r-pill); cursor: pointer; transition: color var(--t-fast), background var(--t-fast); }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { color: var(--text); background: rgba(255,255,255,.06); }
.lang .sep { color: var(--line-bright); }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; color: var(--text-3); font-weight: 700; letter-spacing: .06em; border-radius: var(--r-pill); text-decoration: none; transition: color var(--t-fast), background var(--t-fast); }
.lang a:hover { color: var(--text); }
.lang a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(16,35,43,.7); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
@media (max-width: 767px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--gutter) var(--s-4); background: rgba(7,19,27,.97); border-bottom: 1px solid var(--line-soft); box-shadow: var(--shadow-2); }
  .nav.open { display: flex; }
  .nav a { min-height: 50px; font-size: 1.05rem; padding: 0 var(--s-3); }
  .nav a::after { bottom: 10px; }
  .menu-btn { display: inline-flex; }
  .brand { font-size: 1.15rem; }
  .header-row { gap: var(--s-2); }
}

/* ─── bohater ─── */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); min-height: min(92vh, 860px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.9) brightness(.78); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 55% at 72% 30%, rgba(255,138,67,.10), transparent 70%),
  linear-gradient(90deg, rgba(7,19,27,.92) 0%, rgba(7,19,27,.78) 38%, rgba(7,19,27,.35) 70%, rgba(7,19,27,.55) 100%),
  linear-gradient(180deg, rgba(7,19,27,.35) 0%, rgba(7,19,27,0) 30%, rgba(7,19,27,.55) 78%, var(--bg) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; background: linear-gradient(180deg, rgba(7,19,27,0), var(--bg)); }
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.embers i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #FFC070; box-shadow: 0 0 10px 2px rgba(255,170,90,.55); opacity: 0; animation: ember 9s ease-in-out infinite; }
@keyframes ember { 0% { opacity: 0; transform: translate3d(0,0,0) scale(.6); } 15% { opacity: .9; } 50% { opacity: .55; transform: translate3d(14px,-40px,0) scale(1); } 85% { opacity: .8; } 100% { opacity: 0; transform: translate3d(-8px,-90px,0) scale(.5); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: clamp(24px, 4vw, 56px); align-items: center; width: 100%; }
.hero-copy { display: grid; gap: var(--s-5); max-width: 600px; }
.hero-copy .meta { color: var(--text-2); }
.hero-copy h1 { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-copy h1[data-l="pl"] { font-size: calc(var(--fs-display) * .9); }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.2rem); color: var(--text-2); max-width: 46ch; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: rgba(7,19,27,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); width: max-content; max-width: 100%; }
.seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid transparent; background: none; color: var(--text-2); font: inherit; font-size: var(--fs-meta); font-weight: 700; cursor: pointer; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); white-space: nowrap; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { color: var(--accent-hover); border-color: rgba(255,138,67,.7); background: rgba(255,138,67,.1); box-shadow: 0 0 16px rgba(255,138,67,.18); }
.seg .ico { color: currentColor; opacity: .8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); color: var(--text-2); font-size: var(--fs-small); font-weight: 600; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ico { width: 18px; height: 18px; color: var(--sage); }
.hero-facts .ico.teal { color: var(--teal); }
.hero-facts .ico.cream { color: var(--text-2); }

/* karuzela produktów w hero: trzy karty, aktywna z przodu, sąsiednie cofnięte */
.showcase { position: relative; display: grid; gap: var(--s-4); }
.carousel { position: relative; height: clamp(380px, 46vw, 560px); outline: none; }
.carousel:focus-visible { outline: 2px solid var(--focus); outline-offset: 10px; border-radius: 20px; }
.ccard { position: absolute; left: 50%; top: 50%; width: min(46%, 330px); aspect-ratio: 3 / 4; margin: 0; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-2);
  transform: translate(-50%, -50%) translateX(var(--x, 0)) scale(var(--sc, 1)) rotate(var(--rot, 0deg)); opacity: var(--op, 1); z-index: var(--z, 1); cursor: pointer;
  transition: transform 520ms var(--ease), opacity 520ms var(--ease), box-shadow var(--t-base), border-color var(--t-base); }
.ccard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ccard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,19,27,0) 45%, rgba(7,19,27,.78) 80%, rgba(7,19,27,.92) 100%); }
.ccard .tag { position: absolute; left: 16px; top: 16px; z-index: 2; }
.ccard .tag.featured { color: var(--accent-hover); border-color: rgba(255,138,67,.6); background: rgba(255,138,67,.14); }
.ccard .cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-3); }
.ccard .cap h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--text); }
.ccard .cap p { color: var(--text-2); font-size: var(--fs-meta); margin-top: 2px; max-width: 22ch; }
.ccard .go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,173,101,.6); background: rgba(255,138,67,.16); color: var(--accent-hover); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background var(--t-fast), transform var(--t-fast), color var(--t-fast); }
.ccard .go:hover { background: var(--accent); color: var(--accent-ink); transform: translateX(2px); }
.ccard .go svg { width: 20px; height: 20px; }
.ccard[data-pos="0"] { --x: 0; --sc: 1; --rot: 0deg; --op: 1; --z: 3; border-color: rgba(255,173,101,.55); box-shadow: var(--shadow-2), var(--glow-accent); cursor: default; }
.ccard[data-pos="-1"] { --x: -66%; --sc: .86; --rot: -3deg; --op: .72; --z: 2; }
.ccard[data-pos="1"] { --x: 66%; --sc: .86; --rot: 3deg; --op: .72; --z: 2; }
.ccard[data-pos="2"], .ccard[data-pos="-2"] { --x: 0; --sc: .7; --rot: 0deg; --op: 0; --z: 1; pointer-events: none; }
.ccard[data-pos="-1"]:hover, .ccard[data-pos="1"]:hover { --op: .92; }
.ccard[data-pos="-1"] .go, .ccard[data-pos="1"] .go { pointer-events: none; opacity: 0; }
.cnav { display: flex; align-items: center; justify-content: center; gap: var(--s-3); }
.cbtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(16,35,43,.75); color: var(--text-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast); }
.cbtn:hover { color: var(--text); border-color: var(--line-bright); background: var(--surface-2); }
.cbtn svg { width: 18px; height: 18px; }
.cdots { display: flex; gap: 8px; }
.cdots button { position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.cdots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--line-bright); transition: background var(--t-fast), transform var(--t-fast); }
.cdots button:hover::before { background: var(--text-2); }
.cdots button[aria-current="true"]::before { background: var(--accent); transform: scale(1.25); box-shadow: 0 0 10px rgba(255,138,67,.6); }
@media (max-width: 1279px) {
  .hero-grid { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
}
@media (max-width: 900px) {
  .hero { min-height: 0; align-items: start; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero-copy { max-width: none; }
  .carousel { height: clamp(300px, 88vw, 420px); }
  .ccard { width: min(62%, 300px); }
  .ccard .cap h3 { font-size: 1.2rem; }
  .ccard .cap p { font-size: 0.78rem; }
  .ccard .go { width: 40px; height: 40px; }
  .ccard[data-pos="-1"] { --x: -58%; } .ccard[data-pos="1"] { --x: 58%; }
}
@media (max-width: 520px) {
  .seg { width: 100%; justify-content: space-between; overflow-x: auto; }
  .seg button { padding: 0 12px; flex: 1; justify-content: center; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ─── sekcje ─── */
.section { padding: clamp(44px, 6vw, 80px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); min-width: 0; }
.section-head .title { display: flex; align-items: baseline; gap: var(--s-5); flex-wrap: wrap; }
.section-head .meta { color: var(--teal); }
.section-head .aside { color: var(--text-2); max-width: 46ch; font-size: var(--fs-small); }
.section-head .tools { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; justify-content: flex-end; }
.view-all { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 600; font-size: var(--fs-small); white-space: nowrap; }
.view-all:hover { color: var(--accent-hover); }

/* karty produktów */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.pcard { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-3); overflow: hidden; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-soft); box-shadow: var(--shadow-1);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base), box-shadow var(--t-base); }
.pcard:hover { transform: translateY(-4px); border-color: var(--line-bright); box-shadow: var(--shadow-2), 0 0 0 1px rgba(255,255,255,.03); }
.pcard[hidden] { display: none; }
.pcard .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.pcard .thumb > img, .pcard .thumb > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.pcard:hover .thumb > img, .pcard:hover .thumb > video { transform: scale(1.03); }
.pcard .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,19,27,0) 60%, rgba(16,35,43,.9) 100%); pointer-events: none; }
.pcard .badges { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard .body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); min-width: 0; }
.pcard .body h3, .ncard .body h3 { overflow-wrap: break-word; min-width: 0; }
.status { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-note { color: var(--text-3); font-size: var(--fs-meta); font-weight: 500; }
.pcard .body h3 { font-size: 1.25rem; }
.pcard .body h3 a, .ncard h3 a { color: inherit; } .pcard .body h3 a:hover, .ncard h3 a:hover { color: var(--accent-hover); }
.pcard .desc { color: var(--text-2); font-size: var(--fs-small); }
.pcard .cta { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-top: auto; padding-top: var(--s-2); }
.pcard .cta .link { font-size: var(--fs-meta); }
/* Sushi: kuchnia w tle, pętla rozgrywki w ramce telefonu */
.thumb-sushi .phone { position: absolute; right: 5%; bottom: -14%; width: 33%; aspect-ratio: 720 / 1360; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 18px 40px rgba(0,0,0,.55); z-index: 1; transition: transform 600ms var(--ease); }
.pcard:hover .thumb-sushi .phone { transform: translateY(-6px); }
.thumb-sushi .phone video, .thumb-sushi .phone img { width: 100%; height: 100%; object-fit: cover; }
.thumb-sushi .logo { position: absolute; left: 4%; top: 9%; width: 38%; z-index: 1; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); }
.thumb-sushi::after { background: linear-gradient(180deg, rgba(7,19,27,.05) 50%, rgba(16,35,43,.9) 100%); }

/* co dalej: kompaktowe karty poziome */
.ncard { display: grid; grid-template-columns: 42% 1fr; border-radius: var(--r-3); overflow: hidden; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-soft); box-shadow: var(--shadow-1); min-height: 200px;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base), box-shadow var(--t-base); }
.ncard:hover { transform: translateY(-3px); border-color: var(--line-bright); box-shadow: var(--shadow-2); }
.ncard .thumb { position: relative; overflow: hidden; background: var(--bg-2); }
.ncard .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.ncard:hover .thumb img { transform: scale(1.04); }
.ncard .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,35,43,0) 70%, rgba(16,35,43,.85) 100%); }
.ncard .body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.ncard h3 { font-size: 1.15rem; }
.ncard .desc { color: var(--text-2); font-size: var(--fs-small); }
.ncard .cta { margin-top: auto; padding-top: var(--s-3); display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }

/* ─── o studiu ─── */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.about .intro { display: grid; gap: var(--s-4); }
.about .intro h2 em { font-style: normal; color: var(--accent); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.values li { position: relative; display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-3); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-soft); overflow: hidden; transition: transform var(--t-base) var(--ease), border-color var(--t-base); }
.values li:hover { transform: translateY(-3px); border-color: var(--line-bright); }
.values .orb { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 35%, transparent), color-mix(in srgb, var(--c) 8%, transparent) 70%); color: var(--c); box-shadow: 0 0 28px color-mix(in srgb, var(--c) 22%, transparent); }
.values .orb svg { width: 26px; height: 26px; }
.values strong { font-size: 1.05rem; }
.values span { color: var(--text-2); font-size: var(--fs-small); }

/* ─── beta ─── */
.beta { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(24px, 3.5vw, 44px); border: 1px solid rgba(255,138,67,.35);
  background: linear-gradient(135deg, rgba(217,108,53,.55) 0%, rgba(140,62,26,.55) 45%, rgba(16,35,43,.9) 100%), var(--surface); box-shadow: var(--shadow-2), 0 0 60px rgba(255,138,67,.12);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6); align-items: center; }
.beta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 10% 0%, rgba(255,173,101,.25), transparent 60%); pointer-events: none; }
.beta > * { position: relative; }
.beta .meta { color: var(--accent-hover); }
.beta h2 { margin: var(--s-2) 0 var(--s-3); }
.beta p.muted { color: #F2E4D8; max-width: 52ch; }
.beta form { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-4); margin-top: var(--s-5); max-width: 560px; }
.beta input[type=email] { flex: 1 1 240px; min-height: 50px; padding: 0 16px 0 44px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.18); background: rgba(7,19,27,.75); color: var(--text); font: inherit; font-size: var(--fs-small); }
.beta input[type=email]::placeholder { color: var(--text-3); }
.beta input[type=email]:focus-visible { outline-color: var(--focus); }
.beta .field { position: relative; display: flex; }
.beta .field .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-3); pointer-events: none; }
.beta .field input { width: 100%; }
.beta .note { margin-top: var(--s-3); font-size: var(--fs-meta); color: #E8D6C8; }
.beta .note a { color: var(--text); border-bottom: 1px solid rgba(255,255,255,.35); }
.beta .note.ok { color: var(--ok); } .beta .note.err { color: var(--err); } .beta .note.busy { color: #E8D6C8; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.benefits li { display: flex; gap: 10px; align-items: flex-start; color: #F2E4D8; font-size: var(--fs-small); font-weight: 600; }
.benefits .ico { width: 20px; height: 20px; color: var(--accent-hover); flex: none; margin-top: 2px; }
.hp { position: absolute; left: -9999px; }
/* formularz beta v2: platforma + apki */
.beta form .btn { align-self: flex-start; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.opts legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; font-size: var(--fs-meta); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #E8D6C8; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(7,19,27,.6); color: var(--text); font-size: var(--fs-small); font-weight: 600; cursor: pointer; user-select: none; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.opt span .ico { width: 18px; height: 18px; }
.opt span:hover { border-color: rgba(255,255,255,.45); }
.opt input:checked + span { background: var(--accent); border-color: var(--accent-hover); color: var(--accent-ink); }
.opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.hint-android { display: none; margin: -8px 0 0; font-size: var(--fs-meta); color: #E8D6C8; }
.hint-android.show { display: block; }
.apps summary { cursor: pointer; font-size: var(--fs-small); font-weight: 600; color: #F2E4D8; list-style: none; }
.apps summary::-webkit-details-marker { display: none; }
.apps summary::before { content: "▸ "; color: var(--accent-hover); } .apps[open] summary::before { content: "▾ "; }
.apps .opts { margin-top: 10px; }
.apps .opt span { min-height: 34px; padding: 0 12px; font-size: var(--fs-meta); }


/* ─── stopka ─── */
.site-footer { border-top: 1px solid var(--line-soft); padding: var(--s-7) 0 var(--s-6); background: linear-gradient(180deg, rgba(7,19,27,0), rgba(4,12,17,.9)); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.footer-row .brand { font-size: 1.15rem; }
.footer-row .tagline { color: var(--text-3); font-size: var(--fs-small); }
.footer-links { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-pill); color: var(--text-2); font-size: var(--fs-small); font-weight: 600; transition: color var(--t-fast), background var(--t-fast); }
.footer-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.footer-products { display: flex; gap: var(--s-2) var(--s-4); flex-wrap: wrap; color: var(--text-3); font-size: var(--fs-meta); margin-top: var(--s-5); }
.footer-products a { color: var(--text-2); } .footer-products a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line-soft); color: var(--text-3); font-size: var(--fs-meta); }
.footer-bottom a { color: var(--text-2); } .footer-bottom a:hover { color: var(--text); }

/* ─── responsywność ─── */
@media (max-width: 1279px) {
  .grid-3.next { grid-template-columns: 1fr; }
  .ncard { grid-template-columns: 38% 1fr; min-height: 180px; }
  .values { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: var(--s-5); }
  .beta { grid-template-columns: 1fr; }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .grid-3.playable { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3.store { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .section-head .tools { justify-content: flex-start; width: 100%; min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; width: 100%; max-width: 100%; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .grid-3 { grid-template-columns: 1fr; gap: var(--s-4); }
  .ncard { grid-template-columns: 1fr; }
  .ncard .thumb { aspect-ratio: 16 / 9; }
  .ncard .thumb::after { background: linear-gradient(180deg, rgba(16,35,43,0) 70%, rgba(16,35,43,.85) 100%); }
  .values { grid-template-columns: 1fr; }
  .beta form .btn { align-self: stretch; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

/* ─── ruch ─── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; } .reveal[data-delay="2"] { transition-delay: 160ms; } .reveal[data-delay="3"] { transition-delay: 240ms; }
.hero-copy > * { opacity: 0; transform: translateY(10px); animation: rise 560ms var(--ease) forwards; }
.hero-copy > :nth-child(2) { animation-delay: 80ms; } .hero-copy > :nth-child(3) { animation-delay: 160ms; } .hero-copy > :nth-child(4) { animation-delay: 240ms; } .hero-copy > :nth-child(5) { animation-delay: 320ms; } .hero-copy > :nth-child(6) { animation-delay: 400ms; }
.showcase { opacity: 0; animation: rise 700ms var(--ease) 260ms forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-copy > *, .showcase { opacity: 1; transform: none; transition: none; animation: none; }
  .embers { display: none; }
  .ccard, .pcard, .ncard, .values li, .btn, .chip, .nav a::after, .pcard .thumb > img, .pcard .thumb > video, .ncard .thumb img, .thumb-sushi .phone { transition: none; }
  .pcard:hover, .ncard:hover, .values li:hover, .btn:hover { transform: none; }
  .pcard:hover .thumb > img, .pcard:hover .thumb > video, .ncard:hover .thumb img { transform: none; }
}

/* ─── strona dokumentu (privacy) ─── */
.doc { padding-top: var(--s-7); padding-bottom: var(--s-9); }
.doc .inner { max-width: 72ch; }
.doc h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3.2rem); margin-bottom: var(--s-2); }
.doc h2 { font-size: 1.5rem; margin: var(--s-7) 0 var(--s-3); }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: var(--s-3); }
.doc a { color: var(--text); border-bottom: 1px solid var(--line-bright); }
