/* ============================================================
   Cyclops LMS - product site (BiEyeCyclops)
   Direction: confident dark "pitch" hero -> honest light "proof" body.
   Signature: the aperture / single-eye ring (Cyclops sees every cent;
   also a camera lens = watch the live demo).
   Family: DM Sans, crimson accent, warm bronze pulled from the mascot.
   Pure static: no frameworks, no CDN, no external requests.
   ============================================================ */

/* ---- Tokens ---- */
:root {
  /* brand crimson (from the app) */
  --pri:        #B91C1C;
  --pri-bright: #DC2626;
  --pri-dark:   #991B1B;
  --pri-xlight: #FEF2F2;
  --pri-light:  #FEE2E2;

  /* bronze / amber, pulled from the Cyclops mascot */
  --bronze:     #C67B3E;
  --bronze-lit: #E4A85E;
  --bronze-deep:#7A3E1D;

  /* light surfaces (match the app) */
  --paper:      #F9FAFB;
  --white:      #FFFFFF;
  --ink:        #111827;
  --ink-2:      #374151;
  --muted:      #6B7280;
  --muted-2:    #9CA3AF;
  --border:     #E5E7EB;
  --border-2:   #F1F0EE;

  /* deep warm dark (hero + provenance band) */
  --dark:       #17110E;
  --dark-2:     #241A15;
  --dark-line:  rgba(255,255,255,0.10);
  --on-dark:    #F6EFE9;
  --on-dark-mut:#B8A99C;

  --wrap:       1180px;
  --radius:     16px;
  --radius-sm:  11px;
  --shadow:     0 24px 60px -20px rgba(23,17,14,0.35);
  --shadow-lift:0 30px 70px -24px rgba(23,17,14,0.45);
}

/* ---- Reset-ish ---- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* section anchors clear the sticky header */
[id] { scroll-margin-top: 112px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---- Shared type devices ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--pri);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 13px; height: 13px; flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 2.5px, var(--pri) 2.6px 3.6px, transparent 3.7px 5px, var(--bronze) 5.1px 6px, transparent 6.1px);
}
.eyebrow.on-dark { color: var(--bronze-lit); }
.eyebrow.on-dark::before {
  background:
    radial-gradient(circle at center, transparent 0 2.5px, var(--pri-bright) 2.6px 3.6px, transparent 3.7px 5px, var(--bronze-lit) 5.1px 6px, transparent 6.1px);
}

.h2 {
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
}
.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}
.on-dark .lead, .lead.on-dark { color: var(--on-dark-mut); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 1rem; font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--pri-bright), var(--pri-dark));
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(185,28,28,0.6), inset 0 1px 1px rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(185,28,28,0.72), inset 0 1px 1px rgba(255,255,255,0.25); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { color: var(--on-dark); border-color: rgba(255,255,255,0.28); }
.btn-ghost.on-dark:hover { border-color: var(--on-dark); background: rgba(255,255,255,0.06); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
  height: 100px; /* miesci logo 94px; sync z .hero margin-top -100px */
}
.brand { display: inline-flex; align-items: center; gap: 13px; margin-right: auto; }
/* kadr na twarz cyklopa: plik loga ma na dole podpis BI EYE CYCLOPS,
   ktory przy 94px robi sie czytelny i dubluje tekst obok */
.brand-logo { position: relative; display: inline-flex; flex: none; width: 94px; height: 78px; overflow: hidden; }
.brand img { width: 94px; height: 94px; object-fit: contain; object-position: top; transition: filter 0.2s ease; }
/* poswiata oka cyklopa: zapala sie na 0.5 s po kliku w logo, zanim
   strona wroci na gore (site.js dodaje klase .eye-lit na .brand) */
.brand-eye {
  position: absolute; left: 42%; top: 37%;
  width: 34%; aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0.6);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255,222,140,0.95) 0%,
    rgba(255,158,44,0.55) 45%,
    rgba(255,158,44,0) 72%);
  mix-blend-mode: screen;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s ease, transform 0.45s ease;
}
.brand.eye-lit .brand-eye { opacity: 1; transform: translate(-50%, -50%) scale(1.25); }
/* bez drop-shadow: kadr .brand-logo (overflow hidden) scina go do
   prostokata; halo robi sama .brand-eye */
.brand.eye-lit img { filter: brightness(1.22); }
@media (prefers-reduced-motion: reduce) {
  .brand-eye { transition: none; }
  .brand.eye-lit .brand-eye { transform: translate(-50%, -50%) scale(1); }
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.015em; color: var(--on-dark); transition: color .25s ease; white-space: nowrap; }
.brand-sub { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: none; color: var(--on-dark-mut); transition: color .25s ease; margin-top: 2px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.94rem; font-weight: 600;
  color: var(--on-dark-mut);
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.nav a:hover { color: var(--on-dark); background: rgba(255,255,255,0.08); }

.header-tools { display: flex; align-items: center; gap: 12px; }

/* language switch */
.lang {
  display: inline-flex; padding: 3px; gap: 2px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  transition: background .25s ease, border-color .25s ease;
}
.lang button {
  border: 0; background: transparent; cursor: pointer;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--on-dark-mut);
  padding: 5px 10px; border-radius: 999px;
  transition: color .18s ease, background .18s ease;
}
.lang button:hover { color: var(--on-dark); }
.lang button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--pri-bright), var(--pri-dark));
  box-shadow: 0 2px 8px -2px rgba(185,28,28,0.7);
}
.header-cta { display: inline-flex; }

/* header on scroll -> solid light */
.site-header.scrolled {
  background: rgba(255,255,255,0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(0,0,0,0.4);
}
.site-header.scrolled .brand-name { color: var(--ink); }
.site-header.scrolled .brand-sub { color: var(--muted); }
.site-header.scrolled .nav a { color: var(--muted); }
.site-header.scrolled .nav a:hover { color: var(--ink); background: var(--paper); }
.site-header.scrolled .lang {
  background: var(--paper); border-color: var(--border);
}
.site-header.scrolled .lang button { color: var(--muted); }
.site-header.scrolled .lang button:hover { color: var(--ink); }
.site-header.scrolled .lang button[aria-pressed="true"] { color: #fff; }

/* ============================================================
   HERO (dark)
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 50% -10%, var(--dark-2) 0%, var(--dark) 55%, #100b09 100%);
  color: var(--on-dark);
  overflow: hidden;
  padding: 114px 0 0;
  margin-top: -100px; /* pull under the transparent sticky header */
}
.hero::after { /* seam into the light body */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 140px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none; z-index: 2;
}

/* aperture backdrop = the single eye / lens */
.aperture {
  position: absolute; top: -6%; left: 50%; transform: translateX(-50%);
  width: min(1200px, 150vw); aspect-ratio: 1;
  pointer-events: none; z-index: 0;
  opacity: 0.9;
  background:
    radial-gradient(circle at center,
      rgba(220,38,38,0.34) 0%,
      rgba(198,123,62,0.16) 26%,
      rgba(23,17,14,0) 52%),
    repeating-radial-gradient(circle at center,
      rgba(228,168,94,0.16) 0 1px,
      transparent 1px 46px);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, #000 40%, transparent 66%);
  mask-image: radial-gradient(circle at center, #000 0%, #000 40%, transparent 66%);
  animation: focus-in 1.5s cubic-bezier(.2,.7,.2,1) both;
}
.aperture::before { /* iris ring */
  content: ""; position: absolute; inset: 32%;
  border-radius: 50%;
  border: 1px solid rgba(228,168,94,0.35);
  box-shadow: 0 0 60px rgba(220,38,38,0.35) inset;
}
@keyframes focus-in {
  from { opacity: 0; transform: translateX(-50%) scale(1.14); filter: blur(6px); }
  to   { opacity: 0.9; transform: translateX(-50%) scale(1); filter: blur(0); }
}

.hero-inner { position: relative; z-index: 3; text-align: center; }
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.01;
  max-width: 16ch;
  margin: 0 auto 22px;
}
.hero h1 .accent {
  background: linear-gradient(115deg, var(--bronze-lit), var(--pri-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap; /* keep "end to end" on one line, no orphan */
}
.hero-sub {
  font-size: clamp(1.05rem, 1.9vw, 1.32rem);
  color: var(--on-dark-mut);
  max-width: 64ch; margin: 0 auto 24px; line-height: 1.55;
}
.hero .eyebrow { justify-content: center; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-cta-note {
  margin: 9px auto 0;
  font-size: 0.84rem;
  color: var(--on-dark-mut); opacity: 0.85;
}
.hero-trust {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 26px auto 0;
  font-size: 0.86rem; color: var(--on-dark-mut);
}
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 10px #34D399; flex: none; }

/* hero product shot bridges into the light body */
.hero-shot {
  position: relative; z-index: 3;
  max-width: 1000px; margin: 60px auto -70px;
  padding: 0 24px;
}

/* ---- Browser chrome mockup ---- */
.browser {
  border-radius: 14px; overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  background: #f3f2f0;
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d9d6d2; display: block; }
.browser-dots i:nth-child(1) { background: #f2685f; }
.browser-dots i:nth-child(2) { background: #f6c04d; }
.browser-dots i:nth-child(3) { background: #62c860; }
.browser-url {
  flex: 1; margin-left: 6px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 14px; font-size: 0.76rem; color: var(--muted);
  display: flex; align-items: center; gap: 7px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser-url .lock { width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--muted-2); border-bottom-width: 4px; flex: none; }
.browser-shot { display: block; position: relative; }
.browser-shot img { width: 100%; height: auto; display: block; }
/* clickable shots show a hint on hover */
a.browser { display: block; transition: transform .2s ease, box-shadow .2s ease; }
a.browser:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
a.browser .browser-shot::after {
  content: attr(data-open);
  position: absolute; inset: auto 14px 14px auto;
  background: rgba(23,17,14,0.86); color: #fff;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 7px 13px; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
a.browser:hover .browser-shot::after { opacity: 1; transform: translateY(0); }
a.browser:focus-visible { outline: 3px solid var(--pri-bright); outline-offset: 3px; }

/* ---- Hero extra paragraphs (questions -> punchline) ---- */
.hero-extra {
  position: relative; z-index: 3;
  max-width: 700px; margin: 0 auto 26px;
  display: flex; flex-direction: column; gap: 10px;
}
/* the two hero questions sit side by side to keep the hero short;
   a closed box stretches to the row height so the pair stays even */
.hero-qa-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.hero-qa-row .hero-qa:not([open]) summary { height: 100%; }
.hero-extra p {
  font-size: clamp(0.94rem, 1.4vw, 1.03rem);
  color: var(--on-dark-mut);
  line-height: 1.6;
}
/* expandable Q&A in the hero: same <details> mechanism as the "Why us"
   accordion, restyled for the dark hero */
.hero-qa {
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  background: rgba(255,255,255,0.035);
  text-align: center;
}
.hero-qa summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 16px;
  font-weight: 600;
  font-size: clamp(0.96rem, 1.4vw, 1.05rem);
  color: var(--on-dark);
}
.hero-qa summary::-webkit-details-marker { display: none; }
.hero-qa summary::marker { content: ""; }
.hero-qa summary:focus-visible { outline: 3px solid var(--pri-bright); outline-offset: -3px; border-radius: 12px; }
.hero-qa-ico {
  width: 8px; height: 8px; flex: none;
  border-right: 2px solid var(--on-dark-mut);
  border-bottom: 2px solid var(--on-dark-mut);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.hero-qa[open] .hero-qa-ico { transform: rotate(225deg) translateY(-2px); }
.hero-qa .hero-qa-a { padding: 0 18px 13px; }
.hero-extra .hero-p3 {
  font-weight: 700;
  color: var(--on-dark);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  padding-top: 9px;
  margin-top: 4px;
  border-top: 1px solid var(--dark-line);
  line-height: 1.5;
}
.hero-extra .hero-p3 .accent {
  background: linear-gradient(115deg, var(--bronze-lit), var(--pri-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   PACKAGE PANEL ("pakiet", liquid glass) - sits inside the dark
   hero, under the CTA/trust line and above the product shot.
   ============================================================ */
.pkg {
  position: relative; z-index: 3;
  max-width: 900px; margin: 56px auto 0;
}
.pkg-panel {
  position: relative;
  border-radius: 28px;
  padding: clamp(26px, 4vw, 52px);
  color: var(--on-dark);
  background: linear-gradient(165deg, rgba(255,255,255,0.16), rgba(255,255,255,0.045) 55%, rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    0 46px 100px -34px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.28),
    inset 0 0 70px rgba(255,255,255,0.025);
  overflow: hidden;
}
/* upper inset highlight = the "convex" glass edge */
.pkg-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 46%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 100%);
  mix-blend-mode: overlay; pointer-events: none;
}
/* subtle rounded glass rim */
.pkg-panel::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  pointer-events: none;
}
.pkg-panel > * { position: relative; z-index: 1; }

/* Fallback: no backdrop-filter -> solid warm plate, still reads as glass */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .pkg-panel { background: linear-gradient(165deg, #2c2019, #1c1410); }
}

.pkg-intro {
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
  color: var(--on-dark);
  max-width: 60ch;
  line-height: 1.55;
}
.pkg-list {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; gap: 12px;
}
.pkg-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.97rem; line-height: 1.5; color: var(--on-dark);
}
.pkg-list li::before {
  content: "\2713"; flex: none; margin-top: 1px;
  font-weight: 800; font-size: 0.92rem;
  color: var(--bronze-lit);
}
.pkg-divider {
  height: 1px; margin: 34px 0 30px;
  background: linear-gradient(90deg, transparent, var(--dark-line) 20%, var(--dark-line) 80%, transparent);
}
.pkg-case-h {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.14rem; font-weight: 800; letter-spacing: -0.01em;
  color: var(--on-dark);
  margin-bottom: 16px;
}
.pkg-case-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px;
}
.pkg-case-list li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 0.9rem; line-height: 1.45; color: var(--on-dark-mut);
}
.pkg-case-list li::before {
  content: ""; flex: none; margin-top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pri-bright);
}
.pkg-price-grid {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin: 34px 0 6px;
}
.pkg-price-card {
  flex: 1 1 210px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 16px 20px;
}
.pkg-price-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--on-dark-mut);
}
.pkg-price-value {
  font-size: 1.6rem; font-weight: 800; margin-top: 5px; letter-spacing: -0.01em;
  background: linear-gradient(115deg, var(--bronze-lit), var(--pri-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pkg-go { text-align: center; margin: 38px 0 0; }
.pkg-go-h { font-size: 1.2rem; font-weight: 800; color: var(--on-dark); margin-bottom: 16px; }
.pkg-route {
  margin: 26px auto 0; font-size: 0.88rem; color: var(--on-dark-mut);
  line-height: 1.55; text-align: center; max-width: 62ch;
}
.pkg-motto {
  margin: 20px 0 0; text-align: center;
  font-size: 1.05rem; font-weight: 700; color: var(--on-dark);
  font-style: italic;
}

/* ---- Peru flag: vertical red-white-red stripes, gentle ripple ---- */
.flag {
  --flag-w: 46px; --flag-h: 32px;
  position: relative;
  display: inline-flex; flex: none;
  width: var(--flag-w); height: var(--flag-h);
  border-radius: 3px; overflow: hidden;
  box-shadow: 0 3px 10px -2px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.14);
}
.flag-col {
  flex: 1 1 0; height: 100%;
  animation: flag-ripple 1.7s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.13s);
}
.flag-col:nth-child(1), .flag-col:nth-child(2), .flag-col:nth-child(3) { background: #D91023; }
.flag-col:nth-child(4), .flag-col:nth-child(5), .flag-col:nth-child(6) { background: #F7F3ED; }
.flag-col:nth-child(7), .flag-col:nth-child(8), .flag-col:nth-child(9) { background: #D91023; }
@keyframes flag-ripple {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}
/* static fabric sheen (no motion, adds depth) */
.flag::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 30%, rgba(0,0,0,0.12) 70%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
}

/* ============================================================
   RISK ENGINE (flagship differentiator, light)
   Sits right after the hero, so it clears the overhanging hero shot.
   ============================================================ */
.risk { padding: 150px 0 92px; }
.risk-top {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: center;
}
.risk-copy .h2 { max-width: 22ch; }
.risk-copy .lead { max-width: 46ch; }

/* pipeline pills echo the WMS -> FURIA -> WMS flow shown in the shot */
.risk-flow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 26px;
}
.risk-flow .fl-node {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.01em;
  color: var(--ink-2);
  background: var(--white); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 14px;
}
.risk-flow .fl-node.fl-live {
  color: var(--pri-dark); border-color: var(--pri-light);
  background: var(--pri-xlight);
}
.risk-flow .fl-arrow { color: var(--muted-2); font-weight: 700; }

/* the cropped shot: exposes the risk decisioning panel + RUN FURIA */
.risk-stage { position: relative; }
.risk-browser { box-shadow: var(--shadow-lift); }
.risk-crop {
  display: block; position: relative;
  aspect-ratio: 16 / 11;
  background-image: url(shots/loans-master-detail.png);
  background-repeat: no-repeat;
  background-size: 158%;
  background-position: 100% 86%;
  transition: background-size .3s ease;
}
.risk-crop::after { /* hover affordance, same family as a.browser shots */
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 0 rgba(220,38,38,0);
  transition: box-shadow .2s ease;
}
.risk-browser:hover .risk-crop { background-size: 163%; }
.risk-crop:focus-visible { outline: 3px solid var(--pri-bright); outline-offset: 3px; }

/* the three proof bullets, a clean triad band under the stage */
.risk-bullets {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
}
.rb {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 22px 26px;
}
.rb-mark {
  display: block; width: 18px; height: 18px; border-radius: 50%; margin-bottom: 15px;
  background: radial-gradient(circle at center, transparent 0 3.4px, var(--pri) 3.5px 5px, transparent 5.1px 6.7px, var(--bronze) 6.8px 8px, transparent 8.1px);
}
.rb h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 8px; }
.rb p { color: var(--muted); font-size: 0.94rem; line-height: 1.55; }

/* ============================================================
   CAPABILITIES (light)
   ============================================================ */
.caps { padding: 96px 0 96px; }
.caps-head { max-width: 760px; margin-bottom: 52px; }
.caps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.cap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 26px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cap:hover { border-color: #dcd8d3; box-shadow: 0 18px 40px -26px rgba(0,0,0,0.35); transform: translateY(-3px); }
.cap-visual { order: -1; }
.cap-body { display: flex; flex-direction: column; gap: 8px; }
.cap h3 { font-size: 1.32rem; font-weight: 800; letter-spacing: -0.02em; }
.cap p { color: var(--muted); font-size: 0.99rem; }

/* wide feature banner: fills the 5-card grid evenly, screenshot beside copy */
.cap-wide { grid-column: 1 / -1; }
@media (min-width: 761px) {
  .cap-wide { flex-direction: row; align-items: center; gap: 34px; padding: 26px; }
  .cap-wide .cap-visual { order: 0; flex: 1 1 56%; min-width: 0; }
  .cap-wide .cap-body { flex: 1 1 44%; }
  .cap-wide h3 { font-size: 1.42rem; }
  .cap-wide p { font-size: 1.04rem; }
}

/* money card: reconciliation motif (no screenshot) */
.ledger {
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--paper));
}
.ledger-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; background: #f3f2f0; border-bottom: 1px solid var(--border);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.ledger-bar .iris { width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at center, transparent 0 2.5px, var(--pri) 2.6px 4px, transparent 4.1px 5.5px, var(--bronze) 5.6px 6.6px, transparent 6.7px); }
.ledger-rows { padding: 8px 14px 12px; display: flex; flex-direction: column; }
.ledger-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px dashed var(--border);
  font-size: 0.86rem; color: var(--ink-2);
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .lbl { width: 92px; flex: none; color: var(--muted); font-weight: 600; }
.ledger-row .track { flex: 1; height: 8px; border-radius: 999px; background: var(--pri-light); overflow: hidden; }
.ledger-row .track span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--pri-bright), var(--pri-dark)); }
.ledger-row.total .lbl { color: var(--ink); }
.ledger-row.total .track { background: #D1FAE5; }
.ledger-row.total .track span { background: linear-gradient(90deg, #34D399, #059669); }
.ledger-check {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin: 4px 14px 12px;
  background: #ECFDF5; color: #059669;
  font-size: 0.76rem; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
}

/* chips row */
.chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 40px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 999px; padding: 9px 16px;
  font-size: 0.86rem; font-weight: 600; color: var(--ink-2);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pri); flex: none; }

/* ============================================================
   WHY US (accordion, light)
   ============================================================ */
.why { padding: 20px 0 96px; }
.why-head { max-width: 760px; margin-bottom: 40px; }
.why-list { display: flex; flex-direction: column; gap: 14px; }
.why-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.why-item[open] {
  border-color: var(--pri-light);
  box-shadow: 0 14px 34px -24px rgba(185,28,28,0.5);
}
.why-item summary {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink);
}
.why-item summary::-webkit-details-marker { display: none; }
.why-item summary::marker { content: ""; }
.why-q { flex: 1; }
.why-ico {
  position: relative; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--border);
  transition: border-color .18s ease;
}
.why-ico::before, .why-ico::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--pri);
}
.why-ico::before { width: 10px; height: 1.6px; }
.why-ico::after { width: 1.6px; height: 10px; transition: opacity .2s ease, transform .2s ease; }
.why-item[open] .why-ico { border-color: var(--pri-light); }
.why-item[open] .why-ico::after { opacity: 0; transform: rotate(90deg); }
.why-item summary:hover .why-ico { border-color: var(--pri); }
.why-item summary:focus-visible { outline: 3px solid var(--pri-bright); outline-offset: -3px; border-radius: var(--radius-sm); }
.why-answer {
  padding: 16px 22px 22px;
  border-top: 1px dashed var(--border);
}
.why-how {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--pri);
  margin-bottom: 9px;
}
.why-how::before {
  content: ""; width: 11px; height: 11px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at center, transparent 0 2px, var(--pri) 2.1px 3px, transparent 3.1px 4.2px, var(--bronze) 4.3px 5.1px, transparent 5.2px);
}
.why-answer p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; max-width: 78ch; }

/* ============================================================
   SEGMENTS (light, tinted)
   ============================================================ */
.segs {
  padding: 96px 0;
  background:
    linear-gradient(180deg, var(--paper), #fff 40%, var(--paper));
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}
.segs-head { max-width: 760px; margin-bottom: 48px; }
.segs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.seg {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  scroll-margin-top: 96px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  position: relative;
}
.seg:hover, .seg:target {
  border-color: var(--pri-light);
  box-shadow: 0 14px 34px -24px rgba(185,28,28,0.5);
  transform: translateY(-3px);
}
.seg:target { border-color: var(--pri); }
.seg-mark {
  width: 16px; height: 16px; border-radius: 50%; margin-bottom: 14px;
  background: radial-gradient(circle at center, transparent 0 3px, var(--pri) 3.1px 4.6px, transparent 4.7px 6.3px, var(--bronze) 6.4px 7.6px, transparent 7.7px);
}
.seg h3 { font-size: 1.06rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 7px; }
.seg p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
/* the 7th tile fills the last row nicely on the 4-col grid */
.seg-wide { grid-column: span 1; }

/* ============================================================
   REAL MARKET (dark band)
   ============================================================ */
.market {
  position: relative; overflow: hidden;
  background: radial-gradient(110% 130% at 85% 0%, var(--dark-2), var(--dark) 60%, #100b09);
  color: var(--on-dark);
  padding: 104px 0;
}
.market .aperture-sm {
  position: absolute; right: -8%; top: -20%; width: 620px; aspect-ratio: 1;
  pointer-events: none; opacity: 0.7;
  background:
    radial-gradient(circle at center, rgba(220,38,38,0.28) 0%, rgba(198,123,62,0.12) 30%, transparent 55%),
    repeating-radial-gradient(circle at center, rgba(228,168,94,0.14) 0 1px, transparent 1px 40px);
  -webkit-mask-image: radial-gradient(circle at center, #000 0 40%, transparent 68%);
  mask-image: radial-gradient(circle at center, #000 0 40%, transparent 68%);
}
.market-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.market h2 { color: var(--on-dark); max-width: 18ch; }
.market p { color: var(--on-dark-mut); margin-top: 20px; font-size: 1.08rem; line-height: 1.6; max-width: 52ch; }
.market-stats { display: flex; flex-direction: column; gap: 14px; }
.mstat {
  display: flex; align-items: flex-start; gap: 15px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dark-line);
  border-radius: 14px;
}
.mstat .iris {
  width: 22px; height: 22px; flex: none; margin-top: 2px;
  border-radius: 50%;
  background: radial-gradient(circle at center, transparent 0 4px, var(--pri-bright) 4.1px 6px, transparent 6.1px 8px, var(--bronze-lit) 8.1px 9.6px, transparent 9.7px);
}
.mstat span { font-size: 1.02rem; font-weight: 600; color: var(--on-dark); line-height: 1.4; }


/* ============================================================
   VIDEO (light)
   ============================================================ */
.video { padding: 104px 0; }
.video-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.video-head .eyebrow { justify-content: center; }
.video-head .lead { margin: 16px auto 0; }
.video-frame { max-width: 940px; margin: 0 auto; position: relative; }
.video-shot { position: relative; }
.video-shot img { width: 100%; height: auto; display: block; filter: saturate(0.96); }
.video-shot::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,17,14,0.05), rgba(23,17,14,0.42));
}
.play {
  position: absolute; inset: 0; margin: auto;
  width: 96px; height: 96px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at center, rgba(255,255,255,0.14) 0 38%, transparent 40%),
              conic-gradient(from 0deg, var(--pri-bright), var(--bronze-lit), var(--pri-bright));
  box-shadow: 0 0 0 10px rgba(255,255,255,0.10), 0 20px 50px -12px rgba(0,0,0,0.6);
}
.play::before { /* aperture inner disc */
  content: ""; position: absolute; inset: 8px; border-radius: 50%;
  background: rgba(23,17,14,0.82);
  border: 1px solid rgba(255,255,255,0.16);
}
.play .tri {
  position: relative; z-index: 1;
  width: 0; height: 0; margin-left: 6px;
  border-left: 22px solid rgba(255,255,255,0.9);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}
.video-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(23,17,14,0.7); color: #fff;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px;
}
.video-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bronze-lit); }
.video-note {
  text-align: center; margin: 22px auto 0; max-width: 60ch;
  color: var(--muted); font-size: 0.98rem;
}

/* ============================================================
   SECURITY (dark band, shield motif)
   ============================================================ */
.security {
  position: relative; overflow: hidden;
  background: radial-gradient(115% 130% at 12% 0%, var(--dark-2), var(--dark) 60%, #100b09);
  color: var(--on-dark);
  padding: 104px 0;
  border-top: 1px solid var(--dark-line);
}
.security .aperture-sm {
  position: absolute; left: -10%; top: -18%; width: 560px; aspect-ratio: 1;
  pointer-events: none; opacity: 0.6;
  background:
    radial-gradient(circle at center, rgba(220,38,38,0.26) 0%, rgba(198,123,62,0.12) 30%, transparent 55%),
    repeating-radial-gradient(circle at center, rgba(228,168,94,0.13) 0 1px, transparent 1px 40px);
  -webkit-mask-image: radial-gradient(circle at center, #000 0 40%, transparent 68%);
  mask-image: radial-gradient(circle at center, #000 0 40%, transparent 68%);
}
.sec-top {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center;
}
.security h2 { color: var(--on-dark); max-width: 20ch; }
.security .lead { color: var(--on-dark-mut); max-width: 58ch; }
.sec-badges { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sec-badges li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--dark-line);
  border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--on-dark);
}
.sec-dot {
  width: 11px; height: 11px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at center, transparent 0 1.8px, var(--pri-bright) 1.9px 2.9px, transparent 3px 4px, var(--bronze-lit) 4.1px 5.1px, transparent 5.2px);
}
.sec-art { display: flex; justify-content: center; }
.shield-svg {
  width: min(340px, 82%); height: auto;
  filter: drop-shadow(0 24px 54px rgba(220,38,38,0.28));
}
.sec-ring-mid { transform-origin: 130px 140px; animation: sec-pulse 3.6s ease-in-out infinite; }
@keyframes sec-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.9; } }

/* ============================================================
   FINAL CTA (crimson->bronze band)
   ============================================================ */
.final {
  position: relative; overflow: hidden;
  background: linear-gradient(125deg, var(--pri-dark) 0%, var(--pri) 42%, var(--bronze-deep) 100%);
  color: #fff;
  padding: 108px 0;
  text-align: center;
}
.final::after {
  content: ""; position: absolute; left: 50%; top: -40%; transform: translateX(-50%);
  width: 900px; aspect-ratio: 1; pointer-events: none; opacity: 0.5;
  background: repeating-radial-gradient(circle at center, rgba(255,255,255,0.10) 0 1px, transparent 1px 48px);
  -webkit-mask-image: radial-gradient(circle at center, #000 0 42%, transparent 66%);
  mask-image: radial-gradient(circle at center, #000 0 42%, transparent 66%);
}
.final-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.final .eyebrow { color: rgba(255,255,255,0.85); justify-content: center; }
.final .eyebrow::before {
  background: radial-gradient(circle at center, transparent 0 2.5px, #fff 2.6px 3.6px, transparent 3.7px 5px, rgba(255,255,255,0.7) 5.1px 6px, transparent 6.1px);
}
.final h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.final p { color: rgba(255,255,255,0.9); font-size: 1.14rem; margin: 20px auto 34px; max-width: 54ch; line-height: 1.55; }
.final-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final .btn-primary {
  background: #fff; color: var(--pri-dark);
  box-shadow: 0 14px 34px -12px rgba(0,0,0,0.4);
}
.final .btn-primary:hover { background: #fff; color: var(--pri); }
.final .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.final .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); }

/* architect bio card */
.final-bio {
  position: relative; z-index: 2;
  margin: 46px auto 0; max-width: 660px;
  display: flex; align-items: center; gap: 22px; text-align: left;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 18px; padding: 22px 26px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.bio-avatar {
  flex: none; width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; position: relative;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.4), rgba(255,255,255,0.05) 60%),
    conic-gradient(from 210deg, var(--bronze-lit), var(--pri-bright), var(--bronze-lit));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35), 0 12px 26px -10px rgba(0,0,0,0.55);
}
.bio-avatar::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.42); }
.bio-avatar span { position: relative; z-index: 1; font-weight: 800; font-size: 1.55rem; letter-spacing: 0.02em; color: #fff; }
.bio-label { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.82); }
.bio-name { font-size: 1.18rem; font-weight: 800; color: #fff; margin-top: 2px; }
.bio-text { font-size: 0.92rem; color: rgba(255,255,255,0.9); line-height: 1.5; margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: var(--on-dark-mut);
  padding: 52px 0 40px;
}
.footer-grid {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand b { color: var(--on-dark); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; display: block; }
.footer-brand small { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-mut); }
.footer-right { text-align: right; max-width: 46ch; }
.footer-contact { display: flex; gap: 8px 18px; justify-content: flex-end; flex-wrap: wrap; margin-bottom: 12px; }
.footer-contact a { color: var(--bronze-lit); font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }
.footer-legal { font-size: 0.82rem; line-height: 1.55; color: var(--on-dark-mut); }
.footer-bottom {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--dark-line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--on-dark-mut);
}
.footer-lang { display: inline-flex; gap: 4px; }
.footer-lang button {
  border: 1px solid var(--dark-line); background: transparent; color: var(--on-dark-mut);
  border-radius: 999px; padding: 5px 12px; font-size: 0.72rem; font-weight: 700; cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.footer-lang button:hover { color: var(--on-dark); border-color: rgba(255,255,255,0.35); }
.footer-lang button[aria-pressed="true"] { color: #fff; border-color: var(--bronze-lit); }

/* ============================================================
   Focus visibility (a11y)
   ============================================================ */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--pri-bright);
  outline-offset: 2px;
  border-radius: 6px;
}
.hero a:focus-visible, .market a:focus-visible, .final a:focus-visible,
.site-header a:focus-visible, .lang button:focus-visible {
  outline-color: var(--bronze-lit);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .segs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1060px) {
  /* with the larger brand lockup, collapse the nav a touch earlier so the
     header stays a clean single line (the longest case is ES). */
  .nav { display: none; }
}
@media (max-width: 920px) {
  .market-grid { grid-template-columns: 1fr; gap: 34px; }
  .sec-top { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 768px) {
  /* wiekszy obszar tapu przelacznika jezyka (audyt UX: min ~44px) */
  .lang button { padding: 11px 12px; }
  .footer-lang button { padding: 11px 12px; }

  body { font-size: 16px; }
  /* header na mobile ma 88px, wiec margines hero musi byc w parze */
  .hero { padding-top: 118px; margin-top: -88px; }
  /* na waskim ekranie pytania hero wracaja jedno pod drugie */
  .hero-qa-row { grid-template-columns: 1fr; }
  .hero-shot { margin-bottom: -48px; }

  /* -- PACKAGE PANEL: tighter, single-column lists -- */
  .pkg { margin-top: 40px; }
  .pkg-panel { border-radius: 20px; padding: 24px 20px; }
  .pkg-case-list { grid-template-columns: 1fr; }
  .pkg-price-grid { flex-direction: column; }
  /* in a column layout the inherited flex-basis (210px) becomes a fixed
     HEIGHT and leaves ~130px of dead space in each price card */
  .pkg-price-card { flex-basis: auto; }
  /* smaller brand lockup on phones so header + language switch fit at 360px */
  .site-header .wrap { gap: 12px; height: 88px; }
  .brand-logo { width: 83px; height: 68px; }
  .brand img { width: 83px; height: 83px; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { display: none; }
  .header-cta { display: none; }
  .footer-right { text-align: left; }
  .footer-contact { justify-content: flex-start; }

  /* -- RISK: one tight crop on the essence, compact bullets -- */
  .risk { padding: 92px 0 56px; }
  .risk-top { grid-template-columns: 1fr; gap: 26px; }
  .risk-copy .h2 { max-width: none; }
  .risk-copy .lead { max-width: none; }
  .risk-flow { margin-top: 18px; }
  .risk-crop {
    aspect-ratio: 3 / 2;
    background-size: 176%;
    background-position: 100% 88%;
  }
  .risk-bullets { grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
  .rb { padding: 15px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 13px; align-items: start; }
  .rb-mark { margin-bottom: 0; margin-top: 3px; width: 15px; height: 15px; }
  .rb h3 { font-size: 1rem; margin-bottom: 3px; }
  .rb p { font-size: 0.9rem; grid-column: 2; }

  /* -- CAPABILITIES: compact rows (thumbnail + title + line) -- */
  .caps { padding: 60px 0 64px; }
  .caps-head { margin-bottom: 26px; }
  .caps-grid { grid-template-columns: 1fr; gap: 12px; }
  .cap {
    flex-direction: row; align-items: center; gap: 16px;
    padding: 13px 15px; border-radius: 13px;
  }
  .cap:hover { transform: none; }
  .cap-visual { order: -1; flex: 0 0 106px; width: 106px; }
  .cap .browser { border: 1px solid var(--border); border-radius: 11px; box-shadow: none; }
  .cap a.browser:hover { transform: none; box-shadow: none; }
  .cap .browser-bar { display: none; }
  .cap .browser-shot { height: 82px; overflow: hidden; border-radius: 10px; }
  .cap .browser-shot img { height: 100%; width: 100%; object-fit: cover; object-position: left top; }
  .cap .browser-shot::after { display: none; }
  .cap-body { gap: 5px; }
  .cap h3 { font-size: 1.05rem; }
  .cap p { font-size: 0.9rem; }

  /* money card thumbnail: an aperture tile stands in for the ledger */
  .cap-money .ledger { display: none; }
  .cap-money .cap-visual {
    flex: 0 0 106px; width: 106px; height: 82px;
    border-radius: 11px; border: 1px solid var(--border);
    background: radial-gradient(circle at 50% 42%, var(--pri-xlight), #fff 72%);
    position: relative; overflow: hidden;
  }
  .cap-money .cap-visual::after {
    content: ""; position: absolute; inset: 0; margin: auto;
    width: 44px; height: 44px; border-radius: 50%;
    background: radial-gradient(circle at center, transparent 0 8px, var(--pri) 8.5px 11.5px, transparent 12px 15px, var(--bronze) 15.5px 18.5px, transparent 19px);
  }

  /* wide card is just another compact row on mobile; its copy is ~4x longer,
     so pin the thumbnail to the top instead of letting it float centered */
  .cap-wide { grid-column: auto; align-items: flex-start; }
  .cap-wide .cap-visual { margin-top: 2px; }

  /* -- WHY US: tighter accordion -- */
  .why { padding: 12px 0 60px; }
  .why-head { margin-bottom: 24px; }
  .why-list { gap: 10px; }
  .why-item summary { padding: 15px 16px; gap: 13px; font-size: 0.98rem; }
  .why-ico { width: 20px; height: 20px; }
  .why-answer { padding: 13px 16px 17px; }
  .why-answer p { font-size: 0.92rem; }

  /* -- SEGMENTS: two tight columns, shorter tiles -- */
  .segs { padding: 60px 0; }
  .segs-head { margin-bottom: 26px; }
  .segs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .seg { padding: 15px 14px; border-radius: 12px; }
  .seg:hover { transform: none; }
  .seg-mark { width: 12px; height: 12px; margin-bottom: 9px; }
  .seg h3 { font-size: 0.97rem; margin-bottom: 5px; }
  .seg p { font-size: 0.84rem; line-height: 1.42; }

  /* -- MARKET + VIDEO: pulled in -- */
  .market { padding: 64px 0; }
  .video { padding: 56px 0; }
  .video-head { margin-bottom: 26px; }
  .video-frame { max-width: 460px; }
  .video-shot { border-radius: 0; }
  .play { width: 62px; height: 62px; }
  .play .tri { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 4px; }

  /* -- SECURITY: stack, shield under the copy -- */
  .security { padding: 60px 0; }
  .sec-top { grid-template-columns: 1fr; gap: 28px; }
  .security h2 { max-width: none; }
  .sec-art { order: 1; }
  .shield-svg { width: min(240px, 66%); }

  .final { padding: 72px 0; }
  /* -- BIO: stack avatar over copy, centered -- */
  .final-bio { flex-direction: column; text-align: center; gap: 16px; margin-top: 34px; padding: 22px 20px; }
  .sec-badges { gap: 8px; }
}
@media (max-width: 460px) {
  .wrap { padding: 0 18px; }
  .btn { width: 100%; }
  .hero-cta, .final-cta { width: 100%; }
  .lang button { padding: 11px 10px; }
  .risk-crop { background-size: 188%; }
}

/* ============================================================
   MOTION / A11Y preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .aperture { animation: none; opacity: 0.9; transform: translateX(-50%); }
  .flag-col { animation: none; transform: none; }
}

/* ============================================================
   PRINT  ->  compact A4 one-pager (for PDF)
   ============================================================ */
@media print {
  @page { size: A4; margin: 14mm 14mm; }
  html, body { background: #fff !important; color: #000 !important; font-size: 10.5pt; }
  .site-header, .hero-shot, .hero .aperture, .hero-cta, .hero-cta-note, .hero-trust,
  .chips, .video, .market .aperture-sm, .final-cta,
  .footer-lang, .footer-bottom, .cap-visual, .browser-bar,
  .risk-stage, .risk-flow, .sec-art, .security .aperture-sm, .bio-avatar { display: none !important; }

  .hero {
    margin: 0; padding: 0 0 10pt; background: #fff !important; color: #000 !important; overflow: visible;
  }
  .hero::after { display: none; }
  .hero-inner { text-align: left; }
  .hero .eyebrow { color: #000; justify-content: flex-start; }
  .hero h1 { font-size: 22pt; color: #000; max-width: none; margin: 0 0 8pt; }
  .hero h1 .accent { color: #000; -webkit-text-fill-color: #000; }
  .hero-sub { color: #222; font-size: 11pt; max-width: none; margin: 0 0 8pt; }

  /* hero extra paragraphs -> flat black on the one-pager */
  .hero-extra { max-width: none; margin: 0 0 8pt; gap: 4pt; }
  .hero-extra p { color: #222 !important; font-size: 10pt; }
  .hero-qa-row { display: block; }
  .hero-qa { border: none; background: none; text-align: left; }
  .hero-qa summary { padding: 0; font-size: 10.5pt; color: #000; justify-content: flex-start; }
  .hero-qa-ico { display: none; }
  .hero-qa .hero-qa-a { padding: 0; }
  .hero-extra .hero-p3 { color: #000 !important; border-top-color: #ccc; }
  .hero-extra .hero-p3 .accent { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; }

  /* package panel -> flat card, no blur, no shadow (kept on the one-pager) */
  .pkg { margin: 8pt 0 0; max-width: none; background: #fff !important; }
  .pkg-panel {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    background: #fff !important; border: 1px solid #ccc !important;
    box-shadow: none !important; padding: 8pt 10pt; border-radius: 4pt;
  }
  .pkg-panel::before, .pkg-panel::after { display: none !important; }
  .pkg-intro, .pkg-list li, .pkg-case-h, .pkg-go-h, .pkg-route, .pkg-motto { color: #000 !important; }
  .pkg-case-list li { color: #333 !important; }
  .pkg-list li::before { color: #000 !important; }
  .pkg-case-list li::before { background: #000 !important; }
  .pkg-price-card { background: #fff !important; border: 1px solid #bbb !important; padding: 5pt 8pt; }
  .pkg-price-label { color: #333 !important; }
  .pkg-price-value { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; font-size: 13pt; }
  .pkg-divider { background: #ccc !important; margin: 8pt 0; }
  .pkg-go { margin-top: 10pt; }
  .pkg-go .btn { display: none !important; }
  /* keep the flag as a flat colour graphic (shows the delivery country) */
  .flag { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .flag-col { animation: none !important; transform: none !important; }

  section, .risk, .caps, .segs, .market, .security, .final { padding: 12pt 0 !important; background: #fff !important; color: #000 !important; break-inside: avoid; border: 0; }

  /* security -> compact list on the one-pager */
  .security h2, .security .lead { color: #000 !important; max-width: none; }
  .sec-top { display: block; }
  .sec-badges { margin-top: 6pt; gap: 6pt; }
  .sec-badges li { background: #fff; border: 1px solid #bbb; color: #000; padding: 3pt 7pt; font-size: 9pt; }
  .sec-dot { display: none; }

  /* architect bio -> plain text */
  .final-bio { display: block; background: #fff !important; border: 0; padding: 6pt 0 0; margin: 8pt 0 0; text-align: left; }
  .bio-label { color: #000 !important; }
  .bio-name { color: #000 !important; font-size: 12pt; }
  .bio-text { color: #333 !important; }

  /* risk section -> compact list */
  .risk-top { display: block; }
  .risk-copy .h2, .risk-copy .lead { max-width: none; }
  .risk-bullets { display: block; margin-top: 6pt; }
  .rb { display: block; border: 0; padding: 3pt 0; break-inside: avoid; }
  .rb-mark { display: none; }
  .rb h3 { font-size: 11pt; margin: 0; }
  .rb h3::before { content: "\2022  "; }
  .rb p { font-size: 9.5pt; color: #333; }
  .eyebrow { color: #000 !important; margin-bottom: 6pt; }
  .eyebrow::before { display: none; }
  .h2, .market h2, .final h2 { font-size: 15pt; color: #000 !important; }
  .lead { color: #222 !important; }

  .caps-head, .segs-head { margin-bottom: 10pt; }
  .caps-grid { display: block; }
  .cap {
    display: block; border: 0; padding: 4pt 0; box-shadow: none; transform: none;
    break-inside: avoid;
  }
  .cap h3 { font-size: 11.5pt; margin: 0; }
  .cap h3::before { content: "\2022  "; }
  .cap p { color: #333; font-size: 9.5pt; }

  .segs-grid { display: block; columns: 2; column-gap: 16pt; }
  .seg { border: 0; padding: 3pt 0; box-shadow: none; transform: none; break-inside: avoid; }
  .seg-mark { display: none; }
  .seg h3 { font-size: 10.5pt; margin: 0; }
  .seg h3::before { content: "\2022  "; }
  .seg p { font-size: 9pt; color: #333; }

  /* why us -> compact expanded list */
  .why { padding: 12pt 0 !important; }
  .why-head { margin-bottom: 8pt; }
  .why-list { display: block; }
  .why-item { border: 0 !important; box-shadow: none !important; padding: 4pt 0; break-inside: avoid; }
  .why-item summary { padding: 0; font-size: 10.5pt; color: #000; }
  .why-item summary::before { content: "\2022  "; }
  .why-ico { display: none; }
  .why-answer { display: block !important; border: 0; padding: 2pt 0 0 10pt; }
  .why-how { color: #000 !important; margin-bottom: 2pt; }
  .why-how::before { display: none; }
  .why-answer p { color: #333; font-size: 9pt; max-width: none; }

  .market-grid { grid-template-columns: 1fr; gap: 8pt; }
  .market p { color: #222 !important; }
  .market-stats { flex-direction: row; flex-wrap: wrap; gap: 8pt; }
  .mstat { background: #fff; border: 1px solid #bbb; padding: 6pt 8pt; }
  .mstat .iris { display: none; }
  .mstat span { color: #000; font-size: 9.5pt; }

  .final { text-align: left; }
  .final p { color: #222 !important; }

  .site-footer { background: #fff !important; color: #000 !important; padding: 10pt 0 0; break-inside: avoid; }
  .footer-brand b, .footer-brand small { color: #000 !important; }
  .footer-contact { justify-content: flex-start; }
  .footer-contact a { color: #000 !important; }
  .footer-legal { color: #333 !important; }
}

/* Linia z adresami widoczna tylko w druku (PDF one-pager): na ekranie
   linki sa klikalne, na kartce musza byc wypisane. */
.print-only { display: none; }
@media print {
  .print-only {
    display: block;
    font-size: 10pt;
    font-weight: 700;
    margin-top: 8pt;
    /* the copy inside .pkg-panel inherits the on-dark ivory color and
       would print white on white */
    color: #000 !important;
  }
}
