/* Common Accounting — shared design system.
   Extracted from the inline <style> blocks; identical on all 22 public pages.
   Load BEFORE page-specific CSS. */

/* ---- self-hosted variable fonts (SIL Open Font License) ----
   font-display:swap keeps text visible in the fallback while these load.
   Sept 2026: Inter is the only typeface in use. The old display serif, its
   @font-face and the font file itself were all removed — 67 KB off every page
   load, and one font request instead of two.
   WARNING: do not reintroduce that serif in any font-family declaration.
   No @font-face and no font file remain behind it, so it would not error —
   it would silently fall back to Georgia. */
@font-face{
  font-family:"Inter";
  src:url("/fonts/inter-var.woff2") format("woff2-variations");
  font-weight:100 900;font-style:normal;font-display:swap;
}
/* ============================== DESIGN TOKENS ============================== */
:root{
  --ink:#0E1A3C; --navy:#1B2A6B; --royal:#2C4BE0; --royal-soft:#EBEFFF;
  --paper:#F5F8FD; --card:#FFFFFF; --line:#E1E8F5; --muted:#5A6A8C;
  --gold:#F3A712; --green:#0F8A5F; --red:#C4362F;
  --shadow:0 18px 50px -22px rgba(14,26,60,.35);
  --shadow-sm:0 6px 18px -10px rgba(14,26,60,.28);
  --r:16px;
}
/* ============ DEVICE HARDENING ============ */
html{-webkit-text-size-adjust:100%;overflow-x:hidden}
body{overflow-x:hidden;min-height:100vh;min-height:100dvh}
img,svg,video{max-width:100%;height:auto}
*{-webkit-tap-highlight-color:rgba(44,75,224,.15)}
/* never let a long word or URL break the layout */
h1,h2,h3,h4,p,li,td,th,summary{overflow-wrap:break-word}
/* honour reduced-motion everywhere */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important}
}
/* respect notches and home indicators */
@supports(padding:max(0px)){
  .wrap{padding-left:max(28px,env(safe-area-inset-left));
        padding-right:max(28px,env(safe-area-inset-right))}
  .mobar{padding-bottom:max(10px,env(safe-area-inset-bottom))}
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Inter",system-ui,sans-serif;background:var(--paper);color:var(--ink);
  line-height:1.6;-webkit-font-smoothing:antialiased}
.wrap{max-width:1160px;margin:0 auto;padding:0 28px}
h1,h2,h3,h4{font-family:"Inter",system-ui,sans-serif;font-weight:700;line-height:1.12;
  letter-spacing:-.022em;color:#101095}
a{color:var(--royal)}
.eyebrow{font-size:1.05rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--royal);display:inline-flex;align-items:center;gap:.55rem}
.eyebrow::before{content:"";width:26px;height:1.5px;background:var(--royal)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:600;
  font-size:.96rem;padding:13px 22px;border-radius:999px;text-decoration:none;cursor:pointer;
  border:0;font-family:inherit;transition:transform .15s,box-shadow .15s,border-color .15s}
.btn-primary{background:var(--royal);color:#fff;box-shadow:0 10px 24px -10px var(--royal)}
.btn-primary:hover{transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--ink);border:2px solid var(--ink)}
.btn-ghost:hover{border-color:var(--royal);color:var(--royal)}
a:focus-visible,.btn:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible
  {outline:3px solid var(--royal);outline-offset:2px;border-radius:6px}
/* ============ TOUCH & FORM ERGONOMICS ============ */
@media(max-width:900px){
  .btn{min-height:48px}
  .navlinks a,.dd>button{min-height:48px;display:flex;align-items:center}
  .burger{min-width:48px;min-height:48px}
  .slot{min-height:48px}
  .catbar button,.toolnav button{min-height:46px}
  details summary{min-height:48px}
  footer.site a{padding:9px 0}
  .sidecard a{padding:11px 0}
}
@media(max-width:520px){
  .field input,.field select,.magnet input{font-size:16px;padding:14px}
}
/* ============================== CHROME ============================== */
.topbar{background:var(--ink);color:#fff;font-size:.91rem}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:9px 28px}
.topbar a{color:#fff;text-decoration:none;font-weight:600}
.topbar .stars{color:var(--gold);letter-spacing:1px}
.topbar .rgt{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
@media(max-width:680px){.topbar .lft{display:none}}
nav.bar{position:sticky;top:0;z-index:40;background:rgba(245,248,253,.9);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
nav.bar .wrap{display:flex;align-items:center;justify-content:space-between;padding:14px 28px;gap:16px}
.logo{font-family:"Inter",system-ui,sans-serif;font-weight:800;font-size:1.32rem;letter-spacing:-.008em;color:var(--ink);
  display:flex;align-items:center;gap:9px;text-decoration:none;flex-shrink:0}
.logo .mark{width:30px;height:30px;border-radius:8px;background:var(--navy);color:#fff;
  display:grid;place-items:center;font-size:.99rem;font-weight:700;font-family:"Inter",sans-serif}
.navlinks{display:flex;gap:8px;align-items:center}
.navlinks a{color:var(--ink);text-decoration:none;font-weight:500;font-size:.95rem;
  opacity:.82;padding:8px 10px;border-radius:8px}
.navlinks a:hover{opacity:1;background:var(--royal-soft)}
.dd{position:relative}
.dd>button{background:none;border:0;font:inherit;font-weight:500;font-size:.95rem;color:var(--ink);
  opacity:.82;cursor:pointer;padding:8px 8px;border-radius:8px;display:flex;align-items:center;gap:5px}
.dd>button:hover{opacity:1;background:var(--royal-soft)}
.dd-menu{position:absolute;top:calc(100% + 8px);left:0;background:var(--card);border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow);padding:8px;min-width:290px;display:none;z-index:50}
.dd.open .dd-menu{display:block}
.burger{display:none;background:none;border:1.5px solid var(--line);border-radius:10px;
  padding:9px 12px;cursor:pointer;font-size:1.1rem}
@media(max-width:1040px){
  .navlinks{display:none;position:absolute;top:100%;left:0;right:0;background:var(--card);
    border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:12px;gap:2px;
    box-shadow:var(--shadow)}
  .navlinks.open{display:flex}
  .burger{display:block}
  .dd-menu{position:static;display:block;box-shadow:none;border:0;padding:0 0 0 12px;min-width:0}
  .dd>button{width:100%;justify-content:space-between}
  nav.bar .wrap{flex-wrap:wrap}
  .nav-cta{display:none}
}
/* ============ MOBILE NAV PANEL ============ */
@media(max-width:1040px){
  .navlinks{max-height:calc(100dvh - 130px);overflow-y:auto;-webkit-overflow-scrolling:touch}
  .dd-menu a small{margin-top:2px}
  .dd>button::after{content:"";width:8px;height:8px;border-right:2px solid var(--muted);
    border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .2s;
    margin-right:6px}
  .dd.open>button::after{transform:rotate(-135deg)}
  .dd-menu{display:none}
  .dd.open .dd-menu{display:block}
  body.nav-open{overflow:hidden}
}
.mobar{position:fixed;bottom:0;left:0;right:0;z-index:60;display:none;gap:10px;padding:10px 14px; background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-top:1px solid var(--line)}
.mobar .btn{flex:1;padding:14px 10px}
@media(max-width:760px){.mobar{display:flex}body{padding-bottom:76px}}
/* ============================== PAGE SYSTEM ============================== */
.page{display:none}
.page.active{display:block;animation:fadein .35s ease}
@keyframes fadein{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.lede{font-size:1.14rem;color:var(--muted);margin:22px 0 30px;max-width:34em}
.cta-row{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.fallback{position:absolute;inset:0;display:grid;place-items:center;
  background:linear-gradient(160deg,#26377f,#141f52);color:#fff;font-family:"Inter",system-ui,sans-serif;
  font-size:4.5rem;font-weight:600}
@media(max-width:900px){
  /* offset frame and overhanging chip cause horizontal scroll on phones */
  .portrait .offset{inset:12px -10px -10px 12px}
  .cred-chip{left:0;right:0;bottom:14px;max-width:none;margin:0 10px;
    display:flex;flex-direction:column;align-items:flex-start}
}
@media(max-width:400px){
  .portrait .offset{display:none}
  .cred-chip{position:static;margin:14px 0 0;box-shadow:none}
}
/* ============================== SECTIONS ============================== */
section{padding:72px 0}
.sec-head{max-width:44em;margin-bottom:38px}
.sec-head h2{font-size:clamp(1.85rem,3.4vw,2.6rem);margin:14px 0 0}
.sec-head p{color:var(--muted);margin-top:14px;font-size:1.06rem}
.alt{background:var(--card);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
@media(max-width:640px){.stat:nth-child(3){border-left:0}}
/* service cards */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media(max-width:900px){.grid3{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.grid3,.grid2{grid-template-columns:1fr}}
.scard{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:26px;
  text-decoration:none;color:inherit;display:block;transition:transform .18s,box-shadow .18s,border-color .18s}
.scard:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#C9D5EC}
.scard h3{font-size:1.22rem}
.scard p{color:var(--muted);font-size:1.15rem;margin-top:10px}
.gscore{display:flex;align-items:center;gap:14px;background:var(--paper);border:1px solid var(--line);
  border-radius:14px;padding:12px 18px}
.gscore .big{font-family:"Inter",system-ui,sans-serif;font-size:2.1rem;font-weight:800;line-height:1;letter-spacing:-.02em}
.gscore .stars{color:var(--gold);letter-spacing:1px}
.ph{outline:1.5px dashed #B9C6E4;outline-offset:3px}
details{border-bottom:1px solid var(--line);padding:18px 0}
details summary{cursor:pointer;font-weight:600;font-size:1.05rem;list-style:none;display:flex;
  justify-content:space-between;gap:16px;align-items:center}
details summary::-webkit-details-marker{display:none}
details summary::after{content:"+";color:var(--royal);font-size:1.35rem;font-weight:400;flex-shrink:0}
details[open] summary::after{content:"–"}
details p{color:var(--muted);margin-top:12px}
.band .inner{background:linear-gradient(135deg,var(--navy),var(--ink));border-radius:22px;
  padding:52px 44px;text-align:center;color:#fff;box-shadow:var(--shadow)}
.band h2{color:#fff;font-size:clamp(1.7rem,3vw,2.4rem)}
.band p{color:#C7D2F2;margin:14px auto 28px;max-width:34em;font-size:1.08rem}
.band .cta-row{justify-content:center}
.band .btn-ghost{color:#fff;border-color:rgba(255,255,255,.35)}
.band .btn-ghost:hover{border-color:#fff;color:#fff}
@media(max-width:640px){.band .inner{padding:36px 22px}}
/* who-is-this-for */
.persona{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:24px}
.persona h4{font-size:1.06rem;margin-bottom:8px}
.persona p{color:var(--muted);font-size:1.15rem}
@media(max-width:520px){.inline2{grid-template-columns:1fr}}
@media(max-width:900px){.book-grid{grid-template-columns:1fr}}
@media(max-width:960px){.blogaside{grid-template-columns:1fr}}
@media(max-width:960px){.artwrap{grid-template-columns:1fr;gap:34px}}
@media(max-width:520px){.prose table{font-size:.95rem}
  .prose th,.prose td{padding:10px 9px}}
/* ============ TABLET & MID-RANGE ============ */
@media(min-width:641px) and (max-width:1000px){
  .wrap{padding:0 22px}
  section{padding:56px 0}
}
/* landscape phones: reclaim vertical space */
@media(max-height:520px) and (orientation:landscape){
  .hero{padding:22px 0 16px}
  section{padding:38px 0}
  .topbar{display:none}
  .mobar{display:none}
  body{padding-bottom:0}
}
/* very small phones (iPhone SE / 320-360px) */
@media(max-width:380px){
  .wrap{padding:0 18px}
  .hero h1{font-size:1.95rem}
  .arthead h1{font-size:1.6rem}
  .result .big{font-size:2.2rem}
  .gscore{padding:10px 14px}
  .gscore .big{font-size:1.8rem}
  .logo{font-size:1.08rem}
  .logo .mark{width:26px;height:26px}
  .band .inner{padding:30px 18px}
  .tool{padding:20px}
  .breakdown li{font-size:.99rem}
}
/* large desktop: stop content stretching thin */
@media(min-width:1600px){
  .wrap{max-width:1280px}
}
/* print (clients do print quotes and calculator results) */
@media print{
  .topbar,nav.bar,.mobar,.band,.magnet,.artcta,.catbar,.toolnav,.cta-row{display:none!important}
  body{background:#fff;color:#000;padding:0}
  .page{display:block!important}
  a{text-decoration:none;color:#000}
  .tool,.result,.sidecard{border:1px solid #ccc!important;background:#fff!important;color:#000!important}
  .result .big,.result .lbl,.result .note,.breakdown li,.breakdown li b{color:#000!important}
}
@media(max-width:900px){.legalwrap{grid-template-columns:1fr;gap:26px}}
@media(max-width:900px){.legalnav{position:static}}
/* footer */
footer.site{background:var(--ink);color:#C7D2F2;padding:56px 0 30px;margin-top:0}
footer.site .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;grid-template-rows:auto auto auto;column-gap:32px;row-gap:0}
footer.site .cols .f-brand{grid-column:1;grid-row:1}
footer.site .cols .f-services{grid-column:2;grid-row:1}
footer.site .cols .f-more{grid-column:3;grid-row:1}
footer.site .cols .f-company{grid-column:4;grid-row:1}
footer.site .foot-divider{grid-column:1/-1;grid-row:2;border-top:1px solid rgba(255,255,255,.16);margin-top:24px}
footer.site .cols .f-meta{grid-column:1;grid-row:3;padding-top:22px}
footer.site .cols .mlx{grid-column:2/span 3;grid-row:3;align-self:start;margin-top:0;padding-top:0}
@media(max-width:900px){
  footer.site .cols{grid-template-columns:1fr 1fr;grid-template-rows:none}
  footer.site .cols .f-brand,footer.site .cols .f-services,
  footer.site .cols .f-more,footer.site .cols .f-company{grid-column:auto;grid-row:auto}
  footer.site .foot-divider{grid-column:1/-1;grid-row:auto;margin-top:8px}
  footer.site .cols .f-meta{grid-column:1/-1;grid-row:auto;padding-top:0}
  footer.site .cols .mlx{grid-column:1/-1;grid-row:auto}
}
@media(max-width:560px){footer.site .cols{grid-template-columns:1fr}}
footer.site h4{color:#fff;font-size:1rem;margin-bottom:14px}
footer.site a{color:#C7D2F2;text-decoration:none;display:block;padding:4px 0;font-size:.98rem}
footer.site a:hover{color:#fff}
footer.site .brand{font-family:"Inter",system-ui,sans-serif;color:#fff;font-size:1.3rem;font-weight:800;letter-spacing:-.022em}
footer.site .nap{font-size:.98rem;line-height:1.8;margin-top:12px}
footer.site .nap b{color:#fff}
.legal{border-top:1px solid rgba(255,255,255,.14);margin-top:36px;padding-top:20px;
  font-size:.99rem;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
/* build note (remove in production) */

/* ---- accessibility ---- */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.skip{position:absolute;left:-9999px;top:0;background:#fff;color:#0E1A3C;padding:10px 16px;z-index:10000;border-radius:0 0 10px 0;font-weight:600}
.skip:focus{left:0}
/* ---- MailerLite: their markup, our appearance ----
   Only CSS here. The DOM structure is MailerLite's and must not be edited,
   because their script binds to these exact class names. */
.ml-form-embedContainer{width:100%}
.ml-form-embedContainer .ml-form-embedWrapper{width:100%;max-width:none;background:none;border:0}
.ml-form-embedContainer .ml-form-embedBody,
.ml-form-embedContainer .ml-form-successBody{padding:0}
.ml-form-embedContainer .ml-form-embedContent{margin:0 0 14px}
.ml-form-embedContainer .ml-form-embedContent h3,
.ml-form-embedContainer .ml-form-successContent h3{margin:0 0 6px;font-size:1.05rem}
.ml-form-embedContainer .ml-form-embedContent p,
.ml-form-embedContainer .ml-form-successContent p{margin:0;font-size:.99rem;line-height:1.55}
.ml-form-embedContainer form{margin:0;width:100%}
.ml-form-embedContainer .ml-form-formContent{margin:0}
.ml-form-embedContainer .ml-form-fieldRow{margin:0}
.ml-form-embedContainer .ml-field-group{width:100%}
.ml-form-embedContainer input[type=email]{
  width:100%!important;box-sizing:border-box!important;padding:13px 16px!important;
  border-radius:999px!important;border:1px solid var(--line);font:inherit;
  font-size:16px!important;line-height:1.4!important;height:auto!important;
  background:#fff!important;color:var(--ink)!important;margin:0!important}
.ml-form-embedContainer input[type=email]:focus{outline:2px solid var(--royal);outline-offset:1px;border-color:var(--royal)}
.ml-form-embedContainer .ml-form-embedSubmit{margin:10px 0 0!important;width:100%!important;
  float:none!important;padding:0!important}
.ml-form-embedContainer .ml-form-formContent{margin:0!important;float:none!important}
.ml-form-embedContainer .ml-form-fieldRow{margin:0!important}
.ml-form-embedContainer .ml-form-embedBody{padding:0!important}
.ml-form-embedContainer .ml-form-embedSubmit button.primary{
  width:100%!important;min-height:46px!important;padding:12px 22px!important;border:0!important;
  border-radius:999px!important;cursor:pointer;background:var(--royal)!important;color:#fff!important;
  font:inherit;font-weight:600!important;font-size:.95rem!important;line-height:1.35!important;
  height:auto!important;margin:0!important}
.ml-form-embedContainer .ml-form-embedSubmit button.primary:hover{filter:brightness(1.08)}
.ml-form-embedContainer .ml-form-embedSubmit button.loading{
  width:100%;min-height:46px;border:0;border-radius:999px;background:var(--royal);opacity:.75}
.ml-form-embedSubmitLoad{display:inline-block;width:20px;height:20px}
.ml-form-embedSubmitLoad:after{
  content:" ";display:block;width:11px;height:11px;margin:1px;border-radius:50%;
  border:3px solid #fff;border-color:#fff #fff #fff transparent;
  animation:mlspin 1.2s linear infinite}
@keyframes mlspin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}
.ml-error input{border-color:#8C2620!important}
.casl-note{font-size:.99rem;opacity:.8;margin:10px 0 0}
footer.site .casl-note a{display:inline;padding:0}
/* footer variant sits on the dark band */
footer.site .mlx{margin-top:22px;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:18px}
footer.site .ml-form-embedContainer .ml-form-embedContent h3,
footer.site .ml-form-successContent h3{color:#fff}
footer.site .ml-form-embedContainer .ml-form-embedContent{
  display:flex;align-items:baseline;flex-wrap:wrap;column-gap:10px;row-gap:2px;margin:0 0 12px}
footer.site .ml-form-embedContainer .ml-form-embedContent h3{margin:0;white-space:nowrap}
footer.site .ml-form-embedContainer .ml-form-embedContent p{margin:0}
footer.site .ml-form-embedContainer .ml-form-embedContent p,
footer.site .ml-form-successContent p,
footer.site .casl-note{color:#C7D2F2}
footer.site .ml-form-embedContainer input[type=email]{border-color:transparent}
/* balance the two-part footer split: the newsletter card and the EFILE
   badge sit on the same bottom line, both with the same gap down to the
   legal divider -- bottom-aligned rather than top-aligned. */
footer.site .cols .mlx{align-self:end}
/* left column (icons/hours/EFILE) gets breathing room between the icon row
   and the hours line, and its content is pushed to the bottom of the
   column so the EFILE badge lines up with the newsletter card above. */
footer.site .f-meta > div:nth-child(2){margin-top:8px}
/* email field + Subscribe button on one row. The field is capped narrower
   than the card so it reads as "smaller", with the button beside it --
   overrides MailerLite's own injected sizing. */
footer.site form.ml-block-form{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap}
footer.site form.ml-block-form .casl-note{flex:1 1 100%;order:3}
footer.site .ml-form-formContent{flex:1 1 auto;min-width:0}
footer.site .ml-form-fieldRow{display:block!important}
footer.site .ml-field-group{width:100%!important}
footer.site .ml-form-embedContainer input[type=email]{width:100%!important}
footer.site .ml-form-embedContainer .ml-form-embedSubmit{
  margin:0!important;width:auto!important;flex:0 0 auto!important}
footer.site .ml-form-embedContainer .ml-form-embedSubmit button.primary{
  width:auto!important;white-space:nowrap}
/* lead-magnet variant */
.mlx-magnet{background:var(--royal-soft);border:1px solid var(--line);
  border-radius:var(--r);padding:24px;margin:26px 0}
/* ---- signup as a section of its own ----
   .mlx-magnet's 26px margin was written for a box sitting between paragraphs
   inside an article. When the box is a section's only child that margin adds
   to the section padding instead of replacing it: 72+26 above and 26+72+72
   below, which is where the 170px hole came from. Zero it, and take the band
   itself down to 56px, so the spacing is the section padding and nothing else. */
.signup-band{padding:56px 0}
.signup-band .mlx-magnet{margin:0}
/* Same fault, same fix, one rule up the page: .cta-panel carries margin:40px 0
   for use inside an article. When it is a section's only content that margin
   stacks on top of the section padding. Sitewide, no class needed. */
section > .wrap > .cta-panel:only-child{margin:0}
/* NB: written as section.cta-band, not .cta-band. A bare class ties with
   .section{padding:72px 0} further down this file and loses on source order. */
section.cta-band{padding:56px 0}
@media (max-width:760px){section.cta-band{padding:44px 0}}
/* ---- wide signup: copy left, field right ----
   Full container width, so the box carries the page edge-to-edge and leaves no
   dead margin beside it. The field still lands near half its old width because
   the right column is fixed at 552px (388px input + 10px gap + ~152px button)
   rather than taking the whole row. */
.mlx-wide .ml-form-embedBody{display:grid;grid-template-columns:1fr 552px;
  gap:32px;align-items:center}
.mlx-wide .ml-form-embedContent{margin:0}
.mlx-wide .ml-form-embedBody form{grid-column:2}
@media (max-width:900px){
  .mlx-wide .ml-form-embedBody{grid-template-columns:1fr;gap:16px}
  .mlx-wide .ml-form-embedBody form{grid-column:1}
}
@media (min-width:620px){
  .mlx .ml-form-embedBody form{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:start}
  .mlx .ml-form-embedBody .ml-form-formContent{grid-column:1}
  .mlx .ml-form-embedBody .ml-form-embedSubmit{grid-column:2;margin:0;width:auto}
  .mlx .ml-form-embedBody .ml-form-embedSubmit button.primary{width:auto;white-space:nowrap}
  .mlx .ml-form-embedBody .casl-note{grid-column:1/-1;margin-top:2px}
  .mlx .ml-form-embedBody input[type=hidden]{display:none}
}
/* ===== performance + a11y overrides (appended last, wins on specificity) ===== */
@media (max-width:900px){
  /* headline first on mobile: makes the LCP element text, not a large image */
  .hero .wrap > div:first-child{ order:0 }
  .hero .portrait{ order:1 }
}
/* star glyphs are text and must meet 4.5:1 — #F3A712 was 2.03:1 on white */
.stars, .gscore .stars, .rev-card .stars{ color:#9C6202 }
@media (min-width:1px){
  main > .page > section:nth-of-type(n+3){
    content-visibility:auto;
    /* Fixed rather than 'auto 600px'. The auto keyword asks the browser to
       measure each section and remember it; on a first visit there is nothing
       remembered, so it lays out at the placeholder height and then again at
       the real height. That double layout is browser-internal, which is why
       Lighthouse reports it as an [unattributed] forced reflow. A fixed value
       is laid out once and is also more widely supported. */
    contain-intrinsic-size:600px;
  }
}
footer.site h3.foot-h{ font-size:.95rem; margin:0 0 12px; font-weight:600; color:#fff; }
.persona h3{ font-size:1.06rem; margin-bottom:8px; }
footer.site h3{ color:#fff; font-size:1rem; margin-bottom:14px; }
footer.site .mlx h3{ color:#fff; font-size:1rem; margin:0 0 6px; }
.row-success h3{ margin-top:0; }
/* real logo replacing the CA placeholder tile */
.logo .mark{width:auto;height:34px;background:none;border-radius:0;display:block;flex-shrink:0}
.logo .mark img{height:34px;width:auto;display:block}
footer.site .f-meta{display:flex;flex-direction:column;justify-content:flex-end;gap:12px}
.social{display:flex;gap:12px;align-items:center;margin-top:0}
.social a{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;
  transition:transform .15s}
.social a:hover{transform:translateY(-2px)}
.social a:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:50%}
.social img{width:32px;height:32px;display:block}
.efile{display:inline-flex;align-items:center;gap:8px;font-size:.99rem;font-weight:600;
  color:var(--royal);background:var(--royal-soft);border:1px solid var(--line);
  border-radius:999px;padding:6px 13px;margin-top:14px}
footer.site .efile{color:#C7D2F2;background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16)}

/* ============ SECTION HEADER + SIDEBAR CARD (Sept 2026) ============
   Promoted from personal-tax-return / corporate-tax-return page CSS once the
   treatment was confirmed. Applies to every page that uses .sec-head. */


/* FAQ spans the full container (Sept 2026). The former 52em cap was removed
   from every page stylesheet: the pinched block looked unbalanced under a
   centred heading, and the about page — which never had a cap — read better.
   The auto margins are kept so the block still centres if a cap is ever
   reinstated; with no cap they are a harmless no-op.
   TRADE-OFF, recorded deliberately: answers now run ~143 characters per line
   against ~97 before. That is above the 50-75 comfortable reading measure.
   If long answers ever read poorly, cap the answer paragraphs only —
   .faq details p{max-width:65ch} — rather than re-capping the whole block. */
.faq{margin-left:auto;margin-right:auto}

/* Prose section heading gap. h2 ships with margin-bottom:0 and the paragraph
   below adds little or nothing, so a 2.6rem heading sat almost on top of its
   own copy. 22px is roughly 0.5em at the heading size. */
.seo-text h2{margin-bottom:22px}
.seo-text h2+.sec-text,.seo-text h2+p{margin-top:0}

/* Two-column prose + sidebar card. Body text keeps its measure because the
   column is narrower than the 70ch cap; the card fills space that was empty. */
.seo-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  gap:26px 52px;align-items:start}
.keydates{background:var(--card);border:1px solid var(--line);
  border-radius:var(--r);padding:24px 26px 20px}
.keydates h3{font-size:1.12rem;margin:0 0 14px}
.keydates dl{margin:0}
.keydates dl>div{padding:12px 0;border-top:1px solid var(--line)}
.keydates dl>div:first-child{border-top:0;padding-top:0}
.keydates dt{font-weight:700;font-size:.95rem;color:var(--navy);margin-bottom:3px}
.keydates dd{margin:0;font-size:.95rem;line-height:1.55;color:#000}
.keydates .kd-note{font-size:.85rem;line-height:1.5;color:#000;
  margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line)}
.kd-link{display:inline-block;margin-top:14px;font-weight:700;font-size:.95rem;
  color:var(--royal);text-decoration:none;border-bottom:1.5px solid transparent}
.kd-link:hover,.kd-link:focus{border-bottom-color:var(--royal)}
@media (max-width:900px){.seo-grid{grid-template-columns:1fr;gap:30px}}
/* Full-width 3-column key-dates band: replaces the narrow .keydates sidebar
   card on personal-tax-return and corporate-tax-return, which left an
   asymmetric empty area below the card next to the longer prose column. */
.keydates-band{background:var(--card);border:1px solid var(--line);
  border-radius:var(--r);padding:24px 26px 20px;margin-top:36px}
.keydates-band h3{font-size:1.12rem;margin:0 0 14px}
.keydates-band dl{margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:0 32px}
.keydates-band dl>div{padding:0}
.keydates-band dl>div+div{border-left:1px solid var(--line);padding-left:24px}
.keydates-band dt{font-weight:700;font-size:.95rem;color:var(--navy);margin-bottom:3px}
.keydates-band dd{margin:0;font-size:.95rem;line-height:1.55;color:#000}
.keydates-band .kd-note{font-size:.85rem;line-height:1.5;color:#000;
  margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line)}
@media(max-width:760px){
  .keydates-band dl{grid-template-columns:1fr;gap:0}
  .keydates-band dl>div{padding:12px 0;border-top:1px solid var(--line)}
  .keydates-band dl>div:first-child{border-top:0;padding-top:0}
  .keydates-band dl>div+div{border-left:0;padding-left:0}
}

/* ============ SHARED PAGE COMPONENTS (promoted Sept 2026) ============
   These 49 rules were duplicated across 9+ page stylesheets. Promoted here
   so any page can use the component, and so a page that adds one does not
   silently render unstyled — which is exactly how the .band gradient became
   white-on-white when the about page gained a CTA band.
   Verified before moving: one consistent version of each rule everywhere,
   no selector collisions with existing core-base rules, and no page rule
   that previously came first is now overridden. */
.btn-lg{padding:16px 30px;font-size:1.02rem}
.crumbs{font-size:.95rem;color:var(--muted);padding:20px 0 0}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--royal)}
.shero{padding:36px 0 10px}
.shero h1{font-size:clamp(2rem,4vw,3rem);margin-top:16px;max-width:24em}
.shero .lede{margin-top:18px}
.pill-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.pill{background:var(--card);border:1px solid var(--line);border-radius:999px;padding:7px 15px; font-size:.91rem;font-weight:500;color:var(--muted)}
.pill b{color:var(--ink)}
.ca-h2{font-size:clamp(1.85rem,3.4vw,2.6rem);margin:14px 0 0}
.section{padding:72px 0}
.sec-text{color:var(--muted);font-size:1rem;line-height:1.7;margin:12px 0 0;max-width:70ch}
.svc-cmp{border-top:1px solid var(--line)}
@media (max-width:760px){.section{padding:52px 0}}
.svc-bring{background:var(--paper);border-top:1px solid var(--line)}
.svc-bring .grid2{display:grid;grid-template-columns:1fr 1fr;gap:28px 40px;margin-top:26px}
@media (max-width:820px){.svc-bring .grid2{grid-template-columns:1fr;gap:24px}}
.bring-col h3{font-size:1.12rem;margin:0 0 12px}
.bring-col ul{margin:0;padding-left:20px}
.bring-col li{font-size:1.15rem;line-height:1.65;margin-bottom:8px;color:var(--muted)}
.bring-col li b{color:var(--ink)}
.svc-price .grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px}
@media (max-width:820px){.svc-price .grid2{grid-template-columns:1fr}}
.price-card{background:var(--card);border:1px solid var(--line);border-radius:var(--r); padding:26px;box-shadow:var(--shadow-sm)}
.price-card .amt{font-family:"Inter",system-ui,sans-serif;font-weight:700;font-size:1.7rem; color:var(--royal);margin:0 0 4px;line-height:1.15}
.price-card h3{font-size:1rem;margin:0 0 10px;color:var(--muted);font-weight:600}
.price-card p{font-size:1.15rem;line-height:1.6;color:var(--muted);margin:0}
.price-note{font-size:.95rem;color:var(--muted);margin-top:18px}
.svc-seo p{font-size:1rem;line-height:1.75;color:var(--muted);margin:0 0 16px;max-width:70ch}
.svc-seo p:last-child{margin-bottom:0}
.svc-why ul{margin:22px 0 0;padding-left:20px;max-width:74ch}
.svc-why li{font-size:1.15rem;line-height:1.7;color:var(--muted);margin-bottom:12px}
.svc-why li b{color:var(--ink)}
.cmp-wrap{overflow-x:auto;margin-top:26px;-webkit-overflow-scrolling:touch}
table.cmp{width:100%;border-collapse:collapse;min-width:640px}
table.cmp th,table.cmp td{text-align:left;padding:16px 18px;border-bottom:1px solid var(--line); font-size:1.1rem;line-height:1.6;vertical-align:top;color:var(--muted)}
table.cmp thead th{font-family:"Inter",system-ui,sans-serif;font-weight:700;font-size:1.05rem; color:var(--ink);background:var(--paper);border-bottom:2px solid var(--line)}
table.cmp tbody th{font-weight:600;color:var(--ink);width:22%}
table.cmp td b{color:var(--ink)}
.svc-cols .grid2{display:grid;grid-template-columns:1fr 1fr;gap:28px 40px;margin-top:26px}
@media (max-width:820px){.svc-cols .grid2{grid-template-columns:1fr;gap:24px}}
.col-block h3{font-size:1.12rem;margin:0 0 12px}
.col-block ul{margin:0;padding-left:20px}
.col-block li{font-size:1.15rem;line-height:1.65;margin-bottom:10px;color:var(--muted)}
.col-block li b{color:var(--ink)}
.svc-note{font-size:1.13rem;color:var(--muted);margin-top:20px;padding:14px 18px; background:var(--royal-soft);border-radius:12px;max-width:74ch}

/* ---- blog CTA panel: centred, even padding (Sept 2026) ----
   The panel declares padding:30px, but .prose h3{margin-top:28px} was landing
   on its heading too, giving 58px above the heading against 30px below the
   buttons. Measured, not guessed. The extra class beats .prose h3 on
   specificity, so this holds regardless of stylesheet order. */
.prose .artcta{text-align:center}
.prose .artcta h3{margin-top:0}
.prose .artcta .cta-row{justify-content:center}
.prose .artcta p{margin-left:auto;margin-right:auto;max-width:52em}

/* ---- blog CTA: buttons to the edges, copy between them ----
   Uses the panel's width instead of stacking three rows, so the block is
   shorter and better proportioned. On phones it stacks with the copy first,
   because a button above its own explanation reads backwards. */
.prose .artcta .cta-split{display:flex;align-items:center;gap:24px;margin-top:16px}
.prose .artcta .cta-split p{flex:1;margin:0;text-align:center;font-size:1rem;line-height:1.55}
.prose .artcta .cta-split .btn{flex-shrink:0}
@media (max-width:760px){
  .prose .artcta .cta-split{flex-direction:column;gap:12px}
  .prose .artcta .cta-split p{order:-1}
  .prose .artcta .cta-split .btn{width:100%}
}

/* ---- universal CTA panel ----
   Same shape as the blog CTA: buttons to the edges, copy centred between them.
   Reusable on any page. Markup:
     <div class="cta-panel">
       <h3>…</h3>
       <div class="cta-split">
         <a class="btn btn-primary" href="/contact-us/#booking">Book a free consultation</a>
         <p>…</p>
         <a class="btn btn-ghost" href="tel:+14168403799">Call <b>+1 416 840 3799</b></a>
       </div>
     </div>
   Colours are declared in core-overrides.css with the other dark surfaces —
   without that, the blanket "text on light is black" rule renders the copy
   near-black on navy. */
.cta-panel{background:linear-gradient(135deg,var(--navy),var(--ink));
  border-radius:18px;padding:24px 30px;margin:40px 0;text-align:center}
.cta-panel h3{margin-top:0;color:#fff;font-size:1.35rem}
.cta-panel .cta-split{display:flex;align-items:center;gap:24px;margin-top:16px}
.cta-panel .cta-split p{flex:1;margin:0;text-align:center;font-size:1rem;line-height:1.55}
.cta-panel .cta-split .btn{flex-shrink:0}
@media (max-width:760px){
  .cta-panel .cta-split{flex-direction:column;gap:12px}
  .cta-panel .cta-split p{order:-1}
  .cta-panel .cta-split .btn{width:100%}
}

/* ---- CTA copy: balance the lines ----
   The buttons are centred exactly (measured: 0px offset), but a short orphan
   last line — "this year." at 69px against a 671px first line — pushes the
   paragraph's visual mass upward, so correctly-centred buttons read as low.
   text-wrap:balance evens the line lengths and fixes the perception at source.
   Nudging the buttons instead would break the moment the copy or width
   changed. Unsupported browsers simply wrap as before. */
.artcta .cta-split p,.cta-panel .cta-split p{text-wrap:balance}

/* ---- CTA buttons sit on the panel's vertical centre line ----
   By default the buttons centre on the copy block, which is typographically
   correct but reads as low because the heading sits above it. Owner preference:
   align them to the panel's own midpoint instead.
   Implemented by pulling them up half the heading block's height, so it holds
   whatever the copy length — measured at ~20px with the current heading. */
.artcta .cta-split .btn,.cta-panel .cta-split .btn{
  transform:translateY(calc(-0.5 * (1.35rem * 1.12 + 16px)))}
@media (max-width:760px){
  /* stacked on phones: no heading to offset against, so no shift */
  .artcta .cta-split .btn,.cta-panel .cta-split .btn{transform:none}
}

/* ---- CTA panels: trimmed vertical padding (Sept 2026) ----
   30px all round left the panel taller than it needed to be once the buttons
   moved to the edges. 24px top and bottom, 30px left and right — the sides
   keep their breathing room so the buttons do not crowd the corners. */
/* the page stylesheets declare .artcta{...padding:30px} and load after this
   file, so one more class is needed to win the tie. */
.prose .artcta{padding:24px 30px}

/* ============ BLOG ARTICLE LAYOUT (promoted Sept 2026) ============
   Was in the T4-vs-T5 page stylesheet; promoted so all four posts share it.
   Same lesson as the .band gradient: a component used by more than one page
   belongs here, or the next page to use it renders unstyled. */
/* ================= ARTICLE LAYOUT — Sept 2026 =================
   Sidebar removed; the article runs the full container width, matching the
   FAQ treatment chosen for the service pages.
   TRADE-OFF recorded: body copy now runs ~140 characters per line against
   ~90 before. That is well above the 50-75 comfortable measure and this is a
   3,000-word article. Owner preference, chosen knowingly.
   If it ever reads poorly, the single fix is .prose{max-width:52em;margin:0 auto}. */
.artfull{display:block}
.artfull .prose{max-width:none}

/* ---- inline CTA: no panel, no background, just a line and the buttons ---- */
.inline-cta{margin:38px 0;padding:22px 0;border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);text-align:center}
/* .prose p in core-overrides.css forces #000 at the same specificity and
   loads later, so this needs one more class to win the tie. */
.prose .inline-cta p{color:#111D45;font-size:1.1rem;font-weight:600;margin:0 0 16px}
.inline-cta .cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ---- three-card rows: free tools, and more posts ---- */
.tool-cards,.post-more{margin:40px 0}
/* Unscoped for the same reason as .tc-card b/span above: .tool-cards now
   appears outside .prose too (blog index "Free tax tools" row), and no rule
   competed for this scope. Left scoped it silently lost its 16px bottom
   margin and dropped a size step on the index, heading sat flush on the cards. */
.tc-head{font-size:1.22rem;margin:0 0 16px;color:#111D45}
.tc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tc-card{display:block;background:var(--card);border:1px solid var(--line);
  border-radius:var(--r);padding:20px 22px;text-decoration:none;
  box-shadow:var(--shadow-sm);transition:border-color .15s,transform .15s}
.tc-card:hover{border-color:var(--royal);transform:translateY(-2px)}
/* Unscoped: .tc-card itself is unscoped two lines up, and .tool-cards now
   appears outside .prose too (the blog index's tools row). A .prose scope
   here had no competing rule to beat — it was copied from .tc-head nearby —
   so on the index the title and description fell back to inline and ran
   together with no line break. */
.tc-card b{display:block;color:#111D45;font-size:1.02rem;line-height:1.35;margin-bottom:6px}
.tc-card span{display:block;color:#243055;font-size:.95rem;line-height:1.5}

@media (max-width:860px){
  .tc-grid{grid-template-columns:1fr}
}

/* ---- foot-of-article blocks, tuned Sept 2026 ----
   1. .cta-panel inside .prose was picking up .prose h3{margin-top:28px} from
      the page stylesheet, which loads after this file and ties on specificity.
      That is why the panel on a blog POST sat taller than the identical panel
      on the blog INDEX, which has no .prose wrapper. One more class wins it. */
.prose .cta-panel h3{margin-top:0}

/* ---- the two foot-of-article boxes, defined once ----
   .post-cta and .post-author are the same component with different colours.
   They were previously styled by different rule sets — the CTA by the page
   stylesheet at .prose .post-cta (padding 26px, h3 1.12rem) and the author
   card by core-base (padding 18/22px, h3 1.05rem) — so they could not match
   whatever the padding was set to. The page rules have been removed; this is
   now the single definition. Scoped .prose so it beats anything left over. */
.prose .post-cta,.prose .post-author{
  display:flex;align-items:center;gap:28px;
  padding:20px 24px;margin:32px 0;
  border:1px solid var(--line);border-radius:var(--r)}
.prose .post-cta{background:var(--royal-soft)}
.prose .post-author{background:var(--card)}
.prose .post-cta .pc-text,.prose .post-author .pc-text{flex:1}
.prose .post-cta .pc-text h3,.prose .post-author .pc-text h3{
  margin:0 0 6px;font-size:1.08rem}
.prose .post-cta .pc-text p,.prose .post-author .pc-text p{
  margin:0;font-size:.96rem;line-height:1.55}
.prose .post-cta .btn,.prose .post-author .pa-link{flex-shrink:0}
.prose .post-author .pa-link{color:var(--royal);font-weight:600;text-decoration:none}
.prose .post-author .pa-link:hover{text-decoration:underline}
@media (max-width:760px){
  .prose .post-cta,.prose .post-author{flex-direction:column;align-items:stretch;gap:14px}
  .prose .post-cta .btn{width:100%}
}
