/* /instructions/<system>: the steps on the left, a video that stays in view on the right (same dark look as /start) */
.ins { padding: 40px 0 80px !important; }
.ins-back { display: inline-block; margin-bottom: 22px; font-size: .92rem; font-weight: 600; text-decoration: none; }
.ins-head { max-width: 720px; margin-bottom: 40px; }
.ins-head h1 { margin: 16px 0 10px; }
.ins-head .lead { margin: 0 0 22px; font-size: 1.12rem; }

.ins-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: start; }

/* steps */
.ins-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ins-steps > li { display: flex; gap: 18px; padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--edge); scroll-margin-top: 96px; }
.ins-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--deep); color: var(--gold); font-weight: 700;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, .35), 0 6px 16px rgba(0, 0, 0, .3); }
.ins-steps h2 { margin: 4px 0 8px; color: #fff; font-size: 1.2rem; letter-spacing: -.01em; }
.ins-steps p, .ins-steps li li { color: #d9cff3; line-height: 1.6; }
.ins-steps p { margin: 0 0 10px; }
.ins-steps p:last-child { margin-bottom: 0; }
.ins-steps b { color: #fff; }
.ins-steps ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.ins-steps > li:target { border-color: rgba(251, 191, 36, .5); background: rgba(251, 191, 36, .06); }
.ins-keys { display: grid; gap: 12px; margin-top: 6px; }
.ins-keys > div { display: flex; gap: 14px; align-items: flex-start; }
.ins-keys p { margin: 0; }
.ins-tile { flex: none; display: grid; place-items: center; width: 42px; height: 36px; border-radius: 9px; background: #a78bfa; color: #1e1530; font-weight: 700; font-size: .9rem; }
.ins-tile.ins-ask, .ins-tile.ins-gear { background: transparent; border: 1.5px solid rgba(196, 181, 253, .5); color: #c4b5fd; }
.ins-table { border-collapse: collapse; width: 100%; }
.ins-table td { padding: 9px 0; border-bottom: 1px solid var(--edge); color: #d9cff3; }
.ins-table tr:last-child td { border-bottom: 0; }
.ins-table td:first-child { width: 46%; white-space: nowrap; }

/* video */
.ins-video { position: sticky; top: 92px; }
.ins-vcard { padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid var(--edge);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4), 0 0 90px rgba(139, 92, 246, .2); }
.ins-vtag { margin: 2px 4px 12px; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ins-vcard video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #0d0818; }
.ins-vtitle { margin: 12px 4px 10px; color: #fff; font-weight: 600; }
.ins-chapters { display: grid; gap: 4px; }
.ins-chapters button { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; font: inherit; font-size: .92rem; color: #d9cff3; background: none; border: 0;
  border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.ins-chapters button:hover, .ins-chapters button.on { background: rgba(167, 139, 250, .14); color: #fff; }
.ins-chapters b { min-width: 3em; color: var(--gold); font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .ins-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ins-video { position: static; order: -1; }
}
@media (max-width: 560px) { .ins-steps > li { padding: 18px 16px; gap: 14px; } .ins-table td:first-child { white-space: normal; } }
/* (.sp hides overflow, which would stop the video from staying in view: clip instead) */
.sp.ins { overflow: clip; }
.ins .copy-addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; }
.ins .ins-steps > li > div { min-width: 0; }
.ins .ins-steps b { overflow-wrap: anywhere; }

/* pictures of the tricky steps, right inside the step */
.ins-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 12px 0 10px; }
.ins-shots figure { margin: 0; }
.ins-shots img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--edge); background: #120b1f; }
.ins-shots.ins-tall { grid-template-columns: minmax(0, 250px); }
.ins-shots figcaption { margin-top: 6px; font-size: .86rem; color: #bfb3dc; line-height: 1.4; }
.ins-sub { margin: 4px 0 10px; padding-left: 1.3em; display: grid; gap: 6px; color: #d9cff3; line-height: 1.6; }
.ins-why { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(139, 92, 246, .12); border: 1px solid rgba(167, 139, 250, .3); font-size: .93rem; color: #d9cff3; }
.ins-why b { color: #fff; }
