/* entro. — extra styles for the guide pages (/quickbooks-alternative/ etc.).
   Loaded after styles.css on those pages only. */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header on narrow phones: the trial button is wider than "Sign in". */
@media (max-width: 480px) {
  .site-header .wrap { gap: 12px; }
  .site-header .brand-by { display: none; }
  .site-header .menu-btn { margin-left: 0; }
}

/* Breadcrumb */
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--teal-700); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Page hero: long, search-style headings get a slightly smaller size. */
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page-hero .hero-note a { color: var(--teal-700); }

/* Body copy */
.prose { max-width: 760px; }
.prose p { color: var(--ink-2); font-size: 1.0625rem; margin-top: 14px; }
.prose p:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 32px; }
.prose h3 + p { margin-top: 8px; }
.prose ul { color: var(--ink-2); padding-left: 20px; margin: 14px 0 0; display: grid; gap: 6px; }
.section-head + .prose { margin-top: -12px; }
.lead-in { color: var(--ink-2); font-size: 1.0625rem; margin-top: 20px; max-width: 760px; }
.lead-in a, .prose a, .card a { font-weight: 600; }

/* Two columns of text side by side */
.duo { display: grid; gap: 20px; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo .card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.duo .checks { margin-top: 16px; }
.card-muted { background: var(--bg-soft); }
.card-muted .checks li::before {
  background: #e2e8f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Feature table: entro.'s own plans only */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.feature-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.feature-table caption { text-align: left; padding: 16px 18px 4px; font-weight: 700; color: var(--ink); }
.feature-table th, .feature-table td { padding: 12px 18px; border-bottom: 1px solid #f1f5f9; text-align: left; vertical-align: top; }
.feature-table thead th { font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.feature-table tbody th { font-weight: 500; color: var(--ink-2); }
.feature-table td { text-align: center; width: 20%; font-weight: 700; color: var(--teal-700); white-space: nowrap; }
.feature-table thead th:not(:first-child) { text-align: center; }
.feature-table td.no { color: var(--muted); font-weight: 500; }
.feature-table tr:last-child th, .feature-table tr:last-child td { border-bottom: 0; }
@media (max-width: 520px) {
  .feature-table { table-layout: fixed; }
  .feature-table th, .feature-table td { padding: 10px 12px; }
  .feature-table td, .feature-table thead th:not(:first-child) { width: 68px; padding-left: 4px; padding-right: 4px; }
  .feature-table thead th { font-size: .6875rem; letter-spacing: .03em; }
}

/* Numbered how-to steps */
.howto { list-style: none; margin: 0; padding: 0; counter-reset: howto; display: grid; gap: 16px; max-width: 820px; }
.howto > li { counter-increment: howto; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 76px; }
.howto > li::before {
  content: counter(howto); position: absolute; left: 22px; top: 22px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--teal-700); color: #fff; font-weight: 800;
}
.howto h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.howto p { color: var(--ink-2); }
.howto p + p { margin-top: 8px; }
.howto .tag { font-size: .875rem; }
@media (max-width: 520px) {
  .howto > li { padding: 20px; }
  .howto > li::before { position: static; margin-bottom: 12px; }
}

/* Callout */
.note { margin-top: 28px; max-width: 820px; background: var(--teal-50); border: 1px solid #99d5cc; border-radius: 14px; padding: 16px 18px; color: var(--teal-900); }
.note b { color: var(--teal-900); }

/* Related guides */
.related { display: grid; gap: 16px; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.related a:hover { border-color: var(--teal-600); }
.related b { font-size: 1.0625rem; }
.related span { color: var(--ink-2); font-size: .9375rem; }
.related em { font-style: normal; font-weight: 700; color: var(--teal-700); font-size: .9375rem; margin-top: 2px; }

/* Hero panel with a list of plain facts */
.facts .row .label { color: var(--muted); }
.facts .row span:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.status { font-size: .8125rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; align-self: center; }
.status-paid { background: #d1fae5; color: #065f46; }
.status-partial { background: #fef3c7; color: #854d0e; }
.status-late { background: #fee2e2; color: #991b1b; }

/* Comparison table: words in the cells, entro.'s column highlighted */
@media (min-width: 1000px) { .grid.grid-2 { grid-template-columns: repeat(2, 1fr); } }
.compare-table { min-width: 760px; }
.compare-table td { white-space: normal; font-weight: 500; color: var(--ink-2); font-size: .875rem; line-height: 1.45; width: 19%; }
.compare-table thead th { white-space: normal; }
.compare-table th.us, .compare-table td:nth-child(2) { background: #f0fdfa; color: var(--teal-700); }
.compare-table td:nth-child(2) { font-weight: 700; }
.compare-table sup { font-size: .7em; }
@media (max-width: 520px) {
  .compare-table { table-layout: auto; }
  .compare-table td, .compare-table thead th:not(:first-child) { width: auto; padding: 10px 8px; }
}
