:root {
  --bg: #050505;
  --panel: #111;
  --line: #222;
  --text: #c8c8c8;
  --muted: #8a8a8a;
  --accent: #ffb347;
  --clock: #a0a0a0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
main, header, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; }
header .brand { color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 10px; }
header .brand img { border-radius: 7px; }
.hero .logo { display: block; margin: 40px auto 0; border-radius: 28px; }
header nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
header nav a:hover { color: var(--text); }

.hero { text-align: center; padding: 64px 0 40px; }
.face {
  display: inline-block;
  padding: 28px 40px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #000;
}
.face .time {
  font-weight: 200;
  font-size: clamp(72px, 22vw, 150px);
  line-height: 1;
  color: var(--clock);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.face .date { color: #606060; font-size: 20px; margin-top: 8px; }
.face .wx { color: #707070; font-size: 16px; margin-top: 6px; }
.hero h1 { font-size: clamp(30px, 7vw, 44px); margin: 36px 0 6px; font-weight: 600; color: #e6e6e6; }
.hero p.lead { color: var(--muted); font-size: 19px; margin: 0 auto; max-width: 34em; }
.price { color: var(--accent); margin: 22px 0 0; font-size: 17px; }
a.badge { text-decoration: none; }
.badge {
  display: inline-block; margin-top: 26px; padding: 10px 20px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 15px;
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; padding: 20px 0 40px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; color: #e6e6e6; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

section.note { border-top: 1px solid var(--line); padding: 28px 0; }
section.note h2 { font-size: 20px; margin: 0 0 8px; color: #e6e6e6; }
section.note p { margin: 0 0 10px; color: var(--muted); }

article h1 { font-size: 34px; margin: 40px 0 4px; color: #e6e6e6; }
article h2 { font-size: 21px; margin: 34px 0 8px; color: #e6e6e6; }
article .effective { color: var(--muted); margin: 0 0 24px; }
article li { margin-bottom: 8px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: #e6e6e6; font-weight: 600; }
code { font-size: .92em; color: #ddd; white-space: nowrap; }

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

/* FAQ questions sit under the "Questions" heading. */
.note h3 { font-size: 1rem; margin: 1.25rem 0 0.25rem; }

/* Screenshots: the landscape clock leads, the rest scroll sideways. */
.shots { padding: 8px 0 32px; }
.shots img { display: block; height: auto; border: 1px solid var(--line); border-radius: 14px; background: #000; }
.shot-wide { width: 100%; }
.shot-strip { display: flex; gap: 12px; overflow-x: auto; padding: 14px 0 6px; scroll-snap-type: x mandatory; }
.shot-strip .shot-link { flex: 0 0 auto; scroll-snap-align: start; align-self: center; }
.shot-strip img { width: 180px; }
.shot-strip img.wide { width: 320px; }
.shot-link { display: block; cursor: zoom-in; border-radius: 14px; }
.shot-link:hover img, .shot-link:focus-visible img { border-color: var(--accent); }
.shot-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shots-hint { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* Slideshow: pure CSS, opened by #view-N in the address. */
.lightbox { display: none; position: fixed; inset: 0; z-index: 10; background: #000;
  align-items: center; justify-content: center; padding: 48px 64px; }
.lightbox:target { display: flex; }
.lb-backdrop { position: absolute; inset: 0; cursor: zoom-out; }
.lightbox figure { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox figure img { display: block; max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto;
  border: 1px solid var(--line); border-radius: 14px; background: #000; }
.lightbox figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; text-align: center; }
.lb-count { margin-left: 8px; color: #666; }
.lightbox figcaption a { margin-left: 8px; }
.lb-prev, .lb-next, .lb-close { position: absolute; color: #ddd; text-decoration: none; font-size: 40px; line-height: 1;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.06); }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { background: rgba(255,255,255,.14); color: #fff; }
.lb-prev:focus-visible, .lb-next:focus-visible, .lb-close:focus-visible { outline: 2px solid var(--accent); }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 8px; right: 8px; font-size: 34px; }
@media (max-width: 600px) {
  .lightbox { padding: 56px 8px 72px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}
.feature ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 15px; line-height: 1.5; }
.feature li + li { margin-top: 4px; }
