/* HOA Spy — the paywall and the pricing page (site/billing.js, docs/BILLING.md).
   A separate sheet, not style.css: returning browsers keep style.css for
   hours (docs/DEPLOY.md "Caching"), so new rules ship in a new file. Tokens
   only — see the note at the top of style.css. */

.paywall {
  margin: 14px 0 18px; padding: 18px 18px 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.paywall .pw-head b { font-size: 16px; }
.paywall .pw-head p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.pw-test { margin: 4px 0 8px; color: var(--warn, #b45309); font-weight: 600; }
.pw-offers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; margin: 14px 0 10px;
}
.pw-offer {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 12px 14px; text-align: left; cursor: pointer; font: inherit;
  color: var(--ink); background: var(--page); border: 1px solid var(--border); border-radius: 10px;
}
.pw-offer:hover { border-color: var(--series-1); background: var(--page-hover); }
.pw-offer:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pw-offer b { font-size: 20px; letter-spacing: -0.01em; }
.pw-offer b i { font-style: normal; font-size: 13px; font-weight: 500; color: var(--muted); }
.pw-offer span { font-weight: 600; font-size: 14px; }
.pw-offer small { color: var(--muted); font-size: 12.5px; }
.pw-offer.pw-best { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pw-auth { min-height: 1.6em; }
.pw-form .rv-line input { flex: 1 1 180px; }
.pw-fine { margin-top: 10px; }
.pw-fine a { color: inherit; }

/* The walled part of a profile page: still there for crawlers and for
   anyone who reads source, unreadable on the page. */
.pw-blur {
  position: relative; max-height: 260px; overflow: hidden;
  filter: blur(6px); pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, var(--ink) 30%, transparent);
  mask-image: linear-gradient(to bottom, var(--ink) 30%, transparent);
}
.pw-host { margin-bottom: 20px; }

/* pricing.html */
.pricing .lede { color: var(--ink-2); font-size: 16px; max-width: 60ch; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 20px 0; }
.plan {
  padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.plan.best { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan h2 { margin: 0; font-size: 18px; }
.plan .price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.plan .price i { font-style: normal; font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.plan .primary-btn { margin-top: auto; align-self: flex-start; }
.account { margin: 10px 0 24px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.account .rv-line { margin: 0; }
.pricing details { margin: 10px 0; }
.pricing summary { cursor: pointer; font-weight: 600; }
.pricing details p { color: var(--ink-2); margin: 6px 0 0 0; font-size: 14.5px; line-height: 1.5; }
