:root{--bg:#fff;--fg:#1d1d1f;--muted:#5f6368;--accent:#0a64d6;--card:#f4f5f7;--border:#d9dce1}
@media (prefers-color-scheme:dark){:root{--bg:#111214;--fg:#ececee;--muted:#a0a4ab;--accent:#6cb2ff;--card:#1b1d21;--border:#2e3137}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
a{color:var(--accent)}
header,main,footer{max-width:42rem;margin:0 auto;padding:1rem 16px}
header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;border-bottom:1px solid var(--border)}
.brand{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;font-size:1.25rem;color:var(--fg);text-decoration:none}
.brand img{width:32px;height:32px;border-radius:7px}
nav a{margin-left:1rem}
h1{font-size:2rem;line-height:1.2;margin:1.5rem 0 .5rem}
h2{font-size:1.35rem;margin:2rem 0 .5rem}
.lead{font-size:1.15rem;color:var(--muted)}
ol,ul{padding-left:1.4rem}
li{margin:.3rem 0}
.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:.25rem 1rem;margin:1rem 0}
footer{border-top:1px solid var(--border);color:var(--muted);font-size:.9rem;margin-top:2rem}
figure{margin:1rem 0}
figcaption{color:var(--muted);font-size:.9rem;margin-top:.4rem}
img,video{display:block;max-width:100%;height:auto;border-radius:10px;border:1px solid var(--border);box-shadow:0 2px 10px rgba(0,0,0,.12)}
video{margin:1rem 0}
.shots,.pair{display:grid;grid-template-columns:1fr;gap:1rem}
.shots figure,.pair figure{margin:0}
@media (min-width:600px){.shots,.pair{grid-template-columns:1fr 1fr}.wide{grid-column:1/-1}}
h3{font-size:1.1rem;margin:1.5rem 0 .5rem}
.phones{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}
.phones figure{margin:0}
.phones img{max-width:14rem;margin:0 auto}
@media (min-width:600px){.phones{grid-template-columns:repeat(4,1fr)}}
details.platform{margin:1rem 0}
details.platform>summary{cursor:pointer;font-weight:600;font-size:1.15rem;padding:.4rem 0}
details.platform[open]>summary{margin-bottom:.75rem}
figure img.zoomable{cursor:zoom-in}
dialog.lightbox{border:0;padding:0;background:transparent;color:#fff;width:100%;height:100%;max-width:100vw;max-height:100vh;overflow:hidden;cursor:zoom-out}
dialog.lightbox[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem}
dialog.lightbox::backdrop{background:rgba(0,0,0,.9)}
dialog.lightbox img{max-width:96vw;max-height:84vh;width:auto;height:auto;object-fit:contain;border:0;border-radius:6px;box-shadow:none;margin:0}
dialog.lightbox p{margin:0;padding:0 16px;max-width:96vw;text-align:center;font-size:.95rem;color:#ececee}
dialog.lightbox .lightbox-close{position:absolute;top:.5rem;right:.75rem;width:2.5rem;height:2.5rem;border:0;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:1.75rem;line-height:1;cursor:pointer}
dialog.lightbox .lightbox-close:hover,dialog.lightbox .lightbox-close:focus-visible{background:rgba(255,255,255,.3)}
@media (prefers-reduced-motion:no-preference){dialog.lightbox[open]{animation:lbfade .18s ease-out}dialog.lightbox[open]::backdrop{animation:lbfade .18s ease-out}@keyframes lbfade{from{opacity:0}to{opacity:1}}}
