/*
 * EXPERIMENT (24 Nov 2026): every turquoise TEXT on the site in the headline's moving colours (like .mhero-head).
 *
 * TO GO BACK: delete the line  <link rel="stylesheet" href="assets/css/gradient-text.css">  from the pages
 * (index.html, faq.html, challenge-rules.html, about.html, privacy.html, how-to-pay.html, how-to-stop-nail-biting.html,
 * link.html). Nothing else was changed: the original turquoise rules (color: var(--accent), #0d717e) are still in
 * style.css and home.css and come back by themselves.
 *
 * What this file turns into the moving colours (all of them were color: var(--accent)):
 *   .mhero-words .tg             the hero's rotating line (its words; home.js leaves an emoji outside, in its own colours)
 *   .step-head (+ its .steps-num) the numbered headings 4.–7. ("Pick your plan", "Join the plan", …)
 *   .steps-txt                   the step labels on the picture ("2. Send your: …", "3. Be evaluated …", "4. Pick your plan")
 *   .plans-reco                  "To start, we recommend the 2-week plan."
 *   .plans-lead strong
 *   .pay-howto                   "How do I pay with crypto? →"
 *   .mhero-plan a                "You can motivate yourself by picking a plan →"
 *   .rules-simply, .rules-big    the big sentences on the home page and the rules page ("Simply put: …")
 *   .h1-kicker                   the small line under some page titles
 *   .say-big                     sentences said big, heading-sized (how-to-pay.html: where to get Phantom, how to buy)
 *   main a:not([class]), .link   text links (their underline gets a fixed blue so it stays visible); not the
 *                                "💸 GET A DISCOUNT…" pill (.pay-nail-tip a): it is a button
 *
 * Kept turquoise on purpose: buttons and borders (not text), the 🔒 heading of "Your data and privacy" (an emoji
 * disappears inside moving-colour text), and the picture's arrows (they are drawn, not text).
 */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .mhero-words .tg, .step-head, .steps-txt, .plans-reco, .plans-lead strong, .pay-howto, .mhero-plan a,
  .rules-simply, .rules-big, .h1-kicker, .say-big, main a:not([class]):not(.pay-nail-tip a), main a.link {
    background: linear-gradient(100deg, #178a5a 0%, #0d8a94 20%, #2d63c8 40%, #6f45c4 58%, #c23a6b 76%, #c46a00 90%, #178a5a 100%) 0 50% / 135% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: text-flow 5.45s ease-in-out infinite alternate;     /* the headline's speed (home.css head-flow) */
  }
  main a:not([class]):not(.pay-nail-tip a), main a.link, .mhero-plan a { text-decoration-color: #2d63c8; }
  .plans-reco strong { -webkit-text-fill-color: var(--ink); color: var(--ink); }   /* "2-week plan" stays dark, as before */
}
@keyframes text-flow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) {
  .mhero-words .tg, .step-head, .steps-txt, .plans-reco, .plans-lead strong, .pay-howto, .mhero-plan a,
  .rules-simply, .rules-big, .h1-kicker, .say-big, main a:not([class]):not(.pay-nail-tip a), main a.link { animation: none; }
}
