/*
  The text messages page (praisepad.app/texts): what PraisePad texts, how a member opts in on the
  app's Texts page, and how to stop. The carriers' reviewers read it to check the opt-in, so the
  pictures are real screenshots and the consent is the app's exact words. No inline styles: the
  site's security rule allows only this file and styles.css.
*/
.tx-hero {
  padding: 56px 0 8px;
}
.tx-hero h1 {
  max-width: 18ch;
}
.tx-hero .lede {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}
.tx-body {
  padding: 32px 0 var(--section);
}
.tx-hero .container,
.tx-body .container {
  max-width: 860px;
}
.tx-section > ul + p {
  margin-top: 16px;
}
.tx-section + .tx-section {
  margin-top: 56px;
}
.tx-section h2 {
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.tx-section > p,
.tx-section li {
  max-width: 68ch;
}
.tx-section p + p {
  margin-top: 12px;
}
.tx-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.tx-list li {
  padding-left: 18px;
  position: relative;
}
.tx-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* The three steps, each a picture of the real page. */
.tx-steps {
  display: grid;
  gap: 40px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.tx-step h3 {
  font-size: 19px;
  margin-bottom: 6px;
}
.tx-step h3::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  vertical-align: 2px;
}
.tx-step p {
  max-width: 68ch;
  color: var(--muted);
}
.tx-step figure {
  margin: 16px 0 0;
}
.tx-step img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.tx-step figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* The consent, word for word. */
.tx-consent {
  margin: 16px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--surface);
  max-width: 68ch;
}
.tx-consent p + p {
  margin-top: 8px;
}
.tx-consent .tx-tick {
  font-weight: 600;
}

/* Sample texts, as they arrive. */
.tx-samples {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  max-width: 620px;
}
.tx-samples li {
  padding: 12px 16px;
  border-radius: 18px 18px 18px 6px;
  background: var(--sidebar);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.tx-samples .tx-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Keywords. */
.tx-keys {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px 18px;
  margin-top: 16px;
  max-width: 68ch;
}
.tx-keys dt {
  font-family: "Geist Mono", ui-monospace, Menlo, monospace;
  font-weight: 600;
}
.tx-keys dd {
  margin: 0;
}
