/* eMedics landing — wspólny CSS dla index.html i podstron SEO.
 * Wyodrębnione z embedded <style> w index.html (commit Apka-2v8).
 * Zachowuje 1:1 oryginalne reguły. */

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

    :root {
      --navy:      #070d1a;
      --navy-mid:  #0f172a;
      --blue:      #0d6efd;
      --blue-dk:   #0a58ca;
      --text:      #f8fafc;
      --muted:     #94a3b8;
      --line:      rgba(255,255,255,.08);
      --card-bg:   rgba(255,255,255,.04);
      --card-bdr:  rgba(255,255,255,.08);
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', system-ui, sans-serif;
      background: var(--navy);
      color: var(--text);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ── Nav ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 18px 52px;
      background: rgba(7,13,26,.88);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }
    .nav-logo {
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif;
      font-size: 20px; font-weight: 700; letter-spacing: -.01em;
      color: #fff; text-decoration: none;
    }
    .nav-logo span { color: var(--blue); }
    .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
    .nav-links a:hover { color: #fff; }
    .nav-cta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
    .nav-quick-demo {
      color: #fbbf24; text-decoration: none; font-size: 14px; font-weight: 600;
      white-space: nowrap; border-bottom: 1px dotted rgba(251,191,36,.5);
      transition: border-color .2s;
    }
    .nav-quick-demo:hover { border-bottom-color: #fbbf24; }
    .btn-ghost {
      padding: 8px 20px; border-radius: 8px;
      border: 1px solid rgba(255,255,255,.15); color: #fff;
      font-size: 14px; font-weight: 500; text-decoration: none;
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif;
      transition: border-color .2s, background .2s;
    }
    .btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
    .btn-ghost.gold { border-color: rgba(251,191,36,.4); color: #fbbf24; }
    .btn-ghost.gold:hover { border-color: #fbbf24; background: rgba(251,191,36,.08); }
    .btn-primary {
      padding: 8px 20px; border-radius: 8px;
      background: var(--blue); color: #fff;
      font-size: 14px; font-weight: 600; text-decoration: none;
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif;
      box-shadow: 0 2px 12px rgba(13,110,253,.35);
      transition: background .2s, box-shadow .2s, transform .15s;
    }
    .btn-primary:hover { background: var(--blue-dk); box-shadow: 0 4px 20px rgba(13,110,253,.5); transform: translateY(-1px); }

    /* ── Hero ── */
    .hero {
      min-height: 100vh;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      text-align: center;
      padding: 130px 24px 100px;
      position: relative; overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
      background-size: 36px 36px;
      pointer-events: none;
    }
    .blob {
      position: absolute; border-radius: 50%;
      filter: blur(110px); pointer-events: none;
    }
    .blob-a {
      width: 700px; height: 700px;
      background: rgba(13,110,253,.14);
      top: -200px; left: 50%; transform: translateX(-50%);
      animation: ba 13s ease-in-out infinite alternate;
    }
    .blob-b {
      width: 420px; height: 420px;
      background: rgba(99,102,241,.09);
      bottom: 0; right: -80px;
      animation: bb 17s ease-in-out infinite alternate;
    }
    @keyframes ba { from { transform:translateX(-60%) translateY(0); } to { transform:translateX(-40%) translateY(50px); } }
    @keyframes bb { from { transform:translate(0,0); } to { transform:translate(-40px,-50px); } }

    .hero-inner { position: relative; z-index: 1; max-width: 860px; }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(13,110,253,.10); border: 1px solid rgba(13,110,253,.28);
      border-radius: 100px; padding: 6px 18px;
      font-size: 12px; font-weight: 500; color: #93c5fd;
      margin-bottom: 36px;
      animation: fu .6s ease both;
    }
    .hero-badge::before {
      content: ''; width: 6px; height: 6px;
      background: #60a5fa; border-radius: 50%;
      animation: pd 2s ease-in-out infinite;
    }
    @keyframes pd { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.65)} }

    h1.hero-title {
      font-family: 'IBM Plex Sans Condensed', 'IBM Plex Sans Cond Fallback', 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif;
      font-size: clamp(42px, 6.5vw, 74px);
      font-weight: 700; letter-spacing: -.01em;
      line-height: 1.1; color: #fff;
      margin-bottom: 26px;
      /* Bez entrance-fade: h1 to kandydat na LCP, animation-delay podbijał
         zmierzony LCP o ~0.8s (Chrome liczy paint dopiero po dojsciu do
         pelnej widocznosci). Przyciski i statystyki animuja dalej. */
    }
    h1.hero-title em {
      font-style: normal;
      color: #60a5fa;
    }

    .hero-sub {
      font-size: 18px; font-weight: 300; color: var(--muted);
      max-width: 580px; margin: 0 auto 48px; line-height: 1.7;
      /* Bez entrance-fade: po zdjeciu animacji z h1 to .hero-sub stal sie
         faktycznym elementem LCP (blok tekstu 62k px2 vs 45k px2 dla h1).
         Fade .7s z opoznieniem .2s przesuwal zmierzony LCP z ok. 0.7s na
         ok. 1.7s (pomiar Puppeteer, mobile 4x CPU + 3G). Chrome rejestruje
         paint dopiero przy pelnej widocznosci, wiec kazdy fade-in na
         elemencie LCP wchodzi wprost w metryke. .hero-btns i .hero-stats
         animuja dalej: sa mniejsze i nie wygraja kandydatury na LCP. */
    }

    .hero-btns {
      display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
      animation: fu .7s ease .3s both;
    }
    .btn-hero {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 15px 34px; border-radius: 10px;
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif; font-size: 15px; font-weight: 600;
      text-decoration: none; transition: all .2s;
    }
    .btn-hero.solid {
      background: var(--blue); color: #fff;
      box-shadow: 0 4px 24px rgba(13,110,253,.42);
    }
    .btn-hero.solid:hover { background: var(--blue-dk); box-shadow: 0 8px 36px rgba(13,110,253,.58); transform: translateY(-2px); }
    .btn-hero.outline {
      border: 1px solid rgba(255,255,255,.18); color: #fff;
    }
    .btn-hero.outline:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
    .btn-hero.gold {
      background: #fbbf24; color: #0b1a2e;
      box-shadow: 0 4px 24px rgba(251,191,36,.32);
    }
    .btn-hero.gold:hover { background: #f7c948; box-shadow: 0 8px 32px rgba(251,191,36,.44); transform: translateY(-2px); }

    /* Sciezka niskiego tarcia (trial/cennik) pod glownym CTA: osobna,
       mniejsza waga wizualna niz przycisk 'solid', ale wciaz przycisk,
       nie link tekstowy - ma byc widoczna alternatywa, nie ukryta furtka. */
    .hero-btns-secondary {
      display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
      margin-top: 14px;
      animation: fu .7s ease .38s both;
    }
    .hero-btns-secondary .btn-hero { padding: 11px 24px; font-size: 13.5px; }

    .hero-tertiary-link {
      display: inline-block; margin-top: 16px; font-size: 13px;
      color: #64748b; text-decoration: none;
      border-bottom: 1px dotted #475569;
    }
    .hero-tertiary-link:hover { color: #94a3b8; border-bottom-color: #94a3b8; }

    .hero-stats {
      display: flex; gap: 56px; justify-content: center;
      margin-top: 80px; flex-wrap: wrap;
      animation: fu .7s ease .45s both;
    }
    .stat-item { text-align: center; }
    .stat-num {
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif;
      font-size: 38px; font-weight: 800; letter-spacing: -.04em;
      color: #fff; line-height: 1;
    }
    .stat-num b { color: var(--blue); font-weight: 800; }
    .stat-lbl { font-size: 13px; color: var(--muted); margin-top: 5px; }

    .hero-ecg {
      position: absolute; bottom: 0; left: 0; right: 0;
      height: 64px; overflow: hidden; opacity: .35;
    }
    .hero-ecg svg { width: 200%; height: 64px; animation: ecg 9s linear infinite; }
    @keyframes ecg { from { transform: translateX(0); } to { transform: translateX(-50%); } }

    @keyframes fu { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

    /* ── Sections ── */
    section { padding: 100px 24px; }
    .inner { max-width: 1120px; margin: 0 auto; }
    .s-label {
      font-size: 11px; font-weight: 700; letter-spacing: .14em;
      text-transform: uppercase; color: #60a5fa; margin-bottom: 14px;
    }
    .s-title {
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif;
      font-size: clamp(28px, 4vw, 46px); font-weight: 800;
      letter-spacing: -.035em; line-height: 1.1;
      color: #fff; margin-bottom: 16px;
    }
    .s-sub { font-size: 17px; color: var(--muted); max-width: 540px; line-height: 1.7; }

    /* ── Features grid ── */
    .features { background: rgba(255,255,255,.018); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

    .feat-grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      margin-top: 64px;
      border: 1px solid var(--card-bdr); border-radius: 16px; overflow: hidden;
    }
    .feat-card {
      padding: 38px 34px;
      background: var(--card-bg);
      border-right: 1px solid var(--card-bdr);
      border-bottom: 1px solid var(--card-bdr);
      transition: background .2s;
    }
    .feat-card:hover { background: rgba(255,255,255,.075); }
    .feat-card:nth-child(3n) { border-right: none; }
    .feat-card:nth-last-child(-n+3) { border-bottom: none; }
    .feat-icon {
      width: 46px; height: 46px;
      background: rgba(13,110,253,.14);
      border: 1px solid rgba(13,110,253,.24);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; margin-bottom: 22px;
    }
    .feat-title {
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif;
      font-size: 17px; font-weight: 700; letter-spacing: -.02em;
      color: #fff; margin-bottom: 10px;
    }
    .feat-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

    /* ── Problem section ── */
    .problem { background: var(--navy); }
    .problem-grid {
      display: grid; grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem; margin-top: 3rem;
    }
    .problem-card {
      padding: 2rem 2.2rem;
      background: rgba(239,68,68,.04);
      border: 1px solid rgba(239,68,68,.14);
      border-radius: 14px;
      transition: background .2s;
    }
    .problem-card:hover { background: rgba(239,68,68,.07); }
    .problem-icon { font-size: 1.75rem; margin-bottom: 1rem; display: block; }
    .problem-title {
      font-size: 16px; font-weight: 700; color: #fff;
      margin-bottom: .5rem; letter-spacing: -.01em;
    }
    .problem-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

    /* ── Steps ── */
    .how { background: var(--navy); }
    .steps {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 48px; margin-top: 68px; position: relative;
    }
    .steps::before {
      content: '';
      position: absolute; top: 28px;
      left: calc(16.67% + 24px); right: calc(16.67% + 24px);
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(13,110,253,.45), transparent);
    }
    .step { text-align: center; }
    .step-n {
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif; font-size: 13px; font-weight: 800;
      width: 56px; height: 56px; border-radius: 50%;
      background: rgba(13,110,253,.12); border: 1px solid rgba(13,110,253,.28);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 26px; color: #60a5fa; position: relative; z-index: 1;
    }
    .step-t {
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif; font-size: 19px; font-weight: 700;
      letter-spacing: -.02em; color: #fff; margin-bottom: 12px;
    }
    .step-d { font-size: 14px; color: var(--muted); line-height: 1.7; }

    /* ── Personas ── */
    .personas-grid {
      display: grid; grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem; margin-top: 3rem;
    }
    .persona-card {
      padding: 2rem 2.2rem;
      background: var(--card-bg);
      border: 1px solid var(--card-bdr);
      border-radius: 14px;
      transition: background .2s;
    }
    .persona-card:hover { background: rgba(255,255,255,.07); }
    .persona-icon { font-size: 1.75rem; margin-bottom: 1rem; display: block; }
    .persona-role {
      font-size: 11px; font-weight: 700; letter-spacing: .12em;
      text-transform: uppercase; color: #60a5fa; margin-bottom: .4rem;
    }
    .persona-title {
      font-size: 18px; font-weight: 700; color: #fff;
      margin-bottom: .6rem; letter-spacing: -.02em;
    }
    .persona-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

    /* ── Results ── */
    .results { background: rgba(255,255,255,.018); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .results-grid {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 0; margin-top: 3.5rem;
      border: 1px solid var(--card-bdr); border-radius: 16px; overflow: hidden;
    }
    .result-card {
      padding: 2.5rem 2rem;
      text-align: center;
      border-right: 1px solid var(--card-bdr);
      background: var(--card-bg);
    }
    .result-card:last-child { border-right: none; }
    .result-num {
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif;
      font-size: 3rem; font-weight: 800; letter-spacing: -.05em;
      color: var(--blue); line-height: 1; margin-bottom: .5rem;
    }
    .result-label {
      font-size: 15px; font-weight: 700; color: #fff; margin-bottom: .5rem;
    }
    .result-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

    /* ── Compliance ── */
    .compliance {
      background: rgba(13,110,253,.06);
      border-top: 1px solid rgba(13,110,253,.14);
      border-bottom: 1px solid rgba(13,110,253,.14);
      padding: 52px 52px;
    }
    .comp-inner {
      max-width: 1120px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between;
      gap: 32px; flex-wrap: wrap;
    }
    .comp-text h3 {
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif; font-size: 22px; font-weight: 700;
      color: #fff; margin-bottom: 8px; letter-spacing: -.02em;
    }
    .comp-text p { font-size: 14px; color: var(--muted); max-width: 460px; line-height: 1.65; }
    .comp-badges { display: flex; gap: 10px; flex-wrap: wrap; }
    .comp-badge {
      padding: 9px 18px; border-radius: 8px;
      background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
      font-size: 12px; font-weight: 600; color: #cbd5e1; white-space: nowrap;
    }

    /* ── FAQ ── */
    .faq-list { margin-top: 3rem; display: flex; flex-direction: column; gap: .75rem; }
    .faq-item {
      border: 1px solid var(--card-bdr); border-radius: 12px;
      background: var(--card-bg); overflow: hidden;
    }
    .faq-q {
      width: 100%; text-align: left; background: none; border: none;
      padding: 1.25rem 1.5rem; cursor: pointer;
      display: flex; align-items: center; justify-content: space-between; gap: 1rem;
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif; font-size: 16px; font-weight: 600;
      color: #fff; transition: background .2s;
    }
    .faq-q:hover { background: rgba(255,255,255,.04); }
    .faq-arrow { flex-shrink: 0; font-size: 1rem; color: var(--muted); transition: transform .25s; }
    .faq-item.open .faq-arrow { transform: rotate(180deg); }
    .faq-a {
      max-height: 0; overflow: hidden;
      transition: max-height .3s ease, padding .3s ease;
      font-size: 14px; color: var(--muted); line-height: 1.75;
      padding: 0 1.5rem;
    }
    .faq-item.open .faq-a { max-height: 200px; padding: 0 1.5rem 1.25rem; }

    /* ── Contact form ── */
    .cta {
      background: var(--navy-mid);
      padding: 100px 24px;
      position: relative; overflow: hidden;
    }
    .cta::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse at 50% 0%, rgba(13,110,253,.22) 0%, transparent 68%);
      pointer-events: none;
    }
    .cta-inner { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; }
    .cta-layout {
      display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
    }
    .cta-text .cta-title {
      font-family: 'IBM Plex Sans', 'IBM Plex Sans Fallback', sans-serif;
      font-size: clamp(28px, 4vw, 44px); font-weight: 800;
      letter-spacing: -.04em; line-height: 1.1;
      color: #fff; margin-bottom: 1rem;
    }
    .cta-text .cta-sub { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
    .cta-trust { display: flex; flex-direction: column; gap: .6rem; }
    .cta-trust-item { display: flex; align-items: center; gap: .6rem; font-size: 14px; color: var(--muted); }
    .cta-trust-item::before { content: '✓'; color: #22c55e; font-weight: 700; flex-shrink: 0; }

    .contact-form {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 16px;
      padding: 2rem;
    }
    .contact-form h3 {
      font-size: 20px; font-weight: 700; color: #fff;
      margin-bottom: 1.5rem; letter-spacing: -.02em;
    }
    .cf-field { margin-bottom: 1rem; }
    .cf-field label {
      display: block; font-size: 13px; font-weight: 500;
      color: #cbd5e1; margin-bottom: .35rem;
    }
    .cf-field input, .cf-field select, .cf-field textarea {
      display: block; width: 100%;
      padding: .6rem .9rem;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 8px;
      font-size: 14px; color: #fff; font-family: inherit;
      transition: border-color .2s, background .2s;
    }
    .cf-field textarea { resize: vertical; min-height: 76px; line-height: 1.5; }
    .cf-field input::placeholder, .cf-field textarea::placeholder { color: #475569; }
    .cf-field select option { background: #1e293b; color: #fff; }
    .cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
      outline: none;
      border-color: var(--blue);
      background: rgba(13,110,253,.06);
    }
    .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .cf-submit {
      width: 100%; padding: .8rem;
      background: var(--blue); color: #fff; border: none;
      border-radius: 10px; font-size: 15px; font-weight: 600;
      font-family: inherit; cursor: pointer; margin-top: .5rem;
      transition: background .2s, transform .15s;
    }
    .cf-submit:hover { background: var(--blue-dk); transform: translateY(-1px); }
    .cf-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
    .cf-note { font-size: 12px; color: #475569; margin-top: .75rem; text-align: center; }
    .cf-step2 { animation: fu .35s ease both; }
    .cf-step2-note { font-size: 12.5px; color: #64748b; margin: -.4rem 0 1rem; }
    #cf-next { margin-top: .2rem; }
    .cf-error { color: #f87171; font-size: 13px; margin-top: .5rem; }
    .cf-success {
      text-align: center; padding: 2rem 1rem;
      display: none;
    }
    .cf-success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
    .cf-success h4 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: .5rem; }
    .cf-success p { font-size: 14px; color: var(--muted); }

    /* ── Footer ── */
    footer {
      background: #030710; border-top: 1px solid var(--line);
      padding: 40px 52px 32px;
      display: flex; flex-direction: column; align-items: center; gap: 18px;
    }
    .foot-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
    .foot-logo { font-family:'IBM Plex Sans', 'IBM Plex Sans Fallback',sans-serif; font-size:16px; font-weight:800; letter-spacing:-.04em; color:#fff; }
    .foot-logo span { color: var(--blue); }
    .foot-copy { font-size: 12px; color: #94a3b8; }
    .foot-links, .foot-legal { border-top: 1px solid var(--line); width: 100%; max-width: 900px; }
    .foot-links { padding-top: 18px; }
    .foot-legal { padding-top: 14px; }
    .foot-links a, .foot-legal a, .foot-copy a {
      color: #94a3b8; text-decoration: none;
      border-bottom: 1px dotted #475569; transition: color .15s, border-color .15s;
    }
    .foot-links a:hover, .foot-legal a:hover, .foot-copy a:hover {
      color: #fff; border-bottom-color: #94a3b8;
    }
    .foot-legal, .foot-legal a { color: #64748b; }
    .foot-legal-note { color: #64748b !important; }

    /* ── Scroll reveal ── */
    .rev { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
    .rev.in { opacity: 1; transform: translateY(0); }

    /* ── Responsive ── */
    @media (max-width: 960px) {
      nav { padding: 16px 24px; }
      .nav-links { display: none; }
      /* Szybkie demo (tekstowy link) łamie się słowo-po-słowie i nakłada na
         logo gdy w nav-cta są 3 elementy na wąskim ekranie — na mobile
         zostają tylko 2 sprawdzone przyciski (link jest niżej w treści). */
      .nav-quick-demo { display: none; }
      /* Pigulki nav siedzialy dokladnie na progu zawijania: przy 412 px
         potrzebowaly 291,9 px, a miały 288,2 px. Kazda zmiana szerokosci
         tekstu przy swapie fontu przerzucala je do drugiego rzedu i dawala
         skok ok. 24 px w dol (zmierzone CLS 0,092 na /cennik/ i 0,166 na
         /papier-do-cyfrowy/). Wezsze wypelnienie boczne daje ok. 24 px
         zapasu, wiec zawijanie nie zalezy juz od tego, ktory font jest
         w danym momencie narysowany. */
      .nav-cta .btn-ghost,
      .nav-cta .btn-primary { padding-left: 14px; padding-right: 14px; }
      .feat-grid, .steps, .personas-grid, .problem-grid { grid-template-columns: 1fr; }
      .results-grid { grid-template-columns: repeat(2, 1fr); }
      .result-card:nth-child(2) { border-right: none; }
      .result-card:nth-child(3) { border-right: 1px solid var(--card-bdr); }
      .feat-card { border-right: none !important; }
      .steps::before { display: none; }
      .compliance { padding: 40px 24px; }
      .cta-layout { grid-template-columns: 1fr; gap: 2.5rem; }
      .cf-row { grid-template-columns: 1fr; }
    }
    @media (max-width: 560px) {
      .results-grid { grid-template-columns: 1fr; }
      .result-card { border-right: none !important; border-bottom: 1px solid var(--card-bdr); }
      .result-card:last-child { border-bottom: none; }
    }

/* ── Homepage: sekcja USP pricing (Apka-perf, przeniesione z inline <style>) ── */
.usp-pricing {
  position: relative;
  padding: 4rem 1.6rem;
  background: linear-gradient(135deg, #0b1a2e 0%, #142847 100%);
  border-top: 1px solid #1f3a5f;
  border-bottom: 1px solid #1f3a5f;
  overflow: hidden;
}
.usp-pricing::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(251,191,36,0.06) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(13,110,253,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.usp-pricing-inner {
  position: relative;
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem;
  align-items: center;
}
@media (max-width: 880px) {
  .usp-pricing-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.usp-tag {
  display:inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fbbf24;
  font-weight: 700;
  margin-bottom: 1.1rem;
  font-family: "Figtree", "IBM Plex Sans", "IBM Plex Sans Fallback", sans-serif;
}
.usp-headline {
  font-family: "Figtree", "IBM Plex Sans", "IBM Plex Sans Fallback", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #f1f5f9;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.usp-headline em {
  font-style: italic;
  color: #fbbf24;
  font-weight: 700;
}
.usp-sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0 0 1.6rem;
  max-width: 56ch;
}
.usp-cta-row { display:flex; gap: 0.8rem; flex-wrap: wrap; }
.usp-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  background: #fbbf24; color: #0b1a2e;
  font-weight: 700; font-size: 1rem;
  border-radius: 8px; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(251,191,36,0.18);
}
.usp-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(251,191,36,0.28); }
.usp-cta.ghost {
  background: transparent; color: #cbd5e1;
  border: 1px solid #475569; box-shadow: none;
}
.usp-cta.ghost:hover { color: #f1f5f9; border-color: #fbbf24; transform: none; }
.usp-mini-compare {
  background: rgba(2, 12, 27, 0.55);
  border: 1px solid #1e3a5f;
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
}
.usp-mini-compare h3 {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
}
.usp-mini-compare ul { list-style:none; padding:0; margin:0; }
.usp-mini-compare li {
  display:flex; justify-content: space-between; gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #1e3a5f;
  font-size: 0.94rem;
  color: #cbd5e1;
}
.usp-mini-compare li:last-child { border-bottom: 0; }
.usp-mini-compare .vendor { color: #94a3b8; }
.usp-mini-compare .price-hidden { color: #f87171; font-weight: 600; }
.usp-mini-compare .price-open { color: #34d399; font-weight: 700; }
.usp-mini-compare li.us .vendor { color: #fbbf24; font-weight: 700; }

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr !important; }
}

/* ── Testimonial (dowod tuz przy USP jawnego cennika, nie na dole strony) ── */
.testimonial-strip {
  background: #0f172a;
  padding: 3.4rem 1.5rem;
  border-top: 1px solid rgba(251,191,36,.12);
  border-bottom: 1px solid rgba(251,191,36,.12);
}
.testimonial-inner { max-width: 760px; margin: 0 auto; }
.testimonial-strip blockquote {
  margin: 0;
  background: rgba(251,191,36,.045);
  border: 1px solid rgba(251,191,36,.18);
  border-radius: 14px;
  padding: 2.2rem 2.4rem;
}
.testimonial-quote {
  font-size: 1.15rem; line-height: 1.7; font-style: italic;
  color: #f1f5f9; margin: 0 0 1.2rem;
}
.testimonial-author { font-size: .92rem; color: #94a3b8; }
.testimonial-name { display: block; color: #f1f5f9; font-weight: 600; margin-bottom: .2rem; }
.testimonial-role { display: block; }
.testimonial-org { color: #fbbf24; margin-left: .3rem; }
@media (max-width: 640px) {
  .testimonial-strip blockquote { padding: 1.6rem 1.4rem; }
}
