/* Landing hero: the live agent console, cursor glow, grid floor, install command, and the tour video player.
   Everything here is scoped to .hero-main / .video-sec. Animated bits use transform/opacity only. */

/* ---------- Hero frame + background ---------- */
.hero-main { isolation: isolate; }
.hero-main .wrap { z-index: 1; padding-top: 76px; padding-bottom: 88px; gap: 56px; align-items: start; }
/* top-anchored (not centred) so a web-font swap in the text column cannot move the console */
@media (min-width: 901px) { .hero-art { margin-top: 64px; } }
.hero-main .iso { opacity: 1;
  background:
    radial-gradient(640px 320px at 82% 8%, var(--k-glow), transparent 70%),
    radial-gradient(460px 260px at 6% 96%, var(--k-glow-amber), transparent 70%),
    linear-gradient(var(--k-line) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(90deg, var(--k-line) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(color-mix(in srgb, var(--k-line) 45%, transparent) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, color-mix(in srgb, var(--k-line) 45%, transparent) 1px, transparent 1px) 0 0 / 24px 24px; }
/* scanlines */
.hero-main .iso::before { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(0, 0, 0, .09) 3px 4px); }
:root[data-theme="light"] .hero-main .iso { opacity: .6; }
:root[data-theme="light"] .hero-main .iso::before { background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(17, 38, 114, .03) 3px 4px); }
/* a slow scan beam sweeping down the hero */
.hero-main .iso::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; opacity: .3;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--k-indigo-hi) 14%, transparent) 85%, color-mix(in srgb, var(--k-indigo-hi) 40%, transparent) 99%, transparent);
  transform: translateY(-160px); animation: hm-beam 9s linear infinite; will-change: transform; }
@keyframes hm-beam { 0% { transform: translateY(-160px); } 70%, 100% { transform: translateY(900px); } }

/* cursor-follow glow (hero.js sets --hx/--hy on .hero-main; fine pointers only) */
.hero-glow { position: absolute; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; z-index: 0;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, var(--k-glow), color-mix(in srgb, var(--k-glow-amber) 30%, transparent) 55%, transparent);
  transform: translate3d(var(--hx, 50%), var(--hy, -600px), 0); transition: opacity .5s; will-change: transform; }
.hero-main.glow-on .hero-glow { opacity: .75; }

.hero-copy { min-width: 0; }
.hero-main .lede { max-width: 34em; }
.hero-main .actions { gap: 10px; }

/* ---------- Third button: the tour ---------- */
.btn-tour { color: var(--ts-text); padding: 0 16px 0 8px; border-color: transparent; background: transparent; }
.btn-tour:hover { color: var(--ts-text); border-color: var(--k-line); background: color-mix(in srgb, var(--ts-surface) 60%, transparent); }
.play-ic { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; color: #0B1433; background: var(--k-amber); box-shadow: 0 0 16px -2px var(--k-glow-amber);
  transition: transform .3s var(--k-ease-spring); }
.play-ic svg { width: 14px; height: 14px; margin-left: 2px; fill: currentColor; }
.play-ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--k-amber);
  opacity: 0; animation: hm-ring 2.4s var(--k-ease-out) infinite; }
.btn-tour:hover .play-ic { transform: scale(1.08); }
@keyframes hm-ring { 0% { opacity: .8; transform: scale(.85); } 70%, 100% { opacity: 0; transform: scale(1.45); } }

/* ---------- Install command ---------- */
.hero-cmd { margin-top: 22px; max-width: 540px; transition: border-color .3s, box-shadow .4s; }
.hero-cmd pre { padding: 12px 14px; font-size: .8125rem; line-height: 20px; align-self: center; }
.hero-cmd .copy { margin: 3px; min-height: 40px; width: 40px; align-self: center; }
.hero-cmd .sweep { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.hero-cmd .sweep::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(47, 227, 160, .32), rgba(255, 255, 255, .18) 55%, transparent);
  transform: translateX(-110%) skewX(-18deg); }
.hero-cmd:hover { border-color: rgba(136, 157, 231, .4); }
.hero-cmd:has(.copy.done) { border-color: rgba(47, 227, 160, .7);
  box-shadow: 0 0 0 3px rgba(47, 227, 160, .12), 0 0 32px -6px rgba(47, 227, 160, .55); }
.hero-cmd:has(.copy.done) .sweep::before { animation: hm-sweep .8s var(--k-ease-out); }
.hero-cmd:has(.copy.done) .prompt { color: #2FE3A0; }
@keyframes hm-sweep { 0% { opacity: 1; transform: translateX(-110%) skewX(-18deg); } 100% { opacity: 0; transform: translateX(260%) skewX(-18deg); } }

/* ---------- Facts + always-on teaser ---------- */
.hero-main .facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none;
  font: 400 .8125rem/1.5 var(--k-mono); color: var(--ts-text-muted); }
.hero-main .facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-main .facts li::before { content: "✓"; color: var(--k-mint); font-weight: 500; }
.hero-main .facts code.inline { font-size: .95em; }

.hero-always { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px;
  max-width: 540px; margin-top: 20px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ts-text);
  border: 1px dashed var(--k-line); background: color-mix(in srgb, var(--ts-surface) 55%, transparent);
  transition: border-color .2s, box-shadow .3s, background .2s; }
.hero-always:hover { color: var(--ts-text); border-style: solid; border-color: color-mix(in srgb, var(--k-mint) 60%, transparent);
  box-shadow: 0 0 24px -10px var(--k-mint); }
.ha-tag { grid-row: 1 / span 2; align-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px;
  border-radius: 6px; font: 500 .6875rem/1.4 var(--k-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--k-mint); border: 1px solid color-mix(in srgb, var(--k-mint) 45%, transparent);
  background: color-mix(in srgb, var(--k-mint) 10%, transparent); white-space: nowrap; }
.ha-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: k-pulse 2.2s ease-out infinite; }
.ha-txt { font-size: .875rem; line-height: 1.45; color: var(--ts-text-muted); }
.ha-arch { grid-column: 2; font: 400 .6875rem/1.4 var(--k-mono); letter-spacing: .05em; color: var(--ts-text-subtle); }
.ha-go { grid-column: 3; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--ts-text-subtle);
  transition: transform .25s var(--k-ease-spring), color .2s; }
.hero-always:hover .ha-go { transform: translateX(3px); color: var(--k-mint); }
/* "New in 0.4.10": the same link card as Always on, in amber. */
.hero-always.hero-new { margin-top: 10px; }
.hero-new .ha-tag { color: var(--k-amber); border-color: color-mix(in srgb, var(--k-amber) 45%, transparent);
  background: color-mix(in srgb, var(--k-amber) 10%, transparent); }
.hero-always.hero-new:hover { border-color: color-mix(in srgb, var(--k-amber) 60%, transparent); box-shadow: 0 0 24px -10px var(--k-amber); }
.hero-always.hero-new:hover .ha-go { color: var(--k-amber); }

/* ---------- The console ---------- */
.hero-art { position: relative; min-width: 0; }
/* "Illustration": the console is a drawing, not the real app */
.hero-cap { margin-top: 10px; text-align: right; font: 500 .6875rem/1.4 var(--k-mono); letter-spacing: .06em;
  color: var(--ts-text-subtle); }
.hero-art::before { content: ""; position: absolute; inset: 8% 4% -4%; z-index: -1; border-radius: 30px; pointer-events: none;
  background: radial-gradient(closest-side, var(--k-glow), transparent); filter: blur(10px); opacity: .8; }
.con { --t-fg: #E6EBFF; --t-dim: #96A2CB; --t-mint: #2FE3A0; --t-amber: #FFC15C; --t-ind: #8EA4FF;
  --t-line: rgba(136, 157, 231, .16);
  position: relative; overflow: hidden; border-radius: 14px; color: var(--t-fg);
  font: 400 12.5px/1.5 var(--k-mono); border: 1px solid transparent;
  background:
    linear-gradient(var(--k-term-bg), var(--k-term-bg)) padding-box,
    linear-gradient(145deg, rgba(111, 139, 255, .85), rgba(136, 157, 231, .14) 38%, rgba(136, 157, 231, .14) 66%, rgba(245, 165, 36, .7)) border-box;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7), 0 0 70px -24px var(--k-glow); }
.con::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(255, 255, 255, .02) 2px 3px),
    radial-gradient(120% 60% at 50% 0%, rgba(111, 139, 255, .10), transparent 60%); }
.con p, .con ul { margin: 0; padding: 0; list-style: none; }

.con-bar, .tour-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px;
  border-bottom: 1px solid rgba(136, 157, 231, .16); background: rgba(255, 255, 255, .025);
  font: 400 12px/1 var(--k-mono); color: #96A2CB; }
.con-dots { display: inline-flex; gap: 6px; flex: none; }
.con-dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; box-shadow: 0 0 6px rgba(255, 95, 87, .5); }
.con-dots i:nth-child(2) { background: #FEBC2E; box-shadow: 0 0 6px rgba(254, 188, 46, .5); }
.con-dots i:nth-child(3) { background: #28C840; box-shadow: 0 0 6px rgba(40, 200, 64, .5); }
.con-title { flex: 1; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.con-cnt { flex: none; color: var(--t-mint); font-variant-numeric: tabular-nums; }

.con-body { position: relative; display: grid; gap: 12px; padding: 16px; transition: opacity .45s; }
.con.fade .con-body { opacity: 0; }
.who { color: var(--t-amber); }
.who.k { color: var(--t-ind); }

/* voice row */
.con-voice { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 9px;
  border: 1px solid var(--t-line); background: rgba(111, 139, 255, .05); }
.mic { display: inline-flex; flex: none; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%;
  color: var(--t-dim); background: rgba(255, 255, 255, .05); transition: color .3s, background .3s, box-shadow .3s; }
.mic svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.con.listen .mic { color: #0B1433; background: var(--t-mint); box-shadow: 0 0 0 4px rgba(47, 227, 160, .15), 0 0 14px rgba(47, 227, 160, .6); }
.con-state { flex: none; width: 13ch; color: var(--t-dim); white-space: nowrap; overflow: hidden; }
.con.listen .con-state { color: var(--t-mint); }
.wave { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 2px; height: 22px; overflow: hidden; }
.wave i { flex: 0 1 3px; height: 100%; border-radius: 2px; background: linear-gradient(180deg, var(--t-mint), var(--t-ind));
  transform: scaleY(.1); opacity: .55; transition: transform .4s var(--k-ease-out), opacity .4s; }
.wave i:nth-child(7n+1) { --h: .35; --d: .9s; }
.wave i:nth-child(7n+2) { --h: .8;  --d: .62s; }
.wave i:nth-child(7n+3) { --h: .55; --d: .75s; }
.wave i:nth-child(7n+4) { --h: 1;   --d: .52s; }
.wave i:nth-child(7n+5) { --h: .45; --d: .83s; }
.wave i:nth-child(7n+6) { --h: .7;  --d: .58s; }
.wave i:nth-child(7n)   { --h: .3;  --d: .7s; }
.wave i:nth-child(3n) { animation-delay: -.25s; }
.wave i:nth-child(4n) { animation-delay: -.4s; }
.con.listen .wave i { opacity: 1; animation: hm-wave var(--d) ease-in-out infinite alternate; }
@keyframes hm-wave { from { transform: scaleY(.12); } to { transform: scaleY(var(--h)); } }
.con-clock { flex: none; color: var(--t-dim); font-variant-numeric: tabular-nums; }

/* typed request */
.con-req { font-size: 13.5px; line-height: 1.5; color: #fff; min-height: 3em; }
.ghost { color: transparent; }
.caret { position: relative; }
.caret::after { content: ""; position: absolute; left: 1px; bottom: -.22em; width: 7px; height: 1.15em; background: var(--t-amber);
  box-shadow: 0 0 8px var(--t-amber); animation: hm-blink 1s steps(1) infinite; }
.con:not(.typing) .caret { visibility: hidden; }
@keyframes hm-blink { 50% { opacity: 0; } }
.con-plan { color: var(--t-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* worker cards */
.con-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wk { --c: var(--t-ind); position: relative; min-width: 0; padding: 10px 12px 9px; border-radius: 10px;
  border: 1px solid var(--t-line); background: linear-gradient(180deg, rgba(111, 139, 255, .07), rgba(111, 139, 255, .02));
  transition: opacity .45s var(--k-ease-out), transform .55s var(--k-ease-spring), border-color .4s, box-shadow .4s; }
.wk-h { display: flex; align-items: center; gap: 7px; min-width: 0; }
.wk-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.wk-h b { font-weight: 500; color: #fff; }
.wk-tag { padding: 0 5px; border: 1px solid var(--t-line); border-radius: 4px; font-size: 10.5px; color: var(--t-dim); white-space: nowrap; }
.wk-st { position: relative; flex: none; width: 14px; height: 14px; margin-left: auto; }
.wk-st .spin { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); border-top-color: var(--c);
  animation: hm-spin .8s linear infinite; transition: opacity .2s; }
.wk-st .ok { position: absolute; inset: -1px; width: 16px; height: 16px; fill: none; stroke: var(--t-mint); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.3); transition: opacity .2s, transform .45s var(--k-ease-spring); }
@keyframes hm-spin { to { transform: rotate(1turn); } }
.wk.done .spin, .wk.wait .spin { opacity: 0; animation: none; }
.wk.done .ok { opacity: 1; transform: none; }
.wk.wait .wk-st::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--t-amber);
  box-shadow: 0 0 10px var(--t-amber); animation: hm-throb 1.3s ease-in-out infinite; }
@keyframes hm-throb { 50% { opacity: .35; transform: scale(.7); } }
.wk-eng { margin-top: 3px; font-size: 11.5px; color: var(--t-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-bar { height: 3px; margin: 8px 0 7px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.wk-bar i { display: block; height: 100%; border-radius: inherit; transform-origin: left;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 50%, transparent), var(--c)); box-shadow: 0 0 8px var(--c);
  transform: scaleX(var(--p, 1)); transition: transform .8s var(--k-ease-out); }
.wk.wait .wk-bar i { --p: .62; }
.wk-log li { font-size: 11.5px; line-height: 1.55; color: #C9D2F2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity .35s, transform .4s var(--k-ease-out); }
.wk-log li.ok { color: var(--t-mint); }
.wk-log li.wt { color: var(--t-amber); }
.wk.done { border-color: rgba(47, 227, 160, .38); box-shadow: inset 0 0 22px -12px rgba(47, 227, 160, .6); }
.wk.wait { border-color: rgba(255, 193, 92, .5); box-shadow: inset 0 0 22px -12px rgba(255, 193, 92, .7), 0 0 20px -10px rgba(255, 193, 92, .8); }

.con-foot { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 6px 6px 6px 12px; border-radius: 9px;
  color: var(--t-amber); border: 1px solid rgba(255, 193, 92, .35); background: rgba(245, 165, 36, .07); }
/* .con p (padding: 0) is more specific than .con-foot: repeat the padding here. Equal 5px around the Approve chip. */
.con .con-foot { padding: 5px 5px 5px 14px; }
.con-foot > span:nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pulse { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #F5A524;
  box-shadow: 0 0 0 0 rgba(245, 165, 36, .7); animation: hm-pulse 1.6s ease-out infinite; }
@keyframes hm-pulse { 80%, 100% { box-shadow: 0 0 0 8px rgba(245, 165, 36, 0); } }
.con-appr { flex: none; padding: 3px 9px; border-radius: 6px; background: #F5A524; color: #0B1433; font-weight: 500; font-size: 11.5px; }

/* play mode: items hidden until hero.js reveals them (.on); without JS or with reduced motion .play is removed */
.con.play .cx:not(.on) { opacity: 0; }
.con.play .wk.cx:not(.on) { transform: translateY(10px) scale(.97); }
.con.play .wk-log li.cx:not(.on) { transform: translateX(-6px); }
.con.play .con-plan, .con.play .con-foot { transition: opacity .4s; }
.con.play .wk-bar i { transform: scaleX(var(--p, 0)); }
.con:not(.play) .ghost { color: inherit; }

/* paused (offscreen / hidden tab) */
.hero-main.paused *, .hero-main.paused *::before, .hero-main.paused *::after { animation-play-state: paused !important; }

/* ---------- Tour video ---------- */
.video-sec { padding-top: 72px; }
.tour-head { margin-bottom: 24px; }
.tour-head h2 { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.75rem); }
/* Centred in the content column, and sized so the whole player (bar included) fits under the sticky header:
   the jump to #tour puts the heading 24px below the header, and the frame's bottom stays on screen. */
#tour { scroll-margin-top: calc(var(--k-topbar-h) + 24px - 84px - 72px); }
.tour-head { text-align: center; margin-left: auto; margin-right: auto; }
.tour-frame { position: relative; margin: 0 auto; width: min(100%, calc((100svh - var(--k-topbar-h) - 150px) * 16 / 9));
  min-width: min(100%, 320px); padding: 1px; border-radius: 18px; scroll-margin-top: calc(var(--k-topbar-h) + 24px - 84px);
  background: linear-gradient(135deg, rgba(111, 139, 255, .9), rgba(136, 157, 231, .14) 35%, rgba(136, 157, 231, .14) 65%, rgba(245, 165, 36, .75));
  box-shadow: 0 40px 100px -40px var(--k-glow), 0 0 80px -34px var(--k-glow-amber); }
.tour-frame::before { content: ""; position: absolute; inset: -30px; z-index: -1; border-radius: 40px; pointer-events: none;
  background: radial-gradient(closest-side, var(--k-glow), transparent); opacity: .55; }
.tour-frame > * { background: var(--k-term-bg); }
.tour-bar { border-radius: 17px 17px 0 0; height: 28px; padding: 0 6px 0 12px; font-size: 11px; }
.tour-bar .con-dots i { width: 8px; height: 8px; }
.tour-fs { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; margin-left: 4px;
  border-radius: 6px; border: 1px solid rgba(136, 157, 231, .28); background: rgba(255, 255, 255, .04); color: #C9D4FF;
  font: 500 11px/1 var(--k-mono); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.tour-fs::before { content: ""; position: absolute; inset: -11px -4px; }  /* a 44px tall hit area inside a 28px bar */
.tour-fs svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tour-fs:hover { color: #fff; border-color: rgba(245, 165, 36, .6); background: rgba(245, 165, 36, .1); }
.tour-fs:focus-visible { outline: 2px solid #F5A524; outline-offset: 2px; }
@media (max-width: 420px) { .tour-fs span { display: none; } }
.tour-file { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-len { color: #2FE3A0; }
.tour-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0 0 17px 17px; background: #050918; }
.tour-player img, .tour-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-player video { object-fit: contain; background: #000; }
.tour-player::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(4, 6, 14, .55)),
    repeating-linear-gradient(180deg, transparent 0 2px, rgba(0, 0, 0, .08) 2px 3px); }
/* sits left of centre: the poster has its title in the middle */
.tour-play { position: absolute; left: 15%; top: 52%; z-index: 2; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(245, 165, 36, .95); color: #0B1433;
  box-shadow: 0 0 0 8px rgba(245, 165, 36, .18), 0 0 60px rgba(245, 165, 36, .55), 0 20px 40px -10px rgba(0, 0, 0, .6);
  transition: transform .35s var(--k-ease-spring), box-shadow .3s, background .2s; }
.tour-play svg { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; }
.tour-play::before, .tour-play::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(245, 165, 36, .8);
  opacity: 0; animation: hm-ring 2.6s var(--k-ease-out) infinite; pointer-events: none; }
.tour-play::after { animation-delay: 1.3s; }
.tour-play:hover { transform: scale(1.08); background: #FFC15C; box-shadow: 0 0 0 12px rgba(245, 165, 36, .2), 0 0 80px rgba(245, 165, 36, .7); }
.tour-play:active { transform: scale(.96); }
.tour-play:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.tour-chip { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 5px 10px; border-radius: 6px;
  font: 500 .75rem/1.3 var(--k-mono); color: #E6EBFF; background: rgba(5, 9, 24, .78); border: 1px solid rgba(136, 157, 231, .3); }
.tour-player.playing picture, .tour-player.playing .tour-play, .tour-player.playing .tour-chip, .tour-player.playing::after { display: none; }
.tour-soon { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px; text-align: center; font: 500 1rem/1.4 var(--k-mono); color: #FFC15C; background: rgba(4, 6, 14, .72);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tour-soon[hidden] { display: none; }
.tour-player.soon .tour-play, .tour-player.soon .tour-chip { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-main .wrap { padding-top: 40px; padding-bottom: 56px; gap: 40px; }
  .hero-art { max-width: 600px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero-main .actions .btn { flex: 1 1 auto; }
  .hero-main .actions .btn-tour { flex-basis: 100%; justify-content: flex-start; }
  .hero-cmd pre { font-size: .75rem; }
  .hero-always { grid-template-columns: minmax(0, 1fr) auto; }
  .ha-tag { grid-row: auto; justify-self: start; }
  .ha-txt, .ha-arch { grid-column: 1; }
  .ha-go { grid-column: 2; grid-row: 1 / span 3; }
  .con { font-size: 11px; border-radius: 12px; }
  .con-bar { height: 34px; padding: 0 10px; font-size: 11px; }
  .con-body { padding: 12px; gap: 10px; }
  .con-voice { height: 30px; gap: 8px; padding: 0 8px; }
  .con-state { width: 12.5ch; }
  .con-req { font-size: 12px; }
  .con-grid { gap: 8px; }
  .wk { padding: 8px 9px 7px; }
  .wk-tag { display: none; }
  .wk-eng, .wk-log li { font-size: 10.5px; }
  .wk-bar { margin: 6px 0 5px; }
  .hide-sm, .con-appr { display: none; }
  .tour-play { left: 16%; width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .tour-play svg { width: 24px; height: 24px; margin-left: 3px; }
  .tour-chip { left: 10px; bottom: 10px; font-size: .6875rem; }
  .tour-soon { font-size: .875rem; }
}
@media (max-width: 360px) { .con-clock { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-main .iso::after { display: none; }
  .wave i { transform: scaleY(var(--h)); opacity: .5; }
}

/* Very small phones (320–359 px): keep the console inside the screen. */
@media (max-width: 359px) {
  .hero-art, .con, .con-body, .con-grid, .wk { min-width: 0; }
  .con { font-size: 10px; }
  .con-grid { gap: 6px; }
  .wk { padding-left: 8px; padding-right: 8px; }
}

/* The subscription line under the lede: a highlighted pill. */
.sub-pill { display: inline-flex; align-items: flex-start; gap: 10px; max-width: 540px; margin-top: 16px; padding: 8px 16px 8px 12px;
  border-radius: 18px; font-size: .9375rem; line-height: 1.45; font-weight: 500; color: var(--ts-text); text-wrap: pretty;
  border: 1px solid color-mix(in srgb, var(--k-mint) 50%, transparent);
  background: color-mix(in srgb, var(--k-mint) 12%, transparent); box-shadow: 0 0 24px -12px var(--k-mint); }
.sub-pill .sp-dot { flex: none; width: 8px; height: 8px; margin-top: .45em; border-radius: 50%; background: var(--k-mint); }
