/* TouTax unified visual system — homepage-led, 2026-10-06 */
:root{
  --tt-black:#050505;
  --tt-charcoal:#111;
  --tt-yellow:#fcd500;
  --tt-yellow-soft:#fff5ad;
  --tt-white:#fff;
  --tt-off:#f6f4ee;
  --tt-ink:#202020;
  --tt-muted:#515151;
  --tt-line:#dedbd1;
  --tt-max:1180px;
}
body:not(.home-page){
  color:var(--tt-ink);
  background:var(--tt-white);
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.65;
}
body:not(.home-page) h1,
body:not(.home-page) h2,
body:not(.home-page) h3,
body:not(.home-page) legend{
  font-family:Arial,Helvetica,sans-serif!important;
  font-weight:750;
  text-wrap:balance;
}
body:not(.home-page) h1{
  font-size:clamp(42px,6.5vw,76px);
  line-height:1.02;
  letter-spacing:-.045em;
}
body:not(.home-page) h2{
  font-size:clamp(30px,4vw,48px);
  line-height:1.08;
  letter-spacing:-.035em;
}
body:not(.home-page) h3{
  line-height:1.22;
  letter-spacing:-.018em;
}
body:not(.home-page) p,
body:not(.home-page) li{font-size:16px}
body:not(.home-page) .wrap,
body:not(.home-page) .container{
  width:min(calc(100% - 48px),var(--tt-max));
  margin-left:auto;
  margin-right:auto;
}
body:not(.home-page) .eyebrow,
body:not(.home-page) .kicker,
body:not(.home-page) .section-kicker,
body:not(.home-page) .pub-kicker,
body:not(.home-page) .cat{
  color:#6b5800;
  font:700 .875rem/1.5 Arial,Helvetica,sans-serif!important;
  letter-spacing:.22em;
  text-transform:uppercase;
}
body:not(.home-page) a{transition:color .18s ease,background-color .18s ease,border-color .18s ease}
body:not(.home-page) :focus-visible{outline:2px solid var(--tt-yellow);outline-offset:4px}

/* Shared landing-page hero */
body:not(.home-page) main>.hero,
body:not(.home-page) main .hero{
  background:var(--tt-black)!important;
  color:#fff;
  border:0;
  padding:clamp(72px,9vw,116px) 0!important;
}
body:not(.home-page) .hero .eyebrow,
body:not(.home-page) .hero .kicker,
body:not(.home-page) .hero .cat{color:var(--tt-yellow)!important}
body:not(.home-page) .hero h1{max-width:980px;margin-bottom:26px}
body:not(.home-page) .hero .lead,
body:not(.home-page) .hero .dek{
  color:#c2c2c2!important;
  max-width:760px;
  font-size:clamp(17px,2vw,20px);
  line-height:1.6;
}

/* Calculator and estimator intros use the same dark opening */
body:not(.home-page) main>.intro.wrap{
  color:#fff;
  background:var(--tt-black);
  box-shadow:0 0 0 100vmax var(--tt-black);
  clip-path:inset(0 -100vmax);
  padding-top:clamp(64px,8vw,100px);
  padding-bottom:clamp(48px,6vw,76px);
  margin-bottom:52px;
}
body:not(.home-page) main>.intro.wrap .eyebrow{color:var(--tt-yellow)}
body:not(.home-page) main>.intro.wrap p{color:#c8c8c8}
body:not(.home-page) main>.intro.wrap a{color:var(--tt-yellow);text-underline-offset:5px}
body:not(.home-page) main>.intro.wrap .notice{
  background:#171717;
  color:#e5e5e5;
  border:0;
  border-left:4px solid var(--tt-yellow);
}

/* Buttons and calls to action */
body:not(.home-page) .button,
body:not(.home-page) #copy-quote,
body:not(.home-page) .pub-btn{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid var(--tt-yellow)!important;
  border-radius:0!important;
  background:var(--tt-yellow)!important;
  color:#080808!important;
  padding:13px 20px;
  font:750 14px/1.2 Arial,Helvetica,sans-serif!important;
  text-decoration:none;
}
body:not(.home-page) .button:hover,
body:not(.home-page) #copy-quote:hover,
body:not(.home-page) .pub-btn:hover{background:#ffe34d!important;border-color:#ffe34d!important}
body:not(.home-page) .cta{
  background:var(--tt-black)!important;
  color:#fff;
  padding:clamp(62px,8vw,94px) 0!important;
}
body:not(.home-page) .cta+.cta{border-top:1px solid #2a2a2a}
body:not(.home-page) .cta h2{max-width:820px}
body:not(.home-page) .cta p{color:#c2c2c2!important;font-size:18px;line-height:1.65}

/* Services */
body:not(.home-page) .section{padding:clamp(64px,8vw,96px) 0}
body:not(.home-page) .band{background:var(--tt-off);border-color:var(--tt-line)}
body:not(.home-page) .cards{gap:20px;background:transparent;border:0}
body:not(.home-page) .cards article,
body:not(.home-page) .service{
  border:1px solid var(--tt-line)!important;
  border-top:4px solid var(--tt-yellow)!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff;
}
body:not(.home-page) .cards article{padding:32px}
body:not(.home-page) .cards h3,
body:not(.home-page) .service h3{font-size:clamp(21px,2.4vw,28px)}
body:not(.home-page) .scope li,
body:not(.home-page) .related li{border-top-color:var(--tt-black)}
body:not(.home-page) .faq details{border-color:var(--tt-line)}
body:not(.home-page) .faq summary{font-size:17px}

/* About, expertise and FAQ subpages */
.subpage{overflow:hidden}
.subpage-breadcrumb{
  width:min(calc(100% - 48px),var(--tt-max))!important;
  color:#555;
  padding:24px 0!important;
}
.subpage-breadcrumb a{color:#5c4c00!important}
.subpage>.about,
.subpage>#expertise,
.subpage>.faq{padding:clamp(64px,8vw,104px) 0!important}
.subpage .section-title{
  font-size:clamp(40px,6vw,68px)!important;
  line-height:1.04!important;
  letter-spacing:-.045em!important;
  max-width:900px!important;
}
.subpage .section-lead{font-size:18px;line-height:1.65;max-width:780px}
.subpage .about-card,
.subpage .about-point,
.subpage .faq-item,
.subpage .company-row,
.subpage .regional-places li{
  border-radius:0!important;
  box-shadow:none!important;
}
.subpage .about-card{background:var(--tt-black)!important;color:#fff!important;border-top:4px solid var(--tt-yellow)}
.subpage .about-card p{color:#c6c6c6!important}
.subpage .about-point,
.subpage .faq-item{border:1px solid var(--tt-line)!important;border-top:3px solid var(--tt-yellow)!important}
.subpage .company-info{background:var(--tt-off)!important}
.subpage .regional-places li{border-top:3px solid var(--tt-yellow)!important}

/* Estimators and client guides */
body:not(.home-page) fieldset{border-color:var(--tt-line)}
body:not(.home-page) legend{font-size:clamp(22px,2.5vw,28px)}
body:not(.home-page) .choices label,
body:not(.home-page) .contact-options label,
body:not(.home-page) .guide-grid article{
  border-radius:0;
  border-color:var(--tt-line);
  background:#fff;
}
body:not(.home-page) .choices label:has(input:checked),
body:not(.home-page) .contact-options label:has(input:checked){
  border-color:#8a7200;
  box-shadow:inset 4px 0 0 var(--tt-yellow);
  background:#fffdf0;
}
body:not(.home-page) .numbers input,
body:not(.home-page) .numbers select{border:1px solid #8c8c8c;border-radius:0;min-height:48px}
body:not(.home-page) .quote{
  border:0!important;
  border-top:5px solid var(--tt-yellow)!important;
  background:var(--tt-black)!important;
  color:#fff;
  padding:clamp(1rem,2.5vw,2rem)!important;
}
body:not(.home-page) .quote p,
body:not(.home-page) .quote .small,
body:not(.home-page) .quote-foot{color:#c2c2c2!important}
body:not(.home-page) .quote .eyebrow{color:var(--tt-yellow)}
body:not(.home-page) .quote output{color:#fff;font-size:clamp(1.75rem,1.35rem + 1vw,2.5rem)}
body:not(.home-page) .quote output.price-range{font-size:clamp(1.75rem,1.35rem + 1vw,2.5rem)}
body:not(.home-page) .quote .price-range-label{color:#d0d0d0}
body:not(.home-page) .quote .accounting-initial-fee output{font-size:clamp(1.5rem,1.2rem + .75vw,2rem);font-weight:700}
body:not(.home-page) .price-lines,
body:not(.home-page) .quote-foot,
body:not(.home-page) #online-next{border-color:#333!important}
body:not(.home-page) .steps{padding-top:64px;padding-bottom:88px}
body:not(.home-page) .guide-grid article{border-top:3px solid var(--tt-yellow);padding:24px}

/* Insights and articles */
body:not(.home-page) .content{background:#fff;padding:clamp(64px,8vw,96px) 0}
body:not(.home-page) .intro h2{font-size:clamp(30px,4vw,48px)}
body:not(.home-page) .pill{
  border-radius:0!important;
  border-color:var(--tt-line);
  background:#fff;
}
body:not(.home-page) .pill.active{background:var(--tt-black);color:#fff;border-color:var(--tt-black)}
body:not(.home-page) .articles{gap:20px;background:transparent;border:0}
body:not(.home-page) .article{
  border:1px solid var(--tt-line);
  border-top:4px solid var(--tt-yellow);
  padding:30px;
}
body:not(.home-page) article.article{border:0;border-top:0;padding:clamp(56px,7vw,88px) 0}
body:not(.home-page) .featured-card{
  border-top:5px solid var(--tt-yellow);
  background:var(--tt-black);
}
body:not(.home-page) .featured-copy h2{font-size:clamp(30px,4vw,46px)!important}
body:not(.home-page) .article h2{font-size:clamp(26px,3vw,34px)}
body:not(.home-page) .article h3{font-size:22px}
body:not(.home-page) .article-cta{border-top:4px solid var(--tt-yellow);background:var(--tt-black)}
body:not(.home-page) .related-grid{gap:16px;background:transparent;border:0}
body:not(.home-page) .related-grid a{border:1px solid var(--tt-line);border-top:3px solid var(--tt-yellow)}

/* Publications */
body:not(.home-page) .pub-main{max-width:var(--tt-max);padding-top:0!important}
body:not(.home-page) .pub-intro{
  color:#fff;
  background:var(--tt-black);
  box-shadow:0 0 0 100vmax var(--tt-black);
  clip-path:inset(0 -100vmax);
  padding:clamp(68px,9vw,108px) 0!important;
  border:0!important;
}
body:not(.home-page) .pub-intro .pub-kicker{color:var(--tt-yellow)}
body:not(.home-page) .pub-intro p{color:#c2c2c2}
body:not(.home-page) .pub-grid{gap:36px 48px}
body:not(.home-page) .pub-card{
  border:1px solid var(--tt-line);
  border-top:4px solid var(--tt-yellow);
  padding:28px;
  align-items:start;
}
body:not(.home-page) .pub-card h2{font-size:clamp(22px,2.4vw,30px)}
body:not(.home-page) .pub-btn.secondary{background:#fff!important;border-color:#111!important;color:#111!important}
body:not(.home-page) .publication-preview{background:var(--tt-off)}
body:not(.home-page) .publication-heading h2{font-size:clamp(30px,4vw,48px)!important}
body:not(.home-page) .publication-book{border-top:3px solid var(--tt-yellow)}

/* Legal pages */
body:not(.home-page) main[id="main"] h1:first-child,
body:not(.home-page) main>div[id$="content"] h1:first-child{max-width:900px}
body:not(.home-page) .note,
body:not(.home-page) .notice{border-radius:0!important;border-left:4px solid var(--tt-yellow)!important}

/* Keep controls comfortable on small screens */
@media(max-width:780px){
  body:not(.home-page) .wrap,
  body:not(.home-page) .container{width:min(calc(100% - 30px),var(--tt-max))}
  body:not(.home-page) h1{font-size:clamp(38px,12vw,58px)}
  body:not(.home-page) main>.hero,
  body:not(.home-page) main .hero{padding:64px 0!important}
  body:not(.home-page) .cards,
  body:not(.home-page) .pub-grid{grid-template-columns:1fr}
  body:not(.home-page) .pub-card{grid-template-columns:110px minmax(0,1fr);gap:20px;padding:22px}
  body:not(.home-page) .quote{padding:clamp(1rem,2.5vw,2rem)!important}
}
@media(prefers-reduced-motion:reduce){
  body:not(.home-page) *{scroll-behavior:auto!important;transition:none!important}
}

/* Service deliverables use the existing homepage typography and yellow accents. */
.service-deliverable-summary{margin-top:24px;padding-top:20px;border-top:2px solid var(--tt-yellow)}
.service-deliverable-summary h4{margin:0 0 10px;font:700 14px/1.4 Arial,Helvetica,sans-serif;color:var(--tt-ink)}
.service-deliverable-summary p{margin:0 0 10px}
body:not(.home-page) .service-output-note{font-size:.9375rem;color:var(--tt-muted)}
.service-output-list{margin:28px 0 36px;max-width:none}
.service-delivery-terms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.service-delivery-terms h3{font-size:22px;margin:0 0 14px}
.service-delivery-terms p{margin:0}
@media(max-width:700px){.service-delivery-terms{grid-template-columns:1fr;gap:26px}}

/* Three-step service process, shared by the expertise hub. */
.service-process-heading{margin-bottom:36px}
body:not(.home-page) .service-process-heading h2{max-width:850px;font-size:clamp(30px,4vw,48px);margin:0;line-height:1.12}
.service-workflow{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:0;padding:0}
.service-workflow .workflow-step{position:relative;min-width:0;padding:28px;background:var(--tt-off);border-top:4px solid var(--tt-yellow)}
.workflow-step-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}
.workflow-number{font:750 38px/1 Arial,Helvetica,sans-serif;letter-spacing:-.04em;color:#8a7200}
.workflow-icon{display:block;width:48px;height:48px;color:var(--tt-black);flex:none}
body:not(.home-page) .workflow-step h3{font-size:clamp(21px,2vw,25px);margin:0 0 14px;line-height:1.25}
.service-workflow .workflow-step p{font-size:16px;line-height:1.65;color:var(--tt-muted);margin:0;max-width:none}
.workflow-step:not(:last-child)::after{content:"";position:absolute;width:10px;height:10px;border-top:2px solid #8a7200;border-right:2px solid #8a7200;right:-22px;top:50%;transform:translateY(-50%) rotate(45deg)}
@media(max-width:780px){
 .service-workflow{grid-template-columns:1fr;gap:30px}
 .service-workflow .workflow-step{padding:24px}
 .workflow-step-top{margin-bottom:20px}
 .workflow-step:not(:last-child)::after{right:50%;top:auto;bottom:-22px;transform:translateX(50%) rotate(135deg)}
}

/* Retainer preparation and monthly work have separate fees and start conditions. */
.service-onboarding .onboarding-intro{max-width:760px;margin:20px 0 0;color:var(--tt-muted);font-size:18px}
#onboarding-title,#accounting-onboarding-title{scroll-margin-top:120px}
.onboarding-workflow{row-gap:28px;margin-bottom:38px}
.onboarding-workflow .workflow-step:nth-child(3)::after{display:none}
.onboarding-fees{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:32px 0 18px}
.onboarding-fees article{padding:28px;border:1px solid var(--tt-line);border-top:4px solid var(--tt-yellow);background:#fff}
body:not(.home-page) .onboarding-fees h3,body:not(.home-page) .onboarding-timing h3{font-size:24px;margin:0 0 16px}
.onboarding-fees p{margin:0;color:var(--tt-muted)}
.onboarding-timing{margin:30px 0;padding:28px;background:var(--tt-off);border-left:4px solid var(--tt-yellow)}
.onboarding-timing p{max-width:920px;margin:0 0 14px}
.onboarding-timing a{font-weight:700;text-underline-offset:4px}
.service-onboarding>.help{max-width:940px;font-size:14px}
@media(max-width:780px){
 .onboarding-fees{grid-template-columns:1fr}
 .onboarding-workflow .workflow-step:nth-child(3)::after{display:block}
 .onboarding-fees article,.onboarding-timing{padding:24px}
}

/* One-time initial fee displayed separately from the monthly range. */
.accounting-initial-fee{margin:22px 0;padding:1rem;padding:clamp(.75rem,4cqi,1.25rem);border:1px solid var(--tt-line);border-left:4px solid var(--tt-yellow)}
.accounting-initial-fee .eyebrow{margin:0 0 8px}
.accounting-initial-fee output{display:block;font-size:1.625rem;font-weight:700;line-height:1.2;margin-bottom:12px}
.accounting-initial-fee .small{margin:0;color:var(--tt-muted);font-size:14px}



/* Readable secondary copy and controls retain their size when the browser zooms. */
body:not(.home-page) .help,body:not(.home-page) .small,body:not(.home-page) .quote-foot{font-size:.9375rem;line-height:1.65}
body:not(.home-page) .quote .help,body:not(.home-page) .quote .small,body:not(.home-page) .quote-foot,body:not(.home-page) .quote .price-lines li{font-size:1rem}
body:not(.home-page) .button,body:not(.home-page) #copy-quote,body:not(.home-page) .pub-btn{font-size:1rem!important;line-height:1.4!important;max-width:100%;white-space:normal;text-align:center}
body:not(.home-page) .quote-scope{border-color:#454545}
body:not(.home-page) .quote-scope strong{color:#fff}
body:not(.home-page) :focus-visible{outline-color:#756000}
body:not(.home-page) .quote :focus-visible,body:not(.home-page) .cta :focus-visible{outline-color:var(--tt-yellow)}
.subpage .faq-item p{color:#454545;line-height:1.65}
body:not(.home-page) .estimator-links{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1.5rem}
body:not(.home-page) .estimator-note{font-size:1rem;color:var(--tt-muted)}
body:not(.home-page) .hero .estimator-note,body:not(.home-page) .cta .estimator-note{color:#d0d0d0!important}
@media(max-width:40rem){body:not(.home-page) h1{font-size:clamp(2rem,1.5rem + 3vw,3.25rem)}.subpage .section-title{font-size:clamp(2rem,1.5rem + 3vw,3.25rem)!important}.onboarding-fees article,.onboarding-timing{padding:1.25rem}.service-workflow .workflow-step{padding:1.25rem}.subpage{overflow:visible}}

body:not(.home-page) p,body:not(.home-page) li{font-size:1rem}
body:not(.home-page) .eyebrow,body:not(.home-page) .kicker,body:not(.home-page) .section-kicker{font-size:.875rem!important;line-height:1.5!important}
body:not(.home-page) .service-detail-link{display:inline-flex;min-height:2.75rem;align-items:center;font-size:1rem}

/* Context-specific text contrast for Insights and the service cards.
   Light article cards: #555 metadata and #6b5800 labels on #fff.
   Featured cards: #c2c2c2 metadata and TouTax yellow on #050505.
   Keep these separate: a readable gold on white is too dark on black. */
body:not(.home-page) .articles .article .author-meta,
body:not(.home-page) .articles .article .meta{color:#555;font-size:.875rem;line-height:1.6}
body:not(.home-page) .articles .article .cat,
body:not(.home-page) article.article .related-label,
body:not(.home-page) article.article .related-grid span,
body:not(.home-page) article.article .author-profile span{color:#6b5800}
body:not(.home-page) .featured-card .cat{color:var(--tt-yellow)}
body:not(.home-page) .featured-card .author-meta,
body:not(.home-page) .featured-card .meta{color:#c2c2c2;font-size:.875rem;line-height:1.6}
body:not(.home-page) .service .service-number{color:#6b5800;font-size:.875rem;line-height:1.5}
.site-footer .footer-social-title,
.site-footer .footer-contact-label{font-size:.875rem;line-height:1.5}
