/* Strona wejściowa — krótkie hero i jeden aktywny etap. */
.start-page {
  --stage-bg: #1c211e;
  --stage-text: #f6f4eb;
  --stage-muted: #bec6bc;
  --stage-line: #454e45;
  --stage-accent: #f2c14e;
  min-height: 100svh;
}
.start-hero { padding-top: clamp(36px, 4.5vw, 64px); }
.start-hero__intro { text-align: center; margin-inline: auto; max-width: 960px; }
.start-hero h1.start-hero__title { margin: 0; max-width: none; font-size: clamp(3rem, 6.7vw, 5.75rem); font-weight: 500; letter-spacing: -.065em; line-height: .99; text-wrap: balance; }
.start-hero__title span { color: var(--muted); }
.start-hero__lead { max-width: 46ch; margin: 22px auto 0; color: var(--muted); font-size: 1rem; line-height: 1.6; text-wrap: balance; }
.start-tabs { margin: 32px auto 0; max-width: 1120px; }
.start-tabs__list { display: none; }
.start-ready .start-tabs__list { display: flex; justify-content: center; align-items: stretch; width: fit-content; max-width: 100%; gap: 4px; padding: 5px; margin: 0 auto 24px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface-2); }
.start-tabs__tab { min-height: 44px; padding: 11px 24px; border-radius: 100px; color: var(--muted); font-size: .875rem; font-weight: 500; line-height: 1.3; white-space: nowrap; transition: color .16s ease, background .16s ease, box-shadow .16s ease; }
.start-tabs__tab:hover { color: var(--ink); }
.start-tabs__tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px #161d1810, 0 4px 12px #161d1808; }
.start-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: 0 12px 40px #191f1805; }
.start-panel + .start-panel { margin-top: 24px; }
.start-ready .start-panel { margin-top: 0; }
.start-panel__body { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; grid-template-areas: "intro visual" "decision visual"; min-height: 410px; }
.start-panel__copy { grid-area: intro; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 36px 44px 0; }
.start-panel h2.start-panel__title { margin: 0; max-width: 14ch; font-size: clamp(2rem, 3.3vw, 2.75rem); font-weight: 500; letter-spacing: -.047em; line-height: 1.08; text-wrap: balance; }
.start-panel__description { max-width: 34ch; margin-top: 16px; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.start-panel__decision { grid-area: decision; padding: 26px 44px 36px; }
.start-action { display: inline-flex; align-items: center; justify-content: center; gap: 28px; max-width: 100%; min-height: 52px; padding: 14px 24px; border: 1px solid transparent; border-radius: 100px; background: var(--pf-inverse); color: var(--pf-on-inverse); font-size: .9375rem; font-weight: 500; line-height: 1.3; text-align: center; transition: background .16s ease, box-shadow .16s ease, transform .16s ease; }
.start-action svg { flex: 0 0 auto; width: 18px; height: 18px; transition: transform .16s ease; }
.start-action:hover { box-shadow: 0 4px 14px #1c211e18; }
.start-action:hover svg { transform: translateX(3px); }
.start-action:active { transform: scale(.985); }
.start-panel__note { margin-top: 12px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.start-panel__visual { grid-area: visual; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 32px 40px; background: var(--stage-bg); color: var(--stage-text); }
.start-panel__visual h3 { max-width: 20ch; font-size: 1.5rem; font-weight: 500; line-height: 1.2; letter-spacing: -.035em; color: var(--stage-text); }
.start-oc-details { list-style: none; margin: 24px 0 0; padding: 0; }
.start-oc-details li { padding: 17px 0; border-bottom: 1px solid var(--stage-line); color: var(--stage-text); font-size: .875rem; line-height: 1.5; }
.start-oc-details li:last-child { border-bottom: 0; }
.budget__label { display: block; color: var(--stage-muted); font-size: .875rem; font-weight: 400; line-height: 1.5; }
.budget__amount { display: flex; align-items: baseline; gap: 12px; margin-top: 12px; color: var(--stage-text); font-size: clamp(3.25rem, 4.4vw, 3.75rem); font-weight: 500; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.budget__amount small { font-size: 1.375rem; letter-spacing: -.02em; color: var(--stage-muted); }
.budget__interactive { display: none; margin-top: 6px; }
.start-ready .budget__interactive { display: block; }
.budget__slider-wrap { --budget-progress: 30.9524%; position: relative; height: 44px; }
.budget__slider-wrap::before, .budget__slider-wrap::after { content: ""; position: absolute; inset-inline-start: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; pointer-events: none; }
.budget__slider-wrap::before { width: 100%; background: var(--stage-line); }
.budget__slider-wrap::after { width: var(--budget-progress); background: var(--stage-accent); }
.budget-slider { appearance: none; -webkit-appearance: none; position: relative; z-index: 1; display: block; width: 100%; min-width: 0; height: 44px; margin: 0; padding: 0; background: transparent; color: var(--stage-accent); border: 0; cursor: ew-resize; }
.budget-slider::-webkit-slider-runnable-track { height: 3px; background: transparent; border: 0; }
.budget-slider::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border: 0; border-radius: 50%; background: var(--stage-accent); box-shadow: 0 1px 3px #0003; }
.budget-slider::-moz-range-track { height: 3px; background: transparent; border: 0; }
.budget-slider::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--stage-accent); }
.budget-slider:focus-visible { outline: 2px solid var(--stage-accent); outline-offset: 4px; border-radius: 5px; }
.budget__scale { display: flex; justify-content: space-between; margin-top: -2px; color: var(--stage-muted); font-size: .75rem; line-height: 1.5; }
.budget__choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.budget-choice { min-height: 44px; padding: 8px 4px; border: 1px solid var(--stage-line); border-radius: 100px; color: var(--stage-text); font-size: .8125rem; font-weight: 500; white-space: nowrap; transition: border-color .16s ease, color .16s ease, background .16s ease; }
.budget-choice:hover { border-color: var(--stage-accent); }
.budget-choice[aria-pressed="true"] { background: var(--stage-accent); color: #242515; border-color: var(--stage-accent); }
.budget-choice:focus-visible, .start-panel__visual a:focus-visible { outline: 2px solid var(--stage-accent); outline-offset: 4px; }
.budget__hint { margin-top: 12px; color: var(--stage-muted); font-size: .75rem; line-height: 1.5; }
.start-panel__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 12px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.start-panel__links a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding-inline: 12px; color: var(--muted); font-size: .8125rem; line-height: 1.5; transition: color .16s ease; }
.start-panel__links a + a { border-left: 1px solid var(--line); }
.start-panel__links a:hover { color: var(--ink); }
.start-panel__links a span { font-size: 1.125rem; transition: transform .16s ease; }
.start-panel__links a:hover span { transform: translate(2px, -2px); }
.start-checks, .start-sale-steps { margin: 24px 0 0; padding: 0; list-style: none; }
.start-checks li, .start-sale-steps li { border-bottom: 1px solid var(--stage-line); }
.start-checks li:last-child, .start-sale-steps li:last-child { border: 0; }
.start-checks a, .start-sale-steps a { display: flex; align-items: center; gap: 14px; min-height: 58px; padding-block: 14px; color: var(--stage-text); font-size: .875rem; line-height: 1.45; }
.start-checks__number, .start-sale-steps a > span:first-child { flex: 0 0 20px; color: var(--stage-accent); font-size: .75rem; font-variant-numeric: tabular-nums; }
.start-panel__visual .start-plan__arrow { flex: 0 0 auto; margin-left: auto; color: var(--stage-muted); font-size: 1rem; transition: color .16s ease, transform .16s ease; }
.start-panel__visual a:hover .start-plan__arrow { color: var(--stage-accent); transform: translate(2px,-2px); }
.start-assistance { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1120px; margin: 20px auto 48px; padding: 24px 30px; border: 1px solid var(--line); border-radius: 20px; }
.start-assistance h2 { font-size: 1rem; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
.start-assistance p { margin-top: 6px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.start-assistance__link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--ink); white-space: nowrap; font-size: .875rem; font-weight: 500; }
.start-assistance__link svg { width: 18px; height: 18px; transition: transform .16s ease; }
.start-assistance__link:hover svg { transform: translateX(3px); }
.start-page .site-footer { padding-block: 20px; background: transparent; border-top: 1px solid var(--line); }
.start-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.start-footer p { color: var(--muted); font-size: .75rem; line-height: 1.5; }
.start-footer__links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.start-footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .75rem; }
.start-footer__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.start-page .float-stack { display: none; }
.start-page .zgoda { position: static; inset: auto; width: min(calc(100% - 48px), 1120px); max-width: none; margin: 0 auto 24px; padding: 16px 20px; background: var(--surface); border-color: var(--line); box-shadow: none; transform: none; }
.start-page .zgoda .btn { min-height: 44px; }
@media (min-width: 641px) and (max-width: 900px) {
  .start-panel__copy { padding: 32px 28px 0; }
  .start-panel__decision { padding: 24px 28px 32px; }
  .start-panel__visual { padding: 32px 28px; }
  .budget__choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .budget__amount { font-size: 3.25rem; }
  .start-panel__links { padding-inline: 12px; }
}
@media (max-width: 640px) {
  .start-hero { padding-top: 32px; }
  .start-hero h1.start-hero__title { font-size: clamp(2.75rem, 10.5vw, 4rem); line-height: 1.02; letter-spacing: -.06em; }
  .start-hero__lead { max-width: 29ch; margin-top: 18px; font-size: .9375rem; }
  .start-tabs { margin-top: 26px; }
  .start-ready .start-tabs__list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; width: 100%; margin-bottom: 18px; padding: 4px; border-radius: 20px; }
  .start-tabs__tab { min-height: 48px; padding: 9px 8px; border-radius: 15px; white-space: normal; font-size: .8125rem; line-height: 1.3; text-wrap: balance; }
  .start-panel { border-radius: 24px; }
  .start-panel__body { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto auto; grid-template-areas: "intro" "visual" "decision"; min-height: 0; }
  .start-panel__copy { padding: 26px 26px 24px; }
  .start-ready #start-search .start-panel__copy { display: none; }
  .start-panel h2.start-panel__title { max-width: none; font-size: 1.875rem; }
  .start-panel__description { max-width: 36ch; margin-top: 12px; font-size: .875rem; }
  .start-panel__visual { padding: 28px 26px; }
  .start-panel__visual h3 { font-size: 1.375rem; }
  .start-panel__decision { padding: 24px 26px; }
  .start-action { width: 100%; min-height: 52px; }
  .start-panel__note { text-align: center; margin-top: 10px; }
  .budget__amount { font-size: 3rem; margin-top: 10px; }
  .budget__interactive { margin-top: 2px; }
  .budget__choices { gap: 6px; margin-top: 10px; }
  .budget-choice { font-size: .75rem; }
  .budget__hint { margin-top: 14px; font-size: .75rem; }
  .start-panel__links { grid-template-columns: minmax(0,1fr); padding: 8px 24px; }
  .start-panel__links a { justify-content: space-between; min-height: 48px; padding-inline: 0; font-size: .8125rem; }
  .start-panel__links a + a { border-left: 0; border-top: 1px solid var(--line); }
  .start-assistance { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 16px; margin-bottom: 32px; padding: 24px; }
  .start-footer { gap: 6px; }
  .start-footer__links { gap: 0 18px; }
  .start-page .zgoda { width: calc(100% - 40px); padding: 16px; }
}
@media (max-width: 359px) {
  .budget__choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .budget__amount { font-size: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .start-page .start-tabs__tab, .start-action, .start-action svg, .budget-choice, .start-panel__links a, .start-panel__links a span, .start-plan__arrow, .start-assistance__link svg { transition: none; }
  .start-action:active, .start-action:hover svg, .start-panel__links a:hover span, .start-panel__visual a:hover .start-plan__arrow, .start-assistance__link:hover svg { transform: none; }
}
@media print {
  .start-tabs__list, .budget__interactive, .start-panel__decision, .start-assistance, .start-panel__links, .start-page .site-footer { display: none !important; }
  .start-hero h1.start-hero__title { font-size: 24pt; }
  .start-panel h2.start-panel__title { font-size: 18pt; }
  .start-panel, .start-panel__body, .start-panel__visual { background: #fff; color: #000; box-shadow: none; }
  .start-panel__visual h3, .budget__label, .budget__amount, .budget__amount small, .budget__hint, .start-panel__visual a, .start-checks__number, .start-sale-steps a > span:first-child { color: #000; }
}
