@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/inter-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; }

/* Kolory z panelu Loqai. --blue-ink to ciemniejszy stopien niebieskiego z logo:
   bialy tekst na #1E90FF ma tylko 3,2:1, wiec przyciski i linki uzywaja tego odcienia. */
:root {
  --bg: #F5F8FC; --surface: #FFFFFF; --surface-2: #EEF3FA; --line: #DDE6F0;
  --blue: #1E90FF; --blue-ink: #0B64C0; --blue-deep: #084E98;
  --navy: #0B1120; --navy-2: #111A2E; --navy-line: #26334F;
  --text: #0B1120; --dim: #4F5D72; --on-navy: #E6EDF7; --on-navy-dim: #A9B6C9;
  --ok: #15803D; --bad: #B91C1C; --warn: #92560A;
  --page: min(1180px, calc(100% - 32px));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 Inter, system-ui, sans-serif; overflow-x: clip; }
img, video, iframe { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2 { font-weight: 700; letter-spacing: -.032em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); max-width: 19ch; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.012em; }
h4 { font-size: 1rem; line-height: 1.3; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.on-navy :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 10px; }
.wrap { width: var(--page); margin-inline: auto; }
.band { padding-block: clamp(64px, 9vw, 120px); }
.lead { color: var(--dim); font-size: 1.125rem; max-width: 60ch; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border: 1.5px solid transparent; border-radius: 8px; font: 600 1rem/1.2 inherit; font-family: inherit; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-primary { background: var(--blue-ink); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--text); border-color: #AFBDCE; }
.btn-ghost:hover { border-color: var(--text); }
.btn:disabled { opacity: .6; cursor: wait; }

/* Naglowek */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(245, 248, 252, .94); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { height: 34px; width: auto; }
.brand { display: inline-flex; padding: 4px 0; }
#menu { display: flex; align-items: center; gap: 26px; }
#menu a:not(.btn) { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 0; }
#menu a:not(.btn):hover, #menu a[aria-current] { color: var(--blue-ink); }
#menu .btn { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 12px; background: none; border: 1.5px solid #AFBDCE; border-radius: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 4px 0; }

/* Pierwszy ekran: pinezka z logo jako duza forma, karta pobytu w jej srodku */
.hero { position: relative; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; min-height: min(760px, calc(100vh - 73px)); padding-block: 56px; }
h1 { font-size: clamp(2.6rem, 5.7vw, 4.9rem); }
.hero .lead { font-size: 1.16rem; margin-top: 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 600px; }
.hero-pin { position: absolute; width: min(560px, 118%); height: auto; top: 50%; left: 50%; transform: translate(-46%, -50%); fill: var(--blue); }
.stay-card { position: relative; width: min(380px, 100%); background: var(--surface); border-radius: 14px; box-shadow: 0 24px 50px -18px rgba(8, 40, 84, .5); padding: 22px; }
.stay-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.stay-top strong { display: block; font-size: 1.12rem; letter-spacing: -.01em; }
.stay-top span { color: var(--dim); font-size: .9rem; }
.tag { flex: none; background: var(--surface-2); color: var(--dim); border-radius: 5px; padding: 3px 8px; font-size: .76rem; font-weight: 600; }
.stay-steps { position: relative; margin-top: 20px; display: grid; gap: 15px; }
.stay-steps::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.stay-steps li { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 13px; font-size: .94rem; line-height: 1.35; }
.stay-steps li::before { content: ""; width: 14px; height: 14px; margin-top: 2px; border-radius: 50%; background: var(--surface); border: 2px solid #9FB0C5; z-index: 1; }
.stay-steps li.done::before { background: var(--blue-ink); border-color: var(--blue-ink); }
.stay-steps small { display: block; color: var(--dim); font-size: .82rem; }

/* Jak dziala: jedna linia pobytu */
.stay-line { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; counter-reset: s; border-top: 3px solid var(--blue); }
.stay-line li { position: relative; padding: 30px 26px 0 0; counter-increment: s; }
.stay-line li::before { content: counter(s); position: absolute; top: -18px; left: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-ink); color: #fff; font-weight: 700; font-size: .95rem; box-shadow: 0 0 0 6px var(--bg); }
.stay-line p { color: var(--dim); margin-top: 8px; font-size: .98rem; }
.areas { margin-top: 76px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.area { padding: 28px 28px 8px 0; }
.area + .area { padding-left: 28px; border-left: 1px solid var(--line); }
.area > p { color: var(--dim); margin-top: 6px; font-size: .97rem; }
.state { margin-top: 18px; font-size: .94rem; font-weight: 700; }
.state.next { color: var(--warn); }
.state + ul { margin-top: 6px; }
.area li { position: relative; padding-left: 16px; margin-top: 5px; font-size: .95rem; line-height: 1.4; }
.area li::before { content: ""; position: absolute; left: 0; top: .52em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-ink); }
.area .later li::before { background: none; border: 1.5px solid var(--warn); }

/* Demo */
.demo { background: var(--navy); color: var(--on-navy); }
.demo .lead { color: var(--on-navy-dim); }
.demo-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.demo-frame { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 12px; background: #000; object-fit: cover; }
.demo-wait { aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 18px; padding: clamp(22px, 4vw, 40px); border-radius: 12px; background: var(--navy-2); border: 1px solid var(--navy-line); position: relative; overflow: hidden; }
.demo-wait svg { position: absolute; right: -7%; top: -26%; width: 56%; fill: #17345C; }
.demo-wait p { position: relative; font-size: clamp(1.25rem, 2.3vw, 1.75rem); font-weight: 600; line-height: 1.22; letter-spacing: -.015em; max-width: 21ch; color: #fff; }
.demo-wait .btn { position: relative; background: #fff; color: var(--navy); }
.demo-wait .btn:hover { background: #DCEBFB; }

/* Sprawdz swoj lokal */
.check { background: var(--surface); }
.checker { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.pick { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 14px; margin-top: 8px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; font-size: .98rem; line-height: 1.3; }
.pick:hover { border-color: #9FB0C5; }
.pick:has(input:checked) { border-color: var(--blue-ink); background: #EAF4FF; }
.pick:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.pick input { width: 19px; height: 19px; margin: 0; flex: none; accent-color: var(--blue-ink); }
.field { display: grid; gap: 6px; }
.field label, .field-label { font-weight: 600; font-size: .95rem; }
.field small { color: var(--dim); font-weight: 400; }
input[type=text], input[type=email], input[type=number], textarea { width: 100%; min-height: 48px; padding: 10px 13px; border: 1.5px solid #AFBDCE; border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; }
textarea { min-height: 112px; resize: vertical; }
[aria-invalid] { border-color: var(--bad) !important; }
.err { color: var(--bad); font-size: .88rem; min-height: 0; }
.err:empty { display: none; }
.checker .field { margin-top: 14px; }
.check-result { grid-column: 1 / -1; margin-top: 30px; padding: clamp(20px, 3vw, 32px); background: var(--surface-2); border-radius: 12px; }
.check-result > h3 { margin-bottom: 14px; }
#checker-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
#checker-items p { margin-top: 4px; color: var(--dim); font-size: .95rem; }
#checker-note { margin-top: 16px; font-size: .95rem; }
.result-foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.result-foot p { flex: 1 1 280px; color: var(--dim); font-size: .88rem; }
.sets-title { margin-top: 72px; }
.sets { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.set { display: flex; flex-direction: column; padding: 24px; background: var(--bg); border-radius: 10px; }
.set dl { margin: 14px 0 18px; flex: 1; }
.set dt { font-weight: 600; font-size: .88rem; margin-top: 11px; }
.set dd { margin: 1px 0 0; color: var(--dim); font-size: .94rem; line-height: 1.45; }
.set a { font-weight: 600; }
.sets-note { margin-top: 24px; color: var(--dim); max-width: 70ch; }

/* Pilotaz */
.pilot-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.pilot-steps { margin-top: 32px; counter-reset: p; display: grid; gap: 22px; }
.pilot-steps li { counter-increment: p; display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.pilot-steps li::before { content: counter(p); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--blue-ink); font-weight: 700; }
.pilot-steps p { color: var(--dim); font-size: .96rem; }
.direct { margin-top: 28px; color: var(--dim); }
.lead-form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair .pick { margin-top: 0; }
.lead-form legend { font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.lead-form legend small { color: var(--dim); font-weight: 400; }
.carried { background: var(--surface-2); padding: 12px 14px; border-radius: 8px; font-size: .92rem; }
.carried strong { display: block; }
.trap { position: absolute; left: -9999px; }
.form-note { color: var(--dim); font-size: .86rem; }
.form-status { font-weight: 600; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: var(--bad); }
.mail-fallback { display: grid; gap: 8px; font-size: .92rem; }
.mail-fallback textarea { font-size: .85rem; min-height: 150px; }
.mail-fallback .btn { justify-self: start; min-height: 42px; padding: 8px 14px; font-size: .92rem; }
[hidden] { display: none !important; }

/* FAQ */
.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 18px 34px 18px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 1.5rem; font-weight: 400; color: var(--blue-ink); }
details[open] summary::after { content: "−"; }
details p { padding: 0 34px 20px 0; color: var(--dim); }

/* Aktualnosci */
.news-list { margin-top: 36px; display: grid; }
.news-list li { border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; color: inherit; text-decoration: none; }
.news-list a:hover h3 { color: var(--blue-ink); }
.news-list time, .news-kind { color: var(--dim); font-size: .9rem; }
.news-list p { color: var(--dim); margin-top: 5px; }
.empty { margin-top: 32px; padding: 28px; background: var(--surface); border-radius: 10px; max-width: 62ch; color: var(--dim); }
.page-top { padding-block: clamp(52px, 7vw, 92px) 8px; }
.page-top h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 18ch; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 1.7rem; margin-top: 36px; }
.prose h3 { margin-top: 28px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }

/* Inwestorzy */
.inv { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px 48px; padding-block: 34px; border-top: 1px solid var(--line); }
.inv h2 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.2; }
.inv p + p { margin-top: 12px; }
.inv > div { max-width: 66ch; color: #2B384B; }
.inv li { padding-left: 16px; position: relative; }
.inv li + li { margin-top: 8px; }
.inv li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-ink); }
.cta-band { background: var(--navy); color: #fff; }
.cta-band .lead { color: var(--on-navy-dim); }
.cta-band .btn { background: #fff; color: var(--navy); margin-top: 26px; }
.cta-band .btn:hover { background: #DCEBFB; }

/* Stopka */
footer { background: var(--navy); color: var(--on-navy-dim); padding-block: 42px; font-size: .94rem; border-top: 1px solid var(--navy-line); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
footer img { height: 30px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer a { color: var(--on-navy); display: inline-block; padding: 4px 0; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  #menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(8, 40, 84, .35); }
  #menu.open { display: flex; }
  #menu a:not(.btn) { padding: 12px 4px; font-size: 1.05rem; }
  #menu .btn { margin-top: 8px; min-height: 48px; }
  .hero-grid, .demo-grid, .pilot-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; padding-block: 40px 28px; }
  .hero-art { min-height: 520px; }
  .hero-pin { width: min(500px, 112%); transform: translate(-50%, -50%); }
  .areas, .sets { grid-template-columns: 1fr; }
  .area, .area + .area { padding: 24px 0; border-left: 0; }
  .area + .area { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .stay-line { grid-template-columns: 1fr; border-top: 0; border-left: 3px solid var(--blue); margin-left: 16px; gap: 28px; }
  .stay-line li { padding: 2px 0 0 32px; }
  .stay-line li::before { top: 0; left: -19px; box-shadow: 0 0 0 5px var(--bg); }
  .checker, .two { grid-template-columns: 1fr; }
  .checker fieldset + fieldset { margin-top: 28px; }
  .inv { grid-template-columns: 1fr; }
  .news-list a { grid-template-columns: 1fr; gap: 4px; }
  .actions .btn { width: 100%; }
  .demo-wait { aspect-ratio: auto; min-height: 280px; }
  .hero-art { min-height: 460px; }
}
@media (max-width: 420px) { .pair { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
