/* Tutorials (tutorials.html + tutorial-*.html, built by _pages-src/build_tutorials.mjs): numbered steps, each beside a
   drawn picture of the screen it talks about, with the one thing to press ringed. */
.tu-head { max-width: 860px; }
.tu-head .display { font-size: clamp(44px, 5.6vw, 88px); }
.tu-head .sta__k { color: inherit; }
.tu-body { padding-block: clamp(40px, 5vw, 80px) clamp(80px, 9vw, 140px); }

.tu-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 56px); }
.tu-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.tu-step__text { display: grid; gap: 12px; align-content: center; }
.tu-num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display, inherit);
  font-weight: 600; font-size: 20px; color: #fff; background: var(--ink, #17313D); box-shadow: 0 8px 22px rgba(23, 49, 61, 0.22); }
.tu-t { margin: 0; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.25; font-weight: 400; letter-spacing: -0.01em; color: var(--text); }
.tu-t b { font-weight: 600; }
.tu-n { margin: 0; color: var(--text-2); font-size: 16.5px; line-height: 1.5; max-width: 46ch; }
.tu-step__pic { margin: 0; padding: clamp(14px, 2vw, 26px); border-radius: var(--sx-r1, 28px); background: var(--sx-glass, rgba(255,255,255,.6)); box-shadow: var(--sx-sh, 0 20px 50px rgba(23,49,61,.08)); }

/* the drawn screens */
.tu-app, .tu-web, .tu-mail { --s-bg: #fbfdfd; --s-ink: #17313D; --s-mute: #5d727b; --s-line: rgba(23, 49, 61, 0.12);
  border-radius: 18px; overflow: hidden; background: var(--s-bg); color: var(--s-ink); border: 1px solid var(--s-line);
  box-shadow: 0 14px 40px rgba(23, 49, 61, 0.12); font-size: 14px; line-height: 1.45; text-align: left; }
.tu-app__bar, .tu-web__bar, .tu-mail__head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--s-line); background: rgba(23, 49, 61, 0.035); font-size: 12.5px; color: var(--s-mute); }
.tu-app__bar img { border-radius: 4px; }
.tu-app__body, .tu-web__body, .tu-mail__body { padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 10px; justify-items: start; }
.tu-web__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(23, 49, 61, 0.18); }
.tu-web__url { margin-left: 8px; flex: 1; padding: 4px 12px; border-radius: 999px; background: var(--s-bg); border: 1px solid var(--s-line); font-family: var(--font-mono, monospace); font-size: 11.5px; color: var(--s-ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tu-mail__head { flex-direction: column; align-items: flex-start; gap: 2px; }
.tu-mail__head b { color: var(--s-ink); font-size: 13px; }
.tu-k { margin: 0; font-family: var(--font-mono, monospace); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--s-mute); }
.tu-h { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 300; }
.tu-h b { font-weight: 600; }
.tu-p { margin: 0; color: var(--s-mute); }
.tu-ghost, .tu-btn-ghost { color: var(--s-mute); font-size: 13px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--s-line); }
.tu-ghost { border: 0; padding: 2px 0; }
.tu-field { width: 100%; box-sizing: border-box; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--s-line); background: #fff; font-size: 13.5px; }
.tu-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tu-code { font-family: var(--font-mono, monospace); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 0.16em; padding: 8px 16px; border-radius: 14px; background: rgba(127, 217, 189, 0.18); border: 1px solid rgba(64, 160, 130, 0.35); }
.tu-wait { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--s-mute); font-size: 13px; }
.tu-wait i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(23, 49, 61, 0.18); border-top-color: var(--s-ink); animation: tu-spin 1s linear infinite; }
.tu-check { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 217, 189, 0.25); }
.tu-check svg { width: 24px; height: 24px; fill: none; stroke: #2f8a6c; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* the one thing to press: an ink pill, ringed, with a pointer on it */
.tu-press { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 999px;
  background: var(--s-ink); color: #fff; font-weight: 600; font-size: 13.5px; box-shadow: 0 0 0 4px rgba(127, 217, 189, 0.55); animation: tu-ring 2.2s ease-in-out infinite; }
.tu-press--full { width: 100%; box-sizing: border-box; }
.tu-cursor { position: absolute; right: -6px; bottom: -14px; width: 24px; height: 24px; fill: #fff; stroke: var(--s-ink); stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
@keyframes tu-ring { 0%, 100% { box-shadow: 0 0 0 4px rgba(127, 217, 189, 0.55); } 50% { box-shadow: 0 0 0 9px rgba(127, 217, 189, 0.18); } }
@keyframes tu-spin { to { transform: rotate(360deg); } }

/* if something is off */
.tu-help { margin-top: clamp(56px, 7vw, 100px); max-width: 860px; padding: clamp(22px, 3vw, 36px); border-radius: var(--sx-r1, 28px); background: var(--sx-glass, rgba(255,255,255,.6)); box-shadow: var(--sx-sh, none); }
.tu-help h2 { margin: 0 0 14px; }
.tu-help dl { margin: 0; display: grid; gap: 14px; }
.tu-help dt { font-weight: 400; color: var(--text); }
.tu-help dt b { font-weight: 600; }
.tu-help dd { margin: 2px 0 0; color: var(--text-2); }

/* the hub */
.tu-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.tu-card { display: grid; gap: 8px; padding: 18px 18px 22px; border-radius: var(--sx-r1, 28px); background: var(--sx-glass, rgba(255,255,255,.6)); box-shadow: var(--sx-sh, none); color: var(--text); text-decoration: none; transition: transform .3s var(--ease, ease); }
.tu-card:hover { transform: translateY(-3px); }
.tu-card__pic { margin: 0 0 8px; }
.tu-card__k { font-family: var(--font-mono, monospace); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.tu-card__t { font-size: 22px; font-weight: 600; }
.tu-card__go { color: var(--text-2); }
.tu-more { margin-top: 28px; color: var(--text-3); }

/* the drawn screens stay light in dark mode (they are pictures of light screens); the page around them follows */
:root[data-theme="dark"] .tu-num { background: #e8f1f3; color: #17313D; }

@media (max-width: 820px) {
  .tu-step { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .tu-press, .tu-wait i { animation: none; } }
