/* Text version of the /order/ walk-through (order/text/…), on top of css/text.css.
 * The animated page is the main way in, so a sticky button in its gradient green follows
 * the reader down the page; it stays clear of the chat button at the bottom right. */

body { padding-bottom: 120px; }
.toc { padding: 12px 18px; }
.aside { margin: 12px 0; padding: 12px 14px; border: 1px solid rgba(255, 92, 120, 0.35); border-radius: 12px; background: rgba(255, 92, 120, 0.07); }
.aside small { color: var(--ink-2); font-size: 13.5px; }
h4 { margin: 18px 0 4px; font-size: 14px; letter-spacing: 0.03em; color: #d8ff7a; }
.facts { padding-left: 1.2em; }
.facts li { margin: 6px 0; }
.steps { padding-left: 1.4em; }
.steps > li::marker { color: #b8ff5c; font-weight: 700; }
.steps h3 { margin-top: 22px; }

.open-anim {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 32px);
  min-height: 60px;
  padding: 9px 20px 9px 10px;
  border-radius: 999px;
  background: linear-gradient(100deg, #6ff7ff 0%, #b8ff5c 55%, #e9ff7a 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 14px 40px -10px rgba(184, 255, 92, 0.65), 0 4px 18px rgba(0, 0, 0, 0.45);
  color: #051a0b;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s cubic-bezier(.34, 1.56, .64, 1);
}
.open-anim:hover { color: #051a0b; transform: translateX(-50%) translateY(-2px) scale(1.02); }
.open-anim:active { transform: translateX(-50%) scale(0.97); }
.open-anim::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.85) 45%, transparent 60%); transform: translateX(-120%); animation: oa-sheen 3.4s ease-in-out infinite; }
@keyframes oa-sheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.oa-play { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #051a0b; }
.oa-play::after { content: ""; position: absolute; left: 16px; top: 13px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #b8ff5c; }
.oa-play::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(5, 26, 11, 0.45); animation: oa-ring 2s ease-out infinite; }
@keyframes oa-ring { from { transform: scale(0.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.oa-t { display: grid; line-height: 1.25; }
.oa-t b { color: #051a0b; font-size: 17px; font-weight: 900; letter-spacing: 0.03em; }
.oa-t small { font-size: 12.5px; font-weight: 600; opacity: 0.78; }
.oa-arrow { font-size: 26px; font-weight: 900; line-height: 1; margin-left: 2px; }
/* Phones: the chat button sits bottom right, so the bar starts at the left and stops short of it. */
@media (max-width: 560px) {
  .open-anim { left: 16px; right: 88px; transform: none; width: auto; max-width: none; }
  .open-anim:hover { transform: translateY(-2px); }
  .open-anim:active { transform: scale(0.97); }
  .oa-t b { font-size: 16px; }
  .oa-t small { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .open-anim::before, .oa-play::before { animation: none; display: none; }
}
