/* Home page only (25 Oct 2026 refresh). Reuses the existing tokens, fonts and card look. */
.hero-tags a {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9d2ff;
  border-radius: 999px;
  background: #fbfaff;
  color: #4f4788;
  font-size: clamp(0.66rem, 1.35vw, 0.78rem);
  line-height: 1.2;
  padding: 0.34rem 0.66rem;
  text-decoration: none;
  max-width: 100%;
}

.hero-tags a:hover,
.hero-tags a:focus-visible {
  border-color: #3915af;
  color: #3915af;
}

.segment-grid {
  grid-template-columns: 1fr;
}

.segment-grid .vertical {
  grid-template-columns: 220px 1fr;
}

.segment-more {
  display: block;
  margin-top: 0.4rem;
  color: #3915af;
  font-weight: 700;
}

.segment-note {
  margin: 0.8rem 0 0;
  color: #5e5890;
  font-size: 0.92rem;
}

.plan-snapshot {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-strip {
  border: 1px solid #dad3ff;
  border-radius: 15px;
  background: #fbfaff;
  padding: 1.1rem;
}

@media (max-width: 1060px) {
  .plan-snapshot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .segment-grid .vertical {
    grid-template-columns: 1fr;
  }

  .plan-snapshot {
    grid-template-columns: 1fr;
  }
}

/* Home hero (25 Oct 2026, concept B): three headline beats, one per line. */
.hero-home h1 {
  max-width: none;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero-home h1 .beat {
  display: block;
  white-space: nowrap;
}

.hero-home h1 .beat-b2 {
  color: #5b3de0;
}

.hero-home h1 .beat-b3 {
  position: relative;
  isolation: isolate;
  width: fit-content;
}

.hero-home h1 .beat-b3::after {
  content: "";
  position: absolute;
  inset: 62% 0 8% 0;
  z-index: -1;
  background: #febe12;
  transform-origin: left center;
}

@media (min-width: 1061px) {
  .hero-home {
    grid-template-columns: max-content minmax(0, 1fr);
  }
}

.hero-home .subhead {
  font-size: 1.12rem;
  max-width: 44ch;
}

@media (max-width: 520px) {
  .hero-home h1 {
    font-size: clamp(26px, 7.6vw, 32px);
  }

  .hero-home h1 .beat {
    white-space: normal;
  }
}

/* Home body components (26 Oct 2026): icon tiles, feature cards, example card, day-one cards, pricing band. */
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f1eefc;
  color: #3915af;
  box-shadow: inset 0 0 0 1px #e3def9, 3px 3px 0 #febe12;
  flex: none;
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.feature-cards,
.day-one {
  display: grid;
  gap: 0.8rem;
}

.feature-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.day-one {
  margin-top: 0.94rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.day-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  border: 1px solid #d8e4ee;
  border-radius: 16px;
  background: #fff;
  padding: 1.1rem 1.1rem 1.15rem;
  text-decoration: none;
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.feature-card:hover,
.day-card:hover,
.day-card:focus-visible {
  transform: translateY(-4px);
  border-color: #c9bff7;
  box-shadow: 0 14px 30px rgba(29, 22, 86, 0.12);
}

.feature-card .icon-tile,
.day-card .icon-tile {
  margin-bottom: 0.7rem;
}

.feature-card h3,
.day-card h3 {
  margin: 0;
  color: #2a1d74;
  font-size: 1.04rem;
  line-height: 1.3;
  font-weight: 800;
}

.feature-card p,
.day-card p {
  margin: 0.25rem 0 0;
  color: #5e5890;
  font-size: 0.92rem;
  line-height: 1.5;
}

.day-card p {
  flex: 1;
}

.day-link {
  margin-top: 0.8rem;
  color: #3915af;
  font-size: 0.88rem;
  font-weight: 700;
}

.day-link::after {
  content: " \2192";
}

.example-card {
  border: 1px solid #dad3ff;
  border-radius: 18px;
  background: linear-gradient(160deg, #fbfaff, #f4f1ff);
  padding: clamp(1rem, 2.4vw, 1.5rem);
}

.example-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.example-head h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.example-label {
  border-radius: 999px;
  background: #fff3cc;
  color: #6b4d00;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.28rem 0.7rem;
}

.example-steps {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.example-steps li {
  position: relative;
  border: 1px solid #e3def9;
  border-radius: 14px;
  background: #fff;
  padding: 0.9rem;
}

.example-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #3915af;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.example-time svg {
  width: 16px;
  height: 16px;
}

.example-steps strong {
  display: block;
  margin-top: 0.5rem;
  color: #2a1d74;
  font-size: 0.98rem;
  line-height: 1.3;
}

.example-steps p {
  margin: 0.3rem 0 0;
  color: #5e5890;
  font-size: 0.88rem;
  line-height: 1.5;
}

.pricing-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.4rem;
  background: linear-gradient(160deg, #fbfaff, #f4f1ff);
  border-color: #dad3ff;
}

.pricing-band .intro {
  margin-top: 0.4rem;
}

@media (max-width: 1060px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .day-one,
  .example-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .day-one,
  .example-steps {
    grid-template-columns: 1fr;
  }

  .pricing-band .btn {
    width: 100%;
  }
}

/* Slim accountants line (26 Oct 2026). */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
  padding: 0.8rem 1.1rem;
}

.partner-line {
  margin: 0;
  color: #5e5890;
  font-size: 0.95rem;
}

.partner-line strong {
  color: #2a1d74;
}

.partner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}

.partner-links a {
  color: #3915af;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.partner-links a:hover,
.partner-links a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .partner-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Home hero choreography (26 Oct 2026). Pure CSS, opacity/transform/translate only; the global
   reduced-motion rule turns every animation off, and the end state is the normal layout. */
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes hero-draw { from { transform: scaleX(0); } }
@keyframes hero-in-right { from { opacity: 0; translate: 28px 0; } }
@keyframes hero-up { from { opacity: 0; translate: 0 36px; } }
@keyframes hero-float { from { translate: 0 0; } to { translate: 0 -8px; } }

.hero-home h1 .beat { animation: hero-rise 450ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero-home h1 .beat-b2 { animation-delay: 60ms; }
.hero-home h1 .beat-b3 { animation-delay: 120ms; }
.hero-home h1 .beat-b3::after { animation: hero-draw 600ms 420ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero-home .subhead,
.hero-home .hero-ctas,
.hero-home .trust { animation: hero-rise 450ms 260ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero-home .desktop-shell { animation: hero-in-right 600ms 150ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero-home .phone-shell {
  animation: hero-up 600ms 420ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards,
    hero-float 8s 1.4s ease-in-out infinite alternate;
}
