/* Guide pages (ai-texting-coach, what-to-text-back, best-ai-texting-assistant-apps).
   Self-contained on purpose: these pages are read by people and by AI crawlers,
   so they load one small stylesheet and no scripts beyond analytics. */
:root {
  --bg: #ffffff;
  --text: #1c1530;
  --muted: #5b5470;
  --brand: #5b2bd6;
  --brand-soft: #f1ecff;
  --line: #e4def3;
  --card: #faf8ff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0b1a;
    --text: #efeaff;
    --muted: #b2a9cc;
    --brand: #a98bff;
    --brand-soft: #221a3a;
    --line: #2e2547;
    --card: #17112a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--brand); }
.g-header, .g-footer, .g-main { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.g-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.g-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.g-brand img { width: 28px; height: 28px; border-radius: 6px; }
.g-header { flex-wrap: wrap; gap: 8px 16px; }
.g-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.g-nav a { font-size: 15px; text-decoration: none; white-space: nowrap; }
.g-main { padding-top: 28px; padding-bottom: 48px; }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 10px; }
h2 { font-size: 24px; margin: 38px 0 10px; }
h3 { font-size: 19px; margin: 26px 0 6px; }
.g-lede { font-size: 19px; color: var(--muted); margin: 0 0 8px; }
.g-meta { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.g-note {
  background: var(--brand-soft); border-left: 4px solid var(--brand);
  padding: 12px 16px; border-radius: 8px; margin: 20px 0; font-size: 16px;
}
.g-example {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin: 12px 0;
}
.g-example p { margin: 4px 0; }
.g-example .them { color: var(--muted); }
.g-example .you { font-weight: 600; }
.g-cta {
  margin: 36px 0 8px; padding: 20px; border-radius: 14px;
  background: var(--brand-soft); text-align: center;
}
.g-cta p { margin: 0 0 12px; }
.g-btn {
  display: inline-block; margin: 4px 6px; padding: 10px 18px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
}
.g-table-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--card); font-weight: 600; }
.g-footer { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.g-footer a { margin-right: 14px; }
@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  .g-nav { gap: 4px 12px; }
  .g-nav a { font-size: 14px; }
}
