/* us-tax-filing.css -- styles used only on us-tax-filing.html.
   Generated by tools/split-css.js from the original style.css. */



.tax-main {
}

.tax-hero {
  min-height: 438px;
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: center;
  position: relative;
  isolation: isolate;
}

.tax-hero::before {
  content: "";
  position: absolute;
  inset: -18px -44px -4px;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(1, 7, 22, .97), rgba(1, 7, 22, .54) 43%, rgba(1, 7, 22, .12) 76%),
    radial-gradient(circle at 69% 42%, rgba(0, 111, 255, .28), transparent 23rem);
}

.tax-hero-art {
  position: relative;
  min-height: 400px;
}

.tax-feature-strip {
  min-height: 116px;
  padding: 27px 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-color: rgba(33, 135, 227, .62);
}

.tax-feature-strip article {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
  align-items: center;
  padding: 0 22px;
}

.tax-feature-strip article:not(:last-child) {
  border-right: 1px solid rgba(112, 151, 212, .25);
}

.tax-feature-strip span,
.tax-service-grid article > span,
.tax-why span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #05d8ff;
  background: rgba(0, 105, 220, .28);
  box-shadow: 0 0 22px rgba(0, 171, 255, .25);
  font-size: 23px;
}

.tax-feature-strip h3,
.tax-service-grid h3,
.tax-why b {
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 900;
}

.tax-feature-strip p,
.tax-service-grid p,
.tax-why p,
.tax-deadlines td,
.tax-process p {
  margin: 0;
  color: #dce8ff;
  font-size: 10px;
  line-height: 1.45;
}

.tax-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 18px;
}

.tax-service-grid article {
  min-height: 134px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  border-color: rgba(33, 135, 227, .45);
}

.tax-service-grid .text-icon {
  font-size: 21px;
  font-weight: 900;
}

.tax-service-grid a {
  display: inline-flex;
  gap: 8px;
  margin-top: 13px;
  color: #04ddff;
  font-size: 11px;
  font-weight: 800;
}

.tax-help-deadlines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 16px;
  border-bottom: 1px solid rgba(93, 144, 216, .22);
}

.tax-help {
  min-height: 260px;
  display: grid;
  grid-template-columns: 62% 38%;
  align-items: center;
  border-right: 1px solid rgba(93, 144, 216, .22);
}

.tax-help-visual {
  position: relative;
  min-height: 245px;
}

.tax-deadlines table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(91, 139, 208, .42);
  border-radius: 8px;
  background: rgba(5, 16, 45, .62);
}

.tax-deadlines th,
.tax-deadlines td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(91, 139, 208, .25);
  text-align: left;
}

.tax-deadlines th {
  color: #94c5ff;
  font-size: 9px;
}

.tax-deadlines td:first-child {
  color: #fff;
  font-weight: 800;
}

.tax-warning {
  margin: 8px 0 0;
  padding: 11px 18px;
  border: 1px solid rgba(91, 139, 208, .42);
  border-radius: 8px;
  color: #fff;
  background: rgba(5, 16, 45, .7);
  font-size: 11px;
  font-weight: 800;
}

.tax-warning::before {
  content: "\26A0";
  margin-right: 10px;
  color: #ffd028;
}

.tax-process {
  margin-top: 17px;
}

.tax-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 66px;
  position: relative;
}

.tax-process-grid::before {
  content: "";
  position: absolute;
  left: 146px;
  right: 146px;
  top: 18px;
  border-top: 1px dotted rgba(94, 163, 242, .9);
}

.tax-process-grid article {
  display: grid;
  justify-items: center;
  text-align: center;
  position: relative;
}

.tax-process-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -41px;
  top: 14px;
  width: 27px;
  height: 8px;
  background: linear-gradient(90deg, transparent, #96c7ff);
  clip-path: polygon(0 45%, 82% 45%, 82% 15%, 100% 50%, 82% 85%, 82% 55%, 0 55%);
}

.tax-process-grid b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #1bcaff, #075fff);
  box-shadow: 0 0 18px rgba(0, 130, 255, .42);
  font-size: 13px;
  z-index: 1;
}

.tax-process-grid svg {
  width: 38px;
  height: 38px;
  margin: 12px 0 8px;
  color: #d8ecff;
}

.tax-process-grid h3 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 900;
}

.tax-process-grid p {
  max-width: 140px;
}

.tax-mid-grid {
  margin-top: 17px;
  display: grid;
  grid-template-columns: .9fr .88fr 1.2fr;
  gap: 20px;
}

.tax-why div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.tax-why span {
  width: 40px;
  height: 40px;
}

.tax-why b {
  display: block;
}

.tax-compare div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(82, 125, 191, .32);
  border-radius: 8px;
  overflow: hidden;
}

.tax-compare b,
.tax-compare span {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(82, 125, 191, .2);
  font-size: 11px;
}

.tax-compare b {
  color: #02d6ff;
  text-align: center;
}

.tax-compare span {
  color: #e1ebff;
}

.tax-compare span::before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-right: 9px;
  border-radius: 50%;
  background: #09c5e9;
  color: #fff;
  font-size: 9px;
}

.tax-compare span:nth-child(even)::before {
  content: "\2715";
  background: #6e7899;
}

.tax-cta-visual {
  position: absolute;
  right: 44px;
  top: 32px;
  width: 250px;
  height: 185px;
}

.tax-cta-visual::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 116px;
  height: 140px;
  background: linear-gradient(180deg, #5bb4ff, #073fc2);
  clip-path: polygon(50% 0, 90% 16%, 84% 66%, 50% 100%, 16% 66%, 10% 16%);
  filter: drop-shadow(0 0 24px rgba(0, 130, 255, .55));
}

.tax-cta-visual::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 18px;
  width: 110px;
  height: 146px;
  border-radius: 5px;
  background: linear-gradient(160deg, #f4f8ff, #9ab6df);
  box-shadow: 0 15px 25px rgba(0,0,0,.26);
  transform: rotate(8deg);
}

@media (max-width: 980px) {

  .tax-hero {
    padding-top: 24px;
  }

  .tax-hero::before {
    inset: -8px -28px -12px;
    background:
      linear-gradient(180deg, rgba(1, 7, 22, .82), rgba(1, 7, 22, .96)),
      radial-gradient(circle at 62% 45%, rgba(0, 126, 255, .28), transparent 19rem);
  }

  .tax-hero-art {
    min-height: 430px;
  }

  .tax-feature-strip,
  .tax-service-grid,
  .tax-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tax-feature-strip article:nth-child(2) {
    border-right: 0;
  }

  .tax-feature-strip article {
    padding: 14px;
  }

  .tax-help {
    border-right: 0;
  }

  .tax-process-grid {
    gap: 30px;
  }

  .tax-process-grid::before,
  .tax-process-grid article::after {
    display: none;
  }

  .tax-cta-visual {
    right: 18px;
    width: 210px;
  }

  /* These two grids had no mobile/tablet override at all, so they stayed
     at 2-3 columns down to the narrowest phone widths -- squeezing the
     $249 price card and the "We Help" / deadlines content until text
     truncated and wrapped illegibly. */
  .tax-help-deadlines {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tax-help {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tax-help-visual {
    min-height: 200px;
  }

  .tax-mid-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {

  .tax-hero-art {
    min-height: 720px;
  }

  .tax-feature-strip {
    grid-template-columns: 1fr;
  }

  .tax-feature-strip article {
    grid-template-columns: 44px 1fr;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(112, 151, 212, .25);
    padding: 14px 4px;
  }

  .tax-feature-strip article:last-child {
    border-bottom: 0;
  }

  /* The 2-column layout set at 980px never collapsed further, so the
     6 service cards stayed 2-across down to narrow phones -- clipping
     the entire right-hand column via the page's horizontal overflow
     guard instead of stacking cleanly. */
  .tax-service-grid {
    grid-template-columns: 1fr;
  }

  .tax-service-grid article {
    grid-template-columns: 56px 1fr;
    padding: 20px;
  }

  .tax-help-visual {
    min-height: 220px;
  }

  .tax-deadlines {
    overflow-x: auto;
  }

  .tax-deadlines table {
    min-width: 520px;
  }

  .tax-cta-visual {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 16px;
    width: 220px;
    transform: translateX(-50%);
  }
}


/* Client testimonial marquee (matches homepage index.html) */
.testimonial-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: testimonial-scroll 48s linear infinite;
}

.testimonial-marquee:hover .testimonial-track,
.testimonial-marquee:focus-within .testimonial-track {
  animation-play-state: paused;
}

@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-card {
  flex: 0 0 340px;
  width: 340px;
  min-height: 190px;
  padding: 20px 24px;
}

.marquee-card .avatar {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.marquee-card p {
  font-size: 14px;
  line-height: 1.55;
}

.marquee-card .stars {
  font-size: 20px;
}

.marquee-card .person strong {
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
  }
}

@media (max-width: 620px) {
  .marquee-card {
    flex-basis: 285px;
    width: 285px;
    padding: 18px 20px;
  }
}

/* Desktop: gap below the header -- the hero copy otherwise starts flush
   against it. Mobile/tablet already have their own top padding. */
@media (min-width: 981px) {
  .tax-page-shell .tax-hero {
    padding-top: 32px;
  }
}