/* Pricing page only. Loads after style.css and uses the site's own colours, fonts and radii. */
body.pricing section { padding: 0; border: 0; }
.pricing .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Frosted layer behind the floating nav: anything scrolling up under the header is blurred out */
body.pricing::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 76px; background: rgba(244,243,239,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); z-index: 30; pointer-events: none; }

.pr-head { padding: 140px 0 36px; }
.pr-head h1 { font-size: 56px; line-height: 1.02; margin: 0 0 16px; max-width: 760px; }
.pr-head p { color: var(--mu); font-size: 17px; max-width: 580px; margin: 0; }

/* Plan cards */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.plan { position: relative; background: var(--cd); border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--fg); }
.plan-badge { position: absolute; top: -13px; right: 24px; background: var(--coral-d); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.pico { width: 48px; height: 48px; border-radius: 12px; background: #ece9e1; color: var(--coral-d); display: grid; place-items: center; margin-bottom: 22px; }
.pico svg { width: 26px; height: 26px; }
.pname { font-size: 28px; line-height: 1.1; margin: 0 0 6px; }
.ptag { color: var(--mu); font-size: 16px; margin: 0 0 22px; }
.pprice { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.01em; margin-bottom: 10px; }
.pnote { color: var(--mu); font-size: 14px; line-height: 1.5; margin: 0 0 24px; min-height: 42px; }
.pbtn { display: block; text-align: center; background: transparent; color: var(--fg); font-weight: 700; font-size: 15px; padding: 13px 16px; border-radius: var(--r); border: 1.5px solid var(--fg); text-decoration: none; }
.pbtn:hover { background: var(--fg); color: #fff; }
.pbtn.p { background: var(--coral-d); border-color: var(--coral-d); color: #fff; }
.pbtn.p:hover { background: #b73620; border-color: #b73620; }
.plan hr { border: 0; border-top: 1px dashed var(--bd); margin: 24px 0 18px; }
.feat-lead { display: block; font-weight: 700; font-size: 15px; margin: 0 0 10px; padding: 10px 14px; border-radius: var(--r); background: #fdece7; border: 1px solid #f6c9bd; color: #9c2f1a; }
.feat { list-style: none; margin: 0; padding: 0; }
.feat li { position: relative; padding: 7px 0 7px 32px; font-size: 15px; line-height: 1.4; }
.feat li::before { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); }
.feat li::after { content: ""; position: absolute; left: 7px; top: 13px; width: 4px; height: 8px; border: solid #1f7a4d; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Detailed comparison */
.pr-cmp { margin-top: 88px; }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp col.p { width: 200px; }
.cmp thead th { position: sticky; top: 76px; z-index: 3; background: var(--fg); color: #fff; padding: 11px 8px; border-bottom: 0; text-align: center; font-weight: 400; vertical-align: middle; box-shadow: 0 8px 12px -8px rgba(24,32,45,.35); }
.cmp thead th.cmp-title { text-align: left; padding-left: 18px; border-top-left-radius: var(--r-lg); }
.cmp thead th:last-child { border-top-right-radius: var(--r-lg); }
.cmp .cmp-title .sech { margin: 0; font-size: 19px; line-height: 1.2; color: #fff; }
.cmp .cn { display: block; font-family: var(--hf); font-size: 17px; font-weight: 700; line-height: 1.2; color: #fff; }
.cmp thead th.s { background: linear-gradient(var(--coral-d), var(--coral-d)) top / 100% 3px no-repeat, var(--fg); }
.cmp td:last-child { background: #fbf1ee; }
.cmp .grp th { text-align: left; font-family: var(--hf); font-size: 22px; font-weight: 700; padding: 40px 16px 12px; border-bottom: 1px solid var(--bd); color: var(--fg); }
.cmp tbody th[scope="row"] { text-align: left; font-weight: 400; font-size: 15px; padding: 15px 16px; border-bottom: 1px solid var(--bd); }
.cmp td { text-align: center; padding: 12px 8px; border-bottom: 1px solid var(--bd); }
.cmp .pr th, .cmp .pr td { font-weight: 700; font-size: 16px; }
.tick { display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: var(--coral-d); position: relative; vertical-align: middle; }
.tick::after { content: ""; position: absolute; left: 7px; top: 3.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cross { color: #9aa2af; font-size: 20px; line-height: 20px; vertical-align: middle; }

/* Monthly charges: separate cards */
.pr-month { margin-top: 56px; }
.sub-p { color: var(--mu); font-size: 15px; margin: -6px 0 18px; }
.mcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mcard { background: var(--cd); border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 24px 26px 20px; }
.mcard h3 { font-size: 18px; margin: 0 0 6px; }
.mprice { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--bd); }
.mprice strong { font-family: var(--hf); font-size: 34px; line-height: 1; }
.mprice span { color: var(--mu); font-size: 15px; margin-left: 4px; }

/* Good to know */
.pr-extra { margin-top: 56px; }
.sech { font-size: 28px; margin: 0 0 16px; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.extra { background: var(--cd); border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 24px; }
.extra h3 { font-size: 18px; margin: 0 0 8px; }
.extra p { color: var(--mu); font-size: 15px; margin: 0; }
.pr-note { margin: 20px 0 0; padding: 16px 20px; border-radius: var(--r); background: var(--mint); font-size: 15px; }

/* Closing call to action */
.pr-cta { margin-top: 80px; padding: 72px 0 !important; text-align: center; }
.pr-cta h2 { max-width: 640px; margin: 0 auto 12px; }
.pr-cta p { color: #c2c9d4; max-width: 520px; margin: 0 auto 28px; }
.pr-cta .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pr-cta .btn { border-color: #fff; color: #fff; }
.pr-cta .btn.p { border-color: var(--coral-d); }

.pbtn:focus-visible, .btn:focus-visible, #nv a:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

@media (max-width: 860px) {
  .pr-head { padding-top: 120px; }
  .pr-head h1 { font-size: 40px; }
  .plans, .extras, .mcards { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px 28px; }
  .plan.pop { margin-top: 10px; }
  .pnote { min-height: 0; }
  .pr-cmp { margin-top: 88px; }
  .cmp .cmp-title .sech { font-size: 15px; }
  .cmp thead th.cmp-title { padding-left: 8px; }
  .cmp col.p { width: 96px; }
  .cmp thead th { padding: 9px 2px; }
  .cmp .cn { font-size: 14px; }
  .cmp .grp th { font-size: 19px; padding: 32px 8px 12px; }
  .cmp tbody th[scope="row"] { font-size: 14px; padding: 13px 8px; }
  .cmp .pr td { font-size: 13px; }
  .pr-month, .pr-extra, .pr-cta { margin-top: 44px; }
}
@media (max-width: 380px) {
  .pr-head h1 { font-size: 34px; }
  .plan-price, .pprice { font-size: 38px; }
  .cmp col.p { width: 74px; }
}
