/* BlueLearn brand — Editorial Brutalism / Utility SaaS */
:root {
  --brand-body: #161A1E;
  --brand-gray: #59636D;
  --brand-border: #E5E7EB;
  --brand-blue: #005776;
  --brand-blue-soft: #EBF4F9;
  --brand-dark: #0A0A0A;
  --brand-cta: #111827;
  --brand-surface: #FAFAFA;
  --brand-bg: #F6F9FC;
  --brand-ok: #056F3A;
  --brand-bad: #B91C1C;
  --brand-warn-bg: #FEF6E4;
  --brand-warn-border: #EAD8A1;
  --brand-warn-text: #7A5A12;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background-color: var(--brand-bg);
  color: var(--brand-body);
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px 64px;
}

.shell {
  width: 100%;
  max-width: 640px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brand-border);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brand-body);
}

.brand-mark .mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.brand-mark .name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.mission-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--brand-blue-soft);
  line-height: 1.4;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brand-blue);
  text-transform: uppercase;
}

.card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 32px;
}

h1.title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-body);
}

p.lede {
  margin: 0 0 24px;
  color: var(--brand-gray);
  font-size: 14.5px;
  line-height: 1.55;
}

.mono-micro {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gray);
}

.who {
  font-size: 13px;
  color: var(--brand-gray);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.who b { color: var(--brand-body); font-weight: 600; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gray);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--brand-body);
  border: 1px solid var(--brand-border);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand-cta);
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}
.field textarea { min-height: 104px; resize: vertical; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row.row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 560px) {
  .row.row-3 { grid-template-columns: 1fr; }
}

.section {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: var(--brand-surface);
}
.section h2 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--brand-body);
}
.section p {
  margin: 0 0 14px;
  color: var(--brand-gray);
  font-size: 13px;
  line-height: 1.55;
}

.btn {
  appearance: none;
  border: 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.12s ease;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

.btn-dark {
  background: var(--brand-cta);
  color: #FFFFFF;
}
.btn-dark:hover:not(:disabled) { background: #000000; transform: scale(0.99); }
.btn-dark:active:not(:disabled) { transform: translateY(1px) scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--brand-body);
  border: 1px solid var(--brand-body);
}
.btn-outline:hover:not(:disabled) { background: var(--brand-surface); }

.btn-blue {
  background: var(--brand-blue);
  color: #FFFFFF;
}
.btn-blue:hover:not(:disabled) { background: #00405A; }

.btn-ok { background: #056F3A; color: #FFFFFF; }
.btn-ok:hover:not(:disabled) { background: #045029; }

.btn-bad { background: #B91C1C; color: #FFFFFF; }
.btn-bad:hover:not(:disabled) { background: #951515; }

.btn-full { width: 100%; }

.btn-stack { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.btn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.status {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.status.ok  { color: var(--brand-ok); }
.status.bad { color: var(--brand-bad); }
.status.muted { color: var(--brand-gray); }

.note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--brand-gray);
  line-height: 1.55;
}
.note code,
code {
  font-family: "Geist Mono", ui-monospace, monospace;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--brand-body);
}

.callout {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--brand-warn-bg);
  border: 1px solid var(--brand-warn-border);
  border-radius: 8px;
  color: var(--brand-warn-text);
  font-size: 13px;
  line-height: 1.55;
}
.callout b { font-weight: 600; }

.grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px 18px;
  padding: 18px 20px;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  margin: 0 0 20px;
  font-size: 14px;
}
.grid .k {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gray);
  align-self: center;
}
.grid .v { color: var(--brand-body); word-break: break-word; }

.identity-box {
  background: #F2F8F4;
  border: 1px solid #C4E1CE;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--brand-body);
}
.identity-box .k {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-ok);
  margin-bottom: 6px;
}
.identity-box b { font-weight: 600; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.b-pending  { background: #FEF6E4; color: #7A5A12; }
.b-approved { background: #E6F4EC; color: #056F3A; }
.b-rejected { background: #FCEAEA; color: #B91C1C; }

pre.fp {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  overflow-x: auto;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--brand-body);
  white-space: pre-wrap;
  word-break: break-all;
}

.reviewer-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.reviewer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px 22px;
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}
.reviewer-card .avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer-card .avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reviewer-card .avatar-wrap.fallback {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 22px;
  font-weight: 600;
  color: var(--brand-gray);
}
.reviewer-card .name-row {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.reviewer-card .name {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  color: var(--brand-body);
  letter-spacing: -0.01em;
}
.reviewer-card .badges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.reviewer-card .badge-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}
.reviewer-card .title-line {
  margin-top: 6px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
}
.reviewer-card .handle {
  margin-top: 6px;
  font-size: 12px;
  color: var(--brand-gray);
}
.reviewer-card .about {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--brand-border);
  font-size: 13px;
  line-height: 1.55;
  color: var(--brand-gray);
  width: 100%;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--brand-border);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gray);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer a { color: var(--brand-gray); text-decoration: none; }
.footer a:hover { color: var(--brand-body); }
