/* Strona wiembud.pl - kolory i fonty jak w aplikacji (apps/web/src/styles.css, apps/mobile/src/ui.tsx) */

/* Fonty hostowane lokalnie (licencja OFL), bez Google Fonts. latin-ext = polskie znaki */
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 800; font-display: swap; src: url('../fonts/poppins-latin-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 800; font-display: swap; src: url('../fonts/poppins-latin-ext-800.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-latin-wght.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-latin-ext-wght.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0E1B3D;
  --navy-2: #172A57;
  --navy-3: #22396F;
  --blue: #1F5FD6;
  --blue-light: #5B8DFF;
  --blue-soft: #E8EFFC;
  --yellow: #F6C21C;
  --yellow-soft: #FFF6D6;
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --line: #E2E7F0;
  --text: #0E1B3D;
  --muted: #5B6684;
  --on-dark-muted: #C9D3EA;
  --ok: #1E8E5A;
  --warn: #B7791F;
  --err: #C62828;
  --shadow: 0 10px 30px rgba(14, 27, 61, 0.08);
  --radius: 18px;
  --radius-lg: 28px;
  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; max-width: 720px; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

svg:not([viewBox]) { width: 1em; height: 1em; flex: none; }

/* Logo jak komponent Logo w aplikacji: kask nad "Wiem", "Bud" na niebiesko */
.logo { position: relative; display: inline-flex; align-items: flex-end; padding-top: 14px; font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.logo-hat { position: absolute; left: 3px; top: 1px; width: 24px; height: 15px; }
.logo-wiem { color: var(--navy); }
.logo-bud { color: var(--blue); }
.logo-wiem.on-dark { color: #fff; }
.logo-bud.on-dark { color: var(--blue-light); }
.logo-sm { font-size: 20px; padding-top: 11px; }
.logo-sm .logo-hat { width: 18px; height: 12px; left: 2px; top: 0; }
.brand { text-decoration: none; }

/* Pasek górny */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 246, 250, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 13px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); background: #E9EDF5; }
.nav .nav-login { display: inline-flex; align-items: center; gap: 7px; margin-left: 8px; color: var(--navy); border: 1.5px solid var(--line); background: #fff; }
.nav .nav-login:hover { color: var(--navy); border-color: #C9D2E3; background: #fff; }
.nav .nav-cta { display: inline-flex; align-items: center; gap: 7px; margin-left: 8px; color: var(--navy); background: var(--yellow); }
.nav .nav-cta:hover { color: var(--navy); background: #FFD03D; }
@media (max-width: 760px) { .nav a:not(.nav-cta):not(.nav-login) { display: none; } }
@media (max-width: 400px) { .nav .nav-login, .nav .nav-cta { padding: 8px 11px; font-size: 14px; margin-left: 4px; } .nav .nav-login svg { display: none; } }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 14px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { font-size: 20px; }
.btn-yellow { color: var(--navy); background: var(--yellow); box-shadow: 0 12px 28px rgba(246, 194, 28, 0.28); }
.btn-yellow:hover { background: #FFD03D; transform: translateY(-1px); }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.btn-ghost-light svg { font-size: 18px; }
@media (max-width: 480px) { .hero-actions .btn { width: 100%; } }

/* HERO */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--navy);
  padding: 56px 0 72px;
}
.hero::before {
  /* siatka jak na rysunku technicznym */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(91, 141, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 141, 255, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 85%);
}
.hero::after {
  content: ''; position: absolute; pointer-events: none; inset: auto -10% -40% 30%; height: 80%;
  background: radial-gradient(closest-side, rgba(31, 95, 214, 0.45), transparent);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.25fr 0.75fr; } .hero { padding: 84px 0 104px; } }

.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 22px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--on-dark-muted); font-size: 13px; font-weight: 600;
}
.badge-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--yellow); box-shadow: 0 0 0 4px rgba(246, 194, 28, 0.2); }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; }
.hl { color: var(--yellow); }
.lead { margin-top: 22px; max-width: 560px; font-size: 18px; color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { margin-top: 16px; font-size: 13px; color: #8E9BBD; }
.slogan { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--blue-light); letter-spacing: 0.01em; }

/* Telefon z ekranem kolejki faktur (App.tsx, KolejkaFaktur) */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.phone {
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 9 / 17.6;
  padding: 10px; border-radius: 46px; background: #050B1C;
  box-shadow: 0 50px 90px rgba(0, 0, 0, 0.45), inset 0 0 0 2px #2A3A63;
}
.phone-notch { position: absolute; top: 18px; left: 50%; width: 82px; height: 22px; margin-left: -41px; border-radius: 999px; background: #050B1C; z-index: 2; }
.app { height: 100%; border-radius: 37px; overflow: hidden; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-size: 10px; line-height: 1.35; }
.app-head { background: var(--navy); padding: 44px 14px 12px; }
.app-head-row { display: flex; align-items: center; justify-content: space-between; }
.app-chip { padding: 4px 10px; border-radius: 99px; background: var(--navy-2); color: var(--on-dark-muted); font-weight: 700; font-size: 9.5px; }
.app-tabs { display: flex; gap: 6px; margin-top: 11px; white-space: nowrap; }
.app-tabs span { padding: 4px 9px; border-radius: 99px; background: var(--navy-2); color: var(--on-dark-muted); font-weight: 700; font-size: 9.5px; }
.app-tabs .active { background: var(--yellow); color: var(--navy); }
.app-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 11px 11px 0; overflow: hidden; }
.app-muted { color: var(--muted); font-size: 9px; }
.app-card { display: flex; flex-direction: column; gap: 4px; padding: 11px; border-radius: 13px; background: #fff; box-shadow: 0 3px 10px rgba(14, 27, 61, 0.07); }
.app-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.app-pill { padding: 2px 8px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 9px; }
.app-supplier { font-weight: 800; font-size: 13px; }
.app-amount { font-weight: 900; font-size: 21px; letter-spacing: -0.02em; }
.app-lines { margin-top: 3px; padding-top: 6px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.app-proposal { border: 2px solid var(--blue); }
.app-label { font-size: 8.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.app-pos { font-weight: 800; font-size: 13.5px; }
.app-btn-primary { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 11px; background: var(--blue); color: #fff; font-weight: 700; font-size: 12px; }
.app-btn-primary svg { font-size: 14px; }
.app-btn-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.app-btn-row span { display: grid; place-items: center; height: 30px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 9.5px; }

.float-card {
  position: absolute; z-index: 2; padding: 14px 16px; border-radius: 16px; background: #fff; color: var(--text);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}
.float-budget { left: -48px; bottom: -14px; width: 230px; display: flex; flex-direction: column; gap: 9px; }
.float-title { font-family: var(--font-head); font-weight: 700; font-size: 13px; }
.mini-bar { display: grid; grid-template-columns: 70px 1fr 38px; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.mini-bar i, .dash-row i { display: block; height: 8px; border-radius: 99px; background: #E9EDF5; overflow: hidden; }
.mini-bar b, .dash-row b { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.mini-bar em, .dash-row em { font-style: normal; text-align: right; color: var(--muted); }
.mini-bar.over b, .dash-row.over b { background: var(--err); }
.mini-bar.over em, .dash-row.over em { color: var(--err); font-weight: 700; }
.float-ok { right: -36px; top: -8px; display: flex; align-items: center; gap: 11px; }
.float-ok strong { display: block; font-size: 13px; }
.float-ok div span { display: block; font-size: 12px; color: var(--muted); }
.float-ok-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #E3F5EC; color: var(--ok); font-size: 18px; }
@media (max-width: 959px) { .float-budget { left: calc(50% - 230px); } .float-ok { right: calc(50% - 230px); } }
@media (max-width: 560px) { .float-card { display: none; } }

/* Pasek faktów */
.facts { position: relative; z-index: 2; margin-top: -36px; }
.facts-grid { display: grid; gap: 12px; }
@media (min-width: 860px) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }
.fact { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.fact strong { display: block; font-size: 15px; }
.fact div span { display: block; font-size: 14px; color: var(--muted); }
.fact-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--yellow-soft); color: #8A6400; font-size: 21px; }

/* Sekcje */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-alt { background: #EAEEF6; }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-lead { color: var(--on-dark-muted); }
.eyebrow { margin-bottom: 12px; font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); }
.eyebrow-light { color: var(--yellow); }
.section-lead { margin-top: 16px; max-width: 660px; font-size: 17px; color: var(--muted); }

/* Kroki procesu */
.flow { display: grid; gap: 16px; margin-top: 48px; counter-reset: krok; }
@media (min-width: 880px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.flow-step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.flow-step p { color: var(--muted); font-size: 15px; }
.flow-no { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: #E9EDF5; }
.flow-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); font-size: 24px; margin-bottom: 6px; }
@media (min-width: 880px) {
  .flow-step:not(:last-child)::after {
    content: ''; position: absolute; top: 54px; right: -20px; width: 20px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px);
  }
}

/* Role */
.roles { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 880px) { .roles { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.role { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.role-top { display: flex; align-items: center; justify-content: space-between; }
.role-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; }
.where { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 99px; background: #EEF1F6; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.where-android { background: var(--yellow); color: var(--navy); }
.role-featured { background: var(--navy); color: #fff; box-shadow: 0 24px 50px rgba(14, 27, 61, 0.25); }
.role-featured .ticks li { color: var(--on-dark-muted); }
.role-featured .ticks li::before { color: var(--yellow); }
.role-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-weight: 700; text-decoration: none; }
.role-link:hover { text-decoration: underline; }

.ticks { display: flex; flex-direction: column; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 99px;
  background: currentColor; color: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm4.9 7.6l-6.7 7.4-3.6-3.4 1.4-1.5 2.1 2 5.3-5.8z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm4.9 7.6l-6.7 7.4-3.6-3.4 1.4-1.5 2.1 2 5.3-5.8z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ticks-light { margin-top: 28px; }
.ticks-light li { color: var(--on-dark-muted); }
.ticks-light li::before { color: var(--yellow); }

/* Karty funkcji */
.cards { display: grid; gap: 16px; margin-top: 48px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14, 27, 61, 0.12); }
.card p { color: var(--muted); font-size: 15px; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; margin-bottom: 4px; }

.c-navy { background: var(--navy); color: var(--yellow); }
.c-blue { background: var(--blue-soft); color: var(--blue); }
.c-yellow { background: var(--yellow); color: var(--navy); }
.c-orange { background: #FDF3E1; color: var(--warn); }
.c-green { background: #E3F5EC; color: var(--ok); }

/* Controlling */
.control-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .control-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.dash { padding: 24px; border-radius: var(--radius-lg); background: #fff; color: var(--text); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35); }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-head strong { font-family: var(--font-head); font-size: 18px; }
.dash-code { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 8px; background: var(--navy); color: var(--yellow); font-family: var(--font-head); font-weight: 700; font-size: 13px; vertical-align: 2px; }
.dash-pill { padding: 4px 11px; border-radius: 99px; background: #E3F5EC; color: var(--ok); font-size: 12px; font-weight: 700; white-space: nowrap; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.dash-kpis div { padding: 12px; border-radius: 12px; background: var(--bg); }
.dash-kpis span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.dash-kpis strong { display: block; margin-top: 2px; font-family: var(--font-head); font-size: clamp(14px, 2.2vw, 18px); font-weight: 800; white-space: nowrap; }
.dash-rows { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.dash-row { display: grid; grid-template-columns: minmax(110px, 160px) 1fr 44px; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.dash-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-row i { height: 10px; }
.dash-row.high b { background: var(--yellow); }
.dash-alert { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: var(--err); font-size: 14px; font-weight: 600; }
.dash-alert svg { font-size: 18px; }
@media (max-width: 480px) { .dash { padding: 18px; } .dash-row { grid-template-columns: 96px 1fr 40px; font-size: 13px; gap: 8px; } .dash-kpis div { padding: 10px 8px; } }

/* Pobieranie */
.download {
  position: relative; overflow: hidden; display: grid; gap: 36px; align-items: center;
  padding: 36px 24px; border-radius: var(--radius-lg); background: var(--navy); color: #fff;
  box-shadow: 0 40px 80px rgba(14, 27, 61, 0.28);
}
.download::before {
  content: ''; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 95, 214, 0.55), transparent);
}
.download > * { position: relative; }
@media (min-width: 800px) { .download { grid-template-columns: 1fr auto; padding: 56px; } }
.download h2 { color: #fff; }
.download-copy > p:not(.eyebrow) { margin-top: 14px; font-size: 17px; color: var(--on-dark-muted); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 12px 22px 12px 18px;
  border-radius: 14px; text-decoration: none; transition: transform .15s ease, background-color .15s ease;
}
.store svg { font-size: 30px; }
.store small { display: block; font-size: 12px; font-weight: 600; line-height: 1.2; opacity: 0.8; }
.store strong { display: block; font-family: var(--font-head); font-size: 19px; line-height: 1.2; }
.store-android { background: var(--yellow); color: var(--navy); }
.store-android:hover { background: #FFD03D; transform: translateY(-1px); }
.store-ios { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.2); }
.store-ios:not(.is-soon):hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }
.store.is-soon { cursor: default; opacity: 0.6; }
.download-meta { font-size: 14px; }
.download-copy .download-meta { margin-top: 16px; color: #8E9BBD; font-size: 14px; }
.ios-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); font-size: 14px; color: var(--on-dark-muted); max-width: 560px; }
.download-copy .ios-note { font-size: 14px; }
.ios-note svg { font-size: 18px; margin-top: 1px; color: #fff; }
.qr-card { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px; border-radius: 24px; background: #fff; color: var(--navy); }
.qr { width: 220px; height: 220px; display: grid; place-items: center; text-align: center; font-size: 14px; }
.qr svg { width: 100%; height: 100%; }
.qr-caption { font-weight: 700; font-size: 14px; }
@media (max-width: 480px) { .store { width: 100%; } }

.install { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 880px) { .install { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.install li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.install strong { display: block; font-size: 15px; }
.install span:not(.install-no) { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.install-no { width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center; flex: none; background: var(--navy); color: var(--yellow); font-family: var(--font-head); font-weight: 800; }

/* Widoczność zależna od urządzenia i konfiguracji (js/main.js) */
.on-mobile { display: none; }
[data-platform="android"] .on-mobile, [data-platform="ios"] .on-mobile { display: block; }
[data-platform="android"] .on-desktop, [data-platform="ios"] .on-desktop { display: none; }
[data-platform="android"] .qr-card, [data-platform="ios"] .qr-card { display: none; }
[data-platform="ios"] .ios-note { background: #fff; color: var(--navy); }
[data-platform="ios"] .ios-note svg { color: var(--navy); }
[data-apk="none"] .qr-card { display: none; }
[data-ios="ready"] [data-ios-note], [data-ios="ready"] [data-ios-inline] { display: none; }
[hidden] { display: none !important; }

/* FAQ */
.faq-wrap { display: grid; gap: 36px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(14, 27, 61, 0.05); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px;
  cursor: pointer; list-style: none; font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { font-size: 20px; color: var(--blue); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* Stopka */
.footer { padding: 32px 0 40px; background: var(--bg); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.footer p { font-size: 14px; color: var(--muted); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .store, .faq summary svg { transition: none; }
}
.nowrap { white-space: nowrap; }
