/* Article pages (/screen-time-friend, /events, /compare): a dark opening with the short answer, then a light
   reading column. Same tokens, nav and footer as the home page; only the reading layout is new. */
.opening {
  padding: calc(var(--s-900) + var(--s-700)) 0 var(--s-800);
  background: radial-gradient(80% 70% at 50% 0%, rgba(21, 73, 197, 0.3), var(--abyss-0) 70%), var(--abyss);
  color: var(--foam);
}
.opening .h-xl {
  max-width: 16ch;
}
.answer {
  margin: var(--s-400) 0 0;
  max-width: 40ch;
  font-size: 22px;
  line-height: 32px;
  color: var(--foam);
}
.opening .pill {
  margin-top: var(--s-500);
}

.article {
  padding: var(--s-800) 0 var(--s-900);
  background: var(--foam);
  color: var(--midnight);
}
.prose {
  max-width: 46rem;
}
.prose h2 {
  margin: var(--s-700) 0 var(--s-200);
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: var(--s-400) 0 var(--s-75);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
}
.prose p,
.prose li {
  font-size: 18px;
  line-height: 28px;
}
.prose p {
  margin: 0 0 var(--s-200);
}
.prose ol,
.prose ul {
  display: grid;
  gap: var(--s-100);
  margin: 0 0 var(--s-200);
  padding-left: 1.25em;
}
.prose ol {
  list-style: decimal;
}
.prose ul {
  list-style: disc;
}
.prose a:not(.pill) {
  color: var(--cobalt);
  text-underline-offset: 4px;
}

/* A step with its app screen beside it; stacked on phones. */
.shot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: var(--s-400);
  align-items: center;
  margin: var(--s-400) 0;
}
.shot img {
  width: 200px;
  height: auto;
}
@media (max-width: 640px) {
  .shot {
    grid-template-columns: 1fr;
  }
  .shot img {
    width: min(220px, 70%);
    justify-self: center;
  }
}

/* Comparison tables scroll sideways on narrow screens instead of squeezing. */
.table {
  margin: var(--s-300) 0 var(--s-200);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 22px;
}
.table th,
.table td {
  padding: var(--s-100) var(--s-200) var(--s-100) 0;
  border-bottom: 1px solid var(--midnight-14);
  text-align: left;
  vertical-align: top;
}
.table thead th {
  font-weight: 500;
  border-bottom-color: var(--midnight);
}
.table tbody th {
  font-weight: 500;
}
.table tr.is-us {
  background: rgba(21, 73, 197, 0.08);
}
.checked {
  font-size: 14px;
  line-height: 20px;
  font-weight: 200;
  font-style: italic;
}
.sources {
  font-size: 14px;
  line-height: 20px;
  word-break: break-word;
}

/* The events form sits in a dark band, as on the home page. */
.ask-band {
  padding: var(--s-800) 0;
  background: var(--abyss);
  color: var(--foam);
}
.ask-band .host__grid {
  align-items: start;
}
