/* One upright display voice. Size and spacing carry the heading hierarchy. */
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/libre-baskerville-variable-v1.woff2') format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/libre-baskerville-italic-variable-v1.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/assets/fonts/hanken-grotesk-home-v2.woff2') format('woff2'); }
:root { --autumn-serif: Baskerville, 'Libre Baskerville', Georgia, serif; --autumn-display: Baskerville, 'Libre Baskerville', Georgia, serif; }
h1, h2, h3, h4, h5, h6 {
  font-family: Baskerville, 'Libre Baskerville', Georgia, serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-synthesis: none;
  letter-spacing: -0.015em !important;
  text-wrap: balance;
}
h1, h2 { line-height: 1.12 !important; }
h3, h4, h5, h6 { line-height: 1.25 !important; letter-spacing: 0 !important; }
:is(h1, h2, h3, h4, h5, h6) :is(em, i, strong, b, span) {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
}
/* Retain semantic emphasis without the former decorative cursive treatment. */
em { font-style: normal !important; }
/* Color can carry emphasis without a different weight or a slanted face. */
.pcl-hero-title em { color: var(--autumn-brown); }

/* Outlined local wordmark: optical spacing, a quieter a, and a tapered t crossbar. */
:is(.marketing-nav__brand, .marketing-footer__brand) .autumn-wordmark {
  display: block;
  width: 76px;
  height: 18px;
  flex: none;
  font-size: 0;
  line-height: 0;
  transform: none;
  color: #171411;
  background: currentColor;
  -webkit-mask: url('/assets/autumn-wordmark-editorial.svg') center / contain no-repeat;
  mask: url('/assets/autumn-wordmark-editorial.svg') center / contain no-repeat;
}

@media (max-width: 600px) {
  .marketing-hero h1, .pcl-hero-title {
    font-size: clamp(40px, 11vw, 48px) !important;
  }
  .pcl-section-heading h2 {
    font-size: clamp(30px, 8vw, 36px) !important;
  }
}

/* One line per outcome. The repeated first row makes the vertical loop seamless. */
.pcl-hero-panel { container-type: inline-size; }
.pcl-hero-title { font-size: clamp(22px, 11.3cqw, 56px) !important; }
.pcl-hero-rotator {
  display: block;
  height: 1.3em;
  font-size: inherit;
  line-height: 1.3;
  overflow: hidden;
  color: var(--autumn-brown);
}
.pcl-hero-rotator-track {
  display: block;
  animation: pcl-value-scroll 12s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.pcl-hero-rotator-track > span {
  display: block;
  height: 1.3em;
  white-space: nowrap;
}
@keyframes pcl-value-scroll {
  0%, 27% { transform: translateY(0); }
  33.333%, 60% { transform: translateY(-25%); }
  66.667%, 93% { transform: translateY(-50%); }
  100% { transform: translateY(-75%); }
}
@media (prefers-reduced-motion: reduce) {
  .pcl-hero-rotator-track { animation: none; }
}

/* Readable navigation with a compact brand row and clear social links. */
.marketing-footer {
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px max(24px, calc((100vw - 1240px) / 2)) 24px;
}
.marketing-footer__lead {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
}
.marketing-footer__lead p {
  max-width: 300px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.marketing-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-left: auto;
}
.marketing-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--autumn-ink);
  font: 400 15px/1.5 var(--autumn-sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(42, 33, 24, .3);
}
.marketing-footer__social { gap: 4px; }
.marketing-footer__social a:hover { background: rgba(42, 33, 24, .06); border-radius: 50%; }
.marketing-footer__social a:focus-visible { outline: 2px solid var(--autumn-brown); outline-offset: 2px; }
.marketing-footer__social img { width: 20px; height: 20px; }
.marketing-footer__links {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr .7fr;
  gap: 24px;
}
.marketing-footer__column { display: grid; gap: 8px; }
.marketing-footer__column a {
  font-size: 15px;
  line-height: 1.5;
  color: #51483d;
}
.marketing-footer__column .marketing-footer__heading {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
}
.marketing-footer__bottom {
  margin-top: 0;
  padding-top: 18px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 700px) {
  .marketing-footer { gap: 28px; padding: 32px 24px 24px; }
  .marketing-footer__lead { gap: 12px; align-items: center; flex-direction: row; }
  .marketing-footer__social { margin-left: auto; }
  .marketing-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .marketing-footer__column a:not(.marketing-footer__heading) { display: block; }
}

/* Four billing services, in the order a practice works them. */
.services-cycle__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.services-cycle__grid .services-stage-card { grid-column: auto; min-height: 0; }
.billing-stage-preview { margin: 24px 0; pointer-events: none; }
.billing-stage-preview .payment-mini { min-height: 190px; }
@media (max-width: 700px) {
  .services-cycle__grid { grid-template-columns: 1fr; }
  .services-cycle__grid .services-stage-card { padding: 22px; }
}
.marketing-main:is(.marketing-main--verification, .marketing-main--payments, .marketing-main--reconciliation, .marketing-main--ar) .marketing-hero__copy > .marketing-eyebrow { display: none; }

.billing-service-blocks { display: grid; gap: 0; }
.billing-service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--autumn-line);
}
.billing-service-block__copy h3 { margin: 0 0 20px; font-size: clamp(32px, 3.5vw, 48px); }
.billing-service-block__copy > p { max-width: 480px; font: 400 18px/1.6 var(--autumn-sans); color: #51483d; }
.billing-service-block__copy ul { margin: 24px 0; padding-left: 20px; font: 400 16px/1.6 var(--autumn-sans); }
.billing-service-block__copy li { padding: 4px 0; }
.billing-service-block .billing-stage-preview { margin: 0; padding: 28px; border-radius: 24px; background: rgba(251,248,241,.88); }
@media (max-width: 700px) {
  .billing-service-block { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .billing-service-block .billing-stage-preview { padding: 18px; }
}

/* One finite reading sequence; all evidence remains visible without motion. */
.billing-example { margin: 0 0 18px; font: 400 13px/1.4 var(--autumn-sans); color: #645b50; }
.billing-record__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; font: 400 12px/1.4 var(--autumn-sans); color: #645b50; }
.billing-record__head .payer-logo { display: inline-flex; width: 100px; height: 34px; }
.billing-record__head img { max-width: 100px; max-height: 34px; object-fit: contain; }
.billing-record h4 { margin: 26px 0 20px; font-size: 28px; }
.billing-record__row { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: start; gap: 12px; padding: 22px 0; border-top: 1px solid var(--autumn-line); font: 400 15px/1.45 var(--autumn-sans); }
.billing-record__row strong { display: block; font-weight: 500; }
.billing-record__row small { display: block; margin-top: 6px; color: #645b50; font-size: 13px; }
.billing-record__row b { max-width: 120px; font-size: 14px; font-weight: 500; color: #42654b; text-align: right; }
.billing-record__number { color: #8c5736; }
.billing-record__note { margin: 18px 0 0; font: 400 13px/1.5 var(--autumn-sans); color: #645b50; }
.is-visible .billing-record__row { animation: billing-evidence 2s ease-out both; animation-delay: calc(var(--step) * 1.5s); }
@keyframes billing-evidence { from { background-color: rgba(166,93,50,.12); transform: translateY(6px); } to { background-color: transparent; transform: translateY(0); } }
@media (max-width: 600px) {
  .billing-record__row { grid-template-columns: 18px minmax(0,1fr); gap: 8px; }
  .billing-record__row b { grid-column: 2; max-width: none; text-align: left; }
  .billing-record h4 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
}

.billing-motion .schedule-mini > div:not(.schedule-mini__head) { padding: 26px 4px; min-height: 102px; }
.billing-record__row { grid-template-columns: 90px minmax(0,1fr) auto; }
.billing-stage-logo { display: flex; align-items: center; min-height: 36px; justify-content: center; }
.billing-stage-logo img { max-width: 80px; max-height: 32px; object-fit: contain; }
.billing-bank-logo { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: #16477e; }
.billing-autumn-logo { display: flex; gap: 4px; align-items: center; font: 22px Baskerville, serif; }
.is-visible .billing-record__row { animation: billing-stage-enter .8s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--step) * 1.2s); }
@keyframes billing-stage-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.billing-kanban h4 { font-size: 28px; margin: 0 0 24px; }
.billing-kanban__board { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; height: 350px; }
.billing-kanban__lane { background: #eee9df; border-radius: 10px; padding: 16px 4px; text-align: center; font: 500 13px/1.3 var(--autumn-sans); }
.billing-kanban__lane:nth-child(3) { background: #e7eee5; }
.billing-ticket { position: absolute; width: calc((100% - 16px) / 3); padding: 12px 8px; border: 1px solid #d8d0c3; background: #fffdf9; border-radius: 8px; box-shadow: 0 4px 12px #2a211812; font: 400 12px/1.4 var(--autumn-sans); z-index: 1; }
.billing-ticket strong, .billing-ticket span, .billing-ticket b { display: block; }
.billing-ticket span { margin: 6px 0 10px; color: #645b50; }
.billing-ticket b { font-size: 11px; font-weight: 500; }
.billing-ticket--pending { top: 64px; left: 0; --travel: calc(200% + 16px); transform: translateX(var(--travel)); }
.billing-ticket--denied { top: 200px; left: calc((100% - 16px) / 3 + 8px); --travel: calc(100% + 8px); transform: translateX(var(--travel)); }
.billing-ticket__cursor { position: absolute; width: 24px; height: 30px; right: 5px; bottom: 8px; opacity: 0; }
.billing-ticket__working { display: none !important; }
.billing-ticket__complete { color: #42654b; }
.is-visible .billing-ticket { animation: billing-ticket-drag 3s cubic-bezier(.22,1,.36,1) both; }
.is-visible .billing-ticket--denied { animation-delay: 3.5s; }
.is-visible .billing-ticket__cursor { animation: billing-drag-cursor 3s ease both; }
.is-visible .billing-ticket--denied .billing-ticket__cursor { animation-delay: 3.5s; }
.is-visible .billing-ticket__complete { animation: billing-complete 3s step-end both; }
.is-visible .billing-ticket--denied .billing-ticket__complete { animation-delay: 3.5s; }
@keyframes billing-ticket-drag { 0%,25% { transform: translateX(0); } 40% { transform: translateX(0) rotate(-3deg); } 85%,100% { transform: translateX(var(--travel)); } }
@keyframes billing-drag-cursor { 0% { opacity: 0; transform: translate(15px,30px); } 25%,80% { opacity: 1; transform: translate(0,0); } 100% { opacity: 0; } }
@keyframes billing-complete { 0%,84% { visibility: hidden; } 85%,100% { visibility: visible; } }
@media (max-width: 600px) {
 .billing-record__row { grid-template-columns: 74px minmax(0,1fr); }
 .billing-stage-logo img { max-width: 66px; }
 .billing-ticket { font-size: 10px; padding: 10px 5px; }
 .billing-kanban__lane { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
}

/* A stable schedule: only the label changes, never the row geometry. */
.verification-board { font-family: var(--autumn-sans); }
.verification-board__head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 22px; }
.verification-board__head strong { font-size: 18px; font-weight: 500; }
.verification-board__head > span { font-size: 13px; color: #756958; }
.verification-board__row { display: grid; grid-template-columns: 40px minmax(0,1fr) 88px; align-items: center; gap: 14px; min-height: 112px; padding: 22px 0; border-top: 1px solid var(--autumn-line); }
.verification-board__row time { font-size: 13px; color: #756958; font-variant-numeric: tabular-nums; }
.verification-board__patient { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.verification-board__patient > strong { font-size: 15px; font-weight: 500; line-height: 1.3; }
.verification-board__patient img { width: auto; max-width: 82px; height: 22px; object-fit: contain; object-position: left; }
.verification-badge { position: relative; display: grid; place-items: center; width: 88px; height: 30px; border-radius: 6px; background: #e8eee4; color: #42654b; font: 500 12px/1 var(--autumn-sans); white-space: nowrap; }
.verification-phase { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; }
.verification-phase--follow, .verification-phase--check { opacity: 0; background: #f1e7d9; color: #8c5736; }
.is-visible .verification-phase--follow { animation: verification-follow 7s linear both; }
.is-visible .verification-phase--check { animation: verification-check 7s linear both; }
.is-visible .verification-phase--done { animation: verification-finish 7s linear both; }
@keyframes verification-follow { 0%,28% { opacity: 1; } 32%,100% { opacity: 0; } }
@keyframes verification-check { 0%,28% { opacity: 0; } 32%,65% { opacity: 1; } 69%,100% { opacity: 0; } }
@keyframes verification-finish { 0%,65% { opacity: 0; } 69%,100% { opacity: 1; } }
.billing-autumn-logo img { width: 28px; height: 36px; max-height: 36px; }
@media (max-width: 600px) {
 .verification-board__row { grid-template-columns: 32px minmax(0,1fr) 78px; gap: 8px; }
 .verification-badge { width: 78px; }
 .verification-board__patient > strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
 .is-visible .verification-phase, .is-visible .billing-record__row, .is-visible .billing-ticket, .is-visible .billing-ticket__cursor, .is-visible .billing-ticket__complete { animation: none; }
}

.billing-kanban__lane:nth-child(1) { background: #f5ebc9; }
.billing-kanban__lane:nth-child(2) { background: #f3dddd; }
.billing-ticket .billing-ticket__amount { color: #42654b; margin: 5px 0 0; font-size: 15px; font-weight: 600; }
.time-study__total { flex-wrap: wrap; }
.time-study__total > span { max-width: none; flex-basis: 100%; white-space: nowrap; font-size: clamp(10px, 2.8vw, 13px); }
