/* Guard Lock: a night-watch page. Dark like the app, Red Hat Display for headlines, Red Hat Text for reading. */
:root {
  color-scheme: dark;
  --night: #0d1730;
  --panel: #15213f;
  --ink: #eef1f6;
  --soft: #a2adc4;
  --rule: #22304f;
  --accent: #93b6f2;
  --select: rgba(147, 182, 242, .3);
  --display: "Red Hat Display", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text: "Red Hat Text", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--select); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

header.site, main, footer { width: min(100% - 40px, 46rem); margin-inline: auto; }
header.site { display: flex; align-items: center; gap: 10px; padding-top: 14px; font: 600 1rem/1 var(--display); }
header.site img { width: 30px; height: 30px; border-radius: 7px; }
header.site a.home { color: var(--ink); text-decoration: none; padding: 12px 0; }
header.site nav { margin-left: auto; display: flex; gap: 20px; font-family: var(--text); font-weight: 500; font-size: .95rem; }
header.site nav a { color: var(--soft); text-decoration: none; padding: 12px 0; }
header.site nav a:hover { color: var(--ink); }

main { padding: 56px 0 24px; }
h1 { font: 800 clamp(2.5rem, 8.4vw, 3.9rem)/1 var(--display); letter-spacing: -.03em; margin: 0 0 20px; max-width: 13em; text-wrap: balance; }
h1.page { font-size: clamp(2.2rem, 7vw, 3rem); }
.sub { font-size: 1.2rem; line-height: 1.5; color: var(--ink); margin: 0 0 30px; max-width: 32em; text-wrap: pretty; }
h1 + .small { margin: -8px 0 32px; }
h2 { font: 700 1.55rem/1.2 var(--display); letter-spacing: -.015em; margin: 64px 0 14px; text-wrap: balance; }
p { margin: 0 0 16px; max-width: 34em; text-wrap: pretty; }
strong { font-weight: 600; color: #fff; }
.small { font-size: .95rem; color: var(--soft); }
.q { font-weight: 600; margin: 30px 0 4px; }
h2 + .q { margin-top: 8px; }
ul { margin: 0 0 16px; padding-left: 1.2em; max-width: 34em; }
li { margin: 0 0 8px; }
li::marker { color: var(--soft); }

/* Two ways to get it */
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 14px; }
.get .dl { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--ink); color: var(--night);
           font: 700 1.02rem/1 var(--display); text-decoration: none; }
.get .dl:hover { background: #fff; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 12px; background: #000; color: #fff;
         border: 1px solid #34436a; font: 600 1.02rem/1 var(--display); text-decoration: none; }
.store:hover { border-color: #6b7a9a; }
.store svg { width: 18px; height: 22px; fill: #fff; flex: none; }
.get + .small { margin-bottom: 0; }

/* The app, three screens */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 48px 0 0; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--rule); background: var(--panel); }
.shots figcaption { font-size: .9rem; color: var(--soft); margin-top: 10px; }

/* Setup steps */
ol { list-style: none; counter-reset: step; margin: 0 0 18px; padding: 0; max-width: 34em; }
ol li { counter-increment: step; position: relative; padding-left: 2.2rem; margin: 0 0 12px; }
ol li::before { content: counter(step); position: absolute; left: 0; top: 0; font: 800 1.25rem/1.35 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }

footer { padding: 28px 0 56px; margin-top: 40px; border-top: 1px solid var(--rule); color: var(--soft); font-size: .95rem; }
footer a { color: var(--soft); }
footer a:hover { color: var(--ink); }

@media (max-width: 620px) {
  main { padding-top: 36px; }
  .sub { font-size: 1.1rem; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; gap: 14px; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shots figure { flex: 0 0 62%; scroll-snap-align: start; }
  h2 { margin-top: 52px; }
}
footer { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* No single stray word on the last line */
li { text-wrap: pretty; }
