/*
 * The landing's "Going live soon" panel (owner 11 Nov; site/index.html, panel 5). Its own sheet, linked by the landing alone, because
 * landing.css sits at its 25 KB budget. Four phone shots in a row (a swipeable strip on a phone), then the three steps to launch.
 */
.soon { display: grid; gap: clamp(20px, 3.5vh, 36px); }
.soon .tk-lead { max-width: 58ch; }
.soon-shots { list-style: none; margin: 0; padding: 0 0 8px; display: flex; gap: clamp(12px, 2vw, 28px); overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; }
.soon-shots::-webkit-scrollbar { display: none; }
.soon-shots li { flex: none; display: grid; gap: 10px; justify-items: start; scroll-snap-align: start; }
.soon-shots img { display: block; width: clamp(140px, 17vh, 200px); height: auto; border-radius: 24px; border: 6px solid var(--tk-ink); background: var(--tk-ink);
  box-shadow: 0 24px 48px -20px rgba(11, 12, 10, 0.45); }
.soon-shots span { font-family: var(--font-figure); font-size: 13px; letter-spacing: 0.04em; color: var(--tk-muted-l); }
.soon-steps { list-style: none; margin: 0; padding: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px;
  border-top: 1px solid rgba(11, 12, 10, 0.15); }
.soon-steps li { display: grid; gap: 6px; font-size: 15px; line-height: 1.45; max-width: 34ch; }
.soon-steps b { font-family: var(--font-figure); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tk-up-l); }
@media (min-width: 960px) { .soon-shots { overflow: visible; justify-content: space-between; } }
@media (max-width: 767px) { .soon-shots img { width: 168px; } .soon-steps { grid-template-columns: minmax(0, 1fr); } }

/* pre-deploy review (12 Nov): the takeover stack gives every panel one fixed screen with overflow hidden, which cut the launch steps off on a phone (390 x 844) and in a short frame. On those this panel is a plain, non-sticky one that grows to its content and scrolls; the next cover still slides over it. */
@media (max-width: 767px), (max-height: 820px) {
  .tk-armed #soon { position: relative; height: auto; min-height: 100vh; min-height: 100svh; overflow: visible; }
}

/*
 * The hero's turning word (owner 17 Nov; site/index.html, panel 1): "See how this impacted the price of" and then Stocks, Commodities, FX, Crypto in turn. Here, and not in landing.css, because
 * that sheet sits at its 25 KB budget. The four words share one grid cell, so the cell is as wide as the longest ("Commodities") and as tall as one line: the line never reflows as the word changes.
 * Each word is up for a quarter of 9.2 s (2.3 s: it slides in from below, rests, slides out above); the words are aria-hidden and the sentence is read once by the .visually-hidden copy. With no
 * motion preference (reduced motion) there is no animation: it rests on the first word, "Stocks".
 */
.tk-rot { display: inline-grid; overflow: clip; font-weight: 600; }
.tk-rot > b { grid-area: 1 / 1; font-weight: inherit; opacity: 0; }
.tk-rot > b:first-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .tk-rot > b { animation: tk-rot 9.2s ease infinite; }
  .tk-rot > b:nth-child(2) { animation-delay: 2.3s; }
  .tk-rot > b:nth-child(3) { animation-delay: 4.6s; }
  .tk-rot > b:nth-child(4) { animation-delay: 6.9s; }
}
@keyframes tk-rot { 0% { opacity: 0; transform: translateY(60%); } 5%, 20% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateY(-60%); } }

/* the takeover stack's sixth rest (landing.css owns the first five): Going live soon, one screen after Smart widgets */
@media (prefers-reduced-motion: no-preference) and (min-height: 700px) {
  .tk-tilt .tk-room i:nth-child(6) { top: calc(100% + 300svh); }
}
