/* Examine Metadata home page. Clean documentation-site look, dark by default. No web fonts, no scripts. */
:root {
  --bg: #16181c;
  --panel: #1f2228;
  --stripe: #23262d;
  --line: #343841;
  --text: #dee2e6;
  --muted: #a3a9b1;
  --link: #6ea8fe;
  --gold: #d4af37;
  --gold-hi: #ffc107;
  --bronze: #cd7f32;
  --nav: #0d0f12;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --panel: #f8f9fa;
    --stripe: #f2f2f2;
    --line: #dee2e6;
    --text: #212529;
    --muted: #5c636a;
    --link: #0d6efd;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); }
a:hover { color: var(--gold-hi); }
img { max-width: 100%; height: auto; }
code, .mono { font-family: Consolas, "Cascadia Mono", "Courier New", monospace; font-size: .92em; }

/* top bar */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  padding: 12px 16px;
  background: var(--nav);
  border-bottom: 1px solid #000;
}
.nav .brand {
  color: var(--gold);
  font-weight: 700;
  font-size: 21px;
  text-decoration: none;
  margin-right: 8px;
  transition: color .3s, text-shadow .3s;
}
.nav .brand:hover { color: #e9c03d; text-shadow: 0 2px 4px rgba(203, 163, 120, .6); }
.nav a.link { color: rgba(255, 255, 255, .62); text-decoration: none; }
.nav a.link:hover { color: var(--gold-hi); text-shadow: 0 2px 4px rgba(255, 193, 7, .8); }
.nav .spacer { flex: 1; }

.btn {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--bronze);
  border-radius: 6px;
  color: var(--bronze);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--bronze); color: #000; }
.btn.solid { background: var(--gold-hi); border-color: var(--gold-hi); color: #000; font-weight: 600; }
.btn.solid:hover { background: #ffcd39; }
.btn.big { padding: 12px 34px; font-size: 20px; }

/* page */
.wrap { max-width: 820px; margin: 0 auto; padding: 0 16px 48px; }
header.title { padding: 18px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
header.title h1 { margin: 0; font-size: 36px; font-weight: 500; color: var(--link); line-height: 1.2; }
header.title p { margin: 4px 0 0; font-size: 21px; font-weight: 500; color: var(--muted); }

h2 { font-size: 30px; font-weight: 500; margin: 40px 0 12px; line-height: 1.2; }
h3 { font-size: 20px; font-weight: 500; margin: 26px 0 6px; }
.lead { font-size: 20px; font-weight: 300; }
.muted { color: var(--muted); }

.figure-left {
  float: left;
  width: 260px;
  margin: 6px 18px 10px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  text-align: center;
}
.clear { clear: both; }

.shot {
  display: block;
  margin: 18px auto 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.caption { text-align: center; font-size: 14px; color: var(--muted); margin: 0 0 18px; }

/* striped table, as in documentation sites */
table.list { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
table.list td, table.list th { padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
table.list tr:nth-child(odd) td { background: var(--stripe); }
table.list td:first-child { width: 30%; }
table.list th { font-weight: 600; }

.pair { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.pair figure { margin: 0; flex: 1 1 300px; max-width: 390px; }
.pair figcaption { text-align: center; font-size: 14px; color: var(--muted); }
.pair img { display: block; border: 1px solid var(--line); border-radius: 6px; }

.samples { display: flex; flex-wrap: wrap; gap: 16px; }
.samples figure { margin: 0; flex: 1 1 220px; }
.samples img { display: block; border-radius: 6px; border: 1px solid var(--line); }
.samples figcaption { font-weight: 600; margin: 6px 0 2px; }
.samples pre {
  margin: 0;
  padding: 8px;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.buy {
  text-align: center;
  padding: 26px 16px;
  margin: 12px 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.buy .price { font-size: 56px; font-weight: 600; color: var(--gold); line-height: 1.1; }

dl dt { font-weight: 600; margin-top: 16px; }
dl dd { margin: 2px 0 0; color: var(--text); }

footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .figure-left { float: none; width: auto; margin: 0 0 14px; }
  header.title h1 { font-size: 30px; }
  table.list td:first-child { width: 38%; }
  .nav .spacer { display: none; }
}

.pair.phones figure { flex: 1 1 180px; max-width: 250px; }
