/* GitCaliber single stylesheet. Plain CSS, no framework. */

:root {
  --bg: #0d1117;
  --panel: #161b22;
  --panel2: #1c2430;
  --border: #30363d;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #2f81f7;
  --accent2: #2da44e;
  --danger: #f85149;
  --radius: 10px;
  --maxw: 1040px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo { font-weight: 700; font-size: 19px; color: var(--text); letter-spacing: 0.2px; }
.logo span { color: var(--accent); }
nav.links a { color: var(--muted); margin-left: 18px; font-size: 14px; }
nav.links a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn.secondary { background: transparent; border-color: var(--border); color: var(--text); }
.btn.green { background: var(--accent2); }
.btn.block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.hero { padding: 90px 0 60px; text-align: center; }
.hero h1 { font-size: 46px; line-height: 1.1; margin: 0 0 18px; }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 auto 30px; }

.swapbox {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  max-width: 620px;
  margin: 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.swapbox .row { display: flex; align-items: center; gap: 12px; justify-content: center; font-size: 15px; }
.swapbox .from { color: var(--muted); }
.swapbox .to { color: var(--accent2); font-weight: 600; }
.swapbox .arrow { color: var(--muted); }

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin: 18px 0;
}
.panel h2 { margin: 0 0 14px; font-size: 18px; }
.panel h3 { margin: 18px 0 8px; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }

.grid { display: grid; gap: 16px; }
.grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid.cols3, .grid.cols2 { grid-template-columns: 1fr; } }

.stat {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}
.stat .n { font-size: 24px; font-weight: 700; }
.stat .k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }

.chip {
  display: inline-block;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 13px;
  margin: 0 6px 6px 0;
}

.evidence li { margin-bottom: 10px; }

input, textarea, select {
  width: 100%;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 11px 12px;
  font-size: 14px;
  font-family: inherit;
}
label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; }

.form-narrow { max-width: 420px; margin: 60px auto; }

table.pricing { width: 100%; border-collapse: collapse; margin-top: 18px; }
table.pricing th, table.pricing td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; font-size: 14px; }
table.pricing th { background: var(--panel2); }
table.pricing td.center, table.pricing th.center { text-align: center; }
table.pricing .price { font-size: 20px; font-weight: 700; }
table.pricing .yes { color: var(--accent2); font-weight: 700; }
table.pricing .no { color: var(--muted); }

.disclaimer { color: var(--muted); font-size: 12px; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 18px; }

.notice { background: var(--panel2); border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: 12px 14px; border-radius: 6px; margin: 12px 0; font-size: 14px; }
.notice.error { border-left-color: var(--danger); }

.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none; }
.spacer { height: 30px; }
.spin { color: var(--muted); }

footer.site { border-top: 1px solid var(--border); margin-top: 60px; padding: 30px 0; color: var(--muted); font-size: 13px; }
footer.site a { color: var(--muted); margin-right: 16px; }

.share-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.copybox { font-family: ui-monospace, monospace; font-size: 12px; background: var(--panel2); border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; flex: 1; min-width: 240px; overflow-x: auto; white-space: nowrap; }

/* =====================================================================
   Report.
   Read by people working through hundreds of candidates, so structure
   comes from type and spacing rather than from boxes. Nothing here is
   coloured to imply good or bad; the report states what is there.
   ===================================================================== */

.report {
  max-width: 720px;          /* prose stays at a comfortable measure */
  margin: 0 auto;
  padding: 34px 0 60px;
}

.report-head { margin-bottom: 26px; }
.subject {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  word-break: break-word;
}
.chip.verified {
  border-color: var(--accent2);
  color: var(--accent2);
  font-size: 12px;
}
.domain {
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 15px;
}

/* The five second answer. Largest text on the page, and first. */
.lead {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 20px;
  margin: 0 0 30px;
}
.lead p {
  font-size: 19px;
  line-height: 1.58;
  margin: 0;
}

/* Six numbers, one glance, one line where the width allows. */
.facts { margin-bottom: 34px; }
.fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.fact { display: flex; flex-direction: column; min-width: 74px; }
.fact-n {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.fact-k {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.fact-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0 0;
  max-width: 62ch;
}

.sec {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin: 0 0 14px;
}
.report section { margin-bottom: 34px; }

.prose { font-size: 15.5px; line-height: 1.68; margin: 0; }

/* Evidence carries the report, so it is the most prominent block and the
   repository name leads, since that is what a reader will go and open. */
.ev-list { list-style: none; margin: 0; padding: 0; }
.ev {
  border-left: 2px solid var(--border);
  padding: 0 0 0 18px;
  margin-bottom: 20px;
}
.ev:last-child { margin-bottom: 0; }
.ev-repo {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  word-break: break-word;
}
.ev-body { font-size: 15px; line-height: 1.62; color: var(--text); }

.lang-list { list-style: none; margin: 0; padding: 0; }
.lang {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.lang:last-child { border-bottom: none; }
.lang-name { font-weight: 600; }
.lang-ev { color: var(--muted); line-height: 1.55; }

.obs-list { display: flex; flex-direction: column; gap: 16px; }
.obs { display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.obs-k {
  color: var(--muted);
  font-size: 13px;
  padding-top: 1px;
}
.obs-v { font-size: 15px; line-height: 1.62; }

@media (max-width: 620px) {
  .subject { font-size: 25px; }
  .lead p { font-size: 17px; }
  .lang, .obs { grid-template-columns: 1fr; gap: 3px; }
  .lang { padding: 11px 0; }
}

/* Pricing: two plans, compared at a glance rather than in a wide matrix. */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 32px auto 0;
}
@media (max-width: 660px) { .plans { grid-template-columns: 1fr; } }

.plan {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border-color: var(--accent); }
.plan-name { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.plan-price { margin: 0 0 4px; }
.plan-price .amt { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; }
.plan-price .per { color: var(--muted); font-size: 14px; }
.plan-sub { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.plan-list { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.plan-list li {
  padding: 7px 0 7px 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
.plans-note { margin-top: 30px; font-size: 14px; }
.plans-fine { margin-top: 10px; font-size: 12px; }

/* Sign in with GitHub, offered alongside email rather than instead of it,
   because many recruiters have no GitHub account. */
.btn.github {
  background: var(--panel2);
  border-color: var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.btn.github:hover { background: var(--border); opacity: 1; }
.btn.github svg { flex-shrink: 0; }
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 4px;
  color: var(--muted);
  font-size: 12px;
}
.or::before, .or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Taking it further.
   The part someone comes back to before a call or an interview, rather than
   during the first fifteen second scan. Set apart so a returning reader can
   find it without rereading the description above. */
.use-it {
  border-top: 1px solid var(--border);
  padding-top: 26px;
}
.use-it > div { margin-bottom: 22px; }
.use-it > div:last-child { margin-bottom: 0; }
.opener-k {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 7px;
}
.opener-v { font-size: 15px; line-height: 1.62; margin: 0; }
.opener .opener-v {
  border-left: 2px solid var(--border);
  padding-left: 16px;
}
.ask-list { list-style: none; margin: 0; padding: 0; }
.ask {
  font-size: 15px;
  line-height: 1.58;
  padding: 9px 0 9px 22px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.ask:last-child { border-bottom: none; }
.ask::before {
  content: "?";
  position: absolute;
  left: 2px;
  top: 9px;
  color: var(--muted);
  font-weight: 600;
}
.gap .opener-v { color: var(--muted); }

/* Private notes. The reader's own judgment, recorded by them rather than
   produced by the product, and never shown on a shared link. */
.notes-panel { border-left: 3px solid var(--muted); }
.notes-row { display: flex; align-items: center; gap: 12px; margin: 14px 0; flex-wrap: wrap; }
.notes-k { font-size: 13px; color: var(--muted); min-width: 54px; }
.notes-row select { width: auto; min-width: 160px; }
.stars { display: inline-flex; gap: 4px; }
.star {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.star:hover { border-color: var(--accent); }
.star.on { color: var(--text); border-color: var(--accent); background: var(--panel2); }
.btn.clear { padding: 5px 10px; font-size: 12px; font-weight: 400; }

/* When the snapshot was taken. A report describes a moment, and a reader
   deciding about somebody should know how old that moment is. */
.asof { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.asof.stale { color: var(--text); border-left: 2px solid var(--border); padding-left: 10px; }

/* Places the person published themselves. No contact details: GitHub's terms
   put those off limits for a tool aimed at recruiters. */
.links { font-size: 13px; margin: 8px 0 0; }
.links a { color: var(--accent); }

/* Usage. What is left comes first and alone, because that is the number a
   person can act on. The plan explains it underneath rather than competing. */
.usage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.usage-n { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.usage-d { color: var(--muted); font-size: 13px; margin-top: 3px; }
.usage-p {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
