/* Accounting feature page (/accounting): page parts on top of the shared kit in public-feature-page.css.
   The bank and reports demos are the old pages' partials. Their stylesheets scope everything to .pd-bank-reconciliation
   and .pd-reports-taxes, so the demos sit in a figure carrying that class; the few rules those sheets also scope to
   #main-content are repeated here. */

/* Hero: the reports card is wide, so it gets half the row. */
@media (min-width: 1024px) { .ac2-page .fp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Step demos: recordings instead of iframes. */
.ac2-page .ac2-media { display: grid; place-items: center; align-content: center; gap: 16px; min-height: 560px; margin: 0; padding: 24px; background: #F6F4FD; }
.ac2-page .ac2-media-phone video { display: block; width: auto; height: 452px; max-width: 100%; }
.ac2-page .ac2-media-wide :is(video, img) { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: var(--fp-card); background: #fff; }
.ac2-page .ac2-panel-note { max-width: 52ch; margin: 0; font-size: 14px; line-height: 21px; color: var(--fp-grey); text-align: center; }
.ac2-page .ac2-mini-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; margin: 0; padding: 0; list-style: none; }
.ac2-page .ac2-mini-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: #fff; border: 2px solid var(--fp-line); border-radius: 4px; font-size: 14px; line-height: 21px; color: var(--fp-grey); }
.ac2-page .ac2-mini-steps li > span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #D1F48C; color: #1B1C1A; font-size: 12px; font-weight: 700; }
.ac2-page .ac2-mini-steps b { display: block; color: var(--fp-navy); font-size: 14px; }

/* Bank matching. */
.ac2-page .ac2-band-blue { background: #F3F8FF; }
.ac2-page .ac2-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 36px; }
.ac2-page .ac2-head-row .fp-head { margin-bottom: 0; }
.ac2-page .ac2-powered { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 600; color: var(--fp-grey); white-space: nowrap; }
.ac2-page .ac2-powered img { vertical-align: middle !important; }
.ac2-page .ac2-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0 0 40px; padding: 0; list-style: none; }
.ac2-page .ac2-facts li { display: flex; gap: 16px; align-items: flex-start; }
.ac2-page .ac2-facts img { flex: none; width: 48px; height: 48px; }
.ac2-page .ac2-facts h3 { margin: 0 0 6px; }
.ac2-page .ac2-facts p { margin: 0; }

/* Demo frames and their notes. */
.ac2-page .ac2-demo { margin: 0; }
.ac2-page .ac2-demo > :is(.br-page, .rp-page) { background: transparent; }
.ac2-page .ac2-demo-note { margin: 16px auto 0; max-width: 70ch; font-size: 14px; line-height: 21px; color: var(--fp-grey); text-align: center; }
#main-content .ac2-page .pd-bank-reconciliation .br-page :where(p) { font-size: 14px; line-height: 24px; }
#main-content .ac2-page .pd-bank-reconciliation .br-page h3 { font: 600 18px/27px Poppins, "Open Sans", Arial, sans-serif; letter-spacing: -.02em; color: var(--text); }
#main-content .ac2-page .pd-bank-reconciliation .br-page h4 { font: 600 17px/26px "Open Sans", Arial, sans-serif; letter-spacing: -.01em; }
#main-content .ac2-page .pd-bank-reconciliation .br-eyebrow { margin-bottom: 14px; color: var(--ai); font-size: 12px; line-height: 20px; font-weight: 600; }
#main-content .ac2-page .pd-bank-reconciliation .br-panel-heading .br-eyebrow { margin-bottom: 4px; }
#main-content .ac2-page .pd-bank-reconciliation .br-panel-heading h3 { font-size: 22px; line-height: 31px; }
#main-content .ac2-page .pd-bank-reconciliation .br-match-explanation { display: flex; align-items: flex-start; gap: 9px; margin-top: 19px; color: var(--text-muted); font-size: 12px; line-height: 21px; }
#main-content .ac2-page .pd-bank-reconciliation .br-preview-action > p { color: var(--text-muted); font-size: 12px; line-height: 21px; }
#main-content .ac2-page .pd-bank-reconciliation .br-unmatched p { margin-top: 12px; color: var(--text-muted); font-size: 13px; line-height: 23px; }
#main-content .ac2-page .pd-bank-reconciliation .br-context-note > p { margin-top: 6px; color: var(--text-muted); font-size: 13px; line-height: 23px; }
#main-content .ac2-page .pd-bank-reconciliation .br-statement-help { margin-top: 21px; margin-bottom: 12px; color: var(--text-muted); font-size: 13px; line-height: 23px; }
#main-content .ac2-page .pd-reports-taxes .rp-page h3 { font: 600 18px/27px "Open Sans", Arial, sans-serif; letter-spacing: -.02em; color: var(--text); }
#main-content .ac2-page .pd-reports-taxes .rp-page h4 { font: 600 16px/25px "Open Sans", Arial, sans-serif; letter-spacing: -.01em; }
#main-content .ac2-page .pd-reports-taxes .rp-page p { font-size: 14px; line-height: 24px; }
#main-content .ac2-page .pd-reports-taxes .rp-workspace-top h3 { color: var(--text-on-dark); }
#main-content .ac2-page .pd-reports-taxes .rp-report-heading h3 { font-size: 25px; line-height: 34px; font-weight: 600; }
#main-content .ac2-page .pd-reports-taxes .rp-report-heading > p { margin-top: 10px; color: var(--text-secondary); font-size: 13px; line-height: 22px; }
#main-content .ac2-page .pd-reports-taxes .rp-report-footnote { margin-top: 17px; color: var(--text-muted); font-size: 12px; line-height: 21px; }
#main-content .ac2-page .pd-reports-taxes .rp-tax-context > p { color: var(--text-muted); font-size: 12px; line-height: 21px; }
#main-content .ac2-page .pd-reports-taxes .rp-review-detail p { margin-top: 7px; color: var(--text-muted); font-size: 13px; line-height: 23px; }
#main-content .ac2-page .pd-reports-taxes .rp-workspace-foot > p { color: var(--text-muted); font-size: 12px; line-height: 21px; }
#main-content .ac2-page .pd-reports-taxes .rp-packet-heading p { margin-top: 2px; color: var(--text-muted); font-size: 12px; line-height: 21px; }

/* Report library: one linked card per report. */
.ac2-page .ac2-library { margin-top: 56px; }
body.public-design #main-content .ac2-page .ac2-library-title { margin: 0 0 20px; }
.ac2-page .ac2-library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ac2-page .ac2-report { display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 20px; background: #fff; border: 2px solid var(--fp-line); border-radius: 4px; box-shadow: var(--fp-card); color: var(--fp-navy); text-decoration: none; transition: border-color .2s ease; }
.ac2-page .ac2-report img { flex: none; width: 40px; height: 40px; }
.ac2-page .ac2-report b { display: block; font: 600 20px/28px Poppins, "Open Sans", sans-serif; color: var(--fp-navy); transition: color .2s ease; }
.ac2-page .ac2-report b + span { display: block; margin-top: 4px; font-size: 16px; line-height: 24px; color: var(--fp-grey); }
.ac2-page .ac2-report:is(:hover, :focus-visible) { border-color: var(--fp-purple); }
.ac2-page .ac2-report:is(:hover, :focus-visible) b { color: var(--fp-purple); }
.ac2-page .ac2-report:focus-visible { outline: 3px solid var(--fp-purple); outline-offset: 3px; }
.ac2-page .ac2-library .fp-fine { text-align: center; }

/* Tax time: the handoff steps beside the tax packet card. */
.ac2-page .ac2-handoff { display: grid; gap: 20px; margin: 0 0 24px; padding: 0; list-style: none; }
.ac2-page .ac2-handoff li { display: flex; gap: 16px; align-items: flex-start; }
.ac2-page .ac2-handoff h3 { margin: 0 0 4px; color: #fff; }
.ac2-page .ac2-handoff p { margin: 0; }
.ac2-page .ac2-handoff .fp-step-no { background: #D1F48C; }
.ac2-page .ac2-dark-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; font-size: 16px; }
/* The shared link layer paints links with --link-ink (and mixes --text in on hover), so set both for the dark band. */
.ac2-page .ac2-dark-links a { --link-ink: #5CC8FF; --text: #fff; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.ac2-page .ac2-dark-links a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 3px; }
.ac2-page .ac2-dark-links a:focus-visible { outline: 3px solid #D1F48C; outline-offset: 2px; }
.ac2-page .ac2-packet { margin: 0; }
.ac2-page .ac2-packet > .rp-page { background: transparent; }
.ac2-page .ac2-packet .rp-packet-card li { color: inherit; }

/* Plans. */
.ac2-page .ac2-plan-price { margin: 0; font-size: 16px; line-height: 24px; }

@media (max-width: 1023.98px) {
  .ac2-page :is(.ac2-facts, .ac2-library-grid) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ac2-page .ac2-facts { gap: 20px; }
}
@media (max-width: 767.98px) {
  .ac2-page .ac2-media { min-height: 460px; padding: 16px 12px; }
  .ac2-page .ac2-media-phone video { height: 340px; }
  .ac2-page .ac2-mini-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ac2-page .ac2-mini-steps li { padding: 8px 12px; }
  .ac2-page .ac2-head-row { margin-bottom: 24px; }
  .ac2-page .ac2-powered { white-space: normal; flex-wrap: wrap; }
  .ac2-page .ac2-library { margin-top: 40px; }
  .ac2-page .ac2-report { padding: 16px; }
  #main-content .ac2-page .pd-bank-reconciliation .br-panel-heading h3 { font-size: 20px; line-height: 29px; }
}
@media (max-width: 540px) {
  #main-content .ac2-page .pd-reports-taxes .rp-workspace-top h3 { font-size: 17px; line-height: 26px; }
  #main-content .ac2-page .pd-reports-taxes .rp-report-heading h3 { font-size: 23px; line-height: 32px; }
}
@media (max-width: 480px) {
  #main-content .ac2-page .pd-bank-reconciliation .br-workspace-name h3 { font-size: 17px; line-height: 26px; }
}
