/* ════════════════════════════════════════════════════════════════
   QOSMO — strona produktowa
   Paleta i typografia spójne z platformą Qosmo
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg:           #0B0B14;
  --bg-2:         #0E0E1B;
  --card:         #121221;
  --card-2:       #15152a;
  --border:       #21213B;
  --border-soft:  #1a1a30;
  --text-dim:     #6C6C9D;
  --text:         #C9C9D9;
  --text-bright:  #F3F3F6;
  --accent:       #2C3DF2;
  --accent-2:     #4d8bff;
  --accent-deep:  #1515C1;
  --accent-glow:  rgba(44, 61, 242, 0.35);
  --accent-faint: rgba(44, 61, 242, 0.08);
  --ok:           #22c55e;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Typografia wg księgi znaku Qosmo: Manrope (nagłówki + tekst), JetBrains Mono (kod/etykiety) */
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* kolory modułów (księga znaku) */
  --c-chat:   #2C3DF2;
  --c-flow:   #A855F7;
  --c-tracer: #38BDF8;
  --c-docs:   #34D399;
  --c-auth:   #FF3F00;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── layout helpers ─────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); position: relative; z-index: 2; }
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.h-sec {
  font-size: clamp(30px, 4.4vw, 52px);
  margin-top: 22px;
}
.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-dim);
  max-width: 60ch;
  margin-top: 20px;
  line-height: 1.62;
  text-wrap: pretty;
}

/* ─── buttons ────────────────────────────────────────────────────── */
.btn {
  --bg-btn: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px -8px var(--accent-glow);
}
.btn--primary:hover {
  background: #3a4bff;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -10px var(--accent-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text-bright);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--text-dim); background: rgba(255,255,255,0.02); }
.btn--lg { padding: 15px 28px; font-size: 16px; }

/* ─── nav ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 20, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border-soft);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand .qosmo-logo { height: 22px; width: auto; color: var(--text-bright); }
.brand .qosmo-logo path { fill: currentColor; }
.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 7px;
  border-radius: 5px;
  margin-top: 1px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--text-bright); background: rgba(255,255,255,0.03); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang button {
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 6px 9px;
  cursor: pointer;
  transition: background .2s, color .2s;
  position: relative;
}
.lang button.active { background: var(--accent-faint); color: var(--text-bright); }
.lang button:not(.active):hover { color: var(--text); }

.nav__burger { display: none; }

/* ─── hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
#hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  pointer-events: none;
  transition: opacity .6s ease, filter .8s ease;
}
#hero-canvas.is-fluid { filter: blur(1.6px) saturate(1.15); opacity: 0.92; }
#hero-canvas.absorbed { opacity: 0; }
.hero::after { /* readability + vignette */
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,11,20,0.78) 0%, rgba(11,11,20,0.42) 32%, transparent 60%),
    radial-gradient(120% 95% at 75% 40%, transparent 0%, rgba(11,11,20,0.22) 74%, var(--bg) 100%),
    linear-gradient(180deg, rgba(11,11,20,0.45) 0%, transparent 22%, transparent 60%, var(--bg) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 80%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 760px; }

.hero h1 {
  font-size: clamp(40px, 7vw, 86px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-top: 26px;
  text-shadow: 0 2px 40px rgba(11, 11, 20, 0.75), 0 1px 8px rgba(11, 11, 20, 0.6);
}
.hero h1 .grad {
  background: linear-gradient(110deg, #fff 0%, #b9c2ff 45%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--text);
  max-width: 56ch;
  margin-top: 26px;
  line-height: 1.6;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero__meta {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
}
.hero__meta span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__meta span svg { width: 14px; height: 14px; color: var(--accent-2); }

/* ─── marquee / trust strip ──────────────────────────────────────── */
.trust {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-2);
  padding: 26px 0;
  position: relative;
  z-index: 2;
}
.trust__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 18px;
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 12px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 8px 15px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: border-color .25s, color .25s, transform .25s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--text-bright); transform: translateY(-2px); }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

/* ─── section header ─────────────────────────────────────────────── */
.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }

/* ─── modules ────────────────────────────────────────────────────── */
.modules {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.mod {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card) 0%, var(--bg-2) 100%);
  border-radius: 18px;
  padding: 28px;
  overflow: hidden;
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.mod::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, var(--accent-faint), transparent 55%);
  opacity: 0;
  transition: opacity .35s;
}
.mod:hover { border-color: var(--accent); transform: translateY(-4px); }
.mod:hover::before { opacity: 1; }
.mod--lg { grid-column: span 3; }
.mod--sm { grid-column: span 2; }
.mod__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: grid;
  place-items: center;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.mod__icon svg { width: 21px; height: 21px; }
/* kolory modu\u0142\u00f3w wg ksi\u0119gi znaku */
.mod--chat   { --mc: var(--c-chat); }
.mod--flow   { --mc: var(--c-flow); }
.mod--tracer { --mc: var(--c-tracer); }
.mod--docs   { --mc: var(--c-docs); }
.mod--auth   { --mc: var(--c-auth); }
.mod[class*="mod--"] .mod__icon {
  color: var(--mc, var(--accent-2));
  border-color: color-mix(in srgb, var(--mc, var(--accent)) 38%, var(--border));
  box-shadow: 0 0 24px -8px color-mix(in srgb, var(--mc, var(--accent)) 60%, transparent);
}
.mod[class*="mod--"]:hover { border-color: var(--mc, var(--accent)); }
.mod[class*="mod--"]::before { background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--mc, var(--accent)) 12%, transparent), transparent 55%); }
.mod__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-bright);
  letter-spacing: -0.01em;
}
.mod__base {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.mod__desc { font-size: 14.5px; color: var(--text-dim); margin-top: 14px; line-height: 1.58; }
.mod__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.mod__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
}

/* models strip */
.models {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.model {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  background: var(--bg-2);
  transition: border-color .3s, transform .35s var(--ease);
}
.model:hover { border-color: var(--accent); transform: translateY(-3px); }
.model__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-bright);
  display: flex; align-items: center; gap: 10px;
}
.model__name .qmark {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 7px;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; min-height: 24px; box-sizing: border-box;
}
.qmark--sygnet { color: var(--accent-2); padding: 4px; }
.qmark svg { width: 15px; height: 15px; display: block; }
.qmark svg path { fill: currentColor; }
.model__desc { font-size: 13.5px; color: var(--text-dim); margin-top: 10px; }
.model__badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px;
}
/* Qosmo Med — wkrótce */
.model--soon { opacity: 0.78; }
.model--soon .qmark { color: var(--text-dim); }
.model--soon:hover { opacity: 1; }
/* Qosmo Fine — eleganckie wolne pulsowanie */
.model--fine {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  animation: finePulse 3.6s var(--ease) infinite;
}
.model--fine .qmark { color: #cdd6ff; border-color: color-mix(in srgb, var(--accent) 60%, var(--border)); }
.model__badge--fine { color: var(--accent-2); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
@keyframes finePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(44,61,242,0.0), inset 0 0 0 0 transparent; border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
  50%      { box-shadow: 0 0 34px -6px rgba(44,61,242,0.55), inset 0 0 30px -18px rgba(77,139,255,0.5); border-color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) { .model--fine { animation: none; border-color: var(--accent); } }

/* ─── feature split (sovereignty / HA) ───────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.split--rev .split__visual { order: -1; }
.feat-list { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.feat {
  display: flex;
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}
.feat:last-child { border-bottom: none; padding-bottom: 0; }
.feat__ic {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--accent-faint);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--accent-2);
}
.feat__ic svg { width: 17px; height: 17px; }
.feat__ic .sygnet { width: 18px; height: 18px; }
.feat__ic .sygnet path { fill: currentColor; }
.feat__t { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text-bright); }
.feat__d { font-size: 14px; color: var(--text-dim); margin-top: 4px; line-height: 1.55; }

/* visual panel */
.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(160deg, var(--card) 0%, var(--bg-2) 100%);
  padding: 30px;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
}

/* air-g/ network diagram */
.diagram { position: relative; z-index: 1; }
.diagram__core {
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 12px;
}
.node {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.node--accent { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-faint), 0 10px 30px -12px var(--accent-glow); }
.node__ic { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-faint); display:grid; place-items:center; color: var(--accent-2); flex-shrink: 0; }
.node__ic svg { width: 16px; height: 16px; }
.node__t { font-size: 14px; font-weight: 600; color: var(--text-bright); font-family: var(--font-display); }
.node__s { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.node__pill { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); border-radius: 5px; padding: 3px 7px; }
.boundary {
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 14px;
  position: relative;
}
.boundary__label {
  position: absolute;
  top: -10px; left: 16px;
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 8px;
}

/* ─── compliance grid ────────────────────────────────────────────── */
.compliance {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.comp {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  padding: 24px;
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.comp:hover { border-color: var(--accent); transform: translateY(-3px); background: var(--card-2); }
.comp__code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-2);
  letter-spacing: 0.04em;
}
.comp__t { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text-bright); margin-top: 10px; }
.comp__d { font-size: 13.5px; color: var(--text-dim); margin-top: 8px; line-height: 1.5; }
.comp--w6 { grid-column: span 6; }
.comp--w4 { grid-column: span 4; }
.comp--w3 { grid-column: span 3; }

/* ─── deployment models ──────────────────────────────────────────── */
.deploy {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.dep {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px;
  background: linear-gradient(180deg, var(--card) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}
.dep--feature { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.dep__badge {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
}
.dep__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-faint); border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent-2); }
.dep__ic svg { width: 23px; height: 23px; }
.dep__t { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--text-bright); margin-top: 22px; }
.dep__d { font-size: 15px; color: var(--text-dim); margin-top: 12px; line-height: 1.6; }
.dep__ul { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.dep__ul li { display: flex; gap: 11px; font-size: 14px; color: var(--text); align-items: flex-start; }
.dep__ul svg { width: 17px; height: 17px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.dep__note { margin-top: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); border-top: 1px solid var(--border-soft); padding-top: 16px; }

/* ─── FAQ jako asystent Qosmo Chat ───────────────────────────────── */
.faqchat { margin-top: 40px; position: relative; min-height: 560px; }
.faq-center { max-width: 720px; margin: 0 auto; position: relative; z-index: 3; }

/* composer w stylu Qosmo Chat / Claude — duży, wyśrodkowany, od razu widoczny */
.faq-composer {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 9px 9px 9px 20px;
  box-shadow: 0 18px 60px -24px rgba(0,0,0,0.6);
  transition: border-color .25s, box-shadow .25s;
}
.faq-composer:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-faint), 0 18px 60px -20px var(--accent-glow);
}
.faq-composer input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text-bright); font-family: var(--font-body);
  font-size: 16px; padding: 12px 0;
}
.faq-composer input::placeholder { color: var(--text-dim); }

/* podpowiedzi pytań podczas pisania */
.faq-suggest {
  position: absolute;
  top: calc(100% + 8px); left: 0; right: 0;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  z-index: 20;
  box-shadow: 0 24px 70px -20px rgba(0,0,0,0.8);
}
.faq-suggest button {
  display: block; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 14px;
  color: var(--text); padding: 12px 18px;
  border-bottom: 1px solid var(--border-soft);
  transition: background .15s, color .15s;
}
.faq-suggest button:last-child { border-bottom: none; }
.faq-suggest button:hover, .faq-suggest button.sel { background: var(--accent-faint); color: var(--text-bright); }
.faq-suggest button strong { color: var(--accent-2); font-weight: 600; }

/* pływające pytania po bokach — od krawędzi okna do głównej kolumny */
.fq-floats {
  position: absolute; top: 0; bottom: 0;
  z-index: 2;
  overflow: hidden;
}
.fq-floats--left { left: calc(50% - 50vw + 8px); right: calc(50% + 385px); }
.fq-floats--right { right: calc(50% - 50vw + 8px); left: calc(50% + 385px); }
.fq-float {
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-body); font-weight: 500;
  font-size: 12.5px;
  color: var(--text);
  background: rgba(18, 18, 33, 0.82);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 14px;
  cursor: pointer;
  max-width: 200px;
  text-align: left;
  line-height: 1.35;
  will-change: transform, opacity;
  transition: border-color .2s, color .2s, background .2s;
  backdrop-filter: blur(4px);
}
.fq-float:hover { border-color: var(--accent); color: var(--text-bright); background: var(--accent-faint); }

/* fallback mobile: zwykłe chipy pod composerem */
.faq-chips-mobile { display: none; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 1180px) {
  .fq-floats { display: none; }
  .faq-chips-mobile { display: flex; }
  .faqchat { min-height: 0; }
}
.faq-chips-mobile .fc-chip { flex-shrink: 1; }
.faqchat__bar {
  display: flex; align-items: center; gap: 12px;
  margin-top: 34px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border-soft);
}
.faqchat__avatar.q-boom svg { animation: qboom 0.9s var(--ease); }
@keyframes qboom {
  0%   { transform: scale(1);    filter: none; }
  30%  { transform: scale(1.55); filter: drop-shadow(0 0 18px var(--accent-2)) drop-shadow(0 0 40px var(--accent)); }
  60%  { transform: scale(0.92); filter: drop-shadow(0 0 8px var(--accent-2)); }
  100% { transform: scale(1);    filter: none; }
}
.faqchat__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-bright); flex-shrink: 0;
}
.faqchat__avatar svg { width: 17px; height: 17px; }
.faqchat__avatar--sm { width: 28px; height: 28px; }
.faqchat__avatar--sm svg { width: 14px; height: 14px; }
.faqchat__id { margin-right: auto; }
.faqchat__name { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text-bright); line-height: 1.2; }
.faqchat__status { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); display: flex; align-items: center; gap: 7px; margin-top: 2px; }
.faqchat__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.faqchat__pill {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-2); border: 1px solid var(--border); border-radius: 6px; padding: 4px 9px;
}
.faqchat__feed {
  padding: 26px 6px 4px 0;
  max-height: min(440px, 52vh);
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  overscroll-behavior: contain;
}
.faqchat__feed::-webkit-scrollbar { width: 6px; }
.faqchat__feed::-webkit-scrollbar-track { background: transparent; }
.faqchat__feed::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
.faqchat__feed::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }
.fc-msg { margin-bottom: 22px; }
.fc-msg--ai { position: relative; padding-left: 34px; }
.fc-sygnet { position: absolute; left: 0; top: 1px; width: 22px; height: 22px; color: var(--text-bright); }
.fc-sygnet svg { width: 22px; height: 22px; }
.fc-sygnet--spin svg { animation: qspin 1.3s linear infinite; transform-origin: 50% 50%; }
@keyframes qspin { to { transform: rotate(360deg); } }
.fc-text { color: var(--text); font-size: 15.5px; line-height: 1.72; max-width: 72ch; }
.fc-text strong { color: var(--text-bright); font-weight: 600; }
.fc-text a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.fc-caret {
  display: inline-block; width: 8px; height: 16px;
  background: var(--accent-2); border-radius: 2px;
  vertical-align: -2px; margin-left: 3px;
  animation: fcCaret 0.9s steps(2) infinite;
}
@keyframes fcCaret { 50% { opacity: 0; } }
.fc-msg--user { display: flex; justify-content: flex-end; }
.fc-bubble {
  max-width: 78%;
  background: var(--accent-faint);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  color: var(--text-bright);
  border-radius: 16px 16px 4px 16px;
  padding: 11px 15px;
  font-size: 14.5px; line-height: 1.55;
}
.fc-typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.fc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-dim); animation: fcBlink 1.2s infinite ease-in-out; }
.fc-typing i:nth-child(2) { animation-delay: .18s; }
.fc-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes fcBlink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.faqchat__suggest {
  display: flex; gap: 8px;
  padding: 16px 0 14px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.faqchat__suggest::-webkit-scrollbar { height: 5px; }
.faqchat__suggest::-webkit-scrollbar-track { background: transparent; }
.faqchat__suggest::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
.fc-chip {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, transform .2s var(--ease);
}
.fc-chip:hover { border-color: var(--accent); color: var(--text-bright); background: var(--accent-faint); transform: translateY(-2px); }

.faqchat__input {
  display: flex; align-items: center; gap: 9px;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 8px 8px 12px;
  transition: border-color .2s, box-shadow .2s;
}
.faqchat__input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-faint); }
.faqchat__input input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text-bright); font-family: var(--font-body); font-size: 15px;
}
.faqchat__input input::placeholder { color: var(--text-dim); }
.faqchat__send {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, transform .2s var(--ease);
}
.faqchat__send svg { width: 17px; height: 17px; }
.faqchat__send:hover { background: #3a4bff; transform: scale(1.06); }
.faqchat__hint {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
  padding: 12px 2px 0;
}

/* ─── CTA ────────────────────────────────────────────────────────── */
.cta {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(44,61,242,0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--card) 0%, var(--bg-2) 100%);
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.cta h2 { font-size: clamp(28px, 3.6vw, 44px); }
.cta__form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-faint);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); line-height: 1.5; }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  min-height: 280px;
  padding: 20px;
}
.form-success.show { display: flex; }
.form-success__ic {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent-faint); border: 1px solid var(--accent);
  display: grid; place-items: center; color: var(--accent-2);
}
.form-success__ic svg { width: 28px; height: 28px; }

/* ─── footer ─────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 64px 0 40px;
  background: var(--bg-2);
  position: relative;
  z-index: 2;
}
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer__brand .qosmo-logo { height: 20px; color: var(--text-bright); }
.footer__brand .qosmo-logo path { fill: currentColor; }
.footer__desc { font-size: 13.5px; color: var(--text-dim); margin-top: 18px; max-width: 36ch; line-height: 1.6; }
.footer__col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.footer__col ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 14px; color: var(--text); transition: color .2s; }
.footer__col a:hover { color: var(--accent-2); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.footer__provider { display: inline-flex; align-items: center; gap: 8px; }
.footer__provider b { color: var(--text); font-weight: 600; }

/* ─── 3D tilt na kartach ──────────────────────────────────── */
.modules, .models, .compliance, .deploy { perspective: 1100px; }
.mod, .model, .comp, .dep { will-change: transform; }

/* ─── fluid Q — żywa konstelacja na całej stronie ───────────────── */
#fluid-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  transition: opacity .6s ease, filter .9s ease;
}
#fluid-canvas.roam { filter: blur(2.2px) saturate(1.15); }
#fluid-canvas.docked { opacity: 0; }

/* treść sekcji ponad fluidem */
.section .wrap, .trust .wrap, .footer .wrap { position: relative; z-index: 2; }

/* eksplozja w sygnecie asystenta */
@keyframes qPop {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(44,61,242,0.0); }
  30%  { transform: scale(1.45); box-shadow: 0 0 0 14px rgba(44,61,242,0.25), 0 0 50px 10px rgba(77,139,255,0.5); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(44,61,242,0); }
}
.faqchat__avatar.q-pop { animation: qPop 0.9s var(--ease); }

/* ─── przełącznik motywu ──────────────────────────────────── */
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  display: grid; place-items: center;
  cursor: pointer;
  transition: color .2s, border-color .2s, transform .3s var(--ease);
}
.theme-toggle:hover { color: var(--text-bright); border-color: var(--text-dim); transform: rotate(15deg); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .tt-sun { display: none; }
[data-theme="light"] .theme-toggle .tt-sun { display: block; }
[data-theme="light"] .theme-toggle .tt-moon { display: none; }

/* ─── gra HA: obroń klaster ────────────────────────────────── */
.panel--game { padding: 18px; }
.ha-game { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.hg-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hg-title::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.hg-hud { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hg-actions .hg-buy { flex: 1 1 auto; text-align: center; }
.hg-stat {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  display: inline-flex; align-items: baseline; gap: 7px;
}
.hg-stat b { font-family: var(--font-display); font-size: 17px; color: var(--text-bright); font-weight: 600; }
.hg-buy {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: #fff; background: var(--accent);
  border: none; border-radius: 8px;
  padding: 8px 13px; cursor: pointer;
  transition: background .2s, opacity .2s, transform .2s var(--ease);
}
.hg-buy:hover:not(:disabled) { background: #3a4bff; transform: translateY(-1px); }
.hg-buy:disabled { opacity: 0.45; cursor: default; }
#hgCanvas {
  width: 100%; height: clamp(380px, 46vw, 560px);
  display: block;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  cursor: crosshair;
  touch-action: manipulation;
}
#hgCanvas.wrench { cursor: pointer; }
.hg-tool {
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  display: grid; place-items: center;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.hg-tool svg { width: 17px; height: 17px; }
.hg-tool:hover { color: var(--text-bright); border-color: var(--text-dim); }
.hg-tool.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.hg-buy--lamp { background: transparent; color: var(--accent-2); border: 1px solid var(--border); }
.hg-buy--lamp:hover:not(:disabled) { background: var(--accent-faint); }
.hg-buy--honey { background: transparent; color: #34d399; border: 1px solid var(--border); }
.hg-buy--honey:hover:not(:disabled) { background: rgba(52, 211, 153, 0.08); }
.hg-buy--dlp { background: transparent; color: #38bdf8; border: 1px solid var(--border); }
.hg-buy--dlp:hover:not(:disabled) { background: rgba(56, 189, 248, 0.08); }
.hg-buy--xdr { background: transparent; color: #ff5a3c; border: 1px solid var(--border); }
.hg-buy--xdr:hover:not(:disabled) { background: rgba(255, 90, 60, 0.08); }
.hg-buy--xdr.active {
  background: rgba(255, 90, 60, 0.14);
  border-color: #ff5a3c;
  animation: xdrPulse 1s ease-in-out infinite;
}
.hg-buy--xdr.ready {
  background: rgba(255, 90, 60, 0.18);
  border-color: #ff5a3c;
  color: #fff;
  animation: xdrPulse 1.6s ease-in-out infinite;
}
@keyframes xdrPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 60, 0); }
  50%      { box-shadow: 0 0 14px -2px rgba(255, 90, 60, 0.6); }
}
.hg-mode {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  color: #a7b6ff;
  border: 1px dashed color-mix(in srgb, #a7b6ff 50%, transparent);
  border-radius: 8px;
  padding: 7px 12px;
  text-align: center;
}
[data-theme="light"] .hg-mode { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.hg-hint { font-family: var(--font-mono); font-size: 11px; line-height: 1.55; color: var(--text-dim); }
.hg-hint b { color: var(--text); font-weight: 600; }

/* ─── motyw jasny ──────────────────────────────────────── */
[data-theme="light"] {
  --bg:           #F4F5FA;
  --bg-2:         #EDEFF7;
  --card:         #FFFFFF;
  --card-2:       #F7F8FC;
  --border:       #D9DCEC;
  --border-soft:  #E4E6F2;
  --text-dim:     #5E6184;
  --text:         #3A3D5C;
  --text-bright:  #14152B;
  --accent:       #2C3DF2;
  --accent-2:     #2249CC;
  --accent-deep:  #1515C1;
  --accent-glow:  rgba(44, 61, 242, 0.25);
  --accent-faint: rgba(44, 61, 242, 0.07);
}
[data-theme="light"] .nav.scrolled {
  background: rgba(244, 245, 250, 0.78);
  border-bottom-color: var(--border-soft);
}
[data-theme="light"] .hero::after {
  background:
    radial-gradient(120% 95% at 72% 38%, transparent 0%, rgba(244,245,250,0.28) 72%, var(--bg) 100%),
    linear-gradient(180deg, rgba(244,245,250,0.4) 0%, transparent 22%, transparent 64%, var(--bg) 100%);
}
[data-theme="light"] .hero__grid {
  background-image: radial-gradient(rgba(20,21,43,0.06) 1px, transparent 1px);
}
[data-theme="light"] .hero h1 { text-shadow: 0 2px 30px rgba(244,245,250,0.8); }
[data-theme="light"] .hero h1 .grad {
  background: linear-gradient(110deg, #14152B 0%, #2C3DF2 60%, #2249CC 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
[data-theme="light"] .panel::before,
[data-theme="light"] .cta::before {
  background-image: radial-gradient(rgba(20,21,43,0.05) 1px, transparent 1px);
}
[data-theme="light"] .fq-float { background: rgba(255,255,255,0.88); }
[data-theme="light"] .q-bubble {
  background: #fff;
  color: #14152B;
  border-color: var(--border);
  box-shadow: 0 18px 60px -18px rgba(20,21,43,0.3);
}
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg); }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: var(--border); }

/* quiz A/B w dymku */
.q-quiz { display: flex; gap: 8px; margin-top: 11px; pointer-events: auto; }
.q-quiz__btn {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s var(--ease), filter .15s;
}
.q-quiz__btn:hover { transform: translateY(-1px); filter: brightness(1.15); }
.q-quiz__a { background: #2C3DF2; color: #fff; }
.q-quiz__b { background: #38BDF8; color: #0B0B14; }

/* dymek żywej konstelacji */
.q-bubble {
  position: fixed;
  z-index: 60;
  max-width: 260px;
  background: var(--card-2);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  border-radius: 16px;
  color: var(--text-bright);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  padding: 12px 15px;
  box-shadow: 0 16px 50px -16px rgba(0,0,0,0.8), 0 0 30px -12px var(--accent-glow);
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.q-bubble.show { opacity: 1; transform: translateY(0) scale(1); }

/* ─── reveal animations (JS-gated; visible by default without JS) ── */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
html.js .reveal.in { opacity: 1; transform: none; }
/* safety net: anything not revealed by JS becomes statically visible */
html.show-all .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

/* hero entrance — transform only, opacity always 1 (never invisible) */
@keyframes heroRise {
  from { transform: translateY(28px); }
  to   { transform: translateY(0); }
}
.hero .eyebrow,
.hero h1,
.hero__sub,
.hero__cta,
.hero__meta {
  animation: heroRise .85s var(--ease) both;
}
.hero h1     { animation-delay: .08s; }
.hero__sub   { animation-delay: .16s; }
.hero__cta   { animation-delay: .24s; }
.hero__meta  { animation-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero .eyebrow, .hero h1, .hero__sub, .hero__cta, .hero__meta { animation: none; }
}

/* ─── responsive ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .mod--lg, .mod--sm { grid-column: span 1; }
  .models { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--rev .split__visual { order: 0; }
  .compliance { grid-template-columns: repeat(6, 1fr); }
  .comp--w6, .comp--w4, .comp--w3 { grid-column: span 3; }
  .deploy { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .modules { grid-template-columns: 1fr; }
  .models { grid-template-columns: 1fr; }
  .compliance { grid-template-columns: 1fr; }
  .comp--w6, .comp--w4, .comp--w3 { grid-column: span 1; }
  .field--row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__meta { gap: 8px 18px; }
  .brand__tag { display: none; }

  /* nav — kompakt, wszystko mieści się w jednej linii */
  .nav__inner { gap: 10px; }
  .nav__actions { gap: 7px; }
  .nav__actions .btn { padding: 8px 12px; font-size: 13px; }
  .theme-toggle { width: 31px; height: 31px; }
  .lang button { padding: 5px 7px; }

  /* hero — przyciski w pionie na wąskich ekranach */
  .hero__cta .btn--lg { padding: 13px 20px; font-size: 15px; flex: 1 1 auto; justify-content: center; }

  /* dymek chmurki nie wychodzi poza ekran */
  .q-bubble { max-width: calc(100vw - 28px); }

  /* gra — przyciski w siatce 2×2, niższa plansza */
  .hg-actions .hg-buy { flex: 1 1 46%; padding: 9px 8px; font-size: 11px; }
  #hgCanvas { height: 330px; }
  .panel { padding: 18px; }
  .panel--game { padding: 14px; }

  /* sekcje i karty — ciasniejsze marginesy */
  .split { gap: 30px; }
  .dep { padding: 26px 22px; }
  .cta { border-radius: 20px; }
  .cta__inner { gap: 28px; }

  /* czat FAQ — pełna szerokość, wygodne dotykowo */
  .faq-composer { padding: 10px 12px; }
  .fc-chip { padding: 9px 13px; font-size: 12.5px; }
}
