/* mcpock.com — one small stylesheet, no framework.
   Colors: accent blue (app icon), soft neutral, pastel green ("fine"). */

:root {
  --blue: #4f6fb0;
  --blue-dark: #3d5790;
  --green: #6fbf8b;
  --neutral: #f6f7f9;
  --neutral-2: #eef0f3;
  --border: #dfe3e8;
  --text: #2b2f36;
  --text-soft: #666d78;
  --bg: #ffffff;
  --amber: #c9a227;
  --red: #c25656;
  --radius: 12px;
  --max-width: 880px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue: #8aa6e0;
    --blue-dark: #a9c0ee;
    --green: #7fd0a0;
    --neutral: #1b1d22;
    --neutral-2: #23262c;
    --border: #33373f;
    --text: #e7e9ed;
    --text-soft: #a3a9b4;
    --bg: #16171b;
    --amber: #d8bb55;
    --red: #e08585;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 19px;
}

.brand img {
  width: 28px;
  height: 28px;
}

.brand:hover {
  text-decoration: none;
}

nav.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 15px;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 32px 0 48px;
  color: var(--text-soft);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.site-footer a {
  color: var(--text-soft);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero */

.hero {
  padding: 56px 0 40px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.25;
  margin: 0 0 14px;
  max-width: 22ch;
}

.hero .lede {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.note {
  font-size: 14px;
  color: var(--text-soft);
}

/* Sections */

section {
  padding: 40px 0;
}

section + section {
  border-top: 1px solid var(--border);
}

h2 {
  font-size: 26px;
  margin: 0 0 8px;
}

h3 {
  font-size: 19px;
  margin: 24px 0 6px;
}

.section-intro {
  color: var(--text-soft);
  max-width: 65ch;
  margin: 0 0 24px;
}

/* Benefit grid */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--neutral);
}

.card h3 {
  margin-top: 0;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

/* Health table */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.shape {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.fine { background: var(--green); }
.dot.slow, .dot.signin { border: 2px solid var(--amber); background: transparent; }
.dot.checking { border: 2px solid var(--text-soft); background: transparent; }
.dot.broken {
  background: var(--red);
  border-radius: 2px;
  transform: rotate(45deg);
}
.dot.paused {
  border-radius: 2px;
  background: var(--text-soft);
  height: 3px;
  width: 12px;
  align-self: center;
}

/* Agents strip */

.agent-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.agent-strip li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--text-soft);
  background: var(--neutral);
}

/* Screens */

.screens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.screens > figure:only-child {
  grid-column: 1 / -1;
}

.fine-print {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-soft);
}

figure {
  margin: 0;
}

figure img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

figcaption {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 8px;
}

/* Guide layout */

.toc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: var(--neutral);
  margin: 0 0 32px;
}

.toc h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  font-size: 15px;
}

@media (max-width: 640px) {
  .toc ol {
    columns: 1;
  }
}

pre {
  background: var(--neutral-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.5;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--neutral-2);
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 0.9em;
}

pre code {
  background: none;
  padding: 0;
}

kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--neutral-2);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 0.85em;
}

.guide-section {
  padding-top: 40px;
  padding-bottom: 8px;
  scroll-margin-top: 20px;
}

.guide-section + .guide-section {
  border-top: 1px solid var(--border);
}

/* FAQ */

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.faq-item p {
  margin: 0;
  color: var(--text-soft);
}

/* Breadcrumbs */

.breadcrumbs {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--text-soft);
}

.breadcrumbs span[aria-hidden] {
  margin: 0 6px;
}

/* Callouts */

.callout {
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 14px 18px;
  background: var(--neutral);
  margin: 18px 0;
  font-size: 15px;
}

.callout.todo {
  border-left-color: var(--amber);
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: 8px;
}
