/* /pricing in the new look (24 Nov 2026): the home page's parts and type, plus the price builder. Under body.home.
   No price is written here or in pricing.js: both read app/plans.py. */
.home .hb-hero--page { padding: 72px 0 72px; }
.home .hb-hero--page h1 { font-size: clamp(38px, 5vw, 64px); }
.home .hb-hero__year { margin-top: 16px; font-size: 18px; font-weight: 700; color: #fff; }

.home .pb-plans { margin-top: 40px; }
.home .pb-plans .hb-plan { box-shadow: 0 0 0 1px #DCE2EA; }
.home .pb-plans .hb-plan--pick { box-shadow: 0 0 0 3px var(--orange); }
.home .pb-year { font-size: 15px; color: var(--lk-muted); }
.home .pb-plans .pb-year { margin-top: -6px; }
.home .pb-plans ul { margin-bottom: auto; }
.home .pb-plans .pb-actions { margin-top: 18px; }
.home .pb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.home .pb-actions .btn { min-height: 48px; }
.home .pb-note { margin-top: 24px; color: var(--text); }

.home .pb-build { padding-top: 96px; }
.home .pb-build #builder { scroll-margin-top: 90px; }
.home .pb { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; margin-top: 36px; align-items: start; }
.home .pb fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.home .pb legend { padding: 0; margin-bottom: 12px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.home .pb-name { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; font-size: 18px; font-weight: 800; color: var(--ink); }
.home .pb-price { font-size: 16px; font-weight: 700; color: var(--orange-deep); font-variant-numeric: tabular-nums; }
.home .pb-line { display: block; margin-top: 2px; color: var(--text); font-size: 16.5px; line-height: 1.45; }
.home .pb-parts { display: block; margin-top: 6px; color: var(--lk-muted); font-size: 14.5px; line-height: 1.45; }
.home .pb-core, .home .pb-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 16px; padding: 18px 20px; border-radius: 14px; box-shadow: 0 0 0 1px #DCE2EA; background: #fff; }
.home .pb-core { margin-bottom: 28px; background: var(--lk-band); }
.home .pb-core__tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--orange-deep); color: #fff; }
.home .pb-core__tick .ic { width: 18px; height: 18px; }
.home .pb-row + .pb-row { margin-top: 12px; }
.home .pb-row:has(input[type=checkbox]:checked) { box-shadow: 0 0 0 2px var(--orange); }
.home .pb-row > input[type=checkbox] { width: 28px; height: 28px; margin: 0; accent-color: var(--orange-deep); }
.home .pb-row > label { display: block; cursor: pointer; min-height: 44px; }
.home .pb-people { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.home .pb-people label { font-size: 16px; font-weight: 600; }
.home .pb-people input { width: 90px; min-height: 44px; padding: 8px 12px; font: inherit; font-variant-numeric: tabular-nums; border: 1.5px solid var(--lk-btn-line); border-radius: 10px; }
.home .pb fieldset.pb-orders { margin-top: 40px; }
.home .pb-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home .pb-tier { position: relative; }
.home .pb-tier input { position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin: -11px 0 0; accent-color: var(--orange-deep); }
.home .pb-tier label { display: flex; align-items: center; min-height: 52px; padding: 8px 16px 8px 50px; border-radius: 12px; box-shadow: 0 0 0 1px #DCE2EA; cursor: pointer; font-weight: 600; }
.home .pb-tier input:checked + label { box-shadow: 0 0 0 2px var(--orange); background: #FFF8F3; }
.home .pb-tier input:focus-visible + label, .home .pb-row input:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.home .pb-more { margin-top: 14px; }
.home .pb-more a, .home .pb-reset { color: var(--orange-deep); font-weight: 700; display: inline-block; padding: 12px 4px; }
.home .pb-submit { margin-top: 28px; min-height: 48px; }
html.js .pb-submit { display: none; }

.home .pb__sum { position: sticky; top: 96px; padding: 24px; border-radius: 18px; background: var(--navy); color: #fff; }
.home .pb__sum .pb-sum-h, .home .pb__sum .pb-total, .home .pb__sum .pb-total strong, .home .pb__sum .pb-lines li { color: #fff; }
.home .pb-sum-h { font-size: 20px; font-weight: 800; }
.home .pb-lines { margin: 14px 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.home .pb-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15.5px; }
.home .pb-amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
.home .pb-total { font-size: 17px; font-weight: 700; }
.home .pb-total strong { display: block; font-size: 40px; line-height: 1.1; letter-spacing: -.03em; }
.home .pb-per { display: block; font-size: 16px; }
.home .pb-det summary { display: none; }
.home .pb__sum .pb-year { color: var(--on-navy); }
.home .pb__sum .pb-actions { margin-top: 18px; }
.home .pb__sum .btn--primary { flex: 1 1 auto; }
.home .pb__sum .pb-reset { color: #fff; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.home .pb__sum :focus-visible { outline-color: #fff; }

.home .pb-incl .table-wrap { margin-top: 32px; }
.home .pb-table caption { text-align: left; padding: 12px 16px; font-size: 14.5px; color: var(--lk-muted); caption-side: bottom; }
.home .pb-table th[scope=row] { font-weight: 700; background: none; }
.home .pb-table td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.home .pb-bigger { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 8px; padding: 24px 28px; border-radius: 16px; background: var(--lk-band); }
.home .pb-bigger p { font-size: 18px; font-weight: 700; max-width: 34em; }
.home .pb-bigger .btn { min-height: 48px; }

@media (max-width: 1023px) {
    .home .pb { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .home .pb__sum { min-width: 0; padding: 14px 24px 12px; border-radius: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; }
    html.js .home .pb__sum { position: sticky; top: auto; bottom: 0; z-index: 5; margin: 0 -24px -1px; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 24px rgba(11,31,58,.25); }
    .home .pb__sum [data-sum] { display: contents; }
    .home .pb-total { grid-column: 1; font-size: 15px; }
    .home .pb-total strong { font-size: 28px; }
    .home .pb-per { font-size: 14px; font-weight: 600; }
    .home .pb__sum .pb-actions { grid-column: 2; grid-row: 1; margin: 0; }
    .home .pb-det { grid-column: 1 / -1; }
    html.js .home .pb-det summary { display: block; min-height: 44px; padding: 10px 0; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
    .home .pb-lines { margin: 4px 0 8px; }
    .home .pb__sum .pb-year { font-size: 14px; }
}
@media (max-width: 640px) {
    .home .pb__sum { padding: 14px 20px 16px; }
    html.js .home .pb__sum { margin: 0 -20px -1px; }
}
@media (max-width: 700px) {
    .home .hb-hero--page { padding: 40px 0 48px; }
    .home .pb-tiers { grid-template-columns: 1fr; }
    .home .pb-core, .home .pb-row { padding: 16px; gap: 4px 12px; }
    .home .pb-table caption { display: block; width: 100%; padding: 0 16px 12px; }
    .home .pb-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .home .pb-table, .home .pb-table tbody, .home .pb-table tr, .home .pb-table th, .home .pb-table td { display: block; min-width: 0; width: 100%; }
    .home .pb-table tr { padding: 12px 0; border-bottom: 1px solid var(--lk-line); }
    .home .pb-table th, .home .pb-table td { border: 0; padding: 4px 16px; }
    .home .pb-table td::before { content: attr(data-l) ":"; margin-right: .4em; font-weight: 700; color: var(--ink); }
    .home .pb-table td:last-child { white-space: normal; }
}
@media (prefers-reduced-motion: no-preference) { .home .pb-row { transition: box-shadow .15s ease; } }
.home .pb-sum-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Pictures of the software above "What each part includes" */
.home .pb-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; margin: 32px 0 40px; padding: 0; list-style: none; }
.home .pb-shot { margin: 0; min-width: 0; }
.home .pb-shot a { display: block; color: inherit; text-decoration: none; }
.home .pb-shot picture, .home .pb-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.home .pb-shot img { border-radius: 12px; box-shadow: 0 0 0 1px #DCE2EA; background: var(--lk-band); object-fit: cover; }
.home .pb-shot figcaption { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--lk-muted); }
.home .pb-shot figcaption strong { display: block; color: var(--ink); font-size: 16px; }
.home .pb-shot a:hover strong, .home .pb-shot a:focus-visible strong { text-decoration: underline; }
.home .pb-shot a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 12px; }
@media (max-width: 959px) { .home .pb-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .home .pb-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } .home .pb-shot figcaption { font-size: 14px; } .home .pb-shot figcaption strong { font-size: 15px; } }
