.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 22px; }
.inc div { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.pbtn { height: 52px; padding: 0 28px; border-radius: 14px; border: 1px solid transparent; font-family: var(--sans); font-size: 16px; font-weight: 400; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; transition: background .15s, border-color .15s; }
.pbtn.brand-b { background: var(--brand); color: var(--paper); }
.pbtn.brand-b:hover { background: var(--brand-hover); }
.pbtn.line-b { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.pbtn.line-b:hover { border-color: var(--ink); }
@container pg (max-width: 900px) {
  section { padding-block: 60px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .form-row { flex-direction: column; }
  .form-row.pill { flex-direction: row; }
  .form-row.pill .field { padding-left: 18px; }
  .form-row.pill .btn { padding: 0 18px; }

  .inc { grid-template-columns: 1fr; }
}
/* ---- Pricing: one comparison chart with a plan slider, laid out like roofr.com/pricing ---- */
.pb { background: var(--paper); border-bottom: 1px solid var(--line-2); padding: 56px 0 96px; }
.pb-head { text-align: center; }
.pb-head h2 { font-size: clamp(32px, 4.6cqi, 50px); font-weight: 500; }
.pb-head p { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.pb-tablewrap { margin-top: 40px; overflow: clip; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 1px 2px rgba(20,10,40,.04), 0 12px 32px -18px rgba(20,10,40,.18); }
.pb-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; table-layout: fixed; }
.pb-table col.pb-c0 { width: 27%; }
.pb-table thead th { position: sticky; top: 76px; z-index: 2; background: var(--surface); padding: 16px 18px; text-align: left; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.pb-table thead th:first-child { font: 600 12px var(--sans); color: var(--ink-3); vertical-align: middle; }
.pb-table .pb-plans > * { padding: 20px 16px 24px; vertical-align: top; text-align: left; font-weight: 400; border-bottom: 1px solid var(--line-2); }
.pb-price { margin-top: 14px; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pb-unit { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.pb-plans .pbtn { width: 100%; margin-top: 18px; }
.pb-bill { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pb-switch { position: relative; width: 44px; height: 26px; border: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: background .2s; }
.pb-switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.pb-switch[aria-checked="true"] { background: var(--brand); }
.pb-switch[aria-checked="true"] i { transform: translateX(18px); }
.pb-bill em { flex-basis: 100%; font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink-2); }

.pb-table th, .pb-table td { transition: background-color .2s; }
.pb-table[data-active="0"] tr:not(.pb-grp) > :nth-child(2), .pb-table[data-active="1"] tr:not(.pb-grp) > :nth-child(3),
.pb-table[data-active="2"] tr:not(.pb-grp) > :nth-child(4), .pb-table[data-active="3"] tr:not(.pb-grp) > :nth-child(5) { background-color: #faf6ff; }
.pb-table thead th[data-go] { cursor: pointer; }
.pb-table thead th[data-go]:hover { color: var(--brand); }
/* plan-name header (sticky): dark purple bar, the selected plan in brand purple */
/* only the selected plan is purple; everything else is gray, so the pick stands out */
.pb-table thead th { background-color: #ecebe6; color: var(--ink); }
.pb-table thead th:first-child { color: var(--ink-3); }
.pb-table[data-active="0"] thead tr:not(.pb-grp) > :nth-child(2), .pb-table[data-active="1"] thead tr:not(.pb-grp) > :nth-child(3),
.pb-table[data-active="2"] thead tr:not(.pb-grp) > :nth-child(4), .pb-table[data-active="3"] thead tr:not(.pb-grp) > :nth-child(5) { background-color: var(--brand); color: #fff; }
.pb-slide { display: grid; grid-template-columns: 27% minmax(0, 1fr); align-items: center; padding: 26px 0 18px; border-bottom: 1px solid var(--line); }
.pb-slide-l { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 0 18px; }
.pb-slide-l label { width: 100%; margin-bottom: 4px; font: 600 18px/1.3 var(--sans); letter-spacing: -0.01em; color: var(--ink); cursor: pointer; }
.pb-slide-l b { font-size: 44px; font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; color: var(--brand); font-variant-numeric: tabular-nums; }
.pb-slide-l span { width: 100%; margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.pb-hint { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.pb-hint svg { width: 16px; height: 16px; color: var(--brand); }
.pb-slide-r { padding: 0; }
.pb-slide input[type=range] { -webkit-appearance: none; appearance: none; display: block; width: calc(100% - 14px); height: 10px; margin: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(to right, var(--brand) var(--p, 31%), var(--line-2) var(--p, 31%)); }
.pb-slide input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 2px 10px rgba(110,4,189,.32); }
.pb-slide input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 2px 10px rgba(110,4,189,.32); }
/* until someone moves it, the handle pulses so it reads as the thing to drag */
.pb-slide.is-idle input[type=range]::-webkit-slider-thumb { animation: pb-pulse 1.8s ease-out infinite; }
.pb-slide.is-idle input[type=range]::-moz-range-thumb { animation: pb-pulse 1.8s ease-out infinite; }
@keyframes pb-pulse { 0% { box-shadow: 0 2px 10px rgba(110,4,189,.32), 0 0 0 0 rgba(110,4,189,.35); } 70%, 100% { box-shadow: 0 2px 10px rgba(110,4,189,.32), 0 0 0 14px rgba(110,4,189,0); } }
@media (prefers-reduced-motion: reduce) { .pb-slide.is-idle input[type=range]::-webkit-slider-thumb, .pb-slide.is-idle input[type=range]::-moz-range-thumb { animation: none; } }
.pb-slide input[type=range]:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; }
.pb-ticks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
.pb-ticks span { padding-left: 16px; font: 500 13px var(--sans); color: var(--ink-3); }
.pb-table tbody th[scope="row"] { padding: 14px 18px; text-align: left; font-weight: 500; color: var(--ink); background-color: var(--surface); }
.pb-table tbody td { padding: 14px 18px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.pb-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.pb-table tbody tr:not(.pb-grp):not(.pb-plans):hover > * { background-color: #f6f1fd; }
.pb-table tr.pb-grp th { padding: 28px 18px 10px; text-align: left; background: var(--surface); font: 700 12px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.pb-table tr.pb-grp + tr > * { border-top: 0; }
.pb-ck { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #8f8f96; background: #efeee9; vertical-align: middle; transition: color .2s, background-color .2s; }
.pb-table[data-active="0"] tr > :nth-child(2) .pb-ck, .pb-table[data-active="1"] tr > :nth-child(3) .pb-ck,
.pb-table[data-active="2"] tr > :nth-child(4) .pb-ck, .pb-table[data-active="3"] tr > :nth-child(5) .pb-ck { color: var(--brand); background: var(--brand-tint); }
.pb-no { color: var(--ink-3); font-weight: 400; }
.pb-rl { display: flex; align-items: center; gap: 12px; }
.pb-addrow .pb-rl { align-items: flex-start; }
.pb-ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #f0efea; color: var(--ink-2); }
.pb-ic svg { width: 16px; height: 16px; }
.pb-addrow th[scope="row"] b { display: block; font-weight: 600; }
.pb-addrow th[scope="row"] i { display: block; margin-top: 3px; font-style: normal; font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--ink-3); }
.pb-ul { margin: 5px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--ink-3); }
.pb-ul li { position: relative; padding-left: 13px; }
.pb-ul li + li { margin-top: 3px; }
.pb-ul li::before { content: ""; position: absolute; left: 1px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-soft); }
.pb-custom { font-weight: 500; color: var(--ink-2); }
@container pg (max-width: 900px) {
  .pb-tablewrap { overflow-x: auto; }
  .pb-table, .pb-slide { min-width: 720px; }
  .pb-table { font-size: 13.5px; }
  .pb-slide { grid-template-columns: 150px minmax(0, 1fr); }
  .pb-slide-l { position: sticky; left: 0; z-index: 1; padding: 0 12px; background: var(--surface); }
  .pb-slide-l b { font-size: 38px; }
  .pb-rl { gap: 8px; }
  .pb-ic { width: 24px; height: 24px; border-radius: 7px; }
  .pb-ic svg { width: 13px; height: 13px; }
  .pb-table col.pb-c0 { width: 150px; }
  .pb-table thead th { font-size: 16px; padding-inline: 12px; }
  .pb-table tbody th[scope="row"], .pb-table tbody td, .pb-table .pb-plans > *, .pb-table tr.pb-grp th { padding-inline: 12px; }
  .pb-price { font-size: 19px; }
  .pb-plans .pbtn { white-space: nowrap; padding-inline: 8px; font-size: 13.5px; }
  .pb-table thead th { position: static; }
  .pb-table thead th:first-child, .pb-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); }
}
/* phones: no sideways scrolling. The chart shows one plan at a time, picked with the slider or the plan tabs. */
.pb-tabs { display: none; }
@container pg (max-width: 400px) { .pb-table .pb-ic { display: none; } }   /* small phones: row titles keep to one line */
@container pg (max-width: 760px) {
  .pb-tablewrap { overflow: clip; }
  .pb-table, .pb-slide { min-width: 0; }
  .pb-slide { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 16px 16px; border-bottom: 0; }
  .pb-slide-l { position: static; padding: 0; background: none; }
  .pb-slide input[type=range] { width: 100%; }
  .pb-slide-l #pb-est.is-free { display: none; }
  .pb-plans .pbtn { display: none; }
  .pb-ticks span { padding-left: 0; text-align: center; font-size: 11.5px; }
  .pb-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 0 12px 14px; padding: 4px; border-radius: 14px; background: #ecebe6; }
  .pb-tabs button { min-height: 44px; padding: 6px 4px; border: 0; border-radius: 11px; background: none; font: 600 13px/1.2 var(--sans); color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s; }
  .pb-tabs button[aria-pressed="true"] { background: var(--brand); color: #fff; }
  .pb-table { table-layout: auto; }
  .pb-table colgroup, .pb-table thead, .pb-table tbody td { display: none; }
  .pb-table[data-active="0"] tbody tr > td:nth-child(2), .pb-table[data-active="1"] tbody tr > td:nth-child(3),
  .pb-table[data-active="2"] tbody tr > td:nth-child(4), .pb-table[data-active="3"] tbody tr > td:nth-child(5) { display: table-cell; }
  .pb-table tbody th[scope="row"] { width: 74%; position: static; box-shadow: none; }
  .pb-table tbody td { padding-inline: 6px !important; }
  .pb-plans .pb-price { font-size: 17px; }
  .pb-table tbody th[scope="row"], .pb-table tbody td, .pb-table .pb-plans > *, .pb-table tr.pb-grp th { padding-inline: 10px; }
  .pb-table tbody tr:first-child > * { border-top: 1px solid var(--line); }
}
