/* KryptoStart.pl – wspólny nagłówek, stopka i motyw dla podstron z darmowymi kalkulatorami i poradami */
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(../fonts/poppins-semibold.woff) format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(../fonts/poppins-bold.woff) format("woff"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-400.woff) format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(../fonts/inter-500.woff) format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-600.woff) format("woff"); }

.ks-topbar { background: #000a1c; border-bottom: 1px solid rgba(255,255,255,.06); font: 400 13px/1 Inter, system-ui, sans-serif; }
.ks-topbar .ks-wrap { display: flex; align-items: center; gap: 16px; height: 36px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.ks-topbar .ks-wrap::-webkit-scrollbar { display: none; }
.ks-topbar b { color: #efc56b; font-weight: 600; }
.ks-topbar a { color: #cbd5e1; text-decoration: none; }
.ks-topbar a:hover { color: #fff; }
.ks-topbar i { color: #475569; font-style: normal; }
.ks-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

.ks-header { position: sticky; top: 0; z-index: 50; background: rgba(0,15,38,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.09); }
.ks-header .ks-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.ks-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 600 22px/1 Poppins, Inter, sans-serif; letter-spacing: -.01em; }
.ks-logo b { color: #e5b352; font-weight: 600; }
.ks-logo svg { width: 36px; height: 36px; flex: none; }
.ks-nav { display: flex; align-items: center; gap: 34px; font: 500 15px/1 Inter, system-ui, sans-serif; }
.ks-nav a { color: #f1f5f9; text-decoration: none; }
.ks-nav a:hover, .ks-nav a[aria-current="page"] { color: #f6d58a; }
.ks-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(229,179,82,.38); border-radius: 10px; padding: 9px 14px; color: #efc56b; font: 600 14px/1 Inter, sans-serif; white-space: nowrap; }
.ks-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(229,179,82,.38); background: transparent; color: #f6d58a; cursor: pointer; }
.ks-mobile { display: none; border-top: 1px solid rgba(255,255,255,.08); background: #000a1c; }
.ks-mobile.open { display: block; }
.ks-mobile nav { display: grid; gap: 2px; padding: 10px 0 14px; font: 500 16px/1.2 Inter, sans-serif; }
.ks-mobile a { color: #f1f5f9; text-decoration: none; padding: 11px 8px; border-radius: 8px; }
.ks-mobile a:hover { background: rgba(255,255,255,.05); }
.ks-mobile .ks-sub { color: #efc56b; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; padding: 14px 8px 4px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 6px; }
@media (max-width: 1023px) { .ks-nav, .ks-badge { display: none; } .ks-burger { display: inline-flex; } }
.ks-icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Motyw nagłówka strony (hero) – granat + złoto */
.hero, .hero-small, .hero-pit { background: radial-gradient(55% 90% at 85% 10%, rgba(30,64,140,.55), rgba(0,15,38,0) 70%), linear-gradient(180deg, #000f26, #03142f) !important; color: #fff !important; }
.hero::before, .hero::after, .hero-small::before, .hero-small::after { display: none !important; }
.hero h1, .hero-small h1 { font-family: Poppins, Inter, sans-serif !important; font-weight: 700 !important; color: #fff !important; letter-spacing: -.02em !important; }
.hero h1 em, .hero-small h1 em { color: #e5b352 !important; font-style: normal; }
.hero .lead, .hero-small .lead { color: #cbd5e1 !important; }
.hero-small .hero-text { padding-top: 36px !important; padding-bottom: 44px !important; }
/* Spokojniejsza skala podstron: mniejsze nagłówki, większy odstęp między wierszami (litery nie nachodzą na siebie) */
.hero-small h1 { font-size: clamp(34px, 3.9vw, 50px) !important; line-height: 1.08 !important; }
.hero h1 { line-height: 1.05 !important; }
.hero-small .lead { font-size: 18px !important; }
.sec { padding: 64px 0; }
.sec-head h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.08; }
@media (max-width: 640px) { .hero-small .hero-text { padding-top: 26px !important; padding-bottom: 34px !important; } .sec { padding: 44px 0; } }
.note-bar { background: #000a1c !important; color: #94a3b8 !important; border-bottom: 1px solid rgba(255,255,255,.06) !important; }
.note-bar a { color: #f6d58a !important; }

/* Pasek z narzędziami PDF na podstronach */
.ks-promo { background: linear-gradient(90deg, #071a3a, #0b2147); border: 1px solid rgba(229,179,82,.35); border-radius: 16px; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: #e2e8f0; margin: 40px auto 0; font-family: Inter, system-ui, sans-serif; }
.ks-promo strong { display: block; color: #fff; font: 600 19px/1.3 Poppins, Inter, sans-serif; }
.ks-promo span { font-size: 15px; color: #cbd5e1; }
.ks-promo a { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(180deg,#f3cf7f,#e5b352 55%,#d3a043); color: #1a1205; font-weight: 700; text-decoration: none; border-radius: 12px; padding: 12px 18px; white-space: nowrap; }

/* Stopka */
.ks-footer { background: #000a1c; color: #94a3b8; border-top: 1px solid rgba(255,255,255,.08); margin-top: 96px; font: 400 14px/1.6 Inter, system-ui, sans-serif; }
.ks-footer .ks-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.ks-footer h3 { color: #fff; font: 600 14px/1.3 Inter, sans-serif; margin: 0 0 12px; }
.ks-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ks-footer a { color: #94a3b8; text-decoration: none; }
.ks-footer a:hover { color: #fff; }
.ks-footer .ks-legal { border-top: 1px solid rgba(255,255,255,.05); padding: 20px 0 28px; font-size: 12px; color: #64748b; }
.ks-footer .ks-legal p { margin: 0 0 6px; max-width: none; }
.ks-footer .ks-legal .ks-seller { color: #94a3b8; line-height: 1.6; }
.ks-footer .ks-legal .ks-seller a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ks-footer .ks-legal .ks-seller a:hover { color: #fff; }
@media (max-width: 860px) { .ks-footer .ks-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ks-footer .ks-cols { grid-template-columns: 1fr; } .ks-promo { padding: 18px; } }

/* Strony dokumentów (regulamin, prywatność) */
.ks-doc { width: min(860px, 100% - 32px); margin: 48px auto 0; font: 400 16.5px/1.7 Inter, system-ui, sans-serif; color: #1f2937; }
.ks-doc h1 { font: 700 38px/1.15 Poppins, Inter, sans-serif; color: #0b1f44; margin: 0 0 8px; letter-spacing: -.02em; }
.ks-doc h2 { font: 600 21px/1.3 Poppins, Inter, sans-serif; color: #0b1f44; margin: 34px 0 10px; }
.ks-doc p, .ks-doc li { margin: 0 0 10px; }
.ks-doc ol, .ks-doc ul { padding-left: 22px; margin: 0 0 12px; }
.ks-doc mark { background: #fff3cc; padding: 0 3px; border-radius: 3px; }
.ks-doc .ks-draft { background: #fff8e6; border: 1px solid #e5b352; border-radius: 12px; padding: 12px 16px; margin: 18px 0 8px; font-size: 15px; }
.ks-doc .ks-muted { color: #64748b; font-size: 14px; }
.ks-doc a { color: #1d4ed8; }
