:root { color-scheme:light dark; --bg:#f7f8f6; --surface:#fff; --text:#252b28; --muted:#6b746e; --line:#e0e5e1; --button:#293b31; --on-button:#fff; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing:antialiased; }
main { max-width:540px; margin:auto; padding:max(48px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(36px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left)); }
.catalog { max-width:820px; padding-top:max(72px,env(safe-area-inset-top)); }
.page-title { margin:0 0 32px; font-size:28px; font-weight:600; letter-spacing:-.02em; }
.app-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.app-card { border:1px solid var(--line); background:var(--surface); border-radius:24px; padding:28px; }
header { display:flex; align-items:center; gap:18px; }
.app-heading { margin-bottom:24px; }
.icon { width:76px; height:76px; border-radius:18px; flex-shrink:0; object-fit:cover; }
.app-card .icon { width:72px; height:72px; border-radius:17px; }
h1, .app-card h2 { margin:0; font-size:32px; font-weight:600; line-height:1.3; letter-spacing:-.02em; }
.app-card h2 { font-size:26px; }
p { margin:0; }
.quiet, .version { color:var(--muted); font-size:14px; }
.version { margin-bottom:16px; }
.app-card .version { margin:24px 0 20px; min-height:24px; font-size:13px; }
a { color:var(--text); text-underline-offset:4px; }
.install { display:block; text-align:center; border-radius:14px; padding:13px 18px; min-height:50px; background:var(--button); color:var(--on-button); font-weight:600; text-decoration:none; }
.install:hover { opacity:.9; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline:3px solid var(--muted); outline-offset:4px; }
.detail-link { display:block; padding:13px 0 0; text-align:center; font-size:13px; color:var(--muted); }
.download { margin:12px 0 28px; text-align:center; font-size:13px; color:var(--muted); }
.download a { color:inherit; }
nav { margin-bottom:36px; font-size:14px; }
nav a { color:var(--muted); }
section { padding:24px 0; border-top:1px solid var(--line); }
h2 { font-size:16px; font-weight:600; margin:0 0 12px; }
ul { margin:0; padding-left:20px; }
li { padding-left:2px; margin:0 0 8px; }
li:last-child { margin-bottom:0; }
ol { margin:12px 0 0; padding-left:20px; }
.actions { display:flex; gap:10px; flex-wrap:wrap; margin:14px 0; }
.secondary, button { display:inline-block; border:1px solid var(--line); border-radius:10px; padding:9px 14px; min-height:44px; background:transparent; color:var(--text); text-decoration:none; font:inherit; font-size:14px; cursor:pointer; }
#device-info { margin-top:12px; }
#device-udid { display:block; margin:8px 0; font-size:13px; }
.status { font-size:14px; }
.instructions p + p { margin-top:8px; }
.note { margin-top:12px; }
details { color:var(--muted); font-size:13px; }
summary { cursor:pointer; min-height:32px; }
details p { margin-top:10px; }
code { overflow-wrap:anywhere; font:11px/1.6 ui-monospace,SFMono-Regular,monospace; }
footer { border-top:1px solid var(--line); padding-top:20px; font-size:12px; color:var(--muted); }
#package-info { white-space:pre-line; }
@media (prefers-color-scheme:dark) { :root { --bg:#141715; --surface:#1b201d; --text:#e9eeea; --muted:#a0ada4; --line:#323c35; --button:#d3dfd5; --on-button:#1d2e23; } }
@media (max-width:640px) { .catalog { max-width:420px; padding-top:48px; } .app-grid { grid-template-columns:1fr; gap:20px; } .app-card { padding:24px; } }
@media (prefers-reduced-motion:no-preference) { .install { transition:opacity .15s; } }
