/* Pricing page. Loaded after blog.css, which supplies the top bar, footer, buttons, colours and the homepage's
   19px type scale. */

.pr-page { padding-bottom: 1rem; }

/* ---- Hero -------------------------------------------------------------------------------------------------------- */

.pr-hero { padding: 2.5rem 0 2rem; text-align: center; }
.pr-hero .crumbs { justify-content: center; }
.pr-eyebrow { margin: 0 0 .75rem; color: var(--accent-ink); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pr-hero h1 { max-width: 40ch; margin: 0 auto 1rem; color: var(--navy); font-size: 1.875rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.pr-hero h1 span { color: var(--accent); white-space: nowrap; }
.pr-lede { max-width: 40rem; margin: 0 auto; color: var(--muted); font-size: 1rem; line-height: 1.6; text-wrap: pretty; }
@media (min-width: 768px) {
  .pr-hero { padding: 3.25rem 0 2.5rem; }
  .pr-hero h1 { font-size: 2.5rem; }
}

/* ---- Price card and calculator ---------------------------------------------------------------------------------- */

.pr-top { display: grid; gap: 1.5rem; max-width: 1080px; margin: 0 auto; }
@media (min-width: 900px) { .pr-top { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); } }

.pr-card, .pr-calc { padding: 2rem 1.5rem; border: 1px solid var(--card-line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow-md); }
@media (min-width: 640px) { .pr-card, .pr-calc { padding: 2.25rem; } }

.pr-card { position: relative; overflow: hidden; border-color: #c9ccfb; box-shadow: 0 18px 44px rgba(79, 70, 229, .12); }
.pr-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #6467f2, #8b5cf6); }
.pr-tag { display: inline-block; margin: 0 0 1.1rem; padding: .3rem .8rem; border-radius: 999px; background: var(--accent-wash); color: var(--accent-ink); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pr-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; margin: 0; color: var(--navy); }
.pr-amount { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.pr-unit { color: var(--muted); font-size: 1rem; font-weight: 500; }
.pr-for { margin: .6rem 0 0; color: var(--fg); font-size: 1rem; line-height: 1.5; }
.pr-for strong { color: var(--navy); }
.pr-extra { margin: 1.1rem 0 0; padding: .8rem 1rem; border: 1px solid #e0e3fc; border-radius: 12px; background: #f6f7ff; color: var(--fg); font-size: .875rem; line-height: 1.5; }
.pr-extra strong { color: var(--accent-ink); }

/* A tick in a soft indigo circle, for the card's points and the feature list. */
.pr-points li::before, .pr-features li::before {
  content: ""; position: absolute; left: 0; width: 1.25rem; height: 1.25rem; border-radius: 999px;
  background: var(--accent-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .75rem no-repeat;
}
.pr-points { display: grid; gap: .7rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.pr-points li { position: relative; padding-left: 2rem; color: var(--fg); font-size: .875rem; line-height: 1.45; }
.pr-points li::before { top: .05rem; }

.pr-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.pr-actions .btn { flex: 1 1 auto; padding-left: 1.25rem; padding-right: 1.25rem; white-space: normal; text-align: center; }
.pr-fine { margin: 1.1rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }

.pr-calc { display: flex; flex-direction: column; }
.pr-calc h2 { margin: 0 0 .4rem; color: var(--navy); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.pr-calc-intro { margin: 0 0 1.25rem; color: var(--muted); font-size: .875rem; line-height: 1.55; }
.pr-label { display: block; margin-bottom: .4rem; color: var(--fg); font-size: .8rem; font-weight: 600; }
.pr-input { width: 100%; padding: .7rem 1rem; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: var(--navy); font: inherit; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pr-input:focus { border-color: var(--accent); outline: 3px solid #c7d2fe; outline-offset: 0; }
.pr-quick { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.pr-quick button { padding: .35rem .85rem; border: 1px solid var(--card-line); border-radius: 999px; background: #fff; color: var(--muted); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
.pr-quick button:hover, .pr-quick button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-wash); color: var(--accent-ink); }
.pr-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px dashed #d5dbe5; }
.pr-total output { color: var(--navy); font-size: 2.25rem; font-weight: 800; line-height: 1.1; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.pr-total span { color: var(--muted); font-size: .9rem; }
.pr-breakdown { min-height: 2.6em; margin: .5rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.55; }

/* ---- Included, licensing and closing call to action -------------------------------------------------------------- */

.pr-section { max-width: 1080px; margin: 4.5rem auto 0; }
.pr-section > h2 { margin: 0 0 .6rem; color: var(--navy); font-size: 1.5rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-align: center; }
.pr-section-intro { max-width: 38rem; margin: 0 auto 2rem; color: var(--muted); font-size: 1rem; line-height: 1.6; text-align: center; text-wrap: balance; }
@media (min-width: 768px) { .pr-section > h2 { font-size: 1.875rem; } }

.pr-features { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .pr-features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pr-features { grid-template-columns: repeat(3, 1fr); } }
.pr-features li { position: relative; padding: 1.25rem 1.25rem 1.25rem 3.25rem; border: 1px solid var(--card-line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow-sm); }
.pr-features li::before { left: 1.25rem; top: 1.3rem; }
.pr-features h3 { margin: 0 0 .3rem; color: var(--navy); font-size: .95rem; font-weight: 700; line-height: 1.35; }
.pr-features p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.55; }

.pr-faq { display: grid; gap: 1rem; }
@media (min-width: 900px) { .pr-faq { grid-template-columns: 1fr 1fr; } }
.pr-faq > div { padding: 1.4rem 1.5rem; border: 1px solid var(--card-line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow-sm); }
.pr-faq h3 { margin: 0 0 .45rem; color: var(--navy); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.pr-faq p { margin: 0; color: var(--fg); font-size: .875rem; line-height: 1.6; }

.pr-cta { max-width: 1080px; margin: 4.5rem auto 4rem; }
@media (max-width: 640px) { .pr-cta { padding: 2rem 1.25rem; } }
