/* EyeCanSee site: one hand-written page per language, no external resources. */
:root {
  --bg: #f6f8fa;
  --card: #ffffff;
  --text: #1b1f24;
  --muted: #57606a;
  --brand: #1d3557;
  --accent: #2f6690;
  --border: #d8dee4;
  --code: #eef1f4;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141a;
    --card: #171d25;
    --text: #e6edf3;
    --muted: #9aa7b4;
    --brand: #8fb8de;
    --accent: #79b0e0;
    --border: #2b3440;
    --code: #222b36;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, sans-serif;
}
a { color: var(--accent); }
img, video { max-width: 100%; height: auto; display: block; }
main, header, footer { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.lang { text-align: right; padding-top: 12px; font-size: 0.9rem; color: var(--muted); }
.lang a[aria-current] { color: var(--text); font-weight: 600; text-decoration: none; }
.hero { text-align: center; padding: 24px 0 8px; }
.hero .icon { width: 96px; margin: 0 auto 8px; }
.hero h1 { margin: 0; font-size: 2.4rem; color: var(--brand); letter-spacing: 0.5px; }
.hero p { margin: 8px auto 24px; max-width: 680px; font-size: 1.15rem; color: var(--muted); }
.shot { border-radius: 8px; border: 1px solid var(--border); margin: 0 auto; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18); }
.caption { font-size: 0.9rem; color: var(--muted); margin: 8px auto 0; max-width: 800px; }
section { margin: 48px 0; }
h2 { font-size: 1.6rem; color: var(--brand); border-bottom: 1px solid var(--border); padding-bottom: 6px; }
h3 { margin-bottom: 4px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 6px 0; }
/* The Store badge: original artwork, never resized below its own proportions, with clear space. */
.store { display: inline-block; padding: 16px 16px 16px 0; }
.store img { width: 200px; }
.store picture { display: block; }
pre {
  background: var(--code);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  overflow-x: auto;
  user-select: all; /* one click selects the whole command, no script needed */
  font-size: 0.9rem;
}
code { font-family: ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace; }
p code { background: var(--code); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.number { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; }
.number b { display: block; font-size: 1.8rem; color: var(--brand); line-height: 1.2; }
.number span { color: var(--muted); font-size: 0.95rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.trust li { margin: 6px 0; }
footer { border-top: 1px solid var(--border); padding: 24px 16px 40px; color: var(--muted); font-size: 0.95rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
/* Download: Windows and Fedora side by side, wide enough for the COPR command on one line; the AppImage below. */
@media (min-width: 700px) {
  .cards.download { grid-template-columns: 1fr 1fr; }
  .cards.download .wide { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  pre { white-space: pre-wrap; overflow-wrap: anywhere; } /* the command wraps instead of hiding its end */
  .hero h1 { font-size: 2rem; }
}
