:root{color-scheme:dark;--bg:#0b1020;--panel:#141b30;--line:#343e55;--ink:#f8f2e6;--muted:#bfc6d3;--orange:#ff835a;--mint:#91ead4}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:1.4rem}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Noto Sans Thai",Tahoma,system-ui,sans-serif;line-height:1.7}a{color:var(--mint);text-underline-offset:.24em}a:focus-visible{outline:3px solid white;outline-offset:4px}header{border-bottom:1px solid var(--line)}main,nav,footer{max-width:1220px;width:90%;margin:auto}nav,nav div,footer{display:flex;align-items:center;justify-content:space-between;gap:clamp(.65rem,2.5vw,2rem)}nav{min-height:76px}nav a{text-decoration:none;color:var(--ink);font-weight:650}.brand{font:800 1.45rem system-ui;letter-spacing:-.06em;display:flex;align-items:center;gap:.6rem}.brand i{display:inline-block;width:14px;height:23px;border-radius:4px;background:linear-gradient(90deg,#f45e40 25%,#ffb146 25% 50%,#71caa5 50% 75%,#51b8dd 75%)}section{padding:clamp(2.5rem,6vw,5.2rem) 0;border-bottom:1px solid var(--line)}.hero{display:grid;grid-template-columns:1fr 1.18fr;align-items:center;gap:1rem}.hero img{width:100%;height:auto;border-radius:1rem}.spec{color:var(--mint);font:650 .91rem system-ui;letter-spacing:.1em}.hero h1{font:850 clamp(3.8rem,7.6vw,7rem)/1.08 system-ui;letter-spacing:-.08em;margin:.25em 0 .1em}.tag{font:italic clamp(1.15rem,2.2vw,1.9rem) Georgia,serif;color:var(--orange);margin:0}.hero p:not(.spec,.tag){margin:1.3em 0;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;background:var(--orange);color:var(--bg);padding:.72rem 1.35rem;text-decoration:none;font-weight:bold;border-radius:.55rem}.button:hover{filter:brightness(1.1)}h2,h3{line-height:1.4;margin:0}h2{font-size:clamp(1.7rem,3.6vw,2.8rem);letter-spacing:-.045em}h3{font-size:1.24rem}section>p,.steps p,.options p,.support p,.credits p,.split>div>p{color:var(--muted);max-width:78ch}.prints,.options,.split{display:grid;gap:clamp(1rem,2.5vw,2.5rem)}.prints{grid-template-columns:repeat(4,1fr);margin-top:2rem}figure{margin:0}figure img{width:100%;height:auto;display:block}figcaption{color:var(--muted);padding-top:.8em}strong{display:block;font:700 1.24rem system-ui;color:var(--ink);margin-bottom:.25rem}.split{grid-template-columns:0.8fr 1.2fr}.steps article{border-top:1px solid var(--line);padding:1.1rem 0}.steps p{margin:.5rem 0}.options{grid-template-columns:1fr 1fr;margin-top:1.5rem}.options article{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(1.2rem,3vw,2.4rem);background:var(--panel);border:1px solid var(--line);border-radius:.8rem}.options .button{margin-top:auto}.light{background:var(--mint)}.links{font-size:.94rem}.support{display:flex;align-items:center;justify-content:space-between;gap:2rem}.supportbtn{background:#f0c9dd;white-space:nowrap}.credits p{max-width:90ch}footer{padding:2rem 0}.steps code{overflow-wrap:anywhere}@media(max-width:750px){.hero,.split{grid-template-columns:1fr}.hero img{max-width:560px;justify-self:center}.prints{grid-template-columns:1fr 1fr}.options{grid-template-columns:1fr}.support{align-items:flex-start;flex-direction:column}nav{flex-wrap:wrap;padding:.85rem 0;gap:.6rem}nav div{flex-wrap:wrap;gap:.8rem;font-size:.92rem}.hero h1{font-size:clamp(3.7rem,14vw,6rem)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

nav, nav div { flex-wrap: wrap; }
nav .language { display: inline-grid; place-items: center; width: 44px; height: 44px; }
nav .language svg { display: block; outline: 1px solid var(--line); }

.steps article { display: grid; grid-template-columns: minmax(0, 1fr) min(44%, 320px); column-gap: 1.2rem; align-content: start; }
.steps article h3, .steps article p { grid-column: 1; }
.steps .screen-link { grid-column: 2; grid-row: 1 / span 2; align-self: start; cursor: zoom-in; }
.steps .screen-link img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: .55rem; }
@media (max-width: 560px) {
  .steps article { display: flex; flex-direction: column; }
  .steps .screen-link { order: 1; width: min(100%, 300px); margin-top: .5rem; }
}

#download>h3{margin-top:2.3rem}
.camera-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1rem;margin:1rem 0}
.camera{padding:1.2rem;background:var(--panel);border:1px solid var(--line);border-radius:.8rem}
.camera:only-child{max-width:24rem}
.camera h4{font:700 1.35rem system-ui;margin:0}
.camera p{margin:.45rem 0 .15rem}
.camera small{color:var(--muted)}
.camera-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}
.camera-actions a{padding:.5rem .75rem;border:1px solid var(--mint);border-radius:.45rem;font:650 .85rem/1.5 system-ui;text-decoration:none}
.camera-actions a:hover,.camera-actions a:focus-visible{background:var(--mint);color:var(--bg)}
#download details{margin:1.5rem 0}
#download summary{cursor:pointer;color:var(--mint)}
.community-project{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,25rem);align-items:center;gap:clamp(1.5rem,5vw,4rem)}
.community-project p{max-width:64ch;color:var(--muted)}
.community-project img{border-radius:.7rem}
@media(max-width:720px){.community-project{grid-template-columns:1fr}.community-project figure{width:min(100%,25rem)}}

nav .community-link {
  border-inline-start: 3px solid var(--orange);
  padding: .25em .7em;
  background: var(--panel);
  color: var(--orange);
  border-radius: .2rem;
  white-space: nowrap;
}
nav .community-link:hover, nav .community-link:focus-visible { text-decoration: underline; }
