/* Soocialy /nowa - extra rules for static/info/form pages. Uses tokens from style.css. */

/* Page hero (dark, shorter than home) */
.hero--page { padding: 56px 0 48px; }
.hero--page .hero__inner { max-width: 820px; }
.hero--page h1 { font-size: clamp(34px, 5.4vw, 56px); }
@media (min-width: 1024px) { .hero--page { padding: 88px 0 72px; } }
.searchbox--single { max-width: 640px; }
@media (min-width: 768px) { .searchbox--single { grid-template-columns: 1fr auto; } }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--d-text-2); }
.hero__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Card grids */
.steps--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.step .cat__icon { margin-bottom: 4px; }
.step .cat__icon + h3 { margin-top: 14px; }

/* Wrapping chips */
.chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-title { margin-bottom: 14px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.block { margin-top: 40px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; line-height: 1; color: var(--ink-2); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 18px; font-size: 15px; color: var(--ink-2); }

/* Dark CTA band */
.band { background: var(--d-bg); color: #fff; padding: 56px 0; text-align: center; }
.band h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.band p { max-width: 560px; margin: 12px auto 0; font-size: 16px; color: var(--d-text-2); }
.band .owners__cta { justify-content: center; }

/* Two tracks (jak to dziala) */
.tracks { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .tracks { grid-template-columns: 1fr 1fr; gap: 24px; } }
.track { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.track h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.track > p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.track__steps { display: grid; gap: 0; margin: 20px 0 24px; counter-reset: ts; }
.track-step { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.track-step h3 { font-size: 16px; font-weight: 700; }
.track-step p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 24px 0 72px; }
@media (min-width: 1024px) { .form-wrap { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; } }
.form-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
@media (min-width: 768px) { .form-card { padding: 28px; } }
.form-card h2 { margin-bottom: 16px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field .hint { font-size: 12px; color: var(--ink-2); }
.field__error { font-size: 13px; font-weight: 500; color: var(--error); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }
.check--consent { align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check--consent input { margin-top: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 12px 14px; border: 1px solid #FCA5A5; border-radius: var(--r-md); background: #FEF2F2; color: #991B1B; font-size: 14px; font-weight: 500; }
.notice[hidden] { display: none; }
.info-box { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.info-box h2 { font-size: 17px; font-weight: 700; }
.info-box p, .info-box li { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.page-pick { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); }
.page-pick > div { min-width: 0; }
.page-pick strong { display: block; font-size: 16px; }
.page-pick span { display: block; font-size: 13px; color: var(--ink-2); }

/* Plan page */
.plan-list { padding: 0 20px; }
.plan-list .plan-item { grid-template-columns: 40px 1fr auto; }
.plan-list .plan-item:last-child { border-bottom: 0; }
.plan-list .select { margin-top: 8px; }
.plan-total { padding: 16px 20px; border-top: 1px solid var(--line); font-size: 15px; background: var(--bg); }
.plan-total b { font-variant-numeric: tabular-nums; }

/* Thank you / contact */
.thanks { max-width: 640px; margin: 0 auto; padding: 72px 0 96px; text-align: center; }
.thanks .sent__icon { width: 64px; height: 64px; margin-bottom: 20px; }
.thanks h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.thanks > p { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.thanks .track__steps { text-align: left; margin-bottom: 0; }
.thanks .owners__cta { justify-content: center; }
.copy-text { user-select: all; -webkit-user-select: all; font-weight: 700; font-size: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding-bottom: 72px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.rank-row .avatar { width: 40px; height: 40px; font-size: 15px; border-radius: var(--r-sm); }
.page-end { padding-bottom: 72px; }
.panel .empty { border: 0; }
.info-box .cat__icon + h2 { margin-top: 14px; }
.info-box .btn { margin-top: 4px; }
.thanks .owners__cta { margin-top: 28px; }
.info-box .copy-text { font-size: 20px; color: var(--ink); }
.form-card .info-box { margin-bottom: 20px; background: var(--bg); }
.form-card .claim__fine { margin-top: 10px; }
.thanks .searchbox { margin: 28px auto 0; text-align: left; }
.form-legal { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.form-legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.page-pick .avatar { border-radius: var(--r-sm); }

/* ---------- Owner panel /panel (2026-10-21) ---------- */
.panel-login { display: grid; gap: 14px; max-width: 560px; margin: 0 auto; padding: 48px 0 72px; text-align: center; }
.panel-login h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.panel-login > p { color: var(--ink-2); font-size: 16px; }
.panel-login .verify-fb { justify-self: center; }
.panel-login .verify-box__ok, .panel-login .verify-box__warn { margin: 0; text-align: left; }
.panel-perks { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; text-align: left; }
.panel-perks li { display: grid; gap: 2px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.panel-perks b { font-size: 15px; }
.panel-perks span { font-size: 14px; color: var(--ink-2); }
.panel-login__more { font-size: 14px; color: var(--ink-2); }

.panel-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.panel-alert { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--r-md); font-size: 14px; }
.panel-alert.is-ok { background: #E8F8F1; border: 1px solid #A7E3CB; }
.panel-alert.is-warn { background: #FFF4EB; border: 1px solid #FFD2B0; }
.panel-grid { display: grid; gap: 20px; padding: 20px 0 72px; }
@media (min-width: 1024px) { .panel-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; } }
.panel-main, .panel-side { display: grid; gap: 20px; min-width: 0; }
.panel-card { display: grid; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
@media (min-width: 768px) { .panel-card { padding: 24px; } }
.panel-card h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.panel-card--accent { border: 2px solid var(--orange); }
.panel-card__lead { font-size: 14px; color: var(--ink-2); }
.panel-card .btn { justify-self: start; }
.panel-count { min-width: 26px; height: 26px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--muted); font-size: 13px; }
.panel-fields { display: grid; gap: 12px; }
@media (min-width: 640px) { .panel-fields { grid-template-columns: 1fr 1fr; } }
.panel-empty { font-size: 14px; color: var(--ink-2); }
.panel-group-add { padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }

.owned { display: grid; gap: 14px; padding: 16px 0 4px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.owned__head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.owned__initials { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 999px; background: var(--black); color: #fff; font-size: 14px; font-weight: 800; }
.owned__title { flex: 1; min-width: 0; display: grid; gap: 2px; }
.owned__title a, .owned__title strong { font-size: 16px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.owned__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.owned__title span { font-size: 13px; color: var(--ink-2); }
.owned__status { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.owned__status.is-ok { background: #E8F8F1; color: #047857; }
.owned__status.is-wait { background: #FFF4EB; color: #B45309; }
.owned__status.is-bad { background: #FEECEC; color: #B91C1C; }
@media (max-width: 520px) { .owned__head { flex-wrap: wrap; } .owned__status { margin-left: 56px; } }
.price-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.owned__prices { display: grid; gap: 12px; }
.owned-price { position: relative; }
.field .owned-price input { width: 100%; padding-right: 40px; }
.owned-price span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--ink-3); pointer-events: none; }
.owned__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.owned__actions small { flex-basis: 100%; font-size: 12px; color: var(--ink-3); }
.owned__saved { font-size: 13px; font-weight: 700; color: #047857; }
.owned__code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border: 2px dashed var(--orange); border-radius: var(--r-md); background: #FFF7F0; font-size: 14px; }
.owned__code code { font-family: ui-monospace, Consolas, monospace; font-size: 18px; font-weight: 700; }
.owned__hint { font-size: 13px; color: var(--ink-2); }

.panel-orders-empty { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.panel-orders-empty svg { width: 22px; height: 22px; flex: none; color: var(--ink-3); }
.panel-help ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.panel-add { display: grid; gap: 14px; }
.panel-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.owned__stats { font-size: 13px; color: var(--ink-2); }
.owned__stats b { color: var(--ink); font-weight: 700; }

/* Company rankings /top (2026-10-24): rows without avatar, links under the name */
.rank-row--firm { grid-template-columns: 28px minmax(0, 1fr) auto; }
.rank-row--firm:hover { background: transparent; }
.rank-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 13px; }
.rank-links a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.rank-links a:hover, .rank-links a:focus-visible { color: var(--orange); }
.top-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.top-grid .chips-wrap { padding: 16px 20px; }
.top-note { font-size: 13px; color: var(--ink-2); max-width: 70ch; }
.top-list { list-style: none; margin: 0; padding: 0; }

/* /top hub + vertical pages: dark brand banner, city cards with the winner, vertical cards (2026-10-24 v2) */
.ico--lg { width: 26px; height: 26px; }
.ico--xl { width: 34px; height: 34px; }
.top-hero { background: var(--black, #000); color: #fff; }
.top-hero__in { display: grid; gap: 22px; padding-block: 26px 30px; }
.crumbs--dark, .crumbs--dark a { color: rgba(255, 255, 255, 0.62); }
.crumbs--dark a:hover { color: #fff; }
.crumbs--dark .ico { color: rgba(255, 255, 255, 0.4); }
.top-hero__row { display: flex; align-items: center; gap: 18px; }
.top-hero__icon { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--r-lg); background: var(--orange); color: #000; }
.top-hero__text { min-width: 0; }
.top-hero__eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.top-hero h1 { margin-top: 6px; font-size: clamp(26px, 4vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.top-hero p { margin-top: 8px; max-width: 62ch; font-size: 15px; color: rgba(255, 255, 255, 0.72); }
.top-hero__stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.top-hero__stats b { color: #fff; font-size: 18px; font-weight: 800; margin-right: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .top-hero__icon { width: 56px; height: 56px; } .top-hero__row { align-items: flex-start; } }

.top-cities { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.top-city { display: grid; gap: 6px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color 0.15s, transform 0.15s; min-width: 0; }
.top-city:hover, .top-city:focus-visible { border-color: var(--orange); transform: translateY(-2px); }
.top-city__name { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.top-city__win { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-city__win i { font-style: normal; color: var(--orange); }
.top-city__meta { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.top-city__go { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.top-city:hover .top-city__go { color: var(--orange); }

.top-verts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.top-vert { display: grid; gap: 14px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); min-width: 0; }
.top-vert__head { display: flex; align-items: center; gap: 14px; }
.top-vert__head b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.top-vert__head small { font-size: 13px; color: var(--ink-2); }
.top-vert__head:hover b { color: var(--orange); }
.top-vert__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: #000; color: var(--orange); }
.top-vert__cities { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.top-vert__cities a { padding: 6px 12px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 500; }
.top-vert__cities a:hover { background: var(--orange); color: #000; }
.top-vert__all { font-size: 14px; font-weight: 700; color: var(--orange); }
.top-note { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .top-city { transition: none; } .top-city:hover { transform: none; } }

/* Badge page /top/.../odznaka/{cid} */
.badge-page { display: grid; gap: 28px; padding-top: 28px; }
@media (min-width: 960px) { .badge-page { grid-template-columns: 480px minmax(0, 1fr); align-items: start; } }
.badge-preview { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.badge-preview img { display: block; width: 100%; height: auto; }
.badge-steps { display: grid; gap: 16px; min-width: 0; }
.badge-step { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.badge-step h2 { font-size: 17px; font-weight: 800; }
.badge-step p { font-size: 14px; color: var(--ink-2); }
.badge-step textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: 13px/1.4 ui-monospace, Consolas, monospace; resize: vertical; }
.badge-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-msg { font-size: 14px; font-weight: 600; color: var(--success, #1f8a4c); }
