/* "What it costs to run Busy Book" on Pricing (templates/front/_costs.html), on top of the public site's look (site.css) */
.costs-jump { margin-top: 18px; font-weight: 700; }
.costs-jump i { font-size: .8rem; margin-left: 4px; }
.costs { padding: 96px 0; background: var(--cloud); border-top: 1px solid var(--line); }
.costs-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.costs-head h2 { margin: 18px 0 14px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-wrap: balance; }
.costs-head .lead { margin: 0 auto; }
.costs-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.costs-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow); min-width: 0; }
.costs-card h3 { margin-top: 14px; font-size: 1.3rem; }
.costs-sub { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.costs-tag { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; border-radius: 999px; padding: 4px 11px; background: var(--tint); color: var(--teal-dark); }
.costs-tag-out { background: var(--sun-bg); color: #92400E; }

.costs-plans { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.costs-plans li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; padding: 14px 18px; }
.costs-plans li + li { border-top: 1px solid var(--line); }
.costs-plans b { color: var(--ink); font-size: 1.05rem; }
.costs-price { font-weight: 800; color: var(--ink); font-size: 1.25rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.costs-price small { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.costs-conv { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
.costs-list { margin-top: 22px; display: grid; gap: 14px; }
.costs-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; font-size: .95rem; line-height: 1.55; }
.costs-list i { width: 30px; height: 30px; border-radius: 10px; background: var(--tint); color: var(--teal); display: grid; place-items: center; font-size: .8rem; }
.costs-list b { color: var(--ink); }

.costs-vendor { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.costs-vendor:first-of-type { margin-top: 20px; }
.costs-vendor-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.costs-vendor-top a { font-weight: 800; font-size: 1.08rem; color: var(--ink); }
.costs-vendor-top a:hover { color: var(--teal); }
.costs-vendor-top a i { font-size: .7rem; color: var(--muted); margin-left: 2px; }
.costs-vendor-top span { font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--cloud); border: 1px solid var(--line); color: var(--body); }
.costs-vendor ul { margin-top: 8px; display: grid; gap: 6px; }
.costs-vendor li { position: relative; padding-left: 16px; font-size: .93rem; line-height: 1.55; }
.costs-vendor li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.costs-more { display: inline-block; margin-top: 8px; font-weight: 700; font-size: .88rem; }
.costs-more i { font-size: .72rem; margin-left: 2px; }
.costs-note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .93rem; }
.costs-checked { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; background: var(--cloud); border-radius: var(--r-sm); padding: 12px 14px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.costs-checked i { color: var(--teal); margin-top: 3px; }

.costs-calc { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 20px; align-items: stretch; }
.costs-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow); display: grid; gap: 18px; align-content: start; min-width: 0; }
.costs-form h3 { font-size: 1.3rem; }
.costs-form .costs-sub { margin-top: -12px; }
.costs-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.costs-field { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--ink); min-width: 0; border: 0; padding: 0; margin: 0; }
.costs-field small { font-weight: 500; color: var(--muted); }
.costs-field legend { padding: 0; margin-bottom: 6px; }
.costs-field input, .costs-field select { font: inherit; font-weight: 500; font-size: 16px; border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 12px; color: var(--ink); background: #fff; width: 100%; min-width: 0; }
.costs-field input:focus, .costs-field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); }
.costs-field input:disabled { background: var(--cloud); color: var(--muted); }
.costs-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--cloud); border: 1px solid var(--line); border-radius: 999px; padding: 4px; width: max-content; max-width: 100%; }
.costs-seg label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 14px; border-radius: 999px; color: var(--body); font-weight: 700; cursor: pointer; }
.costs-seg input { width: 16px; height: 16px; margin: 0; accent-color: var(--teal); cursor: pointer; }
.costs-seg label:has(input:checked) { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.costs-phone { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.costs-check { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-weight: 700; color: var(--ink); cursor: pointer; }
.costs-check input { width: 20px; height: 20px; accent-color: var(--teal); margin: 0; }
.costs-check small { font-weight: 500; color: var(--muted); }
.costs-check:has(input:disabled) { color: var(--muted); cursor: default; }

.costs-result { background: var(--ink); color: #D7E3EA; border-radius: var(--r-lg); padding: 28px 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.costs-result > small { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.costs-total { color: #fff; line-height: 1.1; }
.costs-total span { font-size: clamp(2.1rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.costs-total em { display: block; font-style: normal; font-size: .9rem; color: #B8CAD4; margin-top: 4px; }
.costs-lines { margin-top: 6px; display: grid; gap: 10px; }
.costs-lines li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 10px; font-size: .93rem; }
.costs-lines li > span { min-width: 0; }
.costs-lines small { display: block; font-size: .8rem; color: #9FB4C0; margin-top: 3px; line-height: 1.45; }
.costs-lines b { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.costs-est { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--mint); border-radius: 999px; padding: 2px 7px; margin-left: 4px; vertical-align: 1px; }
.costs-how { font-size: .84rem; color: #9FB4C0; line-height: 1.5; }
.costs-fine { text-align: center; color: var(--muted); font-size: .88rem; max-width: 760px; margin: 22px auto 0; }

@media (max-width: 960px) {
  .costs-grid, .costs-calc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .costs { padding: 64px 0; }
  .costs-card, .costs-form { padding: 24px 20px; border-radius: 22px; }
  .costs-result { padding: 24px 20px; border-radius: 22px; }
  .costs-fields { grid-template-columns: minmax(0, 1fr); }
  .costs-plans li { padding: 12px 14px; }
}
