/* ==========================================================================
   Usameritax / Ameritax Accounting — design system
   Brand gamma inherited from the previous site:
   blue #3764eb · deep blue #0d3885 · navy #06163a · tint #f6f8ff · grey #45545e
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy:        #06163a;
  --navy-800:    #0a1f4d;
  --navy-700:    #102a63;
  --blue:        #3764eb;
  --blue-600:    #2f57cf;
  --blue-800:    #0d3885;
  --blue-tint:   #f6f8ff;
  --blue-tint-2: #eef2ff;
  --ink:         #101828;
  --grey-700:    #45545e;
  --grey-500:    #667085;
  --grey-300:    #d7dce5;
  --grey-200:    #e6eaf2;
  --grey-100:    #f2f4f9;
  --white:       #ffffff;
  --green:       #00a83b;
  --green-dark:  #008830;
  --amber:       #f0a500;

  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1220px;
  --maxw-narrow: 820px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;

  --shadow-sm: 0 1px 2px rgba(6, 22, 58, .06), 0 1px 3px rgba(6, 22, 58, .04);
  --shadow:    0 4px 6px -2px rgba(6, 22, 58, .05), 0 12px 24px -6px rgba(6, 22, 58, .10);
  --shadow-lg: 0 18px 40px -12px rgba(6, 22, 58, .22), 0 4px 10px -4px rgba(6, 22, 58, .08);

  --topbar-h: 42px;
  --nav-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--grey-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 .6em;
  line-height: 1.18;
  letter-spacing: -.015em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.7rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.6rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.2rem, 1.02rem + .7vw, 1.55rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: .95rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-800); }

strong, b { font-weight: 700; color: var(--ink); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--grey-200); margin: 2.5rem 0; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding: clamp(56px, 4vw + 34px, 104px) 0; position: relative; }
.section--tight { padding: clamp(40px, 2.5vw + 26px, 68px) 0; }
.section--tint { background: var(--blue-tint); }
.section--grey { background: var(--grey-100); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.78); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head);
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--blue); border-radius: 2px;
}
.section--navy .eyebrow { color: #7f9cff; }
.section--navy .eyebrow::before { background: #7f9cff; }

.sec-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem);
  line-height: 1; color: var(--blue);
  opacity: .16; letter-spacing: -.05em; margin-bottom: .35rem;
}
.section--navy .sec-num { color: #7f9cff; opacity: .3; }

.sec-head { max-width: 720px; margin-bottom: clamp(32px, 3vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--grey-500); font-size: 1.06rem; }
.section--navy .sec-head p { color: rgba(255,255,255,.7); }

.lead { font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem); color: var(--grey-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .94rem;
  letter-spacing: .01em;
  padding: 15px 28px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(55,100,235,.65); }
.btn--primary:hover { background: var(--blue-800); color: #fff; box-shadow: 0 12px 26px -8px rgba(13,56,133,.6); }

.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--grey-300); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-tint); }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-tint); color: var(--blue-800); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(0,168,59,.55); }
.btn--green:hover { background: var(--green-dark); color: #fff; }

.btn--sm { padding: 11px 20px; font-size: .86rem; }
.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  min-height: var(--topbar-h);
  display: flex; align-items: center;
}
.topbar .wrap { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; padding-block: 8px; }
.topbar a { color: rgba(255,255,255,.72); }
.topbar a:hover { color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-item svg { width: 14px; height: 14px; opacity: .65; flex: none; }
.topbar-spacer { flex: 1 1 auto; }
.topbar-social { display: inline-flex; gap: .35rem; }
.topbar-social a {
  width: 27px; height: 27px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); transition: background .2s var(--ease);
}
.topbar-social a:hover { background: var(--blue); }
.topbar-social svg { width: 13px; height: 13px; fill: currentColor; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px -12px rgba(6,22,58,.28); }

.nav { display: flex; align-items: center; gap: 1.5rem; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: .35rem; margin-left: auto; list-style: none; padding: 0; }
.nav-menu li { margin: 0; }
.nav-menu > li > a {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem;
  color: var(--navy); padding: 10px 14px; border-radius: 8px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-menu > li > a:hover { background: var(--blue-tint); color: var(--blue); }
.nav-menu > li > a { position: relative; }
.nav-menu > li > a[aria-current="page"] { color: var(--blue); }
.nav-menu > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--blue); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: .6rem; flex: none; }

.nav-toggle {
  display: none; flex: none;
  width: 44px; height: 44px; border: 1px solid var(--grey-200); border-radius: 10px;
  background: #fff; cursor: pointer; margin-left: auto;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 19px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu, .nav-cta { display: none; }
  .nav-drawer.is-open { display: block; }
}

.nav-drawer {
  display: none;
  position: fixed; inset: calc(var(--nav-h) + var(--topbar-h)) 0 0 0;
  background: #fff; z-index: 99; overflow-y: auto;
  padding: 24px 24px 48px;
  animation: drawerIn .25s var(--ease);
}
@keyframes drawerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav-drawer ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.nav-drawer li { border-bottom: 1px solid var(--grey-200); margin: 0; }
.nav-drawer a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-head); font-weight: 600; font-size: 1.06rem;
  color: var(--navy); padding: 16px 2px;
}
.nav-drawer a[aria-current="page"] { color: var(--blue); }
.nav-drawer .btn { width: 100%; margin-bottom: .7rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #061539 0%, #0d2f7a 52%, #2450cf 100%);
  color: #fff;
  padding: clamp(64px, 5vw + 40px, 132px) 0 clamp(72px, 5vw + 44px, 140px);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero-slide.jpg") center/cover no-repeat;
  opacity: .16; filter: saturate(0) contrast(1.1);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 780px; height: 780px; right: -230px; top: -280px;
  background: radial-gradient(circle, rgba(88,132,255,.42) 0%, rgba(88,132,255,0) 68%);
  border-radius: 50%;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 4vw, 72px); align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 7px 15px 7px 11px; border-radius: 100px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: #dbe4ff; margin-bottom: 1.5rem;
}
.hero-kicker svg { width: 15px; height: 15px; }
.hero-copy { font-size: clamp(1.02rem, .96rem + .4vw, 1.22rem); color: rgba(255,255,255,.82); max-width: 46ch; margin-bottom: 2rem; }
.hero-copy strong { color: #fff; }
.hero .btn-row { margin-bottom: 2.2rem; }
.hero-note {
  display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .88rem; color: rgba(255,255,255,.68);
}
.hero-note span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-note svg { width: 16px; height: 16px; color: #7ee2a0; flex: none; }

.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card h2 {
  color: #fff; font-size: 1.28rem; margin-bottom: .5rem;
}
.hero-card p { color: rgba(255,255,255,.74); font-size: .95rem; }
.hero-card-list { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; }
.hero-card-list li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .55rem 0; font-size: .94rem; color: rgba(255,255,255,.85);
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-card-list li:first-child { border-top: 0; }
.hero-card-list svg { width: 18px; height: 18px; color: #7ee2a0; flex: none; margin-top: 3px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}

/* ---------- Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--grey-200); background: #fff; padding: 26px 0; }
.trust-strip .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-item img { height: 52px; width: auto; }
.trust-item-txt { font-size: .84rem; line-height: 1.4; color: var(--grey-500); }
.trust-item-txt strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .92rem; }
.trust-rating { display: flex; align-items: center; gap: .7rem; }
/* Star rating — one element, star glyph drawn from an inline data URI */
.stars {
  display: inline-block; height: 17px; width: 90px; flex: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='17' viewBox='0 0 18 17'%3E%3Cpath fill='%23f5a623' d='M9 1.2l2.3 4.7 5.2.8-3.8 3.7.9 5.1L9 13.1l-4.6 2.4.9-5.1L1.5 6.7l5.2-.8z'/%3E%3C/svg%3E");
  background-size: 18px 17px;
  background-repeat: repeat-x;
}
.stars--4 { width: 72px; }
.stars--3 { width: 54px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(16px, 1.6vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 660px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d5f5; }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { font-size: .95rem; color: var(--grey-500); }

.icon-badge {
  width: 50px; height: 50px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-tint-2); color: var(--blue); margin-bottom: 1.1rem;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--navy { background: rgba(255,255,255,.1); color: #9db4ff; }

/* ---------- Problem / solution ---------- */
.ps-list { display: grid; gap: 16px; }
.ps-item {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.ps-item:hover { border-color: #c9d5f5; box-shadow: var(--shadow-sm); }
.ps-item > summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  display: flex; gap: 1rem; align-items: flex-start;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.02rem;
}
.ps-item > summary::-webkit-details-marker { display: none; }
.ps-tag {
  flex: none; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: #c02b2b; background: #fdeeee;
  padding: 4px 9px; border-radius: 5px; margin-top: 3px;
}
.ps-item > summary > span:nth-child(2) { flex: 1 1 auto; }
.ps-chev {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-tint-2); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease); margin-top: 1px;
}
.ps-chev svg { width: 14px; height: 14px; }
.ps-item[open] .ps-chev { transform: rotate(180deg); }
.ps-body {
  padding: 0 26px 24px 26px;
  display: flex; gap: 1rem; align-items: flex-start;
}
.ps-body .ps-tag { color: var(--green-dark); background: #e9f9ef; }
.ps-body p { font-size: .97rem; color: var(--grey-700); }

/* ---------- Industries ---------- */
.ind-card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 24px; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.ind-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blue); transform: scaleY(0); transform-origin: top;
  transition: transform .3s var(--ease);
}
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d5f5; }
.ind-card:hover::after { transform: scaleY(1); }
.ind-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.ind-card p { font-size: .9rem; color: var(--grey-500); margin: 0; }
.ind-card .icon-badge { width: 42px; height: 42px; border-radius: 11px; margin-bottom: .9rem; }
.ind-card .icon-badge svg { width: 21px; height: 21px; }

/* ---------- Stats ---------- */
.stat { text-align: left; }
.stat-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1;
  color: #fff; letter-spacing: -.035em; margin-bottom: .5rem;
}
.stat-lbl { font-size: .95rem; color: rgba(255,255,255,.72); }
.stat-lbl strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.02rem; }

/* ---------- Reviews ---------- */
.rev-head {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 18px 24px; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.rev-head-score { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--navy); letter-spacing: -.02em; }
.rev-head-meta { font-size: .88rem; color: var(--grey-500); }
.rev-head-meta strong { color: var(--navy); }
.rev-head .btn { margin-left: auto; }

.rev-tabs { display: inline-flex; gap: .3rem; background: var(--grey-100); padding: 5px; border-radius: 100px; margin-bottom: 24px; }
.rev-tab {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--grey-700);
  padding: 9px 20px; border-radius: 100px; transition: all .2s var(--ease);
}
.rev-tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

.rev-grid { columns: 3; column-gap: 22px; }
@media (max-width: 980px) { .rev-grid { columns: 2; } }
@media (max-width: 640px)  { .rev-grid { columns: 1; } }

.rev-card {
  break-inside: avoid; background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius); padding: 22px; margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.rev-card-top { display: flex; align-items: center; gap: .75rem; margin-bottom: .8rem; }
.rev-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-tint-2); color: var(--blue-800);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.rev-name { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.rev-date { font-size: .78rem; color: var(--grey-500); }
.rev-src {
  margin-left: auto; flex: none; width: 19px; height: 19px;
  background-repeat: no-repeat; background-size: contain; background-position: center;
}
.rev-src--google {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M23 12.2c0-.8-.1-1.6-.2-2.3H12v4.4h6.2a5.3 5.3 0 0 1-2.3 3.5v2.9h3.7c2.2-2 3.4-5 3.4-8.5Z'/%3E%3Cpath fill='%2334A853' d='M12 23.5c3 0 5.5-1 7.3-2.7l-3.6-2.8a6.9 6.9 0 0 1-10.3-3.6H1.6v3a11.5 11.5 0 0 0 10.4 6.1Z'/%3E%3Cpath fill='%23FBBC05' d='M5.4 14.4a6.9 6.9 0 0 1 0-4.4v-3H1.6a11.5 11.5 0 0 0 0 10.4l3.8-3Z'/%3E%3Cpath fill='%23EA4335' d='M12 5.1c1.6 0 3.1.6 4.3 1.7l3.2-3.2A11.5 11.5 0 0 0 1.6 7l3.8 3A6.9 6.9 0 0 1 12 5.1Z'/%3E%3C/svg%3E");
}
.rev-src--yelp {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d32323'%3E%3Cpath d='M11 3.3v7.5c0 .8-1 1.2-1.6.7L5.2 8.3a1 1 0 0 1 .1-1.6 11 11 0 0 1 4.3-2.4c.7-.2 1.4.3 1.4 1Zm-1.4 9.9L5.4 15c-.7.3-.9 1.1-.4 1.6a11 11 0 0 0 2.5 2.2c.6.4 1.4 0 1.5-.7l.6-4c.1-.7-.6-1.2-1.2-.9Zm4-.2c-.6-.3-1.3.3-1.2 1l.6 4.4c.1.7.9 1.1 1.5.7a11 11 0 0 0 2.9-2.9c.4-.6 0-1.4-.7-1.5l-3.1-1.7Zm5.5-3.2-4.2 1.6c-.7.3-1.4-.4-1.2-1.1l.2-.6c.3-1 1.6-3.7 2-4.3.4-.6 1.2-.6 1.6 0a11 11 0 0 1 2.1 3.2c.3.6-.1 1.3-.5 1.2Zm.3 2.4-4.1-.6c-.7-.1-1.2.7-.8 1.3l2.3 3.3c.4.6 1.2.6 1.6 0a11 11 0 0 0 1.6-3.1c.2-.5-.1-.8-.6-.9Z'/%3E%3C/svg%3E");
}
.rev-card .stars { margin-bottom: .7rem; }
.rev-text { font-size: .93rem; color: var(--grey-700); margin: 0; }

/* ---------- Client logos ---------- */
.logo-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(28px, 4vw, 64px);
}
.logo-row img {
  height: 46px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .55;
  transition: filter .25s var(--ease), opacity .25s var(--ease);
}
.logo-row img:hover { filter: none; opacity: 1; }
.logo-row .logo-tall { height: 76px; }

/* ---------- Team ---------- */
.team-card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  transition: box-shadow .25s var(--ease);
}
.team-card:hover { box-shadow: var(--shadow); }
.team-photo { position: relative; background: var(--grey-100); min-height: 300px; }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.team-body { padding: 30px; }
.team-cred {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-tint-2);
  padding: 5px 11px; border-radius: 6px; margin-bottom: .8rem;
}
.team-body h3 { margin-bottom: .3rem; }
.team-langs { font-size: .88rem; color: var(--grey-500); margin-bottom: 1rem; }
.team-quals { list-style: none; padding: 0; margin: 0; }
.team-quals li {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .93rem; color: var(--grey-700); margin-bottom: .5rem;
}
.team-quals svg { width: 16px; height: 16px; color: var(--blue); flex: none; margin-top: 4px; }
@media (max-width: 720px) { .team-card { grid-template-columns: 1fr; } .team-photo { min-height: 320px; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue-800) 60%, #2450cf 100%);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(34px, 3.4vw, 60px);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 460px; height: 460px; right: -140px; bottom: -220px;
  background: radial-gradient(circle, rgba(126,164,255,.34) 0%, rgba(126,164,255,0) 70%);
  border-radius: 50%;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 56ch; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; }

/* ---------- Contact info tiles ---------- */
.info-tile {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 26px;
}
.info-tile h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.info-tile a { font-family: var(--font-head); font-weight: 600; }
.info-tile p { font-size: .94rem; margin-bottom: .5rem; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: clamp(24px, 2.5vw, 38px); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: .86rem; color: var(--navy); margin-bottom: .4rem;
}
.field .req { color: #c02b2b; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .97rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--grey-300); border-radius: 10px;
  background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(55,100,235,.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--grey-500); margin-top: 1rem; }
.form-status { font-size: .9rem; margin-top: 1rem; padding: 12px 16px; border-radius: 10px; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #e9f9ef; color: #0a6b2c; }
.form-status--err { background: #fdeeee; color: #a52121; }

/* ---------- Map ---------- */
.map-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--grey-200);
  background: var(--grey-100); min-height: 340px;
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Pricing ---------- */
.pt-menu {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px; background: var(--grey-100); padding: 6px; border-radius: 100px;
  max-width: 760px; margin: 0 auto clamp(30px, 3vw, 48px);
}
.pt-link {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--grey-700);
  padding: 13px 10px; border-radius: 100px; transition: all .2s var(--ease); white-space: nowrap;
}
.pt-link:hover { color: var(--navy); }
.pt-link[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
@media (max-width: 720px) {
  .pt-menu { grid-template-columns: repeat(2, minmax(0,1fr)); border-radius: var(--radius); }
  .pt-link { border-radius: var(--radius-sm); }
}

.pt-pane[hidden] { display: none; }

.price-card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.price-card:hover { border-color: #c9d5f5; box-shadow: var(--shadow); transform: translateY(-3px); }
.price-card--featured { border-color: var(--blue); box-shadow: 0 14px 34px -14px rgba(55,100,235,.35); }
.price-card--featured::before {
  content: "Most popular"; display: inline-block; align-self: flex-start;
  font-family: var(--font-head); font-weight: 700; font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--blue); color: #fff; padding: 5px 11px; border-radius: 6px; margin-bottom: 1rem;
}
.price-head { min-height: 104px; }
.price-head h3 { color: var(--blue-800); font-size: 1.4rem; margin-bottom: .4rem; }
.price-sub { font-size: .92rem; color: var(--grey-500); margin: 0; }

.price-body { margin: 24px 0 auto; }
.price-amount {
  font-family: var(--font-head); font-weight: 800; color: var(--navy);
  font-size: clamp(2.1rem, 1.6rem + 1.4vw, 2.7rem); line-height: 1; letter-spacing: -.03em;
  display: flex; align-items: flex-end; gap: .35rem; flex-wrap: wrap;
}
.price-unit { font-family: var(--font-body); font-weight: 400; font-size: .88rem; color: var(--grey-500); letter-spacing: 0; padding-bottom: .3rem; }
.price-prefix { font-size: .88rem; color: var(--grey-500); font-family: var(--font-body); margin-bottom: .4rem; display: block; }
.price-foot { font-size: .8rem; color: var(--grey-500); margin-top: .9rem; }
.price-cta { margin-top: 26px; }

.slider-wrap { margin-top: 22px; }
.slider-wrap input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 100px; background: var(--grey-200);
  outline: none; margin: 0;
}
.slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%; background: var(--blue);
  border: 3px solid #fff; box-shadow: 0 2px 8px rgba(55,100,235,.5); cursor: pointer;
}
.slider-wrap input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--blue);
  border: 3px solid #fff; box-shadow: 0 2px 8px rgba(55,100,235,.5); cursor: pointer;
}
.slider-ticks { display: flex; justify-content: space-between; margin-top: 8px; }
.slider-ticks span { width: 1px; height: 6px; background: var(--grey-300); }
.slider-val { margin-top: 12px; font-size: .9rem; color: var(--grey-500); }
.slider-val strong { color: var(--navy); font-family: var(--font-head); }

.included-card {
  background: var(--navy); color: rgba(255,255,255,.82); border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 40px); margin-bottom: 26px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; align-items: center;
}
.included-card h2 { color: #fff; margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.included-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.included-list li { display: flex; gap: .8rem; align-items: center; font-size: .98rem; }
.included-list svg { width: 20px; height: 20px; color: #7ee2a0; flex: none; }
@media (max-width: 760px) { .included-card { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; font-size: .98rem; color: var(--grey-700); text-align: left; }
.checks svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 3px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.p-table {
  width: 100%; min-width: 620px; border-collapse: collapse;
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden;
}
.p-table th, .p-table td { padding: 15px 20px; text-align: left; font-size: .94rem; border-bottom: 1px solid var(--grey-200); }
.p-table thead th {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--blue-tint);
}
.p-table tbody th { font-weight: 600; color: var(--navy); font-family: var(--font-body); }
.p-table tbody tr:last-child th, .p-table tbody tr:last-child td { border-bottom: 0; }
.p-table tbody tr:hover { background: var(--blue-tint); }
.p-table td { color: var(--grey-700); }
.p-table td.is-empty { color: var(--grey-300); }

.disclaimer { font-size: .82rem; color: var(--grey-500); text-align: center; max-width: 62ch; margin: 2rem auto 0; }

/* ---------- Payroll / feature blocks ---------- */
.feature-split {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2vw, 32px);
}
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; } }

.gusto-hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 3.5vw, 60px); align-items: center;
}
@media (max-width: 900px) { .gusto-hero { grid-template-columns: 1fr; } }
.gusto-badge { max-width: 220px; margin-inline: auto; }

/* ---------- Articles ---------- */
.art-card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d5f5; }
.art-meta {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  font-size: .78rem; color: var(--grey-500); margin-bottom: 1rem;
}
.chip {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .68rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-tint-2); padding: 4px 10px; border-radius: 5px;
}
.art-card h3 { font-size: 1.14rem; margin-bottom: .6rem; }
.art-card h3 a { color: var(--navy); }
.art-card h3 a:hover { color: var(--blue); }
.art-card p { font-size: .93rem; color: var(--grey-500); }
.art-card .link-arrow { margin-top: auto; padding-top: 1rem; }

.article-head { padding: clamp(40px, 3.5vw, 72px) 0 0; }
.breadcrumbs { font-size: .84rem; color: var(--grey-500); margin-bottom: 1.4rem; }
.breadcrumbs a { color: var(--grey-500); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs span { margin: 0 .45rem; opacity: .5; }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-top: 2.4rem; }
.prose h3 {
  font-size: 1.12rem; margin-top: 2rem; margin-bottom: .5rem;
  color: var(--blue-800);
}
.prose p { margin-bottom: 1.2em; }
.prose > p:first-of-type { font-size: 1.08rem; color: var(--ink); }
.prose ul { margin-bottom: 1.4em; }
.prose li { font-size: .99rem; }
.prose em { color: var(--navy); font-style: italic; }
.prose .callout {
  background: var(--blue-tint); border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px; margin: 1.8rem 0; font-size: .96rem;
}
.prose .callout strong { color: var(--blue-800); }
.share { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--grey-200); }
.share span { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--navy); margin-right: .3rem; }
.share a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--grey-200);
  display: inline-flex; align-items: center; justify-content: center; color: var(--grey-700);
  transition: all .2s var(--ease);
}
.share a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.share svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.66); padding-top: clamp(52px, 4vw, 82px); }
.site-footer h4 {
  color: #fff; font-size: .85rem; letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: 1.2rem; font-weight: 700;
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 52px); padding-bottom: 48px;
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { background: #fff; padding: 12px 16px; border-radius: 10px; display: inline-block; margin-bottom: 1.2rem; }
.footer-logo img { height: 40px; width: auto; }
.site-footer p { font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.66); }
.site-footer a:hover { color: #fff; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .6rem; font-size: .94rem; }
.footer-art { list-style: none; padding: 0; margin: 0; }
.footer-art li { margin-bottom: 1rem; }
.footer-art a { display: block; font-size: .92rem; line-height: 1.5; color: rgba(255,255,255,.8); }
.footer-art a:hover { color: #fff; }
.footer-art time { display: block; font-size: .78rem; color: rgba(255,255,255,.42); margin-top: .2rem; }
.footer-hours { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1rem; line-height: 1.7; }
.footer-hours span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: rgba(255,255,255,.55); }

.newsletter { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.45); margin: 0; }
.footer-social { display: inline-flex; gap: .5rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.7);
  transition: all .2s var(--ease);
}
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.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;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .topbar, .site-footer, .nav-drawer, .cta-band { display: none !important; }
  body { color: #000; }
}

/* ---------- Check-mark bullets (one shared data URI, no inline SVG) ---------- */
.hero-note span::before,
.hero-card-list li::before,
.team-quals li::before,
.checks li::before,
.included-list li::before {
  content: ""; flex: none; display: inline-block;
  width: 1.05em; height: 1.05em; margin-top: .28em;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a83b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
}
.hero-note span::before,
.hero-card-list li::before,
.included-list li::before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ee2a0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
}
.team-quals li::before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233764eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
}
.hero-note span::before { margin-top: 0; align-self: center; }
.included-list li::before { margin-top: 0; align-self: center; }