/* A Paint-inspired desktop: crisp pixels, inset canvases, raised controls. */
:root { color-scheme: light; --ink: #202020; --chrome: #c0c0c0; --navy: #000080; --shadow: #808080; }
* { box-sizing: border-box; }
html { background: #008080; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { max-width: 1224px; margin: 34px auto; border: 2px solid; border-color: #fff #151515 #151515 #fff; padding: 4px; background: var(--chrome); color: var(--ink); font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; box-shadow: 10px 10px 0 #005b5b; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a, button, input { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px dotted #000; outline-offset: 4px; }
.wrap { max-width: 100%; margin: 0 auto; padding-left: 38px; padding-right: 38px; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 12px; background: #fff; }
.skip:focus { top: 12px; }
.nav { min-height: 58px; background: var(--navy); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 23px; font-weight: bold; letter-spacing: -.8px; }
.brand img { width: 32px; height: 32px; image-rendering: pixelated; }
.brand-dot { color: #ffff00; }
.hero { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 42px; padding-top: 60px; padding-bottom: 58px; margin-top: 6px; background: #fff; border: 2px solid; border-color: #808080 #fff #fff #808080; }
h1 { margin: 29px 0 22px; }
.pixel-headline { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.hero-description { max-width: 420px; font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 25px; align-items: center; margin-top: 28px; }
.button { display: inline-flex; gap: 22px; align-items: center; justify-content: center; padding: 14px 17px; border: 2px solid; border-color: #fff #404040 #404040 #fff; box-shadow: 1px 1px 0 #000; background: var(--chrome); color: #111; font-size: 12px; font-weight: bold; }
.text-link { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: var(--navy); }
.text-link span { margin-left: 8px; }
.hero-note { margin-top: 25px; font-size: 13px; line-height: 1.6; font-weight: bold; }
.mini-check { color: #008000; margin-right: 5px; }
.hero-art { position: relative; padding: 6px; border: 1px dashed #000080; background: #fff; }
.hero-art::before, .hero-art::after { content: ''; position: absolute; width: 7px; height: 7px; background: #000080; border: 1px solid #fff; z-index: 1; }
.hero-art::before { left: -4px; top: -4px; box-shadow: 224px 0 0 -1px #000080; }
.hero-art::after { right: -4px; bottom: -4px; }
.artwork { display: block; width: 100%; height: auto; image-rendering: pixelated; }






.play-section { padding: 33px 0 27px; background: #86b8dd url("/jspaint/help/clouds.jpg") center / cover; color: var(--navy); margin: 6px 0; }
.play-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 18px; }
.play-workspace .demo-desktop { min-width: 0; padding: 0; }
/* The editor has an 8px transparent gutter inside its iframe. */
.prompt-panel { margin-top: 8px; background: #e8e8e1; padding: 16px; border: 2px solid; border-color: #fff #808080 #808080 #fff; }
.prompt-panel h3 { font: bold 18px/1.4 'Courier New', monospace; letter-spacing: -.6px; margin: 0 0 10px; }
.prompt-panel>p { color: #333; font-size: 12px; line-height: 1.8; margin: 0 0 16px; }
.prompt-panel .recording-note { font-size: 10px; margin: 16px 0 0; color: #555; }
.play-intro { font-size: 13px; line-height: 1.7; margin: -7px 0 20px; }
.recordings { display: grid; grid-template-columns: 1fr; gap: 12px; }
.recording { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 14px 12px; text-align: left; color: #202020; background: #f5f5e9; border: 2px solid; border-color: #fff #404040 #404040 #fff; box-shadow: 1px 1px 0 #000; cursor: pointer; border-radius: 0; }
.recording strong { display: block; font-size: 12px; line-height: 1.5; }
.recording-icon { display: block; flex: 0 0 32px; width: 32px; height: 32px; }
.recording-icon svg { display: block; width: 100%; height: 100%; }
.recording>span:last-child { margin-left: auto; color: #000080; font-size: 10px; }
.recording:hover:enabled, .recording.playing { background: #ffffde; }
.recording:active:enabled { border-color: #404040 #fff #fff #404040; }
.recording:disabled { cursor: default; }
.recording:disabled:not(.playing) { opacity: .6; }
h2 { font: bold 25px/1.3 'Courier New', monospace; letter-spacing: -1px; margin: 0 0 20px; }



iframe { display: block; width: 100%; height: 575px; border: 0; background: transparent; }
.connect-section { padding-top: 32px; padding-bottom: 28px; background: #fff; border: 2px solid; border-color: #808080 #fff #fff #808080; }
.connect-section h2 { margin-bottom: 12px; }
.connect-section>p { font-size: 13px; line-height: 1.7; }
.connect-section label { display: block; margin: 24px 0 10px; font: bold 11px 'Courier New', monospace; }
.url-field { display: flex; gap: 12px; align-items: stretch; }
.url-field input { width: 100%; min-width: 0; padding: 17px 13px; border: 2px solid; border-color: #808080 #ddd #ddd #808080; border-radius: 0; background: #fff; font: bold 17px 'Courier New', monospace; color: var(--navy); }
.url-field button { padding: 14px 22px; white-space: nowrap; cursor: pointer; border: 2px solid; border-color: #fff #404040 #404040 #fff; background: var(--chrome); color: #111; font-weight: bold; font-size: 12px; border-radius: 0; box-shadow: 1px 1px 0 #000; }
.url-field button span { margin-left: 12px; }
.button:active, .url-field button:active { border-color: #404040 #fff #fff #404040; box-shadow: inset 1px 1px 0 #808080; background: #b0b0b0; transform: translate(1px, 1px); }
.connect-section .copy-status { min-height: 19px; margin: 8px 0 0; font-size: 11px; color: #005b00; }
.connect-section .copy-status:empty { display: none; }
.connect-section .compatibility { margin: 12px 0 0; font-size: 11px; color: #444; }
footer { display: flex; justify-content: space-between; align-items: center; padding: 15px 12px !important; gap: 18px; margin-top: 6px !important; border: 1px solid; border-color: #808080 #fff #fff #808080; }
footer .brand { font-size: 15px; letter-spacing: -.5px; gap: 0; }
footer .brand-dot { color: #000080; }
footer>div { font-size: 11px; }
footer a:not(.brand) { text-decoration: underline; text-underline-offset: 2px; }
footer>div span { margin: 0 7px; }
.privacy-page { max-width: 880px; }
.privacy { margin-top: 6px; background: #fff; border: 2px solid; border-color: #808080 #fff #fff #808080; }
.privacy article { max-width: 68ch; margin: 0 auto; padding: 32px 0; font-size: 15px; line-height: 1.7; }
.privacy h1 { margin: 0 0 8px; font: bold clamp(28px, 5vw, 38px)/1.2 'Courier New', monospace; }
.privacy h2 { margin: 28px 0 8px; font-size: 22px; }
.privacy p { margin: 0 0 12px; }
.privacy article > :last-child { margin-bottom: 0; }
.privacy .updated { color: #555; font-size: 13px; }
.privacy a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1280px) { body { margin: 20px; } }
@media (max-width: 1000px) { .hero { gap: 30px; padding-top: 40px; padding-bottom: 40px; }.wrap { padding-left: 26px; padding-right: 26px; }.hero-description { font-size: 14px; }.url-field input { font-size: 14px; } }
@media (max-width: 800px) { .play-workspace { grid-template-columns: 1fr; }.prompt-panel { margin-top: 0; padding: 16px; } }
@media (max-width: 700px) {
  body { margin: 10px; padding: 3px; box-shadow: 4px 4px 0 #005b5b; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav { padding: 8px; min-height: 48px; }
  .brand { font-size: 20px; gap: 5px; }.brand img { width: 25px; height: 25px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 30px; padding-bottom: 26px; }
  h1 { margin: 23px 0 20px; }.pixel-headline { width: 100%; }
  .hero-description { font-size: 14px; line-height: 1.8; }
  .hero-actions { gap: 21px; margin-top: 23px; }.button { font-size: 11px; padding: 12px; gap: 13px; }.text-link { font-size: 11px; }
  .hero-note { font-size: 12px; margin-top: 23px; }
  .hero-art { margin: 0 4px; }

  h2 { font-size: 23px; }.play-section { padding-top: 27px; padding-bottom: 22px; }
  .demo-desktop { padding: 5px; }
  .recordings { grid-template-columns: 1fr; gap: 9px; }
  .recording { padding: 10px 12px; }
  iframe { height: 440px; }
  .connect-section { padding-top: 27px; padding-bottom: 22px; }.connect-section>p { font-size: 12px; }
  .url-field { flex-direction: column; gap: 9px; }.url-field input { font-size: 11px; padding: 15px 7px; }.url-field button { padding: 13px; }
  .connect-section .compatibility, .connect-section .copy-status { font-size: 10px; }
  footer { gap: 14px; flex-wrap: wrap; }footer>div { font-size: 10px; }
}
@media (max-width: 360px) { .hero-actions { gap: 18px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
