/* curriculum.best — design tokens (light, HR/job-board) */
:root {
  /* surfaces */
  --bg:        #F4F5F7;
  --bg-2:      #F8F9FA;
  --surface:   #FFFFFF;
  --surface-2: #F8F9FA;
  --surface-3: #EEF0F3;

  /* borders */
  --border:    #E4E7EB;
  --border-2:  #D6DBE0;
  --border-strong: #BFC5CC;

  /* text */
  --text:      #0F1419;
  --text-2:    #3D4654;
  --text-3:    #6B7380;

  /* accent — corporate blue */
  --accent:        #1B4FD8;
  --accent-press:  #143FAE;
  --accent-2:      #1B4FD8;
  --accent-soft:   #EAF0FE;
  --accent-soft-2: #D7E1FC;
  --accent-text:   #0F3A9E;

  /* status */
  --success:       #0E7A4D;
  --success-soft:  #E2F3EA;
  --warning:       #9A5800;
  --warning-soft:  #FCEFD6;
  --danger:        #B22229;
  --danger-soft:   #FBE5E6;

  /* shape */
  --radius:    6px;
  --radius-sm: 4px;
  --radius-lg: 8px;

  --shadow-1: 0 1px 0 rgba(15,20,25,0.04), 0 1px 2px rgba(15,20,25,0.04);
  --shadow-2: 0 8px 24px -10px rgba(15,20,25,0.16), 0 2px 6px rgba(15,20,25,0.04);

  --container: 1280px;
  --pad-x: 48px;

  /* typography — Public Sans (institucional, no-AI) */
  --font: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "tnum" 0, "ss01";
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
::selection { background: var(--accent-soft-2); color: var(--accent-text); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---- top app bar ---- */
.appbar {
  position: sticky; top: 0; z-index: 30;
  height: 60px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}
.appbar-inner {
  height: 100%;
  display: flex; align-items: center; gap: 18px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: -0.005em;
  font-size: 16px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 5px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff; font-size: 13px; font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-name { color: var(--text); }
.brand-name .dot { color: var(--accent); margin: 0 1px; }
.appbar-spacer { flex: 1; }
.appbar-link {
  color: var(--text-2);
  font-size: 13.5px; font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background .12s, color .12s;
}
.appbar-link:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.appbar-link.is-active {
  color: var(--accent);
  background: transparent;
  position: relative;
}
.appbar-link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -19px;
  height: 2px; background: var(--accent); border-radius: 2px 2px 0 0;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px;
  background: #FFFFFF;
  color: var(--text);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn:active { background: var(--surface-3); }
.btn--primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.btn--primary:hover { background: var(--accent-press); border-color: var(--accent-press); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn--ghost:hover { background: var(--surface-2); color: var(--text); }
.btn--sm { height: 30px; padding: 0 10px; font-size: 12.5px; }
.btn--icon { width: 36px; padding: 0; justify-content: center; }
.btn--sm.btn--icon { width: 30px; }
.btn--link {
  background: transparent; border: 0; color: var(--accent); padding: 0; height: auto;
}

/* ---- inputs ---- */
.input, .select, .textarea {
  width: 100%;
  height: 38px;
  background: #FFFFFF;
  color: var(--text);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.textarea { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.input::placeholder { color: var(--text-3); }

.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.help { font-size: 12px; color: var(--text-3); }

/* ---- card ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.card-head {
  padding: 16px 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
}
.card-title {
  font-size: 14px; font-weight: 700; color: var(--text);
  letter-spacing: -0.005em;
  margin: 0;
}
.card-sub { font-size: 12.5px; color: var(--text-3); font-weight: 500; }
.card-body { padding: 20px; }

/* ---- chips / pills ---- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  color: var(--text-2);
}
.chip--accent {
  background: var(--accent-soft);
  border-color: var(--accent-soft-2);
  color: var(--accent-text);
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

/* ---- kbd ---- */
.kbd {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--surface-2); color: var(--text-2);
  border: 1px solid var(--border-2);
  border-bottom-width: 2px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px; line-height: 1;
}

/* ---- icons ---- */
.ic {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.ic-sm { width: 14px; height: 14px; }
.ic-lg { width: 20px; height: 20px; }

/* ---- utility ---- */
.row { display: flex; align-items: center; gap: 8px; }
.col { display: flex; flex-direction: column; gap: 8px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.muted { color: var(--text-3); }
.mono { font-family: var(--mono); font-size: 12.5px; }
.tabular { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--text-3);
}

/* heavy money typography */
.money {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.money-xl  { font-weight: 800; font-size: 28px; }
.money-lg  { font-weight: 800; font-size: 22px; }
.money-md  { font-weight: 700; font-size: 17px; }
.money-sm  { font-weight: 600; font-size: 14px; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
