/* Content pages: how it works, pricing, FAQ, security, status, change log, legal. */
.doc { padding-top: 40px; padding-bottom: 56px; }
.doc h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.02; letter-spacing: -0.04em; }
.doc .lede { margin-top: 14px; }
.doc h2 { font-size: 22px; font-weight: 600; margin: 40px 0 12px; letter-spacing: -0.02em; }
.doc h3 { font-size: 16px; font-weight: 600; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--muted); line-height: 1.65; max-width: 72ch; }
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 20px; margin: 8px 0; }
.doc li { margin: 4px 0; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--text); }
.doc code { font-size: 0.92em; background: var(--card-2); padding: 1px 6px; border-radius: 6px; word-break: break-word; }
.c-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; min-width: 0; }
.c-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 14px; }
.c-note { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--lime-soft); color: var(--text); font-size: 14px; line-height: 1.6; max-width: 80ch; }
.c-note.warn { background: var(--down-soft); }
.c-table-wrap { overflow-x: auto; margin-top: 12px; -webkit-overflow-scrolling: touch; }
.c-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 0; }
.c-table th { text-align: left; font-weight: 500; color: var(--faint); font-size: 13px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.c-table td { padding: 10px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; white-space: normal; }
.c-table th { white-space: nowrap; }
.c-table td:first-child { color: var(--text); font-weight: 500; }
.team-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-top: 14px; }
.team-card { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; min-width: 0; }
.team-card .mascot { width: 56px; height: 56px; }
.team-card b { display: block; color: var(--text); }
.team-card span { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.team-card .off-tag, .agent .off-tag { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: var(--pill); border: 1px solid var(--line-2); color: var(--muted); font-size: 12px; font-style: normal; font-weight: 500; line-height: 1.5; }
.how-steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.how-steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin: 0; max-width: none;
  display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; row-gap: 8px; align-items: center; align-content: start; }
.how-steps li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-weight: 600; font-size: 13px; }
.doc .how-steps h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.how-steps p { grid-column: 1 / -1; margin: 0; }
details.qa { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; margin-top: 8px; }
details.qa summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--faint); font-weight: 400; }
details.qa[open] summary::after { content: "–"; }
details.qa > div { padding: 0 0 16px; }
.price-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 22px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.price-card.main { border-color: var(--lime); }
.price-card .tag { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.price-card .amt { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.price-card ul { margin: 4px 0 8px; }
.price-card .btn { margin-top: auto; justify-content: center; }
.st-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-top: 12px; }
.st-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; min-width: 0; }
.st-tile span { display: block; font-size: 13px; color: var(--faint); }
.st-tile b { display: block; font-size: 18px; margin-top: 4px; color: var(--text); font-weight: 600; word-break: break-word; }
.st-tile small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); margin-right: 6px; vertical-align: middle; }
.dot.bad { background: var(--down); }
.dot.idle { background: var(--faint); }
.st-overall { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.st-overall .mascot { width: 64px; height: 64px; }
.st-overall .btn { margin-left: auto; }
.st-overall b { font-size: 20px; }
.log-entry { border-left: 2px solid var(--line-2); padding: 4px 0 4px 18px; margin: 22px 0 0; }
.log-entry time { color: var(--faint); font-size: 13px; }
.log-entry h2 { margin: 4px 0 8px; font-size: 19px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; margin-bottom: 28px; }
.tabs a { text-decoration: none; padding: 8px 14px; border-radius: var(--pill); border: 1px solid var(--line-2); color: var(--muted); font-weight: 500; font-size: 14px; }
.tabs a[aria-current="page"] { color: var(--text); border-color: var(--lime); background: var(--lime-soft); }
.draft { display: block; width: fit-content; margin-top: 18px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--down-soft); color: var(--down); font-weight: 600; font-size: 13.5px; }
/* breathing room after tables and card grids, so the next line never sits flush against them */
.c-table-wrap + p, .c-table-wrap + .small, .c-grid + p, .price-grid + h2, .c-table-wrap + .c-note { margin-top: 20px; }
.c-card h3 { margin-top: 0; }
.c-card ul { margin-bottom: 0; }
@media (max-width: 640px) {
  .doc { padding-top: 26px; padding-bottom: 40px; }
  .how-steps { grid-template-columns: 1fr; }
  .c-table th, .c-table td { padding-left: 8px; padding-right: 8px; }
  .c-table th:first-child, .c-table td:first-child { padding-left: 0; }
  .c-table th:last-child, .c-table td:last-child { padding-right: 0; }
  .rule-table { font-size: 13.5px; }
  .doc h2 { margin-top: 30px; }
  .c-card, .price-card { padding: 18px; }
}
.doc a.btn { color: var(--lime-ink); text-decoration: none; }
.doc a.btn.ghost { color: var(--text); }
.price-card .tag { align-self: flex-start; background: none; padding: 0; border: 0; border-radius: 0; }
/* error pages */
.err-page { text-align: left; padding-top: 56px; }
.err-owl { display: block; width: 120px; height: 120px; }
.err-owl .mascot { width: 120px; height: 120px; }
.err-code { font-size: 14px; color: var(--faint); font-weight: 600; margin-top: 18px; }
.err-page h1 { margin-top: 6px; }
.err-help { margin-top: 22px; }
/* pricing */
.price-card .per { font-size: 13px; color: var(--muted); margin-top: -8px; }
.price-card .muted-amt { font-size: 22px; color: var(--muted); }
.price-card .small { font-size: 12.5px; color: var(--faint); }
.c-note b.up { color: var(--lime); } .c-note b.down { color: var(--down); }
.qa-list { margin-top: 22px; }
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.glossary div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.glossary dt { font-weight: 600; color: var(--text); }
.glossary dd { margin: 4px 0 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.help-line { margin-top: 22px; color: var(--muted); }
@media (max-width: 640px) { .glossary { grid-template-columns: 1fr; } }
/* the team page's agent cards (desk.css draws them): names line up across a row, and an agent that's off keeps full
   contrast, marked by a tag rather than faded */
.team .agent { align-items: start; }
.team .agent.off { opacity: 1; }
.doc .doc-date { margin-top: 10px; }
.doc b, .team-card b, .st-overall b, .price-card b { font-weight: 600; }
