/* Interactive robot talk on the starter-kit page */
[hidden] { display: none !important; }
.top .skip { color: var(--muted); font-size: 14px; text-decoration: none; }
.top .skip:hover { color: var(--gold); }

.talk { padding: 40px 0 64px; }
.talk-grid { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .talk { padding-top: 20px; } .talk-grid { grid-template-columns: 1fr; gap: 28px; } }

.stage { position: relative; width: 100%; max-width: 380px; margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden;
         background: #000 url("/media/robot-tall.jpg") center / cover; box-shadow: 0 0 0 2px var(--line), 0 30px 80px rgba(255, 196, 0, .14); }
@media (max-width: 860px) { .stage { max-width: 320px; } }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage[data-step="start"]::after, .stage[data-step="ask"]::after, .stage[data-step="done"]::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 100%); pointer-events: none; }

/* speech captions (used when a clip has no video yet, and as on-screen text) */
.caption { position: absolute; left: 16px; right: 16px; bottom: 26px; z-index: 2; text-align: center; font-family: var(--head);
           font-size: 22px; line-height: 1.2; color: #fff; text-shadow: 0 2px 0 #000, 0 0 12px rgba(0,0,0,.9); opacity: 0; transform: translateY(8px);
           transition: opacity .2s, transform .2s; }
.caption.on { opacity: 1; transform: none; }
.caption .y { color: var(--gold); }

.start { position: absolute; inset: auto 0 34px 0; z-index: 3; margin: 0 auto; width: max-content; display: flex; flex-direction: column; align-items: center; gap: 6px;
         background: none; border: 0; color: #fff; cursor: pointer; font-family: var(--head); font-size: 18px; }
.start .play { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: #111; display: grid; place-items: center; font-size: 34px;
               box-shadow: 0 0 0 10px rgba(255, 196, 0, .25); animation: pulse 1.8s infinite; }
.start small { font-family: var(--body); font-weight: 600; font-size: 13px; color: #ddd; }
@keyframes pulse { 50% { box-shadow: 0 0 0 18px rgba(255, 196, 0, .08); } }

.choices { position: absolute; left: 16px; right: 16px; bottom: 22px; z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.choices p { margin: 0 0 4px; text-align: center; font-family: var(--head); font-size: 19px; color: #fff; text-shadow: 0 2px 0 #000; }
.choices button { background: var(--gold); color: #111; border: 0; border-radius: 14px; padding: 15px 12px; font-family: var(--head); font-size: 17px; cursor: pointer;
                  animation: rise .35s ease-out both; }
.choices button + button { animation-delay: .08s; background: #fff; }
.choices button:hover { filter: brightness(1.06); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* page entrance: side content rises in, staggered */
.side > * { animation: rise .5s ease-out both; }
.side > *:nth-child(2) { animation-delay: .08s; }
.side > *:nth-child(3) { animation-delay: .16s; }
.side > *:nth-child(5) { animation-delay: .26s; }
.stage { animation: pop .6s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.more .offer { animation: rise .4s ease-out both; }
.more .offer:nth-child(3) { animation-delay: .1s; }
.more .offer:nth-child(4) { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* offer cards that pop onto the video */
.chips { position: absolute; top: 16px; left: 14px; right: 14px; z-index: 3; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.chips a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
           background: rgba(15, 15, 15, .82); border: 1.5px solid var(--gold); color: #fff; text-decoration: none; backdrop-filter: blur(6px);
           opacity: 0; transform: translateX(-24px) scale(.94); transition: opacity .35s, transform .45s cubic-bezier(.2, 1.4, .4, 1); }
.chips a.in { opacity: 1; transform: none; pointer-events: auto; }
.chips a:hover { background: rgba(255, 196, 0, .18); }
.chips b { font-family: var(--head); font-size: 15px; }
.chips em { font-style: normal; font-family: var(--head); color: var(--gold); font-size: 15px; }
.chips a[data-chip="kit"] { background: var(--gold); color: #111; }
.chips a[data-chip="kit"] em { color: #111; }

.replay { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 3; background: rgba(0,0,0,.6); color: #fff; border: 1px solid rgba(255,255,255,.25);
          border-radius: 999px; padding: 7px 13px; font: 600 13px var(--body); cursor: pointer; }

.side .lead { font-size: 19px; color: #dcdcdc; }
.picked { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; padding: 16px 18px 6px; margin: 4px 0 22px;
          animation: rise .35s ease-out both; }

.signup-inline { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: box-shadow .4s, border-color .4s; }
.signup-inline.glow { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 196, 0, .18); }
.kit-row { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; margin-bottom: 16px; }
.kit-row img { border-radius: 10px; }
.kit-row ul.checks { margin: 0; font-size: 15.5px; }
.kit-row ul.checks li { margin-bottom: 4px; }

.more { margin-top: 22px; animation: rise .35s ease-out both; }
.more .offer { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
               background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; margin-bottom: 8px;
               color: var(--text); text-decoration: none; transition: border-color .2s; }
.more .offer:hover { border-color: var(--gold); }
.more .offer b { font-family: var(--head); font-size: 16px; }
.more .offer span { grid-column: 1; color: var(--muted); font-size: 14px; }
.more .offer em { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-family: var(--head); color: var(--gold); font-size: 17px; }
