/* Homepage refresh inspired by the supplied creator-workspace reference. */
.tool-index {
  --tool-max: 1420px;
  /* Homepage type and spacing scale; content cards retain their existing design. */
  --home-font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --home-type-caption: 12px;
  --home-type-ui: 14px;
  --home-type-body: 16px;
  --home-type-section: 32px;
  --home-space-1: 8px;
  --home-space-2: 16px;
  --home-space-3: 24px;
  --home-space-4: 32px;
  --home-space-5: 48px;
  --home-space-6: 64px;
  --home-ink: #172019;
  --home-muted: #66716a;
  --home-line: #e5eae4;
  --home-soft: #f5f8f1;
  --home-accent: #a8ed45;
  --home-accent-dark: #41651f;
  color-scheme: light;
  background: #fff;
  color: var(--home-ink);
}

.tool-index .tool-site-header {
  height: 76px;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--tool-max)) / 2));
  align-items: center;
  background: #fff;
}

.tool-index .tool-site-header .brand {
  align-self: center;
  padding: 0;
  gap: 10px;
}

.tool-index .tool-site-header .brand > span:last-child {
  display: flex;
  align-items: center;
  gap: 0;
}

.tool-index .tool-site-header .brand-mark {
  width: 38px;
  height: 38px;
}

.tool-index .tool-site-header .brand strong {
  color: var(--home-ink);
  font-size: 25px;
  font-weight: 750;
}

.tool-index .tool-site-header .brand small {
  display: block;
  margin: 0 0 0 8px;
  padding-left: 14px;
  border-left: 1px solid var(--home-line);
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.tool-index .tool-site-header .site-nav {
  align-self: center;
  gap: 28px;
  color: var(--home-ink);
  font-size: 14px;
}

.tool-index .tool-site-header .site-nav a {
  padding: 10px 0;
  color: var(--home-ink);
}

.tool-index .tool-site-header .site-nav a.is-active::after {
  bottom: 0;
  height: 3px;
  background: var(--home-accent);
}

.tool-index .tool-site-header .site-nav .nav-pill {
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 8px;
  background: var(--home-accent);
  color: var(--home-ink);
  box-shadow: none;
}

.tool-index .tool-site-header .nav-action-arrow {
  color: var(--home-ink);
}

.tool-index .tool-home-page {
  width: min(calc(100% - 64px), var(--tool-max));
  padding: 22px 0 80px;
}

.tool-index .home-hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: 28px;
  min-height: 430px;
  margin: 0 0 22px;
  padding: 24px 0;
  overflow: visible;
  border-radius: 0;
  background: #fff;
}

.tool-index .home-hero:has(.home-hero-qr:not([hidden])) {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr) 158px;
}

.tool-index .home-hero::after {
  display: none;
}

.tool-index .home-hero-copy {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0 0 0 10px;
  color: var(--home-ink);
}

.tool-index .home-hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 18px;
  padding: 0 13px;
  border-radius: 8px;
  background: #f1f8e9;
  color: var(--home-accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.tool-index .home-hero-copy h1 {
  max-width: 620px;
  margin: 0;
  color: var(--home-ink);
  font-size: 58px;
  font-weight: 850;
  line-height: 1.16;
}

.tool-index .home-hero-copy h1 span,
.tool-index .home-hero-copy h1 em {
  display: block;
}

.tool-index .home-hero-copy h1 em {
  position: relative;
  width: fit-content;
  margin-top: 2px;
  color: #79b522;
  font-style: normal;
}

.tool-index .home-hero-copy h1 em::after {
  position: absolute;
  right: -5px;
  bottom: 1px;
  left: 0;
  z-index: -1;
  height: 7px;
  border-radius: 8px;
  background: #d4f4a6;
  content: "";
}

.tool-index .home-hero-copy p {
  max-width: 450px;
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.8;
}

.tool-index .home-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.tool-index .home-hero-primary,
.tool-index .home-hero-secondary {
  min-height: 48px;
  padding: 0 21px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.tool-index .home-hero-primary {
  background: var(--home-accent);
  color: #20300f;
}

.tool-index .home-hero-primary:hover,
.tool-index .home-hero-primary:focus-visible {
  background: #97dc32;
  color: #20300f;
  transform: translateY(-1px);
}

.tool-index .home-hero-secondary {
  border: 1px solid #d9dfd7;
  background: #fff;
  color: var(--home-ink);
}

.tool-index .home-hero-secondary:hover,
.tool-index .home-hero-secondary:focus-visible {
  border-color: #a9be91;
  background: var(--home-soft);
  color: var(--home-ink);
}

.tool-index .home-hero-media {
  min-width: 0;
  margin: 0;
}

.tool-index .home-hero-image {
  position: static;
  display: block;
  width: 100%;
  height: 390px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
}

.tool-index .home-hero-qr {
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 0;
  padding: 15px 10px;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.tool-index .home-hero-qr[hidden] {
  display: none !important;
}

.tool-index .home-hero-qr strong {
  font-size: 15px;
  font-weight: 750;
}

.tool-index .home-hero-qr p {
  margin: 8px 0 11px;
  color: var(--home-muted);
  font-size: 11px;
  line-height: 1.55;
}

.tool-index .home-hero-qr img {
  display: block;
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.tool-index .home-hero-qr small {
  margin-top: 8px;
  color: var(--home-muted);
  font-size: 10px;
}

.tool-index .home-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 30px;
}

.tool-index .home-shortcut {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 112px;
  padding: 17px 16px;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  background: #fff;
  color: var(--home-ink);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.tool-index a.home-shortcut:hover,
.tool-index a.home-shortcut:focus-visible {
  border-color: #bfd79e;
  background: #fbfef8;
  color: var(--home-ink);
  transform: translateY(-2px);
}

.tool-index .home-shortcut--upcoming {
  background: #fbfcfa;
}

.tool-index .home-shortcut-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 10px;
  background: #eff8e5;
  color: #4d761c;
  font-size: 20px;
  font-weight: 800;
}

.tool-index .home-shortcut-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.tool-index .home-shortcut-copy strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.tool-index .home-shortcut-copy small {
  color: var(--home-muted);
  font-size: 11px;
  line-height: 1.5;
}

.tool-index .home-shortcut-state {
  width: fit-content;
  color: #66843d;
  font-size: 10px;
  font-weight: 700;
}

.tool-index .home-shortcut-arrow {
  align-self: center;
  color: #7b8977;
  font-size: 17px;
}

.tool-index .tool-filter-area {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 10px 18px;
  margin-top: 0;
  padding-top: 10px;
}

.tool-index .tool-chip-row button.is-active {
  background: var(--home-accent);
  color: var(--home-ink);
}

.tool-index .community-invite {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: var(--home-space-3) var(--home-space-5);
  max-width: 1200px;
  margin: var(--home-space-5) auto 0;
  padding: var(--home-space-3);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.tool-index .community-invite::after {
  display: none;
}

.tool-index .community-invite-quote {
  display: none;
}

.tool-index .community-invite-heading {
  grid-column: 1;
  padding: 0;
}

.tool-index .community-invite-heading > span {
  display: inline-flex;
  align-items: center;
  gap: var(--home-space-2);
  color: #5b9d25;
  font-size: var(--home-type-caption);
  font-weight: 600;
  letter-spacing: .15em;
}

.tool-index .community-invite-heading > span::before {
  width: 24px;
  height: 3px;
  background: currentColor;
  content: "";
}

.tool-index .community-invite-heading h2 {
  margin-top: var(--home-space-2);
  color: var(--home-ink);
  font-size: var(--home-type-section);
  font-weight: 800;
  line-height: 1.4;
}

.tool-index .community-invite-heading h2 em {
  color: #79ad2e;
  font-style: normal;
}

.tool-index .community-invite-heading h2 > span,
.tool-index .community-invite-heading h2 > em {
  display: inline-block;
}

.tool-index .community-invite-heading p {
  margin-top: var(--home-space-2);
  color: var(--home-muted);
  font-size: var(--home-type-ui);
  line-height: 1.75;
}

.tool-index .community-invite-content {
  display: contents;
}

.tool-index .community-join-card {
  display: grid;
  grid-column: 1;
  grid-row: 2;
  grid-template-columns: 56px minmax(0, 1fr) 128px;
  align-items: center;
  gap: var(--home-space-2);
  min-height: 152px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #f4f9f1;
}

.tool-index .community-join-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #78b82d, #5a9b16);
  color: #fff;
  font-size: 32px;
}

.tool-index .community-invite-qr {
  display: grid;
  justify-items: center;
  grid-column: 3;
  grid-row: 1;
  width: 128px;
  text-align: center;
}

.tool-index .community-invite-qr[hidden] {
  display: none !important;
}

.tool-index .community-qr-frame {
  width: 128px;
  height: 128px;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.tool-index .community-qr-frame img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.tool-index .community-join-empty {
  display: grid;
  grid-column: 3;
  grid-row: 1;
  width: 128px;
  height: 128px;
  place-content: center;
  border-radius: 10px;
  background: #fff;
  color: var(--home-muted);
  font-size: var(--home-type-ui);
  text-align: center;
}

.tool-index .community-join-empty[hidden] {
  display: none;
}

.tool-index .community-invite-stats {
  grid-column: 2;
  min-width: 0;
  padding-left: 0;
}

.tool-index .community-invite-stats h3 {
  margin: 0 0 var(--home-space-1);
  color: var(--home-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.tool-index .community-invite-stats p {
  max-width: 540px;
  margin: 0;
  color: var(--home-muted);
  font-size: var(--home-type-ui);
  line-height: 1.75;
}

.tool-index .community-people-art {
  display: block;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  width: min(100%, 340px);
  min-height: 0;
  height: auto;
  aspect-ratio: 630 / 320;
  object-fit: contain;
}

.tool-index .community-invite-footer {
  display: none;
}

.tool-index .tool-team-section {
  margin-top: var(--home-space-5);
  padding-top: var(--home-space-5);
}

.tool-index .tool-team-head h2 {
  color: var(--home-ink);
  font-size: var(--home-type-section);
  line-height: 1.4;
}

.tool-index .tool-team-head p {
  font-size: var(--home-type-body);
  line-height: 1.75;
}

.tool-index .tool-team-grid {
  margin-top: var(--home-space-4);
}

.tool-index .site-footer {
  width: min(calc(100% - 64px), var(--tool-max));
}

@media (max-width: 1180px) {
  .tool-index .home-hero:has(.home-hero-qr:not([hidden])) {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }

  .tool-index .home-hero-qr {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr auto auto;
    justify-items: start;
    gap: 14px;
    padding: 12px 16px;
    text-align: left;
  }

  .tool-index .home-hero-qr p,
  .tool-index .home-hero-qr small {
    margin: 0;
  }

  .tool-index .home-hero-qr img {
    width: 76px;
    height: 76px;
  }

  .tool-index .home-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .tool-index .tool-site-header .brand small {
    display: none;
  }

  .tool-index .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 0;
  }

  .tool-index .home-hero-copy h1 {
    font-size: 44px;
  }

  .tool-index .home-hero-image {
    height: 320px;
  }

  .tool-index .tool-filter-area {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

}

@media (max-width: 680px) {
  .tool-index .tool-site-header {
    height: auto;
    min-height: 66px;
    padding: 0 16px;
  }

  .tool-index .tool-site-header .brand strong {
    font-size: 24px;
  }

  .tool-index .tool-home-page {
    width: calc(100% - 32px);
    padding-top: 18px;
  }

  .tool-index .home-hero,
  .tool-index .home-hero:has(.home-hero-qr:not([hidden])) {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 18px;
    padding: 0;
  }

  .tool-index .home-hero-copy {
    padding: 6px 0 0;
  }

  .tool-index .home-hero-kicker {
    margin-bottom: 13px;
  }

  .tool-index .home-hero-copy h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .tool-index .home-hero-copy p {
    margin-top: 13px;
    font-size: 14px;
  }

  .tool-index .home-hero-actions {
    gap: 9px;
    margin-top: 18px;
  }

  .tool-index .home-hero-primary,
  .tool-index .home-hero-secondary {
    min-height: 44px;
    padding: 0 15px;
    font-size: 13px;
  }

  .tool-index .home-hero-image {
    height: auto;
    aspect-ratio: 1.45;
    border-radius: 10px;
  }

  .tool-index .home-hero-qr {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 4px 12px;
    align-items: center;
    padding: 12px;
  }

  .tool-index .home-hero-qr strong,
  .tool-index .home-hero-qr p,
  .tool-index .home-hero-qr small {
    grid-column: 1;
  }

  .tool-index .home-hero-qr p {
    margin: 0;
  }

  .tool-index .home-hero-qr img {
    grid-column: 2;
    grid-row: 1 / 4;
    width: 72px;
    height: 72px;
  }

  .tool-index .home-hero-qr small {
    margin: 0;
  }

  .tool-index .home-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 22px;
  }

  .tool-index .home-shortcut {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    min-height: 102px;
    padding: 12px 10px;
    border-radius: 9px;
  }

  .tool-index .home-shortcut-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 16px;
  }

  .tool-index .home-shortcut-copy strong {
    font-size: 13px;
  }

  .tool-index .home-shortcut-copy small {
    font-size: 10px;
  }

  .tool-index .home-shortcut-arrow {
    display: none;
  }

  .tool-index .tool-filter-area {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .tool-index .community-invite {
    margin-top: 42px;
    padding: 28px 0 20px;
  }

  .tool-index .community-invite-heading h2 {
    font-size: 27px;
  }

  .tool-index .community-invite-stats h3 {
    margin-bottom: var(--home-space-1);
    font-size: 20px;
  }

  .tool-index .community-invite-stats p {
    font-size: var(--home-type-body);
  }

  .tool-index .site-footer {
    width: calc(100% - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-index .home-hero-primary,
  .tool-index .home-hero-secondary,
  .tool-index .home-shortcut {
    transition: none;
  }
}

/* Homepage footer follows the reference hierarchy without inventing a public contact email. */
.tool-index .home-site-footer {
  display: block;
  width: min(calc(100% - 64px), 1248px);
  margin: 0 auto;
  padding: 48px 0 24px;
  border-top: 1px solid var(--home-line);
  color: var(--home-ink);
}

.tool-index .home-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 260px) 176px;
  gap: 48px;
  padding-bottom: 36px;
}

.tool-index .home-footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--home-ink);
  text-decoration: none;
}

.tool-index .home-footer-brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
}

.tool-index .home-footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-index .home-footer-brand-link strong {
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.tool-index .home-footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.8;
}

.tool-index .home-footer-contact {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
}

.tool-index .home-footer-contact h2 {
  margin: 0 0 4px;
  color: var(--home-ink);
  font-size: 16px;
  font-weight: 400;
}

.tool-index .home-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 22px;
}

.tool-index .home-footer-links a {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
}

.tool-index .home-footer-links a:hover,
.tool-index .home-footer-links a:focus-visible {
  color: var(--home-accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tool-index .home-footer-contact-note {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.7;
}

.tool-index .home-footer-community {
  width: 176px;
  max-width: 100%;
  margin: 0;
  text-align: center;
}

.tool-index .home-footer-community figcaption {
  margin-bottom: 16px;
  color: var(--home-ink);
  font-size: 16px;
  font-weight: 400;
}

.tool-index .home-footer-qr-link {
  display: block;
  width: 100%;
  line-height: 0;
}

.tool-index .home-footer-qr-link[hidden] { display: none; }

.tool-index .home-footer-qr-link img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.tool-index .home-footer-qr-empty {
  margin: 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.7;
}

.tool-index .home-footer-contact a,
.tool-index .home-footer-meta a {
  color: var(--home-accent-dark);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.tool-index .home-footer-contact a:hover,
.tool-index .home-footer-contact a:focus-visible,
.tool-index .home-footer-meta a:hover,
.tool-index .home-footer-meta a:focus-visible {
  color: #6d9c2b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tool-index .home-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--home-line);
  color: #89928b;
  font-size: 14px;
  line-height: 1.5;
}

.tool-index .home-footer-meta a {
  color: #778278;
  font-weight: 500;
}

@media (max-width: 850px) {
  .tool-index .home-footer-main {
    grid-template-columns: minmax(0, 1fr) 176px;
    gap: 32px;
  }
  .tool-index .home-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .tool-index .home-site-footer {
    width: calc(100% - 36px);
    padding: 36px 0 22px;
  }

  .tool-index .home-footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }

  .tool-index .home-footer-brand p {
    margin-top: 16px;
    font-size: 14px;
  }

  .tool-index .home-footer-meta {
    justify-content: flex-start;
    gap: 10px 18px;
    font-size: 13px;
  }
}

/* Reference components added below the banner. The course catalog remains available
   at courses.html, while the homepage uses this lighter membership/community flow. */
.tool-index .home-community-feedback,
.tool-index .home-membership-offer,
.tool-index .home-faq-section,
.tool-index .home-final-cta {
  width: min(calc(100% - 64px), 1248px);
  margin-right: auto;
  margin-left: auto;
}

.tool-index .home-community-feedback {
  padding: 88px 0 48px;
}

.tool-index .home-section-heading {
  margin-bottom: 34px;
}

.tool-index .home-section-heading > span {
  display: block;
  margin-bottom: 12px;
  color: #8a928c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.tool-index .home-section-heading h2 {
  margin: 0 0 10px;
  color: #172019;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
}

.tool-index .home-section-heading p {
  max-width: 540px;
  margin: 0;
  color: #707a72;
  font-size: 16px;
  line-height: 1.8;
}

.tool-index .home-section-heading-centered {
  text-align: center;
}

.tool-index .home-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-index .home-testimonial-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid #e6ebe6;
  border-radius: 12px;
  background: #fff;
}

.tool-index .home-testimonial-card p {
  margin: 0;
  color: #737c75;
  font-size: 16px;
  font-style: italic;
  line-height: 1.8;
}

.tool-index .home-testimonial-card strong {
  color: #263029;
  font-size: 16px;
}

.tool-index .home-testimonial-card small {
  margin-left: 6px;
  color: #8a928c;
  font-size: 12px;
  font-weight: 500;
}

.tool-index .home-membership-offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid #ecebe6;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(29, 39, 31, .08);
}

.tool-index .home-membership-copy,
.tool-index .home-membership-price {
  padding: 44px 48px;
}

.tool-index .home-membership-copy {
  background: linear-gradient(110deg, var(--home-soft), #fff);
}

.tool-index .home-membership-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--home-accent-dark);
  font-size: 14px;
  font-weight: 800;
}

.tool-index .home-membership-copy h2 {
  margin: 0 0 14px;
  color: #1d1b19;
  font-size: 36px;
  line-height: 1.25;
}

.tool-index .home-membership-copy > p {
  max-width: 470px;
  margin: 0 0 28px;
  color: #77716c;
  font-size: 17px;
  line-height: 1.8;
}

.tool-index .home-membership-copy ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: #55514d;
  font-size: 16px;
  list-style: none;
}

.tool-index .home-membership-copy li::before {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 12px;
  place-items: center;
  border-radius: 50%;
  background: #f2f3f0;
  color: #4e5a50;
  content: "✓";
  font-size: 13px;
  font-weight: 800;
}

.tool-index .home-membership-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tool-index .home-membership-price > span {
  color: #8a837c;
  font-size: 14px;
  font-weight: 700;
}

.tool-index .home-membership-price strong {
  margin: 12px 0 4px;
  color: #171615;
  font-size: 56px;
  line-height: 1;
}

.tool-index .home-membership-price strong small {
  color: #8a837c;
  font-size: 20px;
  font-weight: 500;
}

.tool-index .home-membership-price p {
  margin: 0 0 28px;
  color: #8a837c;
  font-size: 14px;
}

.tool-index .home-reference-join {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  padding: 0 28px;
  border: 2px solid #6d9c2b;
  border-radius: 11px;
  background: var(--home-accent);
  box-shadow: 0 3px 0 #6d9c2b;
  color: #20300f;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.tool-index .home-reference-join:hover,
.tool-index .home-reference-join:focus-visible {
  background: #b9f36a;
  box-shadow: 0 1px 0 #6d9c2b;
  color: #20300f;
  transform: translateY(2px);
}

.tool-index .home-faq-section {
  padding: 104px 0 74px;
}

.tool-index .home-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1020px;
  margin: 0 auto;
}

.tool-index .home-faq-item {
  padding: 20px;
  border: 1px solid #e5e8e5;
  border-radius: 13px;
  background: #fff;
}

.tool-index .home-faq-item h3 {
  margin: 0 0 8px;
  color: #2a302b;
  font-size: 16px;
  line-height: 1.5;
}

.tool-index .home-faq-item p {
  margin: 0;
  color: #737a74;
  font-size: 14px;
  line-height: 1.7;
}

.tool-index .home-final-cta {
  padding: 74px 0 126px;
  text-align: center;
}

.tool-index .home-final-cta h2 {
  margin: 0 0 12px;
  color: #1c211d;
  font-size: 36px;
  line-height: 1.3;
}

.tool-index .home-final-cta p {
  margin: 0 0 28px;
  color: #777f78;
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 850px) {
  .tool-index .home-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-index .home-membership-copy,
  .tool-index .home-membership-price {
    padding: 40px 34px;
  }
}

@media (max-width: 640px) {
  .tool-index .home-community-feedback,
  .tool-index .home-membership-offer,
  .tool-index .home-faq-section,
  .tool-index .home-final-cta {
    width: min(calc(100% - 36px), 1248px);
  }

  .tool-index .home-community-feedback {
    padding: 64px 0 26px;
  }

  .tool-index .home-section-heading h2 {
    font-size: 28px;
  }

  .tool-index .home-testimonial-grid,
  .tool-index .home-faq-grid,
  .tool-index .home-membership-offer {
    grid-template-columns: 1fr;
  }

  .tool-index .home-testimonial-card {
    min-height: 180px;
  }

  .tool-index .home-membership-offer {
    margin-top: 34px;
    border-radius: 18px;
  }

  .tool-index .home-membership-copy,
  .tool-index .home-membership-price {
    padding: 32px 24px;
  }

  .tool-index .home-membership-copy h2 {
    font-size: 34px;
  }

  .tool-index .home-membership-price strong {
    font-size: 54px;
  }

  .tool-index .home-faq-section {
    padding: 72px 0 38px;
  }

  .tool-index .home-final-cta {
    padding: 52px 0 94px;
  }

  .tool-index .home-final-cta h2 {
    font-size: 32px;
  }
}

/* Layout adapted from the supplied static homepage while preserving live site controls. */
.tool-index .tool-site-header {
  position: sticky;
  z-index: 20;
  height: 64px;
  min-height: 64px;
  gap: 18px;
  padding: 0 max(24px, calc((100vw - 1420px) / 2));
  border-bottom: 1px solid #eceeeb;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  transform: translateY(0);
  transition: transform 340ms cubic-bezier(.2, .75, .25, 1);
  will-change: transform;
}

.tool-index .tool-site-header.is-scroll-hidden {
  transform: translateY(-100%);
}

.tool-index.menu-open .tool-site-header {
  transform: translateY(0);
}

.tool-index .tool-site-header .brand {
  flex: 0 0 auto;
  gap: 9px;
}

.tool-index .tool-site-header .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.tool-index .tool-site-header .brand strong {
  font-size: 22px;
  font-weight: 850;
}

.tool-index .tool-site-header .brand small {
  margin-left: 10px;
  padding-left: 12px;
  font-size: 11px;
}

.tool-index .tool-site-header .site-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: clamp(13px, 1.8vw, 27px);
  min-width: 0;
  white-space: nowrap;
  font-size: 13px;
}

.tool-index .tool-site-header .site-nav > a:not(.nav-pill):not(.home-header-member) {
  padding: 8px 0;
  color: #292d29;
  font-weight: 650;
}

.tool-index .tool-site-header .site-nav > a.is-active::after {
  bottom: -8px;
  height: 3px;
  border-radius: 3px;
  background: #a9df4d;
}

.tool-index .home-header-search {
  display: flex;
  flex: 0 1 215px;
  align-items: center;
  gap: 9px;
  min-width: 145px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #eff0ed;
  border-radius: 20px;
  background: #f6f7f5;
  color: #6c736c;
}

.tool-index .home-header-search span {
  font-size: 18px;
  line-height: 1;
}

.tool-index .home-header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--home-ink);
  font: inherit;
}

.tool-index .home-header-search input::placeholder {
  color: #858b85;
}

.tool-index .tool-site-header .site-nav .nav-pill {
  position: static;
  top: auto;
  min-height: 36px;
  margin: 0;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #292d29;
  box-shadow: none;
}

.tool-index .tool-site-header .site-nav .nav-action-arrow {
  display: none;
}

.tool-index .home-header-member {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border-radius: 22px;
  background: #b8ef59;
  color: #202817;
  font-size: 13px;
  font-weight: 750;
  transition: transform 160ms ease, background-color 160ms ease;
}

.tool-index .home-header-member:hover,
.tool-index .home-header-member:focus-visible {
  background: #a9e747;
  transform: translateY(-1px);
}

.tool-index .language-switch {
  flex: 0 0 auto;
  margin-left: 0;
}

.tool-index .tool-home-page {
  width: min(calc(100% - 64px), var(--tool-max));
  padding-top: 0;
}

.tool-index .home-hero,
.tool-index .home-hero:has(.home-hero-qr:not([hidden])) {
  position: relative;
  left: 50%;
  display: block;
  width: 100vw;
  min-height: 0;
  height: 340px;
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  transform: translateX(-50%);
  border-radius: 0;
  background: #faf9f6;
}

.tool-index .home-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #fbfaf8 0%, rgba(251, 250, 248, .98) 31%, rgba(251, 250, 248, .72) 44%, rgba(251, 250, 248, 0) 62%);
  content: "";
  pointer-events: none;
}

.tool-index .home-hero-media {
  position: absolute;
  inset: 0 0 0 35%;
  margin: 0;
}

.tool-index .home-hero-media picture,
.tool-index .home-hero-image {
  display: block;
  width: 100%;
  height: 100%;
}

.tool-index .home-hero-image {
  position: static;
  border-radius: 0;
  object-fit: cover;
  object-position: center 51%;
  filter: saturate(.84);
}

.tool-index .home-hero-copy {
  position: relative;
  z-index: 2;
  width: min(570px, 52vw);
  margin-left: max(calc((100vw - 1416px) / 2), 4.8%);
  padding: 27px 0 20px;
}

.tool-index .home-hero-kicker {
  min-height: 26px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 15px;
  background: #f1f7e8;
  color: #4e681f;
  font-size: 12px;
}

.tool-index .home-hero-copy h1 {
  margin: 11px 0 10px;
  font-size: 49px;
  font-weight: 850;
  line-height: 1.2;
}

.tool-index .home-hero-copy h1 em {
  margin-top: 0;
  color: #8fbe36;
}

.tool-index .home-hero-copy h1 em::after {
  display: none;
}

.tool-index .home-hero-copy p {
  max-width: 540px;
  margin: 0;
  color: #676e68;
  font-size: 13px;
  line-height: 1.65;
}

.tool-index .home-hero-actions {
  gap: 12px;
  margin-top: 23px;
}

.tool-index .home-hero-primary,
.tool-index .home-hero-secondary {
  min-height: 44px;
  padding: 0 21px;
  border-radius: 24px;
}

.tool-index .home-hero-primary {
  background: #b8ef59;
  color: #1e2914;
}

.tool-index .home-hero-primary:hover,
.tool-index .home-hero-primary:focus-visible {
  background: #a6df45;
  color: #1e2914;
}

.tool-index .home-hero-secondary {
  border-color: #dedfdb;
  background: rgba(255, 255, 255, .82);
}

.tool-index .home-hero-qr {
  position: absolute;
  z-index: 2;
  top: 48px;
  right: max(3.4%, calc((100vw - 1420px) / 2));
  display: grid;
  width: 136px;
  min-height: 194px;
  justify-items: center;
  align-content: start;
  padding: 14px 9px 11px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(30, 40, 28, .12);
}

.tool-index .home-hero-qr p {
  margin: 8px 0 10px;
  color: #5e655f;
  font-size: 10px;
  line-height: 1.5;
}

.tool-index .home-hero-qr img {
  width: 78px;
  height: 78px;
  padding: 3px;
  border: 1px solid #eaede8;
  object-fit: contain;
}

.tool-index .home-hero-qr small {
  margin-top: 6px;
  color: #3e453e;
  font-size: 10px;
}

.tool-index .home-shortcuts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  width: min(100%, 1200px);
  margin: 0 auto 27px;
}

.tool-index .home-shortcut {
  grid-template-columns: 58px minmax(0, 1fr) 12px;
  gap: 13px;
  min-height: 104px;
  padding: 13px 14px;
  border-color: #e8eae6;
  border-radius: 12px;
  box-shadow: none;
}

.tool-index .home-shortcut-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #eff8e2;
  color: #4e8125;
  font-family: Arial, sans-serif;
  font-size: 23px;
}

.tool-index .home-shortcut-copy {
  gap: 7px;
}

.tool-index .home-shortcut-copy strong {
  font-size: 14px;
}

.tool-index .home-shortcut-copy small {
  font-size: 11px;
}

.tool-index .home-shortcut-state {
  display: inline-flex;
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 8px;
  background: #8bc63b;
  color: #fff;
  font-size: 9px;
  vertical-align: 1px;
}

.tool-index .tool-filter-area {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  margin-top: 0;
  padding-top: 18px;
}

.tool-index .tool-filter-result {
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
}

.tool-index .tool-chip-row button {
  border-radius: 18px;
}

.tool-index .tool-chip-row button.is-active {
  background: #b8ef59;
}

@media (max-width: 1180px) {
  .tool-index .tool-site-header {
    gap: 12px;
  }

  .tool-index .tool-site-header .brand small {
    display: none;
  }

  .tool-index .tool-site-header .site-nav {
    gap: 14px;
    font-size: 12px;
  }

  .tool-index .home-header-search {
    flex-basis: 170px;
  }

  .tool-index .home-header-member {
    padding-inline: 14px;
  }

  .tool-index .home-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .tool-index .tool-site-header {
    justify-content: space-between;
    padding-inline: 20px;
  }

  .tool-index .tool-site-header .menu-toggle {
    display: block;
    order: 3;
    flex: 0 0 42px;
    margin-left: auto;
  }

  .tool-index .tool-site-header .site-nav {
    position: fixed;
    inset: 64px 0 auto;
    z-index: 19;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--home-line);
    background: #fff;
    transform: translateY(-130%);
    transition: transform 200ms ease;
  }

  .tool-index .tool-site-header .site-nav > a:not(.nav-pill):not(.home-header-member) {
    min-height: 44px;
    border-top: 1px solid #eff1ed;
  }

  .tool-index .tool-site-header .site-nav .nav-pill {
    justify-content: flex-start;
    min-height: 42px;
    margin-top: 4px;
  }

  .tool-index .tool-site-header .home-header-search {
    grid-row: 1;
    width: 100%;
    min-height: 40px;
    margin: 0 0 8px;
  }

  .tool-index .tool-site-header .home-header-member {
    justify-self: start;
    margin-top: 7px;
  }

  .tool-index.menu-open .tool-site-header .site-nav {
    transform: translateY(0);
  }

  .tool-index .home-hero-copy {
    width: min(560px, 61vw);
  }

  .tool-index .home-hero-copy h1 {
    font-size: 44px;
  }

  .tool-index .home-hero-qr {
    right: 20px;
    width: 118px;
    min-height: 174px;
  }

  .tool-index .home-hero-qr img {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 680px) {
  .tool-index .tool-site-header {
    min-height: 62px;
    padding-inline: 16px;
  }

  .tool-index .tool-site-header .brand strong {
    font-size: 21px;
  }

  .tool-index .tool-site-header .site-nav {
    inset-block-start: 62px;
    max-height: calc(100dvh - 62px);
    overflow: auto;
  }

  .tool-index .tool-home-page {
    width: calc(100% - 28px);
  }

  .tool-index .home-hero,
  .tool-index .home-hero:has(.home-hero-qr:not([hidden])) {
    height: 500px;
    margin-bottom: 12px;
  }

  .tool-index .home-hero::before {
    background: linear-gradient(180deg, #fbfaf8 0%, rgba(251, 250, 248, .97) 42%, rgba(251, 250, 248, .2) 72%, transparent 100%);
  }

  .tool-index .home-hero-media {
    inset: 185px 0 0;
  }

  .tool-index .home-hero-image {
    object-position: center 53%;
  }

  .tool-index .home-hero-copy {
    width: auto;
    margin: 0 20px;
    padding-top: 22px;
  }

  .tool-index .home-hero-kicker {
    min-height: 25px;
    font-size: 11px;
  }

  .tool-index .home-hero-copy h1 {
    margin: 10px 0 8px;
    font-size: 37px;
    line-height: 1.16;
  }

  .tool-index .home-hero-copy p {
    max-width: 390px;
    font-size: 12px;
    line-height: 1.55;
  }

  .tool-index .home-hero-actions {
    gap: 8px;
    margin-top: 17px;
  }

  .tool-index .home-hero-primary,
  .tool-index .home-hero-secondary {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .tool-index .home-hero-qr {
    display: none;
  }

  .tool-index .home-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 18px;
  }

  .tool-index .home-shortcut {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    min-height: 86px;
    padding: 10px 9px;
    border-radius: 10px;
  }

  .tool-index .home-shortcut-mark {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .tool-index .home-shortcut-copy {
    gap: 4px;
  }

  .tool-index .home-shortcut-copy strong {
    font-size: 12px;
  }

  .tool-index .home-shortcut-copy small {
    font-size: 10px;
    line-height: 1.4;
  }

  .tool-index .home-shortcut-arrow {
    display: none;
  }

  .tool-index .tool-filter-area {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 8px;
  }

  .tool-index .tool-filter-result {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 390px) {
  .tool-index .home-hero,
  .tool-index .home-hero:has(.home-hero-qr:not([hidden])) {
    height: 476px;
  }

  .tool-index .home-hero-copy h1 {
    font-size: 34px;
  }

  .tool-index .home-hero-actions {
    flex-wrap: wrap;
  }
}

/* Reference layout, with the user's requested type, spacing and centered navigation refinements. */
.tool-index {
  --reference-accent: #b8ef55;
  --reference-lime: #a5d839;
  --reference-ink: #11151b;
  font-family: var(--home-font-family);
  font-size: var(--home-type-body);
  line-height: 1.75;
  color: var(--reference-ink);
}

.tool-index .tool-site-header {
  height: 76px;
  min-height: 76px;
  padding: 0 max(calc((100vw - 1420px) / 2), 4.5%);
  border-bottom-color: #eeeeec;
  display: flex;
}

.tool-index .tool-site-header .brand {
  min-width: 0;
  gap: 0;
}

.tool-index .tool-site-header .brand-mark {
  position: relative;
  width: 41px;
  height: 31px;
  margin-right: 9px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.tool-index .tool-site-header .brand-mark::before {
  position: absolute;
  width: 31px;
  height: 23px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: var(--reference-accent);
  box-shadow: inset -4px -2px 0 #80bf23;
  content: "";
  transform: rotate(-24deg);
}

.tool-index .tool-site-header .brand-mark::after {
  position: absolute;
  width: 44px;
  height: 14px;
  left: -2px;
  top: 9px;
  border: 2px solid #151515;
  border-right-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  transform: rotate(-25deg);
}

.tool-index .tool-site-header .brand-mark img {
  display: none;
}

.tool-index .tool-site-header .brand strong {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.tool-index .tool-site-header .brand > span:last-child {
  align-items: center;
}

.tool-index .tool-site-header .brand small {
  margin-left: 18px;
  padding-left: 12px;
  color: #6f7275;
  font-size: 13px;
}

.tool-index .tool-site-header .site-nav {
  position: static;
  margin-left: auto;
  gap: 0;
  font-size: var(--home-type-body);
}

.tool-index .home-primary-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 34px;
  transform: translateX(-50%);
}

.tool-index .home-header-actions {
  display: flex;
  align-items: center;
  gap: var(--home-space-3);
}

.tool-index .tool-site-header .home-primary-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--home-space-1) 0;
  color: #282a2c;
  font-size: var(--home-type-body);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.tool-index .tool-site-header .home-primary-nav > a.is-active::after {
  bottom: 5px;
  height: 3px;
  border-radius: 4px;
  background: #a9df4d;
}

.tool-index .home-header-search {
  flex: 0 1 265px;
  height: 39px;
  min-width: 190px;
  margin-left: auto;
  padding: 0 15px;
  gap: 11px;
  border: 0;
  border-radius: 24px;
  background: #f6f6f6;
}

.tool-index .home-header-search span {
  color: #444;
  font-size: 12px;
}

.tool-index .tool-site-header .site-nav .nav-pill {
  top: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #282a2c;
  font-size: var(--home-type-body);
  font-weight: 600;
}

.tool-index .tool-site-header .home-header-actions > .home-header-member {
  min-height: 44px;
  padding: 11px 25px;
  border-radius: 24px;
  background: var(--reference-accent);
  box-shadow: 0 2px 7px rgba(184, 239, 89, .3);
  font-size: var(--home-type-ui);
  line-height: 1.5;
  white-space: nowrap;
}

.tool-index .language-switch {
  margin-left: 0;
}

.tool-index .home-hero,
.tool-index .home-hero:has(.home-hero-qr:not([hidden])) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  height: 440px;
  margin-bottom: var(--home-space-4);
  background: #fbfaf8;
}

.tool-index .home-hero::before {
  display: none;
}

.tool-index .home-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, #fbfaf8 0%, rgba(251, 250, 248, .98) 30%, rgba(251, 250, 248, .65) 43%, rgba(251, 250, 248, .15) 55%, transparent 65%);
  content: "";
  pointer-events: none;
}

.tool-index .home-hero-copy {
  width: min(600px, 51vw);
  margin-left: max(calc((100vw - 1416px) / 2), 4.8%);
  padding: var(--home-space-5) 0;
}

.tool-index .home-hero-kicker {
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 15px;
  background: #f4f9e9;
  color: #4a621f;
  font-size: var(--home-type-caption);
  line-height: 20px;
}

.tool-index .home-hero-kicker i {
  color: #98cc42;
  margin-right: 8px;
}

.tool-index .home-hero-copy h1 {
  margin: var(--home-space-2) 0 var(--home-space-3);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.tool-index .home-hero-copy h1 em {
  color: var(--reference-lime);
}

.tool-index .home-hero-copy p {
  max-width: 560px;
  margin: 0;
  color: #686d73;
  font-size: var(--home-type-body);
  line-height: 1.75;
  white-space: normal;
}

.tool-index .home-hero-actions {
  gap: var(--home-space-2);
  margin-top: var(--home-space-4);
}

.tool-index .home-hero-primary,
.tool-index .home-hero-secondary {
  height: 48px;
  min-height: 48px;
  padding: 0 29px;
  border-radius: 26px;
  font-size: var(--home-type-ui);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.tool-index .home-hero-primary {
  border-color: var(--reference-accent);
  background: var(--reference-accent);
  box-shadow: 0 3px 10px rgba(163, 216, 84, .33);
}

.tool-index .home-hero-primary:hover,
.tool-index .home-hero-primary:focus-visible {
  background: #a8df43;
}

.tool-index .home-hero-secondary {
  border-color: #ddd;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .04);
}

.tool-index .home-hero-media {
  inset: 0 0 0 36%;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .4) 12%, #000 32%);
}

.tool-index .home-hero-image {
  object-position: center 51%;
  filter: saturate(.82);
}

.tool-index .reference-scribble,
.tool-index .reference-scribble-small {
  position: absolute;
  z-index: 2;
  color: #ed792b;
  font-weight: 700;
  pointer-events: none;
}

.tool-index .reference-scribble {
  top: 64px;
  left: 54%;
  font-size: 33px;
  line-height: 1.15;
  transform: rotate(-12deg);
}

.tool-index .reference-scribble::after {
  display: block;
  width: 164px;
  height: 13px;
  margin: 6px 0 0 4px;
  border-top: 2px solid #ed792b;
  border-radius: 50%;
  content: "";
  transform: rotate(-8deg);
}

.tool-index .reference-scribble-small {
  right: 1%;
  bottom: 32px;
  font-size: 19px;
  line-height: 1.25;
  transform: rotate(-12deg);
}

.tool-index .home-hero-qr {
  top: 50%;
  right: 3.5%;
  width: 168px;
  min-height: 214px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0;
  text-align: center;
  padding: 17px 10px;
  border: 0;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
  transform: translateY(-50%);
}

.tool-index .home-hero-qr strong {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.tool-index .mini-planet {
  display: inline-block;
  width: 19px;
  height: 12px;
  border: 1px solid #222;
  border-radius: 50%;
  background: #b7ec54;
  transform: rotate(-20deg);
}

.tool-index .home-hero-qr p {
  margin: 12px 0;
  color: #555;
  font-size: var(--home-type-caption);
  line-height: 1.6;
}

.tool-index .home-hero-qr img {
  display: block;
  width: 120px;
  height: 120px;
  padding: 0;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #eee;
}

.tool-index .home-hero-qr small {
  margin-top: var(--home-space-1);
  font-size: var(--home-type-caption);
  font-weight: 500;
  line-height: 1.6;
}

.tool-index .home-hero-qr-code[hidden],
.tool-index .home-hero-qr-empty[hidden] {
  display: none;
}

.tool-index .home-hero-qr-empty {
  display: grid;
  width: 90px;
  height: 90px;
  align-content: center;
  border-radius: 8px;
  background: #f4f6ef;
  color: #59644b;
  font-size: 12px;
  line-height: 1.7;
}

.tool-index .home-course-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 260px;
  max-width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #e5eae4;
  border-radius: 22px;
  background: #f6f7f5;
  color: #59634f;
}

.tool-index .home-filter-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.tool-index .home-filter-tools .tool-filter-result {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}

.tool-index .home-course-search:focus-within {
  outline: 2px solid #699c26;
  outline-offset: 2px;
}

.tool-index .home-course-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #283022;
  font: inherit;
  font-size: 14px;
}

.tool-index .home-course-search input::placeholder {
  color: #65705f;
}

@media (min-width: 980px) and (max-width: 1350px) {
  .tool-index .tool-site-header .brand {
    min-width: 0;
  }

  .tool-index .tool-site-header .brand small {
    display: none;
  }

  .tool-index .tool-site-header .site-nav {
    gap: 0;
  }

  .tool-index .home-header-actions {
    gap: var(--home-space-2);
  }

  .tool-index .home-primary-nav {
    gap: 26px;
  }

  .tool-index .tool-site-header .home-primary-nav > a {
    font-size: var(--home-type-ui);
  }
}

@media (max-width: 979px) {
  .tool-index .tool-site-header {
    height: 64px;
    min-height: 64px;
    padding-inline: 20px;
  }

  .tool-index .tool-site-header .brand strong {
    font-size: 26px;
  }

  .tool-index .tool-site-header .site-nav {
    position: fixed;
    inset: 64px 0 auto;
    z-index: 19;
    display: grid;
    justify-content: stretch;
    align-self: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--home-line);
    background: #fff;
    transform: translateY(-130%);
    inset-block-start: 64px;
    max-height: calc(100dvh - 64px);
    overflow: auto;
    visibility: hidden;
    pointer-events: none;
  }

  .tool-index .home-primary-nav {
    position: static;
    display: grid;
    gap: 0;
    transform: none;
  }

  .tool-index .tool-site-header .home-primary-nav > a {
    min-height: 48px;
    border-top: 1px solid #eff1ed;
  }

  .tool-index .home-header-actions {
    justify-content: space-between;
    gap: var(--home-space-2);
    margin-top: var(--home-space-1);
    padding-top: var(--home-space-2);
    border-top: 1px solid var(--home-line);
  }

  .tool-index .tool-site-header .home-header-member {
    margin: 0;
  }

  .tool-index.menu-open .tool-site-header .site-nav {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .tool-index .tool-site-header .menu-toggle {
    display: block;
    position: static;
    align-self: center;
    margin: 0;
  }
}

.tool-index .home-shortcuts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--home-space-2);
  width: min(calc(100% - 48px), 1152px);
  margin: var(--home-space-1) auto var(--home-space-4);
}

.tool-index .home-shortcut {
  height: auto;
  min-height: 108px;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  gap: var(--home-space-2);
  padding: var(--home-space-2);
  border-color: #e8e8e6;
  border-radius: 15px;
  box-shadow: none;
}

.tool-index .home-shortcut-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0f9df;
  color: #49821d;
  font-size: 27px;
}

.tool-index .home-shortcut-mark i {
  font-size: 22px;
}

.tool-index .home-shortcut-copy {
  gap: 0;
}

.tool-index .home-shortcut-copy strong {
  margin-bottom: 6px;
  font-size: var(--home-type-body);
  line-height: 1.5;
  white-space: normal;
}

.tool-index .home-shortcut-copy small {
  color: #777c80;
  font-size: var(--home-type-ui);
  line-height: 1.6;
}

.tool-index .home-shortcut-state {
  margin-left: 7px;
  padding: 2px 5px;
  border-radius: 8px;
  background: #8bc63b;
  color: #fff;
  font-size: 9px;
  vertical-align: 2px;
}

.tool-index .home-shortcut-arrow {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #8ac24d;
  border-radius: 50%;
  color: #5b9d25;
  font-size: 17px;
  line-height: 1;
}

@media (max-width: 1200px) {
  .tool-index .tool-site-header .brand {
    min-width: 0;
  }

  .tool-index .tool-site-header .site-nav {
    gap: 0;
    font-size: 14px;
  }

  .tool-index .tool-site-header .site-nav .nav-pill {
    font-size: 14px;
  }

  .tool-index .tool-site-header .home-header-actions > .home-header-member {
    padding-inline: 18px;
    font-size: 14px;
  }

  .tool-index .home-hero-copy {
    margin-left: 5%;
  }

  .tool-index .home-hero-copy h1 {
    font-size: 48px;
  }

  .tool-index .home-shortcuts {
    margin-inline: auto;
    width: min(calc(100% - 48px), 1152px);
  }

  .tool-index .community-invite {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: var(--home-space-3);
  }

  .tool-index .community-join-card {
    grid-template-columns: 56px minmax(0, 1fr) 128px;
    gap: var(--home-space-2);
    padding: 12px 16px;
  }

  .tool-index .community-join-mark {
    width: 56px;
    height: 56px;
    font-size: 32px;
  }

  .tool-index .community-invite-qr,
  .tool-index .community-qr-frame,
  .tool-index .community-join-empty {
    width: 128px;
    height: 128px;
  }

  .tool-index .community-qr-frame img {
    width: 112px;
    height: 112px;
  }

  .tool-index .community-invite-stats h3 {
    font-size: 20px;
  }

  .tool-index .home-shortcut {
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: var(--home-space-2);
  }

  .tool-index .home-shortcut-mark {
    width: 48px;
    height: 48px;
  }

  .tool-index .home-shortcut-copy strong {
    font-size: var(--home-type-body);
  }

  .tool-index .home-shortcut-copy small {
    font-size: var(--home-type-ui);
  }
}

@media (max-width: 850px) {
  .tool-index {
    --home-type-section: 28px;
  }

  .tool-index .community-invite {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--home-space-3);
    margin-top: var(--home-space-5);
    padding: var(--home-space-3) 0;
  }

  .tool-index .community-invite-heading {
    grid-column: 1;
  }

  .tool-index .community-people-art {
    display: block;
    grid-column: 1;
    grid-row: 3;
    width: min(100%, 280px);
    justify-self: center;
  }

  .tool-index .tool-site-header .brand {
    min-width: 0;
  }

  .tool-index .tool-site-header .site-nav {
    gap: 0;
  }

  .tool-index .home-hero,
  .tool-index .home-hero:has(.home-hero-qr:not([hidden])) {
    height: 600px;
  }

  .tool-index .home-hero-media {
    inset: 250px 0 0;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 18%, #000 42%);
  }

  .tool-index .home-hero::after {
    background: linear-gradient(180deg, #fbfaf8 0%, rgba(251, 250, 248, .98) 40%, rgba(251, 250, 248, .4) 60%, transparent 80%);
  }

  .tool-index .home-hero-copy {
    width: calc(100% - 40px);
    margin-left: 22px;
    align-self: start;
    padding: var(--home-space-4) 0 0;
  }

  .tool-index .home-hero-copy h1 {
    font-size: 40px;
  }

  .tool-index .home-hero-copy p {
    white-space: normal;
  }

  .tool-index .home-hero-actions {
    gap: 10px;
    margin-top: var(--home-space-3);
    flex-wrap: nowrap;
  }

  .tool-index .home-hero-primary,
  .tool-index .home-hero-secondary {
    padding-inline: 16px;
    font-size: 12px;
    white-space: nowrap;
  }

  .tool-index .reference-scribble,
  .tool-index .reference-scribble-small,
  .tool-index .home-hero-qr {
    display: none;
  }

  .tool-index .home-shortcuts {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin: var(--home-space-3) 0 var(--home-space-4);
    gap: var(--home-space-2);
  }

  .tool-index .home-shortcut {
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    height: auto;
    min-height: 104px;
    padding: var(--home-space-2);
    gap: 10px;
    border-radius: 11px;
  }

  .tool-index .home-shortcut-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 22px;
  }

  .tool-index .home-shortcut-mark i {
    font-size: 21px;
  }

  .tool-index .home-shortcut-copy strong {
    margin-bottom: 5px;
    font-size: var(--home-type-body);
  }

  .tool-index .home-shortcut-copy small {
    font-size: var(--home-type-ui);
  }

  .tool-index .home-shortcut-arrow {
    display: grid;
  }
}

@media (max-width: 440px) {
  .tool-index .community-invite-heading > span {
    gap: 12px;
    font-size: 11px;
  }

  .tool-index .community-invite-heading > span::before {
    width: 24px;
  }

  .tool-index .community-invite-heading p {
    font-size: var(--home-type-ui);
  }

  .tool-index .community-join-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: var(--home-space-2);
  }

  .tool-index .community-join-mark {
    width: 44px;
    height: 44px;
    font-size: 27px;
  }

  .tool-index .community-invite-stats h3 {
    font-size: 18px;
  }

  .tool-index .community-invite-qr,
  .tool-index .community-join-empty {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    width: 140px;
    height: 140px;
  }

  .tool-index .community-qr-frame {
    width: 140px;
    height: 140px;
  }

  .tool-index .community-qr-frame img {
    width: 124px;
    height: 124px;
  }

  .tool-index .home-hero-copy h1 {
    font-size: 36px;
  }

  .tool-index .home-hero-actions {
    flex-wrap: wrap;
  }

  .tool-index .home-shortcuts {
    grid-template-columns: 1fr;
  }

  .tool-index .home-shortcut {
    height: auto;
    min-height: 104px;
  }
}

@media (max-width: 680px) {
  .tool-index .home-filter-tools {
    grid-column: 1;
    width: 100%;
  }

  .tool-index .home-filter-tools .home-course-search {
    flex: 1 1 0;
    min-width: 0;
  }
}

.tool-index .home-hero,
.tool-index .home-hero:has(.home-hero-qr:not([hidden])) {
  display: block;
  position: relative;
  height: 620px;
  margin: 0;
  padding: 64px 20px 0;
  overflow: hidden;
  background-color: #fff;
  background-image:
    linear-gradient(#e9e9e9 1px, transparent 1px),
    linear-gradient(90deg, #e9e9e9 1px, transparent 1px);
  background-size: 63px 63px;
}

.tool-index .home-hero::before,
.tool-index .home-hero::after {
  display: none;
}

.tool-index .home-hero-copy {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.tool-index .home-hero-copy h1 {
  margin: 0 auto 38px;
  color: #111;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

.tool-index .home-hero-copy h1 > span {
  display: block;
}

.tool-index .home-hero-copy h1 .home-hero-accent {
  display: inline;
  position: relative;
  z-index: 0;
  color: inherit;
}

.tool-index .home-hero-copy h1 .home-hero-accent::after {
  position: absolute;
  z-index: -1;
  right: -2px;
  bottom: 3px;
  left: -2px;
  height: 9px;
  background: #d9ff27;
  content: "";
  transform: rotate(-1deg);
}

.tool-index .home-hero-actions {
  justify-content: center;
  margin: 0;
}

.tool-index .home-hero-primary {
  height: 52px;
  min-height: 52px;
  padding: 0 27px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #111;
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.tool-index .home-hero-primary:hover,
.tool-index .home-hero-primary:focus-visible {
  border-color: #292929;
  background: #292929;
  color: #fff;
}

.tool-index .home-hero-showcase {
  position: relative;
  width: min(790px, 100%);
  height: 360px;
  margin: 76px auto 0;
}

.tool-index .home-hero-showcase-card {
  position: absolute;
  --showcase-side-offset: 16vw;
  height: 350px;
  padding: 0;
  border: 7px solid #fff;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .13);
  cursor: pointer;
  overflow: hidden;
  /* Switch the stacking order as the eased card paths cross, not after they have separated. */
  transition:
    transform .9s cubic-bezier(.4, 0, .2, 1),
    width .9s cubic-bezier(.4, 0, .2, 1),
    height .9s cubic-bezier(.4, 0, .2, 1),
    top .9s cubic-bezier(.4, 0, .2, 1),
    z-index 0s linear .34s;
  transform-origin: center bottom;
  will-change: transform, width, height, top;
  backface-visibility: hidden;
}

.tool-index .home-hero-showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.tool-index .home-hero-showcase-card--poster img {
  position: absolute;
  inset: 0 0 auto;
  height: min(100%, 220px);
  object-fit: contain;
  object-position: center;
  background: #fdfcf8;
}

.tool-index .home-hero-showcase-card:focus-visible {
  outline: 3px solid #acd931;
  outline-offset: 4px;
}

.tool-index .home-hero-showcase-card[data-position="center"] {
  z-index: 4;
  top: 0;
  left: 50%;
  width: 300px;
  transform: translate3d(-50%, 0, 0) rotate(0deg) scale(1);
}

.tool-index .home-hero-showcase-card[data-position="left"],
.tool-index .home-hero-showcase-card[data-position="right"] {
  z-index: 1;
  top: 34px;
  width: 370px;
  height: 330px;
  transform: translate3d(calc(-50% - var(--showcase-side-offset)), -24px, 0) rotate(-3deg) scale(.92);
}

.tool-index .home-hero-showcase-card[data-position="right"] {
  z-index: 2;
  transform: translate3d(calc(-50% + var(--showcase-side-offset)), -24px, 0) rotate(3deg) scale(.92);
}

.tool-index .home-hero-showcase-card[data-position="left"],
.tool-index .home-hero-showcase-card[data-position="center"],
.tool-index .home-hero-showcase-card[data-position="right"] {
  left: 50%;
}

.tool-index .home-trust {
  position: relative;
  z-index: 3;
  margin: -1px auto 0;
  padding: 34px 24px 42px;
  background: #fff;
  color: #777;
  text-align: center;
}

.tool-index .home-trust p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.tool-index .home-trust-tools {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 46px;
  width: min(100%, 1000px);
  margin: 34px auto 0;
}

.tool-index .home-trust-tools span {
  color: #777;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 850px) {
  .tool-index .home-hero,
  .tool-index .home-hero:has(.home-hero-qr:not([hidden])) {
    height: 550px;
    padding: 54px 18px 0;
  }

  .tool-index .home-hero-copy h1 {
    margin-bottom: 28px;
    font-size: 42px;
    line-height: 1.25;
  }

  .tool-index .home-hero-showcase {
    width: min(600px, 100%);
    height: 290px;
    margin-top: 66px;
  }

  .tool-index .home-hero-showcase-card {
    --showcase-side-offset: 16vw;
    height: 270px;
    border-width: 5px;
    border-radius: 14px;
  }

  .tool-index .home-hero-showcase-card[data-position="center"] {
    width: min(240px, 48vw);
  }

  .tool-index .home-hero-showcase-card[data-position="left"],
  .tool-index .home-hero-showcase-card[data-position="right"] {
    top: 26px;
    width: min(290px, 58vw);
    height: 245px;
    transform: translate3d(calc(-50% - var(--showcase-side-offset)), -18px, 0) rotate(-3deg) scale(.92);
  }

  .tool-index .home-hero-showcase-card[data-position="right"] {
    transform: translate3d(calc(-50% + var(--showcase-side-offset)), -18px, 0) rotate(3deg) scale(.92);
  }

  .tool-index .home-trust {
    padding: 28px 18px 34px;
  }

  .tool-index .home-trust-tools {
    gap: 18px 28px;
    margin-top: 26px;
  }

  .tool-index .home-trust-tools span {
    font-size: 18px;
  }
}

@media (max-width: 440px) {
  .tool-index .home-hero,
  .tool-index .home-hero:has(.home-hero-qr:not([hidden])) {
    height: 500px;
    padding-top: 48px;
  }

  .tool-index .home-hero-copy h1 {
    margin-bottom: 24px;
    font-size: 35px;
  }

  .tool-index .home-hero-primary {
    height: 48px;
    min-height: 48px;
    font-size: 13px;
  }

  .tool-index .home-hero-showcase {
    width: calc(100% + 36px);
    height: 250px;
    margin-top: 58px;
    margin-left: -18px;
  }

  .tool-index .home-hero-showcase-card {
    --showcase-side-offset: 16vw;
    height: 235px;
  }

  .tool-index .home-hero-showcase-card[data-position="center"] {
    width: 190px;
  }

  .tool-index .home-hero-showcase-card[data-position="left"],
  .tool-index .home-hero-showcase-card[data-position="right"] {
    top: 24px;
    width: 235px;
    height: 215px;
    transform: translate3d(calc(-50% - var(--showcase-side-offset)), -16px, 0) rotate(-3deg) scale(.92);
  }

  .tool-index .home-hero-showcase-card[data-position="right"] {
    transform: translate3d(calc(-50% + var(--showcase-side-offset)), -16px, 0) rotate(3deg) scale(.92);
  }

  .tool-index .home-trust-tools {
    gap: 15px 20px;
  }

  .tool-index .home-trust-tools span {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-index .home-hero-showcase-card {
    transition: none;
  }
}

/* UXfolio-inspired entrance, count-up and continuous tool marquee. */
.tool-index [data-home-hero-motion].motion-ready [data-hero-copy] {
  animation: home-hero-copy-in .72s cubic-bezier(.22, .8, .24, 1) .08s forwards;
}

.tool-index [data-home-hero-motion].motion-ready [data-hero-actions] {
  animation: home-hero-actions-in .62s cubic-bezier(.22, .8, .24, 1) .3s forwards;
}

.tool-index [data-home-hero-motion].motion-ready .home-hero-showcase-card {
  animation: home-showcase-card-in .8s cubic-bezier(.22, .8, .24, 1) forwards;
}

.tool-index [data-home-hero-motion].motion-ready .home-hero-showcase-card:nth-child(1) {
  animation-delay: .18s;
}

.tool-index [data-home-hero-motion].motion-ready .home-hero-showcase-card:nth-child(2) {
  animation-delay: .08s;
}

.tool-index [data-home-hero-motion].motion-ready .home-hero-showcase-card:nth-child(3) {
  animation-delay: .28s;
}

.tool-index .home-hero-primary span {
  display: inline-block;
  margin-left: 4px;
  animation: home-arrow-nudge 2.2s ease-in-out 1.2s infinite;
}

.tool-index .home-trust-counter {
  display: inline-block;
  min-width: 4ch;
  color: #1d261f;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.tool-index .home-trust-tools {
  display: block;
  width: min(100%, 1200px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.tool-index .home-trust-track {
  display: flex;
  align-items: center;
  --home-tool-gap: clamp(34px, 5vw, 80px);
  gap: 0;
  width: max-content;
  padding: 0;
  animation: home-tool-marquee 84s linear infinite;
  will-change: transform;
}

.tool-index .home-trust-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--home-tool-gap);
  padding-right: var(--home-tool-gap);
}

.tool-index .home-trust-track span {
  flex: 0 0 auto;
}

@keyframes home-hero-copy-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-hero-actions-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes home-showcase-card-in {
  from { opacity: 0; filter: blur(5px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes home-arrow-nudge {
  0%, 70%, 100% { transform: translateX(0); }
  78% { transform: translateX(4px); }
  86% { transform: translateX(0); }
}

@keyframes home-tool-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 850px) {
  .tool-index .home-trust-track {
    --home-tool-gap: 34px;
    animation-duration: 72s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-index [data-home-hero-motion].motion-ready [data-hero-copy],
  .tool-index [data-home-hero-motion].motion-ready [data-hero-actions],
  .tool-index [data-home-hero-motion].motion-ready .home-hero-showcase-card,
  .tool-index .home-hero-primary span,
  .tool-index .home-trust-track {
    animation: none;
  }

  .tool-index .home-trust-tools {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .tool-index .home-trust-track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    transform: none;
  }

  .tool-index .home-trust-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 28px;
    width: 100%;
    padding: 0;
  }

  .tool-index .home-trust-group[aria-hidden="true"] { display: none; }

  .tool-index .home-trust-track span[aria-hidden="true"] {
    display: none;
  }
}

/* Reference-inspired motion for community feedback, membership pricing and CTA buttons. */
.tool-index .home-membership-stage {
  position: relative;
  isolation: isolate;
  padding-top: 42px;
}

.tool-index .home-testimonial-grid {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 4px 0 10px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.tool-index .home-testimonial-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: home-testimonial-marquee 48s linear infinite;
  will-change: transform;
}

.tool-index .home-testimonial-track-copy {
  display: flex;
  align-items: stretch;
}

.tool-index .home-testimonial-card {
  flex: 0 0 clamp(276px, 28vw, 330px);
  min-height: 218px;
  margin: 0 8px;
}

.tool-index .home-membership-offer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), 980px);
  margin-top: 0;
  transform: translateZ(0) scale(1);
  transition: transform 1100ms cubic-bezier(.18, .8, .25, 1), box-shadow 1100ms ease;
  will-change: transform;
}

.tool-index .home-membership-offer:hover,
.tool-index .home-membership-offer:focus-within,
.tool-index .home-membership-offer.is-in-view {
  transform: translateZ(0) scale(1.008);
  box-shadow: 0 22px 56px rgba(65, 101, 31, .11);
}

.tool-index .home-membership-copy,
.tool-index .home-membership-price {
  padding: 34px 36px;
}

.tool-index .home-membership-copy h2 {
  font-size: 32px;
}

.tool-index .home-membership-price strong {
  font-size: 48px;
}

.tool-index .home-membership-grid {
  position: absolute;
  inset: -126px 0 -110px;
  z-index: 0;
  width: 100%;
  height: auto;
  margin: 0;
  background-image: linear-gradient(rgba(65, 101, 31, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(65, 101, 31, .14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .3;
  -webkit-mask-image: radial-gradient(ellipse 62% 120% at 50% 50%, transparent 0 22%, rgba(0, 0, 0, .2) 46%, #000 82%), linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  mask-image: radial-gradient(ellipse 62% 120% at 50% 50%, transparent 0 22%, rgba(0, 0, 0, .2) 46%, #000 82%), linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
}

.tool-index .home-reference-join {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateY(0);
  animation: home-button-breathe 2s cubic-bezier(.4, 0, .2, 1) infinite;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.tool-index .home-reference-join::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .48) 47%, transparent 72%);
  content: "";
  opacity: 0;
  transform: translateX(-130%);
  animation: home-button-sweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

.tool-index .home-reference-join:hover,
.tool-index .home-reference-join:focus-visible {
  transform: translateY(-2px);
}

.tool-index .home-reference-join:active {
  transform: translateY(2px);
}

@keyframes home-testimonial-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes home-button-breathe {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.035); }
}

@keyframes home-button-sweep {
  0%, 10%, 70%, 100% { opacity: 0; transform: translateX(-130%); }
  16% { opacity: .72; }
  62% { opacity: .72; transform: translateX(130%); }
  66% { opacity: 0; transform: translateX(130%); }
}

.tool-index .home-faq-section {
  width: min(calc(100% - 64px), 900px);
  scroll-margin-top: 96px;
}

.tool-index .home-faq-grid {
  max-width: 860px;
}

.tool-index .home-faq-item {
  min-height: 122px;
  padding: 22px;
}

.tool-index .home-featured-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
  margin-bottom: 26px;
}
.tool-index .home-featured-head h2,
.tool-index .home-community-feedback .home-section-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--home-ink);
  font-size: 28px;
  font-weight: 750;
  line-height: 1.4;
}
.tool-index .home-community-feedback {
  width: 100%;
}
.tool-index .home-featured-head > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
  white-space: nowrap;
}
.tool-index .home-featured-head > a:hover { color: var(--home-ink); }
.tool-index [data-course-grid] { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-top: 0; }
@media (max-width: 1100px) {
  .tool-index [data-course-grid] { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .tool-index .home-featured-head { margin-top: 30px; margin-bottom: 20px; gap: 12px; }
  .tool-index .home-featured-head h2,
  .tool-index .home-community-feedback .home-section-heading h2 { gap: 9px; font-size: 23px; }
  .tool-index .home-featured-head > a { font-size: 13px; }
  .tool-index [data-course-grid] { grid-template-columns: minmax(0,1fr); gap: 20px; }
}

@media (max-width: 640px) {
  .tool-index .home-testimonial-card {
    flex-basis: min(78vw, 300px);
    min-height: 190px;
    margin-right: 6px;
    margin-left: 6px;
    padding: 20px;
  }

  .tool-index .home-membership-offer {
    width: min(calc(100% - 36px), 980px);
  }

  .tool-index .home-membership-stage {
    padding-top: 34px;
  }

  .tool-index .home-membership-copy,
  .tool-index .home-membership-price {
    padding: 30px 22px;
  }

  .tool-index .home-membership-copy h2 {
    font-size: 32px;
  }

  .tool-index .home-membership-price strong {
    font-size: 50px;
  }

  .tool-index .home-membership-grid {
    inset: -96px 0 -86px;
  }

  .tool-index .home-faq-section {
    width: calc(100% - 48px);
  }

  .tool-index .home-faq-grid {
    max-width: none;
  }

  .tool-index .home-faq-item {
    min-height: 0;
    padding: 20px 18px;
  }

  .tool-index .tool-filter-area {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-index .tool-site-header {
    transition: none;
    will-change: auto;
  }

  .tool-index .home-testimonial-track {
    animation: none;
    transform: none;
  }

  .tool-index .home-membership-offer {
    transition: none;
  }

  .tool-index .home-membership-offer:hover,
  .tool-index .home-membership-offer:focus-within,
  .tool-index .home-membership-offer.is-in-view {
    transform: none;
    box-shadow: 0 18px 50px rgba(29, 39, 31, .08);
  }

  .tool-index .home-reference-join::before {
    display: none;
  }

  .tool-index .home-reference-join {
    animation: none;
  }
}
