/* Shared guide and blog article layout. Uses site.css tokens and controls. */
.page-article main {
  max-width: var(--article-width);
  margin-inline: auto;
  padding: 32px 24px 72px;
}
.page-article h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.15;
}
.page-article h2 { margin: 48px 0 16px; font-size: 1.6rem; line-height: 1.3; }
.page-article h3 { margin: 28px 0 8px; font-size: 1.1rem; line-height: 1.4; }
.page-article p { margin: 0 0 16px; color: var(--muted); }
.page-article li { margin-bottom: 12px; color: var(--muted); }
.page-article ol, .page-article ul { padding-left: 24px; }
.page-article .breadcrumbs ol { margin: 0 0 24px; padding: 0; }
.page-article .breadcrumbs li { margin: 0; }
.article-byline { font-size: 14px; margin-bottom: 28px !important; }
.article-label { font-size: 14px; color: var(--accent-text) !important; }
.feature-label { margin: 0 0 12px !important; }
.answer, .example, .worksheet, .web {
  padding: 24px;
  border-radius: var(--r-m);
  background: var(--surface);
}
.answer { padding: 20px 24px; border-left: 4px solid var(--primary); }
.answer p { margin: 0; color: var(--text); font-size: 1.1rem; }
.example, .worksheet { margin: 24px 0; }
.example h3, .worksheet h2, .web h2 { margin-top: 0; }
.example p:last-child, .web p:last-child { margin-bottom: 0; }
.article-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 28px 0 8px;
  padding: 12px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  font-size: 14px;
}
.article-contents a { display: inline-flex; align-items: center; min-height: 44px; }
.shots { display: grid; gap: 24px; margin: 32px 0; }
.shots figure { margin: 0; }
.shots img {
  width: 100%;
  max-width: 330px;
  height: auto;
  margin-inline: auto;
  border-radius: var(--r-l);
  border: 1px solid var(--divider);
}
.shots figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
.shots.single { display: block; }
.shots.wide img { max-width: 660px; border-radius: var(--r-s); }
/* A Mac window around a dark-theme app screenshot; the chrome matches the screenshot. */
.shots .window {
  max-width: 660px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--divider);
  border-radius: var(--r-s);
  background: #2a2a2a;
  box-shadow: 0 24px 48px -24px var(--phone-shadow);
}
.shots .window::before {
  content: "";
  display: block;
  height: 28px;
  background:
    radial-gradient(circle at 16px 14px, #ff5f57 5px, transparent 5.5px),
    radial-gradient(circle at 34px 14px, #febc2e 5px, transparent 5.5px),
    radial-gradient(circle at 52px 14px, #28c840 5px, transparent 5.5px);
}
/* A Windows title bar: minimize, maximize and close glyphs on the right. */
.shots .window.win::before {
  height: 30px;
  background:
    linear-gradient(#bdbdbd, #bdbdbd) right 98px top 14px / 10px 1px no-repeat,
    linear-gradient(#2a2a2a, #2a2a2a) right 61px top 11px / 8px 8px no-repeat,
    linear-gradient(#bdbdbd, #bdbdbd) right 60px top 10px / 10px 10px no-repeat,
    linear-gradient(45deg, transparent 46%, #bdbdbd 46%, #bdbdbd 54%, transparent 54%) right 18px top 10px / 10px 10px no-repeat,
    linear-gradient(-45deg, transparent 46%, #bdbdbd 46%, #bdbdbd 54%, transparent 54%) right 18px top 10px / 10px 10px no-repeat;
}
.shots .window img { max-width: none; border: 0; border-radius: 0; }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 16px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.ideas, .memory-prompts, .comparison-cards, .field-list { display: grid; gap: 12px; }
.ideas, .memory-prompts { padding: 0 !important; list-style: none; }
.ideas li, .memory-prompts li, .comparison-cards > div, .field-list > div {
  margin: 0;
  padding: 16px;
  border-radius: var(--r-s);
  background: var(--surface);
}
.ideas strong, .memory-prompts strong { display: block; margin-bottom: 4px; }
.comparison-cards h3 { margin-top: 0; }
.comparison-cards p { margin: 4px 0; }
.page-article dl { margin: 24px 0; }
.page-article dt { font-weight: 500; margin-top: 16px; }
.page-article dd { margin: 4px 0 0; color: var(--muted); }
.field-list dt { margin-top: 0; }
.page-article table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.page-article th, .page-article td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--divider);
  overflow-wrap: anywhere;
}
.page-article th { color: var(--text); }
.page-article td { color: var(--muted); }
.faq p { margin-top: 4px; }
.back-to-app { margin-top: 32px; }

@media (min-width: 600px) {
  .shots, .ideas, .memory-prompts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 720px) {
  .comparison-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .page-article main { padding-inline: 16px; }
  .page-article th, .page-article td { padding: 8px; font-size: 14px; }
  .answer, .example, .worksheet, .web { padding: 16px; }
}
