/* The content pages built on guide.css: features, support, what's new, press and 404. */
.guide.wide { max-width: 1120px; }
.guide.wide > header { max-width: 44rem; }

/* Jump links under a page's title. */
.guide .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.guide .toc li { margin: 0; }
.guide .toc a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--ink-2);
  text-decoration: none;
  font: 600 14px/1 var(--font);
}
.guide .toc a:hover { color: var(--ink); }

/* Features: one group per area, a grid of short items. */
.fgroup { scroll-margin-top: 80px; }
.guide .fgroup > h2 { margin-top: 64px; }
.fgroup > p { max-width: 44rem; margin: 0; }

.guide .fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.guide .fgrid li {
  margin: 0;
  padding: 18px 20px 20px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.fgrid h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.guide .fgrid h3 { margin: 0; color: var(--ink); }
.fgrid p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; }

/* Keyboard shortcuts and fact sheets. */
.keys, .facts { width: 100%; max-width: 44rem; border-collapse: collapse; margin: 22px 0 0; font-size: 15.5px; }
.keys th, .keys td, .facts th, .facts td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.keys th, .facts th { font-weight: 600; color: var(--ink); width: 40%; padding-right: 18px; }
.keys td, .facts td { color: var(--ink-2); }

kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--hairline), 0 1px 0 var(--hairline);
  font: 600 13px/1.3 var(--font);
  text-align: center;
  color: var(--ink);
}

/* Support: the contact card. */
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin: 36px 0 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.contact div { flex: 1 1 18rem; }
.guide .contact h2 { margin: 0 0 4px; font-size: 20px; }
.contact p { margin: 0; font-size: 15.5px; line-height: 1.45; }
.guide .contact .button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font: 600 15px/1 var(--font);
}

/* Support's questions reuse the home page's FAQ markup. */
.guide .faq article { padding: 20px 0; border-top: 1px solid var(--hairline); }
.guide .faq article:last-child { border-bottom: 1px solid var(--hairline); }
.guide .faq h3 { margin: 0 0 6px; }
.guide .faq p { margin: 0; }

/* What's new: release notes. */
.release { margin-top: 44px; }
.release .tag {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font: 650 13px/1 var(--font);
  letter-spacing: 0.02em;
}
.guide .release h2 { margin-top: 14px; }

/* Press: icon downloads. */
.icons { display: flex; flex-wrap: wrap; gap: 20px; margin: 22px 0 0; }
.icons figure { margin: 0; text-align: center; }
.icons img { width: 128px; height: 128px; border-radius: 28px; box-shadow: var(--shadow); }
.icons figcaption { margin-top: 10px; font-size: 14.5px; }

.guide blockquote {
  margin: 18px 0 0;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--accent);
  color: var(--ink-2);
}

/* 404 */
.lost { text-align: center; max-width: 34rem; padding-top: 96px; padding-bottom: 120px; }
.lost .icon { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 22px; box-shadow: var(--shadow); }
.guide.lost .lede { margin: 16px auto 0; }
.guide.lost .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.guide.lost .links li { margin: 0; }
.guide.lost .links a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  font: 600 15px/1 var(--font);
}

@media (max-width: 600px) {
  .keys th, .facts th { width: 46%; }
  .icons img { width: 104px; height: 104px; border-radius: 23px; }
}
