/* Canvas's own pieces for the shared landing.css: its accent, and the
   drawings of the app. They're pictures, so they keep their own small sizes. */
body[data-app="canvas"] { --accent: #c27aff; }

.board-shot { position: relative; min-height: 380px; background-color: var(--term); background-image: radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1.2px); background-size: 22px 22px; }
.board-shot .wb { display: block; width: 100%; height: auto; padding: 56px 12px 12px; }
.tools-draw { position: absolute; top: 12px; left: 50%; display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--card); transform: translateX(-50%); }
.tools-draw b { width: 18px; height: 18px; border-radius: 5px; background: var(--fill-strong); }
.tools-draw b.on { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.tools-draw.bottom { top: auto; bottom: 12px; }

.wb text { fill: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 18px; font-weight: 500; text-anchor: middle; }
.wb text.small { fill: var(--muted); font-size: 13px; }
.small-wb { display: block; width: 100%; height: auto; }
.sticky-draw rect { fill: color-mix(in srgb, #e6b450 48%, #121212); }
.sticky-draw.pink rect { fill: color-mix(in srgb, #f29ac2 40%, #121212); }
.sticky-draw.green rect { fill: color-mix(in srgb, #3dd68c 40%, #121212); }
.box-draw rect, .box-draw path, .box-draw ellipse { fill: color-mix(in srgb, #8eb6ff 18%, #121212); stroke: #8eb6ff; stroke-width: 2.5; }
.box-draw.violet path, .box-draw.violet rect { fill: color-mix(in srgb, var(--accent) 18%, #121212); stroke: var(--accent); }
.box-draw.green ellipse { fill: color-mix(in srgb, #3dd68c 18%, #121212); stroke: #3dd68c; }
.arrow-draw, .head-draw { fill: none; stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.arrow-draw.dashed { stroke-dasharray: 9 7; stroke: var(--muted); }
.pen-draw { fill: none; stroke: #ff6b6b; stroke-width: 3; stroke-linecap: round; opacity: 0.9; }
.text-draw text { fill: var(--muted); font-size: 16px; text-anchor: start; }
.cursor-draw { transform: translate(560px, 230px); animation: cursor 6s ease-in-out infinite; }
.cursor-draw path { fill: var(--accent); stroke: #121212; stroke-width: 1; }
.cursor-draw text { fill: var(--accent); font-size: 13px; text-anchor: start; }
.arrow-draw.anim { stroke-dasharray: 80; animation: draw-arrow 6s ease-in-out infinite; }
.head-draw.anim { animation: show-head 6s ease-in-out infinite; }
.flash-draw rect { animation: flash-box 3s ease-in-out infinite; }
@keyframes cursor {
  0%, 15% { transform: translate(560px, 240px); }
  45%, 70% { transform: translate(700px, 280px); }
  100% { transform: translate(560px, 240px); }
}
@keyframes draw-arrow { 0%, 20% { stroke-dashoffset: 80; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes show-head { 0%, 40% { opacity: 0; } 46%, 100% { opacity: 1; } }
@keyframes flash-box { 0%, 50% { filter: none; } 60% { filter: drop-shadow(0 0 8px var(--accent)); } 100% { filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .cursor-draw, .arrow-draw.anim, .head-draw.anim, .flash-draw rect { animation: none; }
}

.ask-draw { display: flex; flex-direction: column; gap: 10px; }
.ask-draw .q { align-self: flex-end; max-width: 80%; margin: 0; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--fill-strong); font-size: 13px; }
.card-draw { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 12px; }
.card-draw small { color: var(--accent); font-size: 11px; }
.card-draw b { font-size: 14px; }
.card-draw code { color: var(--green); font-family: var(--mono); font-size: 12px; }

.board-phone { position: relative; padding: 0; background-color: var(--term); background-image: radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1.2px); background-size: 18px 18px; }
.board-phone .wb { width: 100%; height: 100%; }

@media (max-width: 760px) {
  .board-shot { min-height: 0; }
  .board-shot .wb { padding-top: 48px; }
}
