/* The quick start guide (guide.html): the landing page's type, buttons and screenshot frames, on
   plain white with a still, very faint isobar chart behind it (assets/guide-isobars.svg). */
body.guide {
  background: #fff url('assets/guide-isobars.svg') center / cover no-repeat fixed;
  --ink-soft: rgba(23, 20, 21, 0.72);
  --rule: rgba(23, 20, 21, 0.1);
  --shadow: 0 24px 48px -22px rgba(23, 20, 21, 0.35), 0 0 0 1px rgba(23, 20, 21, 0.08);
}

.guide .btn-quiet {
  background: rgba(255, 255, 255, 0.7);
}

.guide .btn-primary {
  background: linear-gradient(135deg, #1b8494 0%, #166f7d 100%);
  box-shadow: 0 4px 14px rgba(27, 132, 148, 0.3);
}

.guide .btn-primary:hover {
  background: linear-gradient(135deg, #166f7d 0%, #125b66 100%);
}

/* The article: a reading column, with the full-screen shots let out wider than it. */
.doc {
  --read: 720px;
  padding-block: 16px 72px;
}

.doc > * {
  max-width: var(--read);
  margin-inline: auto;
}

.doc-head {
  padding-block: 24px 8px;
}

.doc h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.doc .lead {
  max-width: none;
}

.doc h2 {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  scroll-margin-top: 24px;
}

.doc h2 .num {
  color: #1b8494;
  margin-right: 0.35em;
}

.doc p,
.doc ul {
  margin-top: 14px;
}

.doc ul {
  padding-left: 1.2em;
}

.doc li + li {
  margin-top: 8px;
}

.doc li::marker {
  color: #1b8494;
}

.doc em {
  color: #145f6a;
}

.doc a:not(.btn) {
  color: #1b8494;
  text-underline-offset: 3px;
}

.doc code {
  color: var(--ink);
  background: rgba(27, 132, 148, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

.doc kbd,
.doc .ui {
  font-weight: 600;
}

/* Contents */
.toc {
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
}

.toc p {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding-left: 1.3em;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  margin: 0 0 4px;
}

.toc a {
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Screenshots: the landing page's frames, with the shadow tuned for white. */
.shot {
  margin: 28px auto 0;
}

.doc > .shot-wide {
  max-width: 1040px;
}

.shot .frame-desktop,
.shot .crop {
  box-shadow: var(--shadow);
}

.shot .crop {
  display: block;
  margin-inline: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #231f20;
}

.shot figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* Two small shots side by side where they fit. */
.shot-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  margin-top: 28px;
}

.shot-pair .shot {
  margin: 0;
}

.closing-note {
  margin-top: 72px !important;
}

.guide .closing {
  max-width: var(--read);
  margin-inline: auto;
}

@media (max-width: 600px) {
  .toc ol {
    columns: 1;
  }

  .doc h2 {
    margin-top: 48px;
  }
}

/* The closing card's heading is not a section of the article. */
.doc .closing h2 {
  margin: 0;
  padding: 0;
  border: 0;
}
