/* Guide pages (/emom-timer/, /whiteboard-to-timer/ …). They reuse the page
   hero and the privacy page's article and clause layout from site.css. */

.guide-lede {
  max-width: 62ch;
}

.guide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.guide {
  padding-bottom: 72px;
}

.clause ul,
.clause ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 22px;
}

.clause li::marker {
  color: var(--work);
}

.clause b {
  color: var(--text-strong);
}

.howto li {
  padding-left: 4px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 22px;
  text-align: left;
}

.compare caption {
  padding: 14px 18px 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 20px;
  text-align: left;
  caption-side: top;
}

.compare th,
.compare td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-row);
  vertical-align: top;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  white-space: nowrap;
  color: var(--text-quiet);
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compare tbody th {
  color: var(--text-strong);
  font-weight: 600;
}

.compare td {
  color: var(--text-body);
}

.example {
  display: grid;
  gap: 16px;
}

.example > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.example > div:last-child {
  border-color: var(--work);
}

.example pre {
  margin: 0;
  color: var(--text-strong);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 15px;
  line-height: 24px;
  white-space: pre-wrap;
}

@media (min-width: 640px) {
  .example {
    grid-template-columns: 1fr 1fr;
  }
}

.guide-faq details {
  border-top: 1px solid var(--line);
}

.guide-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.guide-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 24px;
}

.guide-faq summary::-webkit-details-marker {
  display: none;
}

.guide-faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: url("/assets/faq-plus.svg") center / 28px no-repeat;
}

.guide-faq details[open] summary::after {
  background-image: url("/assets/faq-minus.svg");
}

.guide-faq details p {
  padding-bottom: 20px;
}

.clause.sources li,
.clause.sources p {
  font-size: 14px;
  line-height: 22px;
}
