/* tomosreader.com: the phone's own fonts, light or dark as the phone is.
   Made by tool/site/build_site.py from tool/site/style.css; nothing here
   loads anything (the site's Content-Security-Policy would refuse it). */
:root {
  color-scheme: light dark;
  --bg: #fbf8f2;
  --fg: #1f1b16;
  --muted: #5d554b;
  --line: #ddd3c4;
  --link: #8a3b12;
  --card: #f2ece1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16130f;
    --fg: #ece5d8;
    --muted: #b3a998;
    --line: #3a332a;
    --link: #f0a46d;
    --card: #221d17;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0 auto;
  max-width: 44rem;
  padding: 0 1.25rem 3rem;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
a { color: var(--link); }
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
}
.brand img { border-radius: 9px; }
.languages { position: relative; font-size: 0.95rem; }
.languages summary { cursor: pointer; color: var(--muted); }
.languages ul {
  position: absolute;
  right: 0;
  z-index: 1;
  margin: 0.4rem 0 0;
  padding: 0.4rem 0;
  min-width: 12rem;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.languages li a { display: block; padding: 0.3rem 1rem; }
.languages [aria-current] { font-weight: 600; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 1.5rem 0 0.75rem; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
.lead { font-size: 1.2rem; }
.play a {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--link);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.features li { margin: 0.4rem 0; }
.chooser {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.numbered { list-style: none; padding-left: 0.25rem; }
.legal li { margin: 0.5rem 0; }
code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono",
    monospace;
  font-size: 0.9em;
}
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
}
th { background: var(--card); }
@media (max-width: 34rem) {
  thead { display: none; }
  table, tbody, tr, td { display: block; }
  td { border: 0; padding: 0.15rem 0; }
  tr { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
  td:first-child { font-weight: 600; }
}
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
