@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/newsreader-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/newsreader-latin.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: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/dm-sans-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/dm-sans-latin.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; }

/* ZAktu: jeden zestaw kolorów i kształtów. Karty 16 px, pola i przyciski 10 px, etykiety-pigułki pełne zaokrąglenie. */
:root {
  color-scheme: light;
  --ink: #1d2b24; --ink-soft: #4b5c52; --ink-faint: #6b7a70;
  --bg: #f3f5f1; --surface: #fff; --tint: #eef3e8; --tint-strong: #e1ebd8;
  --line: #dce3da; --line-strong: #c4cfc2;
  --accent: #2f6641; --accent-hover: #24523a; --accent-soft: #e4eedd;
  --deep: #1e3329; --deep-ink: #eef3ec; --deep-soft: #b9c9bd; --deep-line: rgba(238,243,236,.16);
  --warn: #8c2f28;
  --r-lg: 16px; --r-md: 10px;
  --shadow: 0 1px 2px rgba(30,51,41,.05), 0 14px 36px rgba(30,51,41,.07);
  --ease: cubic-bezier(.16,1,.3,1);
  font-family: 'DM Sans', system-ui, sans-serif; color: var(--ink); background: var(--bg);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
#result, #wycena, #jak-dziala { scroll-margin-top: 88px; }
body { margin: 0; background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
::selection { background: #d7e992; color: var(--ink); }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid #8fb069; outline-offset: 2px; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
.muted { color: var(--ink-soft); }
.small { font-size: .82rem; line-height: 1.5; }
.editorial-title { font-family: 'Newsreader', Georgia, serif; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }

/* Nagłówek i nawigacja */
.site-header { position: sticky; top: 0; z-index: 30; min-height: 68px; padding: 12px clamp(16px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.brand { font-size: 1.7rem; font-weight: 700; letter-spacing: -.07em; line-height: 1; text-decoration: none; }
.brand-dot { color: #7c9b35; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 30px); }
.nav a { font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--ink-soft); transition: color .2s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .nav-cta { padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); color: var(--ink); }
.nav .nav-cta:hover { border-color: var(--ink); }
main { width: 100%; }

/* Hero: ciemne tło, tytuł i wyszukiwarka po lewej, zdjęcie w ramce po prawej */
.hero { padding: clamp(32px, 4.2vw, 64px) clamp(16px, 4vw, 56px) clamp(40px, 4.8vw, 72px); display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 720px); justify-content: center; gap: clamp(32px, 5vw, 80px); align-items: stretch; color: var(--deep-ink); background: radial-gradient(900px 520px at 88% -10%, rgba(124,155,53,.22), transparent 62%), radial-gradient(700px 480px at -10% 110%, rgba(47,102,65,.35), transparent 60%), var(--deep); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.eyebrow { align-self: flex-start; margin-bottom: 20px; padding: 6px 12px; border: 1px solid var(--deep-line); border-radius: 999px; color: var(--deep-soft); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4.1rem); line-height: 1.02; letter-spacing: -.035em; max-width: 16ch; margin-bottom: 16px; color: #fff; }
.hero-lead { max-width: 44ch; margin-bottom: 24px; color: var(--deep-soft); font-size: 1.05rem; line-height: 1.6; }
.hero-shell { padding: 6px; border: 1px solid var(--deep-line); border-radius: calc(var(--r-lg) + 6px); background: rgba(238,243,236,.06); }
.hero-card { padding: clamp(18px, 2.4vw, 26px); background: var(--surface); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 60px rgba(8,18,13,.35); }
.hero-type { border: 0; padding: 0; margin: 0 0 16px; }
.hero-type legend { font-size: .84rem; font-weight: 600; margin-bottom: 8px; }
.hero-type-options { display: inline-flex; gap: 4px; padding: 4px; background: var(--tint); border-radius: var(--r-md); }
.hero-type-options label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 7px; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--ink-soft); transition: background .2s var(--ease), color .2s var(--ease); }
.hero-type-options label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(30,51,41,.14); }
.hero-type-options input { position: absolute; opacity: 0; pointer-events: none; }
.hero-address-wrap { position: relative; margin-bottom: 12px; }
.hero-address-wrap label { display: block; margin-bottom: 8px; font-size: .84rem; font-weight: 600; }
#hero-address { min-height: 54px; }
.hero-action { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 22px; border: 0; border-radius: var(--r-md); background: var(--accent); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background .25s var(--ease), transform .15s var(--ease); }
.hero-action:hover { background: var(--accent-hover); }
.hero-action-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.14); transition: transform .35s var(--ease), background .25s var(--ease); }
.hero-action:hover .hero-action-icon { transform: translateX(3px); background: rgba(255,255,255,.22); }
.hero-action:active, #submit:active, .verify button[type=submit]:active { transform: scale(.985); }
.hero-card > .hero-hint { max-width: none; min-height: 1.4em; margin: 12px 0 0; color: var(--ink-soft); font-size: .82rem; text-align: center; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--deep-line); }
.hero-facts dt { font-family: 'Newsreader', Georgia, serif; font-size: 1.7rem; font-weight: 500; line-height: 1; color: #cfe3a6; }
.hero-facts dd { margin: 6px 0 0; color: var(--deep-soft); font-size: .84rem; line-height: 1.4; }
.hero-media { position: relative; margin: 0; padding: 6px; border: 1px solid var(--deep-line); border-radius: calc(var(--r-lg) + 6px); background: rgba(238,243,236,.06); }
.hero-media img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 60% center; border-radius: var(--r-lg); }
.hero-note { position: absolute; left: 24px; bottom: 24px; max-width: 290px; display: grid; gap: 4px; padding: 16px 18px; background: rgba(255,255,255,.94); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 18px 40px rgba(8,18,13,.28); }
.hero-note strong { font-size: .95rem; }
.hero-note span { color: var(--ink-soft); font-size: .84rem; line-height: 1.45; }
:is(#hero-suggestions, #suggestions) { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; margin: 0; padding: 6px; list-style: none; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
:is(#hero-suggestions, #suggestions):empty { display: none; }
:is(#hero-suggestions, #suggestions) button { display: block; width: 100%; padding: 11px 12px; border: 0; border-radius: 7px; background: none; text-align: left; cursor: pointer; }
:is(#hero-suggestions, #suggestions) button:hover, :is(#hero-suggestions, #suggestions) button:focus-visible { background: var(--tint); }
.address-field { position: relative; }

/* Sekcja formularza (strona główna, Transakcje, Sprzedaż) */
.entry { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 7vw, 104px) clamp(16px, 4vw, 56px); display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.entry-intro { position: sticky; top: 100px; }
.entry-intro .editorial-title { font-size: clamp(2.4rem, 3.8vw, 3.9rem); margin-bottom: 20px; }
.entry-intro > p { color: var(--ink-soft); max-width: 40ch; margin-bottom: 26px; font-size: 1.02rem; }
.entry-intro .small { margin-top: 18px; max-width: 42ch; }
.entry-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.entry-points li { position: relative; padding-left: 34px; }
.entry-points li::before { content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); }
.entry-points li::after { content: ''; position: absolute; left: 8px; top: 6px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.entry-points strong { display: block; font-weight: 700; }
.entry-points span { color: var(--ink-soft); font-size: .92rem; }
.method-link { font-size: .92rem; font-weight: 700; }
.panel { background: var(--surface); padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.panel > h2 { font-size: 1.5rem; margin-bottom: 6px; }
.panel > .muted { margin-bottom: 4px; }
form { margin: 0; }
.panel form { margin-top: 24px; display: grid; gap: 0; }
.form-group { border: 0; margin: 0; padding: 22px 0; min-width: 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.form-group:first-child { border-top: 0; padding-top: 0; }
.group-title { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; font-size: .86rem; margin-bottom: 8px; padding: 0; }
.form-section { margin-top: 18px; }
.panel form.stack { gap: 18px; }
.stack .form-section, .stack .form-submit { margin-top: 0; }
.stack .form-submit { padding-top: 6px; border-top: 0; }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-type-options label:has(input:focus-visible) { outline: 3px solid #8fb069; outline-offset: 2px; }
label { display: grid; gap: 7px; font-size: .86rem; font-weight: 600; }
input:not([type=radio]):not([type=checkbox]), select, textarea { width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); color: var(--ink); font-weight: 500; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
textarea { resize: vertical; min-height: 96px; }
input:not([type=radio]):not([type=checkbox]):hover, select:hover, textarea:hover { border-color: #9fb09d; }
input:not([type=radio]):not([type=checkbox]):focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,102,65,.14); outline: none; }
input::placeholder, textarea::placeholder { color: var(--ink-faint); font-weight: 400; opacity: 1; }
.type-options, .intent-options, .field-grid, .checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field-grid { gap: 14px; }
.full { grid-column: 1 / -1; }
.type-option, .intent-option, .check { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }
.type-option:hover, .intent-option:hover, .check:hover { border-color: #9fb09d; }
.type-option:has(input:checked), .intent-option:has(input:checked), .check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.type-option { min-height: 56px; font-size: .98rem; }
.intent-option { align-items: flex-start; }
.intent-option strong, .intent-option small { display: block; }
.intent-option small { margin-top: 3px; color: var(--ink-soft); font-weight: 400; font-size: .82rem; }
:is(.type-option, .intent-option, .check) input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--accent); }
.intent-option input { margin-top: 2px; }
.check { min-height: 48px; padding: 11px 14px; font-weight: 600; }
.more { border: 1px solid var(--line); border-radius: var(--r-md); background: #fafbf9; }
.more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; font-weight: 700; font-size: .92rem; list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary span { margin: 0 auto 0 8px; font-weight: 500; color: var(--ink-faint); }
.more > summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); flex: none; }
.more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.more-body { display: grid; gap: 16px; padding: 4px 16px 16px; }
.form-note { font-size: .84rem; color: var(--ink-soft); }
.form-submit { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
#submit { width: 100%; min-height: 56px; border: 0; border-radius: var(--r-md); background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background .2s var(--ease), transform .15s var(--ease); }
#submit:hover { background: var(--accent-hover); }
#submit:disabled { opacity: .55; cursor: wait; }

/* Wynik: komunikaty, raport, bramka */
#result:empty { display: none; }
#result:not(.report) { max-width: 1240px; margin: 0 auto 48px; padding: 0 clamp(16px, 4vw, 56px); color: var(--ink-soft); }
.report { max-width: 1240px; margin: 0 auto clamp(56px, 8vw, 104px); padding: 0 clamp(16px, 4vw, 56px); display: grid; gap: 20px; }
.report-kicker { font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: 6px !important; }
.report-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 4px; }
.report-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.03em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink-soft); }
.btn-secondary { flex: none; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); font-weight: 700; font-size: .9rem; cursor: pointer; transition: border-color .2s var(--ease); }
.btn-secondary:hover { border-color: var(--ink); }
.estimate-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); background: var(--deep); color: var(--deep-ink); border-radius: var(--r-lg); overflow: hidden; }
.estimate-main { padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 10px; align-content: center; }
.estimate-label { font-size: .9rem; font-weight: 600; color: var(--deep-soft); }
.number { font-family: 'Newsreader', Georgia, serif; font-size: clamp(3rem, 6.4vw, 5.4rem); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.estimate-sub { font-size: 1.02rem; }
.estimate-card.is-empty h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.estimate-card.is-empty .estimate-sub { color: var(--deep-soft); max-width: 52ch; }
.range { margin-top: 14px; display: grid; gap: 8px; max-width: 560px; }
.range-label { font-size: .9rem; font-weight: 600; }
.range-bar { position: relative; height: 10px; border-radius: 999px; background: rgba(238,243,236,.12); }
.range-band { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: #a8c98a; }
.range-mid { position: absolute; top: -5px; width: 3px; height: 20px; margin-left: -1.5px; border-radius: 2px; background: var(--deep-ink); }
.range-ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--deep-soft); }
.range-note { font-size: .82rem; color: var(--deep-soft); }
.estimate-facts { margin: 0; padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 0; align-content: center; background: rgba(0,0,0,.14); border-left: 1px solid var(--deep-line); }
.estimate-facts div { padding: 14px 0; border-top: 1px solid var(--deep-line); }
.estimate-facts div:first-child { border-top: 0; }
.estimate-facts dt { font-size: .8rem; font-weight: 600; color: var(--deep-soft); }
.estimate-facts dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.estimate-facts small { display: block; margin-top: 2px; font-size: .78rem; color: var(--deep-soft); }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.report-block { padding: clamp(20px, 2.6vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 12px; align-content: start; }
.report-block h3 { font-size: 1.2rem; }
.report-block > .muted { font-size: .9rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-top: 4px; }
.tile { padding: 14px; border-radius: var(--r-md); background: var(--tint); display: grid; gap: 2px; }
.tile span { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.tile strong { font-size: 1.6rem; letter-spacing: -.03em; }
.tile small { font-size: .74rem; font-weight: 600; color: var(--accent); min-height: 1.1em; }
.tile.is-used { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.market-rows { display: grid; gap: 0; }
.market-rows div { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.market-rows div:first-child { border-top: 0; padding-top: 4px; }
.market-rows span { font-weight: 600; }
.market-rows strong { font-size: 1.2rem; letter-spacing: -.02em; text-align: right; }
.market-rows small { grid-column: 1 / -1; color: var(--ink-soft); font-size: .8rem; }
.trend-market { margin-top: 6px; }
.trend-market h4 { margin: 0 0 10px; font-size: .9rem; color: var(--ink-soft); }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(48px, 112px); justify-content: start; gap: 12px; height: 200px; align-items: end; padding-bottom: 2px; border-bottom: 1px solid var(--line-strong); }
.bar-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 6px; text-align: center; }
.bar-value { font-size: .8rem; font-weight: 700; }
.bar { width: 100%; max-width: 64px; margin: 0 auto; border-radius: 8px 8px 2px 2px; background: var(--accent); opacity: .85; }
.bar-col.partial .bar { opacity: .45; }
.bar-labels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(48px, 112px); justify-content: start; gap: 12px; margin-top: 8px; text-align: center; font-size: .78rem; color: var(--ink-soft); }
.bar-labels small { display: block; color: var(--ink-faint); }
.empty-note { padding: 18px; border-radius: var(--r-md); background: var(--tint); color: var(--ink-soft); font-size: .92rem; }
.key-value { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.key-value div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.key-value strong { text-align: right; }
.callout { padding: 18px 20px; border-radius: var(--r-md); background: var(--tint); border-left: 3px solid var(--accent); }
.method { padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--tint); display: grid; gap: 10px; }
.method h3 { font-size: 1.05rem; }
.method p { font-size: .9rem; color: var(--ink-soft); max-width: 90ch; }
.gate-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.gate-info { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--deep); color: var(--deep-ink); display: grid; gap: 14px; }
.gate-info .report-kicker { color: #a8c98a; }
.gate-info h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.locked { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid var(--deep-line); border-bottom: 1px solid var(--deep-line); }
.locked-number { font-family: 'Newsreader', Georgia, serif; font-size: clamp(2.4rem, 4.6vw, 3.6rem); letter-spacing: .02em; color: rgba(238,243,236,.38); line-height: 1; }
.gate-info p { color: var(--deep-soft); }
.gate-info .tiles .tile { background: rgba(238,243,236,.08); }
.gate-info .tile span { color: var(--deep-soft); }
.gate-info .tile strong { color: var(--deep-ink); }
.gate-head { display: grid; gap: 8px; }
.gate-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* Formularz kodu (site.js) */
.verify { padding: clamp(22px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); display: grid; gap: 14px; }
.verify h3 { font-size: 1.25rem; }
.verify form { display: grid; gap: 16px; }
.verify .optional-consents { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-md); background: var(--tint); }
.verify .optional-consents legend { float: left; width: 100%; margin-bottom: 4px; font-size: .86rem; }
.verify .optional-consents legend span { font-weight: 500; color: var(--ink-soft); }
.verify button[type=submit] { min-height: 52px; border: 0; border-radius: var(--r-md); background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; transition: background .2s var(--ease), transform .15s var(--ease); }
.verify button[type=submit]:hover { background: var(--accent-hover); }
.verify button:disabled { opacity: .55; cursor: wait; }
.consent-check { display: flex; align-items: flex-start; gap: 11px; font-weight: 500; font-size: .88rem; line-height: 1.5; }
.consent-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.contact-phone { font-size: .86rem; }
.code-input { font-size: 1.4rem !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.link-button { justify-self: start; border: 0; background: none; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.verify-error { color: var(--warn); font-weight: 700; font-size: .9rem; }
.verify-error:empty { display: none; }

/* Jak liczymy */
.steps { max-width: 1240px; margin: 0 auto clamp(56px, 7vw, 96px); padding: clamp(32px, 5vw, 64px); background: var(--deep); color: var(--deep-ink); border-radius: var(--r-lg); display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 64px); }
.steps > h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps-list li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px 0; border-top: 1px solid var(--deep-line); }
.steps-list li:first-child { border-top: 0; padding-top: 4px; }
.steps-list li::before { content: counter(step); grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--deep-line); font-weight: 700; color: #a8c98a; }
.steps-list h3 { font-size: 1.15rem; margin-bottom: 4px; }
.steps-list p { color: var(--deep-soft); max-width: 56ch; }

/* Stopka i baner statystyk */
.site-footer { max-width: 1240px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 56px) 40px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .84rem; }
.site-footer p { max-width: 70ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a, .site-footer button { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer button { border: 0; background: none; padding: 0; cursor: pointer; white-space: nowrap; }
.consent { position: fixed; z-index: 40; bottom: 20px; right: 20px; max-width: 440px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 18px 44px rgba(30,51,41,.18); }
.consent p { margin-bottom: 14px; font-size: .9rem; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent button { padding: 10px 14px; border: 1px solid var(--ink); border-radius: var(--r-md); background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; }
.consent button + button { background: var(--surface); color: var(--ink); }

/* Transakcje: mapa i tabela */
.tx-map { position: relative; z-index: 0; height: 460px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tx-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.tx-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.tx-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.tx-table th { position: sticky; top: 0; text-align: left; padding: 13px 14px; background: #f7f9f5; font-size: .8rem; color: var(--ink-soft); white-space: nowrap; border-bottom: 1px solid var(--line); }
.tx-table td { padding: 12px 14px; border-bottom: 1px solid #edf1eb; white-space: nowrap; }
.tx-table tbody tr:last-child td { border-bottom: 0; }
.tx-table tbody tr { cursor: pointer; transition: background .15s var(--ease); }
.tx-table tbody tr:hover td, .tx-table tbody tr.active td { background: var(--accent-soft); }
.leaflet-popup-content { font: 13px/1.5 'DM Sans', sans-serif; color: var(--ink); }
.leaflet-container { font-family: 'DM Sans', sans-serif; }

/* Sprzedaż */
.sell-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.sell-steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
.sell-steps li::before { content: counter(step); grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.sell-steps span { color: var(--ink-soft); font-size: .94rem; }
.sell .consents { display: grid; gap: 12px; margin: 22px 0 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Dokumenty prawne */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 20px 80px; line-height: 1.7; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; letter-spacing: -.03em; }
.legal h2 { margin: 40px 0 10px; font-size: 1.25rem; }
.legal p { margin-bottom: 12px; }
.legal li { margin: 6px 0; }
.legal time { white-space: nowrap; }
.legal .draft { padding: 14px 18px; background: #fff4d6; border-left: 3px solid #c99a2e; border-radius: var(--r-md); }
.legal-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.5; }
.legal th, .legal td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal tr:last-child td { border-bottom: 0; }
.legal th { background: #f7f9f5; font-size: .82rem; }

/* Ruch: wejście raportu; wyłączone przy prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .report > * { animation: rise .55s var(--ease) both; }
  .report > *:nth-child(2) { animation-delay: .05s; }
  .report > *:nth-child(3) { animation-delay: .1s; }
  .report > *:nth-child(n+4) { animation-delay: .15s; }
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(n+4) { animation-delay: .18s; }
  .hero-media { animation: rise .9s .1s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Ramka partnera (/embed/…): bez nawigacji i sekcji marketingowych */
.embed .site-header, .embed .hero, .embed .steps, .embed .entry-intro, .embed .consent, .embed #analytics-settings { display: none !important; }
.embed .entry { grid-template-columns: 1fr; padding: 12px; }
.embed .panel { box-shadow: none; }
.embed .report, .embed #result:not(.report) { padding: 0 12px; margin-bottom: 24px; }
.embed .site-footer { padding: 12px 16px 16px; font-size: .78rem; flex-direction: column; gap: 8px; border-top: 0; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media img { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .entry { grid-template-columns: 1fr; }
  .entry-intro { position: static; }
  .estimate-card, .gate-grid, .report-grid, .steps { grid-template-columns: 1fr; }
  .estimate-facts { border-left: 0; border-top: 1px solid var(--deep-line); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .estimate-facts div { border-top: 0; padding: 0; }
}
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px; position: static; }
  .nav { width: 100%; gap: 6px 16px; flex-wrap: wrap; }
  .nav a { font-size: .86rem; }
  .nav .nav-cta { padding: 6px 10px; }
  .hero { padding: 28px 16px 40px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero-lead { font-size: 1rem; margin-bottom: 22px; }
  .hero-facts { gap: 12px; }
  .hero-facts dt { font-size: 1.4rem; }
  .hero-facts dd { font-size: .78rem; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-note { position: static; max-width: none; margin-top: 6px; box-shadow: none; }
  .type-options, .intent-options, .field-grid, .field-grid.three, .checkbox-grid, .key-value { grid-template-columns: 1fr; }
  .report-head { flex-direction: column; align-items: stretch; }
  .estimate-facts { grid-template-columns: 1fr; gap: 0; }
  .estimate-facts div { padding: 12px 0; border-top: 1px solid var(--deep-line); }
  .estimate-facts div:first-child { border-top: 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bars { height: 160px; gap: 6px; }
  .bar-labels { gap: 6px; }
  .bar-value { font-size: .68rem; }
  .tx-map { height: 340px; }
  .site-footer { flex-direction: column; }
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media print {
  .site-header, .hero, .entry, .steps, .site-footer, .consent, .report-head button, .gate, .verify, .leaflet-control-container { display: none !important; }
  :root, body, .report { background: #fff; }
  .report { max-width: none; margin: 0; padding: 0; gap: 14px; }
  .report > * { animation: none !important; }
  .estimate-card, .gate-info { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
  .estimate-label, .estimate-facts dt, .estimate-facts small, .range-note, .range-ends { color: var(--ink-soft) !important; }
  .estimate-facts { background: none; border-color: var(--line-strong); }
  .estimate-facts div { border-color: var(--line); }
  .range-bar { background: #e6ebe4; } .range-mid { background: var(--ink); }
  .report-block, .method, .tile { break-inside: avoid; }
}
