/*
 * Dedicated stylesheet for Web:B2b:default (/pro-firmy) ONLY.
 * This page intentionally does not reuse the site's shared Tailwind design
 * system — it is a 1:1 port of the approved external mockup, colors and all,
 * scoped entirely under .b2b-lp so it can never leak onto other pages.
 * Hand-maintained static file (not part of the Vite/Tailwind build) — bump
 * the ?v= query in default.latte's {block head} if you edit this file.
 */

.b2b-lp {
	--ink: #1D1D1F;
	--muted: #6E6E73;
	--muted-2: #86868B;
	--accent: #2A5BD7;
	--accent-dark: #1F4BBF;
	--bg-soft: #F5F5F7;
	--bg-soft-hover: #EDEDF0;
	--green: #1A7F4B;
	--red: #C4302B;
	--border: #D2D2D7;
	--dark-bg: #000000;
	--dark-text: #F5F5F7;
	--dark-muted: #A1A1A6;
	--dark-border: #333336;
	--dark-card: #1C1C1E;
	--dark-accent: #6E9BFF;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: var(--ink);
	background: #FFFFFF;
	-webkit-font-smoothing: antialiased;
	scroll-behavior: smooth;
}
.b2b-lp *, .b2b-lp *::before, .b2b-lp *::after { box-sizing: border-box; }
.b2b-lp a { color: var(--accent); text-decoration: none; }
.b2b-lp a:hover { text-decoration: underline; }
.b2b-lp input, .b2b-lp select, .b2b-lp textarea, .b2b-lp button { font-family: inherit; }
.b2b-lp section { padding-left: 20px; padding-right: 20px; }
.b2b-lp h1, .b2b-lp h2, .b2b-lp h3, .b2b-lp h4, .b2b-lp p { margin: 0; }

/* ---------- Reveal-on-scroll (progressive enhancement; content is fully
   visible without JS/with prefers-reduced-motion) ---------- */
.b2b-lp [data-reveal] { opacity: 1; transform: none; }
.b2b-lp [data-reveal].is-pending { opacity: 0; transform: translateY(28px); }
.b2b-lp [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1); }

/* ---------- Header ---------- */
.b2b-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color 300ms; }
.b2b-header.is-scrolled { border-bottom-color: rgba(0,0,0,.08); }
.b2b-header-inner { max-width: 1024px; margin: 0 auto; padding: 0 clamp(16px,4vw,24px); height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.b2b-lp .b2b-logo { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.b2b-logo:hover { text-decoration: none; }
.b2b-logo-word { font-family: 'Schibsted Grotesk', system-ui, sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -.5px; color: #0d1b34; }
.b2b-logo-dot { color: var(--accent); }
.b2b-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.b2b-nav-links { display: flex; align-items: center; gap: 28px; }
.b2b-nav-links a { color: #424245; transition: color 200ms; }
.b2b-nav-links a:hover { color: var(--ink); text-decoration: none; }
.b2b-lp .b2b-nav-cta { background: var(--accent); color: #FFFFFF; padding: 8px 16px; border-radius: 999px; font-weight: 500; transition: background 200ms; }
.b2b-lp .b2b-nav-cta:hover { background: var(--accent-dark); text-decoration: none; }
@media (max-width: 719px) { .b2b-nav-links { display: none; } }

/* ---------- Buttons / links ---------- */
.b2b-lp .b2b-btn-primary { background: var(--accent); color: #FFFFFF; padding: 15px 30px; border-radius: 999px; font-weight: 500; font-size: 17px; display: inline-block; border: none; cursor: pointer; transition: background 200ms, transform 200ms, box-shadow 200ms; }
.b2b-lp .b2b-btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(42,91,215,.6); text-decoration: none; }
.b2b-lp .b2b-btn-primary:active { transform: scale(.98); }
.b2b-lp .b2b-btn-primary-sm { background: var(--accent); color: #FFFFFF; padding: 8px 16px; border-radius: 999px; font-weight: 500; font-size: 13px; }
.b2b-lp .b2b-btn-primary-sm:hover { background: var(--accent-dark); text-decoration: none; }
.b2b-lp .b2b-link-arrow { font-size: 17px; font-weight: 500; display: inline-flex; gap: 6px; padding: 12px 4px; transition: gap 200ms; color: var(--ink); }
.b2b-lp .b2b-link-arrow:hover { gap: 10px; text-decoration: none; }
.b2b-form-submit { height: 52px; background: var(--accent); color: #FFFFFF; border: none; border-radius: 999px; font-size: 17px; font-weight: 500; cursor: pointer; margin-top: 10px; transition: background 200ms, transform 150ms; width: 100%; }
.b2b-form-submit:hover { background: var(--accent-dark); }
.b2b-form-submit:active { transform: scale(.98); }

/* ---------- Hero ---------- */
.b2b-hero { padding-top: clamp(56px,12vw,120px); text-align: center; }
.b2b-hero-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: clamp(18px,3vw,24px); }
.b2b-kicker { font-size: 17px; font-weight: 600; color: var(--accent); }
.b2b-h1 { font-size: clamp(36px,8.2vw,104px); line-height: 1.04; letter-spacing: -0.03em; word-spacing: 0.06em; font-weight: 700; text-wrap: balance; overflow-wrap: break-word; }
.b2b-h1 .dim { color: var(--muted-2); }
.b2b-lead { font-size: clamp(17px,2.2vw,24px); line-height: 1.45; color: var(--muted); max-width: 740px; text-wrap: pretty; letter-spacing: -0.01em; }
.b2b-cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; padding-top: 8px; }
.b2b-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 34px; padding-top: 6px; font-size: 13.5px; font-weight: 500; letter-spacing: -0.005em; color: var(--muted); }
.b2b-badges span { display: flex; align-items: center; gap: 7px; }
.b2b-badges svg { flex: none; }

/* Hero mockup card */
.b2b-mock-wrap { max-width: 1100px; margin: clamp(48px,9vw,88px) auto 0; background: var(--bg-soft); border-radius: clamp(22px,4vw,32px); padding: clamp(20px,7vw,88px) clamp(12px,3vw,24px) clamp(24px,7vw,88px); display: flex; flex-direction: column; align-items: center; gap: 28px; }
.b2b-mock-card { width: 100%; max-width: 520px; background: #FFFFFF; border-radius: 24px; box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 30px 60px -30px rgba(0,0,0,.22); padding: clamp(18px,5vw,28px); text-align: left; display: flex; flex-direction: column; gap: 22px; }
.b2b-mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.b2b-mock-head-label { font-size: 13px; color: var(--muted); }
.b2b-mock-head-name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.b2b-mock-head-sub { font-size: 14px; color: var(--muted); }
.b2b-mock-pill { font-size: 12px; font-weight: 500; color: var(--muted); background: var(--bg-soft); padding: 5px 10px; border-radius: 999px; }
.b2b-mock-rows { display: flex; flex-direction: column; gap: 10px; }
.b2b-mock-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px clamp(12px,3.5vw,18px); border-radius: 14px; background: var(--bg-soft); }
.b2b-mock-row-title { font-size: 15px; font-weight: 600; }
.b2b-mock-row-sub { font-size: 12.5px; color: var(--muted-2); }
.b2b-mock-status-ok { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--green); }
.b2b-mock-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.b2b-mock-unlock { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: #FFFFFF; background: #1D1D1F; padding: 7px 12px 7px 10px; border-radius: 999px; }
.b2b-mock-caption { font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 520px; text-wrap: pretty; padding: 0 8px; text-align: center; }

/* ---------- Generic section header ---------- */
.b2b-section { max-width: 1100px; margin: 0 auto; }
.b2b-section-head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.b2b-section-head.centered { align-items: center; text-align: center; margin: 0 auto; }
.b2b-h2 { font-size: clamp(32px,6vw,72px); line-height: 1.02; letter-spacing: -0.03em; word-spacing: 0.06em; font-weight: 700; text-wrap: balance; }
.b2b-h2-sm { font-size: clamp(28px,4.2vw,48px); line-height: 1.12; letter-spacing: -0.02em; word-spacing: 0.05em; font-weight: 600; text-wrap: balance; }

/* ---------- Problem statement ---------- */
.b2b-problem { max-width: 1100px; margin: 0 auto; }
.b2b-problem p { font-size: clamp(22px,3.6vw,44px); line-height: 1.15; letter-spacing: -0.018em; word-spacing: 0.05em; font-weight: 500; text-wrap: balance; }

/* ---------- Cards (use cases / checks) ---------- */
.b2b-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,420px),1fr)); gap: clamp(12px,2vw,20px); }
.b2b-card { background: var(--bg-soft); border-radius: clamp(22px,3vw,28px); padding: clamp(26px,5vw,44px); display: flex; flex-direction: column; gap: 16px; transition: transform 400ms cubic-bezier(.2,.7,.2,1), background 300ms, box-shadow 400ms; }
.b2b-card:hover { transform: translateY(-4px); background: var(--bg-soft-hover); box-shadow: 0 30px 60px -40px rgba(0,0,0,.25); }
.b2b-card svg { display: block; }
.b2b-card h3 { font-size: clamp(24px,3vw,28px); font-weight: 700; letter-spacing: -0.03em; margin-top: 8px; }
.b2b-card p { font-size: 17px; line-height: 1.5; color: var(--muted); }
.b2b-card p strong { color: var(--ink); font-weight: 600; }
.b2b-card p.b2b-ink { color: var(--ink); }

/* ---------- Dark sections (jak-to-funguje, demo) ---------- */
.b2b-dark { background: var(--dark-bg); color: var(--dark-text); }
.b2b-dark .b2b-kicker { color: var(--dark-accent); }
.b2b-dark .b2b-lead-dark { font-size: clamp(18px,2.2vw,21px); line-height: 1.45; color: var(--dark-muted); max-width: 640px; text-wrap: pretty; margin-top: 4px; }
.b2b-journey-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr)); gap: 40px 32px; }
.b2b-journey-item { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--dark-border); transition: border-color 300ms; }
.b2b-journey-item:hover { border-color: var(--dark-accent); }
.b2b-journey-n { font-size: clamp(56px,6vw,80px); font-weight: 700; letter-spacing: -0.04em; color: var(--dark-text); line-height: 1; }
.b2b-journey-item h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; }
.b2b-journey-item p { font-size: 16px; line-height: 1.5; color: var(--dark-muted); text-wrap: pretty; }
.b2b-note { font-size: 14px; line-height: 1.5; color: var(--dark-muted); display: flex; gap: 10px; align-items: flex-start; max-width: 780px; margin: 0 auto; }
.b2b-note svg { flex: none; margin-top: 3px; }

.b2b-details { border-top: 1px solid var(--dark-border); border-bottom: 1px solid var(--dark-border); max-width: 900px; margin: 0 auto; }
.b2b-details summary { cursor: pointer; list-style: none; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; font-weight: 500; color: #D2D2D7; transition: color 200ms; }
.b2b-details summary::-webkit-details-marker { display: none; }
.b2b-details:hover summary { color: #FFFFFF; }
.b2b-details summary .b2b-details-toggle { font-size: 13px; color: #8E8E93; flex: none; }
.b2b-details-body { display: flex; flex-direction: column; gap: 24px; padding: 4px 0 28px; }
.b2b-details-body > p { font-size: 15px; line-height: 1.5; color: var(--dark-muted); }
.b2b-query-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,260px),1fr)); gap: 12px; }
.b2b-query-card { background: var(--dark-card); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.b2b-query-card .n { font-size: 13px; font-weight: 600; color: #8E8E93; }
.b2b-query-card .t { font-size: 15px; font-weight: 600; }
.b2b-query-card .b { font-size: 14px; line-height: 1.5; color: var(--dark-muted); text-wrap: pretty; }

/* ---------- Trust ---------- */
.b2b-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,400px),1fr)); gap: clamp(28px,5vw,48px) 64px; }
.b2b-trust-item { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--border); }
.b2b-trust-item span.t { font-size: clamp(19px,2.2vw,21px); font-weight: 600; letter-spacing: -0.02em; }
.b2b-trust-item span.b { font-size: 17px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.b2b-trust-note { font-size: 17px; line-height: 1.5; color: #424245; text-align: center; max-width: 720px; margin: 0 auto; text-wrap: pretty; }

/* ---------- Social proof ---------- */
.b2b-social { max-width: 1024px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.b2b-social p { font-size: clamp(18px,2.2vw,21px); line-height: 1.4; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.b2b-social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 15px; color: var(--muted-2); }

/* ---------- FAQ ---------- */
.b2b-faq-wrap { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.b2b-faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.b2b-faq-item { border-bottom: 1px solid var(--border); }
.b2b-faq-item summary { cursor: pointer; list-style: none; padding: clamp(18px,3vw,24px) 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: clamp(17px,2vw,19px); line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; transition: color 200ms; }
.b2b-faq-item summary::-webkit-details-marker { display: none; }
.b2b-faq-item summary:hover { color: var(--accent); }
.b2b-faq-toggle { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 20px; font-weight: 400; color: var(--ink); flex: none; transition: transform 300ms cubic-bezier(.2,.7,.2,1); }
.b2b-faq-item[open] .b2b-faq-toggle { transform: rotate(45deg); }
.b2b-faq-item p { padding: 0 clamp(0px,5vw,48px) 24px 0; font-size: clamp(16px,1.8vw,17px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* ---------- Demo section ---------- */
.b2b-demo-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,420px),1fr)); gap: clamp(40px,6vw,64px); align-items: start; }
.b2b-demo-copy { display: flex; flex-direction: column; gap: 24px; padding: 8px 8px 0; }
.b2b-demo-copy p { font-size: clamp(17px,2vw,19px); line-height: 1.5; color: var(--dark-muted); max-width: 460px; text-wrap: pretty; }
.b2b-demo-list { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; font-size: 17px; color: var(--dark-text); }
.b2b-demo-card { background: #FFFFFF; color: var(--ink); border-radius: clamp(22px,3vw,28px); padding: clamp(20px,5vw,36px); }

/* ---------- Demo form ---------- */
.b2b-form { display: flex; flex-direction: column; gap: 14px; }
.b2b-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,200px),1fr)); gap: 14px; }
.b2b-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: #424245; }
.b2b-field input, .b2b-field select, .b2b-field textarea { height: 50px; padding: 0 16px; border: 1px solid var(--border); border-radius: 12px; font-size: 17px; background: #FFFFFF; color: var(--ink); outline: none; transition: border-color 200ms, box-shadow 200ms; width: 100%; }
.b2b-field textarea { height: auto; padding: 14px 16px; resize: vertical; }
.b2b-field select { cursor: pointer; }
.b2b-field input:focus, .b2b-field select:focus, .b2b-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(42,91,215,.15); }
.b2b-form-note { font-size: 13px; line-height: 1.5; color: var(--muted-2); text-align: center; }
.b2b-form-errors { border-radius: 11px; background: #FDECEC; border: 1px solid #F6C6C6; padding: 10px 14px; font-size: 13px; color: var(--red); }

/* ---------- Footer ---------- */
.b2b-footer { background: var(--bg-soft); color: var(--muted); }
.b2b-footer-inner { max-width: 1024px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12px; }
.b2b-footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.b2b-footer-links a { color: #424245; transition: color 200ms; }
.b2b-footer-links a:hover { color: var(--ink); text-decoration: none; }
