/* Pricing — page rules on top of ../../styles.css. Mobile-first, same breakpoints (760 / 1080). */

/* ---------- status on the tint: Rolling out ---------- */
.status.roll { color: var(--blue-press); background: var(--blue-tint); padding: 3px 10px 3px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--blue-tint-line); }
.status.roll .sdot { width: 10px; height: 10px; box-shadow: inset 0 0 0 1.5px var(--blue-press); background: linear-gradient(90deg, var(--blue-press) 50%, transparent 50%); }

/* ---------- hero: the plan sentence + the worked example ---------- */
.p-hero { padding: 40px 0 64px; }
.p-hero-in { display: grid; gap: 40px; }
.p-h1 { font-size: 44px; line-height: 1.02; font-weight: 700; letter-spacing: -.04em; text-wrap: balance; max-width: 13ch; }
.p-h1-2 { display: block; margin-top: .12em; color: var(--ink-3); }
.p-hero .lead { margin-top: 20px; max-width: 54ch; }
.p-hero .actions { margin-top: 28px; }

/* the ledger: a ruled sheet laid over the building's twelve letterboxes, money in a ruled right-hand column.
   phone: the photo runs full bleed as a 4:5 crop with the box bank centred, the sheet overlaps its brick sill */
.ledger-desk { margin: 0; position: relative; }
.ledger-plate { margin: 0 calc(-1 * var(--gut)); aspect-ratio: 4 / 5; overflow: hidden; background: var(--dusk-0); }
.ledger-plate img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.ledger { position: relative; margin-top: -24px; background: var(--surface); border-radius: var(--r-3); padding: 22px 20px 20px; box-shadow: 0 0 0 1px rgba(24,23,21,.07), var(--sh-3); }
.ledger-k { font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: .01em; }
.ledger-n { margin-top: 4px; font-size: 52px; line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.ledger-t { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 17px; line-height: 1.35; }
.ledger-t th, .ledger-t td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: baseline; }
.ledger-t th { text-align: left; font-weight: 400; color: var(--ink-2); padding-right: 16px; }
.ledger-t td { font-variant-numeric: tabular-nums; width: 1%; white-space: nowrap; text-align: right; font-weight: 600; color: var(--ink); padding-left: 16px; border-left: 1px solid var(--line); }
.ledger-total th, .ledger-total td { border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); padding: 16px 0; }
.ledger-total th { color: var(--ink); font-weight: 600; padding-right: 16px; }
.ledger-total td { font-weight: 700; padding-left: 16px; }
.ledger-note { margin-top: 16px; font-size: 16px; line-height: 1.5; color: var(--ink-3); text-wrap: pretty; }

/* ---------- everything, for every scheme: ruled rows, ruled three-up on desktop ---------- */
.incl { margin-top: 40px; display: grid; border-top: 1px solid var(--line); }
.inc { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.inc .status { margin-bottom: 4px; }
.inc p { color: var(--ink-2); font-size: 17px; max-width: 62ch; }

/* ---------- builders and managers: a ruled band ---------- */
.band { background: var(--sunk); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 48px 0; }
.band-in { display: grid; gap: 24px; }
.band-copy { display: flex; flex-direction: column; gap: 12px; }
.band-h { font-size: 30px; }
.band-copy p { color: var(--ink-2); max-width: 60ch; }
.band-btn { justify-self: start; }

/* ---------- FAQ: hairline rows, two columns on desktop ---------- */
/* two answers carry a small app-window figure under their words */
.faq-fig { margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.faq-fig figcaption { font-size: 14px; line-height: 1.4; letter-spacing: .01em; color: var(--ink-3); }
.mini-win { background: var(--surface); border-radius: 8px; overflow: hidden; color: var(--ink); font-size: 15px; line-height: 1.45;
  box-shadow: 0 0 0 1px var(--line-2), var(--sh-2); }
.mini-win .pal-bar { height: 28px; padding: 0 12px; }
.mini-win .dots { gap: 5px; } .mini-win .dots i { width: 8px; height: 8px; }
.mw-head { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 12px; border-bottom: 1px solid var(--line); }
.mw-title { font-size: 16px; font-weight: 700; letter-spacing: -.012em; line-height: 1.3; color: var(--ink); }
.mw-meta { font-size: 14px; color: var(--ink-3); }
.mw-from { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.mw-from .ic { width: 16px; height: 16px; color: var(--ink-3); }
.mw-k { color: var(--ink-3); margin-right: 2px; }
.mw-mail .mw-title { margin-top: 4px; }
.mw-rows { padding: 0 16px 4px; }
.mw-r { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 44px; border-bottom: 1px solid var(--line); }
.mw-r:last-child { border-bottom: 0; }
.mw-r .ic { width: 16px; height: 16px; color: var(--ink-3); }
.mw-t { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-m { font-size: 14px; color: var(--ink-3); }
.mw-new { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--blue-press); background: var(--blue-tint); padding: 1px 8px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--blue-tint-line); }
.mw-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 16px 16px; }
.mw-body p:not(.mw-meta) { font-size: 15px; color: var(--ink-2); }
.mw-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; }
.mw-body .mw-meta { font-size: 13px; }

.faqs { margin-top: 40px; display: grid; border-bottom: 1px solid var(--line); }
.faq { display: flex; flex-direction: column; gap: 8px; padding: 24px 0 28px; border-top: 1px solid var(--line); }
.faq-q { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.faq > p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }

/* ---------- >= 760 ---------- */
@media (min-width: 760px) {
  .p-hero { padding: 64px 0 88px; }
  .p-h1 { font-size: 60px; }
  .ledger-desk { max-width: 560px; }
  .ledger-plate { margin: 0; aspect-ratio: 3 / 2; border-radius: 8px; }
  .ledger-plate img { object-position: 50% 50%; }
  .ledger { margin: -24px 24px 0; padding: 28px 28px 24px; }
  .faq-fig { max-width: 320px; }
  .band { padding: 56px 0; }
  .band-h { font-size: 36px; }
  .faqs { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* ---------- >= 1080 ---------- */
@media (min-width: 1080px) {
  .p-hero { padding: 88px 0 104px; }
  .p-hero-in { grid-template-columns: minmax(0, 1fr) 520px; gap: 80px; align-items: center; }
  .p-h1 { font-size: 72px; line-height: .98; max-width: 12ch; }
  .p-hero .lead { margin-top: 28px; }
  .p-hero .actions { margin-top: 36px; }
  .ledger-desk { max-width: none; }
  .ledger { padding: 32px 32px 28px; }
  .ledger-n { font-size: 60px; }

  .incl { margin-top: 56px; grid-template-columns: repeat(3, 1fr); border-top: 0; border-bottom: 1px solid var(--line); }
  .inc { padding: 32px 32px 40px; border-bottom: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .inc:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .inc:nth-child(3n) { padding-right: 0; }
  .inc-flow { border-top-color: var(--ink); }

  .band { padding: 72px 0; }
  .band-in { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
  .band-h { font-size: 44px; }
  .band-btn { justify-self: end; }

  .faqs { margin-top: 56px; column-gap: 64px; }
  .faq { padding: 28px 0 32px; }
}


/* ---------- >= 1280: the sheet lies on the calm left of the photo; the plate bleeds to the viewport edge
   and grows with it, so the twelve boxes always stay clear to the right of the sheet ---------- */
@media (min-width: 1280px) {
  .p-hero { overflow-x: clip; --off: max(48px, 50cqw - 552px); --pw: calc(472px + var(--off)); }
  .p-hero-in { grid-template-columns: minmax(0, 1fr) calc(676px - var(--off) / 2); gap: 56px; }
  .p-h1 { font-size: clamp(56px, 4.45cqw, 64px); max-width: 13ch; }
  .ledger-desk { align-self: center; }
  .ledger-plate { position: absolute; top: 0; right: calc(-1 * var(--off)); width: var(--pw); aspect-ratio: 8 / 5; margin: 0; border-radius: 8px 0 0 8px; }
  .ledger-plate img { object-position: 50% 62%; }
  .ledger { width: 440px; margin: 40px 0 0; }
}
