/* =============================================================================
   BillGrid public site: the inner pages (pricing, features, about, contact, help, privacy,
   terms, blog, newsletter). Loads after outer/site.css and reuses its tokens and components.
   Design source: docs/mocks/site/payday.html.
   ============================================================================= */

/* ---------- page head: kicker, headline, lead ---------- */
.page-head { padding-block: clamp(56px, 7vw, 96px) clamp(36px, 4vw, 56px); }
.page-head h1 { font-family: var(--font-display); font-weight: var(--font-display-weight); margin-top: 12px; font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.035em; }
.page-head .lead { max-width: 36em; margin-top: 18px; }
.page-head--center { text-align: center; }
.page-head--center .lead { margin-inline: auto; }
.page-head__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.page-head__link { display: inline-flex; align-items: center; gap: var(--icon-gap-sm); font-weight: 600; color: var(--ink); text-decoration: none; }
.page-head__link:hover { color: var(--gold-deep); }
.page-head__meta { margin-top: 14px; font-size: var(--fs-sm); color: var(--caption); }
/* a blog post's title is a sentence, not a slogan: smaller, with a comfortable measure */
.page-head--post h1 { max-width: 18em; margin-top: 16px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.page-body { padding-bottom: clamp(72px, 9vw, 120px); }
.page-body > .section:last-child { padding-bottom: 0; }

.back-link { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); color: var(--text-muted); text-decoration: none; }
.back-link:hover { color: var(--ink); }

/* ---------- prose: legal pages and blog posts ---------- */
.prose { max-width: 680px; font-size: var(--fs-md); line-height: 1.7; color: var(--text); }
.prose > * + * { margin-top: 18px; }
.prose > :first-child { margin-top: 0; }
.prose [id] { scroll-margin-top: 96px; }
.prose h2 { margin-top: 52px; font-size: var(--fs-xl); line-height: 1.2; letter-spacing: -.02em; }
.prose h3 { margin-top: 32px; font-size: var(--fs-md); letter-spacing: -.01em; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--caption); }
.prose a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose .lede { font-size: var(--fs-lead); color: var(--text-muted); }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 2px solid var(--gold); color: var(--text-muted); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: 8px; font-size: var(--fs-sm); color: var(--caption); }

/* Release stories keep a comfortable reading measure and give real app close-ups room to read. */
.release-story { max-width: 1100px; }
.release-story .page-head--post { text-align: center; }
.release-story .page-head--post h1 { max-width: 12em; margin-inline: auto; font-size: clamp(38px, 5.5vw, 72px); letter-spacing: -.045em; text-wrap: balance; }
.release-story .prose { max-width: none; }
.release-copy { max-width: 680px; margin-inline: auto; }
.release-copy > * + * { margin-top: var(--space-4); }
.release-intro { text-align: center; }
.release-story .release-hero { margin-top: var(--space-8); }
.release-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-6); margin-block: var(--space-8) 0; padding-block: var(--space-5); border-block: 1px solid var(--line); font-size: var(--fs-sm); }
.release-nav a { text-decoration: none; }
.release-nav a:hover { text-decoration: underline; }
.release-story .release-section { margin-top: clamp(48px, 7vw, 88px); }
.release-label { color: var(--caption); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.release-story .release-copy h2 { margin-top: var(--space-3); font-family: var(--font-display); font-weight: var(--font-display-weight); font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.release-story .release-section figure { margin-top: var(--space-7); }
.release-story .release-link { margin-top: var(--space-5); font-size: var(--fs-sm); }
.release-story .release-finish { margin-top: clamp(48px, 7vw, 88px); padding-top: var(--space-8); border-top: 1px solid var(--line); }
.release-story .release-note { margin-top: var(--space-6); font-size: var(--fs-xs); color: var(--caption); }
@media (min-width: 900px) {
  .release-section--compact { display: grid; grid-template-columns: minmax(0, 1fr) 447px; column-gap: var(--space-8); align-items: start; }
  .release-section--compact > .release-copy:first-child { align-self: end; }
  .release-story .release-section--compact figure { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
  .release-section--compact > .release-link { grid-column: 1; justify-self: start; margin-inline: 0; }
}
@media (max-width: 600px) {
  .release-story .page-head--post, .release-intro { text-align: left; }
  .release-nav { justify-content: flex-start; column-gap: var(--space-5); }
  .release-story .spotlight--plain { --spot-pad: var(--space-3); }
}

.payment-reminder-article blockquote p + p { margin-top: var(--space-4); }
.payment-reminder-article blockquote > .copy-btn { margin-top: var(--space-4); }
.prose > .caption { margin-top: var(--space-3); }
/* Copy beside wording to reuse: the invoice templates' terms, the reminder emails */
.copy-btn { display: inline-flex; align-items: center; gap: var(--icon-gap-xs); padding: 5px 9px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; font: inherit; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); cursor: pointer; }
.copy-btn:hover { border-color: var(--sand-400); }
.copy-btn:focus-visible { outline: none; border-color: var(--gold); box-shadow: var(--focus-ring); }
/* ---------- the Reminder Builder (js/outer/payment-reminders.js): the templates are the form ---------- */
/* ---------- its bar: one calm panel between the lede and the templates, saying how, counting what's in ---------- */
.remind { margin-top: var(--space-8); padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--paper); }
.prose .remind__title { margin: 0; font-family: var(--font-serif); font-size: var(--fs-lg); line-height: 1.25; color: var(--ink); }
.prose .remind__sub { margin: var(--space-1) 0 0; color: var(--text-muted); font-size: var(--fs-sm); }
/* "[bracket]" in the sentence is a field's own look, and a way in: it goes to the first one still empty */
.remind__start { padding: 0 2px; border: 0; border-bottom: 1px dashed var(--gold); border-radius: 0; background: none;
             font: inherit; color: var(--gold-deep); cursor: pointer; }
.remind__start:hover { background: var(--gold-wash); }
.remind__start:focus-visible { outline: none; border-radius: var(--r-xs); box-shadow: var(--focus-ring); }
.prose .remind__progress { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-4); margin: var(--space-3) 0 0; }
.remind__status { color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.prose .remind__progress[hidden] { display: none; }

/* ---------- when to send: five quiet tiles, the due date marked in gold ---------- */
.remind__plan { padding-top: var(--space-6); margin-top: var(--space-6); border-top: 1px solid var(--line); }
.prose .remind__plan-title { margin: 0; font-size: var(--fs-ui); font-weight: 600; color: var(--ink); }
.prose .remind__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-3) 0 0;
                    padding: 0; list-style: none; }
.prose .remind__step { margin: 0; }
.remind__step a { display: grid; gap: 2px; height: 100%; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--r-md);
              background: #fff; color: var(--ink); text-decoration: none; }
.remind__step a:hover { border-color: var(--sand-400); }
.remind__step.is-due a { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.remind__when { font-weight: 600; font-size: var(--fs-ui); }
.remind__what { color: var(--text-muted); font-size: var(--fs-sm); }
.prose .remind__note { margin: var(--space-2) 0 0; color: var(--text-muted); font-size: var(--fs-sm); }
.remind__plan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-6); margin-top: var(--space-4); }
.prose .remind__bridge { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- the templates: an empty field is its gold-underlined bracket; what you typed is tinted; what was worked
   out for you is underlined, not tinted; the field you're in has a ring ---------- */
.remind-ph.is-field { border-radius: var(--r-xs); cursor: text; outline: none; transition: background-color .15s, box-shadow .15s; }
.remind-ph.is-field[data-pop] { cursor: pointer; }
.remind-ph.is-field.is-blank { padding: 0 2px; border-bottom: 1px dashed var(--gold); border-radius: 0; color: var(--gold-deep); }
.remind-ph.is-field:hover { background: var(--gold-wash); }
.remind-ph.is-field:focus-visible, .remind-ph.is-field.is-typing, .remind-ph.is-field[aria-expanded="true"] {
  border-bottom-color: transparent; border-radius: var(--r-xs); background: #fff; box-shadow: 0 0 0 2px var(--gold); color: var(--ink); }
.remind-ph.is-typing:empty::before { content: attr(data-blank); color: var(--caption); }
.remind-ph.is-filled { padding: 0 2px; border-radius: var(--r-xs); background: var(--gold-soft); color: var(--ink); }
.remind-ph.is-suggested { padding: 0; background: none; border-bottom: 1px dashed var(--gold); border-radius: 0; }

/* ---------- a date or the amount: a small pop-over under its field ---------- */
.remind-pop { position: absolute; z-index: var(--z-popover); display: grid; gap: var(--space-2); width: min(280px, calc(100vw - 32px));
          padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-pop);
          font-family: var(--font-sans); }
.remind-pop[hidden] { display: none; }
.remind-pop__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.remind-pop__input, .remind-pop__currency { min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--field-border); border-radius: 10px;
                                        background: #fff; font: inherit; font-size: var(--fs-ui); color: var(--ink); }
.remind-pop__input:focus, .remind-pop__currency:focus { outline: none; border-color: var(--ink); box-shadow: var(--field-focus); }
.remind-pop__money { display: flex; gap: var(--space-2); }
.remind-pop__money .remind-pop__input { flex: 1; min-width: 0; }
.remind-pop__done { justify-self: end; padding: 6px 12px; border: 0; border-radius: var(--r-md); background: var(--ink); color: #fff;
                font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.remind-pop__done:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.remind-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-4); }
.remind-btn { display: inline-flex; align-items: center; gap: var(--icon-gap-sm); padding: 0; border: 0; background: none;
           color: var(--text-muted); font: inherit; font-size: var(--fs-sm); cursor: pointer; }
.remind-btn:hover, .remind-btn[aria-expanded="true"] { color: var(--ink); }
.remind-btn:focus-visible { outline: none; border-radius: var(--r-xs); box-shadow: var(--focus-ring); }

.remind-sms { margin-top: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--r-lg);
          background: #fff; color: var(--ink); }
.payment-reminder-article .remind-sms__text { margin: 0; }
.remind-sms__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2);
                margin-top: var(--space-3); color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- a reminder letter (/payment-reminder-letter): a sheet of paper; a filled-in address keeps its lines ---------- */
.prose blockquote.letter { padding: clamp(20px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--r-md);
                           background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); font-family: var(--font-serif); }
.letter p + p { margin-top: var(--space-4); }
.letter .remind-ph { white-space: pre-line; }
.letter .remind-actions { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line); font-family: var(--font-sans); }

/* Print or save as PDF: only the letter the reader chose (payment-reminders.js marks it and the elements around it) */
@media print {
  html.rl-printing body *:not(.rl-print, .is-printing *) { display: none !important; }
  html.rl-printing .rl-print { margin: 0 !important; padding: 0 !important; border: 0 !important; max-width: none !important;
                               background: none !important; box-shadow: none !important; }
  html.rl-printing .is-printing { font-size: 11pt; line-height: 1.5; color: var(--ink); }
  html.rl-printing .is-printing .remind-actions { display: none !important; }
  html.rl-printing .remind-ph { padding: 0; border: 0; background: none; box-shadow: none; color: inherit; }
}

@media (max-width: 760px) {
  .prose .remind__steps { grid-template-columns: 1fr; }
  .remind__step a { grid-template-columns: 7.5em 1fr; align-items: baseline; }
}
/* a wide screen in a post (a sheet, a list): on a close-up stage across the page, between two runs of text */
.post-shot { margin-block: 28px; }
/* a tall screen (a dialog, a drawer): centered at its own width, the caption under it */
.prose figure.is-narrow { text-align: center; }
.prose figure.is-narrow img { margin-inline: auto; }

/* a before/after speed chart in a post: two totals, then bars to scale (--v is the bar's share of the longest) */
.speed-chart { padding: 26px 26px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.speed-chart__totals { display: flex; gap: 40px; }
.speed-chart__totals span { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--caption); }
.speed-chart__totals b { font-family: var(--font-serif); font-size: 44px; font-weight: 600; line-height: 1.15; color: var(--text-soft); }
.speed-chart__totals .is-new b { color: var(--gold-deep); }
.prose .speed-chart__note { margin: 6px 0 22px; font-size: var(--fs-sm); color: var(--text-muted); }
.prose .speed-chart__bars { margin: 0; padding: 0; list-style: none; }
.prose .speed-chart__bars li + li { margin-top: 14px; }
.speed-chart__task { display: block; margin-bottom: 4px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.speed-chart__bar { display: flex; align-items: center; gap: 8px; height: 14px; margin-top: 3px; }
.speed-chart__bar::before { content: ""; flex: none; width: var(--v); min-width: 4px; max-width: calc(100% - 64px); height: 100%; border-radius: 4px; background: #d8cfbb; }
.speed-chart__bar.is-new::before { background: var(--gold); }
.speed-chart__bar em { font-size: var(--fs-xs); font-style: normal; font-variant-numeric: tabular-nums; color: var(--text-muted); white-space: nowrap; }
.speed-chart__bar.is-new em { font-weight: 600; color: var(--gold-deep); }
@media (max-width: 560px) { .speed-chart { padding: 20px 18px 16px; } .speed-chart__totals b { font-size: 36px; } }

/* a highlighted aside inside prose: blog calls to action, legal summaries */
.callout { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); font-size: var(--fs-body); }
.prose > .callout { margin-top: 44px; }

/* ---------- feature grid (features, pricing) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 56px); margin: 0; padding: 0; list-style: none; }
.feature-grid__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gold-soft); color: var(--gold-deep); }
.feature-grid h3 { margin-top: 14px; font-size: var(--fs-md); letter-spacing: -.01em; line-height: 1.3; }
.feature-grid p { margin-top: 6px; color: var(--text-muted); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }

.section__head + .feature-grid { margin-top: 44px; }
.section__head + .faq { margin-top: 36px; }

/* ---------- FAQ: native <details>, so it works without JavaScript ---------- */
.faq { max-width: 780px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; list-style: none; cursor: pointer; font-size: var(--fs-md); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: var(--fs-lg); font-weight: 400; line-height: 1; color: var(--caption); transition: rotate .2s var(--ease-out); }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover::after { color: var(--ink); }
.faq__answer { max-width: 64ch; padding-bottom: 22px; color: var(--text-muted); }
.faq__answer > * + * { margin-top: 10px; }
.faq__answer a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq__more { margin-top: 24px; font-size: var(--fs-sm); color: var(--caption); }
.faq__more a { color: var(--ink); text-underline-offset: 3px; }
.faq-group > h2 { margin-bottom: 8px; font-size: var(--fs-xl); letter-spacing: -.02em; }

/* ---------- two columns: copy beside a form or a list ---------- */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* help: the questions beside a sticky "still stuck?" panel */
.help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.help-layout__aside { position: sticky; top: 96px; }
.help-layout__aside h2 { font-size: var(--fs-lg); letter-spacing: -.02em; }
.help-layout__aside > p { margin-top: 6px; color: var(--text-muted); }
.points b + a, .points b + span { display: block; }
@media (max-width: 900px) { .help-layout { grid-template-columns: minmax(0, 1fr); } .help-layout__aside { position: static; } }

.panel { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); }
.form-stack { display: grid; gap: 16px; }
.form-stack .btn { justify-self: start; }
.form-stack .alert { margin-top: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field__optional { font-weight: 400; color: var(--caption); }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* contact: the page head sits in the left column, beside the form */
.contact { padding-top: clamp(56px, 7vw, 96px); }
.contact .page-head { padding: 0; }
.contact__panel { margin-top: 8px; }

/* ways to reach us / quick links: an icon tile beside a title and a line */
.points { display: grid; gap: 22px; margin: 32px 0 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 14px; align-items: flex-start; }
.points__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--trust-bg); color: var(--trust); }
.points b { display: block; font-weight: 600; color: var(--ink); }
.points span, .points a { color: var(--text-muted); }
.points a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.points a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- blog ---------- */
.post-list { max-width: 780px; border-top: 1px solid var(--line); }
.post-card { display: block; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-card h2 { font-size: var(--fs-xl); line-height: 1.25; letter-spacing: -.02em; transition: color .15s; }
.post-card:hover h2 { color: var(--gold-deep); }
.post-card p { margin-top: 8px; color: var(--text-muted); }
.post-card__meta { font-size: var(--fs-sm); color: var(--caption); }
.post-card__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-weight: 600; color: var(--ink); }
.post-card:hover .post-card__more .bg-icon { translate: 3px 0; }
.post-card__more .bg-icon { transition: translate .2s var(--ease-out); }

/* ---------- a single centred message: the newsletter states ---------- */
.notice { max-width: 580px; margin-inline: auto; padding-block: clamp(64px, 9vw, 128px); text-align: center; }
.notice__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 16px; background: var(--gold-soft); color: var(--gold-deep); }
.notice__icon--ok { background: var(--paid-bg); color: var(--paid-fg); }
.notice__icon--warn { background: var(--overdue-bg); color: var(--overdue-fg); }
.notice h1 { font-family: var(--font-display); font-weight: var(--font-display-weight); font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
.notice .lead { margin-top: 14px; }
.notice .newsletter-form, .notice form:not(.newsletter-form) > .btn { margin: 28px auto 0; }
.notice__list { display: grid; gap: 8px; max-width: 440px; margin: 28px auto 0; padding: 18px 22px; border-radius: 14px; background: var(--paper); list-style: none; text-align: left; font-size: var(--fs-sm); color: var(--text-muted); }
.notice__list li { display: flex; gap: 10px; }
.notice__list li::before { content: "\2022"; color: var(--gold); }
.notice__fine { margin-top: 20px; font-size: var(--fs-sm); color: var(--caption); }
.notice__fine a, .notice .lead a { color: var(--ink); text-underline-offset: 3px; }
.notice__posts { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); text-align: left; }
.notice__posts h2 { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.notice__posts a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.notice__posts a:hover { color: var(--gold-deep); }
.notice__posts small { flex: none; font-size: var(--fs-sm); color: var(--caption); }

/* ---------- content pages (/features/*, /for/*, the payment laws): `.page-section` spacing; a two-column fact table
   scrolls on its own on phones (the /compare/* pages have their own, outer/compare.css) ---------- */
.page-section { margin-top: clamp(48px, 6vw, 72px); }
.page-section > h2 { font-size: var(--fs-xl); letter-spacing: -.02em; }
.page-section--feature > h2 { font-family: var(--font-display); font-weight: var(--font-display-weight); font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.03em; line-height: 1.04; }
.page-section > p { max-width: 680px; margin-top: 10px; color: var(--text-muted); }
.compare-scroll { margin-top: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-body); }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { font-weight: 600; color: var(--ink); border-bottom-color: var(--ink); }
.compare-table tbody th { width: 30%; font-weight: 500; color: var(--ink); }
.compare-table td { width: 35%; color: var(--text-muted); }
.compare-table td:first-of-type { color: var(--ink); }

/* ---------- the "keep going" links under every blog post (pages/blog-post.html) ---------- */
.post-next > h2 { font-size: var(--fs-xl); letter-spacing: -.02em; }
.post-next .feature-grid { margin-top: 28px; }
.post-next .feature-grid + h2 { margin-top: var(--space-8); }
.post-next .post-list { margin-top: 48px; }
.post-next h2 + .post-list { margin-top: var(--space-7); }
.post-card h3 { font-size: var(--fs-lg); line-height: 1.3; letter-spacing: -.01em; transition: color .15s; }
.post-card:hover h3 { color: var(--gold-deep); }

/* ---------- feature pages (/features/{slug}): the "go further" links ---------- */

/* ---------- pricing with Solo, Pro and Team (plans-2026; design docs/mocks/site/pricing.html; the cards: site.css) ---------- */
.trustline--center { justify-content: center; margin-top: 26px; }
.pricing-renewal { max-width: 640px; margin: var(--space-3) auto 0; text-align: center; }

/* what you'll never pay for: six plain promises */
.never { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; margin: 44px 0 0; padding: 0; list-style: none; }
.never li { display: grid; gap: 6px; padding-top: 18px; border-top: 2px solid var(--ink); }
.never b { font-size: var(--fs-md); letter-spacing: -.01em; color: var(--ink); }
.never span { color: var(--text-muted); }
@media (max-width: 900px) { .never { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .never { grid-template-columns: minmax(0, 1fr); } }

/* compare every feature: closed by default, scrolls inside itself on a phone */
.compare { margin-top: 32px; }
.compare summary { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; list-style: none; cursor: pointer; font-weight: 600; color: var(--ink); }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; font-weight: 400; color: var(--caption); transition: rotate .2s var(--ease-out); }
.compare[open] summary::after { rotate: 45deg; }
.compare__scroll { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.compare__table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-body); }
.compare__table th, .compare__table td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare__table thead th { position: sticky; top: 0; background: #fff; font-size: var(--fs-md); color: var(--ink); }
.compare__table tbody th { font-weight: 500; color: var(--text); width: 46%; }
.compare__table td { color: var(--ink); }
.compare__group th { padding-top: 22px; background: var(--paper); font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.compare__table td.y, .compare__table td.n { font-size: 0; }
.compare__table td.y::before { content: ""; display: inline-block; width: 16px; height: 16px; background: var(--paid-fg);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.compare__table td.n::before { content: "\2014"; font-size: var(--fs-body); color: var(--caption); }
.compare__table td.span { color: var(--text-muted); }
