/* Tellcheck for GitHub - shared site styles.
   Dark, using the same tokens as the Tellcheck API site
   (--bg/--panel/--ink/--accent) so the two sites read as one product. */

:root {
  --bg: #0b0e14;
  --panel: #131824;
  --ink: #e6edf3;
  --accent: #5aa2ff;
  --muted: #9aa7b8;
  --line: #232b3a;
  --flag: #ff6b6b;
  --flag-bg: rgba(255, 107, 107, 0.12);
  --shadow: rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 80px;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--accent); }

code {
  background: var(--panel);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.9em;
}

pre {
  background: var(--panel);
  padding: 12px 14px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 14px;
  border: 1px solid var(--line);
}

table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 7px 10px; text-align: left; }
th { background: var(--panel); }

h1 {
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 40px;
}
/* The marketing headline on index.html wraps on its own at a readable
   measure instead of a hardcoded <br />. */
h1.hero {
  max-width: 22ch;
}

h2 { font-size: 20px; margin-top: 36px; }

.lede, .lead { font-size: 19px; opacity: 0.85; }

.btn {
  display: inline-block;
  margin: 18px 12px 0 0;
  padding: 11px 22px;
  border-radius: 8px;
  background: var(--accent);
  color: #041018;
  font-weight: 700;
  text-decoration: none;
}
.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn.disabled {
  background: transparent;
  color: inherit;
  opacity: 0.6;
  border: 1px solid currentColor;
  cursor: default;
  pointer-events: none;
}

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 16px 20px;
  margin: 26px 0;
}

.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font: 600 13px/1.5 inherit;
  background: var(--flag-bg);
  color: var(--flag);
  border: 1px solid var(--flag);
}

figure { margin: 28px 0; }
figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 24px var(--shadow);
}
figcaption { font-size: 13px; opacity: 0.7; margin-top: 8px; text-align: center; }

footer { margin-top: 48px; font-size: 14px; opacity: 0.7; }

.tc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.tc-wordmark {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: inherit;
  font-size: 16px;
}
.tc-wordmark b { color: var(--accent); }
.tc-wordmark .tc-sub { font-weight: 400; opacity: 0.6; font-size: 13px; }
.tc-nav a { margin-left: 16px; font-size: 14px; color: inherit; opacity: 0.75; text-decoration: none; }
.tc-nav a:hover { opacity: 1; text-decoration: underline; }
