/* Strona główna i strony informacyjne – korzysta z tokenów ze styles.css */
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-contrast); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.site-nav { display: flex; gap: 22px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.site-nav a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .93rem; }
.site-nav a:hover { color: var(--text); }
.site-nav a.btn { color: var(--brand-contrast); text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: .92rem; }
.btn-lg { min-height: 52px; padding: 12px 24px; font-size: 1.02rem; }
a.btn-primary { color: var(--brand-contrast); }
a.btn-quiet { color: var(--text); }
@media (max-width: 640px) { .site-nav a:not(.btn) { display: none; } }

/* hero */
.hero { padding: clamp(36px, 7vw, 96px) 0 clamp(36px, 6vw, 80px); background: radial-gradient(900px 480px at 82% 0%, var(--brand-soft), transparent 70%), radial-gradient(700px 380px at 0% 100%, color-mix(in oklab, var(--accent) 7%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.2rem); line-height: 1.03; letter-spacing: calc(var(--heading-tracking) - 0.01em); max-width: 14ch; margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.22rem); color: var(--text-2); max-width: 54ch; }
.hero-small { color: var(--ink-2); font-size: .95rem; margin-top: 14px; }
.hero-map { margin: 0; justify-self: center; width: min(100%, 460px); }
.hero-map img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 32px rgba(16,20,24,.14)); }
.hero-map figcaption { margin-top: 12px; font-size: .92rem; color: var(--ink-2); display: grid; gap: 4px; }
.hero-map figcaption b { color: var(--ink); }
.legend { list-style: none; padding: 0; margin: 4px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* pasy treści */
.band { padding: clamp(44px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.band-paper { background: var(--surface); }
.band h2 { margin-bottom: .6em; }
.how { list-style: none; counter-reset: krok; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
.how li { counter-increment: krok; position: relative; padding-top: 54px; }
.how li::before { content: "0" counter(krok); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font: 500 .9rem var(--font-mono); }
.how p { color: var(--ink-2); max-width: 46ch; }
.how .auto { color: var(--brand); font-weight: 600; font-size: .95rem; }

.example { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0 14px; }
@media (max-width: 860px) { .example { grid-template-columns: 1fr; } }
.ex { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px; box-shadow: var(--shadow); }
.ex h3 { display: flex; align-items: center; gap: 8px; }
.ex .vid { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--text); color: var(--surface); font-weight: 600; font-size: .85rem; }
.ex-crops { color: var(--ink-2); font-size: .95rem; min-height: 3em; }
.ex-bar { height: 8px; background: var(--surface-3); border-radius: 4px; overflow: hidden; margin: 6px 0 10px; }
.ex-bar span { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
.ex-sum strong { font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: -0.02em; font-size: 1.8rem; font-variant-numeric: tabular-nums; margin-right: 4px; }
.ex-note { font-size: .92rem; color: var(--ink-2); margin: 0; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.sources dt { font-weight: 700; margin-top: 14px; }
.sources dd { margin: 4px 0 0; color: var(--ink-2); max-width: 60ch; }
.limits { padding-left: 1.1em; margin: 0; }
.limits li { margin-bottom: 10px; color: var(--ink-2); max-width: 60ch; }
.limits b { color: var(--ink); }
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

.cta { background: var(--brand); color: var(--brand-contrast); padding: clamp(36px, 6vw, 64px) 0; }
.cta .btn-primary, .cta a.btn-primary { background: var(--surface); color: var(--text); border-color: var(--surface); }
.cta .btn-primary:hover { background: var(--surface-2); }
.cta-inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta p { margin: 0; font-family: var(--font-heading); font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking); line-height: 1.2; max-width: 30ch; }
.site-foot { padding-top: 24px; }
.foot-grid { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-grid nav { display: flex; flex-wrap: wrap; gap: 8px 18px; min-width: 0; }

/* strony tekstowe */
.doc { padding: clamp(28px, 5vw, 56px) 0 48px; }
.doc article { max-width: 72ch; }
.doc h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }
.doc h2 { font-size: 1.3rem; margin-top: 1.6em; }
.doc p, .doc li { color: var(--ink-2); }
.doc .updated { font-size: .9rem; }

/* pas partnera sezonu na stronie głównej */
.partner-strip { background: var(--surface); border-top: 1px solid var(--line); }
.partner-strip-inner { display: flex; gap: 20px; align-items: center; padding: 16px 0; flex-wrap: wrap; }
.partner-strip .partner-plate { border: 1px solid var(--line); }
.partner-strip p { margin: 0; flex: 1 1 420px; color: var(--ink-2); font-size: .95rem; }
.partner-strip b { color: var(--ink); }


/* ── strona główna: neutralny styl ── */
.band h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.1; max-width: 24ch; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.facts dt { font: 500 .68rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); }
.facts dd { margin: 4px 0 0; font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: -0.015em; font-size: 1.15rem; color: var(--text); }
.ex { border-radius: var(--radius-l); }

/* ── /motywy: podgląd motywu partnera ── */
.theme-lab { padding: clamp(28px, 5vw, 56px) 0 64px; }
.theme-lab h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); max-width: 22ch; }
.theme-form { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: end; margin: 22px 0 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); }
.theme-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--text-2); }
.theme-form input[type=color] { width: 64px; height: 40px; padding: 2px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); cursor: pointer; }
.theme-form select { width: auto; min-width: 150px; }
.theme-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.theme-presets .chip i { width: 14px; height: 14px; border-radius: 50%; margin-right: -4px; box-shadow: 0 0 0 2px var(--surface); }
.theme-presets .chip:hover { border-color: var(--text-2); }
.theme-frames { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
@media (max-width: 960px) { .theme-frames { grid-template-columns: 1fr; } .frame.phone { justify-self: center; } }
.theme-frames figcaption { font: 500 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 8px; }
.frame { border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); }
.frame iframe { border: 0; display: block; }
.frame.desk { aspect-ratio: 16 / 10; position: relative; }
.frame.desk iframe { width: 1280px; height: 800px; transform: scale(var(--s, .62)); transform-origin: 0 0; position: absolute; }
.frame.phone { width: 300px; height: 620px; border-radius: 28px; border-width: 6px; border-color: var(--text); position: relative; }
.frame.phone iframe { width: 390px; height: 800px; transform: scale(.7564); transform-origin: 0 0; position: absolute; }
