/* The page for tax and accounting firms (/tax-firms). Loaded after
   site.css, which holds the colors, fonts, header, footer, buttons and the
   hero, card, steps, pricing and FAQ layouts this page reuses. */

/* Hero: the W-12 line on paper, over an example evidence log. */
.tf-visual { position: relative; padding: 8px 0 96px; }
.w12 {
  position: relative; z-index: 2;
  margin: 0 44px 0 0; padding: 18px 20px 20px;
  border-radius: 14px; background: #ffffff; color: #0a0f1e;
  border: 1px solid rgba(10, 15, 30, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 30px 60px -20px rgba(0, 0, 0, 0.65);
  font-size: 13.5px; line-height: 1.55;
}
.w12-form { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid #0a0f1e; }
.w12-form b { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.w12-form span { color: #5d6679; font-size: 12px; }
.w12-name { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 700; }
.w12-num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #0a0f1e; color: #fff; font-size: 12.5px; }
.w12 blockquote { margin: 0; color: #2a3247; }
.w12-boxes { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 14px 0 0; font-weight: 600; font-size: 13px; }
.w12-box { width: 15px; height: 15px; border: 1.5px solid #0a0f1e; border-radius: 3px; }
.w12-box ~ .w12-box { margin-left: 14px; }
.tf-visual .evlog { position: relative; z-index: 1; margin: -18px 0 0 44px; padding-top: 18px; }
.motion .tf-visual { animation: rise 0.9s 0.15s var(--ease) both; }

/* What the rule asks for, and what Crashcart does. */
.tf-map-wrap { max-width: 1000px; }
.tf-map-box { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.tf-map { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.tf-map thead th {
  padding: 14px 22px; text-align: left; background: var(--surface-2);
  font: 500 11.5px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint);
}
.tf-map thead th + th { color: var(--accent); background: var(--accent-soft); }
.tf-map tbody th, .tf-map td { padding: 16px 22px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.tf-map tbody th { width: 34%; font-weight: 600; color: var(--text); }
.tf-map tbody th code { display: block; margin-top: 3px; font: 500 11.5px/1.4 var(--mono); color: var(--accent); }
.tf-map td { color: var(--muted); }
.tf-map-wrap .note { margin-top: 22px; max-width: 760px; }

/* The worked example in the pricing box. */
.tf-example { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tf-example th, .tf-example td { padding: 10px 0; border-top: 1px solid var(--line); }
.tf-example tr:first-child th, .tf-example tr:first-child td { border-top: 0; }
.tf-example th { text-align: left; font-weight: 500; color: var(--muted); }
.tf-example td { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; padding-left: 16px; }
.tf-example .total th, .tf-example .total td { border-top: 2px solid var(--line-strong); font-weight: 700; color: var(--text); padding-top: 14px; }
.tf-example-note { margin: 18px 0 0; color: var(--muted); font-size: 15px; }

/* The closing band. */
.tf-cta { overflow: hidden; isolation: isolate; background: radial-gradient(50% 80% at 100% 0%, rgba(76, 104, 255, 0.25), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(74, 222, 159, 0.08), transparent 70%), var(--ink); }
.tf-cta .sec-head { margin-bottom: 0; }
.tf-cta h2 { color: #fff; }
.tf-cta .cta-row { justify-content: center; margin-top: 30px; }

@media (max-width: 1060px) {
  .tf-visual { max-width: 640px; width: 100%; margin: 0 auto; }
}
@media (max-width: 720px) {
  .tf-visual { padding-bottom: 72px; }
  .tf-map thead { display: none; }
  .tf-map tr { display: block; border-top: 1px solid var(--line); }
  .tf-map tbody tr:first-child { border-top: 0; }
  .tf-map tbody th, .tf-map td { display: block; width: auto; border: 0; padding: 0 18px; }
  .tf-map tbody th { padding-top: 16px; }
  .tf-map td { padding-top: 6px; padding-bottom: 16px; }
}
@media (max-width: 520px) {
  .w12 { margin-right: 0; }
  .tf-visual .evlog { margin-left: 0; }
}
