/* Shared English and Arabic homepage opening. */
.home-editorial {
  --home-ink: #122f24;
  --home-green: #096847;
  --home-cream: #f7f6ef;
}
.home-intro {
  color: var(--home-ink);
  background: var(--home-cream);
  padding: clamp(34px, 4.8vw, 76px) 0;
}
.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 82px);
}
.home-intro-copy { min-width: 0; }
.home-location {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--home-green);
  font-size: .875rem;
  font-weight: 700;
}
.home-location::before {
  content: "";
  width: 26px;
  height: 3px;
  background: #00a353;
}
.home-intro h1 {
  margin: 0;
  max-width: none;
  font: 650 clamp(3.5rem, 5.1vw, 5rem)/1.02 system-ui, sans-serif;
  letter-spacing: -.064em;
  color: var(--home-ink);
}
.home-intro h1 em {
  color: var(--home-green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
}
.home-summary {
  margin: 22px 0 0;
  max-width: 48ch;
  color: #3c5047;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.65;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 26px;
}
.home-consult, .home-message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-size: .95rem;
  font-weight: 700;
}
.home-consult {
  border-radius: 9px;
  padding: 10px 20px;
  background: #085f40;
  color: white;
}
.home-consult:hover { background: #06452f; }
.home-message, .home-experience a, .home-service-heading a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.home-portrait {
  overflow: hidden;
  border-radius: 18px;
  border-start-end-radius: clamp(56px, 7vw, 112px);
  background: #e4d9bd;
}
.home-portrait img {
  display: block;
  width: 100%;
  height: auto;
}
.home-credentials { background: white; border-bottom: 1px solid #dce4da; }
.home-credentials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 82px);
  align-items: center;
  padding-block: 16px;
}
.home-experience a {
  color: var(--home-ink);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 650;
  text-decoration-color: #a3beb0;
}
.home-experience p { margin: 6px 0 0; font-size: .95rem; color: #4c5f54; }
.home-credentials .v15-trust-badges { margin: 0; }
.home-services { padding: clamp(40px, 5vw, 76px) 0; background: #153e31; color: white; }
.home-service-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.home-service-heading h2 {
  margin: 0;
  color: white;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -.045em;
  line-height: 1.12;
}
.home-service-heading a { color: #d8efc5; padding-block: 10px; font-weight: 650; }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-service {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 10px;
  min-height: 156px;
  padding: clamp(17px, 2vw, 28px);
  border: 1px solid #628276;
  border-radius: 12px;
  color: white;
}
.home-service:hover, .home-service:focus-visible { background: #245440; border-color: #bddab0; }
.home-service h3 { margin: 0; color: white; font-size: 1.15rem; line-height: 1.3; }
.home-service p { grid-row: 2; grid-column: 1 / -1; margin: 0; color: #deebe2; line-height: 1.55; }
.home-service > span { grid-area: 1 / 2; color: #ceefb1; font-size: 1.3rem; line-height: 1; }
.home-tax-filing { margin-block: 16px; text-align: end; }
.home-editorial :is(.home-intro,.home-credentials,.home-services) a:focus-visible {
  outline: 3px solid #16965e;
  outline-offset: 3px;
}
.home-credentials a.v15-trust-badge:focus-visible { outline-offset: -4px; }
.home-services a:focus-visible { outline-color: #cdeeb5; }
[dir="rtl"] .home-intro h1, [dir="rtl"] .home-intro h1 em {
  font-family: Tahoma, Arial, sans-serif;
  font-style: normal;
  letter-spacing: normal;
  line-height: 1.28;
}
[dir="rtl"] .home-service-heading h2 { letter-spacing: normal; line-height: 1.35; }
@media (max-width: 740px) {
  .home-intro { padding: 32px 0 24px; }
  .home-intro-grid, .home-credentials-inner, .home-service-grid { grid-template-columns: 1fr; }
  .home-intro-grid { gap: 24px; }
  .home-location { margin-bottom: 14px; }
  .home-intro h1 { font-size: clamp(2.85rem, 9vw, 4rem); }
  .home-summary { margin-top: 15px; }
  .home-actions { margin-top: 15px; gap: 4px 16px; }
  .home-message, .home-consult { font-size: .89rem; }
  .home-portrait { border-start-end-radius: 56px; }
  .home-portrait img { aspect-ratio: 1.85; object-fit: cover; object-position: 50% 30%; }
  .home-credentials-inner { gap: 16px; padding-block: 22px; }
  .home-service-heading { margin-bottom: 14px; }
  .home-service { min-height: auto; }
  .home-service-grid { gap: 9px; }
}
.home-editorial .v14-announcement .wrap { gap: 16px; }
.home-editorial .v14-announcement .wrap > span { margin-inline-end: auto; }
.home-editorial .v14-announcement .home-language {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-editorial.home-actions-visible .v14-mobile-cta { visibility: hidden; }

/* The current Intuit badge is supplied at its native shield aspect ratio. */
.home-editorial .v15-badge-frame { height: auto; }
.home-editorial .v15-badge-frame img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}


/* The photo and reporting cards share a single responsive illustration. */
.home-ledger-scene {
  position:relative;
  isolation:isolate;
  display:grid;grid-template-areas:"hero";align-items:center;
  min-width:0;
  container-type:inline-size;
  overflow:hidden;
  border-radius:20px;
  background:radial-gradient(ellipse at 110% 4%,#dceccf 0,transparent 48%),#c3ddd0;
}
.home-ledger-scene::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:repeating-linear-gradient(-45deg,transparent 0 16px,#fff3 16px 17px);
}
.home-ledger-scene .home-portrait{
  grid-area:hero;align-self:stretch;margin:0 auto 0 0;
  width:74%;min-height:clamp(320px,31vw,455px);position:relative;
  border-radius:0 46px 46px 0;
}
.home-ledger-scene .home-portrait img{
  position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:100% 50%;
}
.home-ledger{
  grid-area:hero;justify-self:right;position:relative;margin:14px 3% 14px 0;
  width:43%;max-width:220px;display:grid;gap:8px;
  font-family:system-ui,sans-serif;color:#173729;
}
.home-ledger :is(.ledger-total,.ledger-chart,.ledger-entries){
  border:1px solid #cbd9ce;border-radius:11px;
  padding:10px 12px;background:#fff;box-shadow:0 4px 14px #183b2418;
}
.home-ledger .ledger-total{margin-right:7%;background:#133e30;color:#fff;border-color:#133e30}
.ledger-total p,.ledger-chart p,.ledger-entries p{font-size:.77rem;font-weight:680;line-height:1.24;margin:0 0 4px;color:inherit}
.ledger-total p{color:#d5eadb}
.ledger-amount{display:flex;gap:5px;align-items:baseline;font-size:1.6rem;line-height:1.1;font-weight:700;font-variant-numeric:tabular-nums}
.ledger-amount span{color:#cae8d5;font-size:.66rem}
.ledger-chart{margin-left:5%}
.ledger-plot{width:100%;height:42px;display:block;margin:6px 0 2px}
.ledger-line,.ledger-grid{fill:none}.ledger-line{stroke:#008747;stroke-width:3;stroke-linecap:round;stroke-dasharray:1}
.ledger-grid{stroke:#dce7df;stroke-width:.8}
[dir="rtl"] .ledger-plot{transform:scaleX(-1)}
.ledger-axis,.ledger-entries li{display:flex;align-items:center;justify-content:space-between;gap:4px}
.ledger-axis{font-size:.63rem;color:#4a6153}
.ledger-entries{margin-right:5%}
.ledger-entries ul{list-style:none;margin:0;padding:0}
.ledger-entries li{min-height:21px;font-size:.7rem;line-height:1.25}
.ledger-status{background:#dcf4e2;color:#0c5b31;border-radius:4px;font-weight:650;font-size:.62rem;padding:2px 4px}
.ledger-status.is-pending{background:#f5efdb;color:#605330}
@keyframes ledger-match{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){.ledger-status.just-matched{animation:ledger-match .32s ease-out}}
@container(max-width:430px){
  .home-ledger-scene .home-portrait{min-height:clamp(285px,83cqw,350px)}
  .home-ledger{width:46%;margin-right:2.5%;gap:6px}
  .home-ledger :is(.ledger-total,.ledger-chart,.ledger-entries){padding:8px}
  .ledger-total p,.ledger-chart p,.ledger-entries p{font-size:.71rem}
  .ledger-amount{font-size:1.35rem}.ledger-plot{height:34px}
  .ledger-entries li{font-size:.64rem}.ledger-status{font-size:.58rem}
}

.home-services .home-tax-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.home-tax-links a { color: #d8efc5; text-decoration: underline; text-underline-offset: 3px; padding-block: 5px; }
.home-service-quote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 22px; }
.home-service-quote p { margin: 0; color: #deebe2; }
.home-service-quote .home-consult { background: #d8efc5; color: #153e31; }
.home-service-quote .home-consult:hover { background: #eef9e5; }
