/* Trade Concept: arkusz stylów
   Paleta: granat (marka), biel i jasna szarość (tło), pomarańcz kontenerowy (jedyny akcent).
   Czcionki hostowane lokalnie (RODO, szybkość): Bricolage Grotesque (nagłówki), Hanken Grotesk (tekst). */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-950: #071226;
  --navy: #0c1d3a;
  --navy-2: #14305a;
  --navy-3: #1f4577;
  --ink: #101b2f;
  --slate: #536078;
  --grey-50: #f5f7fa;
  --grey-100: #edf0f5;
  --line: #d6dce5;
  --white: #ffffff;
  --accent: #e2a11b;
  --accent-hover: #efb43a;
  --accent-ink: #8a5a05;
  --danger: #a3361f;
  --ok: #1f6a45;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 74rem;
  --radius: 6px;
  --header-h: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body { margin: 0; background: var(--white); color: var(--ink); font: 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Nagłówek ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand-name { font-family: var(--display); font-size: 1.3rem; font-weight: 650; letter-spacing: -0.02em; }
.logo-mark { display: block; width: auto; height: 46px; background: #fff; border-radius: 10px; padding: 3px 6px; }
.nav-list { display: flex; gap: clamp(1rem, 2.2vw, 1.9rem); list-style: none; align-items: center; }
.nav-list a:not(.btn) { text-decoration: none; padding: .5rem 0; font-size: .96rem; font-weight: 500; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-list a:not(.btn):hover { border-bottom-color: var(--accent); }
.nav-list a[aria-current="page"]:not(.btn) { border-bottom-color: var(--accent); font-weight: 650; }
.nav-toggle { display: none; background: none; border: 1px solid currentColor; color: inherit; border-radius: var(--radius); padding: .5rem .9rem; font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; }

.has-hero .site-header { position: absolute; inset: 0 0 auto 0; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .14); color: var(--white); }

@media (max-width: 1080px) {
  .js .nav-toggle { display: inline-block; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.5rem; box-shadow: 0 18px 30px -18px rgba(7, 18, 38, .35); }
  .js .nav-open .site-nav { display: block; }
  .js .nav-list { flex-direction: column; align-items: flex-start; gap: .1rem; }
  .js .nav-list a:not(.btn) { display: block; padding: .7rem 0; font-size: 1.1rem; }
  .js .nav-cta { margin-top: .8rem; }
  .header-row { flex-wrap: wrap; }
  html:not(.js) .nav-list { gap: .25rem 1rem; flex-wrap: wrap; }
  html:not(.js) .site-nav { width: 100%; padding-bottom: 1rem; }
  .has-hero .site-nav { }
}

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 650; font-size: 1rem; padding: .85rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; line-height: 1.2; text-align: center; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1rem; font-size: .93rem; }
.btn-accent { background: var(--accent); color: #1b1206; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-3); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Hero i mapa ---------- */
.hero { position: relative; background: radial-gradient(120% 120% at 80% 30%, var(--navy-2) 0%, var(--navy) 55%, var(--navy-950) 100%); color: var(--white); overflow: hidden; isolation: isolate; padding: clamp(8.5rem, 16vw, 11.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero-map { position: absolute; z-index: -1; right: -2%; top: 57%; width: 56%; transform: translateY(-50%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%); mask-image: linear-gradient(90deg, transparent 0%, #000 9%); }
.hero-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-map .dots { stroke: #9db4d8; stroke-opacity: .48; stroke-width: 3.4; stroke-linecap: round; fill: none; }
.hero-map .arc { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: arc-draw 2.4s cubic-bezier(.4, 0, .2, 1) .5s forwards; }
.hero-map .arc-2 { animation-delay: 1s; }
.hero-map .arc-3 { animation-delay: 1.4s; }
.hero-map .arc-4 { animation-delay: 1.8s; }
.hero-map .pl-shape { fill: rgba(226, 161, 27, .55); stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.hero-map .node { fill: var(--accent); }
.hero-map .node-origin { fill: var(--white); stroke: var(--accent); stroke-width: 3; }
.hero-map .ring { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.5; }
.hero-map .lbl { fill: #dce6f5; font: 600 22px var(--sans); letter-spacing: .01em; }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-map .arc { stroke-dashoffset: 0; } }

.hero-inner { position: relative; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.04; max-width: 11em; }
.hero h1 span { display: block; }
.hero h1 span + span { color: #b5c5df; }
.hero-pl { font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.5rem); color: #dbe5f4; margin: 1.5rem 0 1.75rem; letter-spacing: -0.01em; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 35rem; color: #dbe5f4; margin-bottom: .9em; }
.hero-lead2 { font-size: 1.05rem; max-width: 35rem; color: #b5c5df; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-sub { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.hero-sub h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); max-width: 9.5em; margin-bottom: 1.25rem; }
.hero-sub .hero-lead { margin-bottom: 2rem; max-width: 32rem; }

@media (max-width: 860px) {
  .hero-map { position: relative; right: auto; top: auto; transform: none; width: 100%; margin: 2.75rem 0 0; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); order: 2; }
  .hero { display: flex; flex-direction: column; }
  .hero-sub .hero-map { width: 100%; }
  .hero-map .lbl { font-size: 40px; }
  .hero-map .node-origin { stroke-width: 5; }
  .hero-map .arc { stroke-width: 4; }
  .hero-map .dots { stroke-width: 4.6; }
}

/* ---------- Sekcje ---------- */
.section { padding: clamp(3.75rem, 8vw, 6.5rem) 0; }
.section-tight { padding-top: 0; }
.section-grey { background: var(--grey-50); }
.section-navy { background: var(--navy); color: var(--white); }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 600; }
.section-head { display: grid; gap: 1rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .section-head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; } }
.section-head p { margin: 0; color: var(--slate); max-width: 34rem; font-size: 1.08rem; }

.split { display: grid; gap: 2rem 4rem; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.split-body p { max-width: 38rem; }
.big { font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.5; font-weight: 500; color: var(--ink); }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 30rem; margin-top: 1.25rem; }
.lead-on-navy { font-size: 1.15rem; color: #c9d6ea; max-width: 30rem; margin: 1.25rem 0 1.75rem; }
.link-arrow { font-weight: 650; }
.more-link { margin: 2rem 0 0; }
.page-end { height: clamp(3rem, 7vw, 5rem); }
.page-actions { padding-bottom: clamp(3rem, 7vw, 5rem); display: flex; flex-wrap: wrap; gap: .75rem; }

.factors { display: grid; gap: 0; margin: clamp(2.5rem, 5vw, 4rem) 0 0; }
.factors div { padding: 1.4rem 0 1.5rem; border-top: 2px solid var(--navy); }
.factors dt { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: .45rem; }
.factors dd { margin: 0; color: var(--slate); max-width: 22rem; }
@media (min-width: 700px) { .factors { grid-template-columns: repeat(2, 1fr); gap: 0 2rem; } }
@media (min-width: 1000px) { .factors { grid-template-columns: repeat(4, 1fr); } }

.service-list { list-style: none; border-top: 2px solid var(--navy); }
.service-row { display: grid; gap: .75rem 2.5rem; padding: 1.9rem .5rem 2rem; border-bottom: 1px solid var(--line); align-items: start; transition: background-color .15s; }
.service-row:hover { background: rgba(255, 255, 255, .75); }
.service-name h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 600; }
.service-name h3 a { text-decoration: none; }
.service-name h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.service-pl { margin: .3rem 0 0; color: var(--slate); font-size: .98rem; }
.service-sum { margin: 0; max-width: 34rem; }
.service-go { font-weight: 650; white-space: nowrap; }
@media (min-width: 960px) { .service-row { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; align-items: center; } }

.why-grid { display: grid; gap: 2rem 2rem; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); }
.why { padding-top: 1.1rem; border-top: 2px solid var(--navy); }
.why h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.why p { margin: 0; color: var(--slate); }

.market-list { list-style: none; border-top: 1px solid rgba(255, 255, 255, .25); align-self: start; }
.market-list li { display: grid; gap: .25rem 2rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.market-list strong { font-family: var(--display); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; }
.market-list span { color: #c9d6ea; }
@media (min-width: 640px) { .market-list li { grid-template-columns: 9rem 1fr; align-items: baseline; } }

.check-list { list-style: none; border-top: 1px solid var(--line); align-self: start; }
.check-list li { padding: 1.05rem 0 1.05rem 1.9rem; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.check-list li::before { content: ""; position: absolute; left: .2rem; top: 1.5rem; width: .7rem; height: .7rem; background: var(--accent); border-radius: 1px; }
.check-list.on-navy { border-top-color: rgba(255, 255, 255, .25); }
.check-list.on-navy li { border-bottom-color: rgba(255, 255, 255, .25); }

.monogram { width: 5.5rem; height: 5.5rem; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1.9rem; letter-spacing: -0.02em; border-radius: var(--radius); border-bottom: 4px solid var(--accent); flex-shrink: 0; }
.monogram-lg { width: 9rem; height: 9rem; font-size: 3.2rem; }
.founder-teaser { display: grid; gap: 1.75rem 3rem; align-items: start; }
@media (min-width: 760px) { .founder-teaser { grid-template-columns: auto minmax(0, 40rem); } }
.founder-teaser p { max-width: 38rem; }
.founder-role { font-weight: 650; color: var(--accent-ink); margin: .5rem 0 1.25rem; }
.founder { display: grid; gap: 2rem 4rem; }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); } }
.founder-side { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.founder-main p { max-width: 40rem; }
.founder-quote { margin: 1.75rem 0; padding: .3rem 0 .3rem 1.5rem; border-left: 4px solid var(--accent); }
.founder-quote p { font-family: var(--display); font-size: 1.3rem; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; margin: 0; }

.principles { list-style: none; display: grid; gap: 2rem 2rem; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); }
.principles li { padding-top: 1.1rem; border-top: 2px solid var(--navy); }
.principles h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.principles p { margin: 0; color: var(--slate); }
.principles-plain { grid-template-columns: 1fr; gap: 0; }
.principles-plain li { padding: 1.4rem 0 1.5rem; }

.service-detail-list { padding-bottom: clamp(2rem, 5vw, 4rem); }
.service-detail { display: grid; gap: 1.25rem 4rem; padding: clamp(2rem, 4vw, 3rem) 0; border-top: 2px solid var(--navy); }
.service-detail:first-child { margin-top: 0; }
@media (min-width: 900px) { .service-detail { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.service-detail-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.service-detail-body .big { margin-bottom: 1.5rem; max-width: 36rem; }
.mini-h { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 1.5rem 0 .6rem; }
.scope-bullets { list-style: none; display: grid; gap: .55rem; margin: 0 0 1.25rem; }
.scope-bullets li { position: relative; padding-left: 1.5rem; }
.scope-bullets li::before { content: ""; position: absolute; left: .1rem; top: .62em; width: .55rem; height: .55rem; background: var(--accent); border-radius: 1px; }
.scope-wide { grid-template-columns: 1fr; gap: .75rem 3rem; }
@media (min-width: 760px) { .scope-wide { grid-template-columns: 1fr 1fr; } }

.steps { list-style: none; counter-reset: step; align-self: start; }
.steps li { counter-increment: step; position: relative; padding: 1.3rem 0 1.4rem 3.6rem; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 1.15rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1rem; }
.steps h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--slate); max-width: 34rem; }

.process { list-style: none; counter-reset: p; display: grid; gap: 0 2.5rem; }
.process li { counter-increment: p; padding: 1.5rem 0 1.9rem; border-top: 2px solid var(--navy); }
.process li::before { content: counter(p); display: block; font-family: var(--display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--accent-ink); margin-bottom: .9rem; letter-spacing: -0.03em; }
.process h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.process p { margin: 0; color: var(--slate); }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process { grid-template-columns: repeat(3, 1fr); } }

.market-cards { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .market-cards { grid-template-columns: repeat(3, 1fr); } }
.market-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.7rem; }
.market-card h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.market-card p { margin: 0; color: var(--slate); }

.uses { display: grid; gap: 0 4rem; }
@media (min-width: 860px) { .uses { grid-template-columns: 1fr 1fr; } }
.use { padding: 1.6rem 0 1.5rem; border-top: 2px solid var(--navy); }
.use h2 { font-size: 1.5rem; margin-bottom: .7rem; }
.use > p { color: var(--slate); max-width: 30rem; }

.flow { display: grid; gap: 1rem; align-items: stretch; }
.flow-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.5rem; }
.flow-col ul { list-style: none; display: grid; gap: .55rem; }
.flow-col li { padding-left: 1.2rem; position: relative; }
.flow-col li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; background: var(--accent); border-radius: 1px; }
.flow-label { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 0 0 .8rem; }
.flow-core { background: var(--navy); border-color: var(--navy); color: var(--white); }
.flow-arrow { position: relative; height: 2.2rem; }
.flow-arrow::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 6px; width: 2px; background: var(--navy-3); transform: translateX(-50%); }
.flow-arrow::after { content: ""; position: absolute; left: 50%; bottom: 0; border: 6px solid transparent; border-top-color: var(--navy-3); border-bottom: 0; transform: translateX(-50%); }
@media (min-width: 960px) {
  .flow { grid-template-columns: 1fr 3rem 1fr 3rem 1fr; gap: 0; }
  .flow-arrow { height: auto; }
  .flow-arrow::before { left: 0; right: 6px; top: 50%; bottom: auto; width: auto; height: 2px; transform: translateY(-50%); }
  .flow-arrow::after { left: auto; right: 0; top: 50%; bottom: auto; border: 6px solid transparent; border-left-color: var(--navy-3); border-right: 0; transform: translateY(-50%); }
}

.areas { list-style: none; border-top: 2px solid var(--navy); }
.areas li { display: grid; gap: .5rem 3rem; padding: 1.6rem 0 1.7rem; border-bottom: 1px solid var(--line); }
.areas h3 { font-size: 1.35rem; }
.areas p { margin: 0; color: var(--slate); max-width: 34rem; }
@media (min-width: 860px) { .areas li { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; } }

.case-list { display: grid; gap: 3rem; padding-bottom: 3rem; }
.case { display: grid; gap: 1.5rem 4rem; padding-top: 2rem; border-top: 2px solid var(--navy); }
@media (min-width: 900px) { .case { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.case h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.case-area { color: var(--accent-ink); font-weight: 650; margin-bottom: .5rem; }
.case-client { color: var(--slate); margin-top: .75rem; }
.metrics { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 1.5rem; }
.metric-v { display: block; font-family: var(--display); font-weight: 650; font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; }
.metric-l { display: block; color: var(--slate); margin-top: .35rem; font-size: .95rem; }

.cta-band { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.cta-band-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .cta-band-grid { grid-template-columns: 1fr auto; gap: 4rem; } }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); max-width: 20em; }
.cta-band p { color: #c9d6ea; margin: 1rem 0 0; max-width: 34rem; }

.todo { display: block; width: fit-content; max-width: 100%; margin: 1rem 0 0; padding: .5rem .8rem; background: #fff3bf; border: 1px solid #d9a900; border-radius: 4px; color: #4a3b00; font-size: .88rem; line-height: 1.4; }

/* ---------- Strony wewnętrzne ---------- */
.page-title { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-title h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 600; letter-spacing: -0.03em; max-width: 16em; }
.page-title p { color: var(--slate); max-width: 40rem; margin: 1.1rem 0 0; font-size: 1.15rem; }

/* ---------- Lista aktualności ---------- */
.cat-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.cat-filter a { display: inline-block; padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .93rem; background: var(--white); }
.cat-filter a:hover { border-color: var(--navy); }
.cat-filter a[aria-current="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }

.post-list { list-style: none; border-top: 2px solid var(--navy); }
.post-item { display: grid; gap: .75rem 3rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .post-item { grid-template-columns: 12rem minmax(0, 1fr); } }
.post-meta { font-size: .93rem; color: var(--slate); display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-content: start; }
@media (min-width: 820px) { .post-meta { flex-direction: column; gap: .25rem; } }
.post-meta .cat { color: var(--accent-ink); font-weight: 650; text-decoration: none; }
.post-meta .cat:hover { text-decoration: underline; }
.post-item h2, .post-item h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 600; }
.post-item h2 a, .post-item h3 a { text-decoration: none; }
.post-item h2 a:hover, .post-item h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.post-item p { margin: .75rem 0 0; color: #34415a; max-width: 42em; }
.post-item.first h2, .post-item.first h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.empty { padding: 2.5rem 0; color: var(--slate); max-width: 34em; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }

/* ---------- Artykuł ---------- */
.preview-bar { background: var(--accent); color: #1b1206; padding: .7rem var(--gutter); text-align: center; font-size: .95rem; }
.article-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.article-head > .container { max-width: calc(42.5rem + 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 1060px) {
  .article.has-toc .article-head > .container { max-width: var(--max); display: grid; grid-template-columns: 14rem minmax(0, 42.5rem); column-gap: 4rem; justify-content: center; }
  .article.has-toc .article-head > .container > * { grid-column: 2; }
}
.article-meta { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; font-size: .95rem; color: var(--slate); margin: 0 0 1.25rem; }
.article-meta .cat { color: var(--accent-ink); font-weight: 650; text-decoration: none; }
.article-meta .cat:hover { text-decoration: underline; }
.article-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -0.03em; }
.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: #34415a; margin: 1.5rem 0 0; max-width: 34em; }

.article-layout { padding-top: 2.5rem; padding-bottom: 2rem; display: block; }
.article-layout .prose-col { max-width: 42.5rem; margin-inline: auto; }
@media (min-width: 1060px) {
  .article-layout.has-toc { display: grid; grid-template-columns: 14rem minmax(0, 42.5rem); justify-content: center; gap: 4rem; }
  .article-layout.has-toc .prose-col { margin-inline: 0; }
}
.toc { font-size: .93rem; }
@media (min-width: 1060px) { .toc { position: sticky; top: 1.5rem; align-self: start; max-height: calc(100vh - 3rem); overflow: auto; } }
@media (max-width: 1059px) { .toc { max-width: 42.5rem; margin: 0 auto 2rem; padding: 1.1rem 1.25rem; background: var(--grey-100); border-radius: var(--radius); } }
.toc-title { font-weight: 700; margin: 0 0 .75rem; }
.toc ol { list-style: none; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: .3rem 0 .3rem 1rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--slate); line-height: 1.35; }
.toc li.l3 a { padding-left: 1.9rem; font-size: .9rem; }
.toc li a:hover { color: var(--ink); }
.toc li a[aria-current="true"] { color: var(--ink); border-left-color: var(--accent); font-weight: 650; }

.prose { font-size: 1.15rem; line-height: 1.75; color: #1c283d; }
.prose > * + * { margin-top: 1.25em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.8rem; margin-top: 2.4em; scroll-margin-top: 1.5rem; }
.prose h3 { font-size: 1.4rem; margin-top: 2em; scroll-margin-top: 1.5rem; }
.prose h4 { font-size: 1.15rem; margin-top: 1.8em; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent-ink); }
.prose a { color: var(--navy); font-weight: 600; }
.prose blockquote { margin-inline: 0; padding: .2em 0 .2em 1.4em; border-left: 4px solid var(--accent); color: #34415a; }
.prose blockquote > * + * { margin-top: .8em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; background: var(--grey-100); padding: .12em .35em; border-radius: 3px; }
.prose pre { background: var(--navy); color: var(--white); padding: 1.1rem 1.25rem; border-radius: var(--radius); overflow: auto; font-size: .9rem; line-height: 1.55; }
.prose pre code { background: none; padding: 0; color: inherit; }
.table-wrap { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
@media (min-width: 760px) { .table-wrap { margin-inline: 0; padding-inline: 0; } }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; line-height: 1.45; min-width: 32rem; }
.prose th, .prose td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { border-bottom: 2px solid var(--navy); font-weight: 700; }
.prose .a-right { text-align: right; font-variant-numeric: tabular-nums; }
.prose .a-center { text-align: center; }
.article-foot { margin-top: 3rem; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.article-foot .updated { color: var(--slate); font-size: .95rem; }
.article-foot .disclaimer { border-top: 1px solid var(--line); padding-top: 1.25rem; font-size: .95rem; color: var(--slate); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 3rem; padding-bottom: clamp(3.5rem, 8vw, 6rem); }
@media (min-width: 920px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; } }
.contact-data h2, .form-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.contact-data address { font-style: normal; margin-bottom: 2rem; }
.reg-list { margin: 0; }
.reg-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.reg-list dt { color: var(--slate); }
.reg-list dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 650; text-align: right; }
.reg-court { margin-top: 1rem; font-size: .93rem; color: var(--slate); }

.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 650; font-size: .97rem; }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field textarea, .field select { font: inherit; padding: .8rem .9rem; border: 1px solid #8e9bb0; border-radius: var(--radius); background: var(--white); color: var(--ink); width: 100%; }
.field textarea { min-height: 11rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--navy); }
.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .93rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--slate); margin: 0; max-width: 40em; }
.form-status { padding: 1rem 1.1rem; border-radius: var(--radius); border: 1px solid; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { border-color: var(--ok); background: #e5f2ea; color: #15472e; }
.form-status.err { border-color: var(--danger); background: #fbebe7; color: #7a2615; }
.notice { padding: 1.1rem 1.25rem; background: var(--grey-100); border-radius: var(--radius); border-left: 4px solid var(--accent); }

/* ---------- Teksty prawne ---------- */
.legal { max-width: 46rem; padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.legal h2 { font-size: 1.4rem; margin: 2.2em 0 .6em; font-weight: 600; }
.legal ul { padding-left: 1.25em; }
.legal li + li { margin-top: .4em; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--navy-950); color: #c3d0e4; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .96rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 3rem; } }
.brand-foot { color: var(--white); margin-bottom: 1rem; }
.footer-lead { font-family: var(--display); font-size: 1.05rem; color: var(--white); max-width: 18em; margin-bottom: 1rem; }
.site-footer address { font-style: normal; }
.footer-social { margin-top: 1rem; }
.footer-h { font-family: var(--sans); font-size: .98rem; font-weight: 700; letter-spacing: 0; color: var(--white); margin-bottom: .9rem; }
.site-footer .reg-list div { border-bottom-color: rgba(255, 255, 255, .16); padding: .4rem 0; }
.site-footer .reg-list dt { color: #9fb0c9; }
.site-footer .reg-list dd { color: var(--white); }
.site-footer .reg-court { color: #9fb0c9; font-size: .88rem; }
.footer-links ul { list-style: none; display: grid; gap: .5rem; }
.footer-base { margin-top: 3rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; color: #9fb0c9; }
.footer-base p { margin: 0; }

/* ---------- Panel ---------- */
.panel-wrap { padding: 2.5rem 0 5rem; }
.panel-wrap h1 { font-size: 2rem; margin-bottom: 1.5rem; font-weight: 600; }
.panel-h { margin: 0 !important; }
.panel-bar { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; }
.panel-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .97rem; }
.panel-table th, .panel-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.panel-table th { background: var(--grey-100); font-weight: 700; }
.panel-table td.actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .82rem; font-weight: 700; }
.badge-draft { background: #f7e6c4; color: #6a4a12; }
.badge-live { background: #d4ecdc; color: #15472e; }
.badge-sched { background: #dbe6f5; color: #1c3d6e; }
.panel-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.panel-card h2 { font-size: 1.3rem; margin-bottom: .8rem; }
.mt-lg { margin-top: 2.5rem; }
.flash { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.5rem; border: 1px solid; }
.flash.ok { background: #e5f2ea; border-color: var(--ok); color: #15472e; }
.flash.err { background: #fbebe7; border-color: var(--danger); color: #7a2615; }
.token-box { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--navy); color: var(--white); padding: .9rem 1rem; border-radius: var(--radius); word-break: break-all; margin: .75rem 0; }
.editor textarea.body-field { min-height: 32rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95rem; line-height: 1.6; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.inline-form { display: inline; }
