:root {
  --navy: #0b1f4d;
  --ink: #1b2a4a;
  --muted: #55627d;
  --line: #dde5f2;
  --blue: #1a6bf0;
  --blue-dark: #1257cc;
  --red: #e30613;
  --tint: #f3f6fc;
  --card: #fff;
  --shadow: 0 10px 34px rgba(16, 42, 98, .10);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { display: block; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(26, 107, 240, .45); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

.wordmark { font-family: var(--serif); font-weight: 700; letter-spacing: -.025em; color: var(--navy); line-height: 1; white-space: nowrap; }
.wordmark i { font-style: normal; color: var(--red); }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo-mark { width: 40px; height: 37px; flex: none; }
.logo .wordmark { font-size: 28px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--navy); transition: background .15s; }
.nav a:hover, .nav a.is-current { background: var(--tint); }
.nav-sep { width: 1px; height: 28px; background: #b9c4d8; margin: 0 14px; }
.btn-notify { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid #c9d6ec; border-radius: 12px; background: var(--tint); font-weight: 700; font-size: 15px; color: var(--navy); transition: background .15s, border-color .15s, transform .1s; }
.btn-notify:hover { background: #e7eefb; border-color: #a9bde3; }
.btn-notify:active { transform: scale(.98); }
.btn-notify svg { width: 19px; height: 19px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; color: var(--navy); }
.menu-btn svg { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, #f1f5fc 0%, #f6f8fd 55%, #fff 100%); overflow: hidden; }
.hero-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 34px; padding-bottom: max(12.8vw, 150px); }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 20px; border-radius: 14px; background: #fde3e6; color: var(--red); font-weight: 800; font-size: 18px; }
.badge svg { width: 24px; height: 24px; }
.hero-title { font-size: clamp(52px, 9.500vw, 112px); margin-top: 22px; }
.hero-sub { margin-top: 14px; font-size: clamp(26px, 4vw, 46px); line-height: 1.15; color: #4a5672; font-weight: 500; letter-spacing: -.01em; }
.hero-lead { margin-top: 18px; max-width: 840px; font-size: clamp(16px, 1.800vw, 21px); color: #3c4963; }

.ask { position: relative; display: flex; align-items: center; gap: 4px; width: 100%; max-width: 1000px; margin-top: 34px; padding: 8px 10px 8px 26px; background: #fff; border: 1px solid #d5dfef; border-radius: 999px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.ask:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 107, 240, .14), var(--shadow); }
.ask-ico { width: 30px; height: 30px; flex: none; color: var(--navy); }
.ask input[type="text"] { flex: 1; min-width: 0; height: 60px; padding: 0 12px; border: 0; outline: 0; background: none; font-size: 21px; color: var(--navy); }
.ask input::placeholder { color: #55627d; opacity: 1; }
.ask-tool { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--navy); transition: background .15s, color .15s; }
.ask-tool:hover { background: var(--tint); }
.ask-tool svg { width: 26px; height: 26px; }
.ask-tool.is-on { background: #fde3e6; color: var(--red); animation: pulse 1.200s infinite; }
.ask-send { width: 60px; height: 60px; flex: none; margin-left: 6px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; transition: background .15s, transform .1s; }
.ask-send:hover { background: var(--blue-dark); }
.ask-send:active { transform: scale(.95); }
.ask-send svg { width: 28px; height: 28px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(227, 6, 19, .12); } }

.attach { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 8px 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.attach button { width: 24px; height: 24px; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--muted); }
.attach button:hover { background: var(--tint); color: var(--navy); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 30px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid #c8d3e6; background: #fff; font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .1s; }
.chip:hover { border-color: var(--navy); background: var(--tint); }
.chip:active { transform: scale(.97); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.related .chip, .detail .chip { white-space: normal; text-align: left; }

.answer { position: relative; width: 100%; max-width: 890px; margin-top: 30px; padding: 26px 34px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); text-align: left; }
.answer.is-open { max-width: 1000px; }
.answer-arrow { position: absolute; top: -9px; left: 80px; width: 20px; height: 20px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 4px 0 0 0; transition: left .25s ease; }
.answer-arrow.is-hidden { display: none; }
.answer-head { display: flex; align-items: flex-start; gap: 26px; }
.answer-mark { width: 58px; height: 53px; flex: none; color: var(--navy); margin-top: 4px; padding-right: 0; }
.answer-body { flex: 1; min-width: 0; padding-left: 28px; border-left: 1px solid #c8d1e2; }
.answer-text { font-size: 20.500px; line-height: 1.5; color: var(--ink); }
.answer-text strong { color: var(--navy); font-weight: 800; }
.answer-q { margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.link-btn { margin-top: 10px; font-weight: 700; font-size: 15px; color: var(--blue); }
.link-btn:hover { text-decoration: underline; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1.050em; margin-left: 2px; vertical-align: -3px; background: var(--blue); animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.think { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.think li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: #8a95ab; transition: color .2s; }
.think li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid #cfd8e8; }
.think li.is-now { color: var(--navy); font-weight: 700; }
.think li.is-now::before { border-color: var(--blue); border-top-color: transparent; animation: spin .7s linear infinite; }
.think li.is-done { color: var(--muted); }
.think li.is-done::before { border-color: #18a558; background: #18a558 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.300 2.600 2.600L12 5.500'/%3E%3C/svg%3E") center / 12px no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }

.detail { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.detail-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.detail-title h3 { font-size: 21px; color: var(--navy); letter-spacing: -.01em; }
.tag { padding: 3px 11px; border-radius: 999px; background: var(--tint); font-size: 12.500px; font-weight: 700; color: var(--navy); }
.tag.is-online { background: #e3f6ea; color: #0f7a3d; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.fact { padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }
.fact dt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 4px 0 0; font-size: 15px; color: var(--ink); }
.cols { display: grid; grid-template-columns: 1.300fr 1fr; gap: 26px; }
.cols h4 { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; font-size: 15.500px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; }
.docs { display: flex; flex-direction: column; gap: 8px; }
.docs li { position: relative; padding-left: 26px; font-size: 15.500px; }
.docs li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; transition: background .15s, border-color .15s, transform .1s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #17337a; }
.btn-ghost { border: 1px solid #c8d3e6; color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); background: var(--tint); }
.btn-primary:active, .btn-ghost:active { transform: scale(.98); }
.note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.related { margin-top: 18px; }
.related p { margin-bottom: 9px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.related div { display: flex; flex-wrap: wrap; gap: 8px; }

.skyline { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: max(20.5vw, 205px); background: url("skyline.webp?v=5") center bottom / max(100%, 1000px) auto no-repeat; mix-blend-mode: multiply; pointer-events: none; }

/* Features */
.features { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 6px; }
.feature { display: flex; gap: 14px; padding: 20px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow .2s, transform .2s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-ico { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #e9f0fb; color: var(--navy); }
.feature-ico.is-red { color: var(--red); }
.feature-ico svg { width: 32px; height: 32px; }
.feature h3 { font-size: 17.500px; color: var(--navy); letter-spacing: -.01em; }
.feature p { margin-top: 3px; font-size: 14.500px; color: #3c4963; line-height: 1.45; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 20px; }
.section-tint { margin-top: 96px; padding: 80px 0; background: var(--tint); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.section h2 { margin-top: 8px; font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.section-lead { margin-top: 14px; max-width: 760px; font-size: 18px; color: #3c4963; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 34px; }
.steps3 li { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 21px; font-weight: 700; }
.steps3 h3 { margin-top: 16px; font-size: 20px; color: var(--navy); letter-spacing: -.01em; }
.steps3 p { margin-top: 6px; color: #3c4963; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 34px; }
.cat { padding: 20px 20px 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.cat h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.cat button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #edf1f8; text-align: left; font-size: 15px; color: var(--ink); transition: color .15s; }
.cat button::after { content: "→"; color: #9aa7bf; transition: transform .15s, color .15s; }
.cat button:hover { color: var(--blue); }
.cat button:hover::after { color: var(--blue); transform: translateX(3px); }

.about { display: grid; grid-template-columns: 1.300fr 1fr; gap: 48px; align-items: start; padding-bottom: 80px; }
.about p { margin-top: 16px; font-size: 17px; color: #3c4963; }
.about .eyebrow { margin-top: 0; font-size: 13px; color: var(--red); }
.ticks { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--navy); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 21px; height: 21px; border-radius: 50%; background: #e3f6ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230f7a3d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.300 2.600 2.600L12 5.500'/%3E%3C/svg%3E") center / 13px no-repeat; }
.signup-card { padding: 30px; border-radius: 22px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.signup-card h3 { font-family: var(--serif); font-size: 28px; letter-spacing: -.02em; }
.signup-card p { margin-top: 8px; font-size: 16px; color: #cfdaf2; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.signup input { flex: 1 1 200px; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid #c8d3e6; background: #fff; color: var(--navy); font-size: 16px; outline: 0; }
.signup input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 107, 240, .18); }
.signup input.is-bad { border-color: var(--red); }
.signup-card .btn-primary { background: var(--blue); }
.signup-card .btn-primary:hover { background: var(--blue-dark); }
.form-msg { flex-basis: 100%; min-height: 20px; margin: 0 !important; font-size: 14px !important; font-weight: 700; }
.form-msg.is-ok { color: #19a05a !important; }
.signup-card .form-msg.is-ok { color: #7fe3ab !important; }
.form-msg.is-err { color: var(--red) !important; }
.signup-card .form-msg.is-err { color: #ff9aa2 !important; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: #fff; }
.footer-in { display: grid; grid-template-columns: auto 1fr; gap: 14px 40px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 24px; }
.footer nav a { font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); max-width: 760px; }
.footer-copy { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* Heslo */
.gate { display: none; }
html.locked body > *:not(.gate):not(.sprite) { display: none !important; }
html.locked body { background: linear-gradient(180deg, #f1f5fc, #fff); }
html.locked .gate { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: 20px; }
.gate-box { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 380px; padding: 36px 30px 26px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.gate-title { font-size: 34px; margin-top: 4px; }
.gate-text { color: var(--muted); margin-bottom: 6px; }
.gate-box input { width: 100%; height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid #c8d3e6; font-size: 17px; text-align: center; color: var(--navy); outline: 0; }
.gate-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 107, 240, .18); }
.gate-box input.is-bad { border-color: var(--red); animation: shake .3s; }
.gate-box .btn-primary { width: 100%; height: 50px; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* Modal + toast */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(11, 31, 77, .45); backdrop-filter: blur(3px); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal-box { position: relative; width: 100%; max-width: 460px; padding: 34px; border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(11, 31, 77, .35); animation: rise .25s ease both; }
.modal-mark { width: 50px; height: 46px; color: var(--navy); }
.modal-box h2 { margin-top: 14px; font-family: var(--serif); font-size: 30px; letter-spacing: -.02em; color: var(--navy); }
.modal-box p { margin-top: 8px; color: #3c4963; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; font-size: 26px; line-height: 1; color: var(--muted); }
.modal-x:hover { background: var(--tint); color: var(--navy); }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 26px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 22px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; box-shadow: var(--shadow); animation: rise .25s ease both; }

@media (max-width: 1020px) {
  .hero-in { padding-bottom: 190px; }
  .skyline { background-position: left bottom; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps3 { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 12px; }
  .nav-sep { width: auto; height: 1px; margin: 6px 4px; background: var(--line); }
  .btn-notify { justify-content: center; padding: 12px; }
  .cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  .header-in { height: 58px; }
  .logo-mark { width: 32px; height: 30px; }
  .logo .wordmark { font-size: 23px; }
  .hero-in { padding-top: 24px; padding-bottom: 185px; }
  .badge { font-size: 15px; padding: 6px 14px; }
  .badge svg { width: 20px; height: 20px; }
  .ask { margin-top: 24px; padding: 5px 6px 5px 14px; gap: 0; }
  .ask-ico { display: none; }
  .ask input[type="text"] { height: 50px; font-size: 16px; padding: 0 6px; }
  .ask-tool { width: 38px; height: 38px; }
  .ask-tool svg { width: 21px; height: 21px; }
  .ask-send { width: 48px; height: 48px; margin-left: 2px; }
  .ask-send svg { width: 23px; height: 23px; }
  .chips { gap: 8px; margin-top: 20px; }
  .chip { font-size: 13.500px; padding: 7px 14px; }
  .answer { padding: 20px 18px; border-radius: 18px; margin-top: 22px; }
  .answer-head { gap: 14px; }
  .answer-mark { width: 34px; height: 31px; }
  .answer-body { padding-left: 0; border-left: 0; }
  .answer-text { font-size: 16.500px; }
  .skyline { background-position: left bottom; }
  .features { grid-template-columns: 1fr; gap: 12px; }
  .section { padding-top: 64px; }
  .section-tint { margin-top: 64px; padding: 56px 0; }
  .footer-in { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
  .modal-box { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
