:root{--ink:#17233b;--muted:#59677c;--purple:#6741b8;--purple-light:#f1edfa;--line:#e5e8ee;--bg:#f8f9fc;--white:#fff;--green:#166e59}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--purple)}a:hover{text-decoration-thickness:2px}header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.nav{max-width:1120px;margin:auto;padding:13px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{font-weight:800;letter-spacing:-.04em;color:var(--ink);text-decoration:none;font-size:1.13rem}.brand span{color:var(--purple)}nav{display:flex;gap:16px;flex-wrap:wrap}nav a{color:#44506a;text-decoration:none;font-size:.9rem;font-weight:600}nav a[aria-current=page]{color:var(--purple)}main{max-width:1080px;margin:0 auto;padding:55px 24px 75px}.hero{background:linear-gradient(115deg,#241d4a,#5c3b9e);border-radius:24px;color:#fff;padding:60px clamp(26px,6vw,72px);position:relative;overflow:hidden}.hero:after{content:'</>';position:absolute;right:6%;top:3%;font-size:12rem;opacity:.07;font-weight:900;transform:rotate(-14deg)}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:.76rem;font-weight:800;color:#baa4e9}.hero .eyebrow{color:#ded0fc}h1,h2,h3{line-height:1.16;letter-spacing:-.04em}h1{font-size:clamp(2.3rem,5vw,4.35rem);margin:12px 0 16px;max-width:740px}h2{font-size:clamp(1.6rem,3vw,2.15rem);margin:0 0 14px}h3{font-size:1.2rem;margin:0 0 10px}.hero p{color:#eee8fa;font-size:1.13rem;max-width:680px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:11px;background:var(--purple);color:#fff;text-decoration:none;font-weight:700;padding:12px 18px;cursor:pointer;font:inherit;font-weight:700}.btn:hover{background:#512e9c}.btn.light{background:#fff;color:#352363}.btn.outline{background:transparent;border-color:#a89acd;color:#fff}.btn.secondary{background:#fff;color:var(--purple);border-color:#d8cdea}.section{margin-top:54px}.intro{font-size:1.16rem;color:var(--muted);max-width:780px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:#fff;border:1px solid var(--line);padding:25px;border-radius:17px;box-shadow:0 6px 22px rgba(28,35,70,.025)}.card p{margin:8px 0 0;color:var(--muted)}.card a.more{font-weight:700;display:inline-block;margin-top:15px;text-decoration:none}.step-num{display:inline-flex;align-items:center;justify-content:center;background:var(--purple-light);color:var(--purple);border-radius:9px;padding:6px 10px;font-size:.83rem;font-weight:800;margin-bottom:16px}.page-head{max-width:820px;margin-bottom:35px}.page-head h1{color:var(--ink);font-size:clamp(2.3rem,5vw,3.8rem)}.page-head p{font-size:1.12rem;color:var(--muted)}.callout{padding:22px 26px;border-left:4px solid var(--purple);background:var(--purple-light);border-radius:0 12px 12px 0;margin:27px 0}.callout p{margin:0}.prose{max-width:790px}.prose h2{margin-top:42px}.prose li{margin:9px 0}.checklist{list-style:none;padding:0}.checklist li{padding:13px 0 13px 32px;position:relative;border-bottom:1px solid var(--line)}.checklist li:before{content:'✓';position:absolute;left:0;color:var(--green);font-weight:900}.prompt{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px;font:14px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;max-height:650px;overflow:auto}.prompt-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:22px 0 12px}.notice{font-size:.86rem;color:var(--muted)}.resource{display:flex;align-items:flex-start;gap:18px}.resource-icon{background:var(--purple-light);border-radius:12px;padding:13px;font-size:1.5rem}.pill{display:inline-block;background:var(--purple-light);border-radius:100px;color:#573795;padding:4px 12px;font-size:.75rem;font-weight:800;letter-spacing:.04em}.placeholder{border:2px dashed #c8c3dc;border-radius:14px;background:#f5f3fa;padding:24px;color:#5d5471;text-align:center}.footer{background:white;border-top:1px solid var(--line)}.footer-inner{max-width:1080px;margin:auto;padding:28px 24px;color:var(--muted);font-size:.88rem;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.footer a{color:var(--muted)}@media(max-width:780px){.nav{align-items:flex-start;flex-direction:column}nav{gap:10px 15px}main{padding-top:28px}.hero{padding:38px 24px}.hero:after{font-size:8rem;top:22%}.grid,.grid.two{grid-template-columns:1fr}.resource{flex-direction:column}.card{padding:21px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Project images and visual publishing walkthrough */
.project-shot{width:100%;height:185px;object-fit:cover;object-position:top center;border:1px solid var(--line);border-radius:12px;margin:0 0 20px;background:#f1eef8}.project-shot.stopwatch{object-fit:contain;background:#f7f7f9}.profile-photo{width:100%;border-radius:20px;display:block;object-fit:cover;box-shadow:0 14px 45px rgba(27,20,65,.13)}.tutorial-step{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,1.1fr);gap:20px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:23px;margin:16px 0}.tutorial-step p{color:var(--muted);margin:8px 0}.tutorial-step h3{margin:5px 0}.tutorial-step img{max-width:100%;max-height:310px;width:auto;height:auto;border:1px solid #e1e4ea;border-radius:9px;object-fit:contain;object-position:left center;background:#fff}.tutorial-step .shot-row{display:flex;align-items:start;gap:10px;flex-wrap:wrap}.tutorial-step .shot-row img{max-width:min(100%,330px)}.home-photo{display:flex;align-items:center;gap:22px;margin-top:26px}.home-photo img{width:120px;height:120px;object-fit:cover;border-radius:18px}.home-photo p{color:var(--muted);margin:0}.page-head+.guide-note{margin-bottom:32px}.tutorial-step .step-num{margin:0 0 10px}@media(max-width:720px){.tutorial-step{grid-template-columns:1fr}.home-photo{align-items:flex-start}.home-photo img{width:85px;height:85px}}

/* Image viewing and homepage thumbnail */
.home-photo img{object-position:center 22%}
img[data-expandable]{cursor:zoom-in}
img[data-expandable]:focus-visible{outline:3px solid var(--purple);outline-offset:4px}
.image-lightbox{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:65px 24px 24px;background:rgba(10,15,28,.88);cursor:zoom-out}
.image-lightbox[hidden]{display:none}
.image-lightbox img{display:block;max-width:min(96vw,1500px);max-height:calc(100vh - 100px);width:auto;height:auto;object-fit:contain;box-shadow:0 14px 60px rgba(0,0,0,.35);cursor:default;border-radius:7px}
.image-lightbox .lightbox-close{position:absolute;right:17px;top:14px;border:1px solid rgba(255,255,255,.42);background:#fff;color:#222;border-radius:50%;width:43px;height:43px;font-size:28px;line-height:1;cursor:pointer}
@media(max-width:720px){.image-lightbox{padding:65px 12px 20px}}

/* Larger, properly fitted image previews */
.home-photo img{object-position:center center}
.image-lightbox img{width:min(92vw,1080px);height:calc(100dvh - 110px);max-width:none;max-height:none;object-fit:contain;box-shadow:none;border-radius:4px}
@media(max-width:720px){.image-lightbox img{width:96vw;height:calc(100dvh - 104px)}}
