/* =========================================================
   Strona główna
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 96px);
    overflow: hidden;
}
.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(40px, 5vw, 72px);
}
.hero__copy > * + * { margin-top: 24px; }
.hero__copy .h-display { margin-top: 28px; }
.hero__actions { margin-top: 36px; }
.hero__note { font-size: .9rem; color: var(--ink-muted); margin-top: 14px; }

@media (min-width: 1041px) {
    /* okno aplikacji „wychodzi” poza kolumnę i jest przycięte krawędzią ekranu */
    .preview__window { margin-right: -200px; }
    .preview__caption { margin-right: 0; }
}
@media (max-width: 1040px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__copy { max-width: 40rem; }
}

/* ---------- Podgląd aplikacji (HTML zamiast zrzutu) ---------- */
.preview { position: relative; padding: 0 0 48px 0; }
.preview__window {
    margin-left: 40px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-window);
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--ink);
}
.preview__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 34px;
    padding: 0 12px;
    background: #eee9dd;
    border-bottom: 1px solid var(--line);
}
.preview__dots { display: flex; gap: 6px; }
.preview__dots i { width: 9px; height: 9px; border-radius: 50%; background: #d3cab6; }
.preview__url {
    flex: 1;
    max-width: 300px;
    padding: 3px 10px;
    background: var(--surface);
    border-radius: 4px;
    font-size: 11px;
    color: var(--ink-muted);
}
.preview__body { display: grid; grid-template-columns: 148px 1fr; min-height: 330px; }
.preview__side { padding: 16px 10px; background: var(--green-900); color: #c8d3c3; }
.preview__farm {
    display: block;
    margin: 0 6px 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 600;
    font-size: 12px;
}
.preview__side li { padding: 6px 8px; border-radius: 4px; }
.preview__side li.is-active { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; box-shadow: inset 2px 0 0 var(--rape-500); }
.preview__main { padding: 16px 18px; min-width: 0; }
.preview__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.preview__title { font-family: var(--font-serif); font-size: 17px; font-weight: 600; }
.preview__sub { color: var(--ink-muted); font-size: 11.5px; }
.preview__btn { padding: 6px 10px; border-radius: 4px; background: var(--green-700); color: #fff; font-weight: 600; font-size: 11.5px; white-space: nowrap; }
.preview__table { border-collapse: collapse; }
.preview__table td:nth-child(2), .preview__table td:nth-child(3) { padding-right: 14px; }
.preview__table th {
    padding: 7px 6px;
    border-bottom: 1px solid var(--line-strong);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ink-muted);
    text-align: left;
    white-space: nowrap;
}
.preview__table td { padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.preview__table tr:last-child td { border-bottom: 0; }
.preview__table td strong { display: block; font-weight: 600; white-space: nowrap; }
.preview__table td span:not(.badge) { display: block; color: var(--ink-muted); font-size: 11px; }
.preview__table .num { text-align: right; white-space: nowrap; }
.preview__table .badge { font-size: 10.5px; }

.preview__phone { position: absolute; left: 0; bottom: 0; width: 190px; }
.phone {
    position: relative;
    padding: 9px;
    background: #1b231d;
    border-radius: 26px;
    box-shadow: 0 24px 40px -18px rgba(16, 34, 23, .55);
}
.phone__notch { position: absolute; top: 14px; left: 50%; width: 46px; height: 5px; margin-left: -23px; border-radius: 4px; background: #1b231d; z-index: 1; }
.phone__screen {
    display: grid;
    gap: 7px;
    padding: 26px 11px 12px;
    background: var(--paper);
    border-radius: 18px;
    font-size: 11px;
    line-height: 1.3;
}
.phone__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; font-size: 12px; }
.phone__top span:first-child { font-size: 16px; color: var(--green-700); }
.phone__field { display: grid; gap: 2px; padding: 6px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
.phone__field small { font-size: 9.5px; color: var(--ink-muted); }
.phone__field span { font-weight: 600; }
.phone__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.phone__weather { color: var(--ink-muted); font-size: 10.5px; }
.phone__save { display: block; padding: 8px; border-radius: 5px; background: var(--green-700); color: #fff; text-align: center; font-weight: 600; }
.phone__offline { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #6d5410; }
.phone__offline i { width: 7px; height: 7px; border-radius: 50%; background: var(--rape-500); flex-shrink: 0; }

.preview__caption { margin-top: 10px; text-align: right; font-size: .78rem; color: var(--ink-muted); }

@media (max-width: 640px) {
    .preview__window { margin-left: 0; }
    .preview__body { grid-template-columns: 1fr; }
    .preview__side { display: none; }
    .preview__table th:nth-child(4), .preview__table td:nth-child(4),
    .preview__table th:nth-child(5), .preview__table td:nth-child(5),
    .preview__table th:nth-child(6), .preview__table td:nth-child(6) { display: none; }
    .preview { padding-bottom: 0; }
    .preview__phone { display: none; }
}

/* ---------- Terminy (fakty) ---------- */
.facts { background: var(--green-900); color: #d6dfd1; }
.facts .container { padding-block: clamp(44px, 6vw, 64px); }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 0 32px; border-left: 1px solid rgba(255, 255, 255, .16); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact__value {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -.015em;
}
.fact:first-child .fact__value { color: var(--rape-400); }
.fact__text { margin-top: 12px; max-width: 22rem; font-size: .98rem; line-height: 1.55; }
.facts__more { margin-top: 36px; }
.facts__more a { color: #fff; }
.facts__more a:hover { color: var(--rape-400); }

@media (max-width: 800px) {
    .facts__grid { grid-template-columns: 1fr; gap: 28px; }
    .fact { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
    .fact:first-child { padding-top: 0; border-top: 0; }
}

/* ---------- Jak to działa ---------- */
.steps-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.steps-layout__intro { position: sticky; top: 120px; }
.steps-layout__intro .lead { margin-top: 18px; }
.steps { padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-block: 36px; border-top: 1px solid var(--line); }
.step:first-child { padding-top: 0; border-top: 0; }
.step p { margin-top: 10px; color: var(--ink-soft); max-width: 36rem; }
.step__num {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
}
.step__visual {
    margin-top: 22px;
    max-width: 460px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    font-size: .88rem;
}

.mini-row { display: grid; grid-template-columns: 12px 1fr auto auto; align-items: center; gap: 12px; padding: 9px 4px; }
.mini-row + .mini-row { border-top: 1px solid var(--line); }
.mini-row__swatch { width: 12px; height: 12px; border-radius: 2px; }
.mini-row__swatch--a { background: #c49b2e; }
.mini-row__swatch--b { background: #2d5636; }
.mini-row__swatch--c { background: #7d6c43; }
.mini-row__name { font-weight: 600; }
.mini-row__meta { color: var(--ink-muted); }
.mini-row__area { min-width: 64px; text-align: right; }

.mini-search { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--green-700); border-radius: var(--radius); box-shadow: 0 0 0 3px rgba(45, 98, 57, .14); }
.mini-search svg { width: 16px; height: 16px; color: var(--ink-muted); }
.mini-search .caret { width: 1px; height: 16px; background: var(--ink); margin-left: -6px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mini-result { margin-top: 8px; padding: 11px 12px; background: var(--green-50); border-radius: var(--radius); }
.mini-result > div:first-child { display: flex; justify-content: space-between; gap: 12px; }
.mini-result dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 22px; margin-top: 8px; }
.mini-result dt { font-size: .76rem; color: var(--ink-muted); }
.mini-result dd { font-weight: 600; }

.step__visual--log ul { padding: 0; }
.step__visual--log li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 8px 4px; }
.step__visual--log li + li { border-top: 1px solid var(--line); }
.step__visual--log time { color: var(--ink-muted); font-size: .8rem; }

@media (max-width: 900px) {
    .steps-layout { grid-template-columns: 1fr; }
    .steps-layout__intro { position: static; }
}
@media (max-width: 520px) {
    .step { grid-template-columns: 1fr; gap: 14px; }
    .mini-row { grid-template-columns: 12px 1fr auto; }
    .mini-row__meta { display: none; }
    .step__visual--log li { grid-template-columns: auto 1fr; }
    .step__visual--log time { display: none; }
}

/* ---------- Anatomia wpisu ---------- */
.record-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.record-layout__copy .lead { margin-top: 18px; }
.record-legend { margin-top: 28px; padding: 0; columns: 2; column-gap: 28px; }
.record-legend li { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; break-inside: avoid; font-size: .98rem; }
.record-legend__num, .record-sheet dt i {
    display: inline-grid;
    place-items: center;
    width: 20px; height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--rape-500);
    color: var(--green-950);
    font-size: .72rem;
    font-weight: 700;
    font-style: normal;
}
.record-layout__more { margin-top: 24px; }

.record-sheet {
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-window);
    overflow: hidden;
}
.record-sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.record-sheet__no { font-size: .8rem; color: var(--ink-muted); }
.record-sheet__title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.record-sheet__grid { display: grid; grid-template-columns: 1fr 1fr; }
.record-sheet__grid > div { padding: 13px 22px; border-bottom: 1px solid var(--line); }
.record-sheet__grid > div:nth-child(odd):not(.span-2) { border-right: 1px solid var(--line); }
.record-sheet__grid > .span-2 { grid-column: 1 / -1; }
.record-sheet__grid > div.span-2 + div:not(.span-2) { border-right: 1px solid var(--line); }
.record-sheet__grid > div.span-2 + div:not(.span-2) + div:not(.span-2) { border-right: 0; }
.record-sheet dt { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }
.record-sheet dd { margin-top: 5px; font-weight: 500; }
.record-sheet__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 12px 22px; background: var(--paper); font-size: .84rem; color: var(--ink-muted); }

@media (max-width: 960px) {
    .record-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .record-legend { columns: 1; }
    .record-sheet__grid { grid-template-columns: 1fr; }
    .record-sheet__grid > div { border-right: 0 !important; }
}

/* ---------- Dla kogo ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.audience__item { display: flex; flex-direction: column; gap: 14px; padding: 28px 32px 8px; border-left: 1px solid var(--line); }
.audience__item:first-child { padding-left: 0; border-left: 0; }
.audience__item > p { color: var(--ink-soft); }
.audience__item .check-list { font-size: .96rem; }
.audience__item .arrow-link { margin-top: auto; padding-top: 8px; }

@media (max-width: 900px) {
    .audience { grid-template-columns: 1fr; }
    .audience__item { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
    .audience__item:first-child { border-top: 0; }
}

/* ---------- Pozostałe funkcje ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.features__item { padding: 22px 0 26px; border-top: 1px solid var(--line-strong); }
.features__item dt { font-weight: 600; font-size: 1.05rem; }
.features__item dd { margin-top: 6px; color: var(--ink-soft); font-size: .98rem; }

@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout__contact { margin-top: 18px; color: var(--ink-soft); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- Pasek CTA ---------- */
.cta-band { background: var(--green-800); color: #d6dfd1; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-block: clamp(48px, 6vw, 72px); }
.cta-band .h2 { color: #fff; }
.cta-band p { margin-top: 10px; max-width: 34rem; }

/* =========================================================
   Podstrony
   ========================================================= */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); }
.page-head .lead { margin-top: 18px; }
.page-head--article { border-bottom: 1px solid var(--line); padding-bottom: clamp(36px, 5vw, 56px); }
.breadcrumbs { margin-bottom: 18px; font-size: .9rem; color: var(--ink-muted); }
.breadcrumbs a { color: var(--ink-muted); }
.article-meta { margin-top: 18px; font-size: .9rem; color: var(--ink-muted); }

/* ---------- Cennik ---------- */
.pricing { padding-bottom: clamp(56px, 7vw, 88px); }

.period-switch { display: inline-flex; margin: 0 0 32px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); }
.period-switch input { position: absolute; opacity: 0; pointer-events: none; }
.period-switch label { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 99px; font-size: .94rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.period-switch input:checked + label { background: var(--ink); color: var(--paper); }
.period-switch input:focus-visible + label { box-shadow: var(--focus); }
.period-switch__save { padding: 1px 7px; border-radius: 99px; background: var(--rape-500); color: var(--green-950); font-size: .74rem; }

.price--monthly { display: contents; }
.price--yearly { display: none; }
.pricing:has(#period-yearly:checked) .price--monthly { display: none; }
.pricing:has(#period-yearly:checked) .price--yearly { display: contents; }

.plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
}
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 26px 32px; border-left: 1px solid var(--line); }
.plan:first-child { border-left: 0; }
.plan--featured { margin: -1px; border: 2px solid var(--green-700); border-radius: var(--radius-lg); background: #fff; z-index: 1; }
.plan--featured + .plan { border-left: 0; }
.plan__flag {
    position: absolute;
    top: -13px; left: 24px;
    padding: 3px 10px;
    border-radius: 99px;
    background: var(--green-700);
    color: #fff;
    font-size: .76rem;
    font-weight: 600;
}
.plan__name { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 600; line-height: 1.2; }
.plan__for { margin-top: -10px; min-height: 3em; font-size: .93rem; color: var(--ink-muted); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-height: 60px; }
.plan__amount { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.plan__amount--text { font-size: 1.45rem; line-height: 1.2; }
.plan__period { font-size: .88rem; color: var(--ink-muted); }
.plan__regular { flex-basis: 100%; font-size: .95rem; color: var(--ink-muted); }
.plan__net { flex-basis: 100%; font-size: .8rem; color: var(--ink-muted); }
.plan__promo { flex-basis: 100%; font-size: .8rem; color: var(--ink-muted); line-height: 1.45; }
.plan__features { padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; }
.pricing__note { margin-top: 18px; font-size: .9rem; color: var(--ink-muted); }

@media (max-width: 1080px) {
    .plans { grid-template-columns: 1fr 1fr; }
    .plan:nth-child(3) { border-left: 0; }
    .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
    .plan--featured + .plan { border-left: 1px solid var(--line); }
}
@media (max-width: 640px) {
    .plans { grid-template-columns: 1fr; }
    .plan { border-left: 0 !important; border-top: 1px solid var(--line); }
    .plan:first-child { border-top: 0; }
    .plan--featured { margin: 0 -1px; }
    .plan__for { min-height: 0; }
}

.compare__title { margin-bottom: 28px; }
.compare { min-width: 680px; }
.compare th, .compare td { text-align: center; }
.compare th[scope='row'], .compare thead th:first-child { text-align: left; }
.compare td svg { margin-inline: auto; }
.compare tbody th { font-weight: 500; color: var(--ink); }

/* ---------- Artykuł (przepisy) ---------- */
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-block: 48px clamp(64px, 8vw, 104px); }
.toc { position: sticky; top: 112px; align-self: start; font-size: .93rem; }
.toc__title { margin-bottom: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-muted); }
.toc ol { padding: 0; border-left: 1px solid var(--line-strong); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; transition: color .15s, border-color .15s; }
.toc a::before { content: counter(toc) '. '; color: var(--ink-muted); }
.toc a:hover,
.toc a.is-active { color: var(--ink); border-left-color: var(--green-700); }

.article > h2 { scroll-margin-top: 112px; }
.article > h2:first-of-type { margin-top: 1.6em; }
.article .table-scroll { margin-block: 1.4em; }
.data-table__note { display: block; margin-top: 3px; font-size: .84rem; font-weight: 400; color: var(--ink-muted); }

.timeline { margin-top: 1.4em; padding: 0; list-style: none; border-left: 2px solid var(--line-strong); }
.timeline__item { position: relative; padding: 0 0 22px 26px; }
.timeline__item::before {
    content: '';
    position: absolute;
    left: -7px; top: 6px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--green-700);
}
.timeline__item--key::before { background: var(--rape-500); border-color: var(--green-900); }
.timeline__item--key .timeline__when { color: var(--green-900); }
.timeline__when { font-weight: 600; color: var(--ink); }
.timeline__item p + p { margin-top: 3px; color: var(--ink-soft); }
.timeline__item:last-child { padding-bottom: 0; }

.sources li { overflow-wrap: anywhere; }

@media (max-width: 900px) {
    .article-layout { grid-template-columns: 1fr; padding-top: 32px; }
    .toc { position: static; }
}

/* ---------- Kontakt ---------- */
.contact { padding-top: 8px; padding-bottom: clamp(64px, 8vw, 104px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__form { max-width: 40rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-pair > * + * { margin-top: 0; }
.contact__aside { border-top: 2px solid var(--ink); }
.contact__block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact__block > * + * { margin-top: 10px; }
.contact__block .check-list { font-size: .96rem; }

@media (max-width: 900px) {
    .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .field-pair { grid-template-columns: 1fr; }
}

/* ---------- Strona błędu ---------- */
.error-page { padding-block: clamp(72px, 12vw, 160px); }
.error-page .container > * + * { margin-top: 20px; }
.error-page__code { font-size: 1rem; color: var(--ink-muted); }
.error-page .btn-row { margin-top: 32px; }

/* =========================================================
   Logowanie i rejestracja
   ========================================================= */
.auth-body { background: var(--paper); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.auth__main { display: flex; flex-direction: column; padding: 28px clamp(24px, 5vw, 64px); }
.auth__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth__content { display: flex; align-items: center; justify-content: center; flex: 1; padding-block: 48px; }
.auth__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .86rem; color: var(--ink-muted); }
.auth__foot a { color: var(--ink-muted); text-decoration: none; }
.auth__foot a:hover { color: var(--ink); text-decoration: underline; }
.auth__foot span { display: inline-flex; gap: 20px; }

.auth-card { width: 100%; max-width: 440px; }
.auth-card__title { font-size: clamp(2rem, 3.4vw, 2.5rem); }
.auth-card__sub { margin-top: 10px; margin-bottom: 32px; color: var(--ink-soft); }
.auth-card__help { margin-top: 28px; font-size: .93rem; color: var(--ink-muted); }
.auth-card__note { font-size: .88rem; color: var(--ink-muted); text-align: center; }
.auth-card__icon { width: 52px; height: 52px; margin-bottom: 24px; color: var(--green-700); }
.auth-card--message .alert { margin-top: 0; }
.form-consents { display: grid; gap: 12px; padding-top: 4px; }
.form-consents .field { gap: 4px; }
.form-consents__info { font-size: .82rem; color: var(--ink-muted); line-height: 1.5; }

.auth__aside { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: var(--green-950); color: #e7ece2; }
.field-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth__aside::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 34, 23, .94) 0%, rgba(16, 34, 23, .6) 30%, rgba(16, 34, 23, 0) 48%);
    pointer-events: none;
}
.auth__aside-card { position: absolute; left: clamp(28px, 4vw, 56px); right: clamp(28px, 4vw, 56px); bottom: clamp(32px, 5vw, 56px); z-index: 1; max-width: 30rem; }
.auth__aside-kicker { font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--rape-400); }
.auth__aside-title { margin-top: 10px; font-family: var(--font-serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; line-height: 1.15; color: #fff; text-wrap: balance; }
.auth__aside-list { margin-top: 20px; padding: 0; font-size: .98rem; }
.auth__aside-list li { position: relative; padding-left: 22px; }
.auth__aside-list li + li { margin-top: 8px; }
.auth__aside-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--rape-500); }

@media (max-width: 960px) {
    .auth { grid-template-columns: 1fr; }
    .auth__aside { display: none; }
    .auth__main { padding: 20px var(--gutter); }
    .auth__content { align-items: flex-start; padding-block: 40px 56px; }
}

/* Kontakt – dane usługodawcy */
.contact__company { font-style: normal; line-height: 1.6; }

/* Dokumenty prawne (regulamin, polityka prywatności, umowa powierzenia) */
.legal-meta { margin-top: 10px; font-size: .86rem; color: var(--ink-muted); }
.legal-doc { max-width: 46rem; }
.legal-doc h2 { font-size: 1.4rem; }
.legal-doc ol { list-style: decimal; }
.legal-doc ol ol { list-style: lower-alpha; margin-top: .4em; }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.legal-doc th, .legal-doc td { padding: 8px 10px; border: 1px solid var(--line, #d8d2c3); text-align: left; vertical-align: top; }
.legal-doc th { background: rgba(0, 0, 0, .03); font-weight: 600; }
.legal-doc .table-scroll { overflow-x: auto; }
.legal-doc address { font-style: normal; }
.legal-doc__end { margin-top: 2.4em; padding-top: 1em; border-top: 1px solid var(--line, #d8d2c3); }
.legal-form { padding: 16px 18px; border: 1px dashed var(--line, #d8d2c3); border-radius: 6px; }

/* Odstąpienie od umowy */
.withdrawal { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.withdrawal__summary { margin-bottom: 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.withdrawal__summary dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin-top: 12px; }
.withdrawal__summary dt { color: var(--ink-muted); }
.withdrawal__summary dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 860px) { .withdrawal { grid-template-columns: 1fr; } }
